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 |
Optional. labels to represent any metadata associated with the variant. An object containing a list of |
resources[] |
Required. resources contain the kubernetes manifests (YAMLs) for this variant. |
name |
Identifier. Name follows format of projects/{project}/locations/{location}/resourceBundles/{resourceBundle}/releases/{release}/variants/{variant} |
create |
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: |
update |
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: |
Methods |
|
---|---|
|
Creates a new Variant in a given project, location, resource bundle, and release. |
|
Deletes a single Variant. |
|
Gets details of a single Variant. |
|
Lists Variants in a given project and location. |
|
Updates the parameters of a single Variant. |