Google Cloud OsConfig V1 Client - Class ListInventoriesResponse (1.2.2)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class ListInventoriesResponse.

A response message for listing inventory data for all VMs in a specified location.

Generated from protobuf message google.cloud.osconfig.v1.ListInventoriesResponse

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ inventories array<Google\Cloud\OsConfig\V1\Inventory>

List of inventory objects.

↳ next_page_token string

The pagination token to retrieve the next page of inventory objects.

getInventories

List of inventory objects.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInventories

List of inventory objects.

Parameter
NameDescription
var array<Google\Cloud\OsConfig\V1\Inventory>
Returns
TypeDescription
$this

getNextPageToken

The pagination token to retrieve the next page of inventory objects.

Returns
TypeDescription
string

setNextPageToken

The pagination token to retrieve the next page of inventory objects.

Parameter
NameDescription
var string
Returns
TypeDescription
$this