Google Storage Account
This account type provides access to a Google Cloud Storage account with user credentials. The token fields fill in automatically when you click the Authorize button and complete the OAuth2 flow for your account. You can optionally retrieve a refresh token, otherwise you will need to re-authorize when the access token expires.

Account Settings
| Field / Field set | Type | Description |
|---|---|---|
| Label | String |
Required. Specify a unique label for the account. |
| Access Token | String | The access token for the application. The retrieval of the access token is done
when setting up the account for the endpoint. There, the OAuth2 flow will be
executed and the resulting access token will be stored in this property. The access
token might be refreshable, in that case an optional refresh token can be stored.
The user must get a new access token if the access token has expired and no refresh
token was defined or both the access and the refresh token have expired. Default value: None. |
| Refresh token | String | The refresh token for the application. The retrieval of the refresh token is
done when setting up the account for the endpoint. There, the OAuth2 flow will be
executed and the resulting refresh token can be stored in this property. If the
refresh token is stored, then the access token can be refreshed automatically before
it expires. Default value: None. |
| Access token expiration | String | The access token expiration value. Default value: None. |
| OAuth2 endpoint | String | Authorization endpoint to authorize the application. Default value: https://accounts.google.com/o/oauth2/auth |
| OAuth2 token | String | Token endpoint to get the access token. Default value: https://accounts.google.com/o/oauth2/token |
| Access type | String | Indicates whether the Snap needs to access a Google API when the user is not
present at the browser. The property value "offline" results in a refresh token
being obtained the first time authorization has been received. Default value: Offline |
| Approval prompt | Dropdown list | Indicates whether the user should be re-prompted for offline consent to receive
a new refresh token. The property value "auto" will only display the consent prompt
on the first time through the OAuth 2.0 authorization sequence. To manually acquire
a new refresh token, set this property value to "force" and re-authorize. Default value: auto |
| Application scope | String | 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. Default value: https://www.googleapis.com/auth/devstorage.read_write |
| Auto-refresh token | Checkbox | Refreshes the token automatically using the refresh token if the property is
enabled. Otherwise the token might expire and will not be automatically refreshed. Default status: Deselected |
Account encryption
| Standard Encryption | If you are using Standard Encryption, the High sensitivity settings under Enhanced Encryption are followed. |
| Enhanced Encryption | If you have the Enhanced Account Encryption feature, the following describes
which fields are encrypted for each sensitivity level selected per each account.
|