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
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 |
↳ trigger |
Google\Cloud\Build\V1\BuildTrigger
Required. |
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 |