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[];
policies?: GoogleCloudPolicysimulatorV1ExplainedPolicy[];
}§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.
§
errors?: GoogleRpcStatus[]
[src]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.
§
policies?: GoogleCloudPolicysimulatorV1ExplainedPolicy[]
[src]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.