@@ -8237,6 +8237,18 @@ class CreateCachedContentConfig(_common.BaseModel):
82378237 description = """Configuration for the tools to use. This config is shared for all tools.
82388238 """ ,
82398239 )
8240+ kms_key_name : Optional [str ] = Field (
8241+ default = None ,
8242+ description = """The Cloud KMS resource identifier of the customer managed
8243+ encryption key used to protect a resource.
8244+ The key needs to be in the same region as where the compute resource is
8245+ created. See
8246+ https://cloud.google.com/vertex-ai/docs/general/cmek for more
8247+ details. If this is set, then all created CachedContent objects
8248+ will be encrypted with the provided encryption key.
8249+ Allowed formats: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
8250+ """ ,
8251+ )
82408252
82418253
82428254class CreateCachedContentConfigDict (TypedDict , total = False ):
@@ -8271,6 +8283,17 @@ class CreateCachedContentConfigDict(TypedDict, total=False):
82718283 """Configuration for the tools to use. This config is shared for all tools.
82728284 """
82738285
8286+ kms_key_name : Optional [str ]
8287+ """The Cloud KMS resource identifier of the customer managed
8288+ encryption key used to protect a resource.
8289+ The key needs to be in the same region as where the compute resource is
8290+ created. See
8291+ https://cloud.google.com/vertex-ai/docs/general/cmek for more
8292+ details. If this is set, then all created CachedContent objects
8293+ will be encrypted with the provided encryption key.
8294+ Allowed formats: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
8295+ """
8296+
82748297
82758298CreateCachedContentConfigOrDict = Union [
82768299 CreateCachedContentConfig , CreateCachedContentConfigDict
0 commit comments