Class: Google::Apis::SecuritycenterV1beta2::SecurityBulletin
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::SecurityBulletin
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Overview
SecurityBulletin are notifications of vulnerabilities of Google products.
Instance Attribute Summary collapse
-
#bulletin_id ⇒ String
ID of the bulletin corresponding to the vulnerability.
-
#submission_time ⇒ String
Submission time of this Security Bulletin.
-
#suggested_upgrade_version ⇒ String
This represents a version that the cluster receiving this notification should be upgraded to, based on its current version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityBulletin
constructor
A new instance of SecurityBulletin.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityBulletin
Returns a new instance of SecurityBulletin.
3575 3576 3577 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3575 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bulletin_id ⇒ String
ID of the bulletin corresponding to the vulnerability.
Corresponds to the JSON property bulletinId
3562 3563 3564 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3562 def bulletin_id @bulletin_id end |
#submission_time ⇒ String
Submission time of this Security Bulletin.
Corresponds to the JSON property submissionTime
3567 3568 3569 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3567 def submission_time @submission_time end |
#suggested_upgrade_version ⇒ String
This represents a version that the cluster receiving this notification should
be upgraded to, based on its current version. For example, 1.15.0
Corresponds to the JSON property suggestedUpgradeVersion
3573 3574 3575 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3573 def suggested_upgrade_version @suggested_upgrade_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3580 3581 3582 3583 3584 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3580 def update!(**args) @bulletin_id = args[:bulletin_id] if args.key?(:bulletin_id) @submission_time = args[:submission_time] if args.key?(:submission_time) @suggested_upgrade_version = args[:suggested_upgrade_version] if args.key?(:suggested_upgrade_version) end |