parameters: (self, bucket_name, object_name, generation=None,
                          provider=None, fields=None)
docstring: See CloudApi class for function doc strings.
docstring_summary: See CloudApi class for function doc strings.
docstring_tokens: See CloudApi class for function doc strings .
function: def GetObjectMetadata(self, bucket_name, object_name, generation=None,
                          provider=None, fields=None):
      """See CloudApi class for function doc strings."""
      projection = (apitools_messages.StorageObjectsGetRequest
                    .ProjectionValueValuesEnum.full)
  
      if generation:
        generation = long(generation)
  
      apitools_request = apitools_messages.StorageObjectsGetRequest(
          bucket=bucket_name, object=object_name, projection=projection,
          generation=generation)
      global_params = apitools_messages.StandardQueryParameters()
      if fields:
        global_params.fields = ','.join(set(fields))
  
      try:
        return self.api_client.objects.Get(apitools_request,
                                           global_params=global_params)
      except TRANSLATABLE_APITOOLS_EXCEPTIONS, e:
        self._TranslateExceptionAndRaise(e, bucket_name=bucket_name,
                                         object_name=object_name,
                                         generation=generation)
function_tokens: def GetObjectMetadata ( self , bucket_name , object_name , generation = None , provider = None , fields = None ) : projection = ( apitools_messages . StorageObjectsGetRequest . ProjectionValueValuesEnum . full ) if generation : generation = long ( generation ) apitools_request = apitools_messages . StorageObjectsGetRequest ( bucket = bucket_name , object = object_name , projection = projection , generation = generation ) global_params = apitools_messages . StandardQueryParameters ( ) if fields : global_params . fields = ',' . join ( set ( fields ) ) try : return self . api_client . objects . Get ( apitools_request , global_params = global_params ) except TRANSLATABLE_APITOOLS_EXCEPTIONS , e : self . _TranslateExceptionAndRaise ( e , bucket_name = bucket_name , object_name = object_name , generation = generation )