1.9.1 (latest) 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.32.0 0.31.0 0.30.0 0.29.3 0.28.1 0.27.0 0.26.1 0.25.0 0.24.0 0.23.0 0.22.0 0.21.1 0.20.1 0.19.0 0.18.0 0.17.3 Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::OsConfig::V1::ListInventoriesRequest.

A request message for listing inventory data for all VMs in the specified
location.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #filter

    def filter() -> ::String

**Returns**

- (::String) --- If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.

### #filter=

    def filter=(value) -> ::String

**Parameter**

- **value** (::String) --- If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.
**Returns**

- (::String) --- If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- The maximum number of results to return.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The maximum number of results to return.
**Returns**

- (::Integer) --- The maximum number of results to return.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.
**Returns**

- (::String) --- A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource name.

  Format: `projects/{project}/locations/{location}/instances/-`

  For `{project}`, either `project-number` or `project-id` can be provided.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource name.


  Format: `projects/{project}/locations/{location}/instances/-`

  For `{project}`, either `project-number` or `project-id` can be provided.
**Returns**

- (::String) --- Required. The parent resource name.

  Format: `projects/{project}/locations/{location}/instances/-`

  For `{project}`, either `project-number` or `project-id` can be provided.

### #view

    def view() -> ::Google::Cloud::OsConfig::V1::InventoryView

**Returns**

- ([::Google::Cloud::OsConfig::V1::InventoryView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-InventoryView)) --- Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.

### #view=

    def view=(value) -> ::Google::Cloud::OsConfig::V1::InventoryView

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::InventoryView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-InventoryView)) --- Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
**Returns**

- ([::Google::Cloud::OsConfig::V1::InventoryView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-InventoryView)) --- Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.