Class: Google::Apis::DeveloperconnectV1::ExchangeError
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperconnectV1::ExchangeError
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/developerconnect_v1/classes.rb,
lib/google/apis/developerconnect_v1/representations.rb,
lib/google/apis/developerconnect_v1/representations.rb
Overview
Message for representing an error from exchanging OAuth tokens.
Instance Attribute Summary collapse
-
#code ⇒ String
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error Corresponds to the JSON property
code. -
#description ⇒ String
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description Corresponds to the JSON property
description.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExchangeError
constructor
A new instance of ExchangeError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExchangeError
Returns a new instance of ExchangeError.
804 805 806 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 804 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error
Corresponds to the JSON property code
797 798 799 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 797 def code @code end |
#description ⇒ String
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description
Corresponds to the JSON property description
802 803 804 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 802 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
809 810 811 812 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 809 def update!(**args) @code = args[:code] if args.key?(:code) @description = args[:description] if args.key?(:description) end |