Reference documentation and code samples for the Google Cloud Config Delivery V1beta Client class Variant.
Variant represents the content of a ResourceBundle
variant.
Generated from protobuf message google.cloud.configdelivery.v1beta.Variant
Namespace
Google \ Cloud \ ConfigDelivery \ V1betaMethods
__construct
Constructor.
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. 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
↳ update_time
getLabels
Optional. labels to represent any metadata associated with the variant.
setLabels
Optional. labels to represent any metadata associated with the variant.
$this
getResources
Required. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.
setResources
Required. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.
var
string[]
$this
getName
Identifier. Name follows format of projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}
string
setName
Identifier. Name follows format of projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}
var
string
$this
getCreateTime
Output only. [Output only] Create time stamp
hasCreateTime
clearCreateTime
setCreateTime
Output only. [Output only] Create time stamp
$this
getUpdateTime
Output only. [Output only] Update time stamp
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. [Output only] Update time stamp
$this