Class ImportTestCasesRequest (1.10.0)

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

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

Inheritance

Object > ImportTestCasesRequest

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

ImportTestCasesRequest()

public ImportTestCasesRequest()

ImportTestCasesRequest(ImportTestCasesRequest)

public ImportTestCasesRequest(ImportTestCasesRequest other)
Parameter
NameDescription
otherImportTestCasesRequest

Properties

Content

public ByteString Content { get; set; }

Uncompressed raw byte content for test cases.

Property Value
TypeDescription
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://&lt;bucket-name>/&lt;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
TypeDescription
String

Parent

public string Parent { get; set; }

Required. The agent to import test cases to. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;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

SourceCase

public ImportTestCasesRequest.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
ImportTestCasesRequest.SourceOneofCase