# ListRolesResponse

- [JSON representation](https://docs.cloud.google.com/iam/docs/reference/rest/v1/ListRolesResponse#SCHEMA_REPRESENTATION)

The response containing the roles defined under a resource.

| JSON representation |
|---|
| ``` { "roles": [ { object (`https://docs.cloud.google.com/iam/docs/reference/rest/v1/organizations.roles#Role`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `roles[]` | ``object (`https://docs.cloud.google.com/iam/docs/reference/rest/v1/organizations.roles#Role`)`` The Roles defined on this resource. |
| `nextPageToken` | `string` To retrieve the next page of results, set `ListRolesRequest.page_token` to this value. |