Class: Google::Apis::SecuritycenterV1beta1::MuteInfo
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::MuteInfo
- 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
-
#dynamic_mute_records ⇒ Array<Google::Apis::SecuritycenterV1beta1::DynamicMuteRecord>
Corresponds to the JSON property
dynamicMuteRecords. -
#static_mute ⇒ Google::Apis::SecuritycenterV1beta1::StaticMute
Corresponds to the JSON property
staticMute.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MuteInfo
constructor
A new instance of MuteInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MuteInfo
Returns a new instance of MuteInfo.
10837 10838 10839 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10837 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dynamic_mute_records ⇒ Array<Google::Apis::SecuritycenterV1beta1::DynamicMuteRecord>
Corresponds to the JSON property dynamicMuteRecords
10830 10831 10832 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10830 def dynamic_mute_records @dynamic_mute_records end |
#static_mute ⇒ Google::Apis::SecuritycenterV1beta1::StaticMute
Corresponds to the JSON property staticMute
10835 10836 10837 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10835 def static_mute @static_mute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10842 10843 10844 10845 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10842 def update!(**args) @dynamic_mute_records = args[:dynamic_mute_records] if args.key?(:dynamic_mute_records) @static_mute = args[:static_mute] if args.key?(:static_mute) end |