Title: Make Operation.targetId of ResourceId type · Issue #792 · googleapis/google-cloud-java · GitHub
Open Graph Title: Make Operation.targetId of ResourceId type · Issue #792 · googleapis/google-cloud-java
X Title: Make Operation.targetId of ResourceId type · Issue #792 · googleapis/google-cloud-java
Description: Compute's operations have a targetId field that right now is of type String. As soon as we mapped all possible resource URLs to identity classes we should change targetId to ResourceId type. Operation class should become: public class Op...
Open Graph Description: Compute's operations have a targetId field that right now is of type String. As soon as we mapped all possible resource URLs to identity classes we should change targetId to ResourceId type. Operat...
X Description: Compute's operations have a targetId field that right now is of type String. As soon as we mapped all possible resource URLs to identity classes we should change targetId to ResourceId type. Op...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/792
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make Operation.targetId of ResourceId type","articleBody":"Compute's operations have a `targetId` field that right now is of type `String`.\nAs soon as we mapped all possible resource URLs to identity classes we should change `targetId` to `ResourceId` type. Operation class should become:\n\n``` java\npublic class Operation\u003cT extends ResourceId\u003e {\n // ...\n T targetId();\n // ...\n}\n```\n\nThis way all methods in `Compute` will return the corresponding operation, eg:\n\n``` java\nOperation\u003cSnapshotId\u003e createSnapshot(SnapshotInfo snapshot, OperationOption... options);\n```\n","author":{"url":"https://github.com/mziccard","@type":"Person","name":"mziccard"},"datePublished":"2016-03-25T23:17:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/792/google-cloud-java/issues/792"}
| 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:6b6de81f-4f88-e651-76a4-c91ebff3f4f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B1EA:34B1A9:26AEBB:38520C:6A4E0133 |
| html-safe-nonce | 4b33bae0eabe75662fd1d284010e6a07bedabc12cab1d64c6058897c4c249ad9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUVBOjM0QjFBOToyNkFFQkI6Mzg1MjBDOjZBNEUwMTMzIiwidmlzaXRvcl9pZCI6IjMzNzIyNTYwODIwNjM1MjY5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7ca63fdb387518c05077ab7a5d7eb9e20a18d5862ef241386414d0a5727ee889 |
| hovercard-subject-tag | issue:143624599 |
| 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/792/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0e031778ebfbd41802a40b7b3c24f0b22d33d701b9a53e3113773788efb9d4f6/googleapis/google-cloud-java/issues/792 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0e031778ebfbd41802a40b7b3c24f0b22d33d701b9a53e3113773788efb9d4f6/googleapis/google-cloud-java/issues/792 |
| og:image:alt | Compute's operations have a targetId field that right now is of type String. As soon as we mapped all possible resource URLs to identity classes we should change targetId to ResourceId type. Operat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mziccard |
| hostname | github.com |
| expected-hostname | github.com |
| None | df0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6 |
| 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 | 52bde38e24398476f8eb1e0760c81346c6a00812 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width