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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |