create

suspend fun create(model: String, config: CreateCachedContentConfig? = null): CachedContent

Creates a cached content resource.

Return

A CachedContent object that contains the info of the created resource.

Parameters

model

The model to use.

config

A CreateCachedContentConfig for configuring the create request.