Class: Google::Cloud::OsConfig::V1::Inventory::Item
- Inherits:
-
Object
- Object
- Google::Cloud::OsConfig::V1::Inventory::Item
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/osconfig/v1/inventory.rb
Overview
A single piece of inventory on a VM.
Defined Under Namespace
Modules: OriginType, Type
Instance Attribute Summary collapse
-
#available_package ⇒ ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
Software package available to be installed on the VM instance.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
When this inventory item was first detected.
-
#id ⇒ ::String
Identifier for this item, unique across items for this VM.
-
#installed_package ⇒ ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
Software package present on the VM instance.
-
#origin_type ⇒ ::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType
The origin of this inventory item.
-
#type ⇒ ::Google::Cloud::OsConfig::V1::Inventory::Item::Type
The specific type of inventory, correlating to its specific details.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
When this inventory item was last modified.
Instance Attribute Details
#available_package ⇒ ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
Returns Software package available to be installed on the VM instance.
Note: The following fields are mutually exclusive: available_package, installed_package. If a field in that set is populated, all other fields in the set will automatically be cleared.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 112 class Item include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The origin of a specific inventory item. module OriginType # Invalid. An origin type must be specified. ORIGIN_TYPE_UNSPECIFIED = 0 # This inventory item was discovered as the result of the agent # reporting inventory via the reporting API. INVENTORY_REPORT = 1 end # The different types of inventory that are tracked on a VM. module Type # Invalid. An type must be specified. TYPE_UNSPECIFIED = 0 # This represents a package that is installed on the VM. INSTALLED_PACKAGE = 1 # This represents an update that is available for a package. AVAILABLE_PACKAGE = 2 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp
Returns When this inventory item was first detected.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 112 class Item include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The origin of a specific inventory item. module OriginType # Invalid. An origin type must be specified. ORIGIN_TYPE_UNSPECIFIED = 0 # This inventory item was discovered as the result of the agent # reporting inventory via the reporting API. INVENTORY_REPORT = 1 end # The different types of inventory that are tracked on a VM. module Type # Invalid. An type must be specified. TYPE_UNSPECIFIED = 0 # This represents a package that is installed on the VM. INSTALLED_PACKAGE = 1 # This represents an update that is available for a package. AVAILABLE_PACKAGE = 2 end end |
#id ⇒ ::String
Returns Identifier for this item, unique across items for this VM.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 112 class Item include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The origin of a specific inventory item. module OriginType # Invalid. An origin type must be specified. ORIGIN_TYPE_UNSPECIFIED = 0 # This inventory item was discovered as the result of the agent # reporting inventory via the reporting API. INVENTORY_REPORT = 1 end # The different types of inventory that are tracked on a VM. module Type # Invalid. An type must be specified. TYPE_UNSPECIFIED = 0 # This represents a package that is installed on the VM. INSTALLED_PACKAGE = 1 # This represents an update that is available for a package. AVAILABLE_PACKAGE = 2 end end |
#installed_package ⇒ ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
Returns Software package present on the VM instance.
Note: The following fields are mutually exclusive: installed_package, available_package. If a field in that set is populated, all other fields in the set will automatically be cleared.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 112 class Item include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The origin of a specific inventory item. module OriginType # Invalid. An origin type must be specified. ORIGIN_TYPE_UNSPECIFIED = 0 # This inventory item was discovered as the result of the agent # reporting inventory via the reporting API. INVENTORY_REPORT = 1 end # The different types of inventory that are tracked on a VM. module Type # Invalid. An type must be specified. TYPE_UNSPECIFIED = 0 # This represents a package that is installed on the VM. INSTALLED_PACKAGE = 1 # This represents an update that is available for a package. AVAILABLE_PACKAGE = 2 end end |
#origin_type ⇒ ::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType
Returns The origin of this inventory item.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 112 class Item include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The origin of a specific inventory item. module OriginType # Invalid. An origin type must be specified. ORIGIN_TYPE_UNSPECIFIED = 0 # This inventory item was discovered as the result of the agent # reporting inventory via the reporting API. INVENTORY_REPORT = 1 end # The different types of inventory that are tracked on a VM. module Type # Invalid. An type must be specified. TYPE_UNSPECIFIED = 0 # This represents a package that is installed on the VM. INSTALLED_PACKAGE = 1 # This represents an update that is available for a package. AVAILABLE_PACKAGE = 2 end end |
#type ⇒ ::Google::Cloud::OsConfig::V1::Inventory::Item::Type
Returns The specific type of inventory, correlating to its specific details.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 112 class Item include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The origin of a specific inventory item. module OriginType # Invalid. An origin type must be specified. ORIGIN_TYPE_UNSPECIFIED = 0 # This inventory item was discovered as the result of the agent # reporting inventory via the reporting API. INVENTORY_REPORT = 1 end # The different types of inventory that are tracked on a VM. module Type # Invalid. An type must be specified. TYPE_UNSPECIFIED = 0 # This represents a package that is installed on the VM. INSTALLED_PACKAGE = 1 # This represents an update that is available for a package. AVAILABLE_PACKAGE = 2 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp
Returns When this inventory item was last modified.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 112 class Item include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The origin of a specific inventory item. module OriginType # Invalid. An origin type must be specified. ORIGIN_TYPE_UNSPECIFIED = 0 # This inventory item was discovered as the result of the agent # reporting inventory via the reporting API. INVENTORY_REPORT = 1 end # The different types of inventory that are tracked on a VM. module Type # Invalid. An type must be specified. TYPE_UNSPECIFIED = 0 # This represents a package that is installed on the VM. INSTALLED_PACKAGE = 1 # This represents an update that is available for a package. AVAILABLE_PACKAGE = 2 end end |