class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Experiment
Represents an experiment in an environment.
Attributes
Creation time of this experiment. Corresponds to the JSON property `createTime` @return [String]
Definition of the experiment. Corresponds to the JSON property `definition` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentDefinition]
The human-readable description of the experiment. Corresponds to the JSON property `description` @return [String]
Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters. Corresponds to the JSON property `displayName` @return [String]
End time of this experiment. Corresponds to the JSON property `endTime` @return [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. Corresponds to the JSON property `experimentLength` @return [String]
Last update time of this experiment. Corresponds to the JSON property `lastUpdateTime` @return [String]
The name of the experiment. Format: projects//locations//agents//environments// experiments/.. Corresponds to the JSON property `name` @return [String]
The inference result which includes an objective metric to optimize and the confidence interval. Corresponds to the JSON property `result` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResult]
The configuration for auto rollout. Corresponds to the JSON property `rolloutConfig` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig]
The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED. Corresponds to the JSON property `rolloutFailureReason` @return [String]
State of the auto-rollout process. Corresponds to the JSON property `rolloutState` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutState]
Start time of this experiment. Corresponds to the JSON property `startTime` @return [String]
The current state of the experiment. Transition triggered by Experiments. StartExperiment: DRAFT->RUNNING. Transition triggered by Experiments. CancelExperiment: DRAFT->DONE or RUNNING->DONE. Corresponds to the JSON property `state` @return [String]
The history of updates to the experiment variants. Corresponds to the JSON property `variantsHistory` @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VariantsHistory>]
Public Class Methods
# File lib/google/apis/dialogflow_v3/classes.rb, line 1106 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 1111 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @definition = args[:definition] if args.key?(:definition) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @end_time = args[:end_time] if args.key?(:end_time) @experiment_length = args[:experiment_length] if args.key?(:experiment_length) @last_update_time = args[:last_update_time] if args.key?(:last_update_time) @name = args[:name] if args.key?(:name) @result = args[:result] if args.key?(:result) @rollout_config = args[:rollout_config] if args.key?(:rollout_config) @rollout_failure_reason = args[:rollout_failure_reason] if args.key?(:rollout_failure_reason) @rollout_state = args[:rollout_state] if args.key?(:rollout_state) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @variants_history = args[:variants_history] if args.key?(:variants_history) end