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}.
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."],[[["Retrieves the access control policy for a specified resource, such as a document, collection, or project."],["Returns a `NOT_FOUND` error if the specified resource does not exist, or an empty policy if the resource exists but has no policy set."],["The request utilizes a `POST` method to a designated URL, with the resource path parameter defining the target resource's type and location."],["Requires specific IAM permissions (`contentwarehouse.documents.getIamPolicy`) and OAuth scopes (`https://www.googleapis.com/auth/cloud-platform`) for authorization."],["The request body allows the inclusion of metadata about the end user for access control purposes, and an optional boolean to indicate project ownership, bypassing end user authorization checks."]]],[]]