Class: Google::Cloud::DeveloperConnect::V1::FetchAccessTokenResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/developerconnect/v1/developer_connect.rb

Overview

Message for responding to getting an OAuth access token.

Instance Attribute Summary collapse

Instance Attribute Details

#exchange_error::Google::Cloud::DeveloperConnect::V1::ExchangeError

Returns The error resulted from exchanging OAuth tokens from the service provider.

Returns:



885
886
887
888
# File 'proto_docs/google/cloud/developerconnect/v1/developer_connect.rb', line 885

class FetchAccessTokenResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#expiration_time::Google::Protobuf::Timestamp

Returns Expiration timestamp. Can be empty if unknown or non-expiring.

Returns:



885
886
887
888
# File 'proto_docs/google/cloud/developerconnect/v1/developer_connect.rb', line 885

class FetchAccessTokenResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#scopes::Array<::String>

Returns The scopes of the access token.

Returns:

  • (::Array<::String>)

    The scopes of the access token.



885
886
887
888
# File 'proto_docs/google/cloud/developerconnect/v1/developer_connect.rb', line 885

class FetchAccessTokenResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#token::String

Returns The token content.

Returns:

  • (::String)

    The token content.



885
886
887
888
# File 'proto_docs/google/cloud/developerconnect/v1/developer_connect.rb', line 885

class FetchAccessTokenResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end