- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- GitLabRepository
- Try it!
List all repositories for a given GitLabConfig
.
This API is experimental
HTTP request
GET https://cloudbuild.googleapis.com/v1/{parent=projects/*/locations/*/gitLabConfigs/*}/repos
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Name of the parent resource. |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of repositories to return. The service may return fewer than this value. |
pageToken |
A page token, received from a previous ListGitLabRepositoriesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
RPC response object returned by the repos.list RPC method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"gitlabRepositories": [
{
object ( |
Fields | |
---|---|
gitlabRepositories[] |
List of GitLab repositories |
nextPageToken |
A token that can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
GitLabRepository
Proto Representing a GitLabRepository
JSON representation |
---|
{
"name": string,
"displayName": string,
"description": string,
"browseUri": string,
"repositoryId": {
object ( |
Fields | |
---|---|
name |
The resource name of the repository |
displayName |
Display name of the repository |
description |
Description of the repository |
browseUri |
Link to the browse repo page on the GitLab instance |
repositoryId |
Identifier for a repository |