REST Resource: projects.locations.repositories.packages

Resource: Package

Packages are named collections of versions.

JSON representation
{
  "name": string,
  "displayName": string,
  "createTime": string,
  "updateTime": string,
  "annotations": {
    string: string,
    ...
  }
}
Fields
name

string

The name of the package, for example: projects/p1/locations/us-central1/repositories/repo1/packages/pkg1. If the package ID part contains slashes, the slashes are escaped.

displayName

string

The display name of the package.

createTime

string (Timestamp format)

The time when 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)

The time when the package was last updated. This includes publishing a new version of the package.

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".

annotations

map (key: string, value: string)

Optional. Client specified annotations.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Methods

delete

Deletes a package and all of its versions and tags.

get

Gets a package.

list

Lists packages.

patch

Updates a package.