Class: Google::Apis::CloudassetV1::WindowsUpdatePackage
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::WindowsUpdatePackage
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/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::CloudassetV1::WindowsUpdateCategory>
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) ⇒ WindowsUpdatePackage
constructor
A new instance of WindowsUpdatePackage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WindowsUpdatePackage
Returns a new instance of WindowsUpdatePackage.
5020 5021 5022 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5020 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categories ⇒ Array<Google::Apis::CloudassetV1::WindowsUpdateCategory>
The categories that are associated with this update package.
Corresponds to the JSON property categories
4977 4978 4979 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4977 def categories @categories end |
#description ⇒ String
The localized description of the update package.
Corresponds to the JSON property description
4982 4983 4984 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4982 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
4988 4989 4990 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4988 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
4993 4994 4995 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4993 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
4998 4999 5000 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4998 def more_info_urls @more_info_urls end |
#revision_number ⇒ Fixnum
The revision number of this update package.
Corresponds to the JSON property revisionNumber
5003 5004 5005 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5003 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
5008 5009 5010 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5008 def support_url @support_url end |
#title ⇒ String
The localized title of the update package.
Corresponds to the JSON property title
5013 5014 5015 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5013 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
5018 5019 5020 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5018 def update_id @update_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5025 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 |