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.



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

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

Instance Attribute Details

#actorGoogle::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_timeString

Output only. The time when this escalation event was created. Corresponds to the JSON property createTime

Returns:

  • (String)


698
699
700
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 698

def create_time
  @create_time
end

#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)


704
705
706
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 704

def justification
  @justification
end

#nameString

Output only. The resource name for the escalation event. Corresponds to the JSON property name

Returns:

  • (String)


709
710
711
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 709

def name
  @name
end

#reasonString

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

Returns:

  • (String)


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