(::Google::Cloud::OsConfig::V1::InventoryView) — Inventory view indicating what information should be included in the
inventory resource. If unspecified, the default view is BASIC.
value (::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) — Inventory view indicating what information should be included in the
inventory resource. If unspecified, the default view is BASIC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Asset V1 API - Class Google::Cloud::OsConfig::V1::ListInventoriesRequest (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [1.4.0](/ruby/docs/reference/google-cloud-asset-v1/1.4.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [1.3.1](/ruby/docs/reference/google-cloud-asset-v1/1.3.1/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-asset-v1/1.2.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-asset-v1/1.1.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [1.0.2](/ruby/docs/reference/google-cloud-asset-v1/1.0.2/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.32.0](/ruby/docs/reference/google-cloud-asset-v1/0.32.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.31.0](/ruby/docs/reference/google-cloud-asset-v1/0.31.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.30.0](/ruby/docs/reference/google-cloud-asset-v1/0.30.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.29.3](/ruby/docs/reference/google-cloud-asset-v1/0.29.3/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.28.1](/ruby/docs/reference/google-cloud-asset-v1/0.28.1/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.27.0](/ruby/docs/reference/google-cloud-asset-v1/0.27.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.26.1](/ruby/docs/reference/google-cloud-asset-v1/0.26.1/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.25.0](/ruby/docs/reference/google-cloud-asset-v1/0.25.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.24.0](/ruby/docs/reference/google-cloud-asset-v1/0.24.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.23.0](/ruby/docs/reference/google-cloud-asset-v1/0.23.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.22.0](/ruby/docs/reference/google-cloud-asset-v1/0.22.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.21.1](/ruby/docs/reference/google-cloud-asset-v1/0.21.1/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.20.1](/ruby/docs/reference/google-cloud-asset-v1/0.20.1/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.19.0](/ruby/docs/reference/google-cloud-asset-v1/0.19.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.18.0](/ruby/docs/reference/google-cloud-asset-v1/0.18.0/Google-Cloud-OsConfig-V1-ListInventoriesRequest)\n- [0.17.3](/ruby/docs/reference/google-cloud-asset-v1/0.17.3/Google-Cloud-OsConfig-V1-ListInventoriesRequest) \nReference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::OsConfig::V1::ListInventoriesRequest.\n\nA request message for listing inventory data for all VMs in the specified\nlocation. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #filter\n\n def filter() -\u003e ::String\n\n**Returns**\n\n- (::String) --- If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.\n\n### #filter=\n\n def filter=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response. \n**Returns**\n\n- (::String) --- If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The maximum number of results to return.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The maximum number of results to return. \n**Returns**\n\n- (::Integer) --- The maximum number of results to return.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from. \n**Returns**\n\n- (::String) --- A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The parent resource name.\n\n Format: `projects/{project}/locations/{location}/instances/-`\n\n For `{project}`, either `project-number` or `project-id` can be provided.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The parent resource name.\n\n\n Format: `projects/{project}/locations/{location}/instances/-`\n\nFor `{project}`, either `project-number` or `project-id` can be provided. \n**Returns**\n\n- (::String) --- Required. The parent resource name.\n\n Format: `projects/{project}/locations/{location}/instances/-`\n\n For `{project}`, either `project-number` or `project-id` can be provided.\n\n### #view\n\n def view() -\u003e ::Google::Cloud::OsConfig::V1::InventoryView\n\n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::InventoryView](./Google-Cloud-OsConfig-V1-InventoryView)) --- Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.\n\n### #view=\n\n def view=(value) -\u003e ::Google::Cloud::OsConfig::V1::InventoryView\n\n**Parameter**\n\n- **value** ([::Google::Cloud::OsConfig::V1::InventoryView](./Google-Cloud-OsConfig-V1-InventoryView)) --- Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC. \n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::InventoryView](./Google-Cloud-OsConfig-V1-InventoryView)) --- Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC."]]