acls
Creates, updates, deletes, gets or lists an acls
resource.
Overview
Name | acls |
Type | Resource |
Id | google.contentwarehouse.acls |
Fields
The following fields are returned by SELECT
queries:
- fetch_acl
Successful response
Name | Datatype | Description |
---|---|---|
metadata | object | Additional information for the API invocation, such as the request tracking id. (id: GoogleCloudContentwarehouseV1ResponseMetadata) |
policy | object | The IAM policy. (id: GoogleIamV1Policy) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
fetch_acl | select | projectsId , locationsId , documentsId | 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. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
documentsId | string | |
locationsId | string | |
projectsId | string |
SELECT
examples
- fetch_acl
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.
SELECT
metadata,
policy
FROM google.contentwarehouse.acls
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND documentsId = '{{ documentsId }}' -- required;