Skip to main content

@swamp/gcp/dataform

v2026.04.23.1

Google Cloud dataform infrastructure models

Repository

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

Labels

gcpgoogle-clouddataformcloudinfrastructure

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/dataform

@swamp/gcp/dataform/foldersv2026.04.23.1folders.ts

Global Arguments

ArgumentTypeDescription
containingFolder?stringOptional. The containing Folder resource name. This should take the format: projects/{project}/locations/{location}/folders/{folder}, projects/{project}/locations/{location}/teamFolders/{teamFolder}, or just "" if this is a root Folder. This field can only be updated through MoveFolder.
displayName?stringRequired. The Folder's user-friendly name.
name?stringIdentifier. The Folder's name.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a folders
getGet a folders
ArgumentTypeDescription
identifierstringThe name of the folders
updateUpdate folders attributes
deleteDelete the folders
ArgumentTypeDescription
identifierstringThe name of the folders
syncSync folders state from GCP
movemove
ArgumentTypeDescription
destinationContainingFolder?any
query_folder_contentsquery folder contents

Resources

state(infinite)— Represents a Dataform Folder. This is a resource that is used to organize Fil...
@swamp/gcp/dataform/locationsv2026.04.23.1locations.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a locations
ArgumentTypeDescription
identifierstringThe name of the locations
syncSync locations state from GCP
get_configget config
query_user_root_contentsquery user root contents
update_configupdate config
ArgumentTypeDescription
defaultKmsKeyName?any
internalMetadata?any
name?any

Resources

state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/dataform/repositoriesv2026.04.23.1repositories.ts

Global Arguments

ArgumentTypeDescription
containingFolder?stringOptional. The name of the containing folder of the repository. The field is immutable and it can be modified via a MoveRepository operation. Format: `projects/*/locations/*/folders/*`. or `projects/*/locations/*/teamFolders/*`.
dataEncryptionState?objectDescribes encryption state of a resource.
displayName?stringOptional. The repository's user-friendly name.
gitRemoteSettings?objectControls Git remote configuration for a repository.
kmsKeyName?stringOptional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example: `projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}`
labels?recordOptional. Repository user labels.
name?stringIdentifier. The repository's name.
npmrcEnvironmentVariablesSecretVersion?stringOptional. The name of the Secret Manager secret version to be used to interpolate variables into the.npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
serviceAccount?stringOptional. The service account to run workflow invocations under.
setAuthenticatedUserAdmin?booleanOptional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository.
workspaceCompilationOverrides?objectConfigures workspace compilation overrides for a repository.
repositoryId?stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a repositories
getGet a repositories
ArgumentTypeDescription
identifierstringThe name of the repositories
updateUpdate repositories attributes
deleteDelete the repositories
ArgumentTypeDescription
identifierstringThe name of the repositories
syncSync repositories state from GCP
commitcommit
ArgumentTypeDescription
commitMetadata?any
fileOperations?any
requiredHeadCommitSha?any
compute_access_token_statuscompute access token status
fetch_historyfetch history
fetch_remote_branchesfetch remote branches
movemove
ArgumentTypeDescription
destinationContainingFolder?any
query_directory_contentsquery directory contents
read_fileread file

Resources

state(infinite)— Represents a Dataform Git repository.
@swamp/gcp/dataform/repositories-compilationresultsv2026.04.23.1repositories_compilationresults.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
codeCompilationConfig?objectConfigures various aspects of Dataform code compilation.
dataEncryptionState?objectDescribes encryption state of a resource.
gitCommitish?stringImmutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1`
privateResourceMetadata?objectMetadata used to identify if a resource is user scoped.
releaseConfig?stringImmutable. The name of the release config to compile. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.
workspace?stringImmutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a compilationResults
getGet a compilationResults
ArgumentTypeDescription
identifierstringThe name of the compilationResults
syncSync compilationResults state from GCP
queryquery

Resources

state(infinite)— Represents the result of compiling a Dataform project.
@swamp/gcp/dataform/repositories-releaseconfigsv2026.04.23.1repositories_releaseconfigs.ts

Global Arguments

ArgumentTypeDescription
codeCompilationConfig?objectConfigures various aspects of Dataform code compilation.
cronSchedule?stringOptional. Optional schedule (in cron format) for automatic creation of compilation results.
disabled?booleanOptional. Disables automatic creation of compilation results.
gitCommitish?stringRequired. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1`
name?stringIdentifier. The release config's name.
releaseCompilationResult?stringOptional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is automatically created from this release config (using cron_schedule), or when this resource is updated by API call (perhaps to roll back to an earlier release). The compilation result must have been created using this release config. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.
timeZone?stringOptional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
releaseConfigId?stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a releaseConfigs
getGet a releaseConfigs
ArgumentTypeDescription
identifierstringThe name of the releaseConfigs
updateUpdate releaseConfigs attributes
deleteDelete the releaseConfigs
ArgumentTypeDescription
identifierstringThe name of the releaseConfigs
syncSync releaseConfigs state from GCP

Resources

state(infinite)— Represents a Dataform release configuration.
@swamp/gcp/dataform/repositories-workflowconfigsv2026.04.23.1repositories_workflowconfigs.ts

Global Arguments

ArgumentTypeDescription
cronSchedule?stringOptional. Optional schedule (in cron format) for automatic execution of this workflow config.
disabled?booleanOptional. Disables automatic creation of workflow invocations.
invocationConfig?objectIncludes various configuration options for a workflow invocation. If both `included_targets` and `included_tags` are unset, all actions will be included.
name?stringIdentifier. The workflow config's name.
releaseConfig?stringRequired. The name of the release config whose release_compilation_result should be executed. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.
timeZone?stringOptional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
workflowConfigId?stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a workflowConfigs
getGet a workflowConfigs
ArgumentTypeDescription
identifierstringThe name of the workflowConfigs
updateUpdate workflowConfigs attributes
deleteDelete the workflowConfigs
ArgumentTypeDescription
identifierstringThe name of the workflowConfigs
syncSync workflowConfigs state from GCP

Resources

state(infinite)— Represents a Dataform workflow configuration.
@swamp/gcp/dataform/repositories-workflowinvocationsv2026.04.23.1repositories_workflowinvocations.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
compilationResult?stringImmutable. The name of the compilation result to use for this invocation. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.
dataEncryptionState?objectDescribes encryption state of a resource.
invocationConfig?objectIncludes various configuration options for a workflow invocation. If both `included_targets` and `included_tags` are unset, all actions will be included.
invocationTiming?objectRepresents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
privateResourceMetadata?objectMetadata used to identify if a resource is user scoped.
workflowConfig?stringImmutable. The name of the workflow config to invoke. Must be in the format `projects/*/locations/*/repositories/*/workflowConfigs/*`.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a workflowInvocations
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a workflowInvocations
ArgumentTypeDescription
identifierstringThe name of the workflowInvocations
deleteDelete the workflowInvocations
ArgumentTypeDescription
identifierstringThe name of the workflowInvocations
syncSync workflowInvocations state from GCP
cancelcancel
queryquery

Resources

state(infinite)— Represents a single invocation of a compilation result.
@swamp/gcp/dataform/repositories-workspacesv2026.04.23.1repositories_workspaces.ts

Global Arguments

ArgumentTypeDescription
dataEncryptionState?objectDescribes encryption state of a resource.
disableMoves?booleanOptional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted.
name?stringIdentifier. The workspace's name.
privateResourceMetadata?objectMetadata used to identify if a resource is user scoped.
workspaceId?stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a workspaces
getGet a workspaces
ArgumentTypeDescription
identifierstringThe name of the workspaces
deleteDelete the workspaces
ArgumentTypeDescription
identifierstringThe name of the workspaces
syncSync workspaces state from GCP
commitcommit
ArgumentTypeDescription
author?any
commitMessage?any
paths?any
fetch_file_difffetch file diff
fetch_file_git_statusesfetch file git statuses
fetch_git_ahead_behindfetch git ahead behind
install_npm_packagesinstall npm packages
make_directorymake directory
ArgumentTypeDescription
path?any
move_directorymove directory
ArgumentTypeDescription
newPath?any
path?any
move_filemove file
ArgumentTypeDescription
newPath?any
path?any
pullpull
ArgumentTypeDescription
author?any
remoteBranch?any
pushpush
ArgumentTypeDescription
remoteBranch?any
query_directory_contentsquery directory contents
read_fileread file
resetreset
ArgumentTypeDescription
clean?any
paths?any
search_filessearch files
write_filewrite file
ArgumentTypeDescription
contents?any
path?any

Resources

state(infinite)— Represents a Dataform Git workspace.
@swamp/gcp/dataform/teamfoldersv2026.04.23.1teamfolders.ts

Global Arguments

ArgumentTypeDescription
displayName?stringRequired. The TeamFolder's user-friendly name.
name?stringIdentifier. The TeamFolder's name.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a teamFolders
getGet a teamFolders
ArgumentTypeDescription
identifierstringThe name of the teamFolders
updateUpdate teamFolders attributes
deleteDelete the teamFolders
ArgumentTypeDescription
identifierstringThe name of the teamFolders
syncSync teamFolders state from GCP
query_contentsquery contents
searchsearch

Resources

state(infinite)— Represents a Dataform TeamFolder. This is a resource that sits at the project...