Feature Request: Add location parameter to TagBinding API in Python SDK #13735
Labels
triage me
I really want to be triaged.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Uh oh!
There was an error while loading. Please reload this page.
Determine this is the right repository
Summary of the feature request
Feature Request
The
google.cloud.resourcemanager_v3.TagBinding
API does not support specifyinglocation
, which is required when tagging regional resources (e.g., Cloud Storage buckets).Problem
gcloud
CLI allows specifying--location
, which is mandatory for tagging buckets."Must be a valid One Platform resource name of a tag-compatible global resource."
Example of Working
gcloud
Command:API client name and version
From Python SDK:
google.cloud.resourcemanager_v3
Use case
Applying and listing existing tags to GCS buckets via the Python SDK
Proposed Fix
Add a location parameter to TagBinding in google.cloud.resourcemanager_v3.types
Update create_tag_binding() to accept and pass location to the API.
This change would align the Python SDK with the gcloud CLI and unblock regional tagging.
The text was updated successfully, but these errors were encountered: