UpdateCachedContentConfig

@Serializable
data class UpdateCachedContentConfig(val httpOptions: HttpOptions? = null, val ttl: Duration? = null, val expireTime: Instant? = null)

Optional parameters for caches.update method.

Constructors

Link copied to clipboard
constructor(httpOptions: HttpOptions? = null, ttl: Duration? = null, expireTime: Instant? = null)

Properties

Link copied to clipboard
@Serializable(with = InstantSerializer::class)
val expireTime: Instant? = null

Timestamp of when this resource is considered expired. Uses RFC 3339 format, Example: 2014-10-02T15:01:23Z.

Link copied to clipboard

Used to override HTTP request options.

Link copied to clipboard
@Serializable(with = DurationStringSerializer::class)
val ttl: Duration? = null

The TTL for this resource. The expiration time is computed: now + TTL. It is a duration string, with up to nine fractional digits, terminated by 's'. Example: "3.5s".