Dialogflow v3 API - Class ExportTestCasesRequest (2.12.0)

public sealed class ExportTestCasesRequest : IMessage<ExportTestCasesRequest>, IEquatable<ExportTestCasesRequest>, IDeepCloneable<ExportTestCasesRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Dialogflow v3 API class ExportTestCasesRequest.

The request message for [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases].

Inheritance

object > ExportTestCasesRequest

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

ExportTestCasesRequest()

public ExportTestCasesRequest()

ExportTestCasesRequest(ExportTestCasesRequest)

public ExportTestCasesRequest(ExportTestCasesRequest other)
Parameter
NameDescription
otherExportTestCasesRequest

Properties

DataFormat

public ExportTestCasesRequest.Types.DataFormat DataFormat { get; set; }

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

Property Value
TypeDescription
ExportTestCasesRequestTypesDataFormat

DestinationCase

public ExportTestCasesRequest.DestinationOneofCase DestinationCase { get; }
Property Value
TypeDescription
ExportTestCasesRequestDestinationOneofCase

Filter

public string Filter { get; set; }

The filter expression used to filter exported test cases, see API Filtering. The expression is case insensitive and supports the following syntax:

name = <value> [OR name = <value>] ...

For example:

  • "name = t1 OR name = t2" matches the test case with the exact resource name "t1" or "t2".
Property Value
TypeDescription
string

GcsUri

public string GcsUri { get; set; }

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.

Property Value
TypeDescription
string

HasGcsUri

public bool HasGcsUri { get; }

Gets whether the "gcs_uri" field is set

Property Value
TypeDescription
bool

Parent

public string Parent { get; set; }

Required. The agent where to export test cases from. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

Property Value
TypeDescription
string

ParentAsAgentName

public AgentName ParentAsAgentName { get; set; }

AgentName-typed view over the Parent resource name property.

Property Value
TypeDescription
AgentName