Skip to main content

apps_script_projects

Creates, updates, deletes, gets or lists an apps_script_projects resource.

Overview

Nameapps_script_projects
TypeResource
Idgoogle.integrations.apps_script_projects

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_apps_script_projects_createinsertprojectsId, locationsIdCreates an Apps Script project.
projects_locations_apps_script_projects_linkexecprojectsId, locationsIdLinks a existing Apps Script project.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring

INSERT examples

Creates an Apps Script project.

INSERT INTO google.integrations.apps_script_projects (
data__appsScriptProject,
data__authConfigId,
projectsId,
locationsId
)
SELECT
'{{ appsScriptProject }}',
'{{ authConfigId }}',
'{{ projectsId }}',
'{{ locationsId }}'
RETURNING
projectId
;

Lifecycle Methods

Links a existing Apps Script project.

EXEC google.integrations.apps_script_projects.projects_locations_apps_script_projects_link 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"scriptId": "{{ scriptId }}"
}';