Class Experiment (1.16.0)

Experiment(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents an experiment in an environment.

Attributes

NameDescription
name str
The name of the experiment. Format: projects/
display_name str
Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters.
description str
The human-readable description of the experiment.
state google.cloud.dialogflowcx_v3beta1.types.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.
definition google.cloud.dialogflowcx_v3beta1.types.Experiment.Definition
The definition of the experiment.
rollout_config google.cloud.dialogflowcx_v3beta1.types.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.
rollout_state google.cloud.dialogflowcx_v3beta1.types.RolloutState
State of the auto rollout process.
rollout_failure_reason str
The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED.
result google.cloud.dialogflowcx_v3beta1.types.Experiment.Result
Inference result of the experiment.
create_time google.protobuf.timestamp_pb2.Timestamp
Creation time of this experiment.
start_time google.protobuf.timestamp_pb2.Timestamp
Start time of this experiment.
end_time google.protobuf.timestamp_pb2.Timestamp
End time of this experiment.
last_update_time google.protobuf.timestamp_pb2.Timestamp
Last update time of this experiment.
experiment_length google.protobuf.duration_pb2.Duration
Maximum number of days to run the experiment. 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.
variants_history MutableSequence[google.cloud.dialogflowcx_v3beta1.types.VariantsHistory]
The history of updates to the experiment variants.

Classes

Definition

Definition(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Result

Result(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The inference result which includes an objective metric to optimize and the confidence interval.

State

State(value)

The state of the experiment.