Complete the command to start the Policy Troubleshooter for a specific resource.
gcloud policy-troubleshooter iam troubleshoot [1]The correct flag to specify the resource name in the Policy Troubleshooter command is --resource-name.
Complete the command to specify the permission to troubleshoot in Policy Troubleshooter.
gcloud policy-troubleshooter iam troubleshoot --resource-name=my-resource [1] storage.buckets.getThe --permission flag is used to specify the permission to check in the Policy Troubleshooter.
Fix the error in the command to troubleshoot IAM policy for a user.
gcloud policy-troubleshooter iam troubleshoot --resource-name=my-resource --permission=storage.buckets.get --principal=[1]The principal must be specified with the prefix user: followed by the email address.
Fill both blanks to troubleshoot IAM policy for a service account and specify the permission.
gcloud policy-troubleshooter iam troubleshoot --resource-name=my-resource --principal=[1] --permission=[2]
The principal is a service account with the correct prefix, and the permission is a valid storage permission.
Fill all three blanks to troubleshoot IAM policy for a user, specify the resource, and the permission.
gcloud policy-troubleshooter iam troubleshoot [1] --principal=[2] --permission=[3]
The resource is specified with --resource-name, the principal is a user with the correct prefix, and the permission is a valid storage permission.