Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field Name

Field Type

Description

Label*

Default Value:  None
ExampleBigQuery OAuth2 Account

String/expressions

Specify a unique label for the account instance.

Access token*

Default Value:  None
Example

Specify the access token for the application that is auto-generated on authorization. You receive an access token when the account is setup for the endpoint. During setup, the OAuth2 flow is executed and the access token that gets generated is stored in this property. If the access token is refreshed, then the optional refresh token is stored. Get a new access token, if

  • the access token has expired and no refresh token is defined, or

  • both the access token and the refresh token have expired.

Refresh token

Default Value:  None
Example

Refers to the refresh token for the application that gets auto-generated on authorization. You receive a refresh token when the account is setup for the endpoint. During setup, the OAuth2 flow is executed and the refresh token that is generated is stored in this property. If the refresh token is already stored, then the access token can be refreshed automatically before it expires.

Access token expiration

Default Value:  None
Example

The access token expiration value that gets auto-generated on authorization. The retrieval of the access token expiration is done when setting up the account for the endpoint. There, the OAuth2 flow will be executed and the resulting access token expiration will be stored in this property.

Refers to the access token expiration value for the application. You get the access token expiration when the account is setup for the endpoint. During setup, the OAuth2 flow is executed and the access token expiration that is generated is stored in this property.

OAuth2 Endpoint*

Default valuehttps://accounts.google.com/o/oauth2/auth

String/expressions

Authorization endpoint to authorize the application.

OAuth2 Token*

Default valuehttps://accounts.google.com/o/oauth2/token

String/expressions

Token endpoint to get the access token.

Auth endpoint config

Provides custom properties for the OAuth2 auth endpoint.

Access Type

Default value: offline

String/expressions

The access type for the token. If you are offline, then it will persist in the account.

Approval Prompt

Default value: force

String/expressions

The approval type for the token.

Default Standard SQL

Default value: Deselected

Checkbox

Select this checkbox to default the dialect in the Query field of the Snaps using this account to Standard SQL.

Info

To override this default setting

Use the #legacySQL tag within the Query field of the Snap to treat it as a Legacy SQL query.

Application scope

Default valuehttps://www.googleapis.com/auth/dfareporting

Examplehttps://www.googleapis.com/auth/cloud-platform

String/expressions

The scope for the applications execution. As an example, the Snap could define that only a read of data by the application should be allowed.

Auto-refresh token

Default value: Deselected

Checkbox

If the auto-refresh token is enabled, the token refreshes automatically. Otherwise, the token might expire and will not be automatically refreshed.

Authorize

Button

Starts the OAuth authorization flow. Account will be saved before authorize. 

Refresh

Button

Refresh access token. Available after the account has been saved.

...