ExperimentArgs

data class ExperimentArgs(val agentId: Output<String>? = null, val createTime: Output<String>? = null, val definition: Output<GoogleCloudDialogflowCxV3ExperimentDefinitionArgs>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val endTime: Output<String>? = null, val environmentId: Output<String>? = null, val experimentLength: Output<String>? = null, val lastUpdateTime: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val result: Output<GoogleCloudDialogflowCxV3ExperimentResultArgs>? = null, val rolloutConfig: Output<GoogleCloudDialogflowCxV3RolloutConfigArgs>? = null, val rolloutFailureReason: Output<String>? = null, val rolloutState: Output<GoogleCloudDialogflowCxV3RolloutStateArgs>? = null, val startTime: Output<String>? = null, val state: Output<ExperimentState>? = null, val variantsHistory: Output<List<GoogleCloudDialogflowCxV3VariantsHistoryArgs>>? = null) : ConvertibleToJava<ExperimentArgs>

Creates an Experiment in the specified Environment.

Constructors

Link copied to clipboard
fun ExperimentArgs(agentId: Output<String>? = null, createTime: Output<String>? = null, definition: Output<GoogleCloudDialogflowCxV3ExperimentDefinitionArgs>? = null, description: Output<String>? = null, displayName: Output<String>? = null, endTime: Output<String>? = null, environmentId: Output<String>? = null, experimentLength: Output<String>? = null, lastUpdateTime: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, result: Output<GoogleCloudDialogflowCxV3ExperimentResultArgs>? = null, rolloutConfig: Output<GoogleCloudDialogflowCxV3RolloutConfigArgs>? = null, rolloutFailureReason: Output<String>? = null, rolloutState: Output<GoogleCloudDialogflowCxV3RolloutStateArgs>? = null, startTime: Output<String>? = null, state: Output<ExperimentState>? = null, variantsHistory: Output<List<GoogleCloudDialogflowCxV3VariantsHistoryArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ExperimentArgs

Properties

Link copied to clipboard
val agentId: Output<String>? = null
Link copied to clipboard
val createTime: Output<String>? = null

Creation time of this experiment.

Link copied to clipboard

The definition of the experiment.

Link copied to clipboard
val description: Output<String>? = null

The human-readable description of the experiment.

Link copied to clipboard
val displayName: Output<String>? = null

The human-readable name of the experiment (unique in an environment). Limit of 64 characters.

Link copied to clipboard
val endTime: Output<String>? = null

End time of this experiment.

Link copied to clipboard
val environmentId: Output<String>? = null
Link copied to clipboard
val experimentLength: Output<String>? = null

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.

Link copied to clipboard
val lastUpdateTime: Output<String>? = null

Last update time of this experiment.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

The name of the experiment. Format: projects//locations//agents//environments//experiments/..

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

Inference result of the experiment.

Link copied to clipboard

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.

Link copied to clipboard
val rolloutFailureReason: Output<String>? = null

The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED.

Link copied to clipboard

State of the auto rollout process.

Link copied to clipboard
val startTime: Output<String>? = null

Start time of this experiment.

Link copied to clipboard
val state: Output<ExperimentState>? = null

The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or RUNNING->DONE.

Link copied to clipboard

The history of updates to the experiment variants.