public static interface VersionVariants.VariantOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIsControlGroup()
Whether the variant is for the control group.
|
float |
getTrafficAllocation()
Percentage of the traffic which should be routed to this
version of flow.
|
String |
getVersion()
The name of the flow version.
|
com.google.protobuf.ByteString |
getVersionBytes()
The name of the flow version.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getVersion()
The name of the flow version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
string version = 1;com.google.protobuf.ByteString getVersionBytes()
The name of the flow version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
string version = 1;float getTrafficAllocation()
Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
float traffic_allocation = 2;boolean getIsControlGroup()
Whether the variant is for the control group.
bool is_control_group = 3;Copyright © 2025 Google LLC. All rights reserved.