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
Overview
Request message for updating a finding's mute status.
Instance Attribute Summary collapse
-
#mute ⇒ String
Required.
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.
10689 10690 10691 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10689 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mute ⇒ String
Required. The desired state of the Mute.
Corresponds to the JSON property mute
10687 10688 10689 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10687 def mute @mute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10694 10695 10696 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10694 def update!(**args) @mute = args[:mute] if args.key?(:mute) end |