## Index

- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.WorkspaceStudioService` (interface)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.FireTriggerRequest` (message)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.FireTriggerResponse` (message)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.ResourceData` (message)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat` (message)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.Chip` (message)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.Icon` (message)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement` (message)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.Hyperlink` (message)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.ListContainer` (message)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.ListContainer.ListItem` (message)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.ListContainer.ListType` (enum)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.StyledText` (message)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.StyledText.FontWeight` (enum)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.StyledText.Style` (enum)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.StyledText.WrapStyle` (enum)
- `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.VariableData` (message)

## WorkspaceStudioService

The Workspace Studio service.

| FireTrigger |
|---|
| `` rpc FireTrigger(`https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.FireTriggerRequest`) returns (`https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.FireTriggerResponse`) `` Notifies Google that a trigger event has occurred. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/workspace.studio.trigger` For more information, see the [Authorization guide](https://developers.google.com/workspace/guides/configure-oauth-consent). |

## FireTriggerRequest

The request message for the FireTrigger method.

| Fields ||
|---|---|
| `name` | `string` Required. The resource name of the trigger. Format: triggers/{trigger_id} |
| `outputs` | ``map<string, `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.VariableData`>`` Optional. The output variables from the trigger event in the 3P application. |
| `log` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat` Optional. Optional user facing log for the trigger event. |
| `request_id` | `string` Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided. |

## FireTriggerResponse

This type has no fields.
The response message for the FireTrigger method.

## ResourceData

Application specific resource value.

| Fields ||
|---|---|
| `fields` | ``map<string, `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.VariableData`>`` A map of the resource fields keyed by the field name. |

## TextFormat

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

| Fields ||
|---|---|
| `text_format_elements[]` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement` Optional. A collection of text format elements. |

## Chip

A clickable chip in the text format.

| Fields ||
|---|---|
| `icon` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.Icon` Optional. The icon displayed in the chip. |
| `label` | `string` Optional. The text displayed in the chip. |
| `url` | `string` Optional. 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: ||
| `icon_url` | `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`. |
| `material_icon` | `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/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.Chip` Clickable chip in the text format. |
| `styled_text` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.StyledText` Styled text in the text format. |
| `hyperlink` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.Hyperlink` Hyperlink in the text format. |
| `list_container` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.ListContainer` List container in the text format. |

## Hyperlink

Hyperlink element with text and link.

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

## ListContainer

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

| Fields ||
|---|---|
| `list_nest_level` | `int64` Optional. The nest level of the list. Starts from 0 for the top level, and increases by 1 for each nested list. |
| `list_type` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.ListContainer.ListType` Optional. The type of the list. |
| `list_items[]` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.ListContainer.ListItem` Optional. A collection of list items. |

## ListItem

A list item.

| Fields ||
|---|---|
| `text_format_elements[]` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement` Optional. 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. |

## StyledText

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

| Fields ||
|---|---|
| `text` | `string` Optional. The main content of the text. |
| `styles[]` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.StyledText.Style` Optional. A collection of styles applied to the text. |
| `font_weight` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.StyledText.FontWeight` Optional. The font weight of the text. |
| `color` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.type#google.type.Color` Optional. The color of the text. |
| `wrap_style` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.TextFormat.TextFormatElement.StyledText.WrapStyle` Optional. 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. |

## VariableData

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

| Fields ||
|---|---|
| `boolean_values[]` | `bool` Boolean values. |
| `integer_values[]` | `int64` Integer values. |
| `string_values[]` | `string` String values. |
| `timestamp_values[]` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` Timestamp values. |
| `resource_references[]` | `string` A list of resource IDs (e.g. "spaces/123"). |
| `resource_data_values[]` | `https://developers.google.com/workspace/add-ons/studio/reference/rpc/google.apps.studio.v1#google.apps.studio.v1.ResourceData` A list of resource data. |
| `email_address_values[]` | `string` Email address values. |
| `users[]` | `string` Google user values in the format `users/{user}`. |