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 the access control policy for a resource. Returns NOT_FOUND error if the resource does not exist. Returns an empty policy if the resource exists but does not have a policy set.
HTTP request
POST https://contentwarehouse.googleapis.com/v1/{resource}:fetchAcl
Path parameters
Parameters
resource
string
Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{projectNumber}/locations/{location}/documents/{documentId}. Format for collection: projects/{projectNumber}/locations/{location}/collections/{collectionId}. Format for project: projects/{projectNumber}. 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 retrieves the access control policy for a specified resource, with options for documents, collections, or projects."],["A `NOT_FOUND` error is returned if the requested resource does not exist, and an empty policy is returned if the resource exists but has no policy set."],["The request requires a `resource` parameter in the path, which specifies the document, collection, or project."],["The request body can contain `requestMetadata` and a `projectOwner` boolean to specify additional information and controls."],["Access to this endpoint requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `contentwarehouse.documents.getIamPolicy`."]]],[]]