Google Chat V1 API - Class Google::Apps::Card::V1::Validation (v0.18.0)

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.

Google Workspace add-ons and Chat apps:

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#character_limit

def character_limit() -> ::Integer
Returns

#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.

    Google Workspace add-ons and Chat apps:

Returns

#input_type

def input_type() -> ::Google::Apps::Card::V1::Validation::InputType
Returns

#input_type=

def input_type=(value) -> ::Google::Apps::Card::V1::Validation::InputType
Parameter
Returns