Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2MuteInfo
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2MuteInfo
- 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
Overview
Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.
Instance Attribute Summary collapse
-
#dynamic_mute_records ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2DynamicMuteRecord>
The list of dynamic mute rules that currently match the finding.
-
#static_mute ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2StaticMute
Information about the static mute state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2MuteInfo
constructor
A new instance of GoogleCloudSecuritycenterV2MuteInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2MuteInfo
Returns a new instance of GoogleCloudSecuritycenterV2MuteInfo.
7207 7208 7209 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7207 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dynamic_mute_records ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2DynamicMuteRecord>
The list of dynamic mute rules that currently match the finding.
Corresponds to the JSON property dynamicMuteRecords
7198 7199 7200 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7198 def dynamic_mute_records @dynamic_mute_records end |
#static_mute ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2StaticMute
Information about the static mute state. A static mute state overrides any
dynamic mute rules that apply to this finding. The static mute state can be
set by a static mute rule or by muting the finding directly.
Corresponds to the JSON property staticMute
7205 7206 7207 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7205 def static_mute @static_mute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7212 7213 7214 7215 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7212 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 |