Google Cloud Build V1 Client - Class State (0.10.0)

Reference documentation and code samples for the Google Cloud Build V1 Client class State.

Specifies the current state of a build's approval.

Protobuf type google.devtools.cloudbuild.v1.BuildApproval.State

Namespace

Google \ Cloud \ Build \ V1 \ BuildApproval

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Default enum type. This should not be used.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

PENDING

Value: 1

Build approval is pending.

Generated from protobuf enum PENDING = 1;

APPROVED

Value: 2

Build approval has been approved.

Generated from protobuf enum APPROVED = 2;

REJECTED

Value: 3

Build approval has been rejected.

Generated from protobuf enum REJECTED = 3;

CANCELLED

Value: 5

Build was cancelled while it was still pending approval.

Generated from protobuf enum CANCELLED = 5;