Class: Google::Apps::Card::V1::Validation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/apps/card/v1/card.rb

Overview

Represents the necessary data for validating the widget it's attached to.

Google Workspace add-ons and Chat apps:

Defined Under Namespace

Modules: InputType

Instance Attribute Summary collapse

Instance Attribute Details

#character_limit::Integer

Returns Specify the character limit for text input widgets. Note that this is only used for text input and is ignored for other widgets.

Google Workspace add-ons and Chat apps:.

Returns:



2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'proto_docs/google/apps/card/v1/card.rb', line 2512

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

  # The type of the input widget.
  module InputType
    # Unspecified type. Do not use.
    INPUT_TYPE_UNSPECIFIED = 0

    # Regular text that accepts all characters.
    TEXT = 1

    # An integer value.
    INTEGER = 2

    # A float value.
    FLOAT = 3

    # An email address.
    EMAIL = 4

    # A emoji selected from system-provided emoji picker.
    EMOJI_PICKER = 5
  end
end

#input_type::Google::Apps::Card::V1::Validation::InputType

Returns Specify the type of the input widgets.

Google Workspace add-ons and Chat apps:.

Returns:



2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'proto_docs/google/apps/card/v1/card.rb', line 2512

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

  # The type of the input widget.
  module InputType
    # Unspecified type. Do not use.
    INPUT_TYPE_UNSPECIFIED = 0

    # Regular text that accepts all characters.
    TEXT = 1

    # An integer value.
    INTEGER = 2

    # A float value.
    FLOAT = 3

    # An email address.
    EMAIL = 4

    # A emoji selected from system-provided emoji picker.
    EMOJI_PICKER = 5
  end
end