-
Notifications
You must be signed in to change notification settings - Fork 233
Closed
Labels
api: pubsubIssues related to the googleapis/nodejs-pubsub API.Issues related to the googleapis/nodejs-pubsub API.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.
Description
Thanks for stopping by to let us know something could be better!
If the support paths suggested above still do not result in a resolution, please provide the following details.
Environment details
- OS: Irrelevant
- Node.js version: Irrelevant
- npm version: Irrelevant
@google-cloud/pubsubversion: v2.5.0
Steps to reproduce
- Install the latest version of
@google-cloud/pubsub - Look for JSdoc for
Topicl.setMetadatamethod - Sadness
There is JSdoc for this method in the source: https://github.com/googleapis/nodejs-pubsub/blob/master/src/topic.ts#L835
However, I believe it is placed incorrectly in relation to the overload declarations. Regardless, it is missing from the published .d.ts file:
/**
* In the event that the client fails to publish an ordered message, all
...
*/
resumePublishing(orderingKey: string): void;
setMetadata(options: TopicMetadata, gaxOpts?: CallOptions): Promise<SetTopicMetadataResponse>;
setMetadata(options: TopicMetadata, callback: SetTopicMetadataCallback): void;
setMetadata(options: TopicMetadata, gaxOpts: CallOptions, callback: SetTopicMetadataCallback): void;
/**
* Set the publisher options.
...Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the googleapis/nodejs-pubsub API.Issues related to the googleapis/nodejs-pubsub API.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.