Google Cloud Build V1 Client - Class ListBuildTriggersResponse (0.3.8)

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

Response containing existing BuildTriggers.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ triggers array<Google\Cloud\Build\V1\BuildTrigger>

BuildTriggers for the project, sorted by create_time descending.

↳ next_page_token string

Token to receive the next page of results.

getTriggers

BuildTriggers for the project, sorted by create_time descending.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTriggers

BuildTriggers for the project, sorted by create_time descending.

Parameter
NameDescription
var array<Google\Cloud\Build\V1\BuildTrigger>
Returns
TypeDescription
$this

getNextPageToken

Token to receive the next page of results.

Returns
TypeDescription
string

setNextPageToken

Token to receive the next page of results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this