Class: Google::Apis::ContaineranalysisV1::KnowledgeBase
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::KnowledgeBase
- 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
Instance Attribute Summary collapse
-
#name ⇒ String
The KB name (generally of the form KB[0-9]+ (e.g., KB123456)).
-
#url ⇒ String
A link to the KB in the Windows update catalog.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KnowledgeBase
constructor
A new instance of KnowledgeBase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ KnowledgeBase
Returns a new instance of KnowledgeBase.
3506 3507 3508 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3506 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The KB name (generally of the form KB[0-9]+ (e.g., KB123456)).
Corresponds to the JSON property name
3498 3499 3500 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3498 def name @name end |
#url ⇒ String
A link to the KB in the Windows update catalog.
Corresponds to the JSON property url
3504 3505 3506 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3504 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3511 3512 3513 3514 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3511 def update!(**args) @name = args[:name] if args.key?(:name) @url = args[:url] if args.key?(:url) end |