Class: Google::Apis::ConnectorsV2::ExchangeAuthCodeRequest
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::ExchangeAuthCodeRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v2/classes.rb,
lib/google/apis/connectors_v2/representations.rb,
lib/google/apis/connectors_v2/representations.rb
Overview
ExchangeAuthCodeRequest currently includes the auth code data.
Instance Attribute Summary collapse
-
#auth_code_data ⇒ Google::Apis::ConnectorsV2::AuthCodeData
AuthCodeData contains the data the runtime plane will give the connector backend in exchange for access and refresh tokens.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExchangeAuthCodeRequest
constructor
A new instance of ExchangeAuthCodeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExchangeAuthCodeRequest
Returns a new instance of ExchangeAuthCodeRequest.
398 399 400 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 398 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_code_data ⇒ Google::Apis::ConnectorsV2::AuthCodeData
AuthCodeData contains the data the runtime plane will give the connector
backend in exchange for access and refresh tokens.
Corresponds to the JSON property authCodeData
396 397 398 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 396 def auth_code_data @auth_code_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
403 404 405 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 403 def update!(**args) @auth_code_data = args[:auth_code_data] if args.key?(:auth_code_data) end |