@@ -82702,6 +82702,174 @@ public InterconnectGroups interconnectGroups() {
82702
82702
*/
82703
82703
public class InterconnectGroups {
82704
82704
82705
+ /**
82706
+ * Create Interconnects with redundancy by creating them in a specified interconnect group.
82707
+ *
82708
+ * Create a request for the method "interconnectGroups.createMembers".
82709
+ *
82710
+ * This request holds the parameters needed by the compute server. After setting any optional
82711
+ * parameters, call the {@link CreateMembers#execute()} method to invoke the remote operation.
82712
+ *
82713
+ * @param project Project ID for this request.
82714
+ * @param interconnectGroup Name of the group resource to create members for.
82715
+ * @param content the {@link com.google.api.services.compute.model.InterconnectGroupsCreateMembersRequest}
82716
+ * @return the request
82717
+ */
82718
+ public CreateMembers createMembers(java.lang.String project, java.lang.String interconnectGroup, com.google.api.services.compute.model.InterconnectGroupsCreateMembersRequest content) throws java.io.IOException {
82719
+ CreateMembers result = new CreateMembers(project, interconnectGroup, content);
82720
+ initialize(result);
82721
+ return result;
82722
+ }
82723
+
82724
+ public class CreateMembers extends ComputeRequest<com.google.api.services.compute.model.InterconnectGroupsCreateMembersResponse> {
82725
+
82726
+ private static final String REST_PATH = "projects/{project}/global/interconnectGroups/{interconnectGroup}/createMembers";
82727
+
82728
+ private final java.util.regex.Pattern PROJECT_PATTERN =
82729
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
82730
+
82731
+ private final java.util.regex.Pattern INTERCONNECT_GROUP_PATTERN =
82732
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
82733
+
82734
+ /**
82735
+ * Create Interconnects with redundancy by creating them in a specified interconnect group.
82736
+ *
82737
+ * Create a request for the method "interconnectGroups.createMembers".
82738
+ *
82739
+ * This request holds the parameters needed by the the compute server. After setting any optional
82740
+ * parameters, call the {@link CreateMembers#execute()} method to invoke the remote operation. <p>
82741
+ * {@link CreateMembers#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientR
82742
+ * equest)} must be called to initialize this instance immediately after invoking the constructor.
82743
+ * </p>
82744
+ *
82745
+ * @param project Project ID for this request.
82746
+ * @param interconnectGroup Name of the group resource to create members for.
82747
+ * @param content the {@link com.google.api.services.compute.model.InterconnectGroupsCreateMembersRequest}
82748
+ * @since 1.13
82749
+ */
82750
+ protected CreateMembers(java.lang.String project, java.lang.String interconnectGroup, com.google.api.services.compute.model.InterconnectGroupsCreateMembersRequest content) {
82751
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.InterconnectGroupsCreateMembersResponse.class);
82752
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
82753
+ if (!getSuppressPatternChecks()) {
82754
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
82755
+ "Parameter project must conform to the pattern " +
82756
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
82757
+ }
82758
+ this.interconnectGroup = com.google.api.client.util.Preconditions.checkNotNull(interconnectGroup, "Required parameter interconnectGroup must be specified.");
82759
+ if (!getSuppressPatternChecks()) {
82760
+ com.google.api.client.util.Preconditions.checkArgument(INTERCONNECT_GROUP_PATTERN.matcher(interconnectGroup).matches(),
82761
+ "Parameter interconnectGroup must conform to the pattern " +
82762
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
82763
+ }
82764
+ }
82765
+
82766
+ @Override
82767
+ public CreateMembers set$Xgafv(java.lang.String $Xgafv) {
82768
+ return (CreateMembers) super.set$Xgafv($Xgafv);
82769
+ }
82770
+
82771
+ @Override
82772
+ public CreateMembers setAccessToken(java.lang.String accessToken) {
82773
+ return (CreateMembers) super.setAccessToken(accessToken);
82774
+ }
82775
+
82776
+ @Override
82777
+ public CreateMembers setAlt(java.lang.String alt) {
82778
+ return (CreateMembers) super.setAlt(alt);
82779
+ }
82780
+
82781
+ @Override
82782
+ public CreateMembers setCallback(java.lang.String callback) {
82783
+ return (CreateMembers) super.setCallback(callback);
82784
+ }
82785
+
82786
+ @Override
82787
+ public CreateMembers setFields(java.lang.String fields) {
82788
+ return (CreateMembers) super.setFields(fields);
82789
+ }
82790
+
82791
+ @Override
82792
+ public CreateMembers setKey(java.lang.String key) {
82793
+ return (CreateMembers) super.setKey(key);
82794
+ }
82795
+
82796
+ @Override
82797
+ public CreateMembers setOauthToken(java.lang.String oauthToken) {
82798
+ return (CreateMembers) super.setOauthToken(oauthToken);
82799
+ }
82800
+
82801
+ @Override
82802
+ public CreateMembers setPrettyPrint(java.lang.Boolean prettyPrint) {
82803
+ return (CreateMembers) super.setPrettyPrint(prettyPrint);
82804
+ }
82805
+
82806
+ @Override
82807
+ public CreateMembers setQuotaUser(java.lang.String quotaUser) {
82808
+ return (CreateMembers) super.setQuotaUser(quotaUser);
82809
+ }
82810
+
82811
+ @Override
82812
+ public CreateMembers setUploadType(java.lang.String uploadType) {
82813
+ return (CreateMembers) super.setUploadType(uploadType);
82814
+ }
82815
+
82816
+ @Override
82817
+ public CreateMembers setUploadProtocol(java.lang.String uploadProtocol) {
82818
+ return (CreateMembers) super.setUploadProtocol(uploadProtocol);
82819
+ }
82820
+
82821
+ @Override
82822
+ public CreateMembers setUserIp(java.lang.String userIp) {
82823
+ return (CreateMembers) super.setUserIp(userIp);
82824
+ }
82825
+
82826
+ /** Project ID for this request. */
82827
+ @com.google.api.client.util.Key
82828
+ private java.lang.String project;
82829
+
82830
+ /** Project ID for this request.
82831
+ */
82832
+ public java.lang.String getProject() {
82833
+ return project;
82834
+ }
82835
+
82836
+ /** Project ID for this request. */
82837
+ public CreateMembers setProject(java.lang.String project) {
82838
+ if (!getSuppressPatternChecks()) {
82839
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
82840
+ "Parameter project must conform to the pattern " +
82841
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
82842
+ }
82843
+ this.project = project;
82844
+ return this;
82845
+ }
82846
+
82847
+ /** Name of the group resource to create members for. */
82848
+ @com.google.api.client.util.Key
82849
+ private java.lang.String interconnectGroup;
82850
+
82851
+ /** Name of the group resource to create members for.
82852
+ */
82853
+ public java.lang.String getInterconnectGroup() {
82854
+ return interconnectGroup;
82855
+ }
82856
+
82857
+ /** Name of the group resource to create members for. */
82858
+ public CreateMembers setInterconnectGroup(java.lang.String interconnectGroup) {
82859
+ if (!getSuppressPatternChecks()) {
82860
+ com.google.api.client.util.Preconditions.checkArgument(INTERCONNECT_GROUP_PATTERN.matcher(interconnectGroup).matches(),
82861
+ "Parameter interconnectGroup must conform to the pattern " +
82862
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
82863
+ }
82864
+ this.interconnectGroup = interconnectGroup;
82865
+ return this;
82866
+ }
82867
+
82868
+ @Override
82869
+ public CreateMembers set(String parameterName, Object value) {
82870
+ return (CreateMembers) super.set(parameterName, value);
82871
+ }
82872
+ }
82705
82873
/**
82706
82874
* Deletes the specified InterconnectGroup in the given scope
82707
82875
*
@@ -134070,8 +134238,8 @@ public TestIamPermissions set(String parameterName, Object value) {
134070
134238
}
134071
134239
/**
134072
134240
* Updates the specified commitment with the data included in the request. Update is performed only
134073
- * on selected fields included as part of update-mask. Only the following fields can be modified :
134074
- * auto_renew.
134241
+ * on selected fields included as part of update-mask. Only the following fields can be updated :
134242
+ * auto_renew and plan .
134075
134243
*
134076
134244
* Create a request for the method "regionCommitments.update".
134077
134245
*
@@ -134080,7 +134248,7 @@ public TestIamPermissions set(String parameterName, Object value) {
134080
134248
*
134081
134249
* @param project Project ID for this request.
134082
134250
* @param region Name of the region for this request.
134083
- * @param commitment Name of the commitment for which auto renew is being updated .
134251
+ * @param commitment Name of the commitment that you want to update .
134084
134252
* @param content the {@link com.google.api.services.compute.model.Commitment}
134085
134253
* @return the request
134086
134254
*/
@@ -134106,7 +134274,7 @@ public class Update extends ComputeRequest<com.google.api.services.compute.model
134106
134274
/**
134107
134275
* Updates the specified commitment with the data included in the request. Update is performed
134108
134276
* only on selected fields included as part of update-mask. Only the following fields can be
134109
- * modified : auto_renew.
134277
+ * updated : auto_renew and plan .
134110
134278
*
134111
134279
* Create a request for the method "regionCommitments.update".
134112
134280
*
@@ -134117,7 +134285,7 @@ public class Update extends ComputeRequest<com.google.api.services.compute.model
134117
134285
*
134118
134286
* @param project Project ID for this request.
134119
134287
* @param region Name of the region for this request.
134120
- * @param commitment Name of the commitment for which auto renew is being updated .
134288
+ * @param commitment Name of the commitment that you want to update .
134121
134289
* @param content the {@link com.google.api.services.compute.model.Commitment}
134122
134290
* @since 1.13
134123
134291
*/
@@ -134245,17 +134413,17 @@ public Update setRegion(java.lang.String region) {
134245
134413
return this;
134246
134414
}
134247
134415
134248
- /** Name of the commitment for which auto renew is being updated . */
134416
+ /** Name of the commitment that you want to update . */
134249
134417
@com.google.api.client.util.Key
134250
134418
private java.lang.String commitment;
134251
134419
134252
- /** Name of the commitment for which auto renew is being updated .
134420
+ /** Name of the commitment that you want to update .
134253
134421
*/
134254
134422
public java.lang.String getCommitment() {
134255
134423
return commitment;
134256
134424
}
134257
134425
134258
- /** Name of the commitment for which auto renew is being updated . */
134426
+ /** Name of the commitment that you want to update . */
134259
134427
public Update setCommitment(java.lang.String commitment) {
134260
134428
if (!getSuppressPatternChecks()) {
134261
134429
com.google.api.client.util.Preconditions.checkArgument(COMMITMENT_PATTERN.matcher(commitment).matches(),
@@ -134343,7 +134511,7 @@ public Update set(String parameterName, Object value) {
134343
134511
}
134344
134512
}
134345
134513
/**
134346
- * Transfers GPUs or local SSDs between reservations within commitments .
134514
+ * Transfers GPUs or Local SSD disks between reservations that are attached to the same commitment .
134347
134515
*
134348
134516
* Create a request for the method "regionCommitments.updateReservations".
134349
134517
*
@@ -134352,7 +134520,7 @@ public Update set(String parameterName, Object value) {
134352
134520
*
134353
134521
* @param project Project ID for this request.
134354
134522
* @param region Name of the region for this request.
134355
- * @param commitment Name of the commitment for which the reservation is being updated.
134523
+ * @param commitment Name of the commitment for which the reservations are being updated.
134356
134524
* @param content the {@link com.google.api.services.compute.model.RegionCommitmentsUpdateReservationsRequest}
134357
134525
* @return the request
134358
134526
*/
@@ -134376,7 +134544,8 @@ public class UpdateReservations extends ComputeRequest<com.google.api.services.c
134376
134544
java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
134377
134545
134378
134546
/**
134379
- * Transfers GPUs or local SSDs between reservations within commitments.
134547
+ * Transfers GPUs or Local SSD disks between reservations that are attached to the same
134548
+ * commitment.
134380
134549
*
134381
134550
* Create a request for the method "regionCommitments.updateReservations".
134382
134551
*
@@ -134388,7 +134557,7 @@ public class UpdateReservations extends ComputeRequest<com.google.api.services.c
134388
134557
*
134389
134558
* @param project Project ID for this request.
134390
134559
* @param region Name of the region for this request.
134391
- * @param commitment Name of the commitment for which the reservation is being updated.
134560
+ * @param commitment Name of the commitment for which the reservations are being updated.
134392
134561
* @param content the {@link com.google.api.services.compute.model.RegionCommitmentsUpdateReservationsRequest}
134393
134562
* @since 1.13
134394
134563
*/
@@ -134516,17 +134685,17 @@ public UpdateReservations setRegion(java.lang.String region) {
134516
134685
return this;
134517
134686
}
134518
134687
134519
- /** Name of the commitment for which the reservation is being updated. */
134688
+ /** Name of the commitment for which the reservations are being updated. */
134520
134689
@com.google.api.client.util.Key
134521
134690
private java.lang.String commitment;
134522
134691
134523
- /** Name of the commitment for which the reservation is being updated.
134692
+ /** Name of the commitment for which the reservations are being updated.
134524
134693
*/
134525
134694
public java.lang.String getCommitment() {
134526
134695
return commitment;
134527
134696
}
134528
134697
134529
- /** Name of the commitment for which the reservation is being updated. */
134698
+ /** Name of the commitment for which the reservations are being updated. */
134530
134699
public UpdateReservations setCommitment(java.lang.String commitment) {
134531
134700
if (!getSuppressPatternChecks()) {
134532
134701
com.google.api.client.util.Preconditions.checkArgument(COMMITMENT_PATTERN.matcher(commitment).matches(),
0 commit comments