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 — Should we make Project a real thing in gcloud? Particular for gcloud.storage? · Issue #613 · googleapis/google-cloud-python

Should we make Project a real thing in gcloud? Particular for gcloud.storage? #613

New issue
Copy link
New issue
Copy link
Closed
Closed
Should we make Project a real thing in gcloud? Particular for gcloud.storage?#613
Copy link
Assignees
tseaver
Labels
api: coreauthtype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.type: questionRequest for information or clarification. Not an issue.

Description

@jgeewax
jgeewax
opened on Feb 10, 2015
Issue body actions

Our discussions in the past have said that we want Connection to remain stateless and really just handle sending data over the wire as well as authentication.

However, if you think about it, now that we're planning to push the "transformation" (from Python objects -> JSON) down to Buckets, Blobs, and ACLs, the connection object isn't really just doing transport, it's also representing a connection to a specific project.

Do you guys think it's worthwhile to make "project" a first-class citizen so that it makes more sense to do things like project.get_all_buckets() ?

This leads to a question of "what is the relationship with connections and projects? We could have a one-to-one between them (where what you really do is instantiate a project and under the hood it instantiates a connection which handles auth, etc). Or we could have a singleton connection that all the projects use with their own set of credentials...?

I am +0 on doing this kind of thing, and only just thought of it now given we need a "clean" place to put get_all_buckets() -- so feel free to close out as "stfu, that's dumb".

/cc @dhermes

Activity

  1. jgeewax
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    type: questionRequest for information or clarification. Not an issue.
    api: core
    auth
    on Feb 10, 2015
  2. jgeewax
    added this to the This milestone has been deleted milestone on Feb 10, 2015
  3. tseaver commented on Feb 11, 2015

    @tseaver
    tseaver
    on Feb 11, 2015
    Contributor
    More actions

    The only bit of storage.Connection that relies directly on self.project is build_api_url, but that method is the core of everything else the connection does. I can't see us usefully breaking out a Project object: I don't think there would be anything left of 'Connection'.

  4. jgeewax commented on Feb 11, 2015

    @jgeewax
    jgeewax
    on Feb 11, 2015
    ContributorAuthor
    More actions

    OK - so what I'm hearing is: there really isn't a need. Is that right?

  5. dhermes commented on Feb 11, 2015

    @dhermes
    dhermes
    on Feb 11, 2015
    Contributor
    More actions

    Ditto what @tseaver says

  6. tseaver commented on Feb 11, 2015

    @tseaver
    tseaver
    on Feb 11, 2015
    Contributor
    More actions

    Sounds like consensus to me.

  7. tseaver
    closed this as completedon Feb 11, 2015
  8. JustinBeckwith
    assigned
    tseaver
    on Feb 1, 2021
  9. vchudnov-g
    added a commit that references this issue on Sep 20, 2023

    chore(deps): update dependency google-cloud-dialogflow to v2.19.1 (#613)

    bb9d18d
  10. parthea
    added a commit that references this issue on Aug 21, 2025

    chore(main): release 2.22.0 (#613)

    874afe6
  11. parthea
    added a commit that references this issue on Sep 16, 2025

    chore(main): release 2.22.0 (#613)

    f00e238
  12. parthea
    added 5 commits that reference this issue on Nov 22, 2025

    chore(python): fix prerelease session [autoapprove] (#613)

    bb09bee

    fix: remove 'property' from reserved names (#613)

    804861b

    fix: require python 3.7+ (#613)

    98e750b

    fix: replicate legacy behavior for using cache with queries (#613)

    b950639

    fix: Query options were not respecting use_cache (#873)

    cd66142
  13. parthea
    added 4 commits that reference this issue on Mar 6, 2026

    feat: add type hints for public methods (#613)

    1bb524e

    chore: release 2.14.0 (#602)

    74972cd

    feat: move migrations test modules to run against different emulator (#…

    a7331b8

    build: use trampoline_v2 for python samples and allow custom dockerfi…

    cc0740f
  14. parthea
    added a commit that references this issue on Sep 8, 2026

    docs: migrate code from googleapis/python-bigquery (#18303)

    23f9a74
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: coreauthtype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.type: questionRequest for information or clarification. Not an issue.

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.