Class CreateIntentRequest (3.9.0)

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

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