Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecurityBulletin
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecurityBulletin
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/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) ⇒ GoogleCloudSecuritycenterV2SecurityBulletin
constructor
A new instance of GoogleCloudSecuritycenterV2SecurityBulletin.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2SecurityBulletin
Returns a new instance of GoogleCloudSecuritycenterV2SecurityBulletin.
9533 9534 9535 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9533 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bulletin_id ⇒ String
Corresponds to the JSON property bulletinId
9521 9522 9523 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9521 def bulletin_id @bulletin_id end |
#submission_time ⇒ String
Corresponds to the JSON property submissionTime
9526 9527 9528 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9526 def submission_time @submission_time end |
#suggested_upgrade_version ⇒ String
Corresponds to the JSON property suggestedUpgradeVersion
9531 9532 9533 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9531 def suggested_upgrade_version @suggested_upgrade_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9538 9539 9540 9541 9542 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9538 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 |