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.



2297
2298
2299
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2297

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

Instance Attribute Details

#match_timeString

Corresponds to the JSON property matchTime

Returns:

  • (String)


2290
2291
2292
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2290

def match_time
  @match_time
end

#mute_configString

Corresponds to the JSON property muteConfig

Returns:

  • (String)


2295
2296
2297
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2295

def mute_config
  @mute_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2302
2303
2304
2305
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2302

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