Is Google Apps Script SaaS or PaaS? - google-apps-script

I'm a beginner with Google Apps Script and I would like to know that if that is Software as a Service or Platform as a Service. Thank you for your explanation.

This whole google cloud is a platform as a service as you are getting the full cloud for processing your scripts and whole data as a platform

Related

Can we access GCP services using Google Apps Script

I came across this doc which says that Apps Script can connect to any external APIs.
I'm trying to access my Virtual Machines and maybe perform some actions (GET, DELETE etc). Can I do that using Compute Engine APIs using Apps Script.
Thank you
It works perfectly within Google Workspace Ecosystem but not sure how to begin connecting GCP services using Apps Script.

How to give users access to app script managed by a GCP Project

I have an app script linked to a spreadsheet that has a few functions to automate some processes for users. I recently updated the project to be linked to a standard GCP project I created so I could create OAuth credentials for an unrelated process in this script. However, now when users go to run the functions, they get a 403. Is there a place in the GCP console where I can give them access? I am not using any OAuth credentials for these functions. Just the standard app script interactions with the Google Sheet.
I think when you move to GCP you are required to use OAuth and they have to enter their credentials again. Found in the docs.
You have to configure the OAuth Consent Screen as is explained in the official docs about link a Google Apps Script project to a standard Google Cloud Project --> https://developers.google.com/apps-script/guides/cloud-platform-projects

How to easily find Apps Script project connected to Google Cloud system project?

Is there a simple way how to find Google Apps Script project which is connected to system cloud project inside system-gsuite/apps-script in Google Cloud Console?
And vice-versa? To find the cloud project which is connected to Google Apps Script?
In Google document, these are the instructions on how to connect Apps Script project to Google Cloud Platform:
For the New Editor, this is what you need to do:
And for the Legacy Editor:
Reference:
https://developers.google.com/apps-script/guides/cloud-platform-projects

Google Maps Platform unable to create project (Google Cloud Platform service has been disabled)

My website is showing bugous google maps.
I need to upgrade the code to use the new google maps api access.
I have filled the google maps platform form (https://cloud.google.com/maps-platform/?hl=pt-BR) but i have the following error:
Google Cloud Platform service has been disabled. Please contact your administrator to restore service.
I have and old google apps accounts (50 free users) and I have not upgraded to a google suite plan (nor intend to do so).
I have searched my g suite admin for a google cloud platform or a "google developer console" service to enable, but none are available to be enabled.
(like suggested here and other links)
I have also tried to log into google cloud platform and create a billing account for my organisation (that worked), but when i try to create a new project, i have got the same error message (Google Cloud Platform service has been disabled. Please contact your administrator to restore service.)
Can anyone help me please!
Just found out that there's a direct link: https://admin.google.com/{{your-url}}/AdminHome?hl=en#AppDetails:service=Google+Developers+Console
You can bet this won't be supported for long if they're trying to get people away from this, so hopefully we'll have a supported answer soon.

Clone Google Apps Script project with same advanced google services and API

I want to create multiple copies of google script files using same advanced services, also must enable API at Google developers console.
When I save as new copy, API at Google developers console for the copy doesn't auto-enable.
Because I need a lot of copies so I can't enable API manually for all.
I also tried creating a script as a library to access advanced services, enable API for it. Then other scripts call to the library function. But when I run, every script show message that I need to enable services and API itself.
Is there any solution for this?
You cannot enable APIs for a Google Apps Script project programmatically. When you create a copy of a Google Apps Script project, a new Google Cloud platform project is created.
Even if the advanced Google service settings are copied when making a file copy, the APIs in the new Cloud Platform project must be manually enabled.
This is no more the case with "default" GCP projects.
When you enable an advanced service for your script project in the Apps Script editor, it is automatically enabled in the default GCP project when the script project is saved.
Contrasting with "Standard" GCP project:
When you enable an advanced service in a script project, you must manually enable the corresponding API in the standard GCP project.
However in both cases, the advanced service needs to be enabled.