Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudPolicysimulatorV1ExplainedAccess

import type { GoogleCloudPolicysimulatorV1ExplainedAccess } from "https://googleapis.deno.dev/v1/policysimulator:v1.ts";

Details about how a set of policies, listed in ExplainedPolicy, resulted in a certain AccessState when replaying an access tuple.

interface GoogleCloudPolicysimulatorV1ExplainedAccess {
accessState?:
| "ACCESS_STATE_UNSPECIFIED"
| "GRANTED"
| "NOT_GRANTED"
| "UNKNOWN_CONDITIONAL"
| "UNKNOWN_INFO_DENIED";
errors?: GoogleRpcStatus[];
}

§Properties

§
accessState?: "ACCESS_STATE_UNSPECIFIED" | "GRANTED" | "NOT_GRANTED" | "UNKNOWN_CONDITIONAL" | "UNKNOWN_INFO_DENIED"
[src]

Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.

§

If the AccessState is UNKNOWN, this field contains a list of errors explaining why the result is UNKNOWN. If the AccessState is GRANTED or NOT_GRANTED, this field is omitted.

§

If the AccessState is UNKNOWN, this field contains the policies that led to that result. If the AccessState is GRANTED or NOT_GRANTED, this field is omitted.