Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestCaseResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestCaseResult
- 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
-
#conversation_turns ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ConversationTurn>
Corresponds to the JSON property
conversationTurns. -
#environment ⇒ String
Corresponds to the JSON property
environment. -
#name ⇒ String
Corresponds to the JSON property
name. -
#test_result ⇒ String
Corresponds to the JSON property
testResult. -
#test_time ⇒ String
Corresponds to the JSON property
testTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TestCaseResult
constructor
A new instance of GoogleCloudDialogflowCxV3TestCaseResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TestCaseResult
Returns a new instance of GoogleCloudDialogflowCxV3TestCaseResult.
2522 2523 2524 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2522 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_turns ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ConversationTurn>
Corresponds to the JSON property conversationTurns
2500 2501 2502 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2500 def conversation_turns @conversation_turns end |
#environment ⇒ String
Corresponds to the JSON property environment
2505 2506 2507 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2505 def environment @environment end |
#name ⇒ String
Corresponds to the JSON property name
2510 2511 2512 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2510 def name @name end |
#test_result ⇒ String
Corresponds to the JSON property testResult
2515 2516 2517 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2515 def test_result @test_result end |
#test_time ⇒ String
Corresponds to the JSON property testTime
2520 2521 2522 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2520 def test_time @test_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2527 2528 2529 2530 2531 2532 2533 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2527 def update!(**args) @conversation_turns = args[:conversation_turns] if args.key?(:conversation_turns) @environment = args[:environment] if args.key?(:environment) @name = args[:name] if args.key?(:name) @test_result = args[:test_result] if args.key?(:test_result) @test_time = args[:test_time] if args.key?(:test_time) end |