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 the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
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.