Documentation on how to create subscriptions that never expire #1314
Replies: 2 comments
-
@jackson-stone-ableto For the gcloud, side, I'm assuming you mean this parameter?
which probably maps to this definition in the gapic protos?
It is sort of odd to me that Based on this:
...I'm going to guess the right answer is to set |
Beta Was this translation helpful? Give feedback.
-
Thank you @feywind - You are correct in assessing what I was referring to. I look forward to an answer! :D |
Beta Was this translation helpful? Give feedback.
-
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!
Beta Was this translation helpful? Give feedback.
All reactions