Interface CachedContentUsageMetadata

Metadata on the usage of the cached content.

interface CachedContentUsageMetadata {
    audioDurationSeconds?: number;
    imageCount?: number;
    textCount?: number;
    totalTokenCount?: number;
    videoDurationSeconds?: number;
}

Properties

audioDurationSeconds?: number

Duration of audio in seconds.

imageCount?: number

Number of images.

textCount?: number

Number of text characters.

totalTokenCount?: number

Total number of tokens that the cached content consumes.

videoDurationSeconds?: number

Duration of video in seconds.

MMNEPVFCICPMFPCPTTAAATR