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
-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods 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 Detail
-
advanced
default GoogleSheetsEndpointBuilderFactory.AdvancedGoogleSheetsEndpointBuilder advanced()
- Specified by:
advanced
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
- Specified by:
advanced
in 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:
applicationName
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
- Specified by:
applicationName
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder
- Parameters:
applicationName
- the value to set- Returns:
- the dsl builder
-
clientId
default GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder clientId(String clientId)
Client ID of the sheets application. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
clientId
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
- Specified by:
clientId
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder
- Parameters:
clientId
- the value to set- Returns:
- the dsl builder
-
delegate
default GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder delegate(String delegate)
Delegate for wide-domain service account. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
delegate
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
- Specified by:
delegate
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder
- Parameters:
delegate
- the value to set- Returns:
- the dsl builder
-
inBody
default GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder inBody(String 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:
inBody
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
- Specified by:
inBody
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder
- Parameters:
inBody
- the value to set- Returns:
- the dsl builder
-
scopes
default GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder scopes(Collection<String> scopes)
Sheets scopes. The option is a: <code>java.util.Collection<java.lang.String></code> type. Group: common- Specified by:
scopes
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
- Specified by:
scopes
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder
- Parameters:
scopes
- the value to set- Returns:
- the dsl builder
-
scopes
default GoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointBuilder scopes(String scopes)
Sheets scopes. The option will be converted to a <code>java.util.Collection<java.lang.String></code> type. Group: common- Specified by:
scopes
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
- Specified by:
scopes
in 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:
accessToken
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
- Specified by:
accessToken
in 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:
clientSecret
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
- Specified by:
clientSecret
in 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:
refreshToken
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
- Specified by:
refreshToken
in 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:
serviceAccountKey
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointConsumerBuilder
- Specified by:
serviceAccountKey
in interfaceGoogleSheetsEndpointBuilderFactory.GoogleSheetsEndpointProducerBuilder
- Parameters:
serviceAccountKey
- the value to set- Returns:
- the dsl builder
-
-