GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1ExplainedAccess (google_api_policy_simulator v0.7.0)
View SourceDetails about how a set of policies, listed in ExplainedPolicy, resulted in a certain AccessState when replaying an access tuple.
Attributes
-
accessState(type:String.t, default:nil) - Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies. -
errors(type:list(GoogleApi.PolicySimulator.V1.Model.GoogleRpcStatus.t), default:nil) - If the AccessState isUNKNOWN, this field contains a list of errors explaining why the result isUNKNOWN. If theAccessStateisGRANTEDorNOT_GRANTED, this field is omitted. -
policies(type:list(GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1ExplainedPolicy.t), default:nil) - If the AccessState isUNKNOWN, this field contains the policies that led to that result. If theAccessStateisGRANTEDorNOT_GRANTED, this field is omitted.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1ExplainedAccess{ accessState: String.t() | nil, errors: [GoogleApi.PolicySimulator.V1.Model.GoogleRpcStatus.t()] | nil, policies: [ GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1ExplainedPolicy.t() ] | nil }