Method: projects.locations.connections.list

Lists Connections in a parent. Use connections.search to see all connections within an organization.

HTTP request


GET https://dlp.googleapis.com/v2/{parent=projects/*/locations/*}/connections

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource name of the organization or project, for example, organizations/433245324/locations/europe or projects/project-id/locations/asia.

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

  • dlp.connections.list

Query parameters

Parameters
pageSize

integer

Optional. Number of results per page, max 1000.

pageToken

string

Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.

filter

string

Optional. Supported field/value: state - MISSING|AVAILABLE|ERROR

The syntax is based on https://google.aip.dev/160.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListConnectionsResponse.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.