list_roles
List predefined or custom IAM roles for Google Cloud projects. Specify a project ID to retrieve custom roles, or omit it to see predefined roles.
Instructions
List IAM roles (predefined or custom).
Args:
project_id: Optional project ID for listing custom roles. If not provided, lists predefined roles.
Returns:
List of IAM roles
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No |