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.



6154
6155
6156
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6154

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

Instance Attribute Details

#match_timeString

Corresponds to the JSON property matchTime

Returns:

  • (String)


6147
6148
6149
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6147

def match_time
  @match_time
end

#mute_configString

Corresponds to the JSON property muteConfig

Returns:

  • (String)


6152
6153
6154
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6152

def mute_config
  @mute_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6159
6160
6161
6162
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6159

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