# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/osconfig/v1alpha/inventory.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/osconfig/v1alpha/inventory.proto", :syntax => :proto3) do add_message "google.cloud.osconfig.v1alpha.Inventory" do optional :name, :string, 3 optional :os_info, :message, 1, "google.cloud.osconfig.v1alpha.Inventory.OsInfo" map :items, :string, :message, 2, "google.cloud.osconfig.v1alpha.Inventory.Item" optional :update_time, :message, 4, "google.protobuf.Timestamp" end add_message "google.cloud.osconfig.v1alpha.Inventory.OsInfo" do optional :hostname, :string, 9 optional :long_name, :string, 2 optional :short_name, :string, 3 optional :version, :string, 4 optional :architecture, :string, 5 optional :kernel_version, :string, 6 optional :kernel_release, :string, 7 optional :osconfig_agent_version, :string, 8 end add_message "google.cloud.osconfig.v1alpha.Inventory.Item" do optional :id, :string, 1 optional :origin_type, :enum, 2, "google.cloud.osconfig.v1alpha.Inventory.Item.OriginType" optional :create_time, :message, 8, "google.protobuf.Timestamp" optional :update_time, :message, 9, "google.protobuf.Timestamp" optional :type, :enum, 5, "google.cloud.osconfig.v1alpha.Inventory.Item.Type" oneof :details do optional :installed_package, :message, 6, "google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage" optional :available_package, :message, 7, "google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage" end end add_enum "google.cloud.osconfig.v1alpha.Inventory.Item.OriginType" do value :ORIGIN_TYPE_UNSPECIFIED, 0 value :INVENTORY_REPORT, 1 end add_enum "google.cloud.osconfig.v1alpha.Inventory.Item.Type" do value :TYPE_UNSPECIFIED, 0 value :INSTALLED_PACKAGE, 1 value :AVAILABLE_PACKAGE, 2 end add_message "google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage" do oneof :details do optional :yum_package, :message, 1, "google.cloud.osconfig.v1alpha.Inventory.VersionedPackage" optional :apt_package, :message, 2, "google.cloud.osconfig.v1alpha.Inventory.VersionedPackage" optional :zypper_package, :message, 3, "google.cloud.osconfig.v1alpha.Inventory.VersionedPackage" optional :googet_package, :message, 4, "google.cloud.osconfig.v1alpha.Inventory.VersionedPackage" optional :zypper_patch, :message, 5, "google.cloud.osconfig.v1alpha.Inventory.ZypperPatch" optional :wua_package, :message, 6, "google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage" optional :qfe_package, :message, 7, "google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage" optional :cos_package, :message, 8, "google.cloud.osconfig.v1alpha.Inventory.VersionedPackage" end end add_message "google.cloud.osconfig.v1alpha.Inventory.VersionedPackage" do optional :package_name, :string, 4 optional :architecture, :string, 2 optional :version, :string, 3 end add_message "google.cloud.osconfig.v1alpha.Inventory.ZypperPatch" do optional :patch_name, :string, 5 optional :category, :string, 2 optional :severity, :string, 3 optional :summary, :string, 4 end add_message "google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage" do optional :title, :string, 1 optional :description, :string, 2 repeated :categories, :message, 3, "google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory" repeated :kb_article_ids, :string, 4 optional :support_url, :string, 11 repeated :more_info_urls, :string, 5 optional :update_id, :string, 6 optional :revision_number, :int32, 7 optional :last_deployment_change_time, :message, 10, "google.protobuf.Timestamp" end add_message "google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory" do optional :id, :string, 1 optional :name, :string, 2 end add_message "google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage" do optional :caption, :string, 1 optional :description, :string, 2 optional :hot_fix_id, :string, 3 optional :install_time, :message, 5, "google.protobuf.Timestamp" end add_message "google.cloud.osconfig.v1alpha.GetInventoryRequest" do optional :name, :string, 1 optional :view, :enum, 2, "google.cloud.osconfig.v1alpha.InventoryView" end add_message "google.cloud.osconfig.v1alpha.ListInventoriesRequest" do optional :parent, :string, 1 optional :view, :enum, 2, "google.cloud.osconfig.v1alpha.InventoryView" optional :page_size, :int32, 3 optional :page_token, :string, 4 optional :filter, :string, 5 end add_message "google.cloud.osconfig.v1alpha.ListInventoriesResponse" do repeated :inventories, :message, 1, "google.cloud.osconfig.v1alpha.Inventory" optional :next_page_token, :string, 2 end add_enum "google.cloud.osconfig.v1alpha.InventoryView" do value :INVENTORY_VIEW_UNSPECIFIED, 0 value :BASIC, 1 value :FULL, 2 end end end module Google module Cloud module OsConfig module V1alpha Inventory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.Inventory").msgclass Inventory::OsInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.Inventory.OsInfo").msgclass Inventory::Item = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.Inventory.Item").msgclass Inventory::Item::OriginType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.Inventory.Item.OriginType").enummodule Inventory::Item::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.Inventory.Item.Type").enummodule Inventory::SoftwarePackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage").msgclass Inventory::VersionedPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.Inventory.VersionedPackage").msgclass Inventory::ZypperPatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.Inventory.ZypperPatch").msgclass Inventory::WindowsUpdatePackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage").msgclass Inventory::WindowsUpdatePackage::WindowsUpdateCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory").msgclass Inventory::WindowsQuickFixEngineeringPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage").msgclass GetInventoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.GetInventoryRequest").msgclass ListInventoriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListInventoriesRequest").msgclass ListInventoriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListInventoriesResponse").msgclass InventoryView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.InventoryView").enummodule end end end end