Google Cloud Build V1 Client - Class UpdateBuildTriggerRequest (0.12.0)

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

Request to update an existing BuildTrigger.

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ project_id string

Required. ID of the project that owns the trigger.

↳ trigger_id string

Required. ID of the BuildTrigger to update.

↳ trigger Google\Cloud\Build\V1\BuildTrigger

Required. BuildTrigger to update.

getProjectId

Required. ID of the project that owns the trigger.

Returns
TypeDescription
string

setProjectId

Required. ID of the project that owns the trigger.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTriggerId

Required. ID of the BuildTrigger to update.

Returns
TypeDescription
string

setTriggerId

Required. ID of the BuildTrigger to update.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTrigger

Required. BuildTrigger to update.

Returns
TypeDescription
Google\Cloud\Build\V1\BuildTrigger|null

hasTrigger

clearTrigger

setTrigger

Required. BuildTrigger to update.

Parameter
NameDescription
var Google\Cloud\Build\V1\BuildTrigger
Returns
TypeDescription
$this