Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2DynamicMuteRecord

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DynamicMuteRecord

Returns a new instance of GoogleCloudSecuritycenterV2DynamicMuteRecord.



6204
6205
6206
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6204

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

Instance Attribute Details

#match_timeString

Corresponds to the JSON property matchTime

Returns:

  • (String)


6197
6198
6199
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6197

def match_time
  @match_time
end

#mute_configString

Corresponds to the JSON property muteConfig

Returns:

  • (String)


6202
6203
6204
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6202

def mute_config
  @mute_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6209
6210
6211
6212
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6209

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