projects

GET /v1/projects/{projectsId}/cacheConfig

Gets a GenAI cache config.

Request

  • Base URL
    https://aiplatform.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/cloud-platform
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/cloud-platform
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

projectsIdstring required

Response

Successful response

disableCacheboolean

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

namestring

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

Changes

No recorded changes to this operation across all 8 revisions of this API.