Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2DynamicMuteRecord
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2DynamicMuteRecord
- 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
-
#match_time ⇒ String
Corresponds to the JSON property
matchTime. -
#mute_config ⇒ String
Corresponds to the JSON property
muteConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DynamicMuteRecord
constructor
A new instance of GoogleCloudSecuritycenterV2DynamicMuteRecord.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DynamicMuteRecord
Returns a new instance of GoogleCloudSecuritycenterV2DynamicMuteRecord.
6148 6149 6150 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6148 def initialize(**args) update!(**args) end |
Instance Attribute Details
#match_time ⇒ String
Corresponds to the JSON property matchTime
6141 6142 6143 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6141 def match_time @match_time end |
#mute_config ⇒ String
Corresponds to the JSON property muteConfig
6146 6147 6148 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6146 def mute_config @mute_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6153 6154 6155 6156 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6153 def update!(**args) @match_time = args[:match_time] if args.key?(:match_time) @mute_config = args[:mute_config] if args.key?(:mute_config) end |