Class: Google::Apis::ConnectorsV2::RefreshAccessTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::RefreshAccessTokenResponse
- 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
RefreshAccessTokenResponse 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) ⇒ RefreshAccessTokenResponse
constructor
A new instance of RefreshAccessTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RefreshAccessTokenResponse
Returns a new instance of RefreshAccessTokenResponse.
769 770 771 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 769 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
767 768 769 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 767 def access_credentials @access_credentials end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
774 775 776 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 774 def update!(**args) @access_credentials = args[:access_credentials] if args.key?(:access_credentials) end |