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 Vertex AI v1beta1 API class CachedContent.Types.UsageMetadata.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-25 UTC."],[[["This document provides reference information for the `CachedContent.Types.UsageMetadata` class within the Vertex AI v1beta1 API, detailing its structure and usage."],["The `CachedContent.Types.UsageMetadata` class is used to store metadata about the usage of cached content, such as the duration of audio and video, and the number of images and text characters it contains."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering methods for object comparison, cloning, and handling."],["The `UsageMetadata` class has constructors for creating new instances, including a default constructor and one that takes another `UsageMetadata` object for duplication."],["The class contains properties like `AudioDurationSeconds`, `ImageCount`, `TextCount`, `TotalTokenCount`, and `VideoDurationSeconds`, each representing different metrics about the content's usage."]]],[]]