ExperimentArgs class

The set of arguments for Experiment. The set of arguments for Experiment.

Constructors

ExperimentArgs({required Input<String> agentId, Input<String>? createTime, Input<GoogleCloudDialogflowCxV3ExperimentDefinition>? definition, Input<String>? description, required Input<String> displayName, Input<String>? endTime, required Input<String> environmentId, Input<String>? experimentLength, Input<String>? lastUpdateTime, Input<String>? location, Input<String>? name, Input<String>? project, Input<GoogleCloudDialogflowCxV3ExperimentResult>? result, Input<GoogleCloudDialogflowCxV3RolloutConfig>? rolloutConfig, Input<String>? rolloutFailureReason, Input<GoogleCloudDialogflowCxV3RolloutState>? rolloutState, Input<String>? startTime, Input<ExperimentState>? state, Input<List<GoogleCloudDialogflowCxV3VariantsHistory>>? variantsHistory})
Creates a new ExperimentArgs. agentId Required. createTime Creation time of this experiment. definition The definition of the experiment. description The human-readable description of the experiment. displayName The human-readable name of the experiment (unique in an environment). Limit of 64 characters. endTime End time of this experiment. environmentId Required. experimentLength Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. lastUpdateTime Last update time of this experiment. location Optional. name The name of the experiment. Format: projects//locations//agents//environments//experiments/.. project Optional. result Inference result of the experiment. rolloutConfig The configuration for auto rollout. If set, there should be exactly two variants in the experiment (control variant being the default version of the flow), the traffic allocation for the non-control variant will gradually increase to 100% when conditions are met, and eventually replace the control variant to become the default version of the flow. rolloutFailureReason The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED. rolloutState State of the auto rollout process. startTime Start time of this experiment. state The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or RUNNING->DONE. variantsHistory The history of updates to the experiment variants.
const
ExperimentArgs.fromMap(Map<String, dynamic> map)
factory

Properties

agentId → Input<String>
final
createTime → Input<String>?
Creation time of this experiment.
final
definition → Input<GoogleCloudDialogflowCxV3ExperimentDefinition>?
The definition of the experiment.
final
description → Input<String>?
The human-readable description of the experiment.
final
displayName → Input<String>
The human-readable name of the experiment (unique in an environment). Limit of 64 characters.
final
endTime → Input<String>?
End time of this experiment.
final
environmentId → Input<String>
final
experimentLength → Input<String>?
Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days.
final
hashCode → int
The hash code for this object.
no setterinherited
lastUpdateTime → Input<String>?
Last update time of this experiment.
final
location → Input<String>?
final
name → Input<String>?
The name of the experiment. Format: projects//locations//agents//environments//experiments/..
final
project → Input<String>?
final
result → Input<GoogleCloudDialogflowCxV3ExperimentResult>?
Inference result of the experiment.
final
rolloutConfig → Input<GoogleCloudDialogflowCxV3RolloutConfig>?
The configuration for auto rollout. If set, there should be exactly two variants in the experiment (control variant being the default version of the flow), the traffic allocation for the non-control variant will gradually increase to 100% when conditions are met, and eventually replace the control variant to become the default version of the flow.
final
rolloutFailureReason → Input<String>?
The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED.
final
rolloutState → Input<GoogleCloudDialogflowCxV3RolloutState>?
State of the auto rollout process.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startTime → Input<String>?
Start time of this experiment.
final
state → Input<ExperimentState>?
The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or RUNNING->DONE.
final
variantsHistory → Input<List<GoogleCloudDialogflowCxV3VariantsHistory>>?
The history of updates to the experiment variants.
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