Reference documentation and code samples for the Google Cloud Policy Troubleshooter V1 Client class AccessState.
Whether a member has a permission for a resource.
Protobuf type google.cloud.policytroubleshooter.v1.AccessState
Namespace
Google \ Cloud \ PolicyTroubleshooter \ V1Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ACCESS_STATE_UNSPECIFIED
Value: 0
Reserved for future use.
Generated from protobuf enum ACCESS_STATE_UNSPECIFIED = 0;
GRANTED
Value: 1
The member has the permission.
Generated from protobuf enum GRANTED = 1;
NOT_GRANTED
Value: 2
The member does not have the permission.
Generated from protobuf enum NOT_GRANTED = 2;
UNKNOWN_CONDITIONAL
Value: 3
The member has the permission only if a condition expression evaluates to
true
.
Generated from protobuf enum UNKNOWN_CONDITIONAL = 3;
UNKNOWN_INFO_DENIED
Value: 4
The sender of the request does not have access to all of the policies that Policy Troubleshooter needs to evaluate.
Generated from protobuf enum UNKNOWN_INFO_DENIED = 4;