- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Fetches a Repository's remote branches.
HTTP request
GET https://dataform.googleapis.com/v1/{name=projects/*/locations/*/repositories/*}:fetchRemoteBranches
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The repository's name. Authorization requires the following IAM permission on the specified resource
|
Request body
The request body must be empty.
Response body
repositories.fetchRemoteBranches response message.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "branches": [ string ] } |
| Fields | |
|---|---|
branches[] |
The remote repository's branch names. |
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.repositories.fetchRemoteBranches
For more information, see the IAM documentation.