Class: Google::Apis::OndemandscanningV1beta1::WindowsUpdate
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::WindowsUpdate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb
Overview
Windows Update represents the metadata about the update for the Windows operating system. The fields in this message come from the Windows Update API documented at https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn- wuapi-iupdate.
Instance Attribute Summary collapse
-
#categories ⇒ Array<Google::Apis::OndemandscanningV1beta1::Category>
The list of categories to which the update belongs.
-
#description ⇒ String
The localized description of the update.
-
#identity ⇒ Google::Apis::OndemandscanningV1beta1::Identity
The unique identifier of the update.
-
#kb_article_ids ⇒ Array<String>
The Microsoft Knowledge Base article IDs that are associated with the update.
-
#last_published_timestamp ⇒ String
The last published timestamp of the update.
-
#support_url ⇒ String
The hyperlink to the support information for the update.
-
#title ⇒ String
The localized title of the update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WindowsUpdate
constructor
A new instance of WindowsUpdate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WindowsUpdate
Returns a new instance of WindowsUpdate.
2233 2234 2235 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categories ⇒ Array<Google::Apis::OndemandscanningV1beta1::Category>
The list of categories to which the update belongs.
Corresponds to the JSON property categories
2201 2202 2203 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2201 def categories @categories end |
#description ⇒ String
The localized description of the update.
Corresponds to the JSON property description
2206 2207 2208 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2206 def description @description end |
#identity ⇒ Google::Apis::OndemandscanningV1beta1::Identity
The unique identifier of the update.
Corresponds to the JSON property identity
2211 2212 2213 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2211 def identity @identity end |
#kb_article_ids ⇒ Array<String>
The Microsoft Knowledge Base article IDs that are associated with the update.
Corresponds to the JSON property kbArticleIds
2216 2217 2218 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2216 def kb_article_ids @kb_article_ids end |
#last_published_timestamp ⇒ String
The last published timestamp of the update.
Corresponds to the JSON property lastPublishedTimestamp
2221 2222 2223 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2221 def @last_published_timestamp end |
#support_url ⇒ String
The hyperlink to the support information for the update.
Corresponds to the JSON property supportUrl
2226 2227 2228 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2226 def support_url @support_url end |
#title ⇒ String
The localized title of the update.
Corresponds to the JSON property title
2231 2232 2233 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2231 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2238 2239 2240 2241 2242 2243 2244 2245 2246 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2238 def update!(**args) @categories = args[:categories] if args.key?(:categories) @description = args[:description] if args.key?(:description) @identity = args[:identity] if args.key?(:identity) @kb_article_ids = args[:kb_article_ids] if args.key?(:kb_article_ids) @last_published_timestamp = args[:last_published_timestamp] if args.key?(:last_published_timestamp) @support_url = args[:support_url] if args.key?(:support_url) @title = args[:title] if args.key?(:title) end |