Skip to content

/AWS1/CL_APFGOOGLEALYSCNCTOR01

The connector-specific profile credentials required by Google Analytics.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_clientid TYPE /AWS1/APFCLIENTID /AWS1/APFCLIENTID

The identifier for the desired client.

iv_clientsecret TYPE /AWS1/APFCLIENTSECRET /AWS1/APFCLIENTSECRET

The client secret used by the OAuth client to authenticate to the authorization server.

Optional arguments:

iv_accesstoken TYPE /AWS1/APFACCESSTOKEN /AWS1/APFACCESSTOKEN

The credentials used to access protected Google Analytics resources.

iv_refreshtoken TYPE /AWS1/APFREFRESHTOKEN /AWS1/APFREFRESHTOKEN

The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.

io_oauthrequest TYPE REF TO /AWS1/CL_APFCNCTOROAUTHREQUEST /AWS1/CL_APFCNCTOROAUTHREQUEST

The OAuth requirement needed to request security tokens from the connector endpoint.


Queryable Attributes

clientId

The identifier for the desired client.

Accessible with the following methods

Method Description
GET_CLIENTID() Getter for CLIENTID, with configurable default
ASK_CLIENTID() Getter for CLIENTID w/ exceptions if field has no value
HAS_CLIENTID() Determine if CLIENTID has a value

clientSecret

The client secret used by the OAuth client to authenticate to the authorization server.

Accessible with the following methods

Method Description
GET_CLIENTSECRET() Getter for CLIENTSECRET, with configurable default
ASK_CLIENTSECRET() Getter for CLIENTSECRET w/ exceptions if field has no value
HAS_CLIENTSECRET() Determine if CLIENTSECRET has a value

accessToken

The credentials used to access protected Google Analytics resources.

Accessible with the following methods

Method Description
GET_ACCESSTOKEN() Getter for ACCESSTOKEN, with configurable default
ASK_ACCESSTOKEN() Getter for ACCESSTOKEN w/ exceptions if field has no value
HAS_ACCESSTOKEN() Determine if ACCESSTOKEN has a value

refreshToken

The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.

Accessible with the following methods

Method Description
GET_REFRESHTOKEN() Getter for REFRESHTOKEN, with configurable default
ASK_REFRESHTOKEN() Getter for REFRESHTOKEN w/ exceptions if field has no value
HAS_REFRESHTOKEN() Determine if REFRESHTOKEN has a value

oAuthRequest

The OAuth requirement needed to request security tokens from the connector endpoint.

Accessible with the following methods

Method Description
GET_OAUTHREQUEST() Getter for OAUTHREQUEST