Google Cloud Build V1 Client - Class DeleteBuildTriggerRequest (0.12.0)

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

Request to delete a BuildTrigger.

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The name of the Trigger to delete. Format: projects/{project}/locations/{location}/triggers/{trigger}

↳ project_id string

Required. ID of the project that owns the trigger.

↳ trigger_id string

Required. ID of the BuildTrigger to delete.

getName

The name of the Trigger to delete.

Format: projects/{project}/locations/{location}/triggers/{trigger}

Returns
TypeDescription
string

setName

The name of the Trigger to delete.

Format: projects/{project}/locations/{location}/triggers/{trigger}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

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 delete.

Returns
TypeDescription
string

setTriggerId

Required. ID of the BuildTrigger to delete.

Parameter
NameDescription
var string
Returns
TypeDescription
$this