Class GoogleCloudAiplatformV1CachedContent
A resource used in LLM queries for users to explicitly specify what to cache and how to cache.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1CachedContent : IDirectResponseSchema
Properties
Contents
Optional. Input only. Immutable. The content to cache
Declaration
[JsonProperty("contents")]
public virtual IList<GoogleCloudAiplatformV1Content> Contents { get; set; }
Property Value
Type | Description |
---|---|
IList<Google |
CreateTime
object representation of Create
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
Date
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
Date |
CreateTimeRaw
Output only. Creation time of the cache entry.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Optional. Immutable. The user-generated meaningful display name of the cached content.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExpireTime
object representation of Expire
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ExpireTimeDateTimeOffset
Date
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
Date |
ExpireTimeRaw
Timestamp of when this resource is considered expired. This is always provided on output, regardless of what was sent on input.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Model
Immutable. The name of the Model
to use for cached content. Currently, only the published Gemini base
models are supported, in form of projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL}
Declaration
[JsonProperty("model")]
public virtual string Model { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
SystemInstruction
Optional. Input only. Immutable. Developer set system instruction. Currently, text only
Declaration
[JsonProperty("systemInstruction")]
public virtual GoogleCloudAiplatformV1Content SystemInstruction { get; set; }
Property Value
Type | Description |
---|---|
Google |
ToolConfig
Optional. Input only. Immutable. Tool config. This config is shared for all tools
Declaration
[JsonProperty("toolConfig")]
public virtual GoogleCloudAiplatformV1ToolConfig ToolConfig { get; set; }
Property Value
Type | Description |
---|---|
Google |
Tools
Optional. Input only. Immutable. A list of Tools
the model may use to generate the next response
Declaration
[JsonProperty("tools")]
public virtual IList<GoogleCloudAiplatformV1Tool> Tools { get; set; }
Property Value
Type | Description |
---|---|
IList<Google |
Ttl
Input only. The TTL for this resource. The expiration time is computed: now + TTL.
Declaration
[JsonProperty("ttl")]
public virtual object Ttl { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTime
object representation of Update
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
Date
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
Date |
UpdateTimeRaw
Output only. When the cache entry was last updated in UTC time.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
UsageMetadata
Output only. Metadata on the usage of the cached content.
Declaration
[JsonProperty("usageMetadata")]
public virtual GoogleCloudAiplatformV1CachedContentUsageMetadata UsageMetadata { get; set; }
Property Value
Type | Description |
---|---|
Google |