Class: Google::Apis::CloudsupportV2beta::Escalation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Escalation

Returns a new instance of Escalation.



724
725
726
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 724

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#justificationString

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

Returns:

  • (String)


717
718
719
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 717

def justification
  @justification
end

#reasonString

Required. The reason why the Case is being escalated. Corresponds to the JSON property reason

Returns:

  • (String)


722
723
724
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 722

def reason
  @reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



729
730
731
732
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 729

def update!(**args)
  @justification = args[:justification] if args.key?(:justification)
  @reason = args[:reason] if args.key?(:reason)
end