@@ -3433,12 +3433,12 @@ public Get set(String parameterName, Object value) {
3433
3433
}
3434
3434
}
3435
3435
/**
3436
- * Updates tag bindings directly attached to a GCP resource. Update_mask can be kept empty or "*".
3436
+ * Updates tag bindings directly attached to a GCP resource.
3437
3437
*
3438
- * Create a request for the method "tagBindingCollections.patch ".
3438
+ * Create a request for the method "tagBindingCollections.update ".
3439
3439
*
3440
3440
* This request holds the parameters needed by the cloudresourcemanager server. After setting any
3441
- * optional parameters, call the {@link Patch #execute()} method to invoke the remote operation.
3441
+ * optional parameters, call the {@link Update #execute()} method to invoke the remote operation.
3442
3442
*
3443
3443
* @param name Identifier. The name of the TagBindingCollection, following the convention:
3444
3444
* `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the
@@ -3448,28 +3448,28 @@ public Get set(String parameterName, Object value) {
3448
3448
* @param content the {@link com.google.api.services.cloudresourcemanager.v3.model.TagBindingCollection}
3449
3449
* @return the request
3450
3450
*/
3451
- public Patch patch (java .lang .String name , com .google .api .services .cloudresourcemanager .v3 .model .TagBindingCollection content ) throws java .io .IOException {
3452
- Patch result = new Patch (name , content );
3451
+ public Update update (java .lang .String name , com .google .api .services .cloudresourcemanager .v3 .model .TagBindingCollection content ) throws java .io .IOException {
3452
+ Update result = new Update (name , content );
3453
3453
initialize (result );
3454
3454
return result ;
3455
3455
}
3456
3456
3457
- public class Patch extends CloudResourceManagerRequest <com .google .api .services .cloudresourcemanager .v3 .model .Operation > {
3457
+ public class Update extends CloudResourceManagerRequest <com .google .api .services .cloudresourcemanager .v3 .model .Operation > {
3458
3458
3459
3459
private static final String REST_PATH = "v3/{+name}" ;
3460
3460
3461
3461
private final java .util .regex .Pattern NAME_PATTERN =
3462
3462
java .util .regex .Pattern .compile ("^locations/[^/]+/tagBindingCollections/[^/]+$" );
3463
3463
3464
3464
/**
3465
- * Updates tag bindings directly attached to a GCP resource. Update_mask can be kept empty or "*".
3465
+ * Updates tag bindings directly attached to a GCP resource.
3466
3466
*
3467
- * Create a request for the method "tagBindingCollections.patch ".
3467
+ * Create a request for the method "tagBindingCollections.update ".
3468
3468
*
3469
3469
* This request holds the parameters needed by the the cloudresourcemanager server. After setting
3470
- * any optional parameters, call the {@link Patch #execute()} method to invoke the remote
3470
+ * any optional parameters, call the {@link Update #execute()} method to invoke the remote
3471
3471
* operation. <p> {@link
3472
- * Patch #initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
3472
+ * Update #initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
3473
3473
* be called to initialize this instance immediately after invoking the constructor. </p>
3474
3474
*
3475
3475
* @param name Identifier. The name of the TagBindingCollection, following the convention:
@@ -3480,8 +3480,8 @@ public class Patch extends CloudResourceManagerRequest<com.google.api.services.c
3480
3480
* @param content the {@link com.google.api.services.cloudresourcemanager.v3.model.TagBindingCollection}
3481
3481
* @since 1.13
3482
3482
*/
3483
- protected Patch (java .lang .String name , com .google .api .services .cloudresourcemanager .v3 .model .TagBindingCollection content ) {
3484
- super (CloudResourceManager .this , "PATCH " , REST_PATH , content , com .google .api .services .cloudresourcemanager .v3 .model .Operation .class );
3483
+ protected Update (java .lang .String name , com .google .api .services .cloudresourcemanager .v3 .model .TagBindingCollection content ) {
3484
+ super (CloudResourceManager .this , "PUT " , REST_PATH , content , com .google .api .services .cloudresourcemanager .v3 .model .Operation .class );
3485
3485
this .name = com .google .api .client .util .Preconditions .checkNotNull (name , "Required parameter name must be specified." );
3486
3486
if (!getSuppressPatternChecks ()) {
3487
3487
com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
@@ -3491,58 +3491,58 @@ protected Patch(java.lang.String name, com.google.api.services.cloudresourcemana
3491
3491
}
3492
3492
3493
3493
@ Override
3494
- public Patch set$Xgafv (java .lang .String $Xgafv ) {
3495
- return (Patch ) super .set$Xgafv ($Xgafv );
3494
+ public Update set$Xgafv (java .lang .String $Xgafv ) {
3495
+ return (Update ) super .set$Xgafv ($Xgafv );
3496
3496
}
3497
3497
3498
3498
@ Override
3499
- public Patch setAccessToken (java .lang .String accessToken ) {
3500
- return (Patch ) super .setAccessToken (accessToken );
3499
+ public Update setAccessToken (java .lang .String accessToken ) {
3500
+ return (Update ) super .setAccessToken (accessToken );
3501
3501
}
3502
3502
3503
3503
@ Override
3504
- public Patch setAlt (java .lang .String alt ) {
3505
- return (Patch ) super .setAlt (alt );
3504
+ public Update setAlt (java .lang .String alt ) {
3505
+ return (Update ) super .setAlt (alt );
3506
3506
}
3507
3507
3508
3508
@ Override
3509
- public Patch setCallback (java .lang .String callback ) {
3510
- return (Patch ) super .setCallback (callback );
3509
+ public Update setCallback (java .lang .String callback ) {
3510
+ return (Update ) super .setCallback (callback );
3511
3511
}
3512
3512
3513
3513
@ Override
3514
- public Patch setFields (java .lang .String fields ) {
3515
- return (Patch ) super .setFields (fields );
3514
+ public Update setFields (java .lang .String fields ) {
3515
+ return (Update ) super .setFields (fields );
3516
3516
}
3517
3517
3518
3518
@ Override
3519
- public Patch setKey (java .lang .String key ) {
3520
- return (Patch ) super .setKey (key );
3519
+ public Update setKey (java .lang .String key ) {
3520
+ return (Update ) super .setKey (key );
3521
3521
}
3522
3522
3523
3523
@ Override
3524
- public Patch setOauthToken (java .lang .String oauthToken ) {
3525
- return (Patch ) super .setOauthToken (oauthToken );
3524
+ public Update setOauthToken (java .lang .String oauthToken ) {
3525
+ return (Update ) super .setOauthToken (oauthToken );
3526
3526
}
3527
3527
3528
3528
@ Override
3529
- public Patch setPrettyPrint (java .lang .Boolean prettyPrint ) {
3530
- return (Patch ) super .setPrettyPrint (prettyPrint );
3529
+ public Update setPrettyPrint (java .lang .Boolean prettyPrint ) {
3530
+ return (Update ) super .setPrettyPrint (prettyPrint );
3531
3531
}
3532
3532
3533
3533
@ Override
3534
- public Patch setQuotaUser (java .lang .String quotaUser ) {
3535
- return (Patch ) super .setQuotaUser (quotaUser );
3534
+ public Update setQuotaUser (java .lang .String quotaUser ) {
3535
+ return (Update ) super .setQuotaUser (quotaUser );
3536
3536
}
3537
3537
3538
3538
@ Override
3539
- public Patch setUploadType (java .lang .String uploadType ) {
3540
- return (Patch ) super .setUploadType (uploadType );
3539
+ public Update setUploadType (java .lang .String uploadType ) {
3540
+ return (Update ) super .setUploadType (uploadType );
3541
3541
}
3542
3542
3543
3543
@ Override
3544
- public Patch setUploadProtocol (java .lang .String uploadProtocol ) {
3545
- return (Patch ) super .setUploadProtocol (uploadProtocol );
3544
+ public Update setUploadProtocol (java .lang .String uploadProtocol ) {
3545
+ return (Update ) super .setUploadProtocol (uploadProtocol );
3546
3546
}
3547
3547
3548
3548
/**
@@ -3571,7 +3571,7 @@ public java.lang.String getName() {
3571
3571
* are bound to. "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleap
3572
3572
* is.com%2fprojects%2f123"
3573
3573
*/
3574
- public Patch setName (java .lang .String name ) {
3574
+ public Update setName (java .lang .String name ) {
3575
3575
if (!getSuppressPatternChecks ()) {
3576
3576
com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
3577
3577
"Parameter name must conform to the pattern " +
@@ -3581,25 +3581,9 @@ public Patch setName(java.lang.String name) {
3581
3581
return this ;
3582
3582
}
3583
3583
3584
- /** Optional. An update mask to selectively update fields. */
3585
- @ com .google .api .client .util .Key
3586
- private String updateMask ;
3587
-
3588
- /** Optional. An update mask to selectively update fields.
3589
- */
3590
- public String getUpdateMask () {
3591
- return updateMask ;
3592
- }
3593
-
3594
- /** Optional. An update mask to selectively update fields. */
3595
- public Patch setUpdateMask (String updateMask ) {
3596
- this .updateMask = updateMask ;
3597
- return this ;
3598
- }
3599
-
3600
3584
@ Override
3601
- public Patch set (String parameterName , Object value ) {
3602
- return (Patch ) super .set (parameterName , value );
3585
+ public Update set (String parameterName , Object value ) {
3586
+ return (Update ) super .set (parameterName , value );
3603
3587
}
3604
3588
}
3605
3589
0 commit comments