Google Cloud Bare Metal Solution V2 Client - Class ListOSImagesResponse (0.5.2)

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

Request for getting all available OS images.

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ os_images array<Google\Cloud\BareMetalSolution\V2\OSImage>

The OS images available.

↳ next_page_token string

Token to retrieve the next page of results, or empty if there are no more results in the list.

getOsImages

The OS images available.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setOsImages

The OS images available.

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

getNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Returns
TypeDescription
string

setNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Parameter
NameDescription
var string
Returns
TypeDescription
$this