- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- GroupStateView
- GroupState
- Group
List service groups owned by the given service.
HTTP request
GET https://serviceusage.googleapis.com/v2beta/{parent=*/*/services/*}/groups
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent service state that exposes the group states. |
Query parameters
| Parameters | |
|---|---|
pageSize |
The maximum number of groups to return. The service may return fewer than this value. If unspecified, at most 50 groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
A page token, received from a previous When paginating, all other parameters provided to |
view |
The view of the group state to use. |
Request body
The request body must be empty.
Response body
The response message of the groups.list method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"groups": [
{
object ( |
| Fields | |
|---|---|
groups[] |
The group states exposed by the parent service. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform.read-onlyhttps://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
GroupStateView
The view of the group state.
| Enums | |
|---|---|
GROUP_STATE_VIEW_UNSPECIFIED |
The default / unset value. The API will default to the BASIC view. |
GROUP_STATE_VIEW_BASIC |
The basic view includes only the group metadata, it does not include information about the current state of the group. This is the default value. |
GROUP_STATE_VIEW_FULL |
Include everything. |
GroupState
Information about the state of a group with respect to a consumer resource.
| JSON representation |
|---|
{
"name": string,
"group": {
object ( |
| Fields | |
|---|---|
name |
Output only. The resource name of the group state. |
group |
Output only. The group referenced by this state. |
Group
Information about the group.
| JSON representation |
|---|
{ "name": string, "displayName": string, "description": string } |
| Fields | |
|---|---|
name |
The resource name of the group. |
displayName |
The display name of the group. |
description |
The detailed description of the group. |