Class GoogleCloudAiplatformV1beta1CachedContent
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.v1beta1.Data
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class GoogleCloudAiplatformV1beta1CachedContent : IDirectResponseSchema
Properties
Contents
Optional. Input only. Immutable. The content to cache
Declaration
[JsonProperty("contents")]
public virtual IList<GoogleCloudAiplatformV1beta1Content> Contents { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1beta1Content> |
CreateTime
object representation of CreateTimeRaw.
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
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Creatation 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 ExpireTimeRaw.
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
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
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 publisher model to use for cached content. Format: projects/{project}/locations/{location}/publishers/{publisher}/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 GoogleCloudAiplatformV1beta1Content SystemInstruction { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1beta1Content |
ToolConfig
Optional. Input only. Immutable. Tool config. This config is shared for all tools
Declaration
[JsonProperty("toolConfig")]
public virtual GoogleCloudAiplatformV1beta1ToolConfig ToolConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1beta1ToolConfig |
Tools
Optional. Input only. Immutable. A list of Tools
the model may use to generate the next response
Declaration
[JsonProperty("tools")]
public virtual IList<GoogleCloudAiplatformV1beta1Tool> Tools { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1beta1Tool> |
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 UpdateTimeRaw.
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
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
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 GoogleCloudAiplatformV1beta1CachedContentUsageMetadata UsageMetadata { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1beta1CachedContentUsageMetadata |