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 — PubSub.listSubscriptions(topic) returns only names, not full subscriptions · Issue #978 · googleapis/google-cloud-java

PubSub.listSubscriptions(topic) returns only names, not full subscriptions #978

New issue
Copy link
New issue
Copy link
Closed
Closed
PubSub.listSubscriptions(topic) returns only names, not full subscriptions#978
Copy link
Assignees
mziccard
Labels
api: pubsubIssues related to the Pub/Sub API.

Description

@mziccard
mziccard
opened on May 3, 2016
Issue body actions

We need to change the signature of:

  • Page<Subscription> listSubscriptions(String topic, ListOption... options)
  • Future<AsyncPage<Subscription>> listSubscriptionsAsync(String topic, ListOption... options);

to:

  • Page<String> listSubscriptions(String topic, ListOption... options)
  • Future<AsyncPage<String>> listSubscriptionsAsync(String topic, ListOption... options);

As listing subscriptions by topic returns only names (see here). /cc @aozarov

Activity

  1. mziccard
    added
    api: pubsubIssues related to the Pub/Sub API.
    on May 3, 2016
  2. aozarov commented on May 3, 2016

    @aozarov
    aozarov
    on May 3, 2016
    Contributor
    More actions

    /cc @eschapira Any reason for only returning the subscription names when one wants to get the list of subscriptions for a given topic?

  3. eschapira commented on May 4, 2016

    @eschapira
    eschapira
    on May 4, 2016
    More actions

    The topic owner/viewer may not have access to the subscription details; but they can see the name of the subscriptions and delete those subscriptions.

    If we are using Subscription objects, as long as you don't need to fetch the details in order to instantiate it, meaning that you can instantiate a subscription object by just using the name, it should be fine to return the subscription object.

    It is important to keep in mind that these subscriptions may belong to a different project.

  4. mziccard commented on Jul 22, 2016

    @mziccard
    mziccard
    on Jul 22, 2016
    ContributorAuthor
    More actions

    This was taken care of in #984

  5. mziccard
    closed this as completedon Jul 22, 2016
  6. JustinBeckwith
    assigned
    mziccard
    on Feb 1, 2021
  7. github-actions
    added a commit that references this issue on Jul 8, 2022

    chore: add native image checks as required (#978)

    b5de2fa
  8. github-actions
    added a commit that references this issue on Aug 9, 2022

    chore(main): release 4.8.0 (#978)

    4eee4de
  9. github-actions
    added 3 commits that reference this issue on Sep 15, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    5bd3746

    chore(deps): update dependency com.google.cloud:google-cloud-video-in…

    3eed5b8

    chore(main): release 3.7.0 (#978)

    085a8f7
  10. suztomo
    added a commit that references this issue on Feb 1, 2023

    deps: update dependency io.grpc:grpc-bom to v1.50.0 (#978)

    65e92e2
  11. chingor13
    added a commit that references this issue on Jan 6, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-logging-…

    d93c150
  12. chingor13
    added a commit that references this issue on Jan 22, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-datastor…

    fdce6b5
  13. chingor13
    added a commit that references this issue on Feb 24, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    f319bfc
  14. chingor13
    added a commit that references this issue on Mar 12, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    5164eb2
  15. suztomo
    added a commit that references this issue on Mar 23, 2026

    chore: pin versions of dependencies for compatibility with Python 3.6 (…

    2bc323d
  16. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore(main): release 0.124.14 (#978)

    60e7e20
  17. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore(main): release 0.124.14 (#978)

    ab42636
  18. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    samples: add subscription with filter example (#978)

    4654a58

    samples: add subscription with filter example (#978)

    2848da6
  19. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore: re-generated to pick up changes from synthtool (googleapis#978)

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

Metadata

Metadata

Assignees

  • @mziccard
    mziccard

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.