Action

  • An Action is a follow-up action associated with an order or line item.

  • An Action includes fields such as type, title, an open URL action, and action metadata.

  • The action type is required, and the title is displayed to the user with a maximum length of 100 characters.

  • ActionMetadata is related metadata per action and includes an optional expireTime field.

  • The expireTime field in ActionMetadata is a timestamp in RFC3339 UTC "Zulu" format indicating when the action will expire.

A follow-up action associated with the order or line item.

JSON representation
{
  "type": enum (Type),
  "title": string,
  "openUrlAction": {
    object (OpenUrlAction)
  },
  "actionMetadata": {
    object (ActionMetadata)
  }
}
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.

ActionMetadata

Related Metadata per action.

JSON representation
{
  "expireTime": string
}
Fields
expireTime

string (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".