Title: StorageOptions.getService() javaDoc could be clearer · Issue #2115 · googleapis/google-cloud-java · GitHub
Open Graph Title: StorageOptions.getService() javaDoc could be clearer · Issue #2115 · googleapis/google-cloud-java
X Title: StorageOptions.getService() javaDoc could be clearer · Issue #2115 · googleapis/google-cloud-java
Description: A customer has asked: Storage storage = StorageOptions.getDefaultInstance().getService(); from storage quickstart getService() is not defined. Having looked at the JavaDocs, it could say that it returns a Service object for the current s...
Open Graph Description: A customer has asked: Storage storage = StorageOptions.getDefaultInstance().getService(); from storage quickstart getService() is not defined. Having looked at the JavaDocs, it could say that it re...
X Description: A customer has asked: Storage storage = StorageOptions.getDefaultInstance().getService(); from storage quickstart getService() is not defined. Having looked at the JavaDocs, it could say that it re...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/2115
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"StorageOptions.getService() javaDoc could be clearer","articleBody":"A customer has asked:\r\n`Storage storage = StorageOptions.getDefaultInstance().getService();` from [storage quickstart](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/storage/cloud-client/src/main/java/com/example/storage/QuickstartSample.java)\r\n\r\ngetService() is not defined.\r\n\r\nHaving looked at the JavaDocs, it could say that it returns a Service object for the current service, for example, if you are using Google Cloud Storage, it returns a `Storage` object. b/62208662","author":{"url":"https://github.com/lesv","@type":"Person","name":"lesv"},"datePublished":"2017-06-06T02:11:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2115/google-cloud-java/issues/2115"}
| 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:00feb924-902c-a76e-7fd5-b18aea8c7fe4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C410:38840C:5B876E:7C2022:6A4D407A |
| html-safe-nonce | fc46d99505b0ea6306575c25ff79cd24df2dff0f4d17f90d6458ae1c67c9e62d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDEwOjM4ODQwQzo1Qjg3NkU6N0MyMDIyOjZBNEQ0MDdBIiwidmlzaXRvcl9pZCI6IjMxMzk4MDY1MjE3ODI1MTc4ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e357e7f308c33ec0de306c36269af21b55e8b8f0acac7168a351ad4d49753610 |
| hovercard-subject-tag | issue:233760191 |
| 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-java/2115/issue_layout |
| twitter:image | https://opengraph.githubassets.com/432aab9cac1e33717ccc43da88f0a6a3e0778a7295c2d2c0bc5b2d92748e0df3/googleapis/google-cloud-java/issues/2115 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/432aab9cac1e33717ccc43da88f0a6a3e0778a7295c2d2c0bc5b2d92748e0df3/googleapis/google-cloud-java/issues/2115 |
| og:image:alt | A customer has asked: Storage storage = StorageOptions.getDefaultInstance().getService(); from storage quickstart getService() is not defined. Having looked at the JavaDocs, it could say that it re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lesv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 26181278 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26181278 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-java |
| 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 | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width