125.3. Spring Boot Auto-Configuration

コンポーネントは、以下に記載される 16 のオプションをサポートします。

名前説明デフォルトタイプ

camel.component.google-sheets-stream.client-factory

クライアントを作成するためのファクトリーとして GoogleSheetsClientFactory を使用します。デフォルトで BatchGoogleSheetsClientFactory を使用します。オプションは org.apache.camel.component.google.sheets.GoogleSheetsClientFactory タイプです。

 

String

camel.component.google-sheets-stream.configuration.access-token

OAuth 2 アクセストークン通常、これは 1 時間後に期限切れになるため、長期間の使用には refreshToken をお勧めします。

 

String

camel.component.google-sheets-stream.configuration.api-name

apiName を設定します。

 

String

camel.component.google-sheets-stream.configuration.application-name

Google sheets アプリケーション名。例は camel-google-sheets/1.0 です

 

String

camel.component.google-sheets-stream.configuration.client-id

Sheets アプリケーションのクライアント ID

 

String

camel.component.google-sheets-stream.configuration.client-secret

Sheets アプリケーションのクライアントシークレット

 

String

camel.component.google-sheets-stream.configuration.include-grid-data

グリッドデータを返す必要がある場合は True。

false

Boolean

camel.component.google-sheets-stream.configuration.major-dimension

結果で使用する主要なディメンションを指定します。

ROWS

String

camel.component.google-sheets-stream.configuration.max-results

返される結果の最大数を指定します。これにより、返される値の範囲のデータセット内の行数またはバッチリクエスト内の返される値の範囲の数が制限されます。

10

Integer

camel.component.google-sheets-stream.configuration.range

データを取得するシート内の行と列の範囲を指定します。

 

String

camel.component.google-sheets-stream.configuration.refresh-token

OAuth 2 トークンの更新これにより、Google カレンダーコンポーネントは、現在の有効期限が切れるたびに新しい accessToken を取得できます。アプリケーションが長期間使用する場合は必要となります。

 

String

camel.component.google-sheets-stream.configuration.scopes

sheets アプリケーションがユーザーアカウントに対して持つ権限のレベルを指定します。詳細については、https://developers.google.com/identity/protocols/googlescopes を参照してください。

 

List

camel.component.google-sheets-stream.configuration.spreadsheet-id

取得するターゲットを識別するために使用されるスプレッドシート識別子を指定します。

 

String

camel.component.google-sheets-stream.configuration.value-render-option

出力で値をレンダリングする方法を決定します。

FORMATTED_VALUE

String

camel.component.google-sheets-stream.enabled

google-sheets-stream コンポーネントの自動設定を有効にするかどうか。これはデフォルトで有効になっています。

 

Boolean

camel.component.google-sheets-stream.resolve-property-placeholders

起動時にコンポーネントがプロパティープレースホルダーを解決するかどうか。String タイプのプロパティーのみがプロパティープレースホルダーを使用できます。

true

Boolean