v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-131,0021,0174.3 MB
targetInstances

Returns permissions that a caller has on the specified resource.

post/projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions

Path parameters

projectstring required

Project ID for this request.

zonestring required

The name of the zone for this request.

resourcestring required

Name or id of the resource for this request.

Request body

permissionsstring[]

The set of permissions to check for the 'resource'. Permissions with wildcards (such as '' or 'storage.') are not allowed.

Response

Successful response