Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DynamicMuteRecord
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DynamicMuteRecord
- 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) ⇒ 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.
5967 5968 5969 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5967 def initialize(**args) update!(**args) end |
Instance Attribute Details
#match_time ⇒ String
Corresponds to the JSON property matchTime
5960 5961 5962 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5960 def match_time @match_time end |
#mute_config ⇒ String
Corresponds to the JSON property muteConfig
5965 5966 5967 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5965 def mute_config @mute_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5972 5973 5974 5975 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5972 def update!(**args) @match_time = args[:match_time] if args.key?(:match_time) @mute_config = args[:mute_config] if args.key?(:mute_config) end |