Class: Google::Apis::ContaineranalysisV1::WindowsUpdate

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WindowsUpdate

Returns a new instance of WindowsUpdate.



6839
6840
6841
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6839

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#categoriesArray<Google::Apis::ContaineranalysisV1::Category>

The list of categories to which the update belongs. Corresponds to the JSON property categories



6807
6808
6809
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6807

def categories
  @categories
end

#descriptionString

The localized description of the update. Corresponds to the JSON property description

Returns:

  • (String)


6812
6813
6814
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6812

def description
  @description
end

#identityGoogle::Apis::ContaineranalysisV1::Identity

The unique identifier of the update. Corresponds to the JSON property identity



6817
6818
6819
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6817

def identity
  @identity
end

#kb_article_idsArray<String>

The Microsoft Knowledge Base article IDs that are associated with the update. Corresponds to the JSON property kbArticleIds

Returns:

  • (Array<String>)


6822
6823
6824
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6822

def kb_article_ids
  @kb_article_ids
end

#last_published_timestampString

The last published timestamp of the update. Corresponds to the JSON property lastPublishedTimestamp

Returns:

  • (String)


6827
6828
6829
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6827

def last_published_timestamp
  @last_published_timestamp
end

#support_urlString

The hyperlink to the support information for the update. Corresponds to the JSON property supportUrl

Returns:

  • (String)


6832
6833
6834
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6832

def support_url
  @support_url
end

#titleString

The localized title of the update. Corresponds to the JSON property title

Returns:

  • (String)


6837
6838
6839
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6837

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6844
6845
6846
6847
6848
6849
6850
6851
6852
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6844

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