Interface GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder,GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder
- Enclosing interface:
- GoogleSheetsEndpointBuilderFactory
public static interface GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder
extends GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder, GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder
Builder for endpoint for the Google Sheets component.
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken(String accessToken) OAuth 2 access token.advanced()applicationName(String applicationName) Google Sheets application name.Client ID of the sheets application.clientSecret(String clientSecret) Client secret of the sheets application.Delegate for wide-domain service account.Sets the name of a parameter to be passed in the exchange In Body.refreshToken(String refreshToken) OAuth 2 refresh token.Specifies the level of permissions you want a sheets application to have to a user account.scopes(Collection<String> scopes) Specifies the level of permissions you want a sheets application to have to a user account.serviceAccountKey(String serviceAccountKey) Sets .json file with credentials for Service account.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, delay, delay, greedy, greedy, initialDelay, initialDelay, repeatCount, repeatCount, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, splitResult, splitResult, startScheduler, startScheduler, timeUnit, timeUnit, useFixedDelay, useFixedDelay
-
Method Details
-
advanced
- Specified by:
advancedin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder- Specified by:
advancedin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder
-
applicationName
default GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder applicationName(String applicationName) Google Sheets application name. Example would be camel-google-sheets/1.0. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
applicationNamein interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder- Specified by:
applicationNamein interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder- Parameters:
applicationName- the value to set- Returns:
- the dsl builder
-
clientId
Client ID of the sheets application. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
clientIdin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder- Specified by:
clientIdin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder- Parameters:
clientId- the value to set- Returns:
- the dsl builder
-
delegate
Delegate for wide-domain service account. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
delegatein interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder- Specified by:
delegatein interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder- Parameters:
delegate- the value to set- Returns:
- the dsl builder
-
inBody
Sets the name of a parameter to be passed in the exchange In Body. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
inBodyin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder- Specified by:
inBodyin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder- Parameters:
inBody- the value to set- Returns:
- the dsl builder
-
scopes
default GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder scopes(Collection<String> 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. The option is a: <code>java.util.Collection<java.lang.String></code> type. Group: common- Specified by:
scopesin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder- Specified by:
scopesin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder- Parameters:
scopes- the value to set- Returns:
- the dsl builder
-
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. The option will be converted to a <code>java.util.Collection<java.lang.String></code> type. Group: common- Specified by:
scopesin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder- Specified by:
scopesin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder- Parameters:
scopes- the value to set- Returns:
- the dsl builder
-
accessToken
default GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder accessToken(String accessToken) OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
accessTokenin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder- Specified by:
accessTokenin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder- Parameters:
accessToken- the value to set- Returns:
- the dsl builder
-
clientSecret
default GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder clientSecret(String clientSecret) Client secret of the sheets application. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
clientSecretin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder- Specified by:
clientSecretin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder- Parameters:
clientSecret- the value to set- Returns:
- the dsl builder
-
refreshToken
default GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder refreshToken(String refreshToken) OAuth 2 refresh token. Using this, the Google Sheets component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
refreshTokenin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder- Specified by:
refreshTokenin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder- Parameters:
refreshToken- the value to set- Returns:
- the dsl builder
-
serviceAccountKey
default GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder serviceAccountKey(String serviceAccountKey) Sets .json file with credentials for Service account. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
serviceAccountKeyin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder- Specified by:
serviceAccountKeyin interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder- Parameters:
serviceAccountKey- the value to set- Returns:
- the dsl builder
-