This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new fe11089da0c4 CAMEL-23044 - Generalize Google services authentication 
with common module - Google Sheets (#21629)
fe11089da0c4 is described below

commit fe11089da0c45c2c7d3b38d0bd67c64a6f8a0339
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Feb 27 12:02:40 2026 +0100

    CAMEL-23044 - Generalize Google services authentication with common module 
- Google Sheets (#21629)
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 .../google/sheets/stream/GoogleSheetsStreamConfiguration.java  | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git 
a/components/camel-google/camel-google-sheets/src/main/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamConfiguration.java
 
b/components/camel-google/camel-google-sheets/src/main/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamConfiguration.java
index bf993e11ff20..ec7e455d3a51 100644
--- 
a/components/camel-google/camel-google-sheets/src/main/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamConfiguration.java
+++ 
b/components/camel-google/camel-google-sheets/src/main/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamConfiguration.java
@@ -20,6 +20,7 @@ import java.util.Collection;
 import java.util.List;
 
 import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.component.google.common.GoogleCommonConfiguration;
 import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.UriParam;
 import org.apache.camel.spi.UriParams;
@@ -29,7 +30,7 @@ import org.apache.camel.spi.UriPath;
  * Component configuration for GoogleSheets stream component.
  */
 @UriParams
-public class GoogleSheetsStreamConfiguration implements Cloneable {
+public class GoogleSheetsStreamConfiguration implements Cloneable, 
GoogleCommonConfiguration {
 
     @UriPath
     @Metadata(required = true)
@@ -64,6 +65,7 @@ public class GoogleSheetsStreamConfiguration implements 
Cloneable {
     @UriParam
     private String delegate;
 
+    @Override
     public String getClientId() {
         return clientId;
     }
@@ -75,6 +77,7 @@ public class GoogleSheetsStreamConfiguration implements 
Cloneable {
         this.clientId = clientId;
     }
 
+    @Override
     public String getClientSecret() {
         return clientSecret;
     }
@@ -86,6 +89,7 @@ public class GoogleSheetsStreamConfiguration implements 
Cloneable {
         this.clientSecret = clientSecret;
     }
 
+    @Override
     public String getAccessToken() {
         return accessToken;
     }
@@ -97,6 +101,7 @@ public class GoogleSheetsStreamConfiguration implements 
Cloneable {
         this.accessToken = accessToken;
     }
 
+    @Override
     public String getRefreshToken() {
         return refreshToken;
     }
@@ -124,6 +129,7 @@ public class GoogleSheetsStreamConfiguration implements 
Cloneable {
         return scopes;
     }
 
+    @Override
     public Collection<String> getScopesAsList() {
         if (scopes != null) {
             return List.of(scopes.split(","));
@@ -223,6 +229,7 @@ public class GoogleSheetsStreamConfiguration implements 
Cloneable {
         this.splitResults = splitResults;
     }
 
+    @Override
     public String getServiceAccountKey() {
         return serviceAccountKey;
     }
@@ -236,6 +243,7 @@ public class GoogleSheetsStreamConfiguration implements 
Cloneable {
         this.serviceAccountKey = serviceAccountKey;
     }
 
+    @Override
     public String getDelegate() {
         return delegate;
     }

Reply via email to