Interface protos.google.cloud.aiplatform.v1.GenerateContentResponse.IUsageMetadata (5.13.0)
6.8.0 (latest)
6.6.0
6.4.0
6.3.0
6.2.0
6.1.0
6.0.0
5.14.0
5.13.0
3.15.0
3.13.0
3.11.0
3.10.1
3.9.0
3.7.0
3.6.0
3.4.0
3.3.0
3.0.0
2.12.0
2.11.0
2.10.0
2.7.0
2.6.1
2.5.0
2.3.0
1.19.0
1.18.0
1.17.0
1.16.0
1.15.0
1.14.1
1.13.0
1.11.0
1.7.2
Properties of a UsageMetadata.
Package
@google-cloud/aiplatform
Properties
cachedContentTokenCount
cachedContentTokenCount ?: ( number | null );
UsageMetadata cachedContentTokenCount
cacheTokensDetails
cacheTokensDetails ?: ( google . cloud . aiplatform . v1 . IModalityTokenCount [] | null );
UsageMetadata cacheTokensDetails
candidatesTokenCount
candidatesTokenCount ?: ( number | null );
UsageMetadata candidatesTokenCount
candidatesTokensDetails
candidatesTokensDetails ?: ( google . cloud . aiplatform . v1 . IModalityTokenCount [] | null );
UsageMetadata candidatesTokensDetails
promptTokenCount
promptTokenCount ?: ( number | null );
UsageMetadata promptTokenCount
promptTokensDetails
promptTokensDetails ?: ( google . cloud . aiplatform . v1 . IModalityTokenCount [] | null );
UsageMetadata promptTokensDetails
thoughtsTokenCount
thoughtsTokenCount ?: ( number | null );
UsageMetadata thoughtsTokenCount
totalTokenCount
totalTokenCount ?: ( number | null );
UsageMetadata totalTokenCount
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-13 UTC."],[],[]]