API response objects shouldn't use arrays to represent structured data #245
Labels
api: pubsub
Issues related to the googleapis/nodejs-pubsub API.
release blocking
Required feature/issue must be fixed prior to next release.
🚨
This issue needs some love.
triage me
I really want to be triaged.
triaged for GA
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
https://cloud.google.com/nodejs/docs/reference/pubsub/0.19.x/global
Many response types are arrays rather than objects. For example: CreateTopicResponse is an array of size 2 where the first element is a Topic and the second element is "The full API response"
These should be members of an object rather than elements of array.
The text was updated successfully, but these errors were encountered: