Reference documentation and code samples for the Google Cloud Build V1 Client class CreateBuildTriggerRequest.
Request to create a new BuildTrigger
.
Generated from protobuf message google.devtools.cloudbuild.v1.CreateBuildTriggerRequest
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
The parent resource where this trigger will be created. Format: projects/{project}/locations/{location}
↳ project_id
string
Required. ID of the project for which to configure automatic builds.
↳ trigger
getParent
The parent resource where this trigger will be created.
Format: projects/{project}/locations/{location}
string
setParent
The parent resource where this trigger will be created.
Format: projects/{project}/locations/{location}
var
string
$this
getProjectId
Required. ID of the project for which to configure automatic builds.
string
setProjectId
Required. ID of the project for which to configure automatic builds.
var
string
$this
getTrigger
Required. BuildTrigger
to create.
hasTrigger
clearTrigger
setTrigger
Required. BuildTrigger
to create.
$this