class Google::Apis::CloudassetV1::Item
A single piece of inventory on a VM.
Attributes
Software package information of the operating system. Corresponds to the JSON property `availablePackage` @return [Google::Apis::CloudassetV1::SoftwarePackage]
When this inventory item was first detected. Corresponds to the JSON property `createTime` @return [String]
Identifier for this item, unique across items for this VM. Corresponds to the JSON property `id` @return [String]
Software package information of the operating system. Corresponds to the JSON property `installedPackage` @return [Google::Apis::CloudassetV1::SoftwarePackage]
The origin of this inventory item. Corresponds to the JSON property `originType` @return [String]
The specific type of inventory, correlating to its specific details. Corresponds to the JSON property `type` @return [String]
When this inventory item was last modified. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/cloudasset_v1/classes.rb, line 3121 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudasset_v1/classes.rb, line 3126 def update!(**args) @available_package = args[:available_package] if args.key?(:available_package) @create_time = args[:create_time] if args.key?(:create_time) @id = args[:id] if args.key?(:id) @installed_package = args[:installed_package] if args.key?(:installed_package) @origin_type = args[:origin_type] if args.key?(:origin_type) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) end