DeliveryAddressValueSpec

  • The actions.intent.DELIVERY_ADDRESS intent uses the DeliveryAddressValueSpec object.

  • DeliveryAddressValueSpec requires an AddressOptions object for configuration.

  • AddressOptions includes an optional reason field to explain why the address is needed.

  • The reason field allows custom text-to-speech to provide context to the user.

Passed by the app as input for actions.intent.DELIVERY_ADDRESS.

JSON representation
{
  "addressOptions": {
    object (AddressOptions)
  }
}
Fields
addressOptions

object (AddressOptions)

Configuration for delivery address dialog.

AddressOptions

Options when asking for a delivery address.

JSON representation
{
  "reason": string
}
Fields
reason

string

App can optionally pass a short text giving user a hint why delivery address is requested. For example, "Grubhub is asking your address for [determining the service area].", the text in [] is the custom TTS that should be populated here.