Title: Provide a .buildStorageService() method on the StorageServiceOptions class? · Issue #54 · googleapis/google-cloud-java · GitHub
Open Graph Title: Provide a .buildStorageService() method on the StorageServiceOptions class? · Issue #54 · googleapis/google-cloud-java
X Title: Provide a .buildStorageService() method on the StorageServiceOptions class? · Issue #54 · googleapis/google-cloud-java
Description: Right now, to create a StorageService object, I need to do: StorageServiceOptions options = StorageServiceOptions.builder() .projectId("project") .build(); StorageService storage = StorageServiceFactory.instance().get(options); Would it ...
Open Graph Description: Right now, to create a StorageService object, I need to do: StorageServiceOptions options = StorageServiceOptions.builder() .projectId("project") .build(); StorageService storage = StorageServiceFa...
X Description: Right now, to create a StorageService object, I need to do: StorageServiceOptions options = StorageServiceOptions.builder() .projectId("project") .build(); StorageService storage = Storag...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/54
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provide a .buildStorageService() method on the StorageServiceOptions class?","articleBody":"Right now, to create a `StorageService` object, I need to do:\n\n``` java\nStorageServiceOptions options = StorageServiceOptions.builder()\n .projectId(\"project\")\n .build();\nStorageService storage = StorageServiceFactory.instance().get(options);\n```\n\nWould it be worthwhile to do this as\n\n``` java\nStorageService storage = StorageServiceOptions.builder()\n .projectId(\"project\")\n .build().buildStorageService();\n```\n\nOr maybe we can have a `StorageServiceBuilder`?\n\n``` java\nStorageService storage = StorageService.builder()\n .projectId(\"project\")\n .build();\n```\n","author":{"url":"https://github.com/jgeewax","@type":"Person","name":"jgeewax"},"datePublished":"2015-05-12T16:34:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/54/google-cloud-java/issues/54"}
| 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:35dc400b-4736-276d-2b32-1a0adbc22d80 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D594:3C1583:E56FD2:EAEF34:6A4DC4FD |
| html-safe-nonce | 4ce7b77910ca92db60d351437051cffd8eb967a9201609774afb25935c349cdb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTk0OjNDMTU4MzpFNTZGRDI6RUFFRjM0OjZBNERDNEZEIiwidmlzaXRvcl9pZCI6IjU5MTAxNzkwMjg5Mjk0NjM1NDkiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | 73f318b3e5aa2572c6e5b09fee47b9bb41967a2344828cb4720b1b6e12c98184 |
| hovercard-subject-tag | issue:75661128 |
| 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/54/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df91b80a9908adf12fd46f4898bbb31efbf8018cdf92c374d284ca5a947c5b8b/googleapis/google-cloud-java/issues/54 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df91b80a9908adf12fd46f4898bbb31efbf8018cdf92c374d284ca5a947c5b8b/googleapis/google-cloud-java/issues/54 |
| og:image:alt | Right now, to create a StorageService object, I need to do: StorageServiceOptions options = StorageServiceOptions.builder() .projectId("project") .build(); StorageService storage = StorageServiceFa... |
| 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 | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width