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].
Implements
IMessageCreateConversationRequest, IEquatableCreateConversationRequest, IDeepCloneableCreateConversationRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.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 formula
[a-zA-Z][a-zA-Z0-9_-]*
with the characters length in range of [3,64].
If the field is provided, the caller is responsible 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 |