GetExperimentResult constructor
- required String createTime,
- required GoogleCloudDialogflowCxV3ExperimentDefinitionResponse definition,
- required String description,
- required String displayName,
- required String endTime,
- required String experimentLength,
- required String lastUpdateTime,
- required String name,
- required GoogleCloudDialogflowCxV3ExperimentResultResponse result,
- required GoogleCloudDialogflowCxV3RolloutConfigResponse rolloutConfig,
- required String rolloutFailureReason,
- required GoogleCloudDialogflowCxV3RolloutStateResponse rolloutState,
- required String startTime,
- required String state,
- required List<
GoogleCloudDialogflowCxV3VariantsHistoryResponse> variantsHistory,
Creates a new GetExperimentResult.
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.
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.
name The name of the experiment. Format: projects//locations//agents//environments//experiments/..
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 GetExperimentResult({
required this.createTime,
required this.definition,
required this.description,
required this.displayName,
required this.endTime,
required this.experimentLength,
required this.lastUpdateTime,
required this.name,
required this.result,
required this.rolloutConfig,
required this.rolloutFailureReason,
required this.rolloutState,
required this.startTime,
required this.state,
required this.variantsHistory,
});