ChatAppConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents the configuration of a Google Chat app built as a Google Workspace add-on.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
name |
str
Required. Identifier. Resource name of the Chat app configuration. Format: projects/{project}/chatAppConfig, where
{project} is the Google Cloud project number.
|
display_name |
str
Required. The display name of the Chat app. Length should be between 3 and 25 characters. |
avatar_uri |
str
Optional. The URL for the app's avatar image. Must be an HTTPS URL that hosts a square (aspect ratio of 1:1) PNG image. Recommended minimum size: 256 by 256 pixels. A default app avatar will be used if not specified. This field is a member of oneof_ _avatar_uri.
|
description |
str
Required. A short description of the Chat app. Should be between 1 and 40 characters. |
state |
google.cloud.gsuiteaddons_v1.types.ChatAppConfig.AppState
Optional. The state of the app. Defaults to ACTIVE if
not specified.
This field is a member of oneof_ _state.
|
interactive_feature_config |
google.cloud.gsuiteaddons_v1.types.InteractiveFeatureConfig
Optional. The settings for interactive features of the app. If this is not provided, the app will be non-interactive, meaning that it can use the Chat API, but users can't interact with the app. |
error_logging_enabled |
bool
Optional. Whether to log errors to Cloud Logging. Defaults to false if not specified.
This field is a member of oneof_ _error_logging_enabled.
|
markup_syntax |
google.cloud.gsuiteaddons_v1.types.ChatAppConfig.MarkupSyntax
Optional. The default markup syntax for messages sent or read by this Chat app. Defaults to MARKUP_SYNTAX_MARKDOWN if not specified.
This field is a member of oneof_ _markup_syntax.
|
Classes
AppState
AppState(value)The current state of the Chat app.
MarkupSyntax
MarkupSyntax(value)The markup syntax used to format message text for this Chat app.