Skip to content

Conversation

shobsi
Copy link
Contributor

@shobsi shobsi commented Mar 28, 2025

Example exception message after this change:

PermissionDenied: 403 Failed ensuring IAM binding (role=storage.objectUser, service-account=bqcx-12345-xyz@gcp-sa-bigquery-condel.iam.gserviceaccount.com). Permission 'resourcemanager.projects.setIamPolicy' denied on resource '//cloudresourcemanager.googleapis.com/projects/my-project' (or it may not exist). [reason: "IAM_PERMISSION_DENIED"
domain: "cloudresourcemanager.googleapis.com"
metadata {
  key: "resource"
  value: "projects/my-project"
}
metadata {
  key: "permission"
  value: "resourcemanager.projects.setIamPolicy"
}
]

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes internal issue 407070639 🦕

@shobsi shobsi requested a review from GarrettWu March 28, 2025 20:03
@shobsi shobsi requested review from a team as code owners March 28, 2025 20:03
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Mar 28, 2025
@shobsi shobsi merged commit 8c50755 into main Mar 29, 2025
24 checks passed
@shobsi shobsi deleted the shobs-iam-binding-msg branch March 29, 2025 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants