Class: Google::Cloud::OsConfig::V1::Inventory
- Inherits:
-
Object
- Object
- Google::Cloud::OsConfig::V1::Inventory
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/osconfig/v1/inventory.rb
Overview
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.
Defined Under Namespace
Classes: Item, ItemsEntry, OsInfo, SoftwarePackage, VersionedPackage, WindowsApplication, WindowsQuickFixEngineeringPackage, WindowsUpdatePackage, ZypperPatch
Instance Attribute Summary collapse
-
#items ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::OsConfig::V1::Inventory::Item}
Inventory items related to the VM keyed by an opaque unique identifier for each inventory item.
-
#name ⇒ ::String
readonly
Output only.
-
#os_info ⇒ ::Google::Cloud::OsConfig::V1::Inventory::OsInfo
Base level operating system information for the VM.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#items ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::OsConfig::V1::Inventory::Item}
Returns 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.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 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 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 |
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 49 class Inventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Operating system information for the VM. # @!attribute [rw] hostname # @return [::String] # The VM hostname. # @!attribute [rw] long_name # @return [::String] # The operating system long name. # For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 # Datacenter'. # @!attribute [rw] short_name # @return [::String] # The operating system short name. # For example, 'windows' or 'debian'. # @!attribute [rw] version # @return [::String] # The version of the operating system. # @!attribute [rw] architecture # @return [::String] # The system architecture of the operating system. # @!attribute [rw] kernel_version # @return [::String] # The kernel version of the operating system. # @!attribute [rw] kernel_release # @return [::String] # The kernel release of the operating system. # @!attribute [rw] osconfig_agent_version # @return [::String] # The current version of the OS Config agent running on the VM. class OsInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A single piece of inventory on a VM. # @!attribute [rw] id # @return [::String] # Identifier for this item, unique across items for this VM. # @!attribute [rw] origin_type # @return [::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType] # The origin of this inventory item. # @!attribute [rw] create_time # @return [::Google::Protobuf::Timestamp] # When this inventory item was first detected. # @!attribute [rw] update_time # @return [::Google::Protobuf::Timestamp] # When this inventory item was last modified. # @!attribute [rw] type # @return [::Google::Cloud::OsConfig::V1::Inventory::Item::Type] # The specific type of inventory, correlating to its specific details. # @!attribute [rw] installed_package # @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage] # Software package present on the VM instance. # @!attribute [rw] available_package # @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage] # Software package available to be installed on the VM instance. 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 # Software package information of the operating system. # @!attribute [rw] yum_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Yum package info. # For details about the yum package manager, see # https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum. # @!attribute [rw] apt_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of an APT package. # For details about the apt package manager, see # https://wiki.debian.org/Apt. # @!attribute [rw] zypper_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a Zypper package. # For details about the Zypper package manager, see # https://en.opensuse.org/SDB:Zypper_manual. # @!attribute [rw] googet_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a Googet package. # For details about the googet package manager, see # https://github.com/google/googet. # @!attribute [rw] zypper_patch # @return [::Google::Cloud::OsConfig::V1::Inventory::ZypperPatch] # Details of a Zypper patch. # For details about the Zypper package manager, see # https://en.opensuse.org/SDB:Zypper_manual. # @!attribute [rw] wua_package # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage] # Details of a Windows Update package. # See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for # information about Windows Update. # @!attribute [rw] qfe_package # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsQuickFixEngineeringPackage] # Details of a Windows Quick Fix engineering package. # See # https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering # for info in Windows Quick Fix Engineering. # @!attribute [rw] cos_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a COS package. # @!attribute [rw] windows_application # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication] # Details of Windows Application. class SoftwarePackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Information related to the a standard versioned package. This includes # package info for APT, Yum, Zypper, and Googet package managers. # @!attribute [rw] package_name # @return [::String] # The name of the package. # @!attribute [rw] architecture # @return [::String] # The system architecture this package is intended for. # @!attribute [rw] version # @return [::String] # The version of the package. class VersionedPackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Details related to a Zypper Patch. # @!attribute [rw] patch_name # @return [::String] # The name of the patch. # @!attribute [rw] category # @return [::String] # The category of the patch. # @!attribute [rw] severity # @return [::String] # The severity specified for this patch # @!attribute [rw] summary # @return [::String] # Any summary information provided about this patch. class ZypperPatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Details related to a Windows Update package. # Field data and names are taken from Windows Update API IUpdate Interface: # https://docs.microsoft.com/en-us/windows/win32/api/_wua/ # Descriptive fields like title, and description are localized based on # the locale of the VM being updated. # @!attribute [rw] title # @return [::String] # The localized title of the update package. # @!attribute [rw] description # @return [::String] # The localized description of the update package. # @!attribute [rw] categories # @return [::Array<::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage::WindowsUpdateCategory>] # The categories that are associated with this update package. # @!attribute [rw] kb_article_ids # @return [::Array<::String>] # A collection of Microsoft Knowledge Base article IDs that are associated # with the update package. # @!attribute [rw] support_url # @return [::String] # A hyperlink to the language-specific support information for the update. # @!attribute [rw] more_info_urls # @return [::Array<::String>] # A collection of URLs that provide more information about the update # package. # @!attribute [rw] update_id # @return [::String] # Gets the identifier of an update package. Stays the same across # revisions. # @!attribute [rw] revision_number # @return [::Integer] # The revision number of this update package. # @!attribute [rw] last_deployment_change_time # @return [::Google::Protobuf::Timestamp] # The last published date of the update, in (UTC) date and time. class WindowsUpdatePackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Categories specified by the Windows Update. # @!attribute [rw] id # @return [::String] # The identifier of the windows update category. # @!attribute [rw] name # @return [::String] # The name of the windows update category. class WindowsUpdateCategory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Information related to a Quick Fix Engineering package. # Fields are taken from Windows QuickFixEngineering Interface and match # the source names: # https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering # @!attribute [rw] caption # @return [::String] # A short textual description of the QFE update. # @!attribute [rw] description # @return [::String] # A textual description of the QFE update. # @!attribute [rw] hot_fix_id # @return [::String] # Unique identifier associated with a particular QFE update. # @!attribute [rw] install_time # @return [::Google::Protobuf::Timestamp] # Date that the QFE update was installed. Mapped from installed_on field. class WindowsQuickFixEngineeringPackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information about a Windows application as retrieved from the # Windows Registry. For more information about these fields, see # # [Windows Installer Properties for the Uninstall # Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: # class="external" } # @!attribute [rw] display_name # @return [::String] # The name of the application or product. # @!attribute [rw] display_version # @return [::String] # The version of the product or application in string format. # @!attribute [rw] publisher # @return [::String] # The name of the manufacturer for the product or application. # @!attribute [rw] install_date # @return [::Google::Type::Date] # The last time this product received service. The value of this property # is replaced each time a patch is applied or removed from the product or # the command-line option is used to repair the product. # @!attribute [rw] help_link # @return [::String] # The internet address for technical support. class WindowsApplication include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::OsConfig::V1::Inventory::Item] class ItemsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String (readonly)
Returns Output only. The Inventory
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/inventory
.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 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 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 |
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 49 class Inventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Operating system information for the VM. # @!attribute [rw] hostname # @return [::String] # The VM hostname. # @!attribute [rw] long_name # @return [::String] # The operating system long name. # For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 # Datacenter'. # @!attribute [rw] short_name # @return [::String] # The operating system short name. # For example, 'windows' or 'debian'. # @!attribute [rw] version # @return [::String] # The version of the operating system. # @!attribute [rw] architecture # @return [::String] # The system architecture of the operating system. # @!attribute [rw] kernel_version # @return [::String] # The kernel version of the operating system. # @!attribute [rw] kernel_release # @return [::String] # The kernel release of the operating system. # @!attribute [rw] osconfig_agent_version # @return [::String] # The current version of the OS Config agent running on the VM. class OsInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A single piece of inventory on a VM. # @!attribute [rw] id # @return [::String] # Identifier for this item, unique across items for this VM. # @!attribute [rw] origin_type # @return [::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType] # The origin of this inventory item. # @!attribute [rw] create_time # @return [::Google::Protobuf::Timestamp] # When this inventory item was first detected. # @!attribute [rw] update_time # @return [::Google::Protobuf::Timestamp] # When this inventory item was last modified. # @!attribute [rw] type # @return [::Google::Cloud::OsConfig::V1::Inventory::Item::Type] # The specific type of inventory, correlating to its specific details. # @!attribute [rw] installed_package # @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage] # Software package present on the VM instance. # @!attribute [rw] available_package # @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage] # Software package available to be installed on the VM instance. 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 # Software package information of the operating system. # @!attribute [rw] yum_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Yum package info. # For details about the yum package manager, see # https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum. # @!attribute [rw] apt_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of an APT package. # For details about the apt package manager, see # https://wiki.debian.org/Apt. # @!attribute [rw] zypper_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a Zypper package. # For details about the Zypper package manager, see # https://en.opensuse.org/SDB:Zypper_manual. # @!attribute [rw] googet_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a Googet package. # For details about the googet package manager, see # https://github.com/google/googet. # @!attribute [rw] zypper_patch # @return [::Google::Cloud::OsConfig::V1::Inventory::ZypperPatch] # Details of a Zypper patch. # For details about the Zypper package manager, see # https://en.opensuse.org/SDB:Zypper_manual. # @!attribute [rw] wua_package # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage] # Details of a Windows Update package. # See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for # information about Windows Update. # @!attribute [rw] qfe_package # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsQuickFixEngineeringPackage] # Details of a Windows Quick Fix engineering package. # See # https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering # for info in Windows Quick Fix Engineering. # @!attribute [rw] cos_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a COS package. # @!attribute [rw] windows_application # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication] # Details of Windows Application. class SoftwarePackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Information related to the a standard versioned package. This includes # package info for APT, Yum, Zypper, and Googet package managers. # @!attribute [rw] package_name # @return [::String] # The name of the package. # @!attribute [rw] architecture # @return [::String] # The system architecture this package is intended for. # @!attribute [rw] version # @return [::String] # The version of the package. class VersionedPackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Details related to a Zypper Patch. # @!attribute [rw] patch_name # @return [::String] # The name of the patch. # @!attribute [rw] category # @return [::String] # The category of the patch. # @!attribute [rw] severity # @return [::String] # The severity specified for this patch # @!attribute [rw] summary # @return [::String] # Any summary information provided about this patch. class ZypperPatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Details related to a Windows Update package. # Field data and names are taken from Windows Update API IUpdate Interface: # https://docs.microsoft.com/en-us/windows/win32/api/_wua/ # Descriptive fields like title, and description are localized based on # the locale of the VM being updated. # @!attribute [rw] title # @return [::String] # The localized title of the update package. # @!attribute [rw] description # @return [::String] # The localized description of the update package. # @!attribute [rw] categories # @return [::Array<::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage::WindowsUpdateCategory>] # The categories that are associated with this update package. # @!attribute [rw] kb_article_ids # @return [::Array<::String>] # A collection of Microsoft Knowledge Base article IDs that are associated # with the update package. # @!attribute [rw] support_url # @return [::String] # A hyperlink to the language-specific support information for the update. # @!attribute [rw] more_info_urls # @return [::Array<::String>] # A collection of URLs that provide more information about the update # package. # @!attribute [rw] update_id # @return [::String] # Gets the identifier of an update package. Stays the same across # revisions. # @!attribute [rw] revision_number # @return [::Integer] # The revision number of this update package. # @!attribute [rw] last_deployment_change_time # @return [::Google::Protobuf::Timestamp] # The last published date of the update, in (UTC) date and time. class WindowsUpdatePackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Categories specified by the Windows Update. # @!attribute [rw] id # @return [::String] # The identifier of the windows update category. # @!attribute [rw] name # @return [::String] # The name of the windows update category. class WindowsUpdateCategory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Information related to a Quick Fix Engineering package. # Fields are taken from Windows QuickFixEngineering Interface and match # the source names: # https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering # @!attribute [rw] caption # @return [::String] # A short textual description of the QFE update. # @!attribute [rw] description # @return [::String] # A textual description of the QFE update. # @!attribute [rw] hot_fix_id # @return [::String] # Unique identifier associated with a particular QFE update. # @!attribute [rw] install_time # @return [::Google::Protobuf::Timestamp] # Date that the QFE update was installed. Mapped from installed_on field. class WindowsQuickFixEngineeringPackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information about a Windows application as retrieved from the # Windows Registry. For more information about these fields, see # # [Windows Installer Properties for the Uninstall # Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: # class="external" } # @!attribute [rw] display_name # @return [::String] # The name of the application or product. # @!attribute [rw] display_version # @return [::String] # The version of the product or application in string format. # @!attribute [rw] publisher # @return [::String] # The name of the manufacturer for the product or application. # @!attribute [rw] install_date # @return [::Google::Type::Date] # The last time this product received service. The value of this property # is replaced each time a patch is applied or removed from the product or # the command-line option is used to repair the product. # @!attribute [rw] help_link # @return [::String] # The internet address for technical support. class WindowsApplication include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::OsConfig::V1::Inventory::Item] class ItemsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#os_info ⇒ ::Google::Cloud::OsConfig::V1::Inventory::OsInfo
Returns Base level operating system information for the VM.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 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 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 |
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 49 class Inventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Operating system information for the VM. # @!attribute [rw] hostname # @return [::String] # The VM hostname. # @!attribute [rw] long_name # @return [::String] # The operating system long name. # For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 # Datacenter'. # @!attribute [rw] short_name # @return [::String] # The operating system short name. # For example, 'windows' or 'debian'. # @!attribute [rw] version # @return [::String] # The version of the operating system. # @!attribute [rw] architecture # @return [::String] # The system architecture of the operating system. # @!attribute [rw] kernel_version # @return [::String] # The kernel version of the operating system. # @!attribute [rw] kernel_release # @return [::String] # The kernel release of the operating system. # @!attribute [rw] osconfig_agent_version # @return [::String] # The current version of the OS Config agent running on the VM. class OsInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A single piece of inventory on a VM. # @!attribute [rw] id # @return [::String] # Identifier for this item, unique across items for this VM. # @!attribute [rw] origin_type # @return [::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType] # The origin of this inventory item. # @!attribute [rw] create_time # @return [::Google::Protobuf::Timestamp] # When this inventory item was first detected. # @!attribute [rw] update_time # @return [::Google::Protobuf::Timestamp] # When this inventory item was last modified. # @!attribute [rw] type # @return [::Google::Cloud::OsConfig::V1::Inventory::Item::Type] # The specific type of inventory, correlating to its specific details. # @!attribute [rw] installed_package # @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage] # Software package present on the VM instance. # @!attribute [rw] available_package # @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage] # Software package available to be installed on the VM instance. 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 # Software package information of the operating system. # @!attribute [rw] yum_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Yum package info. # For details about the yum package manager, see # https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum. # @!attribute [rw] apt_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of an APT package. # For details about the apt package manager, see # https://wiki.debian.org/Apt. # @!attribute [rw] zypper_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a Zypper package. # For details about the Zypper package manager, see # https://en.opensuse.org/SDB:Zypper_manual. # @!attribute [rw] googet_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a Googet package. # For details about the googet package manager, see # https://github.com/google/googet. # @!attribute [rw] zypper_patch # @return [::Google::Cloud::OsConfig::V1::Inventory::ZypperPatch] # Details of a Zypper patch. # For details about the Zypper package manager, see # https://en.opensuse.org/SDB:Zypper_manual. # @!attribute [rw] wua_package # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage] # Details of a Windows Update package. # See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for # information about Windows Update. # @!attribute [rw] qfe_package # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsQuickFixEngineeringPackage] # Details of a Windows Quick Fix engineering package. # See # https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering # for info in Windows Quick Fix Engineering. # @!attribute [rw] cos_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a COS package. # @!attribute [rw] windows_application # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication] # Details of Windows Application. class SoftwarePackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Information related to the a standard versioned package. This includes # package info for APT, Yum, Zypper, and Googet package managers. # @!attribute [rw] package_name # @return [::String] # The name of the package. # @!attribute [rw] architecture # @return [::String] # The system architecture this package is intended for. # @!attribute [rw] version # @return [::String] # The version of the package. class VersionedPackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Details related to a Zypper Patch. # @!attribute [rw] patch_name # @return [::String] # The name of the patch. # @!attribute [rw] category # @return [::String] # The category of the patch. # @!attribute [rw] severity # @return [::String] # The severity specified for this patch # @!attribute [rw] summary # @return [::String] # Any summary information provided about this patch. class ZypperPatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Details related to a Windows Update package. # Field data and names are taken from Windows Update API IUpdate Interface: # https://docs.microsoft.com/en-us/windows/win32/api/_wua/ # Descriptive fields like title, and description are localized based on # the locale of the VM being updated. # @!attribute [rw] title # @return [::String] # The localized title of the update package. # @!attribute [rw] description # @return [::String] # The localized description of the update package. # @!attribute [rw] categories # @return [::Array<::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage::WindowsUpdateCategory>] # The categories that are associated with this update package. # @!attribute [rw] kb_article_ids # @return [::Array<::String>] # A collection of Microsoft Knowledge Base article IDs that are associated # with the update package. # @!attribute [rw] support_url # @return [::String] # A hyperlink to the language-specific support information for the update. # @!attribute [rw] more_info_urls # @return [::Array<::String>] # A collection of URLs that provide more information about the update # package. # @!attribute [rw] update_id # @return [::String] # Gets the identifier of an update package. Stays the same across # revisions. # @!attribute [rw] revision_number # @return [::Integer] # The revision number of this update package. # @!attribute [rw] last_deployment_change_time # @return [::Google::Protobuf::Timestamp] # The last published date of the update, in (UTC) date and time. class WindowsUpdatePackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Categories specified by the Windows Update. # @!attribute [rw] id # @return [::String] # The identifier of the windows update category. # @!attribute [rw] name # @return [::String] # The name of the windows update category. class WindowsUpdateCategory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Information related to a Quick Fix Engineering package. # Fields are taken from Windows QuickFixEngineering Interface and match # the source names: # https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering # @!attribute [rw] caption # @return [::String] # A short textual description of the QFE update. # @!attribute [rw] description # @return [::String] # A textual description of the QFE update. # @!attribute [rw] hot_fix_id # @return [::String] # Unique identifier associated with a particular QFE update. # @!attribute [rw] install_time # @return [::Google::Protobuf::Timestamp] # Date that the QFE update was installed. Mapped from installed_on field. class WindowsQuickFixEngineeringPackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information about a Windows application as retrieved from the # Windows Registry. For more information about these fields, see # # [Windows Installer Properties for the Uninstall # Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: # class="external" } # @!attribute [rw] display_name # @return [::String] # The name of the application or product. # @!attribute [rw] display_version # @return [::String] # The version of the product or application in string format. # @!attribute [rw] publisher # @return [::String] # The name of the manufacturer for the product or application. # @!attribute [rw] install_date # @return [::Google::Type::Date] # The last time this product received service. The value of this property # is replaced each time a patch is applied or removed from the product or # the command-line option is used to repair the product. # @!attribute [rw] help_link # @return [::String] # The internet address for technical support. class WindowsApplication include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::OsConfig::V1::Inventory::Item] class ItemsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Timestamp of the last reported inventory for the VM.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 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 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 |
# File 'proto_docs/google/cloud/osconfig/v1/inventory.rb', line 49 class Inventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Operating system information for the VM. # @!attribute [rw] hostname # @return [::String] # The VM hostname. # @!attribute [rw] long_name # @return [::String] # The operating system long name. # For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 # Datacenter'. # @!attribute [rw] short_name # @return [::String] # The operating system short name. # For example, 'windows' or 'debian'. # @!attribute [rw] version # @return [::String] # The version of the operating system. # @!attribute [rw] architecture # @return [::String] # The system architecture of the operating system. # @!attribute [rw] kernel_version # @return [::String] # The kernel version of the operating system. # @!attribute [rw] kernel_release # @return [::String] # The kernel release of the operating system. # @!attribute [rw] osconfig_agent_version # @return [::String] # The current version of the OS Config agent running on the VM. class OsInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A single piece of inventory on a VM. # @!attribute [rw] id # @return [::String] # Identifier for this item, unique across items for this VM. # @!attribute [rw] origin_type # @return [::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType] # The origin of this inventory item. # @!attribute [rw] create_time # @return [::Google::Protobuf::Timestamp] # When this inventory item was first detected. # @!attribute [rw] update_time # @return [::Google::Protobuf::Timestamp] # When this inventory item was last modified. # @!attribute [rw] type # @return [::Google::Cloud::OsConfig::V1::Inventory::Item::Type] # The specific type of inventory, correlating to its specific details. # @!attribute [rw] installed_package # @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage] # Software package present on the VM instance. # @!attribute [rw] available_package # @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage] # Software package available to be installed on the VM instance. 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 # Software package information of the operating system. # @!attribute [rw] yum_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Yum package info. # For details about the yum package manager, see # https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum. # @!attribute [rw] apt_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of an APT package. # For details about the apt package manager, see # https://wiki.debian.org/Apt. # @!attribute [rw] zypper_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a Zypper package. # For details about the Zypper package manager, see # https://en.opensuse.org/SDB:Zypper_manual. # @!attribute [rw] googet_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a Googet package. # For details about the googet package manager, see # https://github.com/google/googet. # @!attribute [rw] zypper_patch # @return [::Google::Cloud::OsConfig::V1::Inventory::ZypperPatch] # Details of a Zypper patch. # For details about the Zypper package manager, see # https://en.opensuse.org/SDB:Zypper_manual. # @!attribute [rw] wua_package # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage] # Details of a Windows Update package. # See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for # information about Windows Update. # @!attribute [rw] qfe_package # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsQuickFixEngineeringPackage] # Details of a Windows Quick Fix engineering package. # See # https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering # for info in Windows Quick Fix Engineering. # @!attribute [rw] cos_package # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage] # Details of a COS package. # @!attribute [rw] windows_application # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication] # Details of Windows Application. class SoftwarePackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Information related to the a standard versioned package. This includes # package info for APT, Yum, Zypper, and Googet package managers. # @!attribute [rw] package_name # @return [::String] # The name of the package. # @!attribute [rw] architecture # @return [::String] # The system architecture this package is intended for. # @!attribute [rw] version # @return [::String] # The version of the package. class VersionedPackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Details related to a Zypper Patch. # @!attribute [rw] patch_name # @return [::String] # The name of the patch. # @!attribute [rw] category # @return [::String] # The category of the patch. # @!attribute [rw] severity # @return [::String] # The severity specified for this patch # @!attribute [rw] summary # @return [::String] # Any summary information provided about this patch. class ZypperPatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Details related to a Windows Update package. # Field data and names are taken from Windows Update API IUpdate Interface: # https://docs.microsoft.com/en-us/windows/win32/api/_wua/ # Descriptive fields like title, and description are localized based on # the locale of the VM being updated. # @!attribute [rw] title # @return [::String] # The localized title of the update package. # @!attribute [rw] description # @return [::String] # The localized description of the update package. # @!attribute [rw] categories # @return [::Array<::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage::WindowsUpdateCategory>] # The categories that are associated with this update package. # @!attribute [rw] kb_article_ids # @return [::Array<::String>] # A collection of Microsoft Knowledge Base article IDs that are associated # with the update package. # @!attribute [rw] support_url # @return [::String] # A hyperlink to the language-specific support information for the update. # @!attribute [rw] more_info_urls # @return [::Array<::String>] # A collection of URLs that provide more information about the update # package. # @!attribute [rw] update_id # @return [::String] # Gets the identifier of an update package. Stays the same across # revisions. # @!attribute [rw] revision_number # @return [::Integer] # The revision number of this update package. # @!attribute [rw] last_deployment_change_time # @return [::Google::Protobuf::Timestamp] # The last published date of the update, in (UTC) date and time. class WindowsUpdatePackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Categories specified by the Windows Update. # @!attribute [rw] id # @return [::String] # The identifier of the windows update category. # @!attribute [rw] name # @return [::String] # The name of the windows update category. class WindowsUpdateCategory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Information related to a Quick Fix Engineering package. # Fields are taken from Windows QuickFixEngineering Interface and match # the source names: # https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering # @!attribute [rw] caption # @return [::String] # A short textual description of the QFE update. # @!attribute [rw] description # @return [::String] # A textual description of the QFE update. # @!attribute [rw] hot_fix_id # @return [::String] # Unique identifier associated with a particular QFE update. # @!attribute [rw] install_time # @return [::Google::Protobuf::Timestamp] # Date that the QFE update was installed. Mapped from installed_on field. class WindowsQuickFixEngineeringPackage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information about a Windows application as retrieved from the # Windows Registry. For more information about these fields, see # # [Windows Installer Properties for the Uninstall # Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: # class="external" } # @!attribute [rw] display_name # @return [::String] # The name of the application or product. # @!attribute [rw] display_version # @return [::String] # The version of the product or application in string format. # @!attribute [rw] publisher # @return [::String] # The name of the manufacturer for the product or application. # @!attribute [rw] install_date # @return [::Google::Type::Date] # The last time this product received service. The value of this property # is replaced each time a patch is applied or removed from the product or # the command-line option is used to repair the product. # @!attribute [rw] help_link # @return [::String] # The internet address for technical support. class WindowsApplication include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::OsConfig::V1::Inventory::Item] class ItemsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |