Reference documentation and code samples for the Google Workspace Add-ons V1 API class Google::Cloud::GSuiteAddOns::V1::ChatAppConfig.
Represents the configuration of a Google Chat app built as a Google Workspace add-on.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#avatar_uri
def avatar_uri() -> ::String- (::String) — 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.
#avatar_uri=
def avatar_uri=(value) -> ::String- value (::String) — 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.
- (::String) — 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.
#description
def description() -> ::String- (::String) — Required. A short description of the Chat app. Should be between 1 and 40 characters.
#description=
def description=(value) -> ::String- value (::String) — Required. A short description of the Chat app. Should be between 1 and 40 characters.
- (::String) — Required. A short description of the Chat app. Should be between 1 and 40 characters.
#display_name
def display_name() -> ::String- (::String) — Required. The display name of the Chat app. Length should be between 3 and 25 characters.
#display_name=
def display_name=(value) -> ::String- value (::String) — Required. The display name of the Chat app. Length should be between 3 and 25 characters.
- (::String) — Required. The display name of the Chat app. Length should be between 3 and 25 characters.
#error_logging_enabled
def error_logging_enabled() -> ::Boolean-
(::Boolean) — Optional. Whether to log errors to Cloud Logging. Defaults to
falseif not specified.
#error_logging_enabled=
def error_logging_enabled=(value) -> ::Boolean-
value (::Boolean) — Optional. Whether to log errors to Cloud Logging. Defaults to
falseif not specified.
-
(::Boolean) — Optional. Whether to log errors to Cloud Logging. Defaults to
falseif not specified.
#interactive_feature_config
def interactive_feature_config() -> ::Google::Cloud::GSuiteAddOns::V1::InteractiveFeatureConfig- (::Google::Cloud::GSuiteAddOns::V1::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.
#interactive_feature_config=
def interactive_feature_config=(value) -> ::Google::Cloud::GSuiteAddOns::V1::InteractiveFeatureConfig- value (::Google::Cloud::GSuiteAddOns::V1::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.
- (::Google::Cloud::GSuiteAddOns::V1::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.
#markup_syntax
def markup_syntax() -> ::Google::Cloud::GSuiteAddOns::V1::ChatAppConfig::MarkupSyntax-
(::Google::Cloud::GSuiteAddOns::V1::ChatAppConfig::MarkupSyntax) — Optional. The default markup syntax for messages sent or read by this Chat
app. Defaults to
MARKUP_SYNTAX_MARKDOWNif not specified.
#markup_syntax=
def markup_syntax=(value) -> ::Google::Cloud::GSuiteAddOns::V1::ChatAppConfig::MarkupSyntax-
value (::Google::Cloud::GSuiteAddOns::V1::ChatAppConfig::MarkupSyntax) — Optional. The default markup syntax for messages sent or read by this Chat
app. Defaults to
MARKUP_SYNTAX_MARKDOWNif not specified.
-
(::Google::Cloud::GSuiteAddOns::V1::ChatAppConfig::MarkupSyntax) — Optional. The default markup syntax for messages sent or read by this Chat
app. Defaults to
MARKUP_SYNTAX_MARKDOWNif not specified.
#name
def name() -> ::String-
(::String) — Required. Identifier. Resource name of the Chat app configuration.
Format:
projects/{project}/chatAppConfig, where{project}is the Google Cloud project number.
#name=
def name=(value) -> ::String-
value (::String) — Required. Identifier. Resource name of the Chat app configuration.
Format:
projects/{project}/chatAppConfig, where{project}is the Google Cloud project number.
-
(::String) — Required. Identifier. Resource name of the Chat app configuration.
Format:
projects/{project}/chatAppConfig, where{project}is the Google Cloud project number.
#state
def state() -> ::Google::Cloud::GSuiteAddOns::V1::ChatAppConfig::AppState-
(::Google::Cloud::GSuiteAddOns::V1::ChatAppConfig::AppState) — Optional. The state of the app. Defaults to
ACTIVEif not specified.
#state=
def state=(value) -> ::Google::Cloud::GSuiteAddOns::V1::ChatAppConfig::AppState-
value (::Google::Cloud::GSuiteAddOns::V1::ChatAppConfig::AppState) — Optional. The state of the app. Defaults to
ACTIVEif not specified.
-
(::Google::Cloud::GSuiteAddOns::V1::ChatAppConfig::AppState) — Optional. The state of the app. Defaults to
ACTIVEif not specified.