Google Cloud Dialogflow v2 API - Class ImportAgentRequest (4.16.0)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ImportAgentRequest.

The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2.Agents.ImportAgent].

Inheritance

object > ImportAgentRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

ImportAgentRequest()

public ImportAgentRequest()

ImportAgentRequest(ImportAgentRequest)

public ImportAgentRequest(ImportAgentRequest other)
Parameter
NameDescription
otherImportAgentRequest

Properties

AgentCase

public ImportAgentRequest.AgentOneofCase AgentCase { get; }
Property Value
TypeDescription
ImportAgentRequestAgentOneofCase

AgentContent

public ByteString AgentContent { get; set; }

Zip compressed raw byte content for agent.

Property Value
TypeDescription
ByteString

AgentUri

public string AgentUri { get; set; }

The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with "gs://".

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

HasAgentContent

public bool HasAgentContent { get; }

Gets whether the "agent_content" field is set

Property Value
TypeDescription
bool

HasAgentUri

public bool HasAgentUri { get; }

Gets whether the "agent_uri" field is set

Property Value
TypeDescription
bool

Parent

public string Parent { get; set; }

Required. The project that the agent to import is associated with. Format: projects/<Project ID>.

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
TypeDescription
IResourceName