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.
8239 8240 8241 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mute_initiator ⇒ String
Corresponds to the JSON property muteInitiator
8222 8223 8224 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8222 def mute_initiator @mute_initiator end |
#mute_reason ⇒ String
Corresponds to the JSON property muteReason
8227 8228 8229 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8227 def mute_reason @mute_reason end |
#mute_state ⇒ String
Corresponds to the JSON property muteState
8232 8233 8234 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8232 def mute_state @mute_state end |
#mute_update_time ⇒ String
Corresponds to the JSON property muteUpdateTime
8237 8238 8239 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8237 def mute_update_time @mute_update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8244 8245 8246 8247 8248 8249 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8244 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 |