Google Cloud Dialogflow v2 API - Class CreateConversationRequest (4.18.0)

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

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

The request message for [Conversations.CreateConversation][google.cloud.dialogflow.v2.Conversations.CreateConversation].

Inheritance

object > CreateConversationRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

CreateConversationRequest()

public CreateConversationRequest()

CreateConversationRequest(CreateConversationRequest)

public CreateConversationRequest(CreateConversationRequest other)
Parameter
Name Description
other CreateConversationRequest

Properties

Conversation

public Conversation Conversation { get; set; }

Required. The conversation to create.

Property Value
Type Description
Conversation

ConversationId

public string ConversationId { get; set; }

Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you.

The conversation ID must be compliant with the regression fomula [a-zA-Z][a-zA-Z0-9_-]* with the characters length in range of [3,64]. If the field is provided, the caller is resposible for

  1. the uniqueness of the ID, otherwise the request will be rejected.
  2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. Resource identifier of the project creating the conversation. Format: projects/<Project ID>/locations/<Location ID>.

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
Type Description
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
Type Description
IResourceName