Skip to content

Support autonaming of Pub/Sub Subscriptions #193

Description

@blowmage

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.

Activity

  1. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    api: pubsubIssues related to the Pub/Sub API.
    on Jul 20, 2015
  2. stephenplusplus commented on Jul 29, 2015

    @stephenplusplus

    @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?

  3. stephenplusplus commented on Aug 12, 2015

    @stephenplusplus

    @tmatsuo friendly ping :)

  4. tmatsuo commented on May 3, 2016

    @tmatsuo
    Contributor

    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.

  5. blowmage commented on May 3, 2016

    @blowmage
    ContributorAuthor

    @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?

  6. Draiken commented on Jun 21, 2016

    @Draiken

    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?

  7. added a commit that references this issue on Oct 31, 2016
    7a7462c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: pubsubIssues related to the Pub/Sub API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions