Class: Google::Apis::SecuritycenterV1beta2::MuteInfo
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::MuteInfo
- 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
-
#dynamic_mute_records ⇒ Array<Google::Apis::SecuritycenterV1beta2::DynamicMuteRecord>
Corresponds to the JSON property
dynamicMuteRecords. -
#static_mute ⇒ Google::Apis::SecuritycenterV1beta2::StaticMute
Corresponds to the JSON property
staticMute.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MuteInfo
constructor
A new instance of MuteInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MuteInfo
Returns a new instance of MuteInfo.
10210 10211 10212 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dynamic_mute_records ⇒ Array<Google::Apis::SecuritycenterV1beta2::DynamicMuteRecord>
Corresponds to the JSON property dynamicMuteRecords
10203 10204 10205 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10203 def dynamic_mute_records @dynamic_mute_records end |
#static_mute ⇒ Google::Apis::SecuritycenterV1beta2::StaticMute
Corresponds to the JSON property staticMute
10208 10209 10210 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10208 def static_mute @static_mute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10215 10216 10217 10218 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10215 def update!(**args) @dynamic_mute_records = args[:dynamic_mute_records] if args.key?(:dynamic_mute_records) @static_mute = args[:static_mute] if args.key?(:static_mute) end |