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.

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 Release was last 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".

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.

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

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.

Variant

Variant represents the content of a ResourceBundle variant.

JSON representation
{
  "labels": {
    string: string,
    ...
  },
  "resources": [
    string
  ]
}
Fields
labels

map (key: string, value: string)

labels to represent any metadata associated with the variant.

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

resources[]

string

resources contain the kubernetes manifests (YAMLs) for this variant.

ReleaseInfo

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

JSON representation
{
  "ociImagePath": string
}
Fields
ociImagePath

string

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

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.