Google Apps Script API
    Preparing search index...

    An object that defines the validation rule for the widget that it is attached to.

    const validation = CardService.newValidation() .setCharacterLimit('10') .setInputType(CardService.InputType.TEXT);

    interface Validation {
        setCharacterLimit(characterLimit: number): Validation;
        setInputType(inputType: InputType): Validation;
    }
    Index

    Methods