119.3. Spring Boot Auto-Configuration
コンポーネントは、以下に記載される 15 のオプションをサポートします。
名前 | 説明 | デフォルト | タイプ |
---|---|---|---|
camel.component.google-calendar-stream.client-factory | クライアントファクトリー。オプションは org.apache.camel.component.google.calendar.GoogleCalendarClientFactory タイプです。 | String | |
camel.component.google-calendar-stream.configuration.access-token | OAuth 2 アクセストークン通常、これは 1 時間後に期限切れになるため、長期間の使用には refreshToken をお勧めします。 | String | |
camel.component.google-calendar-stream.configuration.application-name | Google Calendar アプリケーション名。例は camel-google-calendar/1.0 です | String | |
camel.component.google-calendar-stream.configuration.calendar-id | 使用する calendarId | プライマリー | String |
camel.component.google-calendar-stream.configuration.client-id | カレンダーアプリケーションのクライアント ID | String | |
camel.component.google-calendar-stream.configuration.client-secret | カレンダーアプリケーションのクライアントシークレット | String | |
camel.component.google-calendar-stream.configuration.consider-last-update | 次のポーリングの開始日として、最後にポーリングされたイベントの lastUpdate を考慮に入れる | false | Boolean |
camel.component.google-calendar-stream.configuration.consume-from-now | 選択したカレンダーのイベントを今後使用する | true | Boolean |
camel.component.google-calendar-stream.configuration.index | エンドポイントのインデックスを指定します | String | |
camel.component.google-calendar-stream.configuration.max-results | 返される最大の結果 | 10 | Integer |
camel.component.google-calendar-stream.configuration.query | カレンダーで実行するクエリー | String | |
camel.component.google-calendar-stream.configuration.refresh-token | OAuth 2 トークンの更新これにより、Google カレンダーコンポーネントは、現在の有効期限が切れるたびに新しい accessToken を取得できます。アプリケーションが長期間使用する場合は必要となります。 | String | |
camel.component.google-calendar-stream.configuration.scopes | カレンダーアプリケーションがユーザーアカウントに対して持つ権限のレベルを指定します。詳細については、https://developers.google.com/calendar/auth を参照してください。 | List | |
camel.component.google-calendar-stream.enabled | google-calendar-stream コンポーネントの自動設定を有効にするかどうか。これはデフォルトで有効になっています。 | Boolean | |
camel.component.google-calendar-stream.resolve-property-placeholders | 起動時にコンポーネントがプロパティープレースホルダーを解決するかどうか。String タイプのプロパティーのみがプロパティープレースホルダーを使用できます。 | true | Boolean |