Skip to main content

workspaces_file_git_statuses

Creates, updates, deletes, gets or lists a workspaces_file_git_statuses resource.

Overview

Nameworkspaces_file_git_statuses
TypeResource
Idgoogle.dataform.workspaces_file_git_statuses

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
uncommittedFileChangesarrayA list of all files which have uncommitted Git changes. There will only be a single entry for any given file.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
fetch_file_git_statusesselectprojectsId, locationsId, repositoriesId, workspacesIdFetches Git statuses for the files in a Workspace.

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
repositoriesIdstring
workspacesIdstring

SELECT examples

Fetches Git statuses for the files in a Workspace.

SELECT
uncommittedFileChanges
FROM google.dataform.workspaces_file_git_statuses
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND repositoriesId = '{{ repositoriesId }}' -- required
AND workspacesId = '{{ workspacesId }}' -- required;