public static interface FleetPackage.VariantSelectorOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getStrategyCase()
public abstract FleetPackage.VariantSelector.StrategyCase getStrategyCase()
Returns | |
---|---|
Type | Description |
FleetPackage.VariantSelector.StrategyCase |
getVariantNameTemplate()
public abstract String getVariantNameTemplate()
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.
string variant_name_template = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The variantNameTemplate. |
getVariantNameTemplateBytes()
public abstract ByteString getVariantNameTemplateBytes()
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.
string variant_name_template = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for variantNameTemplate. |
hasVariantNameTemplate()
public abstract boolean hasVariantNameTemplate()
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.
string variant_name_template = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the variantNameTemplate field is set. |