Title: Treat App Engine apps as a "first-class citizen" for gcloud.storage.acls ? · Issue #578 · googleapis/google-cloud-python · GitHub
Open Graph Title: Treat App Engine apps as a "first-class citizen" for gcloud.storage.acls ? · Issue #578 · googleapis/google-cloud-python
X Title: Treat App Engine apps as a "first-class citizen" for gcloud.storage.acls ? · Issue #578 · googleapis/google-cloud-python
Description: (This is in reference to https://cloud.google.com/storage/docs/object-change-notification#_Application_Example) In the example where you can set up notifications, I stumbled across the following command for gsutil: gsutil acl ch -u Appli...
Open Graph Description: (This is in reference to https://cloud.google.com/storage/docs/object-change-notification#_Application_Example) In the example where you can set up notifications, I stumbled across the following co...
X Description: (This is in reference to https://cloud.google.com/storage/docs/object-change-notification#_Application_Example) In the example where you can set up notifications, I stumbled across the following co...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/578
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Treat App Engine apps as a \"first-class citizen\" for gcloud.storage.acls ?","articleBody":"(This is in reference to https://cloud.google.com/storage/docs/object-change-notification#_Application_Example)\n\nIn the example where you can set up notifications, I stumbled across the following command for gsutil:\n\n`gsutil acl ch -u ApplicationId@appspot.gserviceaccount.com:FC gs://BucketName`\n\nIn this example, we're effectively saying \"Give ApplicationId (an AppEngine application) full control (FC) to the bucket called BucketName\".\n\nThis made me realize that we have \"users\" (which is what this uses), \"groups\", and \"domains\".. Can we add an `.app()` method (not married to that name... maybe `.appengine()`)? It would effectively be an alias for `.user()` but appends \"@appspot.gserviceaccount.com\". This way, my code would look like:\n\n``` python\nbucket = get_bucket(...)\nbucket.acl.app('my-appengine-app').grant_read()\n```\n\nCurrently we have to do...\n\n``` python\nbucket = get_bucket(...)\nbucket.acl.app('my-appengine-app@appspot.gserviceaccount.com').grant_read()\n```\n\nand we have to know that magical suffix (which I don't think is really well documented).\n\nThoughts?\n","author":{"url":"https://github.com/jgeewax","@type":"Person","name":"jgeewax"},"datePublished":"2015-01-30T18:16:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/578/google-cloud-python/issues/578"}
| 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:7ca913ef-cc99-43e1-36e2-a16af3ad9e69 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BF0:C8AE2:290B0B2:388F1D6:6A4EFC6E |
| html-safe-nonce | c750cf7bf3a95bd1aa714ae08749f2770faad56e2202d070270ad906261d1729 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkYwOkM4QUUyOjI5MEIwQjI6Mzg4RjFENjo2QTRFRkM2RSIsInZpc2l0b3JfaWQiOiI5MDk5MDc3NjY5MzY2OTg3ODg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 12fd83a7c5a6f4ded6d0ab5b48b6963b5669ae95cf3d2813c9e7a7f27175d752 |
| hovercard-subject-tag | issue:56066088 |
| 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/578/issue_layout |
| twitter:image | https://opengraph.githubassets.com/219744632e5f20386f53bc9b1ce75d5c8898a8b10b5115dad06f1a1bdaf46eda/googleapis/google-cloud-python/issues/578 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/219744632e5f20386f53bc9b1ce75d5c8898a8b10b5115dad06f1a1bdaf46eda/googleapis/google-cloud-python/issues/578 |
| og:image:alt | (This is in reference to https://cloud.google.com/storage/docs/object-change-notification#_Application_Example) In the example where you can set up notifications, I stumbled across the following co... |
| 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 | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width