public sealed class CreateConversationRequest : IMessage<CreateConversationRequest>, IEquatable<CreateConversationRequest>, IDeepCloneable<CreateConversationRequest>, IBufferMessage, IMessageThe request message for [Conversations.CreateConversation][google.cloud.dialogflow.v2.Conversations.CreateConversation].
Implements
IMessage<CreateConversationRequest>, IEquatable<CreateConversationRequest>, IDeepCloneable<CreateConversationRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
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
- the uniqueness of the ID, otherwise the request will be rejected.
- 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 |
|