Class: Google::Apis::SecuritycenterV1beta2::MuteInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MuteInfo

Returns a new instance of MuteInfo.



10222
10223
10224
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10222

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dynamic_mute_recordsArray<Google::Apis::SecuritycenterV1beta2::DynamicMuteRecord>

Corresponds to the JSON property dynamicMuteRecords



10215
10216
10217
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10215

def dynamic_mute_records
  @dynamic_mute_records
end

#static_muteGoogle::Apis::SecuritycenterV1beta2::StaticMute

Corresponds to the JSON property staticMute



10220
10221
10222
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10220

def static_mute
  @static_mute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10227
10228
10229
10230
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10227

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