| Package | Description |
|---|---|
| com.google.api.services.chat.v1.model |
| Modifier and Type | Method and Description |
|---|---|
DeprecatedEvent |
DeprecatedEvent.clone() |
DeprecatedEvent |
DeprecatedEvent.set(String fieldName,
Object value) |
DeprecatedEvent |
DeprecatedEvent.setAction(FormAction action)
For `CARD_CLICKED` interaction events, the form action data associated when a user clicks a
card or dialog.
|
DeprecatedEvent |
DeprecatedEvent.setAppCommandMetadata(AppCommandMetadata appCommandMetadata)
Metadata about a Chat app command.
|
DeprecatedEvent |
DeprecatedEvent.setCommon(CommonEventObject common)
Represents information about the user's client, such as locale, host app, and platform.
|
DeprecatedEvent |
DeprecatedEvent.setConfigCompleteRedirectUrl(String configCompleteRedirectUrl)
This URL is populated for `MESSAGE`, `ADDED_TO_SPACE`, and `APP_COMMAND` interaction events.
|
DeprecatedEvent |
DeprecatedEvent.setDialogEventType(String dialogEventType)
The type of [dialog](https://developers.google.com/workspace/chat/dialogs) interaction event
received.
|
DeprecatedEvent |
DeprecatedEvent.setEventTime(String eventTime)
The timestamp indicating when the interaction event occurred.
|
DeprecatedEvent |
DeprecatedEvent.setIsDialogEvent(Boolean isDialogEvent)
For `CARD_CLICKED` and `MESSAGE` interaction events, whether the user is interacting with or
about to interact with a [dialog](https://developers.google.com/workspace/chat/dialogs).
|
DeprecatedEvent |
DeprecatedEvent.setMessage(Message message)
For `ADDED_TO_SPACE`, `CARD_CLICKED`, and `MESSAGE` interaction events, the message that
triggered the interaction event, if applicable.
|
DeprecatedEvent |
DeprecatedEvent.setSpace(Space space)
The space in which the user interacted with the Chat app.
|
DeprecatedEvent |
DeprecatedEvent.setThread(Thread thread)
The thread in which the user interacted with the Chat app.
|
DeprecatedEvent |
DeprecatedEvent.setThreadKey(String threadKey)
The Chat app-defined key for the thread related to the interaction event.
|
DeprecatedEvent |
DeprecatedEvent.setToken(String token)
A secret value that legacy Chat apps can use to verify if a request is from Google.
|
DeprecatedEvent |
DeprecatedEvent.setType(String type)
The [type](/workspace/chat/api/reference/rest/v1/EventType) of user interaction with the Chat
app, such as `MESSAGE` or `ADDED_TO_SPACE`.
|
DeprecatedEvent |
DeprecatedEvent.setUser(User user)
The user that interacted with the Chat app.
|
Copyright © 2011–2025 Google. All rights reserved.