@@ -3433,12 +3433,12 @@ public Get set(String parameterName, Object value) {
34333433 }
34343434 }
34353435 /**
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.
34373437 *
3438- * Create a request for the method "tagBindingCollections.patch ".
3438+ * Create a request for the method "tagBindingCollections.update ".
34393439 *
34403440 * 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.
34423442 *
34433443 * @param name Identifier. The name of the TagBindingCollection, following the convention:
34443444 * `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the
@@ -3448,28 +3448,28 @@ public Get set(String parameterName, Object value) {
34483448 * @param content the {@link com.google.api.services.cloudresourcemanager.v3.model.TagBindingCollection}
34493449 * @return the request
34503450 */
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 );
34533453 initialize (result );
34543454 return result ;
34553455 }
34563456
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 > {
34583458
34593459 private static final String REST_PATH = "v3/{+name}" ;
34603460
34613461 private final java .util .regex .Pattern NAME_PATTERN =
34623462 java .util .regex .Pattern .compile ("^locations/[^/]+/tagBindingCollections/[^/]+$" );
34633463
34643464 /**
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.
34663466 *
3467- * Create a request for the method "tagBindingCollections.patch ".
3467+ * Create a request for the method "tagBindingCollections.update ".
34683468 *
34693469 * 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
34713471 * 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
34733473 * be called to initialize this instance immediately after invoking the constructor. </p>
34743474 *
34753475 * @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
34803480 * @param content the {@link com.google.api.services.cloudresourcemanager.v3.model.TagBindingCollection}
34813481 * @since 1.13
34823482 */
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 );
34853485 this .name = com .google .api .client .util .Preconditions .checkNotNull (name , "Required parameter name must be specified." );
34863486 if (!getSuppressPatternChecks ()) {
34873487 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
34913491 }
34923492
34933493 @ 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 );
34963496 }
34973497
34983498 @ 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 );
35013501 }
35023502
35033503 @ 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 );
35063506 }
35073507
35083508 @ 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 );
35113511 }
35123512
35133513 @ 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 );
35163516 }
35173517
35183518 @ 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 );
35213521 }
35223522
35233523 @ 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 );
35263526 }
35273527
35283528 @ 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 );
35313531 }
35323532
35333533 @ 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 );
35363536 }
35373537
35383538 @ 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 );
35413541 }
35423542
35433543 @ 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 );
35463546 }
35473547
35483548 /**
@@ -3571,7 +3571,7 @@ public java.lang.String getName() {
35713571 * are bound to. "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleap
35723572 * is.com%2fprojects%2f123"
35733573 */
3574- public Patch setName (java .lang .String name ) {
3574+ public Update setName (java .lang .String name ) {
35753575 if (!getSuppressPatternChecks ()) {
35763576 com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
35773577 "Parameter name must conform to the pattern " +
@@ -3581,25 +3581,9 @@ public Patch setName(java.lang.String name) {
35813581 return this ;
35823582 }
35833583
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-
36003584 @ 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 );
36033587 }
36043588 }
36053589
0 commit comments