Google Cloud Dialogflow v2 API - Class CreateIntentRequest (4.18.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
Name Description
other CreateIntentRequest

Properties

Intent

public Intent Intent { get; set; }

Required. The intent to create.

Property Value
Type Description
Intent

IntentView

public IntentView IntentView { get; set; }

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

Property Value
Type Description
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
Type Description
string

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

ParentAsAgentName

public AgentName ParentAsAgentName { get; set; }

AgentName-typed view over the Parent resource name property.

Property Value
Type Description
AgentName