REST Resource: projects.locations.resourceBundles.releases.variants

Resource: Variant

Variant represents the content of a ResourceBundle variant.

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

map (key: string, value: string)

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

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

name

string

Identifier. Name follows format of projects/{project}/locations/{location}/resourceBundles/{resourceBundle}/releases/{release}/variants/{variant}

createTime

string (Timestamp format)

Output only. [Output only] Create time stamp

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. [Output only] Update time stamp

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

Methods

create

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

delete

Deletes a single Variant.

get

Gets details of a single Variant.

list

Lists Variants in a given project and location.

patch

Updates the parameters of a single Variant.