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.
6424 6425 6426 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6424 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
6352 6353 6354 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6352 def create_time @create_time end |
#definition ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentDefinition
Corresponds to the JSON property definition
6357 6358 6359 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6357 def definition @definition end |
#description ⇒ String
Corresponds to the JSON property description
6362 6363 6364 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6362 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
6367 6368 6369 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6367 def display_name @display_name end |
#end_time ⇒ String
Corresponds to the JSON property endTime
6372 6373 6374 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6372 def end_time @end_time end |
#experiment_length ⇒ String
Corresponds to the JSON property experimentLength
6377 6378 6379 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6377 def experiment_length @experiment_length end |
#last_update_time ⇒ String
Corresponds to the JSON property lastUpdateTime
6382 6383 6384 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6382 def last_update_time @last_update_time end |
#name ⇒ String
Corresponds to the JSON property name
6387 6388 6389 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6387 def name @name end |
#result ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult
Corresponds to the JSON property result
6392 6393 6394 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6392 def result @result end |
#rollout_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig
Corresponds to the JSON property rolloutConfig
6397 6398 6399 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6397 def rollout_config @rollout_config end |
#rollout_failure_reason ⇒ String
Corresponds to the JSON property rolloutFailureReason
6402 6403 6404 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6402 def rollout_failure_reason @rollout_failure_reason end |
#rollout_state ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutState
Corresponds to the JSON property rolloutState
6407 6408 6409 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6407 def rollout_state @rollout_state end |
#start_time ⇒ String
Corresponds to the JSON property startTime
6412 6413 6414 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6412 def start_time @start_time end |
#state ⇒ String
Corresponds to the JSON property state
6417 6418 6419 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6417 def state @state end |
#variants_history ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VariantsHistory>
Corresponds to the JSON property variantsHistory
6422 6423 6424 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6422 def variants_history @variants_history end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6429 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 |