Resource: NpmPackage
NpmPackage represents an npm artifact.
JSON representation |
---|
{ "name": string, "packageName": string, "version": string, "tags": [ string ], "createTime": string, "updateTime": string } |
Fields | |
---|---|
name |
Required. registry_location, projectId, 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 projectId, "test-repo" is the repository_name and npm_test:1.0.0" is the npm package. |
packageName |
Package for the artifact. |
version |
Version of this package. |
tags[] |
Tags attached to this package. |
createTime |
Output only. Time the package was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Time the package was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Gets a npm package. |
|
Lists npm packages. |