Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2MuteInfo

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) ⇒ GoogleCloudSecuritycenterV2MuteInfo

Returns a new instance of GoogleCloudSecuritycenterV2MuteInfo.



8163
8164
8165
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8163

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

Instance Attribute Details

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

Corresponds to the JSON property dynamicMuteRecords



8156
8157
8158
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8156

def dynamic_mute_records
  @dynamic_mute_records
end

#static_muteGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2StaticMute

Corresponds to the JSON property staticMute



8161
8162
8163
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8161

def static_mute
  @static_mute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8168
8169
8170
8171
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8168

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