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
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the Trigger
to retrieve. Format: projects/{project}/locations/{location}/triggers/{trigger}
↳ 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.
getName
The name of the Trigger
to retrieve.
Format: projects/{project}/locations/{location}/triggers/{trigger}
string
setName
The name of the Trigger
to retrieve.
Format: projects/{project}/locations/{location}/triggers/{trigger}
var
string
$this
getProjectId
Required. ID of the project that owns the trigger.
string
setProjectId
Required. ID of the project that owns the trigger.
var
string
$this
getTriggerId
Required. Identifier ( id
or name
) of the BuildTrigger
to get.
string
setTriggerId
Required. Identifier ( id
or name
) of the BuildTrigger
to get.
var
string
$this