Class: Google::Apis::ContaineranalysisV1beta1::KnowledgeBase
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::KnowledgeBase
- Defined in:
- generated/google/apis/containeranalysis_v1beta1/classes.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#name ⇒ String
The KB name (generally of the form KB[0-9]+ i.e. KB123456).
-
#url ⇒ String
A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/ Corresponds to the JSON property
url
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KnowledgeBase
constructor
A new instance of KnowledgeBase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ KnowledgeBase
Returns a new instance of KnowledgeBase.
1867 1868 1869 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1867 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The KB name (generally of the form KB[0-9]+ i.e. KB123456).
Corresponds to the JSON property name
1859 1860 1861 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1859 def name @name end |
#url ⇒ String
A link to the KB in the Windows update catalog -
https://www.catalog.update.microsoft.com/
Corresponds to the JSON property url
1865 1866 1867 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1865 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1872 1873 1874 1875 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1872 def update!(**args) @name = args[:name] if args.key?(:name) @url = args[:url] if args.key?(:url) end |