Skip to content

Documentation on how to create subscriptions that never expire #1295

@jackson-stone-ableto

Description

@jackson-stone-ableto

I have a use case that requires the creation of subscriptions that never expire. The argument to pass in the docs for the CLI seems to be the string "never". In the typescript project I have, providing "never" is against the type specification for the expirationPolicy option for subscriptions.

I'm allowed to set it to "null" - but I do not know if this is in fact creating it without an expiration (setting it to "never") or is causing it to go to the default value (30 days)

Any help or documentation around this would be awesome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: pubsubIssues related to the googleapis/nodejs-pubsub API.type: questionRequest for information or clarification. Not an issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions