Config Delivery V1 API - Class Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector (v0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
defvariant_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=
defvariant_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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Config Delivery V1 API - Class Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector (v0.1.0)\n\nReference documentation and code samples for the Config Delivery V1 API class Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector.\n\nVariantSelector contains information for selecting a variant in\n`ResourceBundle` to deploy to a target cluster. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #variant_name_template\n\n def variant_name_template() -\u003e ::String\n\n**Returns**\n\n- (::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.\n\n Available variables are `${membership.name}`, `${membership.location}`,\n `${membership.project}` and `${membership.labels['label_name']}`.\n\n If you want to deploy a specific variant, say \"default\" to all the\n clusters, you can use \"default\" (string without any variables) as\n the variant_name_template.\n\n### #variant_name_template=\n\n def variant_name_template=(value) -\u003e ::String\n\n**Parameter**\n\n- **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.\n\n\n Available variables are `${membership.name}`, `${membership.location}`,\n `${membership.project}` and `${membership.labels['label_name']}`.\n\n If you want to deploy a specific variant, say \"default\" to all the\n clusters, you can use \"default\" (string without any variables) as\nthe variant_name_template. \n**Returns**\n\n- (::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.\n\n Available variables are `${membership.name}`, `${membership.location}`,\n `${membership.project}` and `${membership.labels['label_name']}`.\n\n If you want to deploy a specific variant, say \"default\" to all the\n clusters, you can use \"default\" (string without any variables) as\n the variant_name_template."]]