Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunTestCaseRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunTestCaseRequest
- 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
Overview
The request message for TestCases.RunTestCase.
Instance Attribute Summary collapse
-
#environment ⇒ String
Optional.
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3RunTestCaseRequest
constructor
A new instance of GoogleCloudDialogflowCxV3RunTestCaseRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3RunTestCaseRequest
Returns a new instance of GoogleCloudDialogflowCxV3RunTestCaseRequest.
3734 3735 3736 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3734 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment ⇒ String
Optional. Environment name. If not set, draft environment is assumed. Format:
projects//locations//agents//environments/.
Corresponds to the JSON property environment
3726 3727 3728 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3726 def environment @environment end |
#name ⇒ String
Required. Format of test case name to run: projects//locations/ /agents//
testCases/.
Corresponds to the JSON property name
3732 3733 3734 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3732 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3739 3740 3741 3742 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3739 def update!(**args) @environment = args[:environment] if args.key?(:environment) @name = args[:name] if args.key?(:name) end |