Class CreateConversationRequest (2.38.0)

CreateConversationRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request message for Conversations.CreateConversation.

Attributes

Name Description
parent str
Required. Resource identifier of the project creating the conversation. Format: projects/.
conversation google.cloud.dialogflow_v2.types.Conversation
Required. The conversation to create.
conversation_id str
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 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.