Class: Google::Apis::OsconfigV1alpha::InventoryWindowsUpdatePackage
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1alpha::InventoryWindowsUpdatePackage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1alpha/classes.rb,
lib/google/apis/osconfig_v1alpha/representations.rb,
lib/google/apis/osconfig_v1alpha/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#categories ⇒ Array<Google::Apis::OsconfigV1alpha::InventoryWindowsUpdatePackageWindowsUpdateCategory>
The categories that are associated with this update package.
-
#description ⇒ String
The localized description of the update package.
-
#kb_article_ids ⇒ Array<String>
A collection of Microsoft Knowledge Base article IDs that are associated with the update package.
-
#last_deployment_change_time ⇒ String
The last published date of the update, in (UTC) date and time.
-
#more_info_urls ⇒ Array<String>
A collection of URLs that provide more information about the update package.
-
#revision_number ⇒ Fixnum
The revision number of this update package.
-
#support_url ⇒ String
A hyperlink to the language-specific support information for the update.
-
#title ⇒ String
The localized title of the update package.
-
#update_id ⇒ String
Gets the identifier of an update package.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InventoryWindowsUpdatePackage
constructor
A new instance of InventoryWindowsUpdatePackage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InventoryWindowsUpdatePackage
Returns a new instance of InventoryWindowsUpdatePackage.
796 797 798 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 796 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categories ⇒ Array<Google::Apis::OsconfigV1alpha::InventoryWindowsUpdatePackageWindowsUpdateCategory>
The categories that are associated with this update package.
Corresponds to the JSON property categories
753 754 755 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 753 def categories @categories end |
#description ⇒ String
The localized description of the update package.
Corresponds to the JSON property description
758 759 760 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 758 def description @description end |
#kb_article_ids ⇒ Array<String>
A collection of Microsoft Knowledge Base article IDs that are associated with
the update package.
Corresponds to the JSON property kbArticleIds
764 765 766 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 764 def kb_article_ids @kb_article_ids end |
#last_deployment_change_time ⇒ String
The last published date of the update, in (UTC) date and time.
Corresponds to the JSON property lastDeploymentChangeTime
769 770 771 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 769 def last_deployment_change_time @last_deployment_change_time end |
#more_info_urls ⇒ Array<String>
A collection of URLs that provide more information about the update package.
Corresponds to the JSON property moreInfoUrls
774 775 776 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 774 def more_info_urls @more_info_urls end |
#revision_number ⇒ Fixnum
The revision number of this update package.
Corresponds to the JSON property revisionNumber
779 780 781 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 779 def revision_number @revision_number end |
#support_url ⇒ String
A hyperlink to the language-specific support information for the update.
Corresponds to the JSON property supportUrl
784 785 786 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 784 def support_url @support_url end |
#title ⇒ String
The localized title of the update package.
Corresponds to the JSON property title
789 790 791 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 789 def title @title end |
#update_id ⇒ String
Gets the identifier of an update package. Stays the same across revisions.
Corresponds to the JSON property updateId
794 795 796 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 794 def update_id @update_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
801 802 803 804 805 806 807 808 809 810 811 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 801 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 |