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.
Create a link between a source document and a target document.
HTTP request
POST https://contentwarehouse.googleapis.com/v1/{parent}/documentLinks
Path parameters
Parameters
parent
string
Required. Parent of the document-link to be created. parent of document-link should be a document. Format: projects/{projectNumber}/locations/{location}/documents/{source_document_id}. It takes the form projects/{project}/locations/{location}/documents/{document}.
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 endpoint facilitates the creation of a link between a source document and a target document using a POST request."],["The `parent` path parameter, representing the source document, is a required field and follows the format `projects/{project}/locations/{location}/documents/{document}`."],["The request body requires two main components, `documentLink` to define the document links and `requestMetadata` for access control information."],["Successful requests will return a new `DocumentLink` instance in the response body, representing the created link."],["The use of this API requires the `contentwarehouse.documents.update` IAM permission on the source document and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]