View the region to which a bucket belongs
Updated at:2025-11-03
Bucket Location refers to Bucket Region. For details on regions supported by Baidu AI Cloud, refer to [Region Selection Guide](Reference/Region Selection Instructions/Region.md) 。
The following code can retrieve the bucket's location information:
Ruby
1client.get_bucket_location(bucket_name)
