public sealed class RestoreAgentRequest : IMessage<RestoreAgentRequest>, IEquatable<RestoreAgentRequest>, IDeepCloneable<RestoreAgentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class RestoreAgentRequest.
The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent].
Implements
IMessageRestoreAgentRequest, IEquatableRestoreAgentRequest, IDeepCloneableRestoreAgentRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
RestoreAgentRequest()
public RestoreAgentRequest()
RestoreAgentRequest(RestoreAgentRequest)
public RestoreAgentRequest(RestoreAgentRequest other)
Parameter | |
---|---|
Name | Description |
other |
RestoreAgentRequest |
Properties
AgentCase
public RestoreAgentRequest.AgentOneofCase AgentCase { get; }
Property Value | |
---|---|
Type | Description |
RestoreAgentRequestAgentOneofCase |
AgentContent
public ByteString AgentContent { get; set; }
Zip compressed raw byte content for agent.
Property Value | |
---|---|
Type | Description |
ByteString |
AgentUri
public string AgentUri { get; set; }
The URI to a Google Cloud Storage file containing the agent to restore. 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 | |
---|---|
Type | Description |
string |
HasAgentContent
public bool HasAgentContent { get; }
Gets whether the "agent_content" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasAgentUri
public bool HasAgentUri { get; }
Gets whether the "agent_uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
Parent
public string Parent { get; set; }
Required. The project that the agent to restore is associated with.
Format: projects/<Project ID>
or
projects/<Project ID>/locations/<Location ID>
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }
IResourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |