Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit f3a9337

Browse files
fix!:Provide C# namespace option for consistent capitalization. (#58)
BREAKING CHANGE: The C# namespace option will break anyone currently generating C# libraries for this API. PiperOrigin-RevId: 316128048 Source-Author: Google APIs <noreply@google.com> Source-Date: Fri Jun 12 10:23:45 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 6b2d14d2f6a2d0977d9aded9fd5f9e71517a7a4f Source-Link: googleapis/googleapis@6b2d14d
1 parent 762c688 commit f3a9337

35 files changed

+276
-309
lines changed

google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public final UnaryCallable<DeleteReservationRequest, Empty> deleteReservationCal
279279
* </code></pre>
280280
*
281281
* @param name Required. Resource name of the capacity commitment to delete. E.g.,
282-
* projects/myproject/locations/US/capacityCommitments/123
282+
* `projects/myproject/locations/US/capacityCommitments/123`
283283
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
284284
*/
285285
public final void deleteCapacityCommitment(CapacityCommitmentName name) {
@@ -305,7 +305,7 @@ public final void deleteCapacityCommitment(CapacityCommitmentName name) {
305305
* </code></pre>
306306
*
307307
* @param name Required. Resource name of the capacity commitment to delete. E.g.,
308-
* projects/myproject/locations/US/capacityCommitments/123
308+
* `projects/myproject/locations/US/capacityCommitments/123`
309309
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
310310
*/
311311
public final void deleteCapacityCommitment(String name) {
@@ -621,7 +621,7 @@ public final UnaryCallable<CreateReservationRequest, Reservation> createReservat
621621
* </code></pre>
622622
*
623623
* @param parent Required. The parent resource name containing project and location, e.g.:
624-
* "projects/myproject/locations/US"
624+
* `projects/myproject/locations/US`
625625
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
626626
*/
627627
public final ListReservationsPagedResponse listReservations(LocationName parent) {
@@ -648,7 +648,7 @@ public final ListReservationsPagedResponse listReservations(LocationName parent)
648648
* </code></pre>
649649
*
650650
* @param parent Required. The parent resource name containing project and location, e.g.:
651-
* "projects/myproject/locations/US"
651+
* `projects/myproject/locations/US`
652652
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
653653
*/
654654
public final ListReservationsPagedResponse listReservations(String parent) {
@@ -910,7 +910,7 @@ public final UnaryCallable<UpdateReservationRequest, Reservation> updateReservat
910910
* </code></pre>
911911
*
912912
* @param parent Required. Resource name of the parent reservation. E.g.,
913-
* projects/myproject/locations/US
913+
* `projects/myproject/locations/US`
914914
* @param capacityCommitment Content of the capacity commitment to create.
915915
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
916916
*/
@@ -939,7 +939,7 @@ public final CapacityCommitment createCapacityCommitment(
939939
* </code></pre>
940940
*
941941
* @param parent Required. Resource name of the parent reservation. E.g.,
942-
* projects/myproject/locations/US
942+
* `projects/myproject/locations/US`
943943
* @param capacityCommitment Content of the capacity commitment to create.
944944
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
945945
*/
@@ -1016,7 +1016,7 @@ public final CapacityCommitment createCapacityCommitment(
10161016
* </code></pre>
10171017
*
10181018
* @param parent Required. Resource name of the parent reservation. E.g.,
1019-
* projects/myproject/locations/US
1019+
* `projects/myproject/locations/US`
10201020
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
10211021
*/
10221022
public final ListCapacityCommitmentsPagedResponse listCapacityCommitments(LocationName parent) {
@@ -1043,7 +1043,7 @@ public final ListCapacityCommitmentsPagedResponse listCapacityCommitments(Locati
10431043
* </code></pre>
10441044
*
10451045
* @param parent Required. Resource name of the parent reservation. E.g.,
1046-
* projects/myproject/locations/US
1046+
* `projects/myproject/locations/US`
10471047
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
10481048
*/
10491049
public final ListCapacityCommitmentsPagedResponse listCapacityCommitments(String parent) {
@@ -1149,7 +1149,7 @@ public final ListCapacityCommitmentsPagedResponse listCapacityCommitments(
11491149
* </code></pre>
11501150
*
11511151
* @param name Required. Resource name of the capacity commitment to retrieve. E.g.,
1152-
* projects/myproject/locations/US/capacityCommitments/123
1152+
* `projects/myproject/locations/US/capacityCommitments/123`
11531153
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
11541154
*/
11551155
public final CapacityCommitment getCapacityCommitment(CapacityCommitmentName name) {
@@ -1174,7 +1174,7 @@ public final CapacityCommitment getCapacityCommitment(CapacityCommitmentName nam
11741174
* </code></pre>
11751175
*
11761176
* @param name Required. Resource name of the capacity commitment to retrieve. E.g.,
1177-
* projects/myproject/locations/US/capacityCommitments/123
1177+
* `projects/myproject/locations/US/capacityCommitments/123`
11781178
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
11791179
*/
11801180
public final CapacityCommitment getCapacityCommitment(String name) {
@@ -1337,7 +1337,7 @@ public final CapacityCommitment updateCapacityCommitment(
13371337
* </code></pre>
13381338
*
13391339
* @param name Required. The resource name e.g.,:
1340-
* projects/myproject/locations/US/capacityCommitments/123
1340+
* `projects/myproject/locations/US/capacityCommitments/123`
13411341
* @param slotCount Number of slots in the capacity commitment after the split.
13421342
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
13431343
*/
@@ -1372,7 +1372,7 @@ public final SplitCapacityCommitmentResponse splitCapacityCommitment(
13721372
* </code></pre>
13731373
*
13741374
* @param name Required. The resource name e.g.,:
1375-
* projects/myproject/locations/US/capacityCommitments/123
1375+
* `projects/myproject/locations/US/capacityCommitments/123`
13761376
* @param slotCount Number of slots in the capacity commitment after the split.
13771377
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
13781378
*/
@@ -1463,9 +1463,11 @@ public final SplitCapacityCommitmentResponse splitCapacityCommitment(
14631463
* </code></pre>
14641464
*
14651465
* @param parent Parent resource that identifies admin project and location e.g.,
1466-
* projects/myproject/locations/us
1466+
* `projects/myproject/locations/us`
14671467
* @param capacityCommitmentIds Ids of capacity commitments to merge. These capacity commitments
1468-
* must exist under admin project and location specified in the parent.
1468+
* must exist under admin project and location specified in the parent. ID is the last portion
1469+
* of capacity commitment name e.g., 'abc' for
1470+
* projects/myproject/locations/US/capacityCommitments/abc
14691471
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
14701472
*/
14711473
public final CapacityCommitment mergeCapacityCommitments(
@@ -1499,9 +1501,11 @@ public final CapacityCommitment mergeCapacityCommitments(
14991501
* </code></pre>
15001502
*
15011503
* @param parent Parent resource that identifies admin project and location e.g.,
1502-
* projects/myproject/locations/us
1504+
* `projects/myproject/locations/us`
15031505
* @param capacityCommitmentIds Ids of capacity commitments to merge. These capacity commitments
1504-
* must exist under admin project and location specified in the parent.
1506+
* must exist under admin project and location specified in the parent. ID is the last portion
1507+
* of capacity commitment name e.g., 'abc' for
1508+
* projects/myproject/locations/US/capacityCommitments/abc
15051509
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
15061510
*/
15071511
public final CapacityCommitment mergeCapacityCommitments(
@@ -2019,7 +2023,7 @@ public final ListAssignmentsPagedResponse listAssignments(ListAssignmentsRequest
20192023
* </code></pre>
20202024
*
20212025
* @param parent Required. The resource name of the admin project(containing project and
2022-
* location), e.g.: "projects/myproject/locations/US".
2026+
* location), e.g.: `projects/myproject/locations/US`.
20232027
* @param query Please specify resource name as assignee in the query.
20242028
* <p>Examples:
20252029
* <p>&#42; `assignee=projects/myproject` &#42; `assignee=folders/123` &#42;
@@ -2071,7 +2075,7 @@ public final SearchAssignmentsPagedResponse searchAssignments(LocationName paren
20712075
* </code></pre>
20722076
*
20732077
* @param parent Required. The resource name of the admin project(containing project and
2074-
* location), e.g.: "projects/myproject/locations/US".
2078+
* location), e.g.: `projects/myproject/locations/US`.
20752079
* @param query Please specify resource name as assignee in the query.
20762080
* <p>Examples:
20772081
* <p>&#42; `assignee=projects/myproject` &#42; `assignee=folders/123` &#42;

proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitment.java

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -741,8 +741,8 @@ public com.google.cloud.bigquery.reservation.v1.CapacityCommitment.State getStat
741741
*
742742
*
743743
* <pre>
744-
* Output only. The end of the current commitment period. It is applicable
745-
* only for ACTIVE capacity commitments.
744+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
745+
* capacity commitments.
746746
* </pre>
747747
*
748748
* <code>
@@ -759,8 +759,8 @@ public boolean hasCommitmentEndTime() {
759759
*
760760
*
761761
* <pre>
762-
* Output only. The end of the current commitment period. It is applicable
763-
* only for ACTIVE capacity commitments.
762+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
763+
* capacity commitments.
764764
* </pre>
765765
*
766766
* <code>
@@ -779,8 +779,8 @@ public com.google.protobuf.Timestamp getCommitmentEndTime() {
779779
*
780780
*
781781
* <pre>
782-
* Output only. The end of the current commitment period. It is applicable
783-
* only for ACTIVE capacity commitments.
782+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
783+
* capacity commitments.
784784
* </pre>
785785
*
786786
* <code>
@@ -1721,8 +1721,8 @@ public Builder clearState() {
17211721
*
17221722
*
17231723
* <pre>
1724-
* Output only. The end of the current commitment period. It is applicable
1725-
* only for ACTIVE capacity commitments.
1724+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
1725+
* capacity commitments.
17261726
* </pre>
17271727
*
17281728
* <code>
@@ -1738,8 +1738,8 @@ public boolean hasCommitmentEndTime() {
17381738
*
17391739
*
17401740
* <pre>
1741-
* Output only. The end of the current commitment period. It is applicable
1742-
* only for ACTIVE capacity commitments.
1741+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
1742+
* capacity commitments.
17431743
* </pre>
17441744
*
17451745
* <code>
@@ -1761,8 +1761,8 @@ public com.google.protobuf.Timestamp getCommitmentEndTime() {
17611761
*
17621762
*
17631763
* <pre>
1764-
* Output only. The end of the current commitment period. It is applicable
1765-
* only for ACTIVE capacity commitments.
1764+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
1765+
* capacity commitments.
17661766
* </pre>
17671767
*
17681768
* <code>
@@ -1786,8 +1786,8 @@ public Builder setCommitmentEndTime(com.google.protobuf.Timestamp value) {
17861786
*
17871787
*
17881788
* <pre>
1789-
* Output only. The end of the current commitment period. It is applicable
1790-
* only for ACTIVE capacity commitments.
1789+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
1790+
* capacity commitments.
17911791
* </pre>
17921792
*
17931793
* <code>
@@ -1808,8 +1808,8 @@ public Builder setCommitmentEndTime(com.google.protobuf.Timestamp.Builder builde
18081808
*
18091809
*
18101810
* <pre>
1811-
* Output only. The end of the current commitment period. It is applicable
1812-
* only for ACTIVE capacity commitments.
1811+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
1812+
* capacity commitments.
18131813
* </pre>
18141814
*
18151815
* <code>
@@ -1837,8 +1837,8 @@ public Builder mergeCommitmentEndTime(com.google.protobuf.Timestamp value) {
18371837
*
18381838
*
18391839
* <pre>
1840-
* Output only. The end of the current commitment period. It is applicable
1841-
* only for ACTIVE capacity commitments.
1840+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
1841+
* capacity commitments.
18421842
* </pre>
18431843
*
18441844
* <code>
@@ -1860,8 +1860,8 @@ public Builder clearCommitmentEndTime() {
18601860
*
18611861
*
18621862
* <pre>
1863-
* Output only. The end of the current commitment period. It is applicable
1864-
* only for ACTIVE capacity commitments.
1863+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
1864+
* capacity commitments.
18651865
* </pre>
18661866
*
18671867
* <code>
@@ -1877,8 +1877,8 @@ public com.google.protobuf.Timestamp.Builder getCommitmentEndTimeBuilder() {
18771877
*
18781878
*
18791879
* <pre>
1880-
* Output only. The end of the current commitment period. It is applicable
1881-
* only for ACTIVE capacity commitments.
1880+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
1881+
* capacity commitments.
18821882
* </pre>
18831883
*
18841884
* <code>
@@ -1898,8 +1898,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitmentEndTimeOrBuilder() {
18981898
*
18991899
*
19001900
* <pre>
1901-
* Output only. The end of the current commitment period. It is applicable
1902-
* only for ACTIVE capacity commitments.
1901+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
1902+
* capacity commitments.
19031903
* </pre>
19041904
*
19051905
* <code>

proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitmentOrBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ public interface CapacityCommitmentOrBuilder
121121
*
122122
*
123123
* <pre>
124-
* Output only. The end of the current commitment period. It is applicable
125-
* only for ACTIVE capacity commitments.
124+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
125+
* capacity commitments.
126126
* </pre>
127127
*
128128
* <code>
@@ -136,8 +136,8 @@ public interface CapacityCommitmentOrBuilder
136136
*
137137
*
138138
* <pre>
139-
* Output only. The end of the current commitment period. It is applicable
140-
* only for ACTIVE capacity commitments.
139+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
140+
* capacity commitments.
141141
* </pre>
142142
*
143143
* <code>
@@ -151,8 +151,8 @@ public interface CapacityCommitmentOrBuilder
151151
*
152152
*
153153
* <pre>
154-
* Output only. The end of the current commitment period. It is applicable
155-
* only for ACTIVE capacity commitments.
154+
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
155+
* capacity commitments.
156156
* </pre>
157157
*
158158
* <code>

proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateAssignmentRequest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
*
2323
*
2424
* <pre>
25-
* The request for
26-
* [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment].
25+
* The request for [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment].
2726
* Note: "bigquery.reservationAssignments.create" permission is required on the
2827
* related assignee.
2928
* </pre>
@@ -412,8 +411,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
412411
*
413412
*
414413
* <pre>
415-
* The request for
416-
* [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment].
414+
* The request for [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment].
417415
* Note: "bigquery.reservationAssignments.create" permission is required on the
418416
* related assignee.
419417
* </pre>

0 commit comments

Comments
 (0)