Reference documentation and code samples for the Google Cloud Org Policy V2 Client class ActionType.
Allow or deny type.
Protobuf type google.cloud.orgpolicy.v2.CustomConstraint.ActionType
Namespace
Google \ Cloud \ OrgPolicy \ V2 \ CustomConstraintMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ACTION_TYPE_UNSPECIFIED
Value: 0
This is only used for distinguishing unset values and should never be used. Results in an error.
Generated from protobuf enum ACTION_TYPE_UNSPECIFIED = 0;
ALLOW
Value: 1
Allowed action type.
Generated from protobuf enum ALLOW = 1;
DENY
Value: 2
Deny action type.
Generated from protobuf enum DENY = 2;