Stay organized with collections
Save and categorize content based on your preferences.
Document Identifier.
JSON representation
{"revisionRef": {object (RevisionRef)},// Union field type can be only one of the following:"gcsManagedDocId": {object (GCSManagedDocumentId)},"unmanagedDocId": {object (UnmanagedDocumentId)}// End of list of possible types for union field type.}
Identifies a document uniquely within the scope of a dataset in the user-managed Cloud Storage option.
JSON representation
{"gcsUri": string,"cwDocId": string}
Fields
gcsUri
string
Required. The Cloud Storage URI where the actual document is stored.
cwDocId (deprecated)
string
Id of the document (indexed) managed by Content Warehouse.
UnmanagedDocumentId
Identifies a document uniquely within the scope of a dataset in unmanaged option.
JSON representation
{"docId": string}
Fields
docId
string
Required. The id of the document.
RevisionRef
The revision reference specifies which revision on the document to read.
JSON representation
{// Union field source can be only one of the following:"revisionCase": enum (RevisionCase),"revisionId": string,"latestProcessorVersion": string// End of list of possible types for union field source.}
Fields
Union field source. Specifies which revision to read. source can be only one of the following:
Reads the revision generated by the processor version. The format takes the full resource name of processor version. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-10 UTC."],[[["\u003cp\u003eThe document can be identified by different types, including \u003ccode\u003egcsManagedDocId\u003c/code\u003e for documents in user-managed Cloud Storage and \u003ccode\u003eunmanagedDocId\u003c/code\u003e for documents in unmanaged datasets.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egcsManagedDocId\u003c/code\u003e requires a \u003ccode\u003egcsUri\u003c/code\u003e pointing to the Cloud Storage location of the document and a \u003ccode\u003ecwDocId\u003c/code\u003e, which is now deprecated and used for the Content Warehouse system.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eunmanagedDocId\u003c/code\u003e is used to uniquely identify a document within an unmanaged dataset, requiring a \u003ccode\u003edocId\u003c/code\u003e for identification.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRevisionRef\u003c/code\u003e specifies which document revision to read and can use \u003ccode\u003erevisionCase\u003c/code\u003e, \u003ccode\u003erevisionId\u003c/code\u003e, or \u003ccode\u003elatestProcessorVersion\u003c/code\u003e to determine which version of the document to access.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erevisionCase\u003c/code\u003e allows for reading a document revision by a predefined case, while \u003ccode\u003erevisionId\u003c/code\u003e specifies the revision to be read by its unique identifier and \u003ccode\u003elatestProcessorVersion\u003c/code\u003e allows a revision to be read based off of a processor version.\u003c/p\u003e\n"]]],[],null,["# DocumentId\n\nDocument Identifier.\n\nGCSManagedDocumentId\n--------------------\n\nIdentifies a document uniquely within the scope of a dataset in the user-managed Cloud Storage option.\n\nUnmanagedDocumentId\n-------------------\n\nIdentifies a document uniquely within the scope of a dataset in unmanaged option.\n\nRevisionRef\n-----------\n\nThe revision reference specifies which revision on the document to read."]]