- HTTP request
 - Path parameters
 - Request body
 - Response body
 - Authorization scopes
 - IAM Permissions
 - Try it!
 
Applies a Git commit for uncommitted files in a Workspace.
HTTP request
POST https://dataform.googleapis.com/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:commit
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name | 
                
                   
 Required. The workspace's name. Authorization requires the following IAM permission on the specified resource  
  | 
              
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
{
  "author": {
    object ( | 
                
| Fields | |
|---|---|
author | 
                  
                     
 Required. The commit's author.  | 
                
commitMessage | 
                  
                     
 Optional. The commit's message.  | 
                
paths[] | 
                  
                     
 Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed.  | 
                
Response body
If successful, the response body is empty.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/bigquery
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
dataform.workspaces.commit
For more information, see the IAM documentation.