PATCH /v1/projects/{projectsId}/cacheConfig
Updates a cache config.
Request
- Base URLhttps://aiplatform.googleapis.com
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Optional. The list of fields of cache_config to update. Supported paths are disable_cache, retention_config (and its subfields such as retention_config.retention_type), and the special value *; any other path returns INVALID_ARGUMENT. Fields not covered by the mask keep their stored value. If the mask is omitted, it is treated as an implied mask covering the fields populated in cache_config, so updating one field never clears another. retention_config is covered only when the request carries it. disable_cache is always covered: it is a bare bool, so the server cannot tell a request that omits it from one that sets it to false. * requests full replacement of the resource: every settable field is written from the request, clearing retention_config when the request omits it. It cannot be combined with other paths. Prefer naming fields explicitly -- a caller that sends * without knowing about a field added to CacheConfig later would silently reset that field.
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 8 revisions of this API.