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.
796 797 798 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 796 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
789 790 791 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 789 def code @code end |
#description ⇒ String
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description
Corresponds to the JSON property description
794 795 796 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 794 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
801 802 803 804 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 801 def update!(**args) @code = args[:code] if args.key?(:code) @description = args[:description] if args.key?(:description) end |