Method: cachedContents.create

Full name: projects.locations.cachedContents.create

Creates cached content, this call will initialize the cached content in the data storage, and users need to pay for the cache data storage.

Endpoint

post https://{service-endpoint}/v1/{parent}/cachedContents

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

parent string

Required. The parent resource where the cached content will be created

Request body

The request body contains an instance of CachedContent .

Response body

If successful, the response body contains a newly created instance of CachedContent .

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年06月27日 UTC.