Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DynamicMuteRecord

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DynamicMuteRecord

Returns a new instance of GoogleCloudSecuritycenterV2DynamicMuteRecord.



6277
6278
6279
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6277

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

Instance Attribute Details

#match_timeString

Corresponds to the JSON property matchTime

Returns:

  • (String)


6270
6271
6272
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6270

def match_time
  @match_time
end

#mute_configString

Corresponds to the JSON property muteConfig

Returns:

  • (String)


6275
6276
6277
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6275

def mute_config
  @mute_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6282
6283
6284
6285
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6282

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