This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new 8cac921 Regen
8cac921 is described below
commit 8cac921c6685571131241421d4e421f7b1ce5445
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Aug 30 13:14:09 2021 +0200
Regen
---
.../catalog/components/google-calendar-stream.json | 20 +-------------------
.../catalog/components/google-mail-stream.json | 20 +-------------------
.../catalog/components/google-sheets-stream.json | 16 +++-------------
.../src/main/docs/google-sheets-starter.adoc | 3 +--
.../GoogleSheetsStreamComponentConfiguration.java | 13 -------------
docs/modules/ROOT/pages/google-sheets-starter.adoc | 3 +--
6 files changed, 7 insertions(+), 68 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar-stream.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar-stream.json
index 4731ffa..04b9a75 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar-stream.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar-stream.json
@@ -6,7 +6,7 @@
"description": "Poll for changes in a Google Calendar.",
"deprecated": false,
"firstVersion": "2.23.0",
- "label": "api,cloud",
+ "label": "cloud",
"javaType":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamComponent",
"supportLevel": "Stable",
"groupId": "org.apache.camel.springboot",
@@ -78,23 +78,5 @@
"p12FileName": { "kind": "parameter", "displayName": "P12 File Name",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "The name of the p12
file which has the private key to use with the Google Service Acco [...]
"refreshToken": { "kind": "parameter", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new acc [...]
"user": { "kind": "parameter", "displayName": "User", "group": "security",
"label": "security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "The email address of
the user the application is trying to impersonate in the service account flow."
}
- },
- "apis": {
- "acl": { "consumerOnly": true, "producerOnly": false, "description": "The
acl collection of methods", "methods": { "delete": { "description": "Deletes an
access control rule", "signatures": [
"com.google.api.services.calendar.Calendar$Acl$Delete delete(String calendarId,
String ruleId)" ] }, "get": { "description": "Returns an access control rule",
"signatures": [ "com.google.api.services.calendar.Calendar$Acl$Get get(String
calendarId, String ruleId)" ] }, "insert": { "description": [...]
- "calendars": { "consumerOnly": true, "producerOnly": false, "description":
"The calendars collection of methods", "methods": { "clear": { "description":
"Clears a primary calendar", "signatures": [
"com.google.api.services.calendar.Calendar$Calendars$Clear clear(String
calendarId)" ] }, "delete": { "description": "Deletes a secondary calendar",
"signatures": [ "com.google.api.services.calendar.Calendar$Calendars$Delete
delete(String calendarId)" ] }, "get": { "description": "Returns [...]
- "channels": { "consumerOnly": true, "producerOnly": false, "description":
"The channels collection of methods", "methods": { "stop": { "description":
"Stop watching resources through this channel", "signatures": [
"com.google.api.services.calendar.Calendar$Channels$Stop
stop(com.google.api.services.calendar.model.Channel content)" ] } } },
- "events": { "consumerOnly": true, "producerOnly": false, "description":
"The events collection of methods", "methods": { "calendarImport": {
"description": "Imports an event", "signatures": [
"com.google.api.services.calendar.Calendar$Events$CalendarImport
calendarImport(String calendarId, com.google.api.services.calendar.model.Event
content)" ] }, "delete": { "description": "Deletes an event", "signatures": [
"com.google.api.services.calendar.Calendar$Events$Delete delete(String cal [...]
- "freebusy": { "consumerOnly": true, "producerOnly": false, "description":
"The freebusy collection of methods", "methods": { "query": { "description":
"Returns free\/busy information for a set of calendars", "signatures": [
"com.google.api.services.calendar.Calendar$Freebusy$Query
query(com.google.api.services.calendar.model.FreeBusyRequest content)" ] } } },
- "list": { "consumerOnly": true, "producerOnly": false, "description": "The
calendarList collection of methods", "methods": { "delete": { "description":
"Deletes an entry on the user's calendar list", "signatures": [
"com.google.api.services.calendar.Calendar$CalendarList$Delete delete(String
calendarId)" ] }, "get": { "description": "Returns an entry on the user's
calendar list", "signatures": [
"com.google.api.services.calendar.Calendar$CalendarList$Get get(String
calendarId)" ] }, [...]
- "settings": { "consumerOnly": true, "producerOnly": false, "description":
"The settings collection of methods", "methods": { "get": { "description":
"Returns a single user setting", "signatures": [
"com.google.api.services.calendar.Calendar$Settings$Get get(String setting)" ]
}, "watch": { "description": "Watch for changes to Settings resources",
"signatures": [ "com.google.api.services.calendar.Calendar$Settings$Watch
watch(com.google.api.services.calendar.model.Channel content)" ] } } }
- },
- "apiProperties": {
- "acl": { "methods": { "delete": { "properties": { "calendarId": { "kind":
"parameter", "displayName": "Calendar Id", "group": "consumer", "label": "",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description":
"Calendar identifier. To retrieve calendar IDs call the calendarList.list
method. If you want to access the primary calendar of the currently logged in
user, use the primary keyword.", "optional" [...]
- "calendars": { "methods": { "clear": { "properties": { "calendarId": {
"kind": "parameter", "displayName": "Calendar Id", "group": "consumer",
"label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Calendar identifier. To retrieve calendar IDs call the
calendarList.list method. If you want to access the primary calendar of the
currently logged in user, use the primary keyword.", "opti [...]
- "channels": { "methods": { "stop": { "properties": { "contentChannel": {
"kind": "parameter", "displayName": "Content Channel", "group": "consumer",
"label": "", "required": false, "type": "object", "javaType":
"com.google.api.services.calendar.model.Channel", "deprecated": false,
"autowired": false, "secret": false, "description": "The
com.google.api.services.calendar.model.Channel", "optional": false } } } } },
- "events": { "methods": { "calendarImport": { "properties": { "calendarId":
{ "kind": "parameter", "displayName": "Calendar Id", "group": "consumer",
"label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Calendar identifier. To retrieve calendar IDs call the
calendarList.list method. If you want to access the primary calendar of the
currently logged in user, use the primary keyword.", [...]
- "freebusy": { "methods": { "query": { "properties": { "content": { "kind":
"parameter", "displayName": "Content", "group": "consumer", "label": "",
"required": false, "type": "object", "javaType":
"com.google.api.services.calendar.model.FreeBusyRequest", "deprecated": false,
"autowired": false, "secret": false, "description": "The
com.google.api.services.calendar.model.FreeBusyRequest", "optional": false } }
} } },
- "list": { "methods": { "delete": { "properties": { "calendarId": { "kind":
"parameter", "displayName": "Calendar Id", "group": "consumer", "label": "",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description":
"Calendar identifier. To retrieve calendar IDs call the calendarList.list
method. If you want to access the primary calendar of the currently logged in
user, use the primary keyword.", "optional [...]
- "settings": { "methods": { "get": { "properties": { "setting": { "kind":
"parameter", "displayName": "Setting", "group": "consumer", "label": "",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
id of the user setting", "optional": false } } }, "watch": { "properties": {
"contentChannel": { "kind": "parameter", "displayName": "Content Channel",
"group": "consumer", "label": "", "required [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail-stream.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail-stream.json
index 40fab16..477ce0a 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail-stream.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail-stream.json
@@ -6,7 +6,7 @@
"description": "Poll for incoming messages in Google Mail.",
"deprecated": false,
"firstVersion": "2.22.0",
- "label": "cloud,api,mail",
+ "label": "cloud,mail",
"javaType":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamComponent",
"supportLevel": "Stable",
"groupId": "org.apache.camel.springboot",
@@ -66,23 +66,5 @@
"accessToken": { "kind": "parameter", "displayName": "Access Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 access token.
This typically expires after an hour so refreshToken is recommended for l [...]
"clientSecret": { "kind": "parameter", "displayName": "Client Secret",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "Client secret of the
mail application" },
"refreshToken": { "kind": "parameter", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new accessToken [...]
- },
- "apis": {
- "attachments": { "consumerOnly": true, "producerOnly": false,
"description": "The attachments collection of methods", "methods": { "get": {
"description": "Gets the specified message attachment", "signatures": [
"com.google.api.services.gmail.Gmail$Users$Messages$Attachments$Get get(String
userId, String messageId, String id)" ] } } },
- "drafts": { "consumerOnly": true, "producerOnly": false, "description":
"The drafts collection of methods", "methods": { "create": { "description":
"Creates a new draft with the DRAFT label", "signatures": [
"com.google.api.services.gmail.Gmail$Users$Drafts$Create create(String userId,
com.google.api.services.gmail.model.Draft content)",
"com.google.api.services.gmail.Gmail$Users$Drafts$Create create(String userId,
com.google.api.services.gmail.model.Draft content, com.google.api.cli [...]
- "history": { "consumerOnly": true, "producerOnly": false, "description":
"The history collection of methods", "methods": { "list": { "description":
"Lists the history of all changes to the given mailbox", "signatures": [
"com.google.api.services.gmail.Gmail$Users$History$List list(String userId)" ]
} } },
- "labels": { "consumerOnly": true, "producerOnly": false, "description":
"The labels collection of methods", "methods": { "create": { "description":
"Creates a new label", "signatures": [
"com.google.api.services.gmail.Gmail$Users$Labels$Create create(String userId,
com.google.api.services.gmail.model.Label content)" ] }, "delete": {
"description": "Immediately and permanently deletes the specified label and
removes it from any messages and threads that it is applied to", "signatures"
[...]
- "messages": { "consumerOnly": true, "producerOnly": false, "description":
"The messages collection of methods", "methods": { "batchDelete": {
"description": "Deletes many messages by message ID", "signatures": [
"com.google.api.services.gmail.Gmail$Users$Messages$BatchDelete
batchDelete(String userId,
com.google.api.services.gmail.model.BatchDeleteMessagesRequest content)" ] },
"batchModify": { "description": "Modifies the labels on the specified
messages", "signatures": [ "com.googl [...]
- "threads": { "consumerOnly": true, "producerOnly": false, "description":
"The threads collection of methods", "methods": { "delete": { "description":
"Immediately and permanently deletes the specified thread", "signatures": [
"com.google.api.services.gmail.Gmail$Users$Threads$Delete delete(String userId,
String id)" ] }, "get": { "description": "Gets the specified thread",
"signatures": [ "com.google.api.services.gmail.Gmail$Users$Threads$Get
get(String userId, String id)" ] }, "list [...]
- "users": { "consumerOnly": true, "producerOnly": false, "description":
"The users collection of methods", "methods": { "getProfile": { "description":
"Gets the current user's Gmail profile", "signatures": [
"com.google.api.services.gmail.Gmail$Users$GetProfile getProfile(String
userId)" ] }, "stop": { "description": "Stop receiving push notifications for
the given user mailbox", "signatures": [
"com.google.api.services.gmail.Gmail$Users$Stop stop(String userId)" ] },
"watch": { "desc [...]
- },
- "apiProperties": {
- "attachments": { "methods": { "get": { "properties": { "id": { "kind":
"parameter", "displayName": "Id", "group": "consumer", "label": "", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The ID of the attachment",
"optional": false }, "messageId": { "kind": "parameter", "displayName":
"Message Id", "group": "consumer", "label": "", "required": false, "type":
"string", "javaType": "java.lang [...]
- "drafts": { "methods": { "create": { "properties": { "content": { "kind":
"parameter", "displayName": "Content", "group": "consumer", "label": "",
"required": false, "type": "object", "javaType":
"com.google.api.services.gmail.model.Draft", "deprecated": false, "autowired":
false, "secret": false, "description": "The
com.google.api.services.gmail.model.Draft media metadata or null if none",
"optional": false }, "mediaContent": { "kind": "parameter", "displayName":
"Media Content", "g [...]
- "history": { "methods": { "list": { "properties": { "userId": { "kind":
"parameter", "displayName": "User Id", "group": "consumer", "label": "",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
user's email address. The special value me can be used to indicate the
authenticated user. default: me", "optional": false } } } } },
- "labels": { "methods": { "create": { "properties": { "content": { "kind":
"parameter", "displayName": "Content", "group": "consumer", "label": "",
"required": false, "type": "object", "javaType":
"com.google.api.services.gmail.model.Label", "deprecated": false, "autowired":
false, "secret": false, "description": "The
com.google.api.services.gmail.model.Label", "optional": false }, "userId": {
"kind": "parameter", "displayName": "User Id", "group": "consumer", "label":
"", "required": [...]
- "messages": { "methods": { "batchDelete": { "properties": {
"batchDeleteMessagesRequest": { "kind": "parameter", "displayName": "Batch
Delete Messages Request", "group": "consumer", "label": "", "required": false,
"type": "object", "javaType":
"com.google.api.services.gmail.model.BatchDeleteMessagesRequest", "deprecated":
false, "autowired": false, "secret": false, "description": "The
com.google.api.services.gmail.model.BatchDeleteMessagesRequest", "optional":
false }, "userId": { "k [...]
- "threads": { "methods": { "delete": { "properties": { "id": { "kind":
"parameter", "displayName": "Id", "group": "consumer", "label": "", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "ID of the Thread to
delete", "optional": false }, "userId": { "kind": "parameter", "displayName":
"User Id", "group": "consumer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.Stri [...]
- "users": { "methods": { "getProfile": { "properties": { "userId": {
"kind": "parameter", "displayName": "User Id", "group": "consumer", "label":
"", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
user's email address. The special value me can be used to indicate the
authenticated user. default: me", "optional": false } } }, "stop": {
"properties": { "userId": { "kind": "parameter", "di [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets-stream.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets-stream.json
index 906287b..1d5c287 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets-stream.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets-stream.json
@@ -6,7 +6,7 @@
"description": "Poll for changes in Google Sheets.",
"deprecated": false,
"firstVersion": "2.23.0",
- "label": "api,cloud,sheets",
+ "label": "cloud,sheets",
"javaType":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamComponent",
"supportLevel": "Stable",
"groupId": "org.apache.camel.springboot",
@@ -14,7 +14,7 @@
"version": "3.12.0-SNAPSHOT",
"scheme": "google-sheets-stream",
"extendsScheme": "",
- "syntax": "google-sheets-stream:apiName",
+ "syntax": "google-sheets-stream:spreadsheetId",
"async": false,
"api": false,
"consumerOnly": true,
@@ -33,7 +33,6 @@
"range": { "kind": "property", "displayName": "Range", "group":
"consumer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the range of
rows and columns in a sheet to get data from." },
"scopes": { "kind": "property", "displayName": "Scopes", "group":
"consumer", "label": "", "required": false, "type": "array", "javaType":
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a sheets application to have to a user account. See [...]
"splitResults": { "kind": "property", "displayName": "Split Results",
"group": "consumer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "True if value range
result should be split into rows or columns to process each of [...]
- "spreadsheetId": { "kind": "property", "displayName": "Spreadsheet Id",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the
spreadsheet identifier that is used to identify the target to obtain." },
"valueRenderOption": { "kind": "property", "displayName": "Value Render
Option", "group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "enum": [ "FORMATTED_VALUE",
"UNFORMATTED_VALUE", "FORMULA" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "FORMATTED_VALUE", "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "des [...]
"autowiredEnabled": { "kind": "property", "displayName": "Autowired
Enabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which t [...]
"clientFactory": { "kind": "property", "displayName": "Client Factory",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType":
"org.apache.camel.component.google.sheets.GoogleSheetsClientFactory",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use the GoogleSheetsClientFactory as factory for creating the client. Will by
default use BatchGoogleSheetsClientFactory" },
@@ -42,7 +41,7 @@
"refreshToken": { "kind": "property", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new accessTo [...]
},
"properties": {
- "apiName": { "kind": "path", "displayName": "Api Name", "group":
"consumer", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Sets the apiName." },
+ "spreadsheetId": { "kind": "path", "displayName": "Spreadsheet Id",
"group": "consumer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the
spreadsheet identifier that is used to identify the target to o [...]
"applicationName": { "kind": "parameter", "displayName": "Application
Name", "group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Google sheets
application name. Example would be camel-google-sheets\/1.0" },
"bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error
Handler", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Allows for bridging the
consumer to the Camel routing Error Handler, which mean any exceptions occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a m [...]
"clientId": { "kind": "parameter", "displayName": "Client Id", "group":
"consumer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Client ID of the sheets
application" },
@@ -53,7 +52,6 @@
"scopes": { "kind": "parameter", "displayName": "Scopes", "group":
"consumer", "label": "", "required": false, "type": "array", "javaType":
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a sheets application to have to a user account. Se [...]
"sendEmptyMessageWhenIdle": { "kind": "parameter", "displayName": "Send
Empty Message When Idle", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description": "If
the polling consumer did not poll any files, you can enable this option to send
an empty message (no body) instead." },
"splitResults": { "kind": "parameter", "displayName": "Split Results",
"group": "consumer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "True if value range
result should be split into rows or columns to process each o [...]
- "spreadsheetId": { "kind": "parameter", "displayName": "Spreadsheet Id",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the
spreadsheet identifier that is used to identify the target to obtain." },
"valueRenderOption": { "kind": "parameter", "displayName": "Value Render
Option", "group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "enum": [ "FORMATTED_VALUE",
"UNFORMATTED_VALUE", "FORMULA" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "FORMATTED_VALUE", "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "de [...]
"exceptionHandler": { "kind": "parameter", "displayName": "Exception
Handler", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "autowired": false, "secret": false, "description": "To
let the consumer use a custom ExceptionHandler. Notice if the option
bridgeErrorHandler is enabled then this option is not in use. By default the
con [...]
"exchangePattern": { "kind": "parameter", "displayName": "Exchange
Pattern", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut",
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false,
"description": "Sets the exchange pattern when the consumer creates an
exchange." },
@@ -75,13 +73,5 @@
"accessToken": { "kind": "parameter", "displayName": "Access Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 access token.
This typically expires after an hour so refreshToken is recommended f [...]
"clientSecret": { "kind": "parameter", "displayName": "Client Secret",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Client secret of the
sheets application" },
"refreshToken": { "kind": "parameter", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new accessT [...]
- },
- "apis": {
- "data": { "consumerOnly": true, "producerOnly": false, "description": "The
values collection of methods", "methods": { "append": { "description": "Appends
values to a spreadsheet", "signatures": [
"com.google.api.services.sheets.v4.Sheets$Spreadsheets$Values$Append
append(String spreadsheetId, String range,
com.google.api.services.sheets.v4.model.ValueRange content)" ] }, "batchClear":
{ "description": "Clears one or more ranges of values from a spreadsheet",
"signatures": [ "com.goo [...]
- "spreadsheets": { "consumerOnly": true, "producerOnly": false,
"description": "The spreadsheets collection of methods", "methods": {
"batchUpdate": { "description": "Applies one or more updates to the
spreadsheet", "signatures": [
"com.google.api.services.sheets.v4.Sheets$Spreadsheets$BatchUpdate
batchUpdate(String spreadsheetId,
com.google.api.services.sheets.v4.model.BatchUpdateSpreadsheetRequest content)"
] }, "create": { "description": "Creates a spreadsheet, returning the newly
[...]
- },
- "apiProperties": {
- "data": { "methods": { "append": { "properties": { "range": { "kind":
"parameter", "displayName": "Range", "group": "consumer", "label": "",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
A1 notation of a range to search for a logical table of data. Values will be
appended after the last row of the table.", "optional": false },
"spreadsheetId": { "kind": "parameter", "displayName": "Sp [...]
- "spreadsheets": { "methods": { "batchUpdate": { "properties": {
"batchUpdateSpreadsheetRequest": { "kind": "parameter", "displayName": "Batch
Update Spreadsheet Request", "group": "consumer", "label": "", "required":
false, "type": "object", "javaType":
"com.google.api.services.sheets.v4.model.BatchUpdateSpreadsheetRequest",
"deprecated": false, "autowired": false, "secret": false, "description": "The
com.google.api.services.sheets.v4.model.BatchUpdateSpreadsheetRequest",
"optional": [...]
}
}
diff --git
a/components-starter/camel-google-sheets-starter/src/main/docs/google-sheets-starter.adoc
b/components-starter/camel-google-sheets-starter/src/main/docs/google-sheets-starter.adoc
index dcdb595..1c2ce04 100644
---
a/components-starter/camel-google-sheets-starter/src/main/docs/google-sheets-starter.adoc
+++
b/components-starter/camel-google-sheets-starter/src/main/docs/google-sheets-starter.adoc
@@ -17,7 +17,7 @@ When using google-sheets with Spring Boot make sure to use
the following Maven d
----
-The component supports 30 options, which are listed below.
+The component supports 29 options, which are listed below.
@@ -40,7 +40,6 @@ The component supports 30 options, which are listed below.
| *camel.component.google-sheets-stream.refresh-token* | 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. | | String
| *camel.component.google-sheets-stream.scopes* | Specifies the level of
permissions you want a sheets application to have to a user account. See
\https://developers.google.com/identity/protocols/googlescopes for more info. |
| List
| *camel.component.google-sheets-stream.split-results* | True if value range
result should be split into rows or columns to process each of them
individually. When true each row or column is represented with a separate
exchange in batch processing. Otherwise value range object is used as exchange
junk size. | false | Boolean
-| *camel.component.google-sheets-stream.spreadsheet-id* | Specifies the
spreadsheet identifier that is used to identify the target to obtain. | |
String
| *camel.component.google-sheets-stream.value-render-option* | Determines how
values should be rendered in the output. | FORMATTED_VALUE | String
| *camel.component.google-sheets.access-token* | OAuth 2 access token. This
typically expires after an hour so refreshToken is recommended for long term
usage. | | String
| *camel.component.google-sheets.application-name* | Google Sheets application
name. Example would be camel-google-sheets/1.0 | | String
diff --git
a/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/stream/springboot/GoogleSheetsStreamComponentConfiguration.java
b/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/stream/springboot/GoogleSheetsStreamComponentConfiguration.java
index 2804329..0eba744 100644
---
a/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/stream/springboot/GoogleSheetsStreamComponentConfiguration.java
+++
b/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/stream/springboot/GoogleSheetsStreamComponentConfiguration.java
@@ -94,11 +94,6 @@ public class GoogleSheetsStreamComponentConfiguration
*/
private Boolean splitResults = false;
/**
- * Specifies the spreadsheet identifier that is used to identify the target
- * to obtain.
- */
- private String spreadsheetId;
- /**
* Determines how values should be rendered in the output.
*/
private String valueRenderOption = "FORMATTED_VALUE";
@@ -213,14 +208,6 @@ public class GoogleSheetsStreamComponentConfiguration
this.splitResults = splitResults;
}
- public String getSpreadsheetId() {
- return spreadsheetId;
- }
-
- public void setSpreadsheetId(String spreadsheetId) {
- this.spreadsheetId = spreadsheetId;
- }
-
public String getValueRenderOption() {
return valueRenderOption;
}
diff --git a/docs/modules/ROOT/pages/google-sheets-starter.adoc
b/docs/modules/ROOT/pages/google-sheets-starter.adoc
index dcdb595..1c2ce04 100644
--- a/docs/modules/ROOT/pages/google-sheets-starter.adoc
+++ b/docs/modules/ROOT/pages/google-sheets-starter.adoc
@@ -17,7 +17,7 @@ When using google-sheets with Spring Boot make sure to use
the following Maven d
----
-The component supports 30 options, which are listed below.
+The component supports 29 options, which are listed below.
@@ -40,7 +40,6 @@ The component supports 30 options, which are listed below.
| *camel.component.google-sheets-stream.refresh-token* | 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. | | String
| *camel.component.google-sheets-stream.scopes* | Specifies the level of
permissions you want a sheets application to have to a user account. See
\https://developers.google.com/identity/protocols/googlescopes for more info. |
| List
| *camel.component.google-sheets-stream.split-results* | True if value range
result should be split into rows or columns to process each of them
individually. When true each row or column is represented with a separate
exchange in batch processing. Otherwise value range object is used as exchange
junk size. | false | Boolean
-| *camel.component.google-sheets-stream.spreadsheet-id* | Specifies the
spreadsheet identifier that is used to identify the target to obtain. | |
String
| *camel.component.google-sheets-stream.value-render-option* | Determines how
values should be rendered in the output. | FORMATTED_VALUE | String
| *camel.component.google-sheets.access-token* | OAuth 2 access token. This
typically expires after an hour so refreshToken is recommended for long term
usage. | | String
| *camel.component.google-sheets.application-name* | Google Sheets application
name. Example would be camel-google-sheets/1.0 | | String