Class GetProcessedDocumentRequest (0.11.14)

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

Request message for DocumentService.GetDocument method.

Attributes

Name Description
name str
Required. Full resource name of Document, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}. If the caller does not have permission to access the Document, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Document does not exist, a NOT_FOUND error is returned.
processed_document_type google.cloud.discoveryengine_v1alpha.types.GetProcessedDocumentRequest.ProcessedDocumentType
Required. What type of processing to return.
processed_document_format google.cloud.discoveryengine_v1alpha.types.GetProcessedDocumentRequest.ProcessedDocumentFormat
What format output should be. If unspecified, defaults to JSON.

Classes

ProcessedDocumentFormat

ProcessedDocumentFormat(value)

The format of the returned processed document. If unspecified, defaults to JSON.

ProcessedDocumentType

ProcessedDocumentType(value)

The type of processing to return in the response.