- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Pushes Git commits from a Workspace to the Repository's remote.
HTTP request
POST https://dataform.googleapis.com/v1/{name=projects/*/locations/*/repositories/*/workspaces/*}:push
The URL uses gRPC Transcoding syntax.
Path parameters
name
string
Required. The workspace's name.
Authorization requires the following IAM
permission on the specified resource name
:
-
dataform.workspaces.push
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "remoteBranch" : string } |
| Fields | |
|---|---|
remoteBranch
|
Optional. The name of the branch in the Git remote to which commits should be pushed. If left unset, the repository's default branch name will be used. |
Response body
If successful, the response body is empty.
Authorization scopes
Requires one of the following OAuth scopes:
-
https://www.googleapis.com/auth/cloud-platform -
https://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.push
For more information, see the IAM documentation .

