Package com.google.genai.types
Class DeleteCachedContentParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class DeleteCachedContentParameters extends JsonSerializable
Parameters for caches.delete method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classDeleteCachedContentParameters.BuilderBuilder for DeleteCachedContentParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description DeleteCachedContentParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>name()The server-generated resource name of the cached content. abstract Optional<DeleteCachedContentConfig>config()Optional parameters for the request. static DeleteCachedContentParameters.Builderbuilder()Instantiates a builder for DeleteCachedContentParameters. abstract DeleteCachedContentParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static DeleteCachedContentParametersfromJson(String jsonString)Deserializes a JSON string to a DeleteCachedContentParameters object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
config
abstract Optional<DeleteCachedContentConfig> config()
Optional parameters for the request.
-
builder
static DeleteCachedContentParameters.Builder builder()
Instantiates a builder for DeleteCachedContentParameters.
-
toBuilder
abstract DeleteCachedContentParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static DeleteCachedContentParameters fromJson(String jsonString)
Deserializes a JSON string to a DeleteCachedContentParameters object.
-
-
-
-