Class GoogleMailConfiguration

    • Constructor Detail

      • GoogleMailConfiguration

        public GoogleMailConfiguration()
    • Method Detail

      • setApiName

        public void setApiName​(GoogleMailApiName apiName)
        What kind of operation to perform
      • getMethodName

        public String getMethodName()
      • setMethodName

        public void setMethodName​(String methodName)
        What sub operation to use for the selected operation
      • getClientId

        public String getClientId()
      • setClientId

        public void setClientId​(String clientId)
        Client ID of the mail application
      • getClientSecret

        public String getClientSecret()
      • setClientSecret

        public void setClientSecret​(String clientSecret)
        Client secret of the mail application
      • getAccessToken

        public String getAccessToken()
      • setAccessToken

        public void setAccessToken​(String accessToken)
        OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage.
      • getRefreshToken

        public String getRefreshToken()
      • setRefreshToken

        public void setRefreshToken​(String refreshToken)
        OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived.
      • getApplicationName

        public String getApplicationName()
      • setApplicationName

        public void setApplicationName​(String applicationName)
        Google mail application name. Example would be "camel-google-mail/1.0"