Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestCase
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestCase
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#creation_time ⇒ String
Corresponds to the JSON property
creationTime. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#last_test_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestCaseResult
Corresponds to the JSON property
lastTestResult. -
#name ⇒ String
Corresponds to the JSON property
name. -
#notes ⇒ String
Corresponds to the JSON property
notes. -
#tags ⇒ Array<String>
Corresponds to the JSON property
tags. -
#test_case_conversation_turns ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ConversationTurn>
Corresponds to the JSON property
testCaseConversationTurns. -
#test_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestConfig
Corresponds to the JSON property
testConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TestCase
constructor
A new instance of GoogleCloudDialogflowCxV3TestCase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TestCase
Returns a new instance of GoogleCloudDialogflowCxV3TestCase.
2445 2446 2447 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2445 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_time ⇒ String
Corresponds to the JSON property creationTime
2408 2409 2410 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2408 def creation_time @creation_time end |
#display_name ⇒ String
Corresponds to the JSON property displayName
2413 2414 2415 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2413 def display_name @display_name end |
#last_test_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestCaseResult
Corresponds to the JSON property lastTestResult
2418 2419 2420 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2418 def last_test_result @last_test_result end |
#name ⇒ String
Corresponds to the JSON property name
2423 2424 2425 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2423 def name @name end |
#notes ⇒ String
Corresponds to the JSON property notes
2428 2429 2430 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2428 def notes @notes end |
#tags ⇒ Array<String>
Corresponds to the JSON property tags
2433 2434 2435 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2433 def @tags end |
#test_case_conversation_turns ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ConversationTurn>
Corresponds to the JSON property testCaseConversationTurns
2438 2439 2440 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2438 def test_case_conversation_turns @test_case_conversation_turns end |
#test_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestConfig
Corresponds to the JSON property testConfig
2443 2444 2445 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2443 def test_config @test_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2450 def update!(**args) @creation_time = args[:creation_time] if args.key?(:creation_time) @display_name = args[:display_name] if args.key?(:display_name) @last_test_result = args[:last_test_result] if args.key?(:last_test_result) @name = args[:name] if args.key?(:name) @notes = args[:notes] if args.key?(:notes) @tags = args[:tags] if args.key?(:tags) @test_case_conversation_turns = args[:test_case_conversation_turns] if args.key?(:test_case_conversation_turns) @test_config = args[:test_config] if args.key?(:test_config) end |