Skip to main content

@swamp/gcp/script

v2026.04.23.1

Google Cloud script infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudscriptcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/script

@swamp/gcp/script/deploymentsv2026.04.23.1deployments.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
description?stringThe description for this deployment.
manifestFileName?stringThe manifest file name for this deployment.
scriptId?stringThe script project's Drive ID.
versionNumber?numberThe version number on which this deployment is based.
deploymentConfig?objectMetadata the defines how a deployment is configured.
createCreate a deployments
getGet a deployments
ArgumentTypeDescription
identifierstringThe name of the deployments
updateUpdate deployments attributes
deleteDelete the deployments
ArgumentTypeDescription
identifierstringThe name of the deployments
syncSync deployments state from GCP

Resources

state(infinite)— Representation of a single script deployment.
@swamp/gcp/script/processesv2026.04.23.1processes.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a processes
ArgumentTypeDescription
identifierstringThe name of the processes
syncSync processes state from GCP
list_script_processeslist script processes

Resources

state(infinite)— Representation of a single script process execution that was started from the...
@swamp/gcp/script/projectsv2026.04.23.1projects.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parentId?stringThe Drive ID of a parent file that the created script project is bound to. This is usually the ID of a Google Doc, Google Sheet, Google Form, or Google Slides file. If not set, a standalone script project is created.
title?stringThe title for the project.
createCreate a projects
getGet a projects
ArgumentTypeDescription
identifierstringThe name of the projects
syncSync projects state from GCP
get_contentget content
get_metricsget metrics
update_contentupdate content
ArgumentTypeDescription
files?any
scriptId?any

Resources

state(infinite)— The script project resource.
@swamp/gcp/script/versionsv2026.04.23.1versions.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
createTime?stringWhen the version was created.
description?stringThe description for this version.
scriptId?stringThe script project's Drive ID.
versionNumber?numberThe incremental ID that is created by Apps Script when a version is created. This is system assigned number and is immutable once created.
createCreate a versions
getGet a versions
ArgumentTypeDescription
identifierstringThe name of the versions
syncSync versions state from GCP

Resources

state(infinite)— A resource representing a script project version. A version is a "snapshot" o...