A developer attempts to associate a Google Cloud project with an existing corporate Cloud Billing account using the gcloud command line interface, but receives a permission denied error referencing the billing account resource. Following the principle of least privilege, which predefined IAM role must be granted to the developer on the Cloud Billing account to allow project linking?
- Billing Account User (roles/billing.user)Answer
- BBilling Account Administrator (roles/billing.admin)
- CProject Billing Manager (roles/resourcemanager.projectBillingManager)
- DBilling Account Viewer (roles/billing.viewer)
Answer
Billing Account User (roles/billing.user)
The Billing Account User role (`roles/billing.user`) provides the precise permission required to associate projects with a Cloud Billing account while preventing unauthorized administrative changes to billing settings.
Step-by-Step Solution
Key Concept
Configuring Billing Accounts and Linking Projects
Estimated Time:45s