This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Google Tasks Connector
The Google Tasks connector allows you to connect to google tasks and manage your tasks and task lists.
The connector uses the Google Tasks API version 1 to connect to google tasks and perform operations like insert, delete, update tasks and task lists.
Connecting to Google Tasks
To use the Google Tasks connector, add the <googletasks.init>
element in your configuration before any other google task operation. This configuration authenticates the google account with the access token you provide, using OAuth2 authentication.
For more information on authorizing requests to the Google Tasks API, see https://developers.google.com/google-apps/tasks/auth.
<googletasks.init> <accessToken>{$ctx:accessToken}</accessToken> <clientId>{$ctx:clientId}</clientId> <clientSecret>{$ctx:clientSecret}</clientSecret> <refreshToken>{$ctx:refreshToken}</refreshToken> <accessTokenRegistryPath>{$ctx:accessTokenRegistryPath}</accessTokenRegistryPath> </googletasks.init>
Properties
accessToken
: Required - The access token that grants access to the API on behalf of a user.clientId
: The id received from Google for your application.clientSecret
: The secret received from Google for your application.refreshToken
: Refresh token obtained from Google oauth 2.0.accessTokenRegistryPath : Registry Path.
Performing operations on Google Tasks
The following sections describe how to perform various operations with the connector. For general information on using connectors and their operations in your ESB configurations, see Using a Connector. To download the connector, go to https://store.wso2.com/store/assets/esbconnector/googletasks, click the Google Tasks connector, and then click Download Connector. Then you can add and enable the connector in your ESB instance.