Action
Stay organized with collections
Save and categorize content based on your preferences.
A follow-up action associated with the order or line item.
Fields |
type |
enum (Type )
Required: type of action.
|
title |
string
title or label of the action, displayed to the user. Max allowed length is 100 chars.
|
openUrlAction |
object (OpenUrlAction )
Action to take.
|
actionMetadata |
object (ActionMetadata )
Metadata associated with an action.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["Actions represent follow-up interactions associated with an order or line item."],["Each Action has a type, title, URL to open, and associated metadata."],["ActionMetadata provides additional context, including an expiration time."],["JSON schemas define the structure for representing Actions and ActionMetadata."]]],["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"]]