Class BatchGoogleSheetsClientFactory
- java.lang.Object
-
- org.apache.camel.component.google.sheets.BatchGoogleSheetsClientFactory
-
- All Implemented Interfaces:
GoogleSheetsClientFactory
public class BatchGoogleSheetsClientFactory extends Object implements GoogleSheetsClientFactory
-
-
Constructor Summary
Constructors Constructor Description BatchGoogleSheetsClientFactory()
BatchGoogleSheetsClientFactory(com.google.api.client.http.HttpTransport httpTransport)
BatchGoogleSheetsClientFactory(com.google.api.client.http.HttpTransport httpTransport, com.google.api.client.json.JsonFactory jsonFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure(com.google.api.services.sheets.v4.Sheets.Builder clientBuilder)
Subclasses may add customized configuration to client builder.com.google.api.services.sheets.v4.Sheets
makeClient(String clientId, String clientSecret, Collection<String> scopes, String applicationName, String refreshToken, String accessToken)
com.google.api.services.sheets.v4.Sheets
makeClient(org.apache.camel.CamelContext camelContext, String serviceAccountKey, Collection<String> scopes, String applicationName, String delegate)
-
-
-
Constructor Detail
-
BatchGoogleSheetsClientFactory
public BatchGoogleSheetsClientFactory()
-
BatchGoogleSheetsClientFactory
public BatchGoogleSheetsClientFactory(com.google.api.client.http.HttpTransport httpTransport)
-
BatchGoogleSheetsClientFactory
public BatchGoogleSheetsClientFactory(com.google.api.client.http.HttpTransport httpTransport, com.google.api.client.json.JsonFactory jsonFactory)
-
-
Method Detail
-
makeClient
public com.google.api.services.sheets.v4.Sheets makeClient(String clientId, String clientSecret, Collection<String> scopes, String applicationName, String refreshToken, String accessToken)
- Specified by:
makeClient
in interfaceGoogleSheetsClientFactory
-
configure
protected void configure(com.google.api.services.sheets.v4.Sheets.Builder clientBuilder)
Subclasses may add customized configuration to client builder.- Parameters:
clientBuilder
-
-
makeClient
public com.google.api.services.sheets.v4.Sheets makeClient(org.apache.camel.CamelContext camelContext, String serviceAccountKey, Collection<String> scopes, String applicationName, String delegate)
- Specified by:
makeClient
in interfaceGoogleSheetsClientFactory
-
-