parameters: (self, bucket_name, prefix=None, delimiter=None,
                    all_versions=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 ListObjects(self, bucket_name, prefix=None, delimiter=None,
                    all_versions=None, provider=None, fields=None):
      """See CloudApi class for function doc strings."""
      projection = (apitools_messages.StorageObjectsListRequest
                    .ProjectionValueValuesEnum.full)
      apitools_request = apitools_messages.StorageObjectsListRequest(
          bucket=bucket_name, prefix=prefix, delimiter=delimiter,
          versions=all_versions, projection=projection,
          maxResults=NUM_OBJECTS_PER_LIST_PAGE)
      global_params = apitools_messages.StandardQueryParameters()
  
      if fields:
        fields = set(fields)
        if 'nextPageToken' not in fields:
          fields.add('nextPageToken')
        global_params.fields = ','.join(fields)
  
      try:
        object_list = self.api_client.objects.List(apitools_request,
                                                   global_params=global_params)
      except TRANSLATABLE_APITOOLS_EXCEPTIONS, e:
        self._TranslateExceptionAndRaise(e, bucket_name=bucket_name)
  
      for object_or_prefix in self._YieldObjectsAndPrefixes(object_list):
        yield object_or_prefix
  
      while object_list.nextPageToken:
        apitools_request = apitools_messages.StorageObjectsListRequest(
            bucket=bucket_name, prefix=prefix, delimiter=delimiter,
            versions=all_versions, projection=projection,
            pageToken=object_list.nextPageToken,
            maxResults=NUM_OBJECTS_PER_LIST_PAGE)
        try:
          object_list = self.api_client.objects.List(apitools_request,
                                                     global_params=global_params)
        except TRANSLATABLE_APITOOLS_EXCEPTIONS, e:
          self._TranslateExceptionAndRaise(e, bucket_name=bucket_name)
  
        for object_or_prefix in self._YieldObjectsAndPrefixes(object_list):
          yield object_or_prefix
function_tokens: def ListObjects ( self , bucket_name , prefix = None , delimiter = None , all_versions = None , provider = None , fields = None ) : projection = ( apitools_messages . StorageObjectsListRequest . ProjectionValueValuesEnum . full ) apitools_request = apitools_messages . StorageObjectsListRequest ( bucket = bucket_name , prefix = prefix , delimiter = delimiter , versions = all_versions , projection = projection , maxResults = NUM_OBJECTS_PER_LIST_PAGE ) global_params = apitools_messages . StandardQueryParameters ( ) if fields : fields = set ( fields ) if 'nextPageToken' not in fields : fields . add ( 'nextPageToken' ) global_params . fields = ',' . join ( fields ) try : object_list = self . api_client . objects . List ( apitools_request , global_params = global_params ) except TRANSLATABLE_APITOOLS_EXCEPTIONS , e : self . _TranslateExceptionAndRaise ( e , bucket_name = bucket_name ) for object_or_prefix in self . _YieldObjectsAndPrefixes ( object_list ) : yield object_or_prefix while object_list . nextPageToken : apitools_request = apitools_messages . StorageObjectsListRequest ( bucket = bucket_name , prefix = prefix , delimiter = delimiter , versions = all_versions , projection = projection , pageToken = object_list . nextPageToken , maxResults = NUM_OBJECTS_PER_LIST_PAGE ) try : object_list = self . api_client . objects . List ( apitools_request , global_params = global_params ) except TRANSLATABLE_APITOOLS_EXCEPTIONS , e : self . _TranslateExceptionAndRaise ( e , bucket_name = bucket_name ) for object_or_prefix in self . _YieldObjectsAndPrefixes ( object_list ) : yield object_or_prefix