Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#definition ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentDefinition
Corresponds to the JSON property
definition. -
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#end_time ⇒ String
Corresponds to the JSON property
endTime. -
#experiment_length ⇒ String
Corresponds to the JSON property
experimentLength. -
#last_update_time ⇒ String
Corresponds to the JSON property
lastUpdateTime. -
#name ⇒ String
Corresponds to the JSON property
name. -
#result ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult
Corresponds to the JSON property
result. -
#rollout_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig
Corresponds to the JSON property
rolloutConfig. -
#rollout_failure_reason ⇒ String
Corresponds to the JSON property
rolloutFailureReason. -
#rollout_state ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutState
Corresponds to the JSON property
rolloutState. -
#start_time ⇒ String
Corresponds to the JSON property
startTime. -
#state ⇒ String
Corresponds to the JSON property
state. -
#variants_history ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VariantsHistory>
Corresponds to the JSON property
variantsHistory.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Experiment
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Experiment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Experiment
Returns a new instance of GoogleCloudDialogflowCxV3beta1Experiment.
6418 6419 6420 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6418 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
6346 6347 6348 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6346 def create_time @create_time end |
#definition ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentDefinition
Corresponds to the JSON property definition
6351 6352 6353 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6351 def definition @definition end |
#description ⇒ String
Corresponds to the JSON property description
6356 6357 6358 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6356 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
6361 6362 6363 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6361 def display_name @display_name end |
#end_time ⇒ String
Corresponds to the JSON property endTime
6366 6367 6368 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6366 def end_time @end_time end |
#experiment_length ⇒ String
Corresponds to the JSON property experimentLength
6371 6372 6373 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6371 def experiment_length @experiment_length end |
#last_update_time ⇒ String
Corresponds to the JSON property lastUpdateTime
6376 6377 6378 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6376 def last_update_time @last_update_time end |
#name ⇒ String
Corresponds to the JSON property name
6381 6382 6383 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6381 def name @name end |
#result ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult
Corresponds to the JSON property result
6386 6387 6388 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6386 def result @result end |
#rollout_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig
Corresponds to the JSON property rolloutConfig
6391 6392 6393 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6391 def rollout_config @rollout_config end |
#rollout_failure_reason ⇒ String
Corresponds to the JSON property rolloutFailureReason
6396 6397 6398 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6396 def rollout_failure_reason @rollout_failure_reason end |
#rollout_state ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutState
Corresponds to the JSON property rolloutState
6401 6402 6403 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6401 def rollout_state @rollout_state end |
#start_time ⇒ String
Corresponds to the JSON property startTime
6406 6407 6408 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6406 def start_time @start_time end |
#state ⇒ String
Corresponds to the JSON property state
6411 6412 6413 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6411 def state @state end |
#variants_history ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VariantsHistory>
Corresponds to the JSON property variantsHistory
6416 6417 6418 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6416 def variants_history @variants_history end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6423 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 |