Class: Google::Apis::SecuritycenterV1::SetMuteRequest

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SetMuteRequest

Returns a new instance of SetMuteRequest.



10677
10678
10679
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10677

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

Instance Attribute Details

#muteString

Required. The desired state of the Mute. Corresponds to the JSON property mute

Returns:

  • (String)


10675
10676
10677
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10675

def mute
  @mute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10682
10683
10684
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10682

def update!(**args)
  @mute = args[:mute] if args.key?(:mute)
end