Clasp: How to use clasp run with the Apps Script鈥搈anaged Cloud Platform project

Created on 22 Aug 2019  路  3Comments  路  Source: google/clasp

Expected Behavior

According to https://github.com/google/clasp/blob/master/docs/run.md you have to create a GCP project to use clasp run.

Is it possible to use clasp run with the default Apps Script鈥搈anaged Cloud Platform project that gets created automatically for Google Apps Script projects?

Our company uses G-Suite but we do not have access to create GCP projects -- we do everything through the default ones created in GAS.

I'd like to be able to develop and run Google Apps Script code locally using clasp run but can't figure out how to get it to work with the default projects.

Actual Behavior

N/A

Steps to Reproduce the Problem

  1. N/A

Specifications

  • Node version (node -v): N/A
  • Version (clasp -v): N/A
  • OS (Mac/Linux/Windows): N/A

Most helpful comment

Apps Script projects use the default GCP project. Is there no way to use for authentication?

You can get a Project Key and Script ID from the project properties -- any way to use those?

If not, can I add an enhancement request to be able to use GCP with the default project? Our organization uses G-Suite Enterprise but we're not allowed to create GCP projects (long story) so everyone does everything with the default one. I'd love to be able to use clasp to simplify development.

All 3 comments

Just wondering if anyone has any ideas? I'm desperate to use clasp but am not allowed to create a GCP project in our G-Suite Enterprise setup.

Sorry, you need some GCP project to use this feature. I don't know how to help you other than that requirement for clasp run.

Apps Script projects use the default GCP project. Is there no way to use for authentication?

You can get a Project Key and Script ID from the project properties -- any way to use those?

If not, can I add an enhancement request to be able to use GCP with the default project? Our organization uses G-Suite Enterprise but we're not allowed to create GCP projects (long story) so everyone does everything with the default one. I'd love to be able to use clasp to simplify development.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grant picture grant  路  8Comments

OleksandrRakovets picture OleksandrRakovets  路  3Comments

arichardsmith picture arichardsmith  路  6Comments

freddy-daniel picture freddy-daniel  路  7Comments

nmccready picture nmccready  路  5Comments