Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest
- 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
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) ⇒ GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest
constructor
A new instance of GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest
Returns a new instance of GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest.
4514 4515 4516 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4514 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
4507 4508 4509 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4507 def environment @environment end |
#test_cases ⇒ Array<String>
Required. Format: projects//locations//agents//testCases/
.
Corresponds to the JSON property testCases
4512 4513 4514 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4512 def test_cases @test_cases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4519 4520 4521 4522 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4519 def update!(**args) @environment = args[:environment] if args.key?(:environment) @test_cases = args[:test_cases] if args.key?(:test_cases) end |