Artifact Registry API . projects . locations . repositories . prewarmedArtifacts

Instance Methods

close()

Close httplib2 connections.

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

Lists all streamed artifacts in a repository.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists all streamed artifacts in a repository.

Args:
  parent: string, Required. The repository of the artifact to list. Format: projects/{project}/locations/{location}/repositories/{repository} (required)
  filter: string, Optional. Filter should only support The location of the prewarmed artifacts. multi-region is not supported for this field.
  pageSize: integer, Optional. The maximum number of prewarmed artifacts to return. Maximum page size is 1,000. Default page size is 100.
  pageToken: string, Optional. The next_page_token value returned from a previous list request, if any.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response for listing artifacts for streaming.
  "nextPageToken": "A String", # The token to retrieve the next page of prewarmed artifacts, or empty if there are no more streamings to return.
  "prewarmedArtifacts": [ # The prewarmed artifacts.
    { # PrewarmedArtifact represents a streamed artifact. This is not a request message, so field_behavior annotations are not required.
      "expirationTime": "A String", # The expiration time of the prewarmed artifact.
      "location": "A String", # The location of the prewarmed artifact.
      "uri": "A String", # URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
    },
  ],
}
list_next()
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.