Google Cloud Run V2 Client - Class ListInstancesResponse (1.12.0)

Reference documentation and code samples for the Google Cloud Run V2 Client class ListInstancesResponse.

Response message containing a list of Instances.

Generated from protobuf message google.cloud.run.v2.ListInstancesResponse

Namespace

Google \ Cloud \ Run \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instances array<Instance>

The resulting list of Instances.

↳ next_page_token string

A token indicating there are more items than page_size. Use it in the next ListInstances request to continue.

getInstances

The resulting list of Instances.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstances

The resulting list of Instances.

Parameter
Name Description
var array<Instance>
Returns
Type Description
$this

getNextPageToken

A token indicating there are more items than page_size. Use it in the next ListInstances request to continue.

Returns
Type Description
string

setNextPageToken

A token indicating there are more items than page_size. Use it in the next ListInstances request to continue.

Parameter
Name Description
var string
Returns
Type Description
$this