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.



2135
2136
2137
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2135

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

Instance Attribute Details

#ticket_idString

Support ticket ID Corresponds to the JSON property ticketId

Returns:

  • (String)


2128
2129
2130
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2128

def ticket_id
  @ticket_id
end

#ticket_urlString

Link to support ticket Corresponds to the JSON property ticketUrl

Returns:

  • (String)


2133
2134
2135
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2133

def ticket_url
  @ticket_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2140
2141
2142
2143
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2140

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