Google Cloud Deploy V1 Client - Class PolicyVerdict (2.0.0)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class PolicyVerdict.

The policy verdict of the request.

Protobuf type google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict

Namespace

Google \ Cloud \ Deploy \ V1 \ DeployPolicyEvaluationEvent

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

POLICY_VERDICT_UNSPECIFIED

Value: 0

This should never happen.

Generated from protobuf enum POLICY_VERDICT_UNSPECIFIED = 0;

ALLOWED_BY_POLICY

Value: 1

Allowed by policy. This enum value is not currently used but may be used in the future. Currently logs are only generated when a request is denied by policy.

Generated from protobuf enum ALLOWED_BY_POLICY = 1;

DENIED_BY_POLICY

Value: 2

Denied by policy.

Generated from protobuf enum DENIED_BY_POLICY = 2;