Class: Google::Cloud::Dialogflow::CX::V3::ExportTestCasesRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb

Overview

The request message for TestCases.ExportTestCases.

Defined Under Namespace

Modules: DataFormat

Instance Attribute Summary collapse

Instance Attribute Details

#data_format::Google::Cloud::Dialogflow::CX::V3::ExportTestCasesRequest::DataFormat

Returns The data format of the exported test cases. If not specified, BLOB is assumed.

Returns:



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 685

class ExportTestCasesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data format of the exported test cases.
  module DataFormat
    # Unspecified format.
    DATA_FORMAT_UNSPECIFIED = 0

    # Raw bytes.
    BLOB = 1

    # JSON format.
    JSON = 2
  end
end

#filter::String

Returns 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".

Returns:

  • (::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".


685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 685

class ExportTestCasesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data format of the exported test cases.
  module DataFormat
    # Unspecified format.
    DATA_FORMAT_UNSPECIFIED = 0

    # Raw bytes.
    BLOB = 1

    # JSON format.
    JSON = 2
  end
end

#gcs_uri::String

Returns The Google Cloud Storage URI to export the test cases to. The format of this URI must be gs://<bucket-name>/<object-name>. 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.

Returns:

  • (::String)

    The Google Cloud Storage URI to export the test cases to. The format of this URI must be gs://<bucket-name>/<object-name>. 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.



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 685

class ExportTestCasesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data format of the exported test cases.
  module DataFormat
    # Unspecified format.
    DATA_FORMAT_UNSPECIFIED = 0

    # Raw bytes.
    BLOB = 1

    # JSON format.
    JSON = 2
  end
end

#parent::String

Returns Required. The agent where to export test cases from. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.

Returns:

  • (::String)

    Required. The agent where to export test cases from. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.



685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 685

class ExportTestCasesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Data format of the exported test cases.
  module DataFormat
    # Unspecified format.
    DATA_FORMAT_UNSPECIFIED = 0

    # Raw bytes.
    BLOB = 1

    # JSON format.
    JSON = 2
  end
end