REST Resource: projects

Resource: CacheConfig

Config of GenAI caching features. This is a singleton resource.

Fields
name string

Identifier. name of the cache config. Format: - projects/{project}/cacheConfig.

disableCache boolean

If set to true, disables GenAI caching. Otherwise caching is enabled.

JSON representation
{
  "name": string,
  "disableCache": boolean
}

Methods

getCacheConfig

Gets a GenAI cache config.

updateCacheConfig

Updates a cache config.