创建glcoud存储存储桶时无法指定存储桶的位置

我想,下面的代码将在美国西部地区构建一个存储桶,但在我的google控制台上,该地区被列为多地区。

from google.cloud import storage

storage_client = storage.Client()
bucket = storage_client.create_bucket(bucket_name)
bucket.location = 'us-west2-a'

转载请注明出处:http://www.tianshuzhineng.com/article/20230526/1816093.html