Method: projects.locations.repositories.list

Lists Repositories in a given project and location.

HTTP request

GET https://dataform.googleapis.com/v1beta1/{parent=projects/*/locations/*}/repositories

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The location in which to list repositories. Must be in the format projects/*/locations/*.

Authorization requires the following IAM permission on the specified resource parent:

  • dataform.repositories.list

Query parameters

Parameters
pageSize

integer

Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

pageToken

string

Optional. Page token received from a previous repositories.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to repositories.list, with the exception of pageSize, must match the call that provided the page token.

orderBy

string

Optional. This field only supports ordering by name. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the name field.

filter

string

Optional. Filter for the returned list.

Request body

The request body must be empty.

Response body

repositories.list response message.

If successful, the response body contains data with the following structure:

JSON representation
{
  "repositories": [
    {
      object (Repository)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
repositories[]

object (Repository)

List of repositories.

nextPageToken

string

A token which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

unreachable[]

string

Locations which could not be reached.

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 parent resource:

  • dataform.repositories.list

For more information, see the IAM documentation.