Class: Google::Apis::SecuritycenterV1::DynamicMuteRecord

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DynamicMuteRecord

Returns a new instance of DynamicMuteRecord.



2415
2416
2417
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2415

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

Instance Attribute Details

#match_timeString

Corresponds to the JSON property matchTime

Returns:

  • (String)


2408
2409
2410
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2408

def match_time
  @match_time
end

#mute_configString

Corresponds to the JSON property muteConfig

Returns:

  • (String)


2413
2414
2415
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2413

def mute_config
  @mute_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2420
2421
2422
2423
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2420

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