Action
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ऑर्डर या लाइन आइटम से जुड़ी फ़ॉलो-अप कार्रवाई.
JSON के काेड में दिखाना |
{
"type": enum (Type ),
"title": string,
"openUrlAction": {
object (OpenUrlAction )
},
"actionMetadata": {
object (ActionMetadata )
}
} |
फ़ील्ड |
type |
enum (Type )
ज़रूरी है: कार्रवाई का टाइप.
|
title |
string
उपयोगकर्ता को दिखाई जाने वाली कार्रवाई का टाइटल या लेबल. ज़्यादा से ज़्यादा 100 वर्ण इस्तेमाल किए जा सकते हैं.
|
openUrlAction |
object (OpenUrlAction )
की जाने वाली कार्रवाई.
|
actionMetadata |
object (ActionMetadata )
किसी कार्रवाई से जुड़ा मेटाडेटा.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\u003eActions represent follow-up interactions associated with an order or line item.\u003c/p\u003e\n"],["\u003cp\u003eEach Action has a type, title, URL to open, and associated metadata.\u003c/p\u003e\n"],["\u003cp\u003eActionMetadata provides additional context, including an expiration time.\u003c/p\u003e\n"],["\u003cp\u003eJSON schemas define the structure for representing Actions and ActionMetadata.\u003c/p\u003e\n"]]],["The core content describes the structure and fields for defining actions and their associated metadata. Actions include a `type`, a `title` for user display (max 100 characters), and an `openUrlAction`. Actions can contain `actionMetadata`, which includes an `expireTime` field that indicates when the action expires, formatted as a RFC3339 UTC timestamp. These fields define follow up actions to be executed.\n"],null,["# Action\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [ActionMetadata](#ActionMetadata)\n - [JSON representation](#ActionMetadata.SCHEMA_REPRESENTATION)\n\nA follow-up action associated with the order or line item.\n\n| JSON representation ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"type\": enum (/assistant/df-asdk/reference/webhook/rest/Shared.Types/Type), \"title\": string, \"openUrlAction\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/OpenUrlAction) }, \"actionMetadata\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/Action#ActionMetadata) } } ``` |\n\n| Fields ||\n|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `type` | `enum (`[Type](/assistant/df-asdk/reference/webhook/rest/Shared.Types/Type)`)` Required: type of action. |\n| `title` | `string` title or label of the action, displayed to the user. Max allowed length is 100 chars. |\n| `openUrlAction` | `object (`[OpenUrlAction](/assistant/df-asdk/reference/webhook/rest/Shared.Types/OpenUrlAction)`)` Action to take. |\n| `actionMetadata` | `object (`[ActionMetadata](/assistant/df-asdk/reference/webhook/rest/Shared.Types/Action#ActionMetadata)`)` Metadata associated with an action. |\n\nActionMetadata\n--------------\n\nRelated Metadata per action.\n\n| JSON representation ||\n|----------------------------------|---|\n| ``` { \"expireTime\": string } ``` |\n\n| Fields ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `expireTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` time when this action will expire. A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. Example: `\"2014-10-02T15:01:23.045123456Z\"`. |"]]