Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::Validation.
Represents the necessary data for validating the widget it's attached to.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#character_limit
def character_limit() -> ::Integer
Returns
-
(::Integer) — Specify the character limit for text input widgets. Note that this is
only used for text input and is ignored for other widgets.
#character_limit=
def character_limit=(value) -> ::Integer
Parameter
-
value (::Integer) — Specify the character limit for text input widgets. Note that this is
only used for text input and is ignored for other widgets.
Returns
-
(::Integer) — Specify the character limit for text input widgets. Note that this is
only used for text input and is ignored for other widgets.
#input_type
def input_type() -> ::Google::Apps::Card::V1::Validation::InputType
Returns
-
(::Google::Apps::Card::V1::Validation::InputType) — Specify the type of the input widgets.
#input_type=
def input_type=(value) -> ::Google::Apps::Card::V1::Validation::InputType
Parameter
-
value (::Google::Apps::Card::V1::Validation::InputType) — Specify the type of the input widgets.
Returns
-
(::Google::Apps::Card::V1::Validation::InputType) — Specify the type of the input widgets.