Class CreateIntentRequest (1.0.0)

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

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

Inheritance

System.Object > CreateIntentRequest

Implements

Google.Protobuf.IMessage<CreateIntentRequest>, System.IEquatable<CreateIntentRequest>, Google.Protobuf.IDeepCloneable<CreateIntentRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.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

LanguageCode

public string LanguageCode { get; set; }

The language of the following fields in intent:

  • Intent.training_phrases.parts.text

If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.

Property Value
TypeDescription
System.String

Parent

public string Parent { get; set; }

Required. The agent to create an intent for. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>.

Property Value
TypeDescription
System.String

ParentAsAgentName

public AgentName ParentAsAgentName { get; set; }

AgentName-typed view over the Parent resource name property.

Property Value
TypeDescription
AgentName