Google Cloud Documentai V1Document Response
data class GoogleCloudDocumentaiV1DocumentResponse(val content: String, val entities: List<GoogleCloudDocumentaiV1DocumentEntityResponse>, val entityRelations: List<GoogleCloudDocumentaiV1DocumentEntityRelationResponse>, val error: GoogleRpcStatusResponse, val mimeType: String, val pages: List<GoogleCloudDocumentaiV1DocumentPageResponse>, val revisions: List<GoogleCloudDocumentaiV1DocumentRevisionResponse>, val shardInfo: GoogleCloudDocumentaiV1DocumentShardInfoResponse, val text: String, val textChanges: List<GoogleCloudDocumentaiV1DocumentTextChangeResponse>, val textStyles: List<GoogleCloudDocumentaiV1DocumentStyleResponse>, val uri: String)
Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.
Constructors
Link copied to clipboard
fun GoogleCloudDocumentaiV1DocumentResponse(content: String, entities: List<GoogleCloudDocumentaiV1DocumentEntityResponse>, entityRelations: List<GoogleCloudDocumentaiV1DocumentEntityRelationResponse>, error: GoogleRpcStatusResponse, mimeType: String, pages: List<GoogleCloudDocumentaiV1DocumentPageResponse>, revisions: List<GoogleCloudDocumentaiV1DocumentRevisionResponse>, shardInfo: GoogleCloudDocumentaiV1DocumentShardInfoResponse, text: String, textChanges: List<GoogleCloudDocumentaiV1DocumentTextChangeResponse>, textStyles: List<GoogleCloudDocumentaiV1DocumentStyleResponse>, uri: String)
Types
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Optional. Currently supports Google Cloud Storage URI of the form gs://bucket_name/object_name
. Object versioning is not supported. For more information, refer to Google Cloud Storage Request URIs.