Returns the dockerImages Resource.
Close httplib2 connections.
Gets a repository.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists repositories.
list_next(previous_request, previous_response)
Retrieves the next page of results.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a repository.
Args:
name: string, Required. The name of the repository to retrieve. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A Repository for storing artifacts with a specific format.
"createTime": "A String", # The time when the repository was created.
"description": "A String", # The user-provided description of the repository.
"format": "A String", # The format of packages that are stored in the repository.
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
"labels": { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
"a_key": "A String",
},
"name": "A String", # The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
"updateTime": "A String", # The time when the repository was last updated.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists repositories.
Args:
parent: string, Required. The name of the parent resource whose repositories will be listed. (required)
pageSize: integer, The maximum number of repositories to return.
pageToken: string, 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 from listing repositories.
"nextPageToken": "A String", # The token to retrieve the next page of repositories, or empty if there are no more repositories to return.
"repositories": [ # The repositories returned.
{ # A Repository for storing artifacts with a specific format.
"createTime": "A String", # The time when the repository was created.
"description": "A String", # The user-provided description of the repository.
"format": "A String", # The format of packages that are stored in the repository.
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
"labels": { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
"a_key": "A String",
},
"name": "A String", # The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
"updateTime": "A String", # The time when the repository was last updated.
},
],
}
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.