workspaces_file_git_statuses
Creates, updates, deletes, gets or lists a workspaces_file_git_statuses resource.
Overview
| Name | workspaces_file_git_statuses |
| Type | Resource |
| Id | google.dataform.workspaces_file_git_statuses |
Fields
The following fields are returned by SELECT queries:
- fetch_file_git_statuses
| Name | Datatype | Description |
|---|---|---|
uncommittedFileChanges | array | A 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
fetch_file_git_statuses | select | projectsId, locationsId, repositoriesId, workspacesId | Fetches 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.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
projectsId | string | |
repositoriesId | string | |
workspacesId | string |
SELECT examples
- fetch_file_git_statuses
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
;