Show / Hide Table of Contents

Class Validation

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

Google Workspace add-ons and Chat apps:

Inheritance
object
Validation
Implements
IMessage<Validation>
IEquatable<Validation>
IDeepCloneable<Validation>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Apps.Card.V1
Assembly: Google.Apps.Card.V1.dll
Syntax
public sealed class Validation : IMessage<Validation>, IEquatable<Validation>, IDeepCloneable<Validation>, IBufferMessage, IMessage

Constructors

Validation()

Declaration
public Validation()

Validation(Validation)

Declaration
public Validation(Validation other)
Parameters
Type Name Description
Validation other

Properties

CharacterLimit

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:

Declaration
public int CharacterLimit { get; set; }
Property Value
Type Description
int

InputType

Specify the type of the input widgets.

Google Workspace add-ons and Chat apps:

Declaration
public Validation.Types.InputType InputType { get; set; }
Property Value
Type Description
Validation.Types.InputType
In this article
Back to top Generated by DocFX