Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueMute

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb

Overview

The mute information of the issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueMute

Returns a new instance of GoogleCloudSecuritycenterV2IssueMute.



6566
6567
6568
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6566

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

Instance Attribute Details

#mute_initiatorString

The email address of the user who last changed the mute state of the issue. Corresponds to the JSON property muteInitiator

Returns:

  • (String)


6549
6550
6551
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6549

def mute_initiator
  @mute_initiator
end

#mute_reasonString

The user-provided reason for muting the issue. Corresponds to the JSON property muteReason

Returns:

  • (String)


6554
6555
6556
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6554

def mute_reason
  @mute_reason
end

#mute_stateString

Output only. The mute state of the issue. Corresponds to the JSON property muteState

Returns:

  • (String)


6559
6560
6561
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6559

def mute_state
  @mute_state
end

#mute_update_timeString

The time the issue was muted. Corresponds to the JSON property muteUpdateTime

Returns:

  • (String)


6564
6565
6566
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6564

def mute_update_time
  @mute_update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6571
6572
6573
6574
6575
6576
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6571

def update!(**args)
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
  @mute_reason = args[:mute_reason] if args.key?(:mute_reason)
  @mute_state = args[:mute_state] if args.key?(:mute_state)
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
end