Cloud AI Platform v1beta1 API - Class CachedContent.Types.UsageMetadata (1.0.0-beta09)

public sealed class CachedContent.Types.UsageMetadata : IMessage<CachedContent.Types.UsageMetadata>, IEquatable<CachedContent.Types.UsageMetadata>, IDeepCloneable<CachedContent.Types.UsageMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class CachedContent.Types.UsageMetadata.

Metadata on the usage of the cached content.

Inheritance

object > CachedContent.Types.UsageMetadata

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

UsageMetadata()

public UsageMetadata()

UsageMetadata(UsageMetadata)

public UsageMetadata(CachedContent.Types.UsageMetadata other)
Parameter
Name Description
other CachedContentTypesUsageMetadata

Properties

AudioDurationSeconds

public int AudioDurationSeconds { get; set; }

Duration of audio in seconds.

Property Value
Type Description
int

ImageCount

public int ImageCount { get; set; }

Number of images.

Property Value
Type Description
int

TextCount

public int TextCount { get; set; }

Number of text characters.

Property Value
Type Description
int

TotalTokenCount

public int TotalTokenCount { get; set; }

Total number of tokens that the cached content consumes.

Property Value
Type Description
int

VideoDurationSeconds

public int VideoDurationSeconds { get; set; }

Duration of video in seconds.

Property Value
Type Description
int