Request
बैच एक्ज़ीक्यूशन के तहत भेजा गया अनुरोध मैसेज.
JSON के काेड में दिखाना |
{
"requestId": string,
"methodName": string,
"request": {
"@type": string,
field1: ...,
...
},
"extensions": [
{
"@type": string,
field1: ...,
...
}
]
} |
फ़ील्ड |
requestId |
string
बैच में इस अनुरोध का यूनीक आईडी. मेल खाने वाले requestId के साथ रिस्पॉन्स मैसेज, इस अनुरोध का जवाब है. अनुरोध-स्ट्रीमिंग के तरीकों के लिए, किसी एक तरीके का हिस्सा होने वाले सभी अनुरोध मैसेज को भेजने के लिए, एक ही requestId का इस्तेमाल कई बार किया जा सकता है. रिस्पॉन्स-स्ट्रीमिंग के तरीकों के लिए, एक ही requestId , कई जवाब वाले मैसेज में दिख सकता है.
|
methodName |
string
कॉल करने का तरीका. तरीके का नाम पूरी तरह क्वालिफ़ाइड होना चाहिए. उदाहरण: google.rpc.batch.Batch.प्रोसेसर
|
request |
object
अनुरोध पेलोड. ऐसा ऑब्जेक्ट जिसमें आर्बिट्रेरी टाइप के फ़ील्ड शामिल होते हैं. अतिरिक्त फ़ील्ड "@type" में, टाइप की पहचान करने वाला यूआरआई होता है. उदाहरण: { "id": 1234, "@type": "types.example.com/standard/id" } .
|
extensions[] |
object
ऐप्लिकेशन के अनुरोध का मेटाडेटा. ऐसा ऑब्जेक्ट जिसमें आर्बिट्रेरी टाइप के फ़ील्ड शामिल होते हैं. अतिरिक्त फ़ील्ड "@type" में, टाइप की पहचान करने वाला यूआरआई होता है. उदाहरण: { "id": 1234, "@type": "types.example.com/standard/id" } .
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-02-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-02-27 (UTC) को अपडेट किया गया."],[[["Batch requests use JSON to bundle multiple API calls into a single request, each identified by a unique `requestId`."],["Each individual request within the batch specifies the `methodName` and includes a `request` object containing the call's specific data and type information."],["The `extensions` field allows for adding application-specific metadata to individual requests within the batch."]]],["A request within a batch execution is represented in JSON. It includes a unique `requestId` to link it to its response. The `methodName` specifies the fully qualified method being called. The `request` field holds the request payload as an object with a type identifier. `extensions` carries application-specific metadata, also as an object with a type identifier. Multiple requests can share the same `requestId` for streaming methods.\n"]]