Dialogflow v3 API - Class ImportTestCasesRequest (2.18.0)

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].

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
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

HasContent

public bool HasContent { get; }

Gets whether the "content" field is set

Property Value
Type Description
bool

HasGcsUri

public bool HasGcsUri { get; }

Gets whether the "gcs_uri" field is set

Property Value
Type Description
bool

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; }

AgentName-typed view over the Parent resource name property.

Property Value
Type Description
AgentName

SourceCase

public ImportTestCasesRequest.SourceOneofCase SourceCase { get; }
Property Value
Type Description
ImportTestCasesRequestSourceOneofCase