com.google.pubsub.v1.pubsub.ExpirationPolicy
See theExpirationPolicy companion object
final case class ExpirationPolicy(ttl: Option[Duration], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[ExpirationPolicy]
A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).
Attributes
- ttl
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 forttl
depend on the type of the associated resource, as well. Ifttl
is not set, the associated resource never expires.- Companion:
- object
- Source:
- ExpirationPolicy.scala
- Graph
- Supertypes
- trait Updatable[ExpirationPolicy]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any