GoogleCloudDialogflowCxV3VersionVariantsVariantResponse class
A single flow version with specified traffic allocation.
Constructors
-
GoogleCloudDialogflowCxV3VersionVariantsVariantResponse({required Input<
bool> isControlGroup, required Input<double> trafficAllocation, required Input<String> version}) -
Creates a new GoogleCloudDialogflowCxV3VersionVariantsVariantResponse.
isControlGroupWhether the variant is for the control group.trafficAllocationPercentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.versionThe name of the flow version. Format:projects//locations//agents//flows//versions/.const -
GoogleCloudDialogflowCxV3VersionVariantsVariantResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isControlGroup
→ Input<
bool> -
Whether the variant is for the control group.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
trafficAllocation
→ Input<
double> -
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.
final
-
version
→ Input<
String> -
The name of the flow version. Format:
projects//locations//agents//flows//versions/.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited