Reference documentation and code samples for the Config Delivery V1 API class Google::Cloud::ConfigDelivery::V1::Variant.
Variant represents the content of a ResourceBundle
variant.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Create time stamp
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. labels to represent any metadata associated with the variant.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. labels to represent any metadata associated with the variant.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. labels to represent any metadata associated with the variant.
#name
def name() -> ::String
Returns
- (::String) — Identifier. Name follows format of projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. Name follows format of projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}
Returns
- (::String) — Identifier. Name follows format of projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}
#resources
def resources() -> ::Array<::String>
Returns
- (::Array<::String>) — Required. Input only. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.
#resources=
def resources=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Required. Input only. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.
Returns
- (::Array<::String>) — Required. Input only. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Update time stamp