Class: Google::Apis::SecuritycenterV1::MuteInfo
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::MuteInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#dynamic_mute_records ⇒ Array<Google::Apis::SecuritycenterV1::DynamicMuteRecord>
Corresponds to the JSON property
dynamicMuteRecords. -
#static_mute ⇒ Google::Apis::SecuritycenterV1::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.
11444 11445 11446 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dynamic_mute_records ⇒ Array<Google::Apis::SecuritycenterV1::DynamicMuteRecord>
Corresponds to the JSON property dynamicMuteRecords
11437 11438 11439 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11437 def dynamic_mute_records @dynamic_mute_records end |
#static_mute ⇒ Google::Apis::SecuritycenterV1::StaticMute
Corresponds to the JSON property staticMute
11442 11443 11444 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11442 def static_mute @static_mute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11449 11450 11451 11452 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11449 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 |