ExperimentArgs constructor

const ExperimentArgs({
  1. required Input<String> agentId,
  2. Input<String>? createTime,
  3. Input<GoogleCloudDialogflowCxV3ExperimentDefinition>? definition,
  4. Input<String>? description,
  5. required Input<String> displayName,
  6. Input<String>? endTime,
  7. required Input<String> environmentId,
  8. Input<String>? experimentLength,
  9. Input<String>? lastUpdateTime,
  10. Input<String>? location,
  11. Input<String>? name,
  12. Input<String>? project,
  13. Input<GoogleCloudDialogflowCxV3ExperimentResult>? result,
  14. Input<GoogleCloudDialogflowCxV3RolloutConfig>? rolloutConfig,
  15. Input<String>? rolloutFailureReason,
  16. Input<GoogleCloudDialogflowCxV3RolloutState>? rolloutState,
  17. Input<String>? startTime,
  18. Input<ExperimentState>? state,
  19. 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.

Implementation

const ExperimentArgs({
  required this.agentId,
  this.createTime,
  this.definition,
  this.description,
  required this.displayName,
  this.endTime,
  required this.environmentId,
  this.experimentLength,
  this.lastUpdateTime,
  this.location,
  this.name,
  this.project,
  this.result,
  this.rolloutConfig,
  this.rolloutFailureReason,
  this.rolloutState,
  this.startTime,
  this.state,
  this.variantsHistory,
});