parameters: (self, bucket, object)
docstring: Updates an object's metadata. This method supports patch semantics.
  
      Args:
        bucket: Name of the bucket in which the object resides.
        object: Name of the object.
  
      Flags:
        generation: If present, selects a specific revision of this object (as
          opposed to the latest version, the default).
        ifGenerationMatch: Makes the operation conditional on whether the
          object's current generation matches the given value.
        ifGenerationNotMatch: Makes the operation conditional on whether the
          object's current generation does not match the given value.
        ifMetagenerationMatch: Makes the operation conditional on whether the
          object's current metageneration matches the given value.
        ifMetagenerationNotMatch: Makes the operation conditional on whether the
          object's current metageneration does not match the given value.
        objectResource: A Object resource to be passed as the request body.
        predefinedAcl: Apply a predefined set of access controls to this object.
        projection: Set of properties to return. Defaults to full.
docstring_summary: Updates an object's metadata. This method supports patch semantics.
docstring_tokens: Updates an object s metadata . This method supports patch semantics .
function: def RunWithArgs(self, bucket, object):
      """Updates an object's metadata. This method supports patch semantics.
  
      Args:
        bucket: Name of the bucket in which the object resides.
        object: Name of the object.
  
      Flags:
        generation: If present, selects a specific revision of this object (as
          opposed to the latest version, the default).
        ifGenerationMatch: Makes the operation conditional on whether the
          object's current generation matches the given value.
        ifGenerationNotMatch: Makes the operation conditional on whether the
          object's current generation does not match the given value.
        ifMetagenerationMatch: Makes the operation conditional on whether the
          object's current metageneration matches the given value.
        ifMetagenerationNotMatch: Makes the operation conditional on whether the
          object's current metageneration does not match the given value.
        objectResource: A Object resource to be passed as the request body.
        predefinedAcl: Apply a predefined set of access controls to this object.
        projection: Set of properties to return. Defaults to full.
      """
      client = GetClientFromFlags()
      global_params = GetGlobalParamsFromFlags()
      request = messages.StorageObjectsPatchRequest(
          bucket=bucket.decode('utf8'),
          object=object.decode('utf8'),
          )
      if FLAGS['generation'].present:
        request.generation = int(FLAGS.generation)
      if FLAGS['ifGenerationMatch'].present:
        request.ifGenerationMatch = int(FLAGS.ifGenerationMatch)
      if FLAGS['ifGenerationNotMatch'].present:
        request.ifGenerationNotMatch = int(FLAGS.ifGenerationNotMatch)
      if FLAGS['ifMetagenerationMatch'].present:
        request.ifMetagenerationMatch = int(FLAGS.ifMetagenerationMatch)
      if FLAGS['ifMetagenerationNotMatch'].present:
        request.ifMetagenerationNotMatch = int(FLAGS.ifMetagenerationNotMatch)
      if FLAGS['objectResource'].present:
        request.objectResource = apitools_base.JsonToMessage(messages.Object, FLAGS.objectResource)
      if FLAGS['predefinedAcl'].present:
        request.predefinedAcl = messages.StorageObjectsPatchRequest.PredefinedAclValueValuesEnum(FLAGS.predefinedAcl)
      if FLAGS['projection'].present:
        request.projection = messages.StorageObjectsPatchRequest.ProjectionValueValuesEnum(FLAGS.projection)
      result = client.objects.Patch(
          request, global_params=global_params)
      print apitools_base_cli.FormatOutput(result)
function_tokens: def RunWithArgs ( self , bucket , object ) : client = GetClientFromFlags ( ) global_params = GetGlobalParamsFromFlags ( ) request = messages . StorageObjectsPatchRequest ( bucket = bucket . decode ( 'utf8' ) , object = object . decode ( 'utf8' ) , ) if FLAGS [ 'generation' ] . present : request . generation = int ( FLAGS . generation ) if FLAGS [ 'ifGenerationMatch' ] . present : request . ifGenerationMatch = int ( FLAGS . ifGenerationMatch ) if FLAGS [ 'ifGenerationNotMatch' ] . present : request . ifGenerationNotMatch = int ( FLAGS . ifGenerationNotMatch ) if FLAGS [ 'ifMetagenerationMatch' ] . present : request . ifMetagenerationMatch = int ( FLAGS . ifMetagenerationMatch ) if FLAGS [ 'ifMetagenerationNotMatch' ] . present : request . ifMetagenerationNotMatch = int ( FLAGS . ifMetagenerationNotMatch ) if FLAGS [ 'objectResource' ] . present : request . objectResource = apitools_base . JsonToMessage ( messages . Object , FLAGS . objectResource ) if FLAGS [ 'predefinedAcl' ] . present : request . predefinedAcl = messages . StorageObjectsPatchRequest . PredefinedAclValueValuesEnum ( FLAGS . predefinedAcl ) if FLAGS [ 'projection' ] . present : request . projection = messages . StorageObjectsPatchRequest . ProjectionValueValuesEnum ( FLAGS . projection ) result = client . objects . Patch ( request , global_params = global_params ) print apitools_base_cli . FormatOutput ( result )