Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

Samples: resource names and resource ID confusion #1198

@anguillanneuf

Description

@anguillanneuf

We use topic and subscription names to refer to projects/{}/topics/{} and projects/{}/subscriptions/{}. Please update some samples that refer to resource IDs as resource names. Thanks!

For example, this should be topicID = "your-topic-id".

topicName = 'YOUR_TOPIC_NAME',

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the googleapis/nodejs-pubsub API.samplesIssues that are directly related to samples.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions