Service Client: Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::GSuiteAddOnsClient
Client stub representing the remote GSuiteAddOns gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to gsuiteaddons.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons - Compiled Protocol Buffers messages for google/cloud/gsuiteaddons/v1/gsuiteaddons.proto
SYNOPSIS
use Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons;
my $msg = Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::GetAuthorizationRequest->new({
name => $name,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::GetAuthorizationRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/gsuiteaddons/v1/gsuiteaddons.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::GetAuthorizationRequest
Request message to get Google Workspace add-ons authorization information.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the project for which to get the Google Workspace add-ons authorization information.
Example: `projects/my_project/authorization`.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::Authorization
The authorization information used when invoking deployment endpoints.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe canonical full name of this resource. Example: `projects/123/authorization`
$msg->service_account_email()/$msg->service_account_email($value)Type:
StringThe email address of the service account used to authenticate requests to add-on callback endpoints.
$msg->oauth_client_id()/$msg->oauth_client_id($value)Type:
StringThe OAuth client ID used to obtain OAuth access tokens for a user on the add-on's behalf.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::CreateDeploymentRequest
Request message to create a deployment.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Name of the project in which to create the deployment.
Example: `projects/my_project`.
$msg->deployment_id()/$msg->deployment_id($value)Type:
StringRequired. The id to use for this deployment. The full name of the created resource will be `projects/<project_number>/deployments/<deployment_id>`.
$msg->deployment()/$msg->deployment($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::Deployment)Required. The deployment to create (deployment.name cannot be set).
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::ReplaceDeploymentRequest
Request message to create or replace a deployment.
Inherits from Protobuf::Message.
Accessors
$msg->deployment()/$msg->deployment($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::Deployment)Required. The deployment to create or replace.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::GetDeploymentRequest
Request message to get a deployment.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The full resource name of the deployment to get.
Example: `projects/my_project/deployments/my_deployment`.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::ListDeploymentsRequest
Request message to list deployments for a project.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Name of the project in which to create the deployment.
Example: `projects/my_project`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of deployments to return. The service may return fewer than this value. If unspecified, at most 1000 deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListDeployments` call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListDeployments` must match the call that provided the page token.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::ListDeploymentsResponse
Response message to list deployments.
Inherits from Protobuf::Message.
Accessors
$msg->deployments()/$msg->deployments($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::Deployment)The list of deployments for the given project.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::DeleteDeploymentRequest
Request message to delete a deployment.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The full resource name of the deployment to delete.
Example: `projects/my_project/deployments/my_deployment`.
$msg->etag()/$msg->etag($value)Type:
StringThe etag of the deployment to delete. If this is provided, it must match the server's etag.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::InstallDeploymentRequest
Request message to install a developer mode deployment.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The full resource name of the deployment to install.
Example: `projects/my_project/deployments/my_deployment`.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::UninstallDeploymentRequest
Request message to uninstall a developer mode deployment.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The full resource name of the deployment to install.
Example: `projects/my_project/deployments/my_deployment`.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::GetInstallStatusRequest
Request message to get the install status of a developer mode deployment.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The full resource name of the deployment.
Example: `projects/my_project/deployments/my_deployment/installStatus`.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::InstallStatus
Developer mode install status of a deployment
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe canonical full resource name of the deployment install status.
Example: `projects/123/deployments/my_deployment/installStatus`.
$msg->installed()/$msg->installed($value)Type:
Message(Google::Protobuf::Wrappers::BoolValue)True if the deployment is installed for the user
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::Deployment
A Google Workspace add-on deployment
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe deployment resource name. Example: projects/123/deployments/my_deployment.
$msg->oauth_scopes()/$msg->oauth_scopes($value)Type:
StringThe list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
$msg->add_ons()/$msg->add_ons($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::AddOns)The Google Workspace add-on configuration.
$msg->etag()/$msg->etag($value)Type:
StringThis value is computed by the server based on the version of the deployment in storage, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::AddOns
A Google Workspace add-on configuration.
Inherits from Protobuf::Message.
Accessors
$msg->common()/$msg->common($value)Type:
Message(Google::Apps::Script::Type::ScriptManifest::CommonAddOnManifest)Configuration that is common across all Google Workspace add-ons.
$msg->gmail()/$msg->gmail($value)Type:
Message(Google::Apps::Script::Type::Gmail::GmailAddonManifest::GmailAddOnManifest)Gmail add-on configuration.
$msg->drive()/$msg->drive($value)Type:
Message(Google::Apps::Script::Type::Drive::DriveAddonManifest::DriveAddOnManifest)Drive add-on configuration.
$msg->calendar()/$msg->calendar($value)Type:
Message(Google::Apps::Script::Type::Calendar::CalendarAddonManifest::CalendarAddOnManifest)Calendar add-on configuration.
$msg->docs()/$msg->docs($value)Type:
Message(Google::Apps::Script::Type::Docs::DocsAddonManifest::DocsAddOnManifest)Docs add-on configuration.
$msg->sheets()/$msg->sheets($value)Type:
Message(Google::Apps::Script::Type::Sheets::SheetsAddonManifest::SheetsAddOnManifest)Sheets add-on configuration.
$msg->slides()/$msg->slides($value)Type:
Message(Google::Apps::Script::Type::Slides::SlidesAddonManifest::SlidesAddOnManifest)Slides add-on configuration.
$msg->http_options()/$msg->http_options($value)Type:
Message(Google::Apps::Script::Type::ScriptManifest::HttpOptions)Options for sending requests to add-on HTTP endpoints
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::GetChatAppConfigRequest
Request message to get the Chat app configuration.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name of the Chat app configuration.
Format: `projects/{project}/chatAppConfig`, where `{project}` is the Google Cloud project number.
$msg->view()/$msg->view($value)Type:
Enum(Google::Cloud::Gsuiteaddons::V1::GetChatAppConfigRequest::ChatAppConfigView)Optional. The view of the ChatAppConfig to return. If unspecified, defaults to `BASIC`.
Enum: GetChatAppConfigRequest::ChatAppConfigView
CHAT_APP_CONFIG_VIEW_UNSPECIFIED=>0BASIC=>1FULL=>2
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::UpdateChatAppConfigRequest
Request message for UpdateChatAppConfig.
Inherits from Protobuf::Message.
Accessors
$msg->chat_app_config()/$msg->chat_app_config($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::ChatAppConfig)Required. The app configuration to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The list of fields to update.
If omitted, only the fields with non-empty values in the provided Chat app configuration are updated.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::ChatAppConfig
Represents the configuration of a Google Chat app built as a Google Workspace add-on.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Identifier. Resource name of the Chat app configuration.
Format: `projects/{project}/chatAppConfig`, where `{project}` is the Google Cloud project number.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. The display name of the Chat app. Length should be between 3 and 25 characters.
$msg->avatar_uri()/$msg->avatar_uri($value)Type:
StringOptional. 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.
$msg->description()/$msg->description($value)Type:
StringRequired. A short description of the Chat app. Should be between 1 and 40 characters.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Gsuiteaddons::V1::ChatAppConfig::AppState)Optional. The state of the app. Defaults to `ACTIVE` if not specified.
$msg->interactive_feature_config()/$msg->interactive_feature_config($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::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.
$msg->error_logging_enabled()/$msg->error_logging_enabled($value)Type:
BoolOptional. Whether to log errors to Cloud Logging. Defaults to `false` if not specified.
$msg->markup_syntax()/$msg->markup_syntax($value)Type:
Enum(Google::Cloud::Gsuiteaddons::V1::ChatAppConfig::MarkupSyntax)Optional. The default markup syntax for messages sent or read by this Chat app. Defaults to `MARKUP_SYNTAX_MARKDOWN` if not specified.
Enum: ChatAppConfig::AppState
APP_STATE_UNSPECIFIED=>0ACTIVE=>1DISABLED=>2
Enum: ChatAppConfig::MarkupSyntax
MARKUP_SYNTAX_UNSPECIFIED=>0MARKUP_SYNTAX_CHAT=>1MARKUP_SYNTAX_MARKDOWN=>2
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::InteractiveFeatureConfig
Settings for the [interactive features](https://developers.google.com/workspace/chat/interact-users-overview) of the app.
Inherits from Protobuf::Message.
Accessors
$msg->supports_multiuser_spaces()/$msg->supports_multiuser_spaces($value)Type:
BoolOptional. Whether the app can be added to 1:1 human DMs, group chats and spaces. Defaults to `false` if not specified.
$msg->connection_config()/$msg->connection_config($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::ConnectionConfig)Required. How the app receives events from Google Chat.
$msg->app_commands()/$msg->app_commands($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::AppCommand)Optional. Configuration for app commands.
$msg->url_patterns()/$msg->url_patterns($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::UrlPattern)Optional. Configuration for link previews.
$msg->allowlisted_testing_principals()/$msg->allowlisted_testing_principals($value)Type:
StringOptional. The email addresses of users and groups in your Google Workspace domain who can find and use the app.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::ConnectionConfig
How the app receives events.
Inherits from Protobuf::Message.
Accessors
$msg->http_endpoint_config()/$msg->http_endpoint_config($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::HttpEndpointConfig)HTTP endpoint configuration.
$msg->apps_script_endpoint_config()/$msg->apps_script_endpoint_config($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::AppsScriptEndpointConfig)Apps Script deployment configuration.
$msg->cloud_pub_sub_endpoint_config()/$msg->cloud_pub_sub_endpoint_config($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::CloudPubSubEndpointConfig)Pub/Sub topic configuration.
$msg->dialogflow_endpoint_config()/$msg->dialogflow_endpoint_config($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::DialogflowEndpointConfig)Dialogflow configuration.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::HttpEndpointConfig
HTTP endpoint configuration.
Inherits from Protobuf::Message.
Accessors
$msg->common_url()/$msg->common_url($value)Type:
StringOptional. The HTTPS URL to which Google Chat sends all interactive events.
$msg->per_event_endpoint_config()/$msg->per_event_endpoint_config($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::HttpPerEventEndpointConfig)Optional. Separate HTTPS URLs to which Google Chat sends each type of interactive event.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::HttpPerEventEndpointConfig
HTTP endpoint configuration for specific event types.
Inherits from Protobuf::Message.
Accessors
$msg->app_command_endpoint()/$msg->app_command_endpoint($value)Type:
StringRequired. HTTPS URL endpoint for app command events.
$msg->added_to_space_endpoint()/$msg->added_to_space_endpoint($value)Type:
StringRequired. HTTPS URL endpoint for added to space events.
$msg->message_endpoint()/$msg->message_endpoint($value)Type:
StringRequired. HTTPS URL endpoint for message events.
$msg->removed_from_space_endpoint()/$msg->removed_from_space_endpoint($value)Type:
StringRequired. HTTPS URL endpoint for removed from space events.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::AppsScriptEndpointConfig
Apps Script endpoint configuration.
Inherits from Protobuf::Message.
Accessors
$msg->deployment_id()/$msg->deployment_id($value)Type:
StringRequired. The Apps Script deployment ID.
$msg->per_event_endpoint_config()/$msg->per_event_endpoint_config($value)Type:
Message(Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::AppsScriptPerEventEndpointConfig)Optional. The names of the Apps Script functions that Google Chat calls for each type of interactive event. If not specified, Chat calls the default function for each event type.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::AppsScriptPerEventEndpointConfig
Apps Script endpoint configuration for specific event types.
Inherits from Protobuf::Message.
Accessors
$msg->app_command_endpoint()/$msg->app_command_endpoint($value)Type:
StringOptional. Function name for app command events. If not specified, the default `onAppCommand` function name will be used.
$msg->added_to_space_endpoint()/$msg->added_to_space_endpoint($value)Type:
StringOptional. Function name for added to space events. If not specified, the default `onAddedToSpace` function name will be used.
$msg->message_endpoint()/$msg->message_endpoint($value)Type:
StringOptional. Function name for message events. If not specified, the default `onMessage` function name will be used.
$msg->removed_from_space_endpoint()/$msg->removed_from_space_endpoint($value)Type:
StringOptional. Function name for removed from space events. If not specified, the default `onRemovedFromSpace` function name will be used.
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::CloudPubSubEndpointConfig
Pub/Sub endpoint configuration.
Inherits from Protobuf::Message.
Accessors
$msg->topic()/$msg->topic($value)Type:
StringRequired. The Pub/Sub topic to which Google Chat publishes all interactive events. The topic must be in the same Google Cloud project as the app, and Chat must have permission to publish messages to the topic. For details, see [Build a Google Chat app with Pub/Sub](https://developers.google.com/workspace/chat/quickstart/pub-sub#configure-chat-app).
Format: `projects/{project}/topics/{topic}`
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::DialogflowEndpointConfig
Dialogflow endpoint configuration.
Inherits from Protobuf::Message.
Accessors
$msg->dialogflow_edition()/$msg->dialogflow_edition($value)Type:
Enum(Google::Cloud::Gsuiteaddons::V1::DialogflowEndpointConfig::DialogflowEdition)Required. The Dialogflow edition.
$msg->agent()/$msg->agent($value)Type:
StringOptional. The Dialogflow CX agent or environment name. Required for Dialogflow CX. Do not set for Dialogflow ES.
Format: `projects/{project}/locations/{location}/agents/{agent}` or `projects/{project}/locations/{location}/agents/{agent}/environments/{environment}`.
Enum: DialogflowEndpointConfig::DialogflowEdition
DIALOGFLOW_EDITION_UNSPECIFIED=>0ES=>1CX=>2
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::AppCommand
Configuration for an [app command](https://developers.google.com/workspace/chat/commands).
Inherits from Protobuf::Message.
Accessors
$msg->command_type()/$msg->command_type($value)Type:
Enum(Google::Cloud::Gsuiteaddons::V1::AppCommand::CommandType)Required. The type of this command.
$msg->command_id()/$msg->command_id($value)Type:
Int32Required. The ID of the command (1-1000). Must be unique within the app.
$msg->command()/$msg->command($value)Type:
StringOptional. The name of the command. Required for SLASH_COMMAND, do not set for other command types. Must start with a "/", e.g., "/command".
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. The user-friendly display name of the command. Required for MESSAGE_ACTION and QUICK_COMMAND, do not set for SLASH_COMMAND.
$msg->description()/$msg->description($value)Type:
StringRequired. A short description of the command.
$msg->dialog_enabled()/$msg->dialog_enabled($value)Type:
BoolOptional. Whether this command should trigger a dialog. Defaults to `false`, if not specified.
$msg->loading_notification_message()/$msg->loading_notification_message($value)Type:
StringOptional. A notification to be sent to the user when they trigger the message action. Only supported for MESSAGE_ACTION commands.
Enum: AppCommand::CommandType
COMMAND_TYPE_UNSPECIFIED=>0SLASH_COMMAND=>1QUICK_COMMAND=>2MESSAGE_ACTION=>3
Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::UrlPattern
Configuration for a [link preview](https://developers.google.com/workspace/chat/preview-links).
Inherits from Protobuf::Message.
Accessors
$msg->host_pattern()/$msg->host_pattern($value)Type:
StringRequired. The domain to match. Match a specific subdomain, like "subdomain.example.com", or an entire domain by including an asterisk (*) as a leading wildcard character. For example, "*.example.com" matches "https://subdomain.example.com" and "https://any.number.of.subdomains.example.com".
$msg->path_prefix()/$msg->path_prefix($value)Type:
StringOptional. Path prefix appended to the host pattern. If blank, matches all URLs in the host pattern. For example, when paired with the host pattern "subdomain.example.com", specify "path/" to match page URLs that begin with "https://subdomain.example.com/path/".
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Gsuiteaddons::V1::Gsuiteaddons::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.