テキスト形式のクリック可能なチップ。
Google Workspace Studio を拡張する Google Workspace アドオンでのみ使用できます。
使用例:
const chip = AddOnsResponseService.newChip() .setTextFormatIcon(AddOnsResponseService.newTextFormatIcon() .setIconUrl("https://www.google.com/icon.png")) .setLabel("test_label") .setUrl("https://www.google.com/chip.png"); }
メソッド
| メソッド | 戻り値の型 | 概要 |
|---|---|---|
set | Text | チップに表示されるテキストを設定します。 |
set | Text | チップに表示されるアイコンを設定します。 |
set | Text | チップがクリックされたときに移動する URL を設定します。 |
詳細なドキュメント
set Label(label)
set Text Format Icon(icon)
チップに表示されるアイコンを設定します。
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
icon | Text | チップに設定する Text。 |
戻る
Text - チェーン用のこのチップ オブジェクト。
set Url(url)
チップがクリックされたときに移動する URL を設定します。
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
url | String | チップのリンク先 URL。 |
戻る
Text - チェーン用のこのチップ オブジェクト。