ExpirationPolicy: Builds a ExpirationPolicy Object

View source: R/objects.R

ExpirationPolicyR Documentation

Builds a ExpirationPolicy Object

Description

Builds a ExpirationPolicy Object

Usage

ExpirationPolicy(ttl = NULL)

Arguments

ttl

numeric Specifies the 'time-to-live' duration (in seconds, can be float) for an associated resource

Details

Autogenerated via gar_create_api_objects A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).

Value

ExpirationPolicy object

See Also

Other Object functions: DeadLetterPolicy(), DlqPolicy(), MessageStoragePolicy(), PubsubMessage(), PushConfig(), RetryPolicy(), SchemaSettings(), Schema(), Snapshot(), Subscription(), Topic()


googlePubsubR documentation built on March 7, 2023, 6:38 p.m.