Action
An action that Google Workspace add-ons that extend Google Workspace Studio can use to render a new card.
Only available for Google Workspace add-ons that extend Google Workspace Studio.
const link = AddOnsResponseService . newLink (). setUrl ( 'https://www.google.com' ); const action = AddOnsResponseService . newAction () . setLink ( link ); const renderAction = AddOnsResponseService . newRenderActionBuilder (). setAction ( action ). build ();
Methods
| Method | Return type | Brief description |
|---|---|---|
Action
|
Adds a ModifyCard operation to the action. | |
Action
|
Adds a card navigation to the action. |
Detailed documentation
add
Modify
Card(modifyCard)
Adds a ModifyCard operation to the action.
Parameters
| Name | Type | Description |
|---|---|---|
modify
|
Modify
|
The Modify
to use. |
Return
Action
— This action object, for chaining.

