Google Cloud Developer Connect V1 Client - Class FinishOAuthRequest (0.6.0)

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

Message for finishing an OAuth flow.

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

Namespace

Google \ Cloud \ DeveloperConnect \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ oauth_params FinishOAuthRequest\OAuthParams

The params returned by non-Google OAuth 2.0 flow redirect.

↳ google_oauth_params FinishOAuthRequest\GoogleOAuthParams

The params returned by Google OAuth flow redirects.

↳ account_connector string

Required. The resource name of the AccountConnector in the format projects/*/locations/*/accountConnectors/*.

getOauthParams

The params returned by non-Google OAuth 2.0 flow redirect.

Returns
Type Description
FinishOAuthRequest\OAuthParams|null

hasOauthParams

setOauthParams

The params returned by non-Google OAuth 2.0 flow redirect.

Parameter
Name Description
var FinishOAuthRequest\OAuthParams
Returns
Type Description
$this

getGoogleOauthParams

The params returned by Google OAuth flow redirects.

Returns
Type Description
FinishOAuthRequest\GoogleOAuthParams|null

hasGoogleOauthParams

setGoogleOauthParams

The params returned by Google OAuth flow redirects.

Parameter
Name Description
var FinishOAuthRequest\GoogleOAuthParams
Returns
Type Description
$this

getAccountConnector

Required. The resource name of the AccountConnector in the format projects/*/locations/*/accountConnectors/*.

Returns
Type Description
string

setAccountConnector

Required. The resource name of the AccountConnector in the format projects/*/locations/*/accountConnectors/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getParams

Returns
Type Description
string

static::build

Parameter
Name Description
accountConnector string

Required. The resource name of the AccountConnector in the format projects/*/locations/*/accountConnectors/*. Please see DeveloperConnectClient::accountConnectorName() for help formatting this field.

Returns
Type Description
FinishOAuthRequest