DeliveryAddressValueSpec

  • DeliveryAddressValueSpec is used for providing delivery address information to the app.

  • It includes AddressOptions for configuring the delivery address dialog.

  • AddressOptions can include a reason to explain to the user why their address is needed.

  • The reason can be customized with text-to-speech for a more natural interaction.

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.