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
मौजूदा उपयोगकर्ता के टाइम ज़ोन का आईडी, जैसे कि "America/Los_Angeles" या "Australia/Sydney". इन आईडी को यूनिकोड कॉमन लोकल डेटा रिपॉज़िटरी (CLDR) प्रोजेक्ट तय करता है. फ़िलहाल, ये आईडी timezone.xml फ़ाइल में उपलब्ध हैं. इस फ़ील्ड का इस्तेमाल, तारीख और समय की क्वेरी को सही तरीके से समझने के लिए किया जाता है. अगर इस फ़ील्ड की वैल्यू नहीं दी गई है, तो डिफ़ॉल्ट टाइम ज़ोन (यूटीसी) का इस्तेमाल किया जाता है.
|
searchApplicationId |
string
Admin console का इस्तेमाल करके, सर्च ऐप्लिकेशन बनाने पर जनरेट होने वाला आईडी.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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). |"]]