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.



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

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



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

def actor
  @actor
end

#create_timeString

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

Returns:

  • (String)


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

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)


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

def justification
  @justification
end

#nameString

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

Returns:

  • (String)


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

def name
  @name
end

#reasonString

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

Returns:

  • (String)


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