Class CreateCachedContentConfig

    • Constructor Detail

      • CreateCachedContentConfig

        CreateCachedContentConfig()
    • Method Detail

      • ttl

         abstract Optional<Duration> 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

         abstract Optional<Instant> expireTime()

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

      • tools

         abstract Optional<List<Tool>> tools()

        A list of `Tools` the model may use to generate the next response.

      • kmsKeyName

         abstract Optional<String> kmsKeyName()

        The 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}