Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::FetchAccessTokenResponse (v1.2.0)

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

#exchange_error=

def exchange_error=(value) -> ::Google::Cloud::DeveloperConnect::V1::ExchangeError
Parameter
Returns

#expiration_time

def expiration_time() -> ::Google::Protobuf::Timestamp
Returns

#expiration_time=

def expiration_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#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.