Skip to content

Subscription name is not optional #740

Description

@Draiken

https://github.com/GoogleCloudPlatform/gcloud-ruby/blob/v0.11.0/lib/gcloud/pubsub/topic.rb#L94-L141

The example says we can leave out the name and get a generated name, but the method requires a name.

It's also not a good example, since we give name my-topic-sub and get name generated-sub-name

Activity

  1. Draiken commented on Jun 21, 2016

    @Draiken
    Author

    Nevermind... duplicate of #193

  2. blowmage commented on Jun 21, 2016

    @blowmage
    Contributor

    Hi @Draiken, thanks for opening this issue. We thought we had removed that example from the documentation when we discovered the discrepancy between the official API documentation and the API behavior. That is very confusing. I'm sorry for that. We will get the documentation updated.

  3. blowmage commented on Aug 29, 2016

    @blowmage
    Contributor

    @quartzmo Can you make sure the documentation is correct?

  4. quartzmo commented on Aug 29, 2016

    @quartzmo
    Member

    Yes, I'll look into it.

  5. 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

api: pubsubIssues related to the Pub/Sub API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions