Firebase Hosting API . sites . versions . files

Instance Methods

list(parent, status=None, pageToken=None, x__xgafv=None, pageSize=None)

Lists the remaining files to be uploaded for the specified version.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

list(parent, status=None, pageToken=None, x__xgafv=None, pageSize=None)
Lists the remaining files to be uploaded for the specified version.

Args:
  parent: string, Required. The parent to list files for, in the format:
sites/site-name/versions/versionID (required)
  status: string, The type of files in the version that should be listed.
  pageToken: string, The next_page_token from a previous request, if provided. This will be the
encoded version of a firebase.hosting.proto.metadata.ListFilesPageToken.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format
  pageSize: integer, The page size to return. Defaults to 1000.

Returns:
  An object of the form:

    {
    "files": [ # The list path/hashes in the specified version.
      { # A static content file that is part of a version.
        "status": "A String", # Output only. The current status of a particular file in the specified
            # version.
            # 
The value will be either `pending upload` or `uploaded`. "path": "A String", # The URI at which the file's content should display. "hash": "A String", # The SHA256 content hash of the file. }, ], "nextPageToken": "A String", # The pagination token, if more results exist. }
list_next(previous_request, previous_response)
Retrieves the next page of results.

Args:
  previous_request: The request for the previous page. (required)
  previous_response: The response from the request for the previous page. (required)

Returns:
  A request object that you can call 'execute()' on to request the next
  page. Returns None if there are no more items in the collection.