Google Apps Script API
    Preparing search index...

    A widget that displays text with optional decorations. Possible keys include an icon, a label above and a label below. Setting the text content and one of the keys is required using setText(text) and one of setIcon(icon), setIconUrl(url), setTopLabel(text), or setBottomLabel(text). This class is intended to replace KeyValue.

    interface DecoratedText {
        setAuthorizationAction(action: AuthorizationAction): DecoratedText;
        setBottomLabel(text: string): DecoratedText;
        setButton(button: GoogleAppsScript.Card_Service.Button): DecoratedText;
        setComposeAction(
            action: GoogleAppsScript.Card_Service.Action,
            composedEmailType: ComposedEmailType,
        ): DecoratedText;
        setEndIcon(endIcon: IconImage): DecoratedText;
        setIcon(icon: Icon): DecoratedText;
        setIconAltText(altText: string): DecoratedText;
        setIconUrl(url: string): DecoratedText;
        setOnClickAction(
            action: GoogleAppsScript.Card_Service.Action,
        ): DecoratedText;
        setOnClickOpenLinkAction(
            action: GoogleAppsScript.Card_Service.Action,
        ): DecoratedText;
        setOpenLink(openLink: OpenLink): DecoratedText;
        setStartIcon(startIcon: IconImage): DecoratedText;
        setSwitchControl(switchToSet: Switch): DecoratedText;
        setText(text: string): DecoratedText;
        setTopLabel(text: string): DecoratedText;
        setWrapText(wrapText: boolean): DecoratedText;
    }
    Index

    Methods