Content on this page might refer to the legacy Actions SDK. Refer to the main Conversational Actions documentation for guides and procedures that use Actions Builder and the current Actions SDK.

GenericExtension

Deprecated: Use V3 Proto instead. 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

Deprecated: Use V3 Proto instead. 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

Deprecated: Use V3 Proto instead. 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.