Repository navigation
ListTopicSubscriptionsPagedResponse.iterateAllElements() should return Iterable<Subscription> #1668
Copy link
Copy link
Closed
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
Activity
- addedtype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.
on Feb 27, 2017 - changed the title
[-]ListTopicSubscriptionsPagedResponse.iterateAllElements should return Iterable<Subscription>[/-][+]`ListTopicSubscriptionsPagedResponse.iterateAllElements()` should return `Iterable<Subscription>`[/+]on Feb 27, 2017 garrettjonesgoogle commented
on Feb 27, 2017 ContributorMore actionsThis could get tricksy because of templating. Assigning to @michaelbausor to take a look at viability.
We now have a
ListTopicSubscriptionsPagedResponse.iterateAllAsSubscriptionNamemethod which returnsIterable<SubscriptionName>. I think this satisfies the issue.- added a commit that references this issue
on Dec 22, 2025 - added a commit that references this issue
on Jan 22, 2026 - added a commit that references this issue
on Mar 11, 2026 - added a commit that references this issue
on Mar 23, 2026 - added a commit that references this issue
on Mar 30, 2026 - added a commit that references this issue
on Apr 1, 2026
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
ListTopicSubscriptionsPagedResponse.iterateAllElementscurrently returnsIterable<String>.It feels inconsistent with
ListTopicsPagedResponse.iterateAllElementsthat returnsIterable<Topic>and
ListSubscriptionsPagedResponse.iterateAllElementsreturnsIterable<Subscription>.