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 — Update pubsub.Subscription.ack()'s docstring to say the ID is explicitly an ackId · Issue #518 · googleapis/google-cloud-node

Update pubsub.Subscription.ack()'s docstring to say the ID is explicitly an ackId #518

New issue
Copy link
New issue
Copy link
Closed
#520
Closed
Update pubsub.Subscription.ack()'s docstring to say the ID is explicitly an ackId#518
#520
Copy link
Assignees
stephenplusplus
Labels
api: pubsubIssues related to the Pub/Sub API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
Milestone
Pub/Sub Beta

Description

@jgeewax
jgeewax
opened on May 1, 2015
Issue body actions

@pierre-b wrote in #487:

Could you please update the doc, the message.id should be message.ackId https://googlecloudplatform.github.io/gcloud-node/#/docs/v0.13.2/pubsub/subscription?method=ack

At first I thought we had this right, but it seems like the messageId might not be the same as the ackId (see RecievedMessage which says "ackId: This ID can be used to acknowledge the received message.")

Note: I still think we should call the parameter "ids", but that we should update the docstring.

On https://github.com/GoogleCloudPlatform/gcloud-node/blob/686fe62e7103f80dc053417e08c13abfc501f67f/lib/pubsub/subscription.js#L250

s/message IDs/message ackIds/

Activity

Next
  1. jgeewax
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    docs
    api: pubsubIssues related to the Pub/Sub API.
    on May 1, 2015
  2. jgeewax
    added this to the Pub/Sub Beta milestone on May 1, 2015
  3. ryanseys commented on May 1, 2015

    @ryanseys
    ryanseys
    on May 1, 2015
    Contributor
    More actions

    Simple enough. I will change this today.

  4. jgeewax commented on May 1, 2015

    @jgeewax
    jgeewax
    on May 1, 2015
    ContributorAuthor
    More actions

    Style I was thinking was @param {string|string[]} ids - A single or multiple message acknowledgement IDs. but feel free to write whatever.

    Just want to make it clear that a Message itself doesn't have an ID we care about. Instead a ReceivedMessage has an acknowledgement ID (ackId) which you pass around.

  5. ryanseys commented on May 1, 2015

    @ryanseys
    ryanseys
    on May 1, 2015
    Contributor
    More actions

    Yeah I'll come up with something. I understand the confusion.

  6. stephenplusplus
    closed this as completedin #520on May 4, 2015
  7. JustinBeckwith
    assigned
    stephenplusplus
    on Feb 1, 2021
  8. sofisl
    added 2 commits that reference this issue on Oct 11, 2022

    build: only check --engine-strict for production deps (#518)

    8608075

    build: only check --engine-strict for production deps (#518)

    9652d44
  9. sofisl
    added 4 commits that reference this issue on Nov 11, 2022

    build: adds UNORDERED_LIST enum (#518)

    771cbb2

    test: modernize mocha config (#518)

    84aa666

    chore: add api_shortname and library_type to repo metadata (#518)

    9921c08

    fix(disks): attach default disk first if needed (#551)

    b30e33e
  10. 10 remaining items

  11. sofisl
    added a commit that references this issue on Feb 3, 2026

    fix(types): update to the latest discovery types (#518)

    830cbee
  12. GautamSharda
    added a commit that references this issue on Feb 3, 2026

    chore: update CODEOWNERS (#518)

    4f9b5f0
  13. sofisl
    added a commit that references this issue on Feb 5, 2026

    fix(deps): bump google-gax to 1.7.5 (#518)

    3985ed5
  14. GautamSharda
    added a commit that references this issue on Feb 5, 2026

    build(node_library): migrate to Trampoline V2 (#518)

    e85bf0d
  15. sofisl
    added a commit that references this issue on Feb 17, 2026

    fix(deps): bump google-gax to 1.7.5 (#518)

    72eddbc
  16. GautamSharda
    added a commit that references this issue on Feb 23, 2026

    build(node_library): migrate to Trampoline V2 (#518)

    177339c
  17. sofisl
    added 2 commits that reference this issue on Feb 24, 2026

    fix(deps): update dependency google-gax to ^0.23.0 (#518)

    79a3e52

    fix(ts): Update bucket options types (#518)

    bba9f56
  18. GautamSharda
    added a commit that references this issue on Feb 26, 2026

    build(node_library): migrate to Trampoline V2 (#518)

    a003d74
  19. GautamSharda
    added a commit that references this issue on Mar 12, 2026

    chore: release 2.2.6 (#518)

    d88df83
  20. thiyaguk09
    added a commit that references this issue on Mar 18, 2026

    fix(ts): Update bucket options types (googleapis#518)

    82790dc
  21. GautamSharda
    added 2 commits that reference this issue on Mar 23, 2026

    docs: use the jsdoc-fresh theme (#518)

    6eb6866

    docs: use the jsdoc-fresh theme (#518)

    9e06b26
  22. shivanee-p
    added a commit that references this issue on Mar 27, 2026

    docs: use the jsdoc-fresh theme (#518)

    4d8ac40
  23. thiyaguk09
    added a commit that references this issue on May 5, 2026

    docs: use the jsdoc-fresh theme (googleapis#518)

    b905eaa
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: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    • Pub/Sub Beta

    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.