Class: Google::Apis::SecuritycenterV1beta2::DynamicMuteRecord
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::DynamicMuteRecord
- 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
-
#match_time ⇒ String
Corresponds to the JSON property
matchTime. -
#mute_config ⇒ String
Corresponds to the JSON property
muteConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DynamicMuteRecord
constructor
A new instance of DynamicMuteRecord.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DynamicMuteRecord
Returns a new instance of DynamicMuteRecord.
1925 1926 1927 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1925 def initialize(**args) update!(**args) end |
Instance Attribute Details
#match_time ⇒ String
Corresponds to the JSON property matchTime
1918 1919 1920 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1918 def match_time @match_time end |
#mute_config ⇒ String
Corresponds to the JSON property muteConfig
1923 1924 1925 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1923 def mute_config @mute_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1930 1931 1932 1933 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1930 def update!(**args) @match_time = args[:match_time] if args.key?(:match_time) @mute_config = args[:mute_config] if args.key?(:mute_config) end |