younifyd
Menu

Bigquery.tables.test Iam Permissions

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

POST/{resource}:testIamPermissions

Use it in a workflow

  1. Add a step and choose the BigQuery connector.
  2. Pick the Bigquery.tables.test Iam Permissions action (under tables).
  3. Fill in the fields below, then reference the result from later steps as {{bigqueryTablesTestIamPermissions.response.data}}.

Request

Path parameters

resourcestringrequired

REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

Query parameters

altstring

Data format for the response.

One ofjson

fieldsstring

Selector specifying which fields to include in a partial response.

keystring

API 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_tokenstring

OAuth 2.0 token for the current user.

prettyPrintboolean

Returns response with indentations and line breaks.

quotaUserstring

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

userIpstring

Deprecated. Please use quotaUser instead.

Request body

Enter the body as JSON in the step's Body field.

permissionsarray<string>

The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).

json
{
  "permissions": [
    "string"
  ]
}

Response

Returns 200 with an object. Read it in later steps with {{bigqueryTablesTestIamPermissions.response.data.<field>}}.

permissionsarray<string>

A subset of `TestPermissionsRequest.permissions` that the caller is allowed.

json
{
  "permissions": [
    "string"
  ]
}

Need more? See the BigQuery guide for connection setup and behaviour shared by every action.