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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ inventories |
array<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<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 |
|