125.3. Spring Boot Auto-Configuration
구성 요소는 아래 나열된 16 가지 옵션을 지원합니다.
| 이름 | 설명 | 기본값 | 유형 |
|---|---|---|---|
| camel.component.google-sheets-stream.client-factory | GoogleSheetsClientFactory를 팩토리로 사용하여 클라이언트를 생성합니다. 기본적으로 BatchGoogleSheetsClientFactory를 사용합니다. 옵션은 org.apache.camel.component.google. sheets.GoogleSheetsClientFactory 유형입니다. | 문자열 | |
| camel.component.google-sheets-stream.configuration.access-token | OAuth 2 액세스 토큰. 일반적으로 1 시간 후에 만료되므로 refreshToken은 장기간 사용하는 것이 좋습니다. | 문자열 | |
| camel.component.google-sheets-stream.configuration.api-name | apiName을 설정합니다. | 문자열 | |
| camel.component.google-sheets-stream.configuration.application-name | Google 시트 애플리케이션 이름입니다. 예: camel-google-sheets/1.0 | 문자열 | |
| camel.component.google-sheets-stream.configuration.client-id | 시트 애플리케이션의 클라이언트 ID | 문자열 | |
| camel.component.google-sheets-stream.configuration.client-secret | 시트 애플리케이션의 클라이언트 시크릿 | 문자열 | |
| camel.component.google-sheets-stream.configuration.include-grid-data | true를 반환해야 하는 경우 true입니다.true if grid data should be returned. | false | 부울 |
| camel.component.google-sheets-stream.configuration.major-dimension | 결과가 사용해야 하는 주요 차원을 지정합니다. | ROWS | 문자열 |
| camel.component.google-sheets-stream.configuration.max-results | 반환되는 최대 결과 수를 지정합니다. 이렇게 하면 반환된 값 범위 데이터 집합의 행 수 또는 배치 요청에서 반환된 값 범위 수가 제한됩니다.This will limit the number of rows in a returned value range data set or the number of returned value ranges in a batch request. | 0 | 정수 |
| camel.component.google-sheets-stream.configuration.range | 데이터를 가져올 시트의 행과 열 범위를 지정합니다.Specifies the range of rows and columns in a sheet to get data from. | 문자열 | |
| camel.component.google-sheets-stream.configuration.refresh-token | OAuth 2 새로 고침 토큰. 이를 사용하여 Google 캘린더 구성 요소는 현재 기간이 만료될 때마다 새로운 accessToken을 얻을 수 있습니다 - 애플리케이션이 오래되면 필요합니다. | 문자열 | |
| camel.component.google-sheets-stream.configuration.scopes | 시트 응용 프로그램에서 사용자 계정에 포함할 권한 수준을 지정합니다.Specifies the level of permissions you want a sheets application to have to a user account. 자세한 내용은 https://developers.google.com/identity/protocols/googlescopes 을 참조하십시오. | list | |
| camel.component.google-sheets-stream.configuration.spreadsheet-id | 가져올 대상을 식별하는 데 사용되는 스프레드시트 식별자를 지정합니다. | 문자열 | |
| camel.component.google-sheets-stream.configuration.value-render-option | 출력에서 값을 렌더링해야 하는 방법을 결정합니다. | FORMATTED_VALUE | 문자열 |
| camel.component.google-sheets-stream.enabled | google-sheets-stream 구성 요소의 자동 구성을 활성화할지 여부입니다. 이는 기본적으로 활성화되어 있습니다. | 부울 | |
| camel.component.google-sheets-stream.resolve-property-placeholders | 구성 요소가 시작 시 자체적으로 속성 자리 표시자를 확인해야 하는지 여부입니다. String 유형의 속성만 속성 자리 표시자를 사용할 수 있습니다.Only properties which are of String type can use property placeholders. | true | 부울 |