Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DynamicMuteRecord

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb

Overview

The record of a dynamic mute rule that matches the finding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DynamicMuteRecord

Returns a new instance of GoogleCloudSecuritycenterV2DynamicMuteRecord.



5658
5659
5660
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5658

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#match_timeString

When the dynamic mute rule first matched the finding. Corresponds to the JSON property matchTime

Returns:

  • (String)


5649
5650
5651
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5649

def match_time
  @match_time
end

#mute_configString

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

Returns:

  • (String)


5656
5657
5658
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5656

def mute_config
  @mute_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5663
5664
5665
5666
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5663

def update!(**args)
  @match_time = args[:match_time] if args.key?(:match_time)
  @mute_config = args[:mute_config] if args.key?(:mute_config)
end