Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCase
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCase
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/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::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult
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::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn>
Corresponds to the JSON property
testCaseConversationTurns. -
#test_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestConfig
Corresponds to the JSON property
testConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TestCase
constructor
A new instance of GoogleCloudDialogflowCxV3beta1TestCase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TestCase
Returns a new instance of GoogleCloudDialogflowCxV3beta1TestCase.
12138 12139 12140 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12138 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_time ⇒ String
Corresponds to the JSON property creationTime
12101 12102 12103 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12101 def creation_time @creation_time end |
#display_name ⇒ String
Corresponds to the JSON property displayName
12106 12107 12108 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12106 def display_name @display_name end |
#last_test_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult
Corresponds to the JSON property lastTestResult
12111 12112 12113 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12111 def last_test_result @last_test_result end |
#name ⇒ String
Corresponds to the JSON property name
12116 12117 12118 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12116 def name @name end |
#notes ⇒ String
Corresponds to the JSON property notes
12121 12122 12123 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12121 def notes @notes end |
#tags ⇒ Array<String>
Corresponds to the JSON property tags
12126 12127 12128 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12126 def @tags end |
#test_case_conversation_turns ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn>
Corresponds to the JSON property testCaseConversationTurns
12131 12132 12133 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12131 def test_case_conversation_turns @test_case_conversation_turns end |
#test_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestConfig
Corresponds to the JSON property testConfig
12136 12137 12138 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12136 def test_config @test_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12143 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 |