public sealed class ImportIntentsRequest : IMessage<ImportIntentsRequest>, IEquatable<ImportIntentsRequest>, IDeepCloneable<ImportIntentsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class ImportIntentsRequest.
The request message for [Intents.ImportIntents][google.cloud.dialogflow.cx.v3.Intents.ImportIntents].
Implements
IMessageImportIntentsRequest, IEquatableImportIntentsRequest, IDeepCloneableImportIntentsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
ImportIntentsRequest()
public ImportIntentsRequest()
ImportIntentsRequest(ImportIntentsRequest)
public ImportIntentsRequest(ImportIntentsRequest other)
Parameter | |
---|---|
Name | Description |
other |
ImportIntentsRequest |
Properties
HasIntentsUri
public bool HasIntentsUri { get; }
Gets whether the "intents_uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
IntentsCase
public ImportIntentsRequest.IntentsOneofCase IntentsCase { get; }
Property Value | |
---|---|
Type | Description |
ImportIntentsRequestIntentsOneofCase |
IntentsContent
public InlineSource IntentsContent { get; set; }
Uncompressed byte content of intents.
Property Value | |
---|---|
Type | Description |
InlineSource |
IntentsUri
public string IntentsUri { get; set; }
The Google Cloud Storage URI
to import intents 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 |
MergeOption
public ImportIntentsRequest.Types.MergeOption MergeOption { get; set; }
Merge option for importing intents. If not specified, REJECT
is assumed.
Property Value | |
---|---|
Type | Description |
ImportIntentsRequestTypesMergeOption |
Parent
public string Parent { get; set; }
Required. The agent to import the intents into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsAgentName
public AgentName ParentAsAgentName { get; set; }
Property Value | |
---|---|
Type | Description |
AgentName |