Skip to content

Commit 2e7fc9f

Browse files
chore: generate libraries
1 parent cdefaab commit 2e7fc9f

217 files changed

Lines changed: 29118 additions & 5411 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -895,10 +895,10 @@ public com.google.cloud.bigquery.reservation.v1.SchedulingPolicy getSchedulingPo
895895
*
896896
* <pre>
897897
* Optional. Represents the principal for this assignment. If not empty, jobs
898-
* run by this principal will utilize the associated reservation. Otherwise,
899-
* jobs will fall back to using the reservation assigned to the project,
900-
* folder, or organization (in that order). If no reservation is assigned at
901-
* any of these levels, on-demand capacity will be used.
898+
* run by this principal utilize the associated reservation. Otherwise, jobs
899+
* fall back to using the reservation assigned to the project, folder,
900+
* or organization, in that order. If no reservation is assigned at any of
901+
* these levels, on-demand capacity is used.
902902
*
903903
* The supported formats are:
904904
*
@@ -908,7 +908,7 @@ public com.google.cloud.bigquery.reservation.v1.SchedulingPolicy getSchedulingPo
908908
* * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID`
909909
* for workload identity pool identities.
910910
* * The special value `unknown_or_deleted_user` represents principals which
911-
* cannot be read from the user info service, for example deleted users.
911+
* cannot be read from the user info service, for example, deleted users.
912912
* </pre>
913913
*
914914
* <code>string principal = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -933,10 +933,10 @@ public java.lang.String getPrincipal() {
933933
*
934934
* <pre>
935935
* Optional. Represents the principal for this assignment. If not empty, jobs
936-
* run by this principal will utilize the associated reservation. Otherwise,
937-
* jobs will fall back to using the reservation assigned to the project,
938-
* folder, or organization (in that order). If no reservation is assigned at
939-
* any of these levels, on-demand capacity will be used.
936+
* run by this principal utilize the associated reservation. Otherwise, jobs
937+
* fall back to using the reservation assigned to the project, folder,
938+
* or organization, in that order. If no reservation is assigned at any of
939+
* these levels, on-demand capacity is used.
940940
*
941941
* The supported formats are:
942942
*
@@ -946,7 +946,7 @@ public java.lang.String getPrincipal() {
946946
* * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID`
947947
* for workload identity pool identities.
948948
* * The special value `unknown_or_deleted_user` represents principals which
949-
* cannot be read from the user info service, for example deleted users.
949+
* cannot be read from the user info service, for example, deleted users.
950950
* </pre>
951951
*
952952
* <code>string principal = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -2391,10 +2391,10 @@ public Builder clearSchedulingPolicy() {
23912391
*
23922392
* <pre>
23932393
* Optional. Represents the principal for this assignment. If not empty, jobs
2394-
* run by this principal will utilize the associated reservation. Otherwise,
2395-
* jobs will fall back to using the reservation assigned to the project,
2396-
* folder, or organization (in that order). If no reservation is assigned at
2397-
* any of these levels, on-demand capacity will be used.
2394+
* run by this principal utilize the associated reservation. Otherwise, jobs
2395+
* fall back to using the reservation assigned to the project, folder,
2396+
* or organization, in that order. If no reservation is assigned at any of
2397+
* these levels, on-demand capacity is used.
23982398
*
23992399
* The supported formats are:
24002400
*
@@ -2404,7 +2404,7 @@ public Builder clearSchedulingPolicy() {
24042404
* * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID`
24052405
* for workload identity pool identities.
24062406
* * The special value `unknown_or_deleted_user` represents principals which
2407-
* cannot be read from the user info service, for example deleted users.
2407+
* cannot be read from the user info service, for example, deleted users.
24082408
* </pre>
24092409
*
24102410
* <code>string principal = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -2428,10 +2428,10 @@ public java.lang.String getPrincipal() {
24282428
*
24292429
* <pre>
24302430
* Optional. Represents the principal for this assignment. If not empty, jobs
2431-
* run by this principal will utilize the associated reservation. Otherwise,
2432-
* jobs will fall back to using the reservation assigned to the project,
2433-
* folder, or organization (in that order). If no reservation is assigned at
2434-
* any of these levels, on-demand capacity will be used.
2431+
* run by this principal utilize the associated reservation. Otherwise, jobs
2432+
* fall back to using the reservation assigned to the project, folder,
2433+
* or organization, in that order. If no reservation is assigned at any of
2434+
* these levels, on-demand capacity is used.
24352435
*
24362436
* The supported formats are:
24372437
*
@@ -2441,7 +2441,7 @@ public java.lang.String getPrincipal() {
24412441
* * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID`
24422442
* for workload identity pool identities.
24432443
* * The special value `unknown_or_deleted_user` represents principals which
2444-
* cannot be read from the user info service, for example deleted users.
2444+
* cannot be read from the user info service, for example, deleted users.
24452445
* </pre>
24462446
*
24472447
* <code>string principal = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -2465,10 +2465,10 @@ public com.google.protobuf.ByteString getPrincipalBytes() {
24652465
*
24662466
* <pre>
24672467
* Optional. Represents the principal for this assignment. If not empty, jobs
2468-
* run by this principal will utilize the associated reservation. Otherwise,
2469-
* jobs will fall back to using the reservation assigned to the project,
2470-
* folder, or organization (in that order). If no reservation is assigned at
2471-
* any of these levels, on-demand capacity will be used.
2468+
* run by this principal utilize the associated reservation. Otherwise, jobs
2469+
* fall back to using the reservation assigned to the project, folder,
2470+
* or organization, in that order. If no reservation is assigned at any of
2471+
* these levels, on-demand capacity is used.
24722472
*
24732473
* The supported formats are:
24742474
*
@@ -2478,7 +2478,7 @@ public com.google.protobuf.ByteString getPrincipalBytes() {
24782478
* * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID`
24792479
* for workload identity pool identities.
24802480
* * The special value `unknown_or_deleted_user` represents principals which
2481-
* cannot be read from the user info service, for example deleted users.
2481+
* cannot be read from the user info service, for example, deleted users.
24822482
* </pre>
24832483
*
24842484
* <code>string principal = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -2501,10 +2501,10 @@ public Builder setPrincipal(java.lang.String value) {
25012501
*
25022502
* <pre>
25032503
* Optional. Represents the principal for this assignment. If not empty, jobs
2504-
* run by this principal will utilize the associated reservation. Otherwise,
2505-
* jobs will fall back to using the reservation assigned to the project,
2506-
* folder, or organization (in that order). If no reservation is assigned at
2507-
* any of these levels, on-demand capacity will be used.
2504+
* run by this principal utilize the associated reservation. Otherwise, jobs
2505+
* fall back to using the reservation assigned to the project, folder,
2506+
* or organization, in that order. If no reservation is assigned at any of
2507+
* these levels, on-demand capacity is used.
25082508
*
25092509
* The supported formats are:
25102510
*
@@ -2514,7 +2514,7 @@ public Builder setPrincipal(java.lang.String value) {
25142514
* * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID`
25152515
* for workload identity pool identities.
25162516
* * The special value `unknown_or_deleted_user` represents principals which
2517-
* cannot be read from the user info service, for example deleted users.
2517+
* cannot be read from the user info service, for example, deleted users.
25182518
* </pre>
25192519
*
25202520
* <code>string principal = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -2533,10 +2533,10 @@ public Builder clearPrincipal() {
25332533
*
25342534
* <pre>
25352535
* Optional. Represents the principal for this assignment. If not empty, jobs
2536-
* run by this principal will utilize the associated reservation. Otherwise,
2537-
* jobs will fall back to using the reservation assigned to the project,
2538-
* folder, or organization (in that order). If no reservation is assigned at
2539-
* any of these levels, on-demand capacity will be used.
2536+
* run by this principal utilize the associated reservation. Otherwise, jobs
2537+
* fall back to using the reservation assigned to the project, folder,
2538+
* or organization, in that order. If no reservation is assigned at any of
2539+
* these levels, on-demand capacity is used.
25402540
*
25412541
* The supported formats are:
25422542
*
@@ -2546,7 +2546,7 @@ public Builder clearPrincipal() {
25462546
* * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID`
25472547
* for workload identity pool identities.
25482548
* * The special value `unknown_or_deleted_user` represents principals which
2549-
* cannot be read from the user info service, for example deleted users.
2549+
* cannot be read from the user info service, for example, deleted users.
25502550
* </pre>
25512551
*
25522552
* <code>string principal = 12 [(.google.api.field_behavior) = OPTIONAL];</code>

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,10 @@ public interface AssignmentOrBuilder
231231
*
232232
* <pre>
233233
* Optional. Represents the principal for this assignment. If not empty, jobs
234-
* run by this principal will utilize the associated reservation. Otherwise,
235-
* jobs will fall back to using the reservation assigned to the project,
236-
* folder, or organization (in that order). If no reservation is assigned at
237-
* any of these levels, on-demand capacity will be used.
234+
* run by this principal utilize the associated reservation. Otherwise, jobs
235+
* fall back to using the reservation assigned to the project, folder,
236+
* or organization, in that order. If no reservation is assigned at any of
237+
* these levels, on-demand capacity is used.
238238
*
239239
* The supported formats are:
240240
*
@@ -244,7 +244,7 @@ public interface AssignmentOrBuilder
244244
* * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID`
245245
* for workload identity pool identities.
246246
* * The special value `unknown_or_deleted_user` represents principals which
247-
* cannot be read from the user info service, for example deleted users.
247+
* cannot be read from the user info service, for example, deleted users.
248248
* </pre>
249249
*
250250
* <code>string principal = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -258,10 +258,10 @@ public interface AssignmentOrBuilder
258258
*
259259
* <pre>
260260
* Optional. Represents the principal for this assignment. If not empty, jobs
261-
* run by this principal will utilize the associated reservation. Otherwise,
262-
* jobs will fall back to using the reservation assigned to the project,
263-
* folder, or organization (in that order). If no reservation is assigned at
264-
* any of these levels, on-demand capacity will be used.
261+
* run by this principal utilize the associated reservation. Otherwise, jobs
262+
* fall back to using the reservation assigned to the project, folder,
263+
* or organization, in that order. If no reservation is assigned at any of
264+
* these levels, on-demand capacity is used.
265265
*
266266
* The supported formats are:
267267
*
@@ -271,7 +271,7 @@ public interface AssignmentOrBuilder
271271
* * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID`
272272
* for workload identity pool identities.
273273
* * The special value `unknown_or_deleted_user` represents principals which
274-
* cannot be read from the user info service, for example deleted users.
274+
* cannot be read from the user info service, for example, deleted users.
275275
* </pre>
276276
*
277277
* <code>string principal = 12 [(.google.api.field_behavior) = OPTIONAL];</code>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,10 +1409,10 @@ message Assignment {
14091409
[(google.api.field_behavior) = OPTIONAL];
14101410

14111411
// Optional. Represents the principal for this assignment. If not empty, jobs
1412-
// run by this principal will utilize the associated reservation. Otherwise,
1413-
// jobs will fall back to using the reservation assigned to the project,
1414-
// folder, or organization (in that order). If no reservation is assigned at
1415-
// any of these levels, on-demand capacity will be used.
1412+
// run by this principal utilize the associated reservation. Otherwise, jobs
1413+
// fall back to using the reservation assigned to the project, folder,
1414+
// or organization, in that order. If no reservation is assigned at any of
1415+
// these levels, on-demand capacity is used.
14161416
//
14171417
// The supported formats are:
14181418
//
@@ -1422,7 +1422,7 @@ message Assignment {
14221422
// * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID`
14231423
// for workload identity pool identities.
14241424
// * The special value `unknown_or_deleted_user` represents principals which
1425-
// cannot be read from the user info service, for example deleted users.
1425+
// cannot be read from the user info service, for example, deleted users.
14261426
string principal = 12 [(google.api.field_behavior) = OPTIONAL];
14271427

14281428
// Optional. Specifies the priority precedence for this assignment. Used to

java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import com.google.container.v1.Cluster;
3535
import com.google.container.v1.ClusterUpdate;
3636
import com.google.container.v1.ClusterUpgradeInfo;
37+
import com.google.container.v1.CompleteControlPlaneUpgradeRequest;
3738
import com.google.container.v1.CompleteIPRotationRequest;
3839
import com.google.container.v1.CompleteNodePoolUpgradeRequest;
3940
import com.google.container.v1.CreateClusterRequest;
@@ -755,6 +756,20 @@
755756
* </ul>
756757
* </td>
757758
* </tr>
759+
* <tr>
760+
* <td><p> CompleteControlPlaneUpgrade</td>
761+
* <td><p> CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two upgrade for a specific cluster.</td>
762+
* <td>
763+
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
764+
* <ul>
765+
* <li><p> completeControlPlaneUpgrade(CompleteControlPlaneUpgradeRequest request)
766+
* </ul>
767+
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
768+
* <ul>
769+
* <li><p> completeControlPlaneUpgradeCallable()
770+
* </ul>
771+
* </td>
772+
* </tr>
758773
* </table>
759774
*
760775
* <p>See the individual methods for example code.
@@ -1480,6 +1495,7 @@ public final UnaryCallable<UpdateClusterRequest, Operation> updateClusterCallabl
14801495
* .setNodeDrainConfig(NodePool.NodeDrainConfig.newBuilder().build())
14811496
* .setConsolidationDelay(Duration.newBuilder().build())
14821497
* .setTaintConfig(TaintConfig.newBuilder().build())
1498+
* .setMaintenancePolicy(NodePool.NodePoolMaintenancePolicy.newBuilder().build())
14831499
* .build();
14841500
* Operation response = clusterManagerClient.updateNodePool(request);
14851501
* }
@@ -1547,6 +1563,7 @@ public final Operation updateNodePool(UpdateNodePoolRequest request) {
15471563
* .setNodeDrainConfig(NodePool.NodeDrainConfig.newBuilder().build())
15481564
* .setConsolidationDelay(Duration.newBuilder().build())
15491565
* .setTaintConfig(TaintConfig.newBuilder().build())
1566+
* .setMaintenancePolicy(NodePool.NodePoolMaintenancePolicy.newBuilder().build())
15501567
* .build();
15511568
* ApiFuture<Operation> future =
15521569
* clusterManagerClient.updateNodePoolCallable().futureCall(request);
@@ -5144,6 +5161,67 @@ public final NodePoolUpgradeInfo fetchNodePoolUpgradeInfo(
51445161
return stub.fetchNodePoolUpgradeInfoCallable();
51455162
}
51465163

5164+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
5165+
/**
5166+
* CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two
5167+
* upgrade for a specific cluster.
5168+
*
5169+
* <p>Sample code:
5170+
*
5171+
* <pre>{@code
5172+
* // This snippet has been automatically generated and should be regarded as a code template only.
5173+
* // It will require modifications to work:
5174+
* // - It may require correct/in-range values for request initialization.
5175+
* // - It may require specifying regional endpoints when creating the service client as shown in
5176+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5177+
* try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
5178+
* CompleteControlPlaneUpgradeRequest request =
5179+
* CompleteControlPlaneUpgradeRequest.newBuilder()
5180+
* .setName("name3373707")
5181+
* .setVersion("version351608024")
5182+
* .build();
5183+
* Operation response = clusterManagerClient.completeControlPlaneUpgrade(request);
5184+
* }
5185+
* }</pre>
5186+
*
5187+
* @param request The request object containing all of the parameters for the API call.
5188+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
5189+
*/
5190+
public final Operation completeControlPlaneUpgrade(CompleteControlPlaneUpgradeRequest request) {
5191+
return completeControlPlaneUpgradeCallable().call(request);
5192+
}
5193+
5194+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
5195+
/**
5196+
* CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two
5197+
* upgrade for a specific cluster.
5198+
*
5199+
* <p>Sample code:
5200+
*
5201+
* <pre>{@code
5202+
* // This snippet has been automatically generated and should be regarded as a code template only.
5203+
* // It will require modifications to work:
5204+
* // - It may require correct/in-range values for request initialization.
5205+
* // - It may require specifying regional endpoints when creating the service client as shown in
5206+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5207+
* try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
5208+
* CompleteControlPlaneUpgradeRequest request =
5209+
* CompleteControlPlaneUpgradeRequest.newBuilder()
5210+
* .setName("name3373707")
5211+
* .setVersion("version351608024")
5212+
* .build();
5213+
* ApiFuture<Operation> future =
5214+
* clusterManagerClient.completeControlPlaneUpgradeCallable().futureCall(request);
5215+
* // Do something.
5216+
* Operation response = future.get();
5217+
* }
5218+
* }</pre>
5219+
*/
5220+
public final UnaryCallable<CompleteControlPlaneUpgradeRequest, Operation>
5221+
completeControlPlaneUpgradeCallable() {
5222+
return stub.completeControlPlaneUpgradeCallable();
5223+
}
5224+
51475225
@Override
51485226
public final void close() {
51495227
stub.close();

0 commit comments

Comments
 (0)