Google Cloud Build V1 Client - Class ListBuildsResponse (0.9.0)

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

Response including listed builds.

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ builds array<Google\Cloud\Build\V1\Build>

Builds will be sorted by create_time, descending.

↳ next_page_token string

Token to receive the next page of results. This will be absent if the end of the response list has been reached.

getBuilds

Builds will be sorted by create_time, descending.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBuilds

Builds will be sorted by create_time, descending.

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

getNextPageToken

Token to receive the next page of results.

This will be absent if the end of the response list has been reached.

Returns
TypeDescription
string

setNextPageToken

Token to receive the next page of results.

This will be absent if the end of the response list has been reached.

Parameter
NameDescription
var string
Returns
TypeDescription
$this