Method: projects.iap_tunnel.locations.destGroups.list

Lists the existing TunnelDestGroups. To group across all locations, use a - as the location ID. For example: /v1/projects/123/iap_tunnel/locations/-/destGroups

HTTP request

GET https://iap.googleapis.com/v1/{parent=projects/*/iap_tunnel/locations/*}/destGroups

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Google Cloud Project ID and location. In the following format: projects/{projectNumber/id}/iap_tunnel/locations/{location}. A - can be used for the location to group across all locations.

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

  • iap.tunnelDestGroups.list

Query parameters

Parameters
pageSize

integer

The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 100 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

pageToken

string

A page token, received from a previous destGroups.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to destGroups.list must match the call that provided the page token.

Request body

The request body must be empty.

Response body

The response from destGroups.list.

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

JSON representation
{
  "tunnelDestGroups": [
    {
      object (TunnelDestGroup)
    }
  ],
  "nextPageToken": string
}
Fields
tunnelDestGroups[]

object (TunnelDestGroup)

TunnelDestGroup existing in the project.

nextPageToken

string

A token that you can send as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

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:

  • iap.tunnelDestGroups.list

For more information, see the IAM documentation.