diff --git a/api_names_out.yaml b/api_names_out.yaml index b713c6d6a..567fbefb9 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -20563,6 +20563,7 @@ "/cloudasset:v1/Asset/name": name "/cloudasset:v1/Asset/orgPolicy": org_policy "/cloudasset:v1/Asset/orgPolicy/org_policy": org_policy +"/cloudasset:v1/Asset/osInventory": os_inventory "/cloudasset:v1/Asset/resource": resource "/cloudasset:v1/Asset/servicePerimeter": service_perimeter "/cloudasset:v1/Asset/updateTime": update_time @@ -20767,6 +20768,18 @@ "/cloudasset:v1/IamPolicySearchResult/resource": resource "/cloudasset:v1/IdentitySelector": identity_selector "/cloudasset:v1/IdentitySelector/identity": identity +"/cloudasset:v1/Inventory": inventory +"/cloudasset:v1/Inventory/items": items +"/cloudasset:v1/Inventory/items/item": item +"/cloudasset:v1/Inventory/osInfo": os_info +"/cloudasset:v1/Item": item +"/cloudasset:v1/Item/availablePackage": available_package +"/cloudasset:v1/Item/createTime": create_time +"/cloudasset:v1/Item/id": id +"/cloudasset:v1/Item/installedPackage": installed_package +"/cloudasset:v1/Item/originType": origin_type +"/cloudasset:v1/Item/type": type +"/cloudasset:v1/Item/updateTime": update_time "/cloudasset:v1/ListFeedsResponse": list_feeds_response "/cloudasset:v1/ListFeedsResponse/feeds": feeds "/cloudasset:v1/ListFeedsResponse/feeds/feed": feed @@ -20785,6 +20798,15 @@ "/cloudasset:v1/Options/expandRoles": expand_roles "/cloudasset:v1/Options/outputGroupEdges": output_group_edges "/cloudasset:v1/Options/outputResourceEdges": output_resource_edges +"/cloudasset:v1/OsInfo": os_info +"/cloudasset:v1/OsInfo/architecture": architecture +"/cloudasset:v1/OsInfo/hostname": hostname +"/cloudasset:v1/OsInfo/kernelRelease": kernel_release +"/cloudasset:v1/OsInfo/kernelVersion": kernel_version +"/cloudasset:v1/OsInfo/longName": long_name +"/cloudasset:v1/OsInfo/osconfigAgentVersion": osconfig_agent_version +"/cloudasset:v1/OsInfo/shortName": short_name +"/cloudasset:v1/OsInfo/version": version "/cloudasset:v1/OutputConfig": output_config "/cloudasset:v1/OutputConfig/bigqueryDestination": bigquery_destination "/cloudasset:v1/OutputConfig/gcsDestination": gcs_destination @@ -20834,6 +20856,15 @@ "/cloudasset:v1/SearchAllResourcesResponse/nextPageToken": next_page_token "/cloudasset:v1/SearchAllResourcesResponse/results": results "/cloudasset:v1/SearchAllResourcesResponse/results/result": result +"/cloudasset:v1/SoftwarePackage": software_package +"/cloudasset:v1/SoftwarePackage/aptPackage": apt_package +"/cloudasset:v1/SoftwarePackage/cosPackage": cos_package +"/cloudasset:v1/SoftwarePackage/googetPackage": googet_package +"/cloudasset:v1/SoftwarePackage/qfePackage": qfe_package +"/cloudasset:v1/SoftwarePackage/wuaPackage": wua_package +"/cloudasset:v1/SoftwarePackage/yumPackage": yum_package +"/cloudasset:v1/SoftwarePackage/zypperPackage": zypper_package +"/cloudasset:v1/SoftwarePackage/zypperPatch": zypper_patch "/cloudasset:v1/Status": status "/cloudasset:v1/Status/code": code "/cloudasset:v1/Status/details": details @@ -20852,6 +20883,36 @@ "/cloudasset:v1/UpdateFeedRequest": update_feed_request "/cloudasset:v1/UpdateFeedRequest/feed": feed "/cloudasset:v1/UpdateFeedRequest/updateMask": update_mask +"/cloudasset:v1/VersionedPackage": versioned_package +"/cloudasset:v1/VersionedPackage/architecture": architecture +"/cloudasset:v1/VersionedPackage/packageName": package_name +"/cloudasset:v1/VersionedPackage/version": version +"/cloudasset:v1/WindowsQuickFixEngineeringPackage": windows_quick_fix_engineering_package +"/cloudasset:v1/WindowsQuickFixEngineeringPackage/caption": caption +"/cloudasset:v1/WindowsQuickFixEngineeringPackage/description": description +"/cloudasset:v1/WindowsQuickFixEngineeringPackage/hotFixId": hot_fix_id +"/cloudasset:v1/WindowsQuickFixEngineeringPackage/installTime": install_time +"/cloudasset:v1/WindowsUpdateCategory": windows_update_category +"/cloudasset:v1/WindowsUpdateCategory/id": id +"/cloudasset:v1/WindowsUpdateCategory/name": name +"/cloudasset:v1/WindowsUpdatePackage": windows_update_package +"/cloudasset:v1/WindowsUpdatePackage/categories": categories +"/cloudasset:v1/WindowsUpdatePackage/categories/category": category +"/cloudasset:v1/WindowsUpdatePackage/description": description +"/cloudasset:v1/WindowsUpdatePackage/kbArticleIds": kb_article_ids +"/cloudasset:v1/WindowsUpdatePackage/kbArticleIds/kb_article_id": kb_article_id +"/cloudasset:v1/WindowsUpdatePackage/lastDeploymentChangeTime": last_deployment_change_time +"/cloudasset:v1/WindowsUpdatePackage/moreInfoUrls": more_info_urls +"/cloudasset:v1/WindowsUpdatePackage/moreInfoUrls/more_info_url": more_info_url +"/cloudasset:v1/WindowsUpdatePackage/revisionNumber": revision_number +"/cloudasset:v1/WindowsUpdatePackage/supportUrl": support_url +"/cloudasset:v1/WindowsUpdatePackage/title": title +"/cloudasset:v1/WindowsUpdatePackage/updateId": update_id +"/cloudasset:v1/ZypperPatch": zypper_patch +"/cloudasset:v1/ZypperPatch/category": category +"/cloudasset:v1/ZypperPatch/patchName": patch_name +"/cloudasset:v1/ZypperPatch/severity": severity +"/cloudasset:v1/ZypperPatch/summary": summary "/cloudasset:v1/cloudasset.analyzeIamPolicy/analysisQuery.accessSelector.permissions": analysis_query_access_selector_permissions "/cloudasset:v1/cloudasset.analyzeIamPolicy/analysisQuery.accessSelector.roles": analysis_query_access_selector_roles "/cloudasset:v1/cloudasset.analyzeIamPolicy/analysisQuery.identitySelector.identity": analysis_query_identity_selector_identity diff --git a/generated/google/apis/cloudasset_v1.rb b/generated/google/apis/cloudasset_v1.rb index fe5ce8342..82328be1a 100644 --- a/generated/google/apis/cloudasset_v1.rb +++ b/generated/google/apis/cloudasset_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/asset-inventory/docs/quickstart module CloudassetV1 VERSION = 'V1' - REVISION = '20201030' + REVISION = '20201106' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudasset_v1/classes.rb b/generated/google/apis/cloudasset_v1/classes.rb index 447e6c381..6c37d4012 100644 --- a/generated/google/apis/cloudasset_v1/classes.rb +++ b/generated/google/apis/cloudasset_v1/classes.rb @@ -199,6 +199,11 @@ module Google # @return [Array] attr_accessor :org_policy + # The inventory details of a VM. + # Corresponds to the JSON property `osInventory` + # @return [Google::Apis::CloudassetV1::Inventory] + attr_accessor :os_inventory + # A representation of a Google Cloud resource. # Corresponds to the JSON property `resource` # @return [Google::Apis::CloudassetV1::Resource] @@ -236,6 +241,7 @@ module Google @iam_policy = args[:iam_policy] if args.key?(:iam_policy) @name = args[:name] if args.key?(:name) @org_policy = args[:org_policy] if args.key?(:org_policy) + @os_inventory = args[:os_inventory] if args.key?(:os_inventory) @resource = args[:resource] if args.key?(:resource) @service_perimeter = args[:service_perimeter] if args.key?(:service_perimeter) @update_time = args[:update_time] if args.key?(:update_time) @@ -407,11 +413,6 @@ module Google class Binding include Google::Apis::Core::Hashable - # - # Corresponds to the JSON property `bindingId` - # @return [String] - attr_accessor :binding_id - # Represents a textual expression in the Common Expression Language (CEL) syntax. # CEL is a C-like expression language. The syntax and semantics of CEL are # documented at https://github.com/google/cel-spec. Example (Comparison): title: @@ -473,7 +474,6 @@ module Google # Update properties of this object def update!(**args) - @binding_id = args[:binding_id] if args.key?(:binding_id) @condition = args[:condition] if args.key?(:condition) @members = args[:members] if args.key?(:members) @role = args[:role] if args.key?(:role) @@ -2124,6 +2124,88 @@ module Google end end + # The inventory details of a VM. + class Inventory + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # Operating system information for the VM. + # Corresponds to the JSON property `osInfo` + # @return [Google::Apis::CloudassetV1::OsInfo] + attr_accessor :os_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @items = args[:items] if args.key?(:items) + @os_info = args[:os_info] if args.key?(:os_info) + end + end + + # A single piece of inventory on a VM. + class Item + include Google::Apis::Core::Hashable + + # Software package information of the operating system. + # Corresponds to the JSON property `availablePackage` + # @return [Google::Apis::CloudassetV1::SoftwarePackage] + attr_accessor :available_package + + # When this inventory item was first detected. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Identifier for this item, unique across items for this VM. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Software package information of the operating system. + # Corresponds to the JSON property `installedPackage` + # @return [Google::Apis::CloudassetV1::SoftwarePackage] + attr_accessor :installed_package + + # The origin of this inventory item. + # Corresponds to the JSON property `originType` + # @return [String] + attr_accessor :origin_type + + # The specific type of inventory, correlating to its specific details. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # When this inventory item was last modified. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + 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 + end + # class ListFeedsResponse include Google::Apis::Core::Hashable @@ -2297,6 +2379,68 @@ module Google end end + # Operating system information for the VM. + class OsInfo + include Google::Apis::Core::Hashable + + # The system architecture of the operating system. + # Corresponds to the JSON property `architecture` + # @return [String] + attr_accessor :architecture + + # The VM hostname. + # Corresponds to the JSON property `hostname` + # @return [String] + attr_accessor :hostname + + # The kernel release of the operating system. + # Corresponds to the JSON property `kernelRelease` + # @return [String] + attr_accessor :kernel_release + + # The kernel version of the operating system. + # Corresponds to the JSON property `kernelVersion` + # @return [String] + attr_accessor :kernel_version + + # The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft + # Window Server 2019 Datacenter'. + # Corresponds to the JSON property `longName` + # @return [String] + attr_accessor :long_name + + # The current version of the OS Config agent running on the VM. + # Corresponds to the JSON property `osconfigAgentVersion` + # @return [String] + attr_accessor :osconfig_agent_version + + # The operating system short name. For example, 'windows' or 'debian'. + # Corresponds to the JSON property `shortName` + # @return [String] + attr_accessor :short_name + + # The version of the operating system. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @architecture = args[:architecture] if args.key?(:architecture) + @hostname = args[:hostname] if args.key?(:hostname) + @kernel_release = args[:kernel_release] if args.key?(:kernel_release) + @kernel_version = args[:kernel_version] if args.key?(:kernel_version) + @long_name = args[:long_name] if args.key?(:long_name) + @osconfig_agent_version = args[:osconfig_agent_version] if args.key?(:osconfig_agent_version) + @short_name = args[:short_name] if args.key?(:short_name) + @version = args[:version] if args.key?(:version) + end + end + # Output configuration for export assets destination. class OutputConfig include Google::Apis::Core::Hashable @@ -2727,6 +2871,77 @@ module Google end end + # Software package information of the operating system. + class SoftwarePackage + include Google::Apis::Core::Hashable + + # Information related to the a standard versioned package. This includes package + # info for APT, Yum, Zypper, and Googet package managers. + # Corresponds to the JSON property `aptPackage` + # @return [Google::Apis::CloudassetV1::VersionedPackage] + attr_accessor :apt_package + + # Information related to the a standard versioned package. This includes package + # info for APT, Yum, Zypper, and Googet package managers. + # Corresponds to the JSON property `cosPackage` + # @return [Google::Apis::CloudassetV1::VersionedPackage] + attr_accessor :cos_package + + # Information related to the a standard versioned package. This includes package + # info for APT, Yum, Zypper, and Googet package managers. + # Corresponds to the JSON property `googetPackage` + # @return [Google::Apis::CloudassetV1::VersionedPackage] + attr_accessor :googet_package + + # 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 + # Corresponds to the JSON property `qfePackage` + # @return [Google::Apis::CloudassetV1::WindowsQuickFixEngineeringPackage] + attr_accessor :qfe_package + + # 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. + # Corresponds to the JSON property `wuaPackage` + # @return [Google::Apis::CloudassetV1::WindowsUpdatePackage] + attr_accessor :wua_package + + # Information related to the a standard versioned package. This includes package + # info for APT, Yum, Zypper, and Googet package managers. + # Corresponds to the JSON property `yumPackage` + # @return [Google::Apis::CloudassetV1::VersionedPackage] + attr_accessor :yum_package + + # Information related to the a standard versioned package. This includes package + # info for APT, Yum, Zypper, and Googet package managers. + # Corresponds to the JSON property `zypperPackage` + # @return [Google::Apis::CloudassetV1::VersionedPackage] + attr_accessor :zypper_package + + # Details related to a Zypper Patch. + # Corresponds to the JSON property `zypperPatch` + # @return [Google::Apis::CloudassetV1::ZypperPatch] + attr_accessor :zypper_patch + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @apt_package = args[:apt_package] if args.key?(:apt_package) + @cos_package = args[:cos_package] if args.key?(:cos_package) + @googet_package = args[:googet_package] if args.key?(:googet_package) + @qfe_package = args[:qfe_package] if args.key?(:qfe_package) + @wua_package = args[:wua_package] if args.key?(:wua_package) + @yum_package = args[:yum_package] if args.key?(:yum_package) + @zypper_package = args[:zypper_package] if args.key?(:zypper_package) + @zypper_patch = args[:zypper_patch] if args.key?(:zypper_patch) + end + end + # The `Status` type defines a logical error model that is suitable for different # programming environments, including REST APIs and RPC APIs. It is used by [ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of @@ -2876,6 +3091,210 @@ module Google @update_mask = args[:update_mask] if args.key?(:update_mask) end end + + # Information related to the a standard versioned package. This includes package + # info for APT, Yum, Zypper, and Googet package managers. + class VersionedPackage + include Google::Apis::Core::Hashable + + # The system architecture this package is intended for. + # Corresponds to the JSON property `architecture` + # @return [String] + attr_accessor :architecture + + # The name of the package. + # Corresponds to the JSON property `packageName` + # @return [String] + attr_accessor :package_name + + # The version of the package. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @architecture = args[:architecture] if args.key?(:architecture) + @package_name = args[:package_name] if args.key?(:package_name) + @version = args[:version] if args.key?(:version) + 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 + class WindowsQuickFixEngineeringPackage + include Google::Apis::Core::Hashable + + # A short textual description of the QFE update. + # Corresponds to the JSON property `caption` + # @return [String] + attr_accessor :caption + + # A textual description of the QFE update. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Unique identifier associated with a particular QFE update. + # Corresponds to the JSON property `hotFixId` + # @return [String] + attr_accessor :hot_fix_id + + # Date that the QFE update was installed. Mapped from installed_on field. + # Corresponds to the JSON property `installTime` + # @return [String] + attr_accessor :install_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @caption = args[:caption] if args.key?(:caption) + @description = args[:description] if args.key?(:description) + @hot_fix_id = args[:hot_fix_id] if args.key?(:hot_fix_id) + @install_time = args[:install_time] if args.key?(:install_time) + end + end + + # Categories specified by the Windows Update. + class WindowsUpdateCategory + include Google::Apis::Core::Hashable + + # The identifier of the windows update category. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The name of the windows update category. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + end + 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. + class WindowsUpdatePackage + include Google::Apis::Core::Hashable + + # The categories that are associated with this update package. + # Corresponds to the JSON property `categories` + # @return [Array] + attr_accessor :categories + + # The localized description of the update package. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # A collection of Microsoft Knowledge Base article IDs that are associated with + # the update package. + # Corresponds to the JSON property `kbArticleIds` + # @return [Array] + attr_accessor :kb_article_ids + + # The last published date of the update, in (UTC) date and time. + # Corresponds to the JSON property `lastDeploymentChangeTime` + # @return [String] + attr_accessor :last_deployment_change_time + + # A collection of URLs that provide more information about the update package. + # Corresponds to the JSON property `moreInfoUrls` + # @return [Array] + attr_accessor :more_info_urls + + # The revision number of this update package. + # Corresponds to the JSON property `revisionNumber` + # @return [Fixnum] + attr_accessor :revision_number + + # A hyperlink to the language-specific support information for the update. + # Corresponds to the JSON property `supportUrl` + # @return [String] + attr_accessor :support_url + + # The localized title of the update package. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # Gets the identifier of an update package. Stays the same across revisions. + # Corresponds to the JSON property `updateId` + # @return [String] + attr_accessor :update_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @categories = args[:categories] if args.key?(:categories) + @description = args[:description] if args.key?(:description) + @kb_article_ids = args[:kb_article_ids] if args.key?(:kb_article_ids) + @last_deployment_change_time = args[:last_deployment_change_time] if args.key?(:last_deployment_change_time) + @more_info_urls = args[:more_info_urls] if args.key?(:more_info_urls) + @revision_number = args[:revision_number] if args.key?(:revision_number) + @support_url = args[:support_url] if args.key?(:support_url) + @title = args[:title] if args.key?(:title) + @update_id = args[:update_id] if args.key?(:update_id) + end + end + + # Details related to a Zypper Patch. + class ZypperPatch + include Google::Apis::Core::Hashable + + # The category of the patch. + # Corresponds to the JSON property `category` + # @return [String] + attr_accessor :category + + # The name of the patch. + # Corresponds to the JSON property `patchName` + # @return [String] + attr_accessor :patch_name + + # The severity specified for this patch + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # Any summary information provided about this patch. + # Corresponds to the JSON property `summary` + # @return [String] + attr_accessor :summary + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @category = args[:category] if args.key?(:category) + @patch_name = args[:patch_name] if args.key?(:patch_name) + @severity = args[:severity] if args.key?(:severity) + @summary = args[:summary] if args.key?(:summary) + end + end end end end diff --git a/generated/google/apis/cloudasset_v1/representations.rb b/generated/google/apis/cloudasset_v1/representations.rb index 3766fa71c..692eaecbe 100644 --- a/generated/google/apis/cloudasset_v1/representations.rb +++ b/generated/google/apis/cloudasset_v1/representations.rb @@ -298,6 +298,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Inventory + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Item + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListFeedsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -316,6 +328,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OsInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OutputConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -376,6 +394,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SoftwarePackage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Status class Representation < Google::Apis::Core::JsonRepresentation; end @@ -400,6 +424,36 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class VersionedPackage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WindowsQuickFixEngineeringPackage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WindowsUpdateCategory + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WindowsUpdatePackage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ZypperPatch + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AccessSelector # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -443,6 +497,8 @@ module Google property :name, as: 'name' collection :org_policy, as: 'orgPolicy', class: Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1Policy, decorator: Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1Policy::Representation + property :os_inventory, as: 'osInventory', class: Google::Apis::CloudassetV1::Inventory, decorator: Google::Apis::CloudassetV1::Inventory::Representation + property :resource, as: 'resource', class: Google::Apis::CloudassetV1::Resource, decorator: Google::Apis::CloudassetV1::Resource::Representation property :service_perimeter, as: 'servicePerimeter', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter::Representation @@ -491,7 +547,6 @@ module Google class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation - property :binding_id, as: 'bindingId' property :condition, as: 'condition', class: Google::Apis::CloudassetV1::Expr, decorator: Google::Apis::CloudassetV1::Expr::Representation collection :members, as: 'members' @@ -876,6 +931,31 @@ module Google end end + class Inventory + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :items, as: 'items', class: Google::Apis::CloudassetV1::Item, decorator: Google::Apis::CloudassetV1::Item::Representation + + property :os_info, as: 'osInfo', class: Google::Apis::CloudassetV1::OsInfo, decorator: Google::Apis::CloudassetV1::OsInfo::Representation + + end + end + + class Item + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :available_package, as: 'availablePackage', class: Google::Apis::CloudassetV1::SoftwarePackage, decorator: Google::Apis::CloudassetV1::SoftwarePackage::Representation + + property :create_time, as: 'createTime' + property :id, as: 'id' + property :installed_package, as: 'installedPackage', class: Google::Apis::CloudassetV1::SoftwarePackage, decorator: Google::Apis::CloudassetV1::SoftwarePackage::Representation + + property :origin_type, as: 'originType' + property :type, as: 'type' + property :update_time, as: 'updateTime' + end + end + class ListFeedsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -908,6 +988,20 @@ module Google end end + class OsInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :architecture, as: 'architecture' + property :hostname, as: 'hostname' + property :kernel_release, as: 'kernelRelease' + property :kernel_version, as: 'kernelVersion' + property :long_name, as: 'longName' + property :osconfig_agent_version, as: 'osconfigAgentVersion' + property :short_name, as: 'shortName' + property :version, as: 'version' + end + end + class OutputConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1004,6 +1098,28 @@ module Google end end + class SoftwarePackage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :apt_package, as: 'aptPackage', class: Google::Apis::CloudassetV1::VersionedPackage, decorator: Google::Apis::CloudassetV1::VersionedPackage::Representation + + property :cos_package, as: 'cosPackage', class: Google::Apis::CloudassetV1::VersionedPackage, decorator: Google::Apis::CloudassetV1::VersionedPackage::Representation + + property :googet_package, as: 'googetPackage', class: Google::Apis::CloudassetV1::VersionedPackage, decorator: Google::Apis::CloudassetV1::VersionedPackage::Representation + + property :qfe_package, as: 'qfePackage', class: Google::Apis::CloudassetV1::WindowsQuickFixEngineeringPackage, decorator: Google::Apis::CloudassetV1::WindowsQuickFixEngineeringPackage::Representation + + property :wua_package, as: 'wuaPackage', class: Google::Apis::CloudassetV1::WindowsUpdatePackage, decorator: Google::Apis::CloudassetV1::WindowsUpdatePackage::Representation + + property :yum_package, as: 'yumPackage', class: Google::Apis::CloudassetV1::VersionedPackage, decorator: Google::Apis::CloudassetV1::VersionedPackage::Representation + + property :zypper_package, as: 'zypperPackage', class: Google::Apis::CloudassetV1::VersionedPackage, decorator: Google::Apis::CloudassetV1::VersionedPackage::Representation + + property :zypper_patch, as: 'zypperPatch', class: Google::Apis::CloudassetV1::ZypperPatch, decorator: Google::Apis::CloudassetV1::ZypperPatch::Representation + + end + end + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1043,6 +1159,59 @@ module Google property :update_mask, as: 'updateMask' end end + + class VersionedPackage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :architecture, as: 'architecture' + property :package_name, as: 'packageName' + property :version, as: 'version' + end + end + + class WindowsQuickFixEngineeringPackage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :caption, as: 'caption' + property :description, as: 'description' + property :hot_fix_id, as: 'hotFixId' + property :install_time, as: 'installTime' + end + end + + class WindowsUpdateCategory + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :name, as: 'name' + end + end + + class WindowsUpdatePackage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :categories, as: 'categories', class: Google::Apis::CloudassetV1::WindowsUpdateCategory, decorator: Google::Apis::CloudassetV1::WindowsUpdateCategory::Representation + + property :description, as: 'description' + collection :kb_article_ids, as: 'kbArticleIds' + property :last_deployment_change_time, as: 'lastDeploymentChangeTime' + collection :more_info_urls, as: 'moreInfoUrls' + property :revision_number, as: 'revisionNumber' + property :support_url, as: 'supportUrl' + property :title, as: 'title' + property :update_id, as: 'updateId' + end + end + + class ZypperPatch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :category, as: 'category' + property :patch_name, as: 'patchName' + property :severity, as: 'severity' + property :summary, as: 'summary' + end + end end end end diff --git a/generated/google/apis/cloudasset_v1/synth.metadata b/generated/google/apis/cloudasset_v1/synth.metadata index bfdcc4715..797965688 100644 --- a/generated/google/apis/cloudasset_v1/synth.metadata +++ b/generated/google/apis/cloudasset_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "14885a31971894de4c45841c7b2623b8e6d8e748" + "sha": "03fcbbc8def2b753f53e44325d3e089eec8ddb60" } } ]