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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInventories
List of inventory objects.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\OsConfig\V1\Inventory>
|
Returns | |
---|---|
Type | Description |
$this |
getNextPageToken
The pagination token to retrieve the next page of inventory objects.
Returns | |
---|---|
Type | Description |
string |
setNextPageToken
The pagination token to retrieve the next page of inventory objects.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |