Update wiki Home page for google-sheets-sink

gitea_admin 2026-03-11 14:36:39 +00:00
parent 266218666c
commit fb388fad29

43
Home.md

@ -1,21 +1,36 @@
# Deploy the Project on CamelX Platform # Google Sheets Sink
Deploy on CamelX Platform in three steps Send data to Google Sheets and update/append values on a spreadsheet.
## Step 1: Create a release ## Metadata
From the project space, click on **"Create a release"**
The new version is automatically available in the list | Property | Value |
|----------|-------|
| Type | sink |
| Group | Google Sheets |
| Namespace | GCP |
| Support Level | Stable |
| Provider | Apache Software Foundation |
## Step 2: Deploy ## Properties
Click on **"Deploy"**
- **Version:** Select the desired release | Name | Type | Required | Default | Description |
- **Environment:** Choose `Development`, `Staging`, or `Production` |------|------|----------|---------|-------------|
- **Configuration:** Select the configuration source | `spreadsheetId` | string | ✓ | | The Spreadsheet ID to be used as identifier |
- **Resources:** Set CPU and Memory | `clientId` | string | ✓ | | Client ID of the sheets application |
| `clientSecret` | string | ✓ | | Client Secret of the sheets application |
| `accessToken` | string | ✓ | | OAuth 2 access token for google sheets application. This typically expires after an hour so refreshToken is recommended for long term usage. |
| `refreshToken` | string | ✓ | | OAuth 2 refresh token for google sheets application. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived. |
| `applicationName` | string | | | Google Sheets application name |
| `operation` | string | | `append` | Operation to execute (update or append) |
| `range` | string | | | The cell range of rows and columns to write data to. |
| `majorDimension` | string | | `ROWS` | Specifies the major dimension that the given values should use (ROWS or COLUMNS). |
| `columnNames` | string | | `A` | Optional custom column names that map to cell coordinates based on their position. |
| `valueInputOption` | string | | `USER_ENTERED` | Controls how the entered values should be be interpreted when adding them. |
## Step 3: Expose ## Dependencies
Enable **"Expose"**
Choose an **API Gateway** (Internal, Public, etc.) - `camel:core`
- `camel:jackson`
- `camel:kamelet`
- `camel:google-sheets`