Google Cloud Build V1 Client - Class BuildApproval (0.15.0)

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

BuildApproval describes a build's approval configuration, state, and result.

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ state
int

Output only. The state of this build's approval.

↳ config
Google\Cloud\Build\V1\ApprovalConfig

Output only. Configuration for manual approval of this build.

↳ result
Google\Cloud\Build\V1\ApprovalResult

Output only. Result of manual approval for this Build.

getState

Output only. The state of this build's approval.

Returns
Type
Description
int

setState

Output only. The state of this build's approval.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getConfig

Output only. Configuration for manual approval of this build.

Returns
Type
Description

hasConfig

clearConfig

setConfig

Output only. Configuration for manual approval of this build.

Parameter
Name
Description
Returns
Type
Description
$this

getResult

Output only. Result of manual approval for this Build.

Returns
Type
Description

hasResult

clearResult

setResult

Output only. Result of manual approval for this Build.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: