GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Make pubsub.topic.publish()'s first example dead-simple. · Issue #670 · googleapis/google-cloud-node

Make pubsub.topic.publish()'s first example dead-simple. #670

New issue
Copy link
New issue
Copy link
Closed
Closed
Make pubsub.topic.publish()'s first example dead-simple.#670
Copy link
Assignees
stephenplusplus
Labels
api: pubsubIssues related to the Pub/Sub API.

Description

@jgeewax
jgeewax
opened on Jun 17, 2015
Issue body actions

Right now, the publish method has a long JSON object to publish, showing everything under the sun. Could we make the first example be super simple publishing a hello-world type message?

topic.publish({data: 'Hello world!'}, function(err, messageIds, apiResponse) {});

Activity

  1. jgeewax
    added
    enhancement
    docs
    api: pubsubIssues related to the Pub/Sub API.
    on Jun 17, 2015
  2. stephenplusplus
    closed this as completedin #684on Jun 22, 2015
  3. JustinBeckwith
    assigned
    stephenplusplus
    on Feb 1, 2021
  4. sofisl
    added 2 commits that reference this issue on Oct 11, 2022

    chore(deps): update dependency jsdoc-fresh to v2 (#670)

    100a407

    chore(deps): update dependency jsdoc-fresh to v2 (#670)

    3f9ef22
  5. sofisl
    added 2 commits that reference this issue on Jan 24, 2023

    chore: release 4.1.4 (#670)

    6f38709

    chore: release 4.1.4 (#670)

    2094638
  6. miguelvelezsa
    added a commit that references this issue on Jul 23, 2025

    test: skip pubsub system tests (#670)

    2cccf3a
  7. miguelvelezsa
    added 2 commits that reference this issue on Jan 14, 2026

    feat: Add support for instrumentation version annotations (#670)

    f482aba

    feat: Add support for instrumentation version annotations (#670)

    61dd271
  8. sofisl
    added 2 commits that reference this issue on Feb 3, 2026

    chore(deps): update dependency gts to v2 (#670)

    0f2148a

    feat: Add support for instrumentation version annotations (#670)

    252f38b
  9. sofisl
    added 3 commits that reference this issue on Feb 24, 2026

    Release @google-cloud/firestore v2.1.1 (#670)

    8aaed7d

    chore(deps): update dependency nyc to v14 (#670)

    374f1ac

    chore: release 4.0.1 (#670)

    369f982
  10. GautamSharda
    added 2 commits that reference this issue on Mar 11, 2026

    fix(docs): reference docs should link to section of googleapis.dev wi…

    205d1e4

    chore(nodejs): use cloud-rad publication process (#1112) (#670)

    00b6cba
  11. sofisl
    added a commit that references this issue on Mar 17, 2026

    chore: update owlbot.py to fix issue mechanism (#670)

    06b4b71
  12. thiyaguk09
    added a commit that references this issue on Mar 18, 2026

    chore(deps): update dependency nyc to v14 (googleapis#670)

    9c6df66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @stephenplusplus
    stephenplusplus

Labels

api: pubsubIssues related to the Pub/Sub API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.