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.
716 717 718 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 716 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
693 694 695 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 693 def actor @actor end |
#create_time ⇒ String
Output only. The time when this escalation event was created.
Corresponds to the JSON property createTime
698 699 700 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 698 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
704 705 706 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 704 def justification @justification end |
#name ⇒ String
Output only. The resource name for the escalation event.
Corresponds to the JSON property name
709 710 711 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 709 def name @name end |
#reason ⇒ String
Required. The reason why the Case is being escalated.
Corresponds to the JSON property reason
714 715 716 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 714 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
721 722 723 724 725 726 727 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 721 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 |