본문으로 건너뛰기

SqlCheckResponse

SQL access-check result indicating whether the query is allowed and returning the original or policy-rewritten SQL when allowed.

allowedAllowed (boolean)필수

Whether the user has read access to the dataset

user_id object

Resolved user ID from the Bearer token

하나 이상(anyOf)
string
resource_id object

Primary (FROM-clause) dataset resource ID

하나 이상(anyOf)
string
sql object

SQL after applicable row filters and column masks are applied. It equals the original query when no policy changes are needed and is null when allowed is false.

하나 이상(anyOf)
string
SqlCheckResponse
{
"allowed": true,
"user_id": "string",
"resource_id": "string",
"sql": "string"
}