Google Cloud Build V1 Client - Class GetBuildTriggerRequest (0.4.0)

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

Returns the BuildTrigger with the specified ID.

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

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. Identifier (id or name) of the BuildTrigger to get.

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. Identifier (id or name) of the BuildTrigger to get.

Returns
TypeDescription
string

setTriggerId

Required. Identifier (id or name) of the BuildTrigger to get.

Parameter
NameDescription
var string
Returns
TypeDescription
$this