Reference documentation and code samples for the Google Cloud Build V1 Client class RepositoryEventConfig.
The configuration of a trigger that creates a build whenever an event from Repo API is received.
Generated from protobuf message google.devtools.cloudbuild.v1.RepositoryEventConfig
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ repository
string
The resource name of the Repo API resource.
↳ repository_type
int
Output only. The type of the SCM vendor the repository points to.
↳ pull_request
↳ push
getRepository
The resource name of the Repo API resource.
string
setRepository
The resource name of the Repo API resource.
var
string
$this
getRepositoryType
Output only. The type of the SCM vendor the repository points to.
int
setRepositoryType
Output only. The type of the SCM vendor the repository points to.
var
int
$this
getPullRequest
Filter to match changes in pull requests.
hasPullRequest
setPullRequest
Filter to match changes in pull requests.
$this
getPush
Filter to match changes in refs like branches, tags.
hasPush
setPush
Filter to match changes in refs like branches, tags.
$this
getFilter
string