REST Resource: projects.locations.resourceBundles.releases

Resource: Release

Release represents a versioned release containing kubernetes manifests.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "lifecycle": enum (Lifecycle),
  "version": string,
  "publishTime": string,
  "variants": {
    string: {
      object (Variant)
    },
    ...
  },
  "info": {
    object (ReleaseInfo)
  }
}
Fields
name

string

Identifier. Name of the Release. Format is projects/{project}/locations/location}/resourceBundles/{resourceBundle}/release/[a-z][a-z0-9\-]{0,62}.

createTime

string (Timestamp format)

Output only. Time Release was created.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. Time Release was last updated.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

labels

map (key: string, value: string)

Optional. Labels as key value pairs.

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

lifecycle

enum (Lifecycle)

Optional. lifecycle of the Release.

version

string

Required. version of the Release. This must be v...

publishTime

string (Timestamp format)

Output only. Time the Release was published.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

variants

map (key: string, value: object (Variant))

Optional. variants represents the variants of the ResourceBundle in this release. key in the map represents the name of the variant.

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

info

object (ReleaseInfo)

Output only. ResourceBundle Release extra information e.g., artifact registry image path.

Lifecycle

Lifecycle indicates the state of the Release. A published release is immutable.

Enums
LIFECYCLE_UNSPECIFIED indicates lifecycle has not been specified.
DRAFT indicates that the Release is being edited.
PUBLISHED indicates that the Release is now published (or released) and immutable.

ReleaseInfo

ReleaseInfo contains extra information about the ResourceBundle release e.g., link to an artifact registry OCI image.

JSON representation
{
  "ociImagePath": string,
  "variantOciImagePaths": {
    string: string,
    ...
  }
}
Fields
ociImagePath

string

Output only. path to the oci image the service uploads to on a Release creation.

variantOciImagePaths

map (key: string, value: string)

Output only. per-variant paths to the oci images the service uploads on package release creation

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

Methods

create

Creates a new Release in a given project, location and resource bundle.

delete

Deletes a single Release.

get

Gets details of a single Release.

list

Lists Releases in a given project and location.

patch

Updates the parameters of a single Release.