View Source GoogleApi.Content.V21.Model.InputFieldChoiceInput (google_api_content v0.67.1)

Choice input allows merchants to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the merchant. For example, additional input field can be hidden or disabled until the merchant selects the specific choice.

Attributes

  • options (type: list(GoogleApi.Content.V21.Model.InputFieldChoiceInputChoiceInputOption.t), default: nil) - A list of choices. Only one option can be selected.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.InputFieldChoiceInput{
  options:
    [GoogleApi.Content.V21.Model.InputFieldChoiceInputChoiceInputOption.t()]
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.