Skip to content

Have getIamPolicy accept TopicName, SubscriptionName as input #1643

@jabubake

Description

@jabubake

Given a lot of the new code uses TopicName/SubscriptionName class : constructed from projectId, topic-name/sub-name : it would be good if getIamPolicy on PublisherClient and SubscriberClient took in a TopicName, SubscriptionName respectively as opposed to just String : so there's no confusion to whether just topic/subscription-name alone works or the project-id needs to be specified as well.

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions