Method: 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.

HTTP request

POST https://{service-endpoint}/v1beta1/{parent}/cachedContents

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

Path parameters

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.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.