Google Cloud Config Delivery V1 Client - Class Variant (0.2.1)

Reference documentation and code samples for the Google Cloud Config Delivery V1 Client class Variant.

Variant represents the content of a ResourceBundle variant.

Generated from protobuf message google.cloud.configdelivery.v1.Variant

Namespace

Google \ Cloud \ ConfigDelivery \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ labels
array| Google\Protobuf\Internal\MapField

Optional. labels to represent any metadata associated with the variant.

↳ resources
array

Required. Input only. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.

↳ name
string

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

↳ create_time
Google\Protobuf\Timestamp

Output only. [Output only] Create time stamp

↳ update_time
Google\Protobuf\Timestamp

Output only. [Output only] Update time stamp

getLabels

Optional. labels to represent any metadata associated with the variant.

Returns
Type
Description

setLabels

Optional. labels to represent any metadata associated with the variant.

Parameter
Name
Description
Returns
Type
Description
$this

getResources

Required. Input only. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.

Returns
Type
Description

setResources

Required. Input only. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getName

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

Returns
Type
Description
string

setName

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. [Output only] Create time stamp

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. [Output only] Create time stamp

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. [Output only] Update time stamp

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. [Output only] Update time stamp

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: