Google Cloud Bare Metal Solution V2 Client - Class ListInstancesResponse (0.6.0)

Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class ListInstancesResponse.

Response message for the list of servers.

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instances array<Google\Cloud\BareMetalSolution\V2\Instance>

The list of servers.

↳ next_page_token string

A token identifying a page of results from the server.

↳ unreachable array

Locations that could not be reached.

getInstances

The list of servers.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstances

The list of servers.

Parameter
NameDescription
var array<Google\Cloud\BareMetalSolution\V2\Instance>
Returns
TypeDescription
$this

getNextPageToken

A token identifying a page of results from the server.

Returns
TypeDescription
string

setNextPageToken

A token identifying a page of results from the server.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this