Versions Compared

Key

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

...

OptionType 
accessTokenStringOAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage.
applicationNameStringGoogle drive application name. Example would be "camel-google-mail/1.0"
clientIdStringClient ID of the drive application
clientSecretStringClient secret of the drive application
refreshToken

String

OAuth 2 refresh token. Using this, the Google Mail component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived.
scopesList<String>Specifies the level of permissions you want a drive application to have to a user account. See https://developers.google.com/gmail/api/auth/scopes for more info.
p12FileNameStringCamel 2.16:The name of the p12 file which has the private key to use with the Google Service Account.
userStringCamel 2.16.2: The email address of the user the application is trying to impersonate in the service account flow

Producer Endpoints

...

Producer endpoints can use endpoint prefixes followed by endpoint names and associated options described next. A shorthand alias can be used for some endpoints. The endpoint URI MUST contain a prefix.

...