RequestOptions
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
JSON 표현 |
{
"languageCode": string,
"debugOptions": {
object (DebugOptions )
},
"timeZone": string,
"searchApplicationId": string
} |
필드 |
languageCode |
string
BCP-47 언어 코드(예: 'en-US' 또는 'sr-Latn') 자세한 내용은 http://www.unicode.org/reports/tr35/#Unicode_locale_identifier를 참조하세요. 번역 브라우저 또는 페이지에 설정된 언어를 사용하여 이 필드를 설정합니다. 사용자의 언어 환경설정이 알려진 경우 이 필드를 알려진 사용자 언어로 설정합니다. 지정하면 검색 결과의 문서가 지정된 언어를 선호합니다. Suggest API는 이 필드를 힌트로 사용하여 서드 파티 자동 완성 예측을 개선합니다.
|
debugOptions |
object (DebugOptions )
요청의 디버그 옵션
|
timeZone |
string
현재 사용자의 시간대 ID입니다(예: 'America/Los_Angeles' 또는 'Australia/Sydney'). 이러한 ID는 유니코드 Common Locale Data Repository (CLDR) 프로젝트에 의해 정의되며 현재 timezone.xml 파일에서 사용할 수 있습니다. 이 필드는 날짜 및 시간 쿼리를 올바르게 해석하는 데 사용됩니다. 이 필드를 지정하지 않으면 기본 시간대 (UTC)가 사용됩니다.
|
searchApplicationId |
string
관리 콘솔을 사용하여 검색 애플리케이션을 만들 때 생성된 ID입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],[],null,["# RequestOptions\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nShared request options for all RPC methods.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"languageCode\": string, \"debugOptions\": { object (/workspace/cloud-search/docs/reference/rest/v1/DebugOptions) }, \"timeZone\": string, \"searchApplicationId\": string } ``` |\n\n| Fields ||\n|-----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `languageCode` | `string` The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see \u003chttp://www.unicode.org/reports/tr35/#Unicode_locale_identifier\u003e. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The Suggest API uses this field as a hint to make better third-party autocomplete predictions. |\n| `debugOptions` | `object (`[DebugOptions](/workspace/cloud-search/docs/reference/rest/v1/DebugOptions)`)` Debug options of the request |\n| `timeZone` | `string` Current user's time zone id, such as \"America/Los_Angeles\" or \"Australia/Sydney\". These IDs are defined by [Unicode Common Locale data Repository (CLDR)](http://cldr.unicode.org/) project, and currently available in the file [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used. |\n| `searchApplicationId` | `string` The id generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922). |"]]