Google Cloud Dialogflow v2 API - Class CreateIntentRequest (4.15.0)

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

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

The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent].

Inheritance

object > CreateIntentRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

CreateIntentRequest()

public CreateIntentRequest()

CreateIntentRequest(CreateIntentRequest)

public CreateIntentRequest(CreateIntentRequest other)
Parameter
NameDescription
otherCreateIntentRequest

Properties

Intent

public Intent Intent { get; set; }

Required. The intent to create.

Property Value
TypeDescription
Intent

IntentView

public IntentView IntentView { get; set; }

Optional. The resource view to apply to the returned intent.

Property Value
TypeDescription
IntentView

LanguageCode

public string LanguageCode { get; set; }

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The agent to create a intent for. Format: projects/<Project ID>/agent.

Property Value
TypeDescription
string

ParentAsAgentName

public AgentName ParentAsAgentName { get; set; }

AgentName-typed view over the Parent resource name property.

Property Value
TypeDescription
AgentName