iam_identity_provider__list_roles
Lists role assignments for users, devices, groups, managed identities, and services, with filters for subject, subject type, and scopes to audit or review access.
Instructions
List roles - (GET /v2/role-assignments) - List [role]s of [subject]s.
Info: Not only Users are [subject]s, but anything that can have roles attached. For example, Devices.
Info: Modeled after List role assignments.
Might be filtered by the specified [subject] or [scope]s.
If the filters are left empty, all the roles availa
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional server-side projection: return only these keys for each list-item in the response. Reduces token usage on large list endpoints. Example: ['uuid','displayName']. Top-level fields (e.g. nextPageToken) are always preserved. Not forwarded to ESET - applied locally after fetch. | |
| orderBy | No | Comma-separated list of fields (from the request resource). Allowed formats are: - [snake_case version of the field name](https://developers.google.com/protocol-buffers/docs/style#message_and_field_names) as used by protocol buffers. - [JSON version of the field name](https://developers.google.com/protocol-buffers/docs/proto3#json) The syntax is described at [Standard Methods: List Ordering](https://google.aip.dev/132#ordering) | |
| pageSize | No | Limit for pagination purposes. If unspecified or 0, the default value is 50. The maximum value is 1000; values above 1000 will be coerced to 1000. > **Info:** > For more information, refer to [Paginating Requests in APIs](https://medium.com/@ignaciochiazzo/paginating-requests-in-apis-d4883d4c1c4c) > > or [Design Patterns: Pagination](https://google.aip.dev/158) | |
| pageToken | No | Page token of the current page. If not given or "", the first page is returned. > **Info:** > For more information, refer to [Paginating Requests in APIs](https://medium.com/@ignaciochiazzo/paginating-requests-in-apis-d4883d4c1c4c) > > or [Design Patterns: Pagination](https://google.aip.dev/158) | |
| subjectType | No | Type of the subject in reference. - SUBJECT_TYPE_UNSPECIFIED: fallback - SUBJECT_TYPE_USER: Subject represents a [user]. - SUBJECT_TYPE_DEVICE: Subject represents a [device]. - SUBJECT_TYPE_USER_GROUP: Roles can be assigned to a user group. Then, the roles are inferred from the groups of the authenticated user. - SUBJECT_TYPE_MANAGED_IDENTITY: The subject has a managed identity. Managed identities are used by the API clients to access services. - SUBJECT_TYPE_SERVICE: The subject represents a [service]. | SUBJECT_TYPE_UNSPECIFIED |
| subjectReference | No | Return only roles of the [subject](https://pages.nist.gov/800-63-3/sp800-63-3.html#subject) Reference can be the User UUID, EPC instance UUID, or whatever identifies the subject. If omitted, all the subjects (accessible to the caller) are returned. > **Info:** > `sub` claim can be used: > [JSON Web Token Claims](https://auth0.com/docs/secure/tokens/json-web-tokens/json-web-token-claims#reserved-claims) > > Identical to the `principal` concept from the Microsoft literature: [Security principals](https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/security-principals) | |
| includeNestedScopes | No | Scopes can be nested, and some scopes naturally exist within the boundaries of another scope. If true, besides the requested scopes, nested scopes are also included in the response. |