Google Cloud Build V1 Client - Class UpdateBuildTriggerRequest (0.16.1)

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
Name Description
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.

↳ update_mask Google\Protobuf\FieldMask

Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.

getProjectId

Required. ID of the project that owns the trigger.

Returns
Type Description
string

setProjectId

Required. ID of the project that owns the trigger.

Parameter
Name Description
var string
Returns
Type Description
$this

getTriggerId

Required. ID of the BuildTrigger to update.

Returns
Type Description
string

setTriggerId

Required. ID of the BuildTrigger to update.

Parameter
Name Description
var string
Returns
Type Description
$this

getTrigger

Required. BuildTrigger to update.

Returns
Type Description
Google\Cloud\Build\V1\BuildTrigger|null

hasTrigger

clearTrigger

setTrigger

Required. BuildTrigger to update.

Parameter
Name Description
var Google\Cloud\Build\V1\BuildTrigger
Returns
Type Description
$this

getUpdateMask

Update mask for the resource. If this is set, the server will only update the fields specified in the field mask.

Otherwise, a full update of the mutable resource fields will be performed.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Update mask for the resource. If this is set, the server will only update the fields specified in the field mask.

Otherwise, a full update of the mutable resource fields will be performed.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this