Creates a Conversation.
If the Conversation
to create already exists, an ALREADY_EXISTS error is returned.
HTTP request
POST https://discoveryengine.googleapis.com/v1/{parent=projects/*/locations/*/collections/*/engines/*}/conversations
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Full resource name of parent data store. Format: |
Request body
The request body contains an instance of Conversation
.
Response body
If successful, the response body contains a newly created instance of Conversation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
discoveryengine.conversations.create
For more information, see the IAM documentation.