Data ingestion API. Ingests context references for an existing conversation.
HTTP request
POST https://{endpoint}/v2beta1/{conversation=projects/*/locations/*/conversations/*}:ingestContextReferences
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
conversation |
Required. Resource identifier of the conversation to ingest context information for. Format: Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"contextReferences": {
string: {
object ( |
Fields | |
---|---|
contextReferences |
Required. The context references to ingest. The key is the name of the context reference and the value contains the contents of the context reference. The key is used to incorporate ingested context references to enhance the generator. An object containing a list of |
Response body
The response message for [ConversationsService.IngestContextReferences][].
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"ingestedContextReferences": {
string: {
object ( |
Fields | |
---|---|
ingestedContextReferences |
All context references ingested. An object containing a list of |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/dialogflow
For more information, see the Authentication Overview.