Optional
abortAbort signal which can be used to cancel the request.
NOTE: AbortSignal is a client-only operation. Using it to cancel an operation will not cancel the request in the service. You will still be charged usage for any applicable operations.
Optional
contentsThe content to cache.
Optional
displayThe user-generated meaningful display name of the cached content.
Optional
expireTimestamp of when this resource is considered expired. Uses RFC 3339 format, Example: 2014-10-02T15:01:23Z.
Optional
httpUsed to override HTTP request options.
Optional
kmsThe Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. The key needs to be in the same region as where the compute resource is created. See https://cloud.google.com/vertex-ai/docs/general/cmek for more details. If this is set, then all created CachedContent objects will be encrypted with the provided encryption key. Allowed formats: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
Optional
systemDeveloper set system instruction.
Optional
toolConfiguration for the tools to use. This config is shared for all tools.
Optional
toolsA list of Tools
the model may use to generate the next response.
Optional
ttlThe 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".
Optional configuration for cached content creation.