Google Cloud Developer Connect V1 Client - Class ExchangeError (0.4.0)

Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class ExchangeError.

Message for representing an error from exchanging OAuth tokens.

Generated from protobuf message google.cloud.developerconnect.v1.ExchangeError

Namespace

Google \ Cloud \ DeveloperConnect \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ code string

https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error

↳ description string

https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description

getCode

Returns
Type Description
string

setCode

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Returns
Type Description
string

setDescription

Parameter
Name Description
var string
Returns
Type Description
$this