REST Resource: projects.locations.repositories.npmPackages

Stay organized with collections Save and categorize content based on your preferences.

Resource: NpmPackage

NpmPackage represents an npm artifact.

JSON representation
{
  "name": string,
  "packageName": string,
  "version": string,
  "tags": [
    string
  ],
  "createTime": string,
  "updateTime": string
}
Fields
name

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

string

Package for the artifact.

version

string

Version of this package.

tags[]

string

Tags attached to this package.

createTime

string (Timestamp format)

Output only. Time the package was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. Time the package was updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Methods

get

Gets a npm package.

list

Lists npm packages.