Show / Hide Table of Contents

Class GoogleCloudAiplatformV1CachedContent

A resource used in LLM queries for users to explicitly specify what to cache and how to cache.

Inheritance
object
GoogleCloudAiplatformV1CachedContent
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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<GoogleCloudAiplatformV1Content>

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. 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

EncryptionSpec

Input only. Immutable. Customer-managed encryption key spec for a CachedContent. If set, this CachedContent and all its sub-resources will be secured by this key.

Declaration
[JsonProperty("encryptionSpec")]
public virtual GoogleCloudAiplatformV1EncryptionSpec EncryptionSpec { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1EncryptionSpec

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 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
GoogleCloudAiplatformV1Content

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
GoogleCloudAiplatformV1ToolConfig

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<GoogleCloudAiplatformV1Tool>

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 GoogleCloudAiplatformV1CachedContentUsageMetadata UsageMetadata { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1CachedContentUsageMetadata

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX