Google Cloud Dialogflow v2beta1 API - Class CreateIntentRequest (1.0.0-beta12)

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

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

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

Inheritance

object > CreateIntentRequest

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.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. Supported formats:

  • projects/<Project ID>/agent
  • projects/<Project ID>/locations/<Location 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