Google Cloud Build V1 Client - Class ApprovalConfig (0.14.0)

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

ApprovalConfig describes configuration for manual approval of a build.

Generated from protobuf message google.devtools.cloudbuild.v1.ApprovalConfig

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ approval_required bool

Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.

getApprovalRequired

Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.

Returns
TypeDescription
bool

setApprovalRequired

Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this