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.Execute |
request | object অনুরোধ পেলোড. একটি নির্বিচারী ধরনের ক্ষেত্র ধারণকারী একটি বস্তু. একটি অতিরিক্ত ক্ষেত্র "@type" এ টাইপ সনাক্তকারী একটি URI রয়েছে৷ উদাহরণ: { "id": 1234, "@type": "types.example.com/standard/id" } |
extensions[] | object অ্যাপ্লিকেশন নির্দিষ্ট অনুরোধ মেটাডেটা. একটি নির্বিচারী ধরনের ক্ষেত্র ধারণকারী একটি বস্তু. একটি অতিরিক্ত ক্ষেত্র "@type" এ টাইপ সনাক্তকারী একটি URI রয়েছে৷ উদাহরণ: { "id": 1234, "@type": "types.example.com/standard/id" } |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
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"]]