This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 92a6455b10266e4741f99b4bbc6d6840d436270e Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Jan 14 08:35:53 2021 +0100 CAMEL-15961: Extend configuration with 'syncFlow' parameter Conflicts: components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointConfigurer.java components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointUriFactory.java --- .../docs/google-calendar-stream-component.adoc | 3 +- .../GoogleCalendarStreamComponentConfigurer.java | 6 ++++ .../GoogleCalendarStreamEndpointConfigurer.java | 18 ++++++++++++ .../GoogleCalendarStreamEndpointUriFactory.java | 5 ++++ .../calendar/stream/google-calendar-stream.json | 2 ++ .../docs/google-calendar-stream-component.adoc | 3 +- .../stream/GoogleCalendarStreamConfiguration.java | 16 ++++++++++- ...oogleCalendarStreamComponentBuilderFactory.java | 17 +++++++++++ ...GoogleCalendarStreamEndpointBuilderFactory.java | 33 ++++++++++++++++++++++ .../pages/google-calendar-stream-component.adoc | 3 +- 10 files changed, 102 insertions(+), 4 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-stream-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-stream-component.adoc index 00fdac3..ef75fce 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-stream-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-stream-component.adoc @@ -54,7 +54,7 @@ google-calendar-stream://index?[options] // component options: START -The Google Calendar Stream component supports 18 options, which are listed below. +The Google Calendar Stream component supports 19 options, which are listed below. @@ -71,6 +71,7 @@ The Google Calendar Stream component supports 18 options, which are listed below | *maxResults* (consumer) | Max results to be returned | 10 | int | *query* (consumer) | The query to execute on calendar | | String | *scopes* (consumer) | Specifies the level of permissions you want a calendar application to have to a user account. See \https://developers.google.com/calendar/auth for more info. | | List +| *syncFlow* (consumer) | Sync events, see \https://developers.google.com/calendar/v3/sync Note: not compatible with: 'query' and 'considerLastUpdate' parameters | false | boolean | *autowiredEnabled* (advanced) | 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 then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | boolean | *clientFactory* (advanced) | The client Factory | | GoogleCalendarClientFactory | *accessToken* (security) | OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage. | | String diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamComponentConfigurer.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamComponentConfigurer.java index f9664cb..c40d3d5 100644 --- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamComponentConfigurer.java +++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamComponentConfigurer.java @@ -59,6 +59,8 @@ public class GoogleCalendarStreamComponentConfigurer extends PropertyConfigurerS case "refreshtoken": case "refreshToken": getOrCreateConfiguration(target).setRefreshToken(property(camelContext, java.lang.String.class, value)); return true; case "scopes": getOrCreateConfiguration(target).setScopes(property(camelContext, java.util.List.class, value)); return true; + case "syncflow": + case "syncFlow": getOrCreateConfiguration(target).setSyncFlow(property(camelContext, boolean.class, value)); return true; case "user": getOrCreateConfiguration(target).setUser(property(camelContext, java.lang.String.class, value)); return true; default: return false; } @@ -98,6 +100,8 @@ public class GoogleCalendarStreamComponentConfigurer extends PropertyConfigurerS case "refreshtoken": case "refreshToken": return java.lang.String.class; case "scopes": return java.util.List.class; + case "syncflow": + case "syncFlow": return boolean.class; case "user": return java.lang.String.class; default: return null; } @@ -138,6 +142,8 @@ public class GoogleCalendarStreamComponentConfigurer extends PropertyConfigurerS case "refreshtoken": case "refreshToken": return getOrCreateConfiguration(target).getRefreshToken(); case "scopes": return getOrCreateConfiguration(target).getScopes(); + case "syncflow": + case "syncFlow": return getOrCreateConfiguration(target).isSyncFlow(); case "user": return getOrCreateConfiguration(target).getUser(); default: return null; } diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointConfigurer.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointConfigurer.java index d1d16a1..d8a7969 100644 --- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointConfigurer.java +++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointConfigurer.java @@ -76,6 +76,12 @@ public class GoogleCalendarStreamEndpointConfigurer extends PropertyConfigurerSu case "sendEmptyMessageWhenIdle": target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, value)); return true; case "startscheduler": case "startScheduler": target.setStartScheduler(property(camelContext, boolean.class, value)); return true; +<<<<<<< HEAD +======= + case "syncflow": + case "syncFlow": target.getConfiguration().setSyncFlow(property(camelContext, boolean.class, value)); return true; + case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true; +>>>>>>> dca8b31... CAMEL-15961: Extend configuration with 'syncFlow' parameter case "timeunit": case "timeUnit": target.setTimeUnit(property(camelContext, java.util.concurrent.TimeUnit.class, value)); return true; case "usefixeddelay": @@ -143,6 +149,12 @@ public class GoogleCalendarStreamEndpointConfigurer extends PropertyConfigurerSu case "sendEmptyMessageWhenIdle": return boolean.class; case "startscheduler": case "startScheduler": return boolean.class; +<<<<<<< HEAD +======= + case "syncflow": + case "syncFlow": return boolean.class; + case "synchronous": return boolean.class; +>>>>>>> dca8b31... CAMEL-15961: Extend configuration with 'syncFlow' parameter case "timeunit": case "timeUnit": return java.util.concurrent.TimeUnit.class; case "usefixeddelay": @@ -211,6 +223,12 @@ public class GoogleCalendarStreamEndpointConfigurer extends PropertyConfigurerSu case "sendEmptyMessageWhenIdle": return target.isSendEmptyMessageWhenIdle(); case "startscheduler": case "startScheduler": return target.isStartScheduler(); +<<<<<<< HEAD +======= + case "syncflow": + case "syncFlow": return target.getConfiguration().isSyncFlow(); + case "synchronous": return target.isSynchronous(); +>>>>>>> dca8b31... CAMEL-15961: Extend configuration with 'syncFlow' parameter case "timeunit": case "timeUnit": return target.getTimeUnit(); case "usefixeddelay": diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointUriFactory.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointUriFactory.java index 5df2161..6d19e81 100644 --- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointUriFactory.java +++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointUriFactory.java @@ -20,7 +20,11 @@ public class GoogleCalendarStreamEndpointUriFactory extends org.apache.camel.sup private static final Set<String> PROPERTY_NAMES; private static final Set<String> SECRET_PROPERTY_NAMES; static { +<<<<<<< HEAD Set<String> props = new HashSet<>(41); +======= + Set<String> props = new HashSet<>(43); +>>>>>>> dca8b31... CAMEL-15961: Extend configuration with 'syncFlow' parameter props.add("backoffMultiplier"); props.add("destination"); props.add("initialDelay"); @@ -51,6 +55,7 @@ public class GoogleCalendarStreamEndpointUriFactory extends org.apache.camel.sup props.add("schedulerProperties"); props.add("exchangePattern"); props.add("index"); + props.add("syncFlow"); props.add("accessToken"); props.add("backoffIdleThreshold"); props.add("contentChannel"); diff --git a/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/stream/google-calendar-stream.json b/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/stream/google-calendar-stream.json index ba98f7f..4889ff8 100644 --- a/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/stream/google-calendar-stream.json +++ b/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/stream/google-calendar-stream.json @@ -32,6 +32,7 @@ "maxResults": { "kind": "property", "displayName": "Max Results", "group": "consumer", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "Max results to be returned" }, "query": { "kind": "property", "displayName": "Query", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "The query to execute on calendar" }, "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.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "Specifies the level of permissions you want a calendar application to have to a user accoun [...] + "syncFlow": { "kind": "property", "displayName": "Sync Flow", "group": "consumer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "Sync events, see https:\/\/developers.google.com\/calendar\/v3\/sync Note: not compati [...] "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.calendar.GoogleCalendarClientFactory", "deprecated": false, "autowired": false, "secret": false, "description": "The client Factory" }, "accessToken": { "kind": "property", "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.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "OAuth 2 access token. This typically expires after an hour so refreshToken is recommende [...] @@ -53,6 +54,7 @@ "query": { "kind": "parameter", "displayName": "Query", "group": "consumer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "The query to execute on calendar" }, "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.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "Specifies the level of permissions you want a calendar application to have to a user accou [...] "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." }, + "syncFlow": { "kind": "parameter", "displayName": "Sync Flow", "group": "consumer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration", "configurationField": "configuration", "description": "Sync events, see https:\/\/developers.google.com\/calendar\/v3\/sync Note: not compat [...] "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." }, "pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation [...] diff --git a/components/camel-google-calendar/src/main/docs/google-calendar-stream-component.adoc b/components/camel-google-calendar/src/main/docs/google-calendar-stream-component.adoc index 00fdac3..ef75fce 100644 --- a/components/camel-google-calendar/src/main/docs/google-calendar-stream-component.adoc +++ b/components/camel-google-calendar/src/main/docs/google-calendar-stream-component.adoc @@ -54,7 +54,7 @@ google-calendar-stream://index?[options] // component options: START -The Google Calendar Stream component supports 18 options, which are listed below. +The Google Calendar Stream component supports 19 options, which are listed below. @@ -71,6 +71,7 @@ The Google Calendar Stream component supports 18 options, which are listed below | *maxResults* (consumer) | Max results to be returned | 10 | int | *query* (consumer) | The query to execute on calendar | | String | *scopes* (consumer) | Specifies the level of permissions you want a calendar application to have to a user account. See \https://developers.google.com/calendar/auth for more info. | | List +| *syncFlow* (consumer) | Sync events, see \https://developers.google.com/calendar/v3/sync Note: not compatible with: 'query' and 'considerLastUpdate' parameters | false | boolean | *autowiredEnabled* (advanced) | 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 then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | boolean | *clientFactory* (advanced) | The client Factory | | GoogleCalendarClientFactory | *accessToken* (security) | OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage. | | String diff --git a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConfiguration.java b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConfiguration.java index 60d7341..d0e03ff 100644 --- a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConfiguration.java +++ b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConfiguration.java @@ -64,6 +64,8 @@ public class GoogleCalendarStreamConfiguration implements Cloneable { private boolean consumeFromNow = true; @UriParam private boolean considerLastUpdate; + @UriParam(defaultValue = "false") + private boolean syncFlow = false; public String getClientId() { return clientId; @@ -226,6 +228,19 @@ public class GoogleCalendarStreamConfiguration implements Cloneable { } /** + * Sync events, see https://developers.google.com/calendar/v3/sync + * + * Note: not compatible with: 'query' and 'considerLastUpdate' parameters + */ + public void setSyncFlow(boolean syncFlow) { + this.syncFlow = syncFlow; + } + + public boolean isSyncFlow() { + return syncFlow; + } + + /** * Take into account the lastUpdate of the last event polled as start date for the next poll */ public void setConsiderLastUpdate(boolean considerLastUpdate) { @@ -242,5 +257,4 @@ public class GoogleCalendarStreamConfiguration implements Cloneable { throw new RuntimeCamelException(e); } } - } diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java index cea4048..349dba1 100644 --- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java +++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java @@ -217,6 +217,22 @@ public interface GoogleCalendarStreamComponentBuilderFactory { return this; } /** + * Sync events, see https://developers.google.com/calendar/v3/sync Note: + * not compatible with: 'query' and 'considerLastUpdate' parameters. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: consumer + * + * @param syncFlow the value to set + * @return the dsl builder + */ + default GoogleCalendarStreamComponentBuilder syncFlow(boolean syncFlow) { + doSetProperty("syncFlow", syncFlow); + return this; + } + /** * 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, @@ -381,6 +397,7 @@ public interface GoogleCalendarStreamComponentBuilderFactory { case "maxResults": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setMaxResults((int) value); return true; case "query": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setQuery((java.lang.String) value); return true; case "scopes": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setScopes((java.util.List) value); return true; + case "syncFlow": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setSyncFlow((boolean) value); return true; case "autowiredEnabled": ((GoogleCalendarStreamComponent) component).setAutowiredEnabled((boolean) value); return true; case "clientFactory": ((GoogleCalendarStreamComponent) component).setClientFactory((org.apache.camel.component.google.calendar.GoogleCalendarClientFactory) value); return true; case "accessToken": getOrCreateConfiguration((GoogleCalendarStreamComponent) component).setAccessToken((java.lang.String) value); return true; diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java index 2dc619d..85f7a88 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java @@ -319,6 +319,39 @@ public interface GoogleCalendarStreamEndpointBuilderFactory { return this; } /** + * Sync events, see https://developers.google.com/calendar/v3/sync Note: + * not compatible with: 'query' and 'considerLastUpdate' parameters. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: consumer + * + * @param syncFlow the value to set + * @return the dsl builder + */ + default GoogleCalendarStreamEndpointBuilder syncFlow(boolean syncFlow) { + doSetProperty("syncFlow", syncFlow); + return this; + } + /** + * Sync events, see https://developers.google.com/calendar/v3/sync Note: + * not compatible with: 'query' and 'considerLastUpdate' parameters. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: consumer + * + * @param syncFlow the value to set + * @return the dsl builder + */ + default GoogleCalendarStreamEndpointBuilder syncFlow(String syncFlow) { + doSetProperty("syncFlow", syncFlow); + return this; + } + /** * The number of subsequent error polls (failed due some error) that * should happen before the backoffMultipler should kick-in. * diff --git a/docs/components/modules/ROOT/pages/google-calendar-stream-component.adoc b/docs/components/modules/ROOT/pages/google-calendar-stream-component.adoc index 336cbb1..90f917c 100644 --- a/docs/components/modules/ROOT/pages/google-calendar-stream-component.adoc +++ b/docs/components/modules/ROOT/pages/google-calendar-stream-component.adoc @@ -56,7 +56,7 @@ google-calendar-stream://index?[options] // component options: START -The Google Calendar Stream component supports 18 options, which are listed below. +The Google Calendar Stream component supports 19 options, which are listed below. @@ -73,6 +73,7 @@ The Google Calendar Stream component supports 18 options, which are listed below | *maxResults* (consumer) | Max results to be returned | 10 | int | *query* (consumer) | The query to execute on calendar | | String | *scopes* (consumer) | Specifies the level of permissions you want a calendar application to have to a user account. See \https://developers.google.com/calendar/auth for more info. | | List +| *syncFlow* (consumer) | Sync events, see \https://developers.google.com/calendar/v3/sync Note: not compatible with: 'query' and 'considerLastUpdate' parameters | false | boolean | *autowiredEnabled* (advanced) | 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 then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | boolean | *clientFactory* (advanced) | The client Factory | | GoogleCalendarClientFactory | *accessToken* (security) | OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage. | | String