v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1344223223.6 KB
debug

Checks whether an item is accessible by specified principal. Principal must be a user; groups and domain values aren't supported. Note: This API requires an admin account to execute.

post/v1/debug/{+name}:checkAccess

Path parameters

namestring required

Item name, format: datasources/{source_id}/items/{item_id}

Query parameters

debugOptions.enableDebuggingboolean

If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.

Request body

groupResourceNamestring

This principal is a group identified using an external identity. The name field must specify the group resource name with this format: identitysources/{source_id}/groups/{ID}

userResourceNamestring

This principal is a user identified using an external identity. The name field must specify the user resource name with this format: identitysources/{source_id}/users/{ID}

Response

Successful response