Google Cloud Bare Metal Solution V2 Client - Class ListVolumesResponse (1.0.0)

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

Response message containing the list of storage volumes.

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ volumes array<Google\Cloud\BareMetalSolution\V2\Volume>

The list of storage volumes.

↳ next_page_token string

A token identifying a page of results from the server.

↳ unreachable array

Locations that could not be reached.

getVolumes

The list of storage volumes.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setVolumes

The list of storage volumes.

Parameter
Name Description
var array<Google\Cloud\BareMetalSolution\V2\Volume>
Returns
Type Description
$this

getNextPageToken

A token identifying a page of results from the server.

Returns
Type Description
string

setNextPageToken

A token identifying a page of results from the server.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this