Method: projects.locations.dataStores.branches.documents.chunks.get

Gets a Document.

HTTP request

GET https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*/chunks/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Full resource name of Chunk, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/branches/{branch}/documents/{document}/chunks/{chunk}.

If the caller does not have permission to access the Chunk, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the requested Chunk does not exist, a NOT_FOUND error is returned.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.