Class: Google::Apis::CloudsupportV2::Escalation
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2::Escalation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2/classes.rb,
lib/google/apis/cloudsupport_v2/representations.rb,
lib/google/apis/cloudsupport_v2/representations.rb
Overview
An escalation of a support case.
Instance Attribute Summary collapse
-
#justification ⇒ String
Required.
-
#reason ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Escalation
constructor
A new instance of Escalation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Escalation
Returns a new instance of Escalation.
755 756 757 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 755 def initialize(**args) update!(**args) end |
Instance Attribute Details
#justification ⇒ String
Required. A free text description to accompany the reason field above.
Provides additional context on why the case is being escalated.
Corresponds to the JSON property justification
748 749 750 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 748 def justification @justification end |
#reason ⇒ String
Required. The reason why the Case is being escalated.
Corresponds to the JSON property reason
753 754 755 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 753 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
760 761 762 763 |
# File 'lib/google/apis/cloudsupport_v2/classes.rb', line 760 def update!(**args) @justification = args[:justification] if args.key?(:justification) @reason = args[:reason] if args.key?(:reason) end |