google_api_mirror v0.7.0 GoogleApi.Mirror.V1.Model.MenuValue View Source

A single value that is part of a MenuItem.

Attributes

  • displayName (type: String.t, default: nil) - The name to display for the menu item. If you specify this property for a built-in menu item, the default contextual voice command for that menu item is not shown.
  • iconUrl (type: String.t, default: nil) - URL of an icon to display with the menu item.
  • state (type: String.t, default: nil) - The state that this value applies to. Allowed values are:

    • DEFAULT - Default value shown when displayed in the menuItems list.
    • PENDING - Value shown when the menuItem has been selected by the user but can still be cancelled.
    • CONFIRMED - Value shown when the menuItem has been selected by the user and can no longer be cancelled.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Mirror.V1.Model.MenuValue{
  displayName: String.t(),
  iconUrl: String.t(),
  state: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.