Class: Google::Apis::ConnectorsV2::ExchangeAuthCodeResponse
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::ExchangeAuthCodeResponse
- 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
ExchangeAuthCodeResponse includes the returned access token and its associated credentials.
Instance Attribute Summary collapse
-
#access_credentials ⇒ Google::Apis::ConnectorsV2::AccessCredentials
AccessCredentials includes the OAuth access token, and the other fields returned along with it.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExchangeAuthCodeResponse
constructor
A new instance of ExchangeAuthCodeResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExchangeAuthCodeResponse
Returns a new instance of ExchangeAuthCodeResponse.
257 258 259 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 257 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_credentials ⇒ Google::Apis::ConnectorsV2::AccessCredentials
AccessCredentials includes the OAuth access token, and the other fields
returned along with it.
Corresponds to the JSON property accessCredentials
255 256 257 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 255 def access_credentials @access_credentials end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
262 263 264 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 262 def update!(**args) @access_credentials = args[:access_credentials] if args.key?(:access_credentials) end |