Title: Should we make Project a real thing in gcloud? Particular for gcloud.storage? · Issue #613 · googleapis/google-cloud-python · GitHub
Open Graph Title: Should we make Project a real thing in gcloud? Particular for gcloud.storage? · Issue #613 · googleapis/google-cloud-python
X Title: Should we make Project a real thing in gcloud? Particular for gcloud.storage? · Issue #613 · googleapis/google-cloud-python
Description: 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 "transform...
Open Graph Description: 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 th...
X Description: 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 th...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/613
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Should we make Project a real thing in gcloud? Particular for gcloud.storage?","articleBody":"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.\n\nHowever, if you think about it, now that we're planning to push the \"transformation\" (from Python objects -\u003e 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.\n\nDo 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()` ?\n\nThis 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...?\n\nI 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\".\n\n/cc @dhermes \n","author":{"url":"https://github.com/jgeewax","@type":"Person","name":"jgeewax"},"datePublished":"2015-02-10T12:48:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/613/google-cloud-python/issues/613"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:660c0b36-4610-2818-e188-1b699ee3ae6e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B156:331610:162B81C:1EAD75C:6A4DF262 |
| html-safe-nonce | d1dae85fef965cda5b225dd9be4091d318eb144a7768efe7d29393ddc4544674 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTU2OjMzMTYxMDoxNjJCODFDOjFFQUQ3NUM6NkE0REYyNjIiLCJ2aXNpdG9yX2lkIjoiMjg0Nzg1MTUwNzA0MjA4NzUyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b7c1413348d6736b176ec2381d387bf9c2a0f48d5d95d6a2c8a34fa0b9da0d72 |
| hovercard-subject-tag | issue:57170303 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/613/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0f8764d8336bf81a9e2face4937c83b210baa2fd92a8d722473fdde235e5134f/googleapis/google-cloud-python/issues/613 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0f8764d8336bf81a9e2face4937c83b210baa2fd92a8d722473fdde235e5134f/googleapis/google-cloud-python/issues/613 |
| og:image:alt | 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 th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jgeewax |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f4bb89367ca678f057d79b1abc45d6675b1bd5b2 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width