Complete the code to specify the role ID when creating a custom role in GCP.
gcloud iam roles create [1] --project=my-project --title="Custom Role" --permissions=storage.buckets.list
The gcloud iam roles create command requires a simple role ID without the prefix roles/.
Complete the code to add permissions when creating a custom role using gcloud.
gcloud iam roles create customRole2 --project=my-project --title="Custom Role 2" --permissions=[1]
Permissions must be provided as a comma-separated list without spaces or brackets.
Fix the error in the command to update a custom role's title.
gcloud iam roles update customRole3 --project=my-project --[1]="Updated Role Title"
The --title flag updates the display title of the custom role.
Fill both blanks to create a custom role with a description and stage set to GA.
gcloud iam roles create customRole4 --project=my-project --title="Custom Role 4" --description=[1] --stage=[2] --permissions=storage.buckets.list
The description should be a quoted string. The stage GA means General Availability.
Fill all three blanks to list all custom roles in a project with a filter for stage GA.
gcloud iam roles list --project=[1] --filter="stage:[2]" --format=[3]
Use the project ID, filter by stage GA, and format output as JSON for easy reading.