NAME
Google::Cloud::Osconfig::V1alpha::Inventory - Compiled Protocol Buffers messages for google/cloud/osconfig/v1alpha/inventory.proto
SYNOPSIS
use Google::Cloud::Osconfig::V1alpha::Inventory;
my $msg = Google::Cloud::Osconfig::V1alpha::Inventory::Inventory->new({
name => $name,
os_info => $os_info,
items => $items,
update_time => $update_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Osconfig::V1alpha::Inventory::Inventory->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/osconfig/v1alpha/inventory.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Osconfig::V1alpha::Inventory::Inventory
This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time.
You can use this API resource to determine the inventory data of your VM.
For more information, see [Information provided by OS inventory management](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected).
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The `Inventory` API resource name.
Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/inventory`
$msg->os_info()/$msg->os_info($value)Type:
Message(Google::Cloud::Osconfig::V1alpha::Inventory::Inventory::OsInfo)Output only. Base level operating system information for the VM.
$msg->items()/$msg->items($value)Type:
Message(Google::Cloud::Osconfig::V1alpha::Inventory::Inventory::ItemsEntry)Output only. Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp of the last reported inventory for the VM.
Google::Cloud::Osconfig::V1alpha::Inventory::GetInventoryRequest
A request message for getting inventory data for the specified VM.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. API resource name for inventory resource.
Format: `projects/{project}/locations/{location}/instances/{instance}/inventory`
For `{project}`, either `project-number` or `project-id` can be provided. For `{instance}`, either Compute Engine `instance-id` or `instance-name` can be provided.
$msg->view()/$msg->view($value)Type:
Enum(Google::Cloud::Osconfig::V1alpha::InventoryView)Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
Google::Cloud::Osconfig::V1alpha::Inventory::ListInventoriesRequest
A request message for listing inventory data for all VMs in the specified location.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
$msg->view()/$msg->view($value)Type:
Enum(Google::Cloud::Osconfig::V1alpha::InventoryView)Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of results to return.
$msg->page_token()/$msg->page_token($value)Type:
StringA pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.
$msg->filter()/$msg->filter($value)Type:
StringIf provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.
Google::Cloud::Osconfig::V1alpha::Inventory::ListInventoriesResponse
A response message for listing inventory data for all VMs in a specified location.
Inherits from Protobuf::Message.
Accessors
$msg->inventories()/$msg->inventories($value)Type:
Message(Google::Cloud::Osconfig::V1alpha::Inventory::Inventory)List of inventory objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe pagination token to retrieve the next page of inventory objects.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Osconfig::V1alpha::Inventory::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.