Class GoogleCloudPolicysimulatorV1ExplainedAccess
Details about how a set of policies, listed in ExplainedPolicy, resulted in a certain AccessState when replaying an access tuple.
Implements
Inherited Members
Namespace: Google.Apis.PolicySimulator.v1.Data
Assembly: Google.Apis.PolicySimulator.v1.dll
Syntax
public class GoogleCloudPolicysimulatorV1ExplainedAccess : IDirectResponseSchema
Properties
AccessState
Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.
Declaration
[JsonProperty("accessState")]
public virtual string AccessState { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Errors
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.
Declaration
[JsonProperty("errors")]
public virtual IList<GoogleRpcStatus> Errors { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleRpcStatus> |
Policies
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.
Declaration
[JsonProperty("policies")]
public virtual IList<GoogleCloudPolicysimulatorV1ExplainedPolicy> Policies { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudPolicysimulatorV1ExplainedPolicy> |