Lists the Group
resources under a customer or namespace.
HTTP request
GET https://cloudidentity.googleapis.com/v1/groups
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
parent |
Required. The parent resource under which to list all Must be of the form |
view |
The level of detail to be returned. If unspecified, defaults to |
pageSize |
The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue calling this method repeatedly until the response no longer contains a If unspecified, defaults to 200 for Must not be greater than 1000 for |
pageToken |
The |
Request body
The request body must be empty.
Response body
Response message for groups.list operation.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"groups": [
{
object ( |
Fields | |
---|---|
groups[] |
Groups returned in response to list request. The results are not sorted. |
nextPageToken |
Token to retrieve the next page of results, or empty if there are no more results available for listing. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-identity.groups.readonly
https://www.googleapis.com/auth/cloud-identity.groups
https://www.googleapis.com/auth/cloud-identity
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.