mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-02 04:04:30 -07:00
Add expiration policy to pubsub subscription resource (#240)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
4e2574414e
commit
a0c5c279d0
2 changed files with 84 additions and 0 deletions
|
@ -144,6 +144,29 @@ resources:
|
|||
until they fall out of the messageRetentionDuration window.
|
||||
returned: success
|
||||
type: bool
|
||||
expirationPolicy:
|
||||
description:
|
||||
- A policy that specifies the conditions for this subscription's expiration.
|
||||
- A subscription is considered active as long as any connected subscriber is
|
||||
successfully consuming messages from the subscription or is issuing operations
|
||||
on the subscription. If expirationPolicy is not set, a default policy with
|
||||
ttl of 31 days will be used. The minimum allowed value for expirationPolicy.ttl
|
||||
is 1 day.
|
||||
returned: success
|
||||
type: complex
|
||||
contains:
|
||||
ttl:
|
||||
description:
|
||||
- Specifies the "time-to-live" duration for an associated resource. The
|
||||
resource expires if it is not active for a period of ttl. The definition
|
||||
of "activity" depends on the type of the associated resource. The minimum
|
||||
and maximum allowed values for ttl depend on the type of the associated
|
||||
resource, as well. If ttl is not set, the associated resource never expires.
|
||||
- A duration in seconds with up to nine fractional digits, terminated by
|
||||
's'.
|
||||
- Example - "3.5s".
|
||||
returned: success
|
||||
type: str
|
||||
'''
|
||||
|
||||
################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue