Class: Google::Apis::AlertcenterV1beta1::SupportTicket
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::SupportTicket
- 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
-
#ticket_id ⇒ String
Support ticket ID Corresponds to the JSON property
ticketId
. -
#ticket_url ⇒ String
Link to support ticket Corresponds to the JSON property
ticketUrl
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SupportTicket
constructor
A new instance of SupportTicket.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
Support ticket ID
Corresponds to the JSON property ticketId
2128 2129 2130 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2128 def ticket_id @ticket_id end |
#ticket_url ⇒ String
Link to support ticket
Corresponds to the JSON property ticketUrl
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 |