Class: Google::Shopping::Merchant::IssueResolution::V1beta::InputField::ChoiceInput

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/issueresolution/v1beta/issueresolution.rb

Overview

Choice input allows the business 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 the business. For example, additional input field can be hidden or disabled until the business selects the specific choice.

Defined Under Namespace

Classes: ChoiceInputOption

Instance Attribute Summary collapse

Instance Attribute Details

#options::Array<::Google::Shopping::Merchant::IssueResolution::V1beta::InputField::ChoiceInput::ChoiceInputOption>

Returns A list of choices. Only one option can be selected.

Returns:



638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/shopping/merchant/issueresolution/v1beta/issueresolution.rb', line 638

class ChoiceInput
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A choice that the business can select.
  # @!attribute [rw] id
  #   @return [::String]
  #     Not for display but need to be sent back for the selected choice
  #     option.
  # @!attribute [rw] label
  #   @return [::Google::Shopping::Merchant::IssueResolution::V1beta::TextWithTooltip]
  #     Short description of the choice option. There may be more information
  #     to be shown as a tooltip.
  # @!attribute [rw] additional_input
  #   @return [::Google::Shopping::Merchant::IssueResolution::V1beta::InputField]
  #     Input that should be displayed when this option is selected.
  #     The additional input will not contain a `ChoiceInput`.
  class ChoiceInputOption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end