Method: projects.locations.dataStores.sessions.answers.get

Gets a Answer.

HTTP request

GET https://discoveryengine.googleapis.com/v1/{name=projects/*/locations/*/dataStores/*/sessions/*/answers/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the Answer to get. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engineId}/sessions/{sessionId}/answers/{answer_id}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Answer.

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 name resource:

  • discoveryengine.answers.get

For more information, see the IAM documentation.