Config Delivery V1 API - Class Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector (v0.1.0)

Reference documentation and code samples for the Config Delivery V1 API class Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector.

VariantSelector contains information for selecting a variant in ResourceBundle to deploy to a target cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#variant_name_template

def variant_name_template() -> ::String
Returns
  • (::String) — Required. variant_name_template is a template that can refer to variables containing cluster membership metadata such as location, name, and labels to generate the name of the variant for a target cluster. The variable syntax is similar to the unix shell variables.

    Available variables are ${membership.name}, ${membership.location}, ${membership.project} and ${membership.labels['label_name']}.

    If you want to deploy a specific variant, say "default" to all the clusters, you can use "default" (string without any variables) as the variant_name_template.

#variant_name_template=

def variant_name_template=(value) -> ::String
Parameter
  • value (::String) — Required. variant_name_template is a template that can refer to variables containing cluster membership metadata such as location, name, and labels to generate the name of the variant for a target cluster. The variable syntax is similar to the unix shell variables.

    Available variables are ${membership.name}, ${membership.location}, ${membership.project} and ${membership.labels['label_name']}.

    If you want to deploy a specific variant, say "default" to all the clusters, you can use "default" (string without any variables) as the variant_name_template.

Returns
  • (::String) — Required. variant_name_template is a template that can refer to variables containing cluster membership metadata such as location, name, and labels to generate the name of the variant for a target cluster. The variable syntax is similar to the unix shell variables.

    Available variables are ${membership.name}, ${membership.location}, ${membership.project} and ${membership.labels['label_name']}.

    If you want to deploy a specific variant, say "default" to all the clusters, you can use "default" (string without any variables) as the variant_name_template.