Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportTestCasesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportTestCasesRequest
- 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.ExportTestCases.
Instance Attribute Summary collapse
-
#data_format ⇒ String
The data format of the exported test cases.
-
#filter ⇒ String
The filter expression used to filter exported test cases, see API Filtering.
-
#gcs_uri ⇒ String
The Google Cloud Storage URI to export the test cases to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExportTestCasesRequest
constructor
A new instance of GoogleCloudDialogflowCxV3ExportTestCasesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExportTestCasesRequest
Returns a new instance of GoogleCloudDialogflowCxV3ExportTestCasesRequest.
2481 2482 2483 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2481 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_format ⇒ String
The data format of the exported test cases. If not specified, BLOB
is
assumed.
Corresponds to the JSON property dataFormat
2460 2461 2462 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2460 def data_format @data_format end |
#filter ⇒ String
The filter expression used to filter exported test cases, see API Filtering. The expression is case insensitive and supports the
following syntax: name = [OR name = ] ... For example: * "name = t1 OR name =
t2" matches the test case with the exact resource name "t1" or "t2".
Corresponds to the JSON property filter
2468 2469 2470 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2468 def filter @filter end |
#gcs_uri ⇒ String
The Google Cloud Storage URI to
export the test cases to. The format of this URI must be gs:///
. If
unspecified, the serialized test cases is returned inline. Dialogflow performs
a write operation for the Cloud Storage object on the caller's behalf, so your
request authentication must have write permissions for the object. For more
information, see Dialogflow access control.
Corresponds to the JSON property gcsUri
2479 2480 2481 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2479 def gcs_uri @gcs_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2486 2487 2488 2489 2490 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2486 def update!(**args) @data_format = args[:data_format] if args.key?(:data_format) @filter = args[:filter] if args.key?(:filter) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) end |