Class Validation
Represents the necessary data for validating the widget it's attached to.
Implements
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.
Declaration
public int CharacterLimit { get; set; }
Property Value
Type | Description |
---|---|
int |
InputType
Specify the type of the input widgets.
Declaration
public Validation.Types.InputType InputType { get; set; }
Property Value
Type | Description |
---|---|
Validation.Types.InputType |