Try Gemini 1.5 models, the latest multimodal models in Vertex AI, and see what you can build with up to a 2M token context window.Try Gemini 1.5 models, the latest multimodal models in Vertex AI, and see what you can build with up to a 2M token context window.
Stay organized with collections
Save and categorize content based on your preferences.
Gets a document. Returns NOT_FOUND if the document does not exist.
HTTP request
POST https://contentwarehouse.googleapis.com/v1/{name}:get
Path parameters
Parameters
name
string
Required. The name of the document to retrieve. Format: projects/{projectNumber}/locations/{location}/documents/{documentId} or projects/{projectNumber}/locations/{location}/documents/referenceId/{referenceId}. It takes the form projects/{project}/locations/{location}/documents/referenceId/{referenceid}.
Request body
The request body contains data with the following structure:
[[["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 2023-08-17 UTC."],[[["This API endpoint retrieves a specific document based on the provided document name, returning a `NOT_FOUND` error if the document does not exist."],["The request uses a `POST` method to the specified URL, with the document's name, including project, location, and document ID or reference ID, provided as a required path parameter."],["The request body contains metadata about the user, which is used for access control."],["A successful response returns an instance of a `Document` object, containing the requested document's information."],["Accessing this endpoint requires the `contentwarehouse.documents.get` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]