Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BatchRunTestCasesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BatchRunTestCasesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v3/classes.rb,
generated/google/apis/dialogflow_v3/representations.rb,
generated/google/apis/dialogflow_v3/representations.rb
Overview
The request message for TestCases.BatchRunTestCases.
Instance Attribute Summary collapse
-
#environment ⇒ String
Optional.
-
#test_cases ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3BatchRunTestCasesRequest
constructor
A new instance of GoogleCloudDialogflowCxV3BatchRunTestCasesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3BatchRunTestCasesRequest
Returns a new instance of GoogleCloudDialogflowCxV3BatchRunTestCasesRequest.
200 201 202 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 200 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment ⇒ String
Optional. If not set, draft environment is assumed. Format: projects//
locations//agents//environments/
.
Corresponds to the JSON property environment
193 194 195 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 193 def environment @environment end |
#test_cases ⇒ Array<String>
Required. Format: projects//locations//agents//testCases/
.
Corresponds to the JSON property testCases
198 199 200 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 198 def test_cases @test_cases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
205 206 207 208 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 205 def update!(**args) @environment = args[:environment] if args.key?(:environment) @test_cases = args[:test_cases] if args.key?(:test_cases) end |