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.
Lock the document so the document cannot be updated by other users.
HTTP request
POST https://contentwarehouse.googleapis.com/v1/{name}:lock
Path parameters
Parameters
name
string
Required. The name of the document to lock. Format: projects/{projectNumber}/locations/{location}/documents/{document}. 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 document details how to lock a document to prevent updates from other users via a POST HTTP request."],["The `name` path parameter is required, specifying the document's unique identifier in the format `projects/{projectNumber}/locations/{location}/documents/{document}`."],["The request body must include the `collectionId` and `lockingUser` fields."],["Successfully locking a document returns an instance of the Document in the response body."],["Locking a document requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `contentwarehouse.documents.update`."]]],[]]