Interface protos.google.ai.generativelanguage.v1beta.ICachedContent (2.6.0)

Properties of a CachedContent.

Package

@google-ai/generativelanguage

Properties

contents

contents?: (google.ai.generativelanguage.v1beta.IContent[]|null);

CachedContent contents

createTime

createTime?: (google.protobuf.ITimestamp|null);

CachedContent createTime

displayName

displayName?: (string|null);

CachedContent displayName

expireTime

expireTime?: (google.protobuf.ITimestamp|null);

CachedContent expireTime

model

model?: (string|null);

CachedContent model

name

name?: (string|null);

CachedContent name

systemInstruction

systemInstruction?: (google.ai.generativelanguage.v1beta.IContent|null);

CachedContent systemInstruction

toolConfig

toolConfig?: (google.ai.generativelanguage.v1beta.IToolConfig|null);

CachedContent toolConfig

tools

tools?: (google.ai.generativelanguage.v1beta.ITool[]|null);

CachedContent tools

ttl

ttl?: (google.protobuf.IDuration|null);

CachedContent ttl

updateTime

updateTime?: (google.protobuf.ITimestamp|null);

CachedContent updateTime

usageMetadata

usageMetadata?: (google.ai.generativelanguage.v1beta.CachedContent.IUsageMetadata|null);

CachedContent usageMetadata