final case class ExpirationPolicy(ttl: Option[Duration] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ExpirationPolicy] with Product with Serializable
A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).
- ttl
Optional. 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.
- Annotations
- @SerialVersionUID()
- Source
- ExpirationPolicy.scala
- Alphabetic
- By Inheritance
- ExpirationPolicy
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExpirationPolicy(ttl: Option[Duration] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- ttl
Optional. 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.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearTtl: ExpirationPolicy
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: ExpirationPolicy.type
- Definition Classes
- ExpirationPolicy → GeneratedMessage
- def discardUnknownFields: ExpirationPolicy
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- ExpirationPolicy → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ExpirationPolicy → GeneratedMessage
- def getTtl: Duration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- ExpirationPolicy → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- ExpirationPolicy → GeneratedMessage
- val ttl: Option[Duration]
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[ExpirationPolicy, ExpirationPolicy]) => Mutation[ExpirationPolicy]*): ExpirationPolicy
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withTtl(__v: Duration): ExpirationPolicy
- def withUnknownFields(__v: UnknownFieldSet): ExpirationPolicy
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ExpirationPolicy → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage