Close httplib2 connections.
Gets a npm package.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists npm packages.
Retrieves the next page of results.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a npm package. Args: name: string, Required. The name of the npm package. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # NpmPackage represents an npm artifact. "createTime": "A String", # Output only. Time the package was created. "name": "A String", # Required. registry_location, project_id, repository_name and npm_package forms a unique package For example, "projects/test-project/locations/us-west4/repositories/test-repo/npmPackages/ npm_test:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and npm_test:1.0.0" is the npm package. "packageName": "A String", # Package for the artifact. "tags": [ # Tags attached to this package. "A String", ], "updateTime": "A String", # Output only. Time the package was updated. "version": "A String", # Version of this package. }
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists npm packages. Args: parent: string, Required. The name of the parent resource whose npm 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 npm packages. "nextPageToken": "A String", # The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return. "npmPackages": [ # The npm packages returned. { # NpmPackage represents an npm artifact. "createTime": "A String", # Output only. Time the package was created. "name": "A String", # Required. registry_location, project_id, repository_name and npm_package forms a unique package For example, "projects/test-project/locations/us-west4/repositories/test-repo/npmPackages/ npm_test:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and npm_test:1.0.0" is the npm package. "packageName": "A String", # Package for the artifact. "tags": [ # Tags attached to this package. "A String", ], "updateTime": "A String", # Output only. Time the package was updated. "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.