GoogleCloudAiplatformV1CachedContent class
A resource used in LLM queries for users to explicitly specify what to cache and how to cache.
Constructors
-
GoogleCloudAiplatformV1CachedContent.new({List<
GoogleCloudAiplatformV1Content> ? contents, String? createTime, String? displayName, String? expireTime, String? model, String? name, GoogleCloudAiplatformV1Content? systemInstruction, GoogleCloudAiplatformV1ToolConfig? toolConfig, List<GoogleCloudAiplatformV1Tool> ? tools, String? ttl, String? updateTime, GoogleCloudAiplatformV1CachedContentUsageMetadata? usageMetadata}) - GoogleCloudAiplatformV1CachedContent.fromJson(Map json_)
Properties
-
contents
↔ List<
GoogleCloudAiplatformV1Content> ? -
Input only.
getter/setter pair
- createTime ↔ String?
-
Creation time of the cache entry.
getter/setter pair
- displayName ↔ String?
-
The user-generated meaningful display name of the cached content.
getter/setter pair
- expireTime ↔ String?
-
Timestamp of when this resource is considered expired.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- model ↔ String?
-
The name of the
Model
to use for cached content.getter/setter pair - name ↔ String?
-
Identifier.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- systemInstruction ↔ GoogleCloudAiplatformV1Content?
-
Input only.
getter/setter pair
- toolConfig ↔ GoogleCloudAiplatformV1ToolConfig?
-
Input only.
getter/setter pair
-
tools
↔ List<
GoogleCloudAiplatformV1Tool> ? -
Input only.
getter/setter pair
- ttl ↔ String?
-
Input only.
getter/setter pair
- updateTime ↔ String?
-
When the cache entry was last updated in UTC time.
getter/setter pair
- usageMetadata ↔ GoogleCloudAiplatformV1CachedContentUsageMetadata?
-
Metadata on the usage of the cached content.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited