Transactions API will be deprecated on May 3, 2023, ahead of the Conversational Actions sunset on June 13, 2023. For more information, see Conversational Actions sunset.

GenericExtension

Extension for generic orders that are not tied to a semantic type.

JSON representation
{
  "locations": [
    {
      object(OrderLocation)
    }
  ],
  "time": {
    object(Time)
  }
}
Fields
locations[]

object(OrderLocation)

Locations associated with the order. Up to 2 locations.

time

object(Time)

Time indicator associated with the proposed order.

OrderLocation

Location associated with an order.

JSON representation
{
  "type": enum(OrderLocationType),
  "location": {
    object(Location)
  }
}
Fields
type

enum(OrderLocationType)

Address type. Determines icon and placement. Required.

location

object(Location)

Contains actual location info.

Time

Time associated with an order.

JSON representation
{
  "type": enum(TimeType),
  "timeIso8601": string
}
Fields
type

enum(TimeType)

Type of time indicator.

timeIso8601

string

ISO 8601 representation of time indicator: could be a duration, date or exact datetime.