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

Commit

Permalink
fix!:Provide C# namespace option for consistent capitalization. (#58)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yoshi-automation committed Jun 15, 2020
1 parent 762c688 commit f3a9337
Show file tree
Hide file tree
Showing 35 changed files with 276 additions and 309 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public final UnaryCallable<DeleteReservationRequest, Empty> deleteReservationCal
* </code></pre>
*
* @param name Required. Resource name of the capacity commitment to delete. E.g.,
* projects/myproject/locations/US/capacityCommitments/123
* `projects/myproject/locations/US/capacityCommitments/123`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteCapacityCommitment(CapacityCommitmentName name) {
Expand All @@ -305,7 +305,7 @@ public final void deleteCapacityCommitment(CapacityCommitmentName name) {
* </code></pre>
*
* @param name Required. Resource name of the capacity commitment to delete. E.g.,
* projects/myproject/locations/US/capacityCommitments/123
* `projects/myproject/locations/US/capacityCommitments/123`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteCapacityCommitment(String name) {
Expand Down Expand Up @@ -621,7 +621,7 @@ public final UnaryCallable<CreateReservationRequest, Reservation> createReservat
* </code></pre>
*
* @param parent Required. The parent resource name containing project and location, e.g.:
* "projects/myproject/locations/US"
* `projects/myproject/locations/US`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListReservationsPagedResponse listReservations(LocationName parent) {
Expand All @@ -648,7 +648,7 @@ public final ListReservationsPagedResponse listReservations(LocationName parent)
* </code></pre>
*
* @param parent Required. The parent resource name containing project and location, e.g.:
* "projects/myproject/locations/US"
* `projects/myproject/locations/US`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListReservationsPagedResponse listReservations(String parent) {
Expand Down Expand Up @@ -910,7 +910,7 @@ public final UnaryCallable<UpdateReservationRequest, Reservation> updateReservat
* </code></pre>
*
* @param parent Required. Resource name of the parent reservation. E.g.,
* projects/myproject/locations/US
* `projects/myproject/locations/US`
* @param capacityCommitment Content of the capacity commitment to create.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -939,7 +939,7 @@ public final CapacityCommitment createCapacityCommitment(
* </code></pre>
*
* @param parent Required. Resource name of the parent reservation. E.g.,
* projects/myproject/locations/US
* `projects/myproject/locations/US`
* @param capacityCommitment Content of the capacity commitment to create.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -1016,7 +1016,7 @@ public final CapacityCommitment createCapacityCommitment(
* </code></pre>
*
* @param parent Required. Resource name of the parent reservation. E.g.,
* projects/myproject/locations/US
* `projects/myproject/locations/US`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListCapacityCommitmentsPagedResponse listCapacityCommitments(LocationName parent) {
Expand All @@ -1043,7 +1043,7 @@ public final ListCapacityCommitmentsPagedResponse listCapacityCommitments(Locati
* </code></pre>
*
* @param parent Required. Resource name of the parent reservation. E.g.,
* projects/myproject/locations/US
* `projects/myproject/locations/US`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListCapacityCommitmentsPagedResponse listCapacityCommitments(String parent) {
Expand Down Expand Up @@ -1149,7 +1149,7 @@ public final ListCapacityCommitmentsPagedResponse listCapacityCommitments(
* </code></pre>
*
* @param name Required. Resource name of the capacity commitment to retrieve. E.g.,
* projects/myproject/locations/US/capacityCommitments/123
* `projects/myproject/locations/US/capacityCommitments/123`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CapacityCommitment getCapacityCommitment(CapacityCommitmentName name) {
Expand All @@ -1174,7 +1174,7 @@ public final CapacityCommitment getCapacityCommitment(CapacityCommitmentName nam
* </code></pre>
*
* @param name Required. Resource name of the capacity commitment to retrieve. E.g.,
* projects/myproject/locations/US/capacityCommitments/123
* `projects/myproject/locations/US/capacityCommitments/123`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CapacityCommitment getCapacityCommitment(String name) {
Expand Down Expand Up @@ -1337,7 +1337,7 @@ public final CapacityCommitment updateCapacityCommitment(
* </code></pre>
*
* @param name Required. The resource name e.g.,:
* projects/myproject/locations/US/capacityCommitments/123
* `projects/myproject/locations/US/capacityCommitments/123`
* @param slotCount Number of slots in the capacity commitment after the split.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -1372,7 +1372,7 @@ public final SplitCapacityCommitmentResponse splitCapacityCommitment(
* </code></pre>
*
* @param name Required. The resource name e.g.,:
* projects/myproject/locations/US/capacityCommitments/123
* `projects/myproject/locations/US/capacityCommitments/123`
* @param slotCount Number of slots in the capacity commitment after the split.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -1463,9 +1463,11 @@ public final SplitCapacityCommitmentResponse splitCapacityCommitment(
* </code></pre>
*
* @param parent Parent resource that identifies admin project and location e.g.,
* projects/myproject/locations/us
* `projects/myproject/locations/us`
* @param capacityCommitmentIds Ids of capacity commitments to merge. These capacity commitments
* must exist under admin project and location specified in the parent.
* must exist under admin project and location specified in the parent. ID is the last portion
* of capacity commitment name e.g., 'abc' for
* projects/myproject/locations/US/capacityCommitments/abc
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CapacityCommitment mergeCapacityCommitments(
Expand Down Expand Up @@ -1499,9 +1501,11 @@ public final CapacityCommitment mergeCapacityCommitments(
* </code></pre>
*
* @param parent Parent resource that identifies admin project and location e.g.,
* projects/myproject/locations/us
* `projects/myproject/locations/us`
* @param capacityCommitmentIds Ids of capacity commitments to merge. These capacity commitments
* must exist under admin project and location specified in the parent.
* must exist under admin project and location specified in the parent. ID is the last portion
* of capacity commitment name e.g., 'abc' for
* projects/myproject/locations/US/capacityCommitments/abc
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CapacityCommitment mergeCapacityCommitments(
Expand Down Expand Up @@ -2019,7 +2023,7 @@ public final ListAssignmentsPagedResponse listAssignments(ListAssignmentsRequest
* </code></pre>
*
* @param parent Required. The resource name of the admin project(containing project and
* location), e.g.: "projects/myproject/locations/US".
* location), e.g.: `projects/myproject/locations/US`.
* @param query Please specify resource name as assignee in the query.
* <p>Examples:
* <p>&#42; `assignee=projects/myproject` &#42; `assignee=folders/123` &#42;
Expand Down Expand Up @@ -2071,7 +2075,7 @@ public final SearchAssignmentsPagedResponse searchAssignments(LocationName paren
* </code></pre>
*
* @param parent Required. The resource name of the admin project(containing project and
* location), e.g.: "projects/myproject/locations/US".
* location), e.g.: `projects/myproject/locations/US`.
* @param query Please specify resource name as assignee in the query.
* <p>Examples:
* <p>&#42; `assignee=projects/myproject` &#42; `assignee=folders/123` &#42;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,8 @@ public com.google.cloud.bigquery.reservation.v1.CapacityCommitment.State getStat
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand All @@ -759,8 +759,8 @@ public boolean hasCommitmentEndTime() {
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand All @@ -779,8 +779,8 @@ public com.google.protobuf.Timestamp getCommitmentEndTime() {
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand Down Expand Up @@ -1721,8 +1721,8 @@ public Builder clearState() {
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand All @@ -1738,8 +1738,8 @@ public boolean hasCommitmentEndTime() {
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand All @@ -1761,8 +1761,8 @@ public com.google.protobuf.Timestamp getCommitmentEndTime() {
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand All @@ -1786,8 +1786,8 @@ public Builder setCommitmentEndTime(com.google.protobuf.Timestamp value) {
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand All @@ -1808,8 +1808,8 @@ public Builder setCommitmentEndTime(com.google.protobuf.Timestamp.Builder builde
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand Down Expand Up @@ -1837,8 +1837,8 @@ public Builder mergeCommitmentEndTime(com.google.protobuf.Timestamp value) {
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand All @@ -1860,8 +1860,8 @@ public Builder clearCommitmentEndTime() {
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand All @@ -1877,8 +1877,8 @@ public com.google.protobuf.Timestamp.Builder getCommitmentEndTimeBuilder() {
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand All @@ -1898,8 +1898,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitmentEndTimeOrBuilder() {
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ public interface CapacityCommitmentOrBuilder
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand All @@ -136,8 +136,8 @@ public interface CapacityCommitmentOrBuilder
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand All @@ -151,8 +151,8 @@ public interface CapacityCommitmentOrBuilder
*
*
* <pre>
* Output only. The end of the current commitment period. It is applicable
* only for ACTIVE capacity commitments.
* Output only. The end of the current commitment period. It is applicable only for ACTIVE
* capacity commitments.
* </pre>
*
* <code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
*
*
* <pre>
* The request for
* [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment].
* The request for [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment].
* Note: "bigquery.reservationAssignments.create" permission is required on the
* related assignee.
* </pre>
Expand Down Expand Up @@ -412,8 +411,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* <pre>
* The request for
* [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment].
* The request for [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment].
* Note: "bigquery.reservationAssignments.create" permission is required on the
* related assignee.
* </pre>
Expand Down
Loading

0 comments on commit f3a9337

Please sign in to comment.