| Package | Description |
|---|---|
| com.google.api.services.chat.v1.model |
| Modifier and Type | Method and Description |
|---|---|
CommonEventObject |
CommonEventObject.clone() |
CommonEventObject |
DeprecatedEvent.getCommon()
Represents information about the user's client, such as locale, host app, and platform.
|
CommonEventObject |
CommonEventObject.set(String fieldName,
Object value) |
CommonEventObject |
CommonEventObject.setFormInputs(Map<String,Inputs> formInputs)
A map containing the current values of the widgets in the displayed card.
|
CommonEventObject |
CommonEventObject.setHostApp(String hostApp)
Indicates the host app the add-on is active in when the event object is generated.
|
CommonEventObject |
CommonEventObject.setInvokedFunction(String invokedFunction)
Name of the function to invoke.
|
CommonEventObject |
CommonEventObject.setParameters(Map<String,String> parameters)
Any additional parameters you supply to an action using
[`actionParameters`](https://developers.google.com/workspace/add-
ons/reference/rpc/google.apps.card.v1#google.apps.card.v1.Action.ActionParameter) or
[`Action.setParameters()`](https://developers.google.com/apps-script/reference/card-
service/action#setparametersparameters).
|
CommonEventObject |
CommonEventObject.setPlatform(String platform)
The platform enum which indicates the platform where the event originates (`WEB`, `IOS`, or
`ANDROID`).
|
CommonEventObject |
CommonEventObject.setTimeZone(TimeZone timeZone)
**Disabled by default.** The timezone ID and offset from Coordinated Universal Time (UTC).
|
CommonEventObject |
CommonEventObject.setUserLocale(String userLocale)
**Disabled by default.** The user's language and country/region identifier in the format of
[ISO 639](https://wikipedia.org/wiki/ISO_639_macrolanguage) language code-[ISO
3166](https://wikipedia.org/wiki/ISO_3166) country/region code.
|
| Modifier and Type | Method and Description |
|---|---|
DeprecatedEvent |
DeprecatedEvent.setCommon(CommonEventObject common)
Represents information about the user's client, such as locale, host app, and platform.
|
Copyright © 2011–2025 Google. All rights reserved.