Class: Google::Apis::SecuritycenterV1::SetMuteRequest
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::SetMuteRequest
- 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
-
#mute ⇒ String
Corresponds to the JSON property
mute.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetMuteRequest
constructor
A new instance of SetMuteRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SetMuteRequest
Returns a new instance of SetMuteRequest.
12867 12868 12869 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12867 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mute ⇒ String
Corresponds to the JSON property mute
12865 12866 12867 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12865 def mute @mute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12872 12873 12874 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12872 def update!(**args) @mute = args[:mute] if args.key?(:mute) end |