GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bucket location is not supported · Issue #1575 · googleapis/google-cloud-python

bucket location is not supported  #1575

New issue
Copy link
New issue
Copy link
Closed
Closed
bucket location is not supported #1575
Copy link
Assignees
tseaver
Labels
api: storageIssues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@basvandenbroek
basvandenbroek
opened on Mar 5, 2016
Issue body actions

Setting the location when creating a new bucket doesn't work:

#!/usr/bin/env python3
from gcloud import storage    
client = storage.Client(project='foo')
bucket = Bucket(client=client, name="bar")
bucket.location = "EU"
bucket.create()

The bucket is always created with the default US location .
Patching the properties before creating the bucket doesn't work either:

bucket._patch_property('LocationConstraint', "EU")

Activity

  1. tseaver commented on Mar 7, 2016

    @tseaver
    tseaver
    on Mar 7, 2016
    Contributor
    More actions

    Thanks for the report! I checked, and none of the user-settable properties were being passed through to the 'bucket.create' API. #1579 should address the issue.

  2. dhermes commented on Mar 8, 2016

    @dhermes
    dhermes
    on Mar 8, 2016
    Contributor
    More actions

    D'oh! Nice find @tseaver

  3. dhermes commented on Mar 8, 2016

    @dhermes
    dhermes
    on Mar 8, 2016
    Contributor
    More actions

    Thanks for filing @SebastianCodes too!

  4. dhermes
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    api: storageIssues related to the Cloud Storage API.
    on Mar 8, 2016
  5. tseaver
    closed this as completedin #1579on Mar 9, 2016
  6. JustinBeckwith
    assigned
    tseaver
    on Feb 1, 2021
  7. parthea
    added a commit that references this issue on Jul 6, 2023

    automl beta [(#1575)](GoogleCloudPlatform/python-docs-samples#1575)

    fd5355a
  8. parthea
    added 2 commits that reference this issue on Oct 21, 2023

    automl beta [(#1575)](GoogleCloudPlatform/python-docs-samples#1575)

    f2c5784

    automl beta [(#1575)](GoogleCloudPlatform/python-docs-samples#1575)

    040df4d
  9. parthea
    added 3 commits that reference this issue on Nov 24, 2025

    feat: freezes reserved names list. (#1575)

    5a0328d

    fix: add `exec` as a reserved word (#1673)

    37c98e1

    feat: Add support for asynchronous `AuthorizedSession` api (#1577)

    0d38ef8
  10. parthea
    added a commit that references this issue on Apr 1, 2026

    chore: setup branch policy for v1 (#1575)

    629394b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

api: storageIssues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.