Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueMute
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueMute
- 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_initiator ⇒ String
Corresponds to the JSON property
muteInitiator. -
#mute_reason ⇒ String
Corresponds to the JSON property
muteReason. -
#mute_state ⇒ String
Corresponds to the JSON property
muteState. -
#mute_update_time ⇒ String
Corresponds to the JSON property
muteUpdateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueMute
constructor
A new instance of GoogleCloudSecuritycenterV2IssueMute.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueMute
Returns a new instance of GoogleCloudSecuritycenterV2IssueMute.
7848 7849 7850 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7848 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mute_initiator ⇒ String
Corresponds to the JSON property muteInitiator
7831 7832 7833 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7831 def mute_initiator @mute_initiator end |
#mute_reason ⇒ String
Corresponds to the JSON property muteReason
7836 7837 7838 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7836 def mute_reason @mute_reason end |
#mute_state ⇒ String
Corresponds to the JSON property muteState
7841 7842 7843 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7841 def mute_state @mute_state end |
#mute_update_time ⇒ String
Corresponds to the JSON property muteUpdateTime
7846 7847 7848 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7846 def mute_update_time @mute_update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7853 7854 7855 7856 7857 7858 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7853 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 |