Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dialogflow_v3beta1/classes.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb

Overview

The request message for TestCases.ExportTestCases.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest.



3235
3236
3237
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3235

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_formatString

The data format of the exported test cases. If not specified, BLOB is assumed. Corresponds to the JSON property dataFormat

Returns:

  • (String)


3218
3219
3220
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3218

def data_format
  @data_format
end

#filterString

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

Returns:

  • (String)


3226
3227
3228
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3226

def filter
  @filter
end

#gcs_uriString

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. Corresponds to the JSON property gcsUri

Returns:

  • (String)


3233
3234
3235
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3233

def gcs_uri
  @gcs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3240
3241
3242
3243
3244
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3240

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