public sealed class ExportAgentRequest : IMessage<ExportAgentRequest>, IEquatable<ExportAgentRequest>, IDeepCloneable<ExportAgentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class ExportAgentRequest.
The request message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent].
Implements
IMessageExportAgentRequest, IEquatableExportAgentRequest, IDeepCloneableExportAgentRequest, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.DialogflowGoogle.Cloud.Dialogflow.CxV3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
ExportAgentRequest()
public ExportAgentRequest()
ExportAgentRequest(ExportAgentRequest)
public ExportAgentRequest(ExportAgentRequest other)
Parameter | |
---|---|
Name | Description |
other | ExportAgentRequest |
Properties
AgentName
public AgentName AgentName { get; set; }
Property Value | |
---|---|
Type | Description |
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://<bucket-name>/<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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ExportAgentRequestTypesDataFormat |
Environment
public string Environment { get; set; }
Optional. Environment name. If not set, draft environment is assumed.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment ID>
.
Property Value | |
---|---|
Type | Description |
string |
EnvironmentAsEnvironmentName
public EnvironmentName EnvironmentAsEnvironmentName { get; set; }
EnvironmentName-typed view over the Environment resource name property.
Property Value | |
---|---|
Type | Description |
EnvironmentName |
Name
public string Name { get; set; }
Required. The name of the agent to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
Property Value | |
---|---|
Type | Description |
string |