deploymentmanager.deployments.test Iam Permissions

POST {{baseUrl}}/:project/global/deployments/:resource/testIamPermissions?alt=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&userIp=<string>

Returns permissions that a caller has on the specified resource.

Request Params

KeyDatatypeRequiredDescription
altstringData format for the response.
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
userIpstringDeprecated. Please use quotaUser instead.

Request Body

{"permissions"=>["<string>", "<string>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;permissions&quot;:[&quot;aute sint occaecat&quot;,&quot;nostrud est in pariatur incididunt&quot;]}