Response
একটি একক অনুরোধের একটি প্রতিক্রিয়া.
JSON প্রতিনিধিত্ব |
---|
{
"requestId": string,
"continued": boolean,
"extensions": [
{
"@type": string,
field1: ...,
...
}
],
// Union field result can be only one of the following:
"error": {
object (Status )
},
"response": {
"@type": string,
field1: ...,
...
}
// End of list of possible types for union field result .
} |
ক্ষেত্র |
---|
requestId | string রিকোয়েস্টের রিকোয়েস্টআইডি এই মেসেজের উত্তরে। |
continued | boolean সত্য হলে, এই প্রতিক্রিয়ার পরে অতিরিক্ত প্রতিক্রিয়াগুলি অনুসরণ করা হয় যা এই প্রতিক্রিয়াটির মতো একই প্রতিক্রিয়া স্ট্রীমে রয়েছে। |
extensions[] | object অ্যাপ্লিকেশন নির্দিষ্ট প্রতিক্রিয়া মেটাডেটা. একটি নির্বিচারী ধরনের ক্ষেত্র ধারণকারী একটি বস্তু. একটি অতিরিক্ত ক্ষেত্র "@type" এ টাইপ সনাক্তকারী একটি URI রয়েছে৷ উদাহরণ: { "id": 1234, "@type": "types.example.com/standard/id" } |
ইউনিয়ন ক্ষেত্রের result । প্রতিক্রিয়া ফলাফল, যা হয় একটি error বা একটি বৈধ response হতে পারে৷ result শুধুমাত্র নিম্নলিখিত একটি হতে পারে: |
error | object ( Status ) অনুরোধ প্রক্রিয়াকরণে কোনো ত্রুটি থাকলে ত্রুটির ফলাফল। |
response | 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-তে শেষবার আপডেট করা হয়েছে।"],[[["The JSON response to a Request includes a request ID, continuation status, application-specific metadata, and a result field."],["The `result` field indicates either an error with a status object or a successful response payload."],["Both `extensions` and `response` fields use a flexible structure with an `@type` field to specify data types."],["If `continued` is true, expect additional responses in the same stream."]]],["A JSON response contains a `requestId` string matching the initial request. The `continued` boolean indicates if more responses will follow. `extensions` holds application-specific metadata. The `result` field, a union type, can hold either an `error` object (if the request failed) or a successful `response` object, both containing an `@type` identifier and additional fields. This describes a structure to send response messages back to the users.\n"]]