Class: Google::Apis::CloudsupportV2beta::Escalation
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2beta::Escalation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb
Overview
An escalation of a support case.
Instance Attribute Summary collapse
-
#actor ⇒ Google::Apis::CloudsupportV2beta::Actor
An object containing information about the effective user and authenticated principal responsible for an action.
-
#create_time ⇒ String
Output only.
-
#justification ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#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.
722 723 724 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 722 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actor ⇒ Google::Apis::CloudsupportV2beta::Actor
An object containing information about the effective user and authenticated
principal responsible for an action.
Corresponds to the JSON property actor
699 700 701 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 699 def actor @actor end |
#create_time ⇒ String
Output only. The time when this escalation event was created.
Corresponds to the JSON property createTime
704 705 706 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 704 def create_time @create_time end |
#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
710 711 712 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 710 def justification @justification end |
#name ⇒ String
Output only. The resource name for the escalation event.
Corresponds to the JSON property name
715 716 717 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 715 def name @name end |
#reason ⇒ String
Required. The reason why the Case is being escalated.
Corresponds to the JSON property reason
720 721 722 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 720 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
727 728 729 730 731 732 733 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 727 def update!(**args) @actor = args[:actor] if args.key?(:actor) @create_time = args[:create_time] if args.key?(:create_time) @justification = args[:justification] if args.key?(:justification) @name = args[:name] if args.key?(:name) @reason = args[:reason] if args.key?(:reason) end |