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].
Implements
IMessageExportTestCasesRequest, IEquatableExportTestCasesRequest, IDeepCloneableExportTestCasesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
ExportTestCasesRequest()
public ExportTestCasesRequest()
ExportTestCasesRequest(ExportTestCasesRequest)
public ExportTestCasesRequest(ExportTestCasesRequest other)
Parameter | |
---|---|
Name | Description |
other | ExportTestCasesRequest |
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 | |
---|---|
Type | Description |
ExportTestCasesRequestTypesDataFormat |
DestinationCase
public ExportTestCasesRequest.DestinationOneofCase DestinationCase { get; }
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
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 | |
---|---|
Type | Description |
string |
ParentAsAgentName
public AgentName ParentAsAgentName { get; set; }
Property Value | |
---|---|
Type | Description |
AgentName |