Class ExportAgentRequest (1.12.0)

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

The request message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent].

Inheritance

Object > ExportAgentRequest

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

ExportAgentRequest()

public ExportAgentRequest()

ExportAgentRequest(ExportAgentRequest)

public ExportAgentRequest(ExportAgentRequest other)
Parameter
NameDescription
otherExportAgentRequest

Properties

AgentName

public AgentName AgentName { get; set; }

AgentName-typed view over the Name resource name property.

Property Value
TypeDescription
AgentName

AgentUri

public string AgentUri { get; set; }

Optional. The Google Cloud Storage URI to export the agent to. The format of this URI must be gs://&lt;bucket-name>/&lt;object-name>. If left unspecified, the serialized agent 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

DataFormat

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

Optional. The data format of the exported agent. If not specified, BLOB is assumed.

Property Value
TypeDescription
ExportAgentRequest.Types.DataFormat

Environment

public string Environment { get; set; }

Optional. Environment name. If not set, draft environment is assumed. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/environments/&lt;Environment ID>.

Property Value
TypeDescription
String

EnvironmentAsEnvironmentName

public EnvironmentName EnvironmentAsEnvironmentName { get; set; }

EnvironmentName-typed view over the Environment resource name property.

Property Value
TypeDescription
EnvironmentName

Name

public string Name { get; set; }

Required. The name of the agent to export. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>.

Property Value
TypeDescription
String