What are the different add-on types in G Suite? [duplicate] - gmail-addons

This question already has an answer here:
What kind of apps are G-Suite marketplace apps?
(1 answer)
Closed 3 years ago.
What are the supported ways to customize G Suite apps like Gmail, Drive, Calendar, Docs, etc.?

From https://developers.google.com/gsuite/add-ons/overview
Add-ons are defined by the application they extend (the host application). There are two primary types of add-ons: G Suite add-ons and editor add-ons.
G Suite add-ons are the newest generation of add-ons. The previous iteration, Gmail add-ons, provided desktop and mobile extensions of Gmail only, using interfaces built from an Apps Script widget library. G Suite add-ons add a number of new features and capabilities, including the ability to extend Gmail, Google Calendar, and Google Drive — all with a single add-on. Previously created Gmail add-ons now function as G Suite add-ons; you can upgrade your Gmail add-on to take advantage of the new G Suite capabilities.
Editor add-ons are the extend one of the Google Drive editor host applications:
Google Sheets
Google Docs
Google Slides
Google Forms
G Suite add-ons and editor add-ons differ in how authorization is handled and how their interfaces are constructed. See Add-on types for more information.

Related

Multiple Google Apps Script editor Add-ons can be published from a single GCP project?

I am developing Google Apps Script editor add-ons internally for my domain, and want to privately publish few separate add-ons.
However, when I went through the steps to publish my first add-on,
https://developers.google.com/gsuite/add-ons/how-tos/publishing-editor-addons
https://developers.google.com/gsuite/marketplace/listing-gsm
the G Suite Marketplace SDK panel on the GCP web console didn't show me a button like "add a new addon", as in the screenshots below. Does that mean only a single add-on can be published from a single GCP project?
GCP web console -> G Suite Marketplace SDK -> Configuration menu
GCP web console -> G Suite Marketplace SDK -> Publish menu
If the editor add-ons are for same application (Docs, Forms, Sheets or Slides), yes, that means that you should use a different GCP project for each of your editor add-ons
Let say that your add-ons are Google Sheets add-ons. Since the G Suite Markeplace SKD configuration page only have a pair of fields for the project id and the corresponding version, it's not possible to use the same project for multiple Google Sheets add-ons.

Difference in quotas of free and GSuite Enterprise Google products

I try to find differences in quotas of Google Spreadsheets and App Scripts, used by free account vs. GSuite Enterprise account.
The only document i've got is https://developers.google.com/apps-script/guides/services/quotas. But there i miss such quotas as ImportXml.
Besides looking in https://developers.google.com/apps-script also look at
https://support.google.com/docs Goodle Docs Editors Help Center
https://support.google.com/a G Suite Help Center for G Suite Administrator
https://developers.google.com/sheets "Micro-site" about Google Sheets for developers
You might also should subscribe/follow to the G Suite Update Blog where changes to G Suite (including Google Sheets) are usually announced.

gmail add-on extension disabled in g suite market place sdk configuration screen

I have configured an app script project in script.google.com for developing an gmail calendar add-on. This project is duly linked with a cloud project.
When I am trying to configure G Suite Market Place SDK, "gmail add-on extension" checkbox is disabled under "Extensions".
I have given all the required assets per SDK configuration.
Can anyone please tell me why "gmail add-on extension" is disabled and how it can be fixed?
Google is currently limiting what Gmail add-ons are permitted to be published publicly. You may not be able to select a Gmail add-on extension with Public visibility until you have filled out the Gmail Add-on Submission Information form here: Gmail Add-ons Submission form That starts the process of getting your add-on whitelist for public publication. Once you're whitelisted, you should be able to complete the publishing process.
Ref link: answer from stackoverflow

what is the SLA for Google App script?

I am new to Google App scripts and I have a few questions (I've done the diligent of going thru the FAQs) that I couldn't find answers yet
I read that Google App scripts are hosted in Google Drive. Where does it actually get executed?
are there any SLA or availability figures for the Google App scripts hosting environment?
can I host the Google App scripts (we will mainly use these as Gadgets for Google Site) on other environment? such as App engine?
many thanks
I've never seen anything official that answer these questions. So the following answers are just from my experience of working with Apps Script and as a Top Contributor.
It gets executed on Google servers, under the "script" subdomain at google.com. There's no info regarding the infrastructure.
There's no SLA. AFAIK it is not even covered in Google support for "Google for Work" (new name of Apps for Business)
No, you cannot host it anywhere else. And also not embed it anywhere expect a Google Site.
Preface
First of all, Google Apps Script seems to be separate from Google Sheets/Docs/Forms/Drive as noted in HIPAA Included Functionality:
As of July 21, 2020, The following functionality is Included Functionality under the applicable HIPAA Business Associate Addendum:
Gmail, Calendar, Drive (including Docs, Sheets, Slides, and Forms), Apps Script, Keep, Sites, Jamboard, Hangouts (chat messaging feature only), Google Chat, Google Meet, Google Voice (managed users only), Google Cloud Search, Cloud Identity Management, Google Groups, Google Tasks and Vault (if applicable).
So, in official docs, Google recognises Apps Script as separate service, as seen in Google Workspace HIPAA Included Functionality terms.
Is there SLA for Apps Script
There is Google Workspace Service Level Agreement (SLA, which is a matter of question), where Apps Script is NOT included in covered services.
From Google Workspace Service Level Agreement
Last modified: July 12, 2021:
"Google Workspace Covered Services" means the Gmail, Currents, Google Calendar, Google Cloud Print, Google Cloud Search, Google Docs, Google Sheets, Google Slides, Google Forms, Google Drive, Google Groups for Business, Google Hangouts messaging and video initiation, Google Chat, Google Meet, Google Keep, Google Sites, Google Jamboard, Google Tasks, Google Vault, and Google Voice components of the Service. This does not include the Gmail Labs functionality, and Google Jamboard Hardware components of the Service.
There is also additional Google Apps Script Additional Terms which have no mention of SLA (as of January 2022).
It's not should be considered any kind of legal advice, but looks like there is no explicit Apps Script SLA.

Custom Functions with add-ons?

I've been trying to create a Google Spreadsheet plugin from some existing Google App Scripts that I have, and one important part of this app script is Custom Functions.
Though the documentation for the add-ons doesn't indicate that this is supported, the documentation for Custom Functions does indicate that you can.
https://developers.google.com/apps-script/guides/sheets/functions
Through testing, I have not once been able to get Custom Functions exposed through a add-on. Does anyone know the secret sauce to get this to work?
Answer
According to Eric Koleda in [Code.gs - date_add_and_subtract]( https://github.com/google/google-apps-script-samples/blob/master/date_add_and_subtract/Code.gs) to make available the custom fuctions in an add-on it's required to include at least one add-on menu, but this is not working at this time on testing mode.
NOTE: The originally referred page was removed but the Date add and substract add-on sample code is available at https://github.com/googlesamples/apps-script/tree/master/sheets/dateAddAndSubtract.
The "solution" to test a custom function add-on is to publish the add-on privately so you could avoid the Google review of an untested add-on. Related Q&A: Publish an add-on privately
NOTES:
You have to create a Google Cloud Project, set OAuth Consent Screen, add the Google Workspaces Marketplace SDK, complete the configuration page, the listing page and to publish the add-on
Setting the OAuth Consent Screen for Internal Use requires to a Google Workspace Account
Setting the OAuth Consent Screen for External Use limited to test account only doesn't allow to publish the add-on to the GW Marketplace.
One scenario is to use different Google Cloud Projects for testing and production but use the same Google Apps Script project. Another scenario is to have two different Google Apps Script projects each one with their own Google Apps Project and someway copy the code from one to the other i.e. using Google Apps Script GitHub Assistant Chrome Extension, CLASP or the Google Apps Script API.
Remarks
There are a couple of related GAS issues, please star them:
"Test as add-on" from standalone project to Google Sheets doesn't link custom functions
After activating an add-on, custom functions get stuck Loading... until spreadsheet refresh