Close httplib2 connections.
Gets a python package.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists python packages.
Retrieves the next page of results.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a python package.
Args:
name: string, Required. The name of the python package. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # PythonPackage represents a python artifact.
"createTime": "A String", # Output only. Time the package was created.
"name": "A String", # Required. registry_location, project_id, repository_name and python_package forms a unique package name:`projects//locations//repository//pythonPackages/`. For example, "projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/ python_package:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and python_package:1.0.0" is the python package.
"packageName": "A String", # Package for the artifact.
"updateTime": "A String", # Output only. Time the package was updated.
"uri": "A String", # Required. URL to access the package. Example: us-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz
"version": "A String", # Version of this package.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists python packages.
Args:
parent: string, Required. The name of the parent resource whose python packages will be listed. (required)
pageSize: integer, The maximum number of artifacts to return. Maximum page size is 1,000.
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 python packages.
"nextPageToken": "A String", # The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.
"pythonPackages": [ # The python packages returned.
{ # PythonPackage represents a python artifact.
"createTime": "A String", # Output only. Time the package was created.
"name": "A String", # Required. registry_location, project_id, repository_name and python_package forms a unique package name:`projects//locations//repository//pythonPackages/`. For example, "projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/ python_package:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and python_package:1.0.0" is the python package.
"packageName": "A String", # Package for the artifact.
"updateTime": "A String", # Output only. Time the package was updated.
"uri": "A String", # Required. URL to access the package. Example: us-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz
"version": "A String", # Version of this package.
},
],
}
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.