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
Instance Attribute Summary collapse
-
#bulletin_id ⇒ String
Corresponds to the JSON property
bulletinId. -
#submission_time ⇒ String
Corresponds to the JSON property
submissionTime. -
#suggested_upgrade_version ⇒ String
Corresponds to the JSON property
suggestedUpgradeVersion.
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.
11408 11409 11410 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11408 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bulletin_id ⇒ String
Corresponds to the JSON property bulletinId
11396 11397 11398 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11396 def bulletin_id @bulletin_id end |
#submission_time ⇒ String
Corresponds to the JSON property submissionTime
11401 11402 11403 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11401 def submission_time @submission_time end |
#suggested_upgrade_version ⇒ String
Corresponds to the JSON property suggestedUpgradeVersion
11406 11407 11408 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11406 def suggested_upgrade_version @suggested_upgrade_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11413 11414 11415 11416 11417 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11413 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 |