Expression
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह किसी भी टाइप का आर्बिट्ररी एक्सप्रेशन तय करता है. इसका इस्तेमाल किस कॉन्टेक्स्ट में किया जा रहा है, इससे जवाब का टाइप तय होता है.
JSON के काेड में दिखाना |
{
"values": {
string: {
object (ValueNode )
},
...
},
"result": string
} |
फ़ील्ड |
values |
map (key: string, value: object (ValueNode ))
कैलकुलेशन में इस्तेमाल की गई सभी इंटरमीडिएट वैल्यू. इन फ़ॉर्म से बनने वाला डायरेक्टेड ग्राफ़, साइक्लिक नहीं होना चाहिए. यह एक ऐसा ऑब्जेक्ट है जिसमें "key": value जोड़े की सूची होती है. उदाहरण: { "name": "wrench", "mass": "1.3kg", "count": "3" } .
|
result |
string
"values" में मौजूद कौनसे ValueNode, कैलकुलेशन का फ़ाइनल नतीजा हैं.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eDefines an expression with a flexible type, adaptable to its usage context.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a JSON structure containing "values" and a "result" to represent the expression.\u003c/p\u003e\n"],["\u003cp\u003e"Values" holds intermediate computational values in a directed acyclic graph format.\u003c/p\u003e\n"],["\u003cp\u003e"Result" indicates the final output value within the "values" field.\u003c/p\u003e\n"]]],[],null,["# Expression\n\nSpecifies an arbitrary expression, of an arbitrary type. The context in which it is used determines the type of the response.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------|\n| ``` { \"values\": { string: { object (`ValueNode`) }, ... }, \"result\": string } ``` |\n\n| Fields ||\n|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `values` | `map (key: string, value: object (``ValueNode``))` All intermediate values in the computation. The directed graph these form must be acyclic. An object containing a list of `\"key\": value` pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`. |\n| `result` | `string` Which of the ValueNodes in \"values\" is the final result of the computation. |"]]