Google Cloud Build V1 Client - Class ListBuildsResponse (0.16.3)

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setBuilds

Builds will be sorted by create_time, descending.

Parameter
Name Description
var array<Google\Cloud\Build\V1\Build>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this