Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::FetchAccessTokenResponse.
Message for responding to getting an OAuth access token.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#exchange_error
def exchange_error() -> ::Google::Cloud::DeveloperConnect::V1::ExchangeError
Returns
- (::Google::Cloud::DeveloperConnect::V1::ExchangeError) — The error resulted from exchanging OAuth tokens from the service provider.
#exchange_error=
def exchange_error=(value) -> ::Google::Cloud::DeveloperConnect::V1::ExchangeError
Parameter
- value (::Google::Cloud::DeveloperConnect::V1::ExchangeError) — The error resulted from exchanging OAuth tokens from the service provider.
Returns
- (::Google::Cloud::DeveloperConnect::V1::ExchangeError) — The error resulted from exchanging OAuth tokens from the service provider.
#expiration_time
def expiration_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Expiration timestamp. Can be empty if unknown or non-expiring.
#expiration_time=
def expiration_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Expiration timestamp. Can be empty if unknown or non-expiring.
Returns
- (::Google::Protobuf::Timestamp) — Expiration timestamp. Can be empty if unknown or non-expiring.
#scopes
def scopes() -> ::Array<::String>
Returns
- (::Array<::String>) — The scopes of the access token.
#scopes=
def scopes=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The scopes of the access token.
Returns
- (::Array<::String>) — The scopes of the access token.
#token
def token() -> ::String
Returns
- (::String) — The token content.
#token=
def token=(value) -> ::String
Parameter
- value (::String) — The token content.
Returns
- (::String) — The token content.