Method: projects.locations.oauthClients.list

Lists all non-deleted OauthClients in a project. If showDeleted is set to true, then deleted OauthClients are also listed.

HTTP request

GET https://iam.googleapis.com/v1/{parent=projects/*/locations/*}/oauthClients

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent to list OauthClients for.

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of OauthClients to return. If unspecified, at most 50 OauthClients will be returned. The maximum value is 100; values above 100 are truncated to 100.

pageToken

string

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

showDeleted

boolean

Optional. Whether to return soft-deleted OauthClients.

Request body

The request body must be empty.

Response body

Response message for oauthClients.list.

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

JSON representation
{
  "oauthClients": [
    {
      object (OauthClient)
    }
  ],
  "nextPageToken": string
}
Fields
oauthClients[]

object (OauthClient)

A list of OauthClients.

nextPageToken

string

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.