Package com.google.genai.types
Class GetCachedContentParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GetCachedContentParameters
Parameters for caches.get method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for GetCachedContentParameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for GetCachedContentParameters.abstract Optional<GetCachedContentConfig>
config()
Optional parameters for the request.static GetCachedContentParameters
Deserializes a JSON string to a GetCachedContentParameters object.name()
The server-generated resource name of the cached content.abstract GetCachedContentParameters.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
GetCachedContentParameters
public GetCachedContentParameters()
-
-
Method Details
-
name
The server-generated resource name of the cached content. -
config
Optional parameters for the request. -
builder
Instantiates a builder for GetCachedContentParameters. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GetCachedContentParameters object.
-