## Index

- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.AddAttachmentsActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.AddAttachmentsActionMarkup.AddonAttachment` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.CalendarSubscriptionActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.CalendarSubscriptionActionMarkup.Operation` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.EntryPointMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.EntryPointMarkup.Feature` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.EntryPointMarkup.Type` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.Error` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.Error.Type` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.Parameter` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.CreateConferenceDataActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.CreateConferenceSettingUrlActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.EditAttendeesActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.EditConferenceDataActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatClientDataSourceMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatClientDataSourceMarkup.SpaceDataSource` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatDataActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatDataActionMarkup.CreateMessageAction` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatDataActionMarkup.UpdateInlinePreviewAction` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatDataActionMarkup.UpdateMessageAction` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.DriveClientActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.DriveClientActionMarkup.RequestFileScope` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.EditorClientActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.EditorClientActionMarkup.RequestFileScopeForActiveDocument` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.AddonComposeUiActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.AddonComposeUiActionMarkup.AddonComposeUiActionType` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.OpenCreatedDraftActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.TaskActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.Recipient` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBccRecipients` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBody` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBody.ContentType` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBody.EmailMimeType` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBody.InsertContent` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBody.Type` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateCcRecipients` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateSubject` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateToRecipients` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.HostAppActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.HostAppDataActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.HostAppDataSourceMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.SheetsClientActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.SheetsClientActionMarkup.CustomFunctionReturnValueMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ResourceData` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ResourceFieldsDefinitionRetrievedAction` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ResourceFieldsDefinitionRetrievedAction.DynamicResourceDefinition` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ResourceFieldsDefinitionRetrievedAction.ResourceField` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ResourceRetrievedAction` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ReturnElementErrorAction` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ReturnElementErrorAction.ErrorActionability` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ReturnElementErrorAction.Retryability` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ReturnOutputVariablesAction` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.SaveWorkflowAction` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.SourceResourceReference` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.SourceResourceType` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.VariableData` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.WorkflowValidationErrorAction` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.WorkflowValidationErrorAction.Severity` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowDataSourceMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowDataSourceMarkup.Type` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.Chip` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.Icon` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.Hyperlink` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.ListContainer` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.ListContainer.ListItem` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.ListContainer.ListType` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.StyledText` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.StyledText.FontWeight` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.StyledText.Style` (enum)
- `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.StyledText.WrapStyle` (enum)

## CalendarClientActionMarkup

| Fields ||
|---|---|
| `editAttendeesActionMarkup` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.EditAttendeesActionMarkup` An action that adds attendees to the Google Calendar event. |
| `editConferenceDataActionMarkup` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.EditConferenceDataActionMarkup` An action that adds conference data to the Google Calendar event. Third-party conferencing add-ons can only be built in [Apps Script](https://developers.google.com/apps-script/reference/conference-data). |
| `addAttachmentsActionMarkup` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.AddAttachmentsActionMarkup` An action that adds attachments to the Google Calendar event. |
| `createConferenceDataActionMarkup` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.CreateConferenceDataActionMarkup` An action that shows conference data when create a Google Calendar event. |
| `createConferenceSettingUrlActionMarkup` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.CreateConferenceSettingUrlActionMarkup` An action that generates generate createconference setting url. |
| `calendarSubscriptionActionMarkup` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.CalendarSubscriptionActionMarkup` An action that manages a calendar subscription. Supports subscription creation in [HTTP endpoints add-ons](https://developers.google.com/workspace/add-ons/guides/alternate-runtimes) only. Not applicable to Apps Script add-ons. |

## AddAttachmentsActionMarkup

| Fields ||
|---|---|
| `addonAttachments[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.AddAttachmentsActionMarkup.AddonAttachment` |

## AddonAttachment

| Fields ||
|---|---|
| `resourceUrl` | `string` |
| `title` | `string` Title of the attachment. |
| `mimeType` | `string` MIME type of the content in resourceUrl. |
| `iconUrl` | `string` Link to the resource's icon. |

## CalendarSubscriptionActionMarkup

An action that manages a calendar subscription for the current user.

Creating a subscription is idempotent: if the user is already subscribed to the specified calendar under this add-on deployment, returning this action ensures the subscription remains active without creating duplicate subscriptions or duplicate event notifications. You don't need to check for existing subscriptions before returning this action.

Supports subscription creation in [HTTP endpoints add-ons](https://developers.google.com/workspace/add-ons/guides/alternate-runtimes) only. Not applicable to Apps Script add-ons.

| Fields ||
|---|---|
| `operation` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.CalendarSubscriptionActionMarkup.Operation` The operation to perform. Currently only `CREATE` is supported. Creating a subscription is idempotent. |
| `calendarId` | `string` The calendar id to subscribe to. |

## Operation

| Enums ||
|---|---|
| `OPERATION_UNSPECIFIED` |   |
| `CREATE` |   |

## ConferenceDataMarkup

Markup that defines conference data associated to a Google Calendar event. Third-party conferencing add-ons can only be built in [Apps Script](https://developers.google.com/apps-script/reference/conference-data).

| Fields ||
|---|---|
| `conferenceId` | `string` Unique identifier for this conference data. Maximum 512 characters long. |
| `entryPoints[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.EntryPointMarkup` Entry points to the conference. Maximum 300 entry points are allowed. |
| `parameters[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.Parameter` Additional add-on parameters. Maximum 300 parameters are allowed. |
| `error` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.Error` If set, it means an error occurred during conference creation. |
| `note` | `string` Additional notes (such as instructions from the administrator, legal notices) to display to the user. Can contain HTML. Max length 2048 characters. |
| `conferenceSolutionId` | `string` An identifier of the conferencing solution. Must match a value from the deployment's `calendar.conferenceSolution.id` field. |

## EntryPointMarkup

A way to join the conference. Third-party conferencing add-ons can only be built in [Apps Script](https://developers.google.com/apps-script/reference/conference-data).

| Fields ||
|---|---|
| `type` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.EntryPointMarkup.Type` The type of the entry point. Required. |
| `uri` | `string` A URI for joining the conference. Supports tel: and http(s): and should be at most 1300 characters long. Required. |
| `label` | `string` The label of the entry point to display to the user. Maximum 512 characters long. |
| `meetingCode` | `string` A meeting code for accessing the conference. Maximum 128 characters long. |
| `accessCode` | `string` An access code for accessing the conference. Maximum 128 characters long. |
| `passcode` | `string` A passcode for accessing the conference. Maximum 128 characters long. |
| `password` | `string` A password for accessing the conference. Maximum 128 characters long. |
| `pin` | `string` A PIN for accessing the conference. Maximum 128 characters long. |
| `regionCode` | `string` The CLDR/ISO 3166 region code for the country associated with this entry point. Applicable only to `Type.PHONE`. |
| `features[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.EntryPointMarkup.Feature` Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. |

## Feature

Features of the entry point. Some features might apply only to specific entry points.

| Enums ||
|---|---|
| `UNKNOWN_FEATURE` | Unknown feature. |
| `TOLL` | Applies to `PHONE` entry point. A call to a toll number is charged to the calling party. A number can't be toll and toll-free at the same time. |
| `TOLL_FREE` | Applies to `PHONE` entry point. For the calling party, a call to a toll-free number is free of charge. A number can't be toll and toll-free at the same time. |

## Type

The type of the entry point. Third-party conferencing add-ons can only be built in [Apps Script](https://developers.google.com/apps-script/reference/conference-data).

| Enums ||
|---|---|
| `UNKNOWN` | Unknown conference type. |
| `VIDEO` | A video conference. |
| `PHONE` | A phone conference. |
| `MORE` | Used to provide a link to further conference joining information. |
| `SIP` | A conference using [Session Initiation Protocol](https://en.wikipedia.org/wiki/Session_Initiation_Protocol) |

## Error

Represents an error that occurred during conference creation. Third-party conferencing add-ons can only be built in [Apps Script](https://developers.google.com/apps-script/reference/conference-data).

| Fields ||
|---|---|
| `type` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup.Error.Type` The type of error. Required. |
| `authenticationUrl` | `string` If the error type is `AUTHENTICATION`, the add-on can provide a URL allowing users to log in. Maximum 1300 characters long. |

## Type

| Enums ||
|---|---|
| `UNKNOWN` | Unknown error. |
| `AUTHENTICATION` | An authentication error. |
| `TEMPORARY` | A temporary error. |
| `PERMANENT` | A permanent error. |
| `PERMISSION_DENIED` | The user isn't allowed to perform some action in the third-party conferencing system. |
| `CONFERENCE_SOLUTION_FORBIDDEN` | The user isn't allowed to use the selected conference solution (but might be allowed to use other solutions offered by the add-on). |

## Parameter

Solution-specific parameters that are persisted with the event data and, if an update or delete is needed, are passed to the add-on. For example: `[{key: 'sessionKey', value: '123'}, {key: 'meetingId', value: '456'}]`

| Fields ||
|---|---|
| `key` | `string` The key of the parameter. Maximum 50 characters long. Required. |
| `value` | `string` The value of the parameter. Maximum 1024 characters long. Required. |

## CreateConferenceDataActionMarkup

| Fields ||
|---|---|
| `createConferenceData` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup` The conference data to add to a Google Calendar event when creating it. |

## CreateConferenceSettingUrlActionMarkup

| Fields ||
|---|---|
| `settingsUrl` | `string` The uri for a settings page generated by the add-on. |

## EditAttendeesActionMarkup

| Fields ||
|---|---|
| `addAttendeeEmails[]` | `string` A list of attendees to add to the Google Calendar event. |

## EditConferenceDataActionMarkup

| Fields ||
|---|---|
| Union field `conference`. `conference` can be only one of the following: ||
| `conferenceData` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup.ConferenceDataMarkup` The conference data to add to the Google Calendar event. Third-party conferencing add-ons can only be built in [Apps Script](https://developers.google.com/apps-script/reference/conference-data). |

## ChatClientDataSourceMarkup

For a `https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#google.apps.card.v1.SelectionInput` widget that uses a multiselect menu, a data source from Google Chat. The data source populates selection items for the multiselect menu. For example, a user can select Google Chat spaces that they're a member of.

![](https://www.gstatic.com/images/branding/productlogos/chat_2023q4/v1/192px.svg) Available for Google Chat apps and unavailable for Google Workspace add-ons.

| Fields ||
|---|---|
| Union field `source`. The Google Chat data source. `source` can be only one of the following: ||
| `spaceDataSource` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatClientDataSourceMarkup.SpaceDataSource` Google Chat spaces that the user is a member of. |

## SpaceDataSource

A data source that populates Google Chat spaces as selection items for a multiselect menu. Only populates spaces that the user is a member of.

![](https://www.gstatic.com/images/branding/productlogos/chat_2023q4/v1/192px.svg) Available for Google Chat apps and unavailable for Google Workspace add-ons.

| Fields ||
|---|---|
| `defaultToCurrentSpace` | `bool` If set to `true`, the multiselect menu selects the current Google Chat space as an item by default. |

## ChatDataActionMarkup

Creates or updates a message in Google Chat. For details, see [Build Google Chat interfaces](https://developers.google.com/workspace/add-ons/chat/build).

| Fields ||
|---|---|
| Union field `action`. A [Google Chat action](https://developers.google.com/workspace/add-ons/chat/build#actions). `action` can be only one of the following: ||
| `createMessageAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatDataActionMarkup.CreateMessageAction` Sends a message as a Google Chat app. |
| `updateMessageAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatDataActionMarkup.UpdateMessageAction` Updates a Google Chat app's message. |
| `updateInlinePreviewAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatDataActionMarkup.UpdateInlinePreviewAction` To [preview links](https://developers.google.com/workspace/add-ons/chat/preview-links), adds one or more cards to a Google Chat user's message. |

## CreateMessageAction

The Chat app sends a message. For details, see [Send Google Chat messages](https://developers.google.com/workspace/add-ons/chat/send-messages).

| Fields ||
|---|---|
| `message` | `https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages` The Google Chat message. |

## UpdateInlinePreviewAction

The Chat app previews a link in a message by adding or updating one or more cards. For details, see [Preview links in Google Chat messages](https://developers.google.com/workspace/add-ons/chat/preview-links).

| Fields ||
|---|---|
| `cardsV2[]` | `https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#cardwithid` An array of one or more cards. |

## UpdateMessageAction

The Chat app updates text or cards in a message. For details, see [Send Google Chat messages](https://developers.google.com/workspace/add-ons/chat/send-messages).

| Fields ||
|---|---|
| `message` | `https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages` The updated message. |

## DriveClientActionMarkup

| Fields ||
|---|---|
| `requestFileScope` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.DriveClientActionMarkup.RequestFileScope` |

## RequestFileScope

| Fields ||
|---|---|
| `itemId` | `string` |

## EditorClientActionMarkup

| Fields ||
|---|---|
| Union field `action`. `action` can be only one of the following: ||
| `requestFileScopeForActiveDocument` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.EditorClientActionMarkup.RequestFileScopeForActiveDocument` |

## RequestFileScopeForActiveDocument

This type has no fields.

## GmailClientActionMarkup

| Fields ||
|---|---|
| Union field `type`. `type` can be only one of the following: ||
| `taskAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.TaskActionMarkup` |
| `updateDraftActionMarkup` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup` |
| `openCreatedDraftActionMarkup` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.OpenCreatedDraftActionMarkup` |
| `addonComposeUiActionMarkup` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.AddonComposeUiActionMarkup` |

## AddonComposeUiActionMarkup

| Fields ||
|---|---|
| `type` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.AddonComposeUiActionMarkup.AddonComposeUiActionType` |

## AddonComposeUiActionType

| Enums ||
|---|---|
| `UNSPECIFIED` | Default. When unspecified, no action is taken. |
| `DISMISS` | Dismisses the add-on compose UI. |

## OpenCreatedDraftActionMarkup

| Fields ||
|---|---|
| `draftId` | `string` The ID of the newly created draft in the form "r123". |
| `draftStorageId` | `string` The server storage ID in hex format, for example,"15e9fa622ce1029d". |
| `draftThreadServerPermId` | `string` The server permanent ID for the draft's thread. This field isn't set anywhere, and it's ignored when processing OpenCreatedDraftActionMarkup. Supply and use draftThreadStorageId instead. |
| `draftThreadId` | `string` The ID of the thread containing the newly created draft, for example, "15e9fa622ce1029d". |

## TaskActionMarkup

| Fields ||
|---|---|
| `reloadTasks` | `bool` |

## UpdateDraftActionMarkup

| Fields ||
|---|---|
| `updateBody` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBody` A field that contains a series of update actions to perform on the draft body that the user is currently editing. |
| `updateToRecipients` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateToRecipients` If set, replaces the existing To recipients of the draft the user is currently editing. |
| `updateCcRecipients` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateCcRecipients` If set, replaces the existing Cc recipients of the draft the user is currently editing. |
| `updateBccRecipients` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBccRecipients` If set, replaces the existing Bcc recipients of the draft the user is currently editing. |
| `updateSubject` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateSubject` If set, replaces the existing subject of the draft the user is currently editing. |

## Recipient

| Fields ||
|---|---|
| `email` | `string` |

## UpdateBccRecipients

| Fields ||
|---|---|
| `bccRecipients[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.Recipient` |

## UpdateBody

| Fields ||
|---|---|
| `insertContents[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBody.InsertContent` A repeated field that contains a series of content to insert into the draft that the user is currently editing. The content can contain HTML content or plain text content. |
| `type` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBody.Type` |

## ContentType

| Enums ||
|---|---|
| `UNSPECIFIED_CONTENT_TYPE` | Default value when nothing is set for ContentType. |
| `TEXT` | Specifies that the content is in plain text. |
| `MUTABLE_HTML` | Specifies that the content is in HTML and is mutable (can be edited). |
| `IMMUTABLE_HTML` | Specifies that the content is in HTML and is immutable (cannot be edited). |

## EmailMimeType

EmailMimeType is deprecated. Please use ContentType.

| Enums ||
|---|---|
| `UNSPECIFIED_EMAIL_MIME_TYPE` | Default value when nothing is set for EmailMimeType. |
| `PLAIN_TEXT` | Specifies that the inserted content is in plain text. |
| `HTML` | Specifies that the inserted content is in HTML. |

## InsertContent

| Fields ||
|---|---|
| `content` | `string` The content to be inserted. |
| `mimeType (deprecated)` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBody.EmailMimeType` > [!WARNING] > This item is deprecated! |
| `contentType` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.UpdateBody.ContentType` The type of inserted content. |

## Type

| Enums ||
|---|---|
| `UNSPECIFIED_ACTION_TYPE` | Default value when nothing is set for Type. |
| `IN_PLACE_INSERT` | Indicates this action is to perform an in-place insertion. By default the content is inserted at the current cursor position, if there is selected content, it replaces the selected content. |
| `INSERT_AT_START` | Indicates this action is to perform insert at the start of the message body. |
| `INSERT_AT_END` | Indicates this action is to perform insert at the end of the message body. |
| `REPLACE` | Indicates this action is to replace the message body. |

## UpdateCcRecipients

| Fields ||
|---|---|
| `ccRecipients[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.Recipient` |

## UpdateSubject

| Fields ||
|---|---|
| `subject` | `string` |

## UpdateToRecipients

| Fields ||
|---|---|
| `toRecipients[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup.UpdateDraftActionMarkup.Recipient` |

## HostAppActionMarkup

Actions handled by individual host apps.

| Fields ||
|---|---|
| Union field `action`. `action` can be only one of the following: ||
| `gmailAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.GmailClientActionMarkup` Actions handled by Gmail. |
| `calendarAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.CalendarClientActionMarkup` Actions handled by Calendar. |
| `driveAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.DriveClientActionMarkup` Actions handled by Drive. |
| `editorAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.EditorClientActionMarkup` Actions handled by Docs, Sheets, or Slides. |
| `sheetsAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.SheetsClientActionMarkup` Actions handled by Sheets. |
| `workflowAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup` Actions handled by Workspace Studio. |

## HostAppDataActionMarkup

Defines how to update Google Workspace data.

| Fields ||
|---|---|
| Union field `action`. The add-on action for a given Google Workspace host application. `action` can be only one of the following: ||
| `chatDataAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatDataActionMarkup` A [Google Chat action](https://developers.google.com/workspace/add-ons/chat/build#actions) that creates or updates text or cards in a message. |

## HostAppDataSourceMarkup

A data source from a Google Workspace application. The data source populates available items for a widget.

| Fields ||
|---|---|
| Union field `data_source`. The Google Workspace application that populates available items for a widget. `data_source` can be only one of the following: ||
| `chatDataSource` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.ChatClientDataSourceMarkup` A data source from Google Chat. |
| `workflowDataSource` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowDataSourceMarkup` A data source from Google Workflow. |

## SheetsClientActionMarkup

Next ID: 5.

| Fields ||
|---|---|
| Union field `action`. `action` can be only one of the following: ||
| `customFunctionReturnValueMarkup` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.SheetsClientActionMarkup.CustomFunctionReturnValueMarkup` |

## CustomFunctionReturnValueMarkup

The result of a user running a custom function.

| Fields ||
|---|---|
| Union field `result`. The result of the custom function execution. `result` can be only one of the following: ||
| `value` | `https://protobuf.dev/reference/protobuf/google.protobuf#value` The value that resulted from running the custom function. |
| `errorMessage` | `string` The error message to show to the user if something went wrong. |

## WorkflowClientActionMarkup

Client actions for Workspace Studio add-ons.

| Fields ||
|---|---|
| Union field `action`. `action` can be only one of the following: ||
| `saveWorkflowAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.SaveWorkflowAction` Action to initiate saving of the workflow. |
| `returnOutputVariablesAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ReturnOutputVariablesAction` Action containing output variables generated by an executed workflow action. |
| `resourceRetrievedAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ResourceRetrievedAction` Action containing a retrieved resource. |
| `resourceFieldsDefinitionRetrievedAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ResourceFieldsDefinitionRetrievedAction` Action containing the definition of fields for a resource. |
| `returnElementErrorAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ReturnElementErrorAction` Action indicating an error occurred during element invocation. |
| `workflowValidationErrorAction` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.WorkflowValidationErrorAction` Action indicating a workflow validation error. |

## ResourceData

Application specific resource value.

| Fields ||
|---|---|
| `fields` | ``map<string, `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.VariableData`>`` A map of the resource fields keyed by the field name. |
| `sourceResourceReference (deprecated)` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.SourceResourceReference` > [!WARNING] > This item is deprecated! Deprecated. Use VariableData.variable_source_data instead. |

## ResourceFieldsDefinitionRetrievedAction

Contains the definition of each field supported by a resource.

| Fields ||
|---|---|
| `dynamicResourceDefinitions[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ResourceFieldsDefinitionRetrievedAction.DynamicResourceDefinition` Dynamic resource definitions. |

## DynamicResourceDefinition

Contains the definition of each field supported by a dynamic resource.

| Fields ||
|---|---|
| `resourceId` | `string` Unique identifier of the dynamic resource type. e.g. "FORM_RESPONSE_VALUES" |
| `fields[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ResourceFieldsDefinitionRetrievedAction.ResourceField` List of fields supported by this dynamic resource. |

## ResourceField

| Fields ||
|---|---|
| `selector` | `string` The field's reference key used to retrieve its associated value. |
| `displayText` | `string` The human-readable description of the field that is displayed to the end user during variable selection. |
| `dataType` | `https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.script.type/workflow#google.apps.script.type.workflow.DataType` The data type of the field. |
| `cardinality` | `https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.script.type/workflow#google.apps.script.type.workflow.Cardinality` The cardinality of the field. |

## ResourceRetrievedAction

Contains the returned resource.

| Fields ||
|---|---|
| `resourceData` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ResourceData` Custom data in proto format. |

## ReturnElementErrorAction

Indicates that an error occurred during element invocation.

| Fields ||
|---|---|
| `developerErrorMessage` | `string` Developer-facing error message. |
| `errorLog` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup` The human-readable error message to be displayed to the end user. |
| `errorActionability` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ReturnElementErrorAction.ErrorActionability` Whether the error is actionable by the user. |
| `retryability` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ReturnElementErrorAction.Retryability` Whether the error is retryable or not. |

## ErrorActionability

Whether the user can attempt to fix the error.

| Enums ||
|---|---|
| `ERROR_ACTIONABILITY_UNSPECIFIED` | Unspecified error actionability. Do not use. |
| `ACTIONABLE` | The user can attempt to fix the error. |
| `NOT_ACTIONABLE` | The error is not fixable by the user. |

## Retryability

Whether the error is retryable or not.

| Enums ||
|---|---|
| `RETRYABILITY_UNSPECIFIED` | Unspecified retryability. Do not use. |
| `RETRYABLE` | The error is retryable. |
| `NOT_RETRYABLE` | The error is not retryable. |

## ReturnOutputVariablesAction

Contains output variables generated by the executed workflow action.

| Fields ||
|---|---|
| `variables` | ``map<string, `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.VariableData`>`` Map of variables keyed by variable ID. |
| `log` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup` Log of the executed workflow action. |

## SaveWorkflowAction

This type has no fields.
Indicates that the Builder should initiate saving of the workflow.

## SourceResourceReference

Reference to a specific instance of a Workspace Resource

| Fields ||
|---|---|
| `sourceResourceType` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.SourceResourceType` The type of the source resource. |
| `resourceId` | `string` The unique ID of the resource (e.g., Drive file ID, Gmail message ID). |

## SourceResourceType

The type of the source resource. This is used to identify the resource type and the workflow bundle that owns the resource type.

| Fields ||
|---|---|
| `workflowBundleId` | `string` ID of the workflow bundle that owns this resource type. |
| `resourceDefinitionId` | `string` The ID of the resource definition within the bundle (e.g., "spreadsheet", "gmailMessage"). |

## VariableData

Represents variable data, which can hold multiple values of different types.

| Fields ||
|---|---|
| `booleanValues[]` | `bool` Boolean values. |
| `integerValues[]` | `int64` Integer values. |
| `stringValues[]` | `string` String values. |
| `timestampValues[]` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` Timestamp values. |
| `resourceReferences[]` | `string` A list of resource IDs (e.g. "spaces/123"). |
| `resourceDataValues[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.ResourceData` Resource data. |
| `emailAddressValues[]` | `string` Email address values. |
| `googleUserValues[]` | `string` Google user values in the format `users/{user}`. |
| `textFormatValues[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup` Workflow text format values. |

## WorkflowValidationErrorAction

Indicates that validation of the workflow element failed with the specified severity.

| Fields ||
|---|---|
| `severity` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowClientActionMarkup.WorkflowValidationErrorAction.Severity` The severity of the validation error. |

## Severity

| Enums ||
|---|---|
| `SEVERITY_UNSPECIFIED` | Unspecified severity. Do not use. |
| `WARNING` | The error is non-critical and is not blocking publish. |
| `CRITICAL` | The error is critical and must be fixed before publish. |

## WorkflowDataSourceMarkup

\* Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.

<br />

In a `https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#google.apps.card.v1.TextInput` or `https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#google.apps.card.v1.SelectionInput` widget with MULTI_SELECT type or a `https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#google.apps.card.v1.DateTimePicker`, provide data source from Google.

| Fields ||
|---|---|
| `includeVariables` | `bool` Whether to include variables from the previous step in the data source. |
| `type` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowDataSourceMarkup.Type` The type of data source. |

## Type

An enum that represents the type of the workflow data source.

| Enums ||
|---|---|
| `UNKNOWN` | Default value. Don't use. |
| `USER` | Google Workspace users. The user can only view and select users from their Google Workspace organization. |
| `SPACE` | Google Chat spaces that the user is a member of. |
| `USER_WITH_FREE_FORM` | Users can choose to view and select existing members from their Google Workspace organization or manually enter an email address or a valid domain. |

## WorkflowTextFormatMarkup

A block of text with rich formatting options including styles, hyperlinks, and interactive elements.

| Fields ||
|---|---|
| `textFormatElements[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement` A collection of text format elements. |

## Chip

A clickable chip in the text format.

| Fields ||
|---|---|
| `icon` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.Icon` The icon displayed in the chip. |
| `label` | `string` The text displayed in the chip. |
| `url` | `string` The URL to navigate to when the chip is clicked. |

## Icon

An icon in the chip.

| Fields ||
|---|---|
| Union field `icons`. The icon displayed in the chip. `icons` can be only one of the following: ||
| `iconUrl` | `string` Display a custom icon hosted at an HTTPS URL. For example: "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" Supported file types include `.png` and `.jpg`. |
| `materialIconName` | `string` The icon name defined in the [Google Material Icon](https://fonts.google.com/icons), for example, `check_box`. Any invalid names are abandoned and replaced with empty string and results in the icon failing to render. |

## TextFormatElement

A single element within a WorkflowTextFormatMarkup message, which can be a chip, styled text, a hyperlink, or a list container.

| Fields ||
|---|---|
| Union field `element`. Element that represents one of several possible text format elements. `element` can be only one of the following: ||
| `text` | `string` Text in the text format. |
| `chip` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.Chip` Clickable chip in the text format. |
| `styledText` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.StyledText` Styled text in the text format. |
| `hyperlink` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.Hyperlink` Hyperlink in the text format. |
| `listContainer` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.ListContainer` List container in the text format. |

## Hyperlink

Hyperlink element with text and link.

| Fields ||
|---|---|
| `link` | `string` The destination URL of the hyperlink. |
| `text` | `string` The text of the hyperlink. |

## ListContainer

Container for list items, where each list item can contain multiple TextFormatElement's.

| Fields ||
|---|---|
| `listNestLevel` | `int64` The nest level of the list. Starts from 0 for the top level, and increases by 1 for each nested list. |
| `listType` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.ListContainer.ListType` The type of the list. |
| `listItems[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.ListContainer.ListItem` A collection of list items. |

## ListItem

A list item.

| Fields ||
|---|---|
| `textFormatElements[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement` A collection of text format elements. |

## ListType

Enum for different list types.

| Enums ||
|---|---|
| `LIST_TYPE_UNSPECIFIED` | No list type specified. |
| `ORDERED` | Ordered list. |
| `UNORDERED` | Unordered list. |
| `BLOCKQUOTE` | Blockquote list. |

## StyledText

Text element with styles such as bold, italic and color.

| Fields ||
|---|---|
| `text` | `string` The main content of the text. |
| `styles[]` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.StyledText.Style` A collection of styles applied to the text. |
| `fontWeight` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.StyledText.FontWeight` The font weight of the text. |
| `color` | `https://developers.google.com/workspace/add-ons/reference/rpc/google.type#google.type.Color` The color of the text. |
| `wrapStyle` | `https://developers.google.com/workspace/add-ons/reference/rpc/apps.extensions.markup#apps.extensions.markup.WorkflowTextFormatMarkup.TextFormatElement.StyledText.WrapStyle` The wrap style of the text. |

## FontWeight

Enum for different font weights.

| Enums ||
|---|---|
| `FONT_WEIGHT_UNSPECIFIED` | Standard weight with normal thickness. |
| `LIGHT` | Lighter weight with reduced thickness. |
| `MEDIUM` | Intermediate weight between light and bold. |
| `BOLD` | Heavier weight with increased thickness. |

## Style

Enum for different text styles such as italic, underline, etc.

| Enums ||
|---|---|
| `STYLE_UNSPECIFIED` | No style applied. |
| `ITALIC` | Italic style. |
| `UNDERLINE` | Underline style. |
| `STRIKETHROUGH` | Strikethrough style. |
| `LINE_BREAK` | Line break. |
| `UPPERCASE` | Uppercase style. |
| `CODE` | Code. |
| `CODE_BLOCK` | Code block. |

## WrapStyle

Enum for different wrap styles.

| Enums ||
|---|---|
| `WRAP_STYLE_UNSPECIFIED` | No wrap style specified. |
| `NO_WRAP` | No wrap style. |