public sealed class ImportTestCasesRequest : IMessage<ImportTestCasesRequest>, IEquatable<ImportTestCasesRequest>, IDeepCloneable<ImportTestCasesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class ImportTestCasesRequest.
The request message for [TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases].
Implements
IMessageImportTestCasesRequest, IEquatableImportTestCasesRequest, IDeepCloneableImportTestCasesRequest, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.DialogflowGoogle.Cloud.Dialogflow.CxV3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
ImportTestCasesRequest()
public ImportTestCasesRequest()
ImportTestCasesRequest(ImportTestCasesRequest)
public ImportTestCasesRequest(ImportTestCasesRequest other)
Parameter | |
---|---|
Name | Description |
other | ImportTestCasesRequest |
Properties
Content
public ByteString Content { get; set; }
Uncompressed raw byte content for test cases.
Property Value | |
---|---|
Type | Description |
ByteString |
GcsUri
public string GcsUri { get; set; }
The Google Cloud Storage URI
to import test cases from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read 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 to import test cases to.
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 |
SourceCase
public ImportTestCasesRequest.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
ImportTestCasesRequestSourceOneofCase |