Package com.google.genai.types
Class UpdateCachedContentConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.UpdateCachedContentConfig
Optional parameters for caches.update method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for UpdateCachedContentConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for UpdateCachedContentConfig.Timestamp of when this resource is considered expired.static UpdateCachedContentConfigDeserializes a JSON string to a UpdateCachedContentConfig object.abstract Optional<HttpOptions>Used to override HTTP request options.abstract UpdateCachedContentConfig.BuilderCreates a builder with the same values as this instance.ttl()The TTL for this resource.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
UpdateCachedContentConfig
public UpdateCachedContentConfig()
-
-
Method Details
-
httpOptions
Used to override HTTP request options. -
ttl
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". -
expireTime
Timestamp of when this resource is considered expired. Uses RFC 3339 format, Example: 2014-10-02T15:01:23Z. -
builder
Instantiates a builder for UpdateCachedContentConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a UpdateCachedContentConfig object.
-