CachedContent
The request body contains an instance of CachedContent.
Attributes
- contents
Optional. Input only. Immutable. The content to cache.
- displayName
Optional. Immutable. The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.
- expiration
Specifies when this resource will expire. Can be either expireTime or ttl.
- Timestamp in UTC of when this resource is considered expired. Uses RFC 3339 format.
- New TTL for this resource, input only. A duration in seconds with up to nine fractional digits, ending with 's'.
- model
Required. Immutable. The name of the Model to use for cached content. Format: models/{model}.
- name
Optional. Identifier. The resource name referring to the cached content. Format: cachedContents/{id}.
- systemInstruction
Optional. Input only. Immutable. Developer set system instruction. Currently text only.
- toolConfig
Optional. Input only. Immutable. Tool config. This config is shared for all tools.
- tools
Optional. Input only. Immutable. A list of Tools the model may use to generate the next response.
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any