Class: Google::Apis::AlertcenterV1beta1::SupportTicket

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb

Overview

Support ticket related to Access Approvals request

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SupportTicket

Returns a new instance of SupportTicket.



2104
2105
2106
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2104

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

Instance Attribute Details

#ticket_idString

Support ticket ID Corresponds to the JSON property ticketId

Returns:

  • (String)


2097
2098
2099
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2097

def ticket_id
  @ticket_id
end

#ticket_urlString

Link to support ticket Corresponds to the JSON property ticketUrl

Returns:

  • (String)


2102
2103
2104
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2102

def ticket_url
  @ticket_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2109
2110
2111
2112
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2109

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