Google Cloud Dialogflow v2beta1 API - Class CreateConversationRequest (1.0.0-beta15)

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

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

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

Inheritance

object > CreateConversationRequest

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

CreateConversationRequest()

public CreateConversationRequest()

CreateConversationRequest(CreateConversationRequest)

public CreateConversationRequest(CreateConversationRequest other)
Parameter
NameDescription
otherCreateConversationRequest

Properties

Conversation

public Conversation Conversation { get; set; }

Required. The conversation to create.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
TypeDescription
IResourceName