Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DynamicMuteRecord
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DynamicMuteRecord
- 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
The record of a dynamic mute rule that matches the finding.
Instance Attribute Summary collapse
-
#match_time ⇒ String
When the dynamic mute rule first matched the finding.
-
#mute_config ⇒ String
The relative resource name of the mute rule, represented by a mute config, that created this record, for example
organizations/123/muteConfigs/ mymuteconfigororganizations/123/locations/global/muteConfigs/mymuteconfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DynamicMuteRecord
constructor
A new instance of GoogleCloudSecuritycenterV2DynamicMuteRecord.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DynamicMuteRecord
Returns a new instance of GoogleCloudSecuritycenterV2DynamicMuteRecord.
5198 5199 5200 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5198 def initialize(**args) update!(**args) end |
Instance Attribute Details
#match_time ⇒ String
When the dynamic mute rule first matched the finding.
Corresponds to the JSON property matchTime
5189 5190 5191 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5189 def match_time @match_time end |
#mute_config ⇒ String
The relative resource name of the mute rule, represented by a mute config,
that created this record, for example organizations/123/muteConfigs/
mymuteconfig or organizations/123/locations/global/muteConfigs/mymuteconfig.
Corresponds to the JSON property muteConfig
5196 5197 5198 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5196 def mute_config @mute_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5203 5204 5205 5206 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5203 def update!(**args) @match_time = args[:match_time] if args.key?(:match_time) @mute_config = args[:mute_config] if args.key?(:mute_config) end |