Title: docs: update_subscription and update_snapshot examples are wrong · Issue #110 · googleapis/python-pubsub · GitHub
Open Graph Title: docs: update_subscription and update_snapshot examples are wrong · Issue #110 · googleapis/python-pubsub
X Title: docs: update_subscription and update_snapshot examples are wrong · Issue #110 · googleapis/python-pubsub
Description: The example subscription object doesn't have a 'name' field. Same with update_snapshot.
Open Graph Description: The example subscription object doesn't have a 'name' field. Same with update_snapshot.
X Description: The example subscription object doesn't have a 'name' field. Same with update_snapshot.
Opengraph URL: https://github.com/googleapis/python-pubsub/issues/110
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"docs: update_subscription and update_snapshot examples are wrong","articleBody":"The [example](https://github.com/googleapis/python-pubsub/blob/cf9e87c80c0771f3fa6ef784a8d76cb760ad37ef/google/cloud/pubsub_v1/gapic/subscriber_client.py#L528) subscription object doesn't have a 'name' field. Same with [update_snapshot](https://github.com/googleapis/python-pubsub/blob/cf9e87c80c0771f3fa6ef784a8d76cb760ad37ef/google/cloud/pubsub_v1/gapic/subscriber_client.py#L1496).","author":{"url":"https://github.com/pradn","@type":"Person","name":"pradn"},"datePublished":"2020-05-29T21:13:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/110/python-pubsub/issues/110"}
| 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:d5ecada0-e73f-4a34-6422-ad30c4899639 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFA8:2B4DA:D0AFD2:11F2AAD:6A4DCC5A |
| html-safe-nonce | f02c20e1773752648041f76e0b2a4bfc9f779faacde1c894a2d3b32118c93798 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkE4OjJCNERBOkQwQUZEMjoxMUYyQUFEOjZBNERDQzVBIiwidmlzaXRvcl9pZCI6IjgwOTIyMjU1NDU3NzU3Mjk3NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 40dadcb8f0d8033208c411a56bb2d30f3851cf81284698adad15e1dafd5b5a80 |
| hovercard-subject-tag | issue:627541319 |
| 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/python-pubsub/110/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4e618c122625278481c0d0f8b71556de0af7a125b9b42704385711e94a08ac17/googleapis/python-pubsub/issues/110 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4e618c122625278481c0d0f8b71556de0af7a125b9b42704385711e94a08ac17/googleapis/python-pubsub/issues/110 |
| og:image:alt | The example subscription object doesn't have a 'name' field. Same with update_snapshot. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pradn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-pubsub git https://github.com/googleapis/python-pubsub.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992581 |
| octolytics-dimension-repository_nwo | googleapis/python-pubsub |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992581 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-pubsub |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width