OptionalabortAbort 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.
OptionalcontentsThe content to cache.
OptionaldisplayThe user-generated meaningful display name of the cached content.
OptionalexpireTimestamp of when this resource is considered expired. Uses RFC 3339 format, Example: 2014-10-02T15:01:23Z.
OptionalhttpUsed to override HTTP request options.
OptionalkmsThe 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}
OptionalsystemDeveloper set system instruction.
OptionaltoolConfiguration for the tools to use. This config is shared for all tools.
OptionaltoolsA list of Tools the model may use to generate the next response.
OptionalttlThe 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.