Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support autonaming of Pub/Sub Subscriptions #193

Closed
blowmage opened this issue Jul 20, 2015 · 5 comments · Fixed by #1005
Closed

Support autonaming of Pub/Sub Subscriptions #193

blowmage opened this issue Jul 20, 2015 · 5 comments · Fixed by #1005
Assignees
Labels
api: pubsub Issues related to the Pub/Sub API. 🚨 This issue needs some love. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@blowmage
Copy link
Contributor

The Pub/Sub documentation states:

If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.

We are unable to make an API call to create a subscription without a name. We suspect this is an issue with the Google API Client library, since ArgumentError is being raised.

@blowmage blowmage added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. api: pubsub Issues related to the Pub/Sub API. labels Jul 20, 2015
blowmage added a commit to blowmage/google-cloud-ruby that referenced this issue Jul 20, 2015
The Google Cloud docs state that subscriptions can be created without
a name, and that a name will be generated in such cases. However, we
cannot create subscriptions without a name using Google API Client.
Remove the option to subscribe without a name until this is supported.

[refs googleapis#193]
@stephenplusplus
Copy link

@tmatsuo - sorry if you've already been pinged about this elsewhere, but I couldn't find anything. Do you know if support for auto-named subscriptions is real, or if this was a documentation error?

@stephenplusplus
Copy link

@tmatsuo friendly ping :)

@tmatsuo
Copy link
Contributor

tmatsuo commented May 3, 2016

I just found this issue! Sorry for the late reply.

Yes, it is not currently supported on the API surface (although the internal core server supports it, thus the documentation discrepancy). Sorry about the confusion.

@blowmage
Copy link
Contributor Author

blowmage commented May 3, 2016

@tmatsuo Hah! Thanks for clarifying! We removed the docs from gcloud-ruby about this and made the name required. Glad to know the reason.

Is this a feature that will be supported in future API versions?

@Draiken
Copy link

Draiken commented Jun 21, 2016

It' been one year and I still got bitten by this issue after following the documentation here
Is there anything I can do to help fix this issue?

quartzmo added a commit to quartzmo/google-cloud-ruby that referenced this issue Oct 31, 2016
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. triage me I really want to be triaged. labels Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the Pub/Sub API. 🚨 This issue needs some love. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants