REST Resource: projects.locations.repositories.packages.versions

Resource: Version

The body of a version resource. A version resource represents a collection of components, such as files and other data. This may correspond to a version in many package management schemes.

JSON representation
{
  "name": string,
  "description": string,
  "createTime": string,
  "updateTime": string,
  "relatedTags": [
    {
      object (Tag)
    }
  ]
}
Fields
name

string

The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".

description

string

Optional. Description of the version, as specified in its metadata.

createTime

string (Timestamp format)

The time when the version was created.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

The time when the version was last updated.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

relatedTags[]

object (Tag)

Output only. A list of related tags. Will contain up to 100 tags that reference this version.

Methods

delete

Deletes a version and all of its content.

get

Gets a version

list

Lists versions.