public sealed class CountTokensResponse : IMessage<CountTokensResponse>, IEquatable<CountTokensResponse>, IDeepCloneable<CountTokensResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class CountTokensResponse.
Response message for
[PredictionService.CountTokens][google.cloud.aiplatform.v1beta1.PredictionService.CountTokens].
[[["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-04-09 UTC."],[[["The `CountTokensResponse` class is part of the Cloud AI Platform v1beta1 API, used to represent the response for the `PredictionService.CountTokens` method."],["This class inherits from the base `object` class and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["It includes properties for `TotalBillableCharacters` and `TotalTokens`, both of which are integers representing the counts from the request."],["The `CountTokensResponse` class is found within the `Google.Cloud.AIPlatform.V1Beta1` namespace and is contained in the `Google.Cloud.AIPlatform.V1Beta1.dll` assembly."],["Two constructors are available: a parameterless constructor, and a second constructor that takes another `CountTokensResponse` as a parameter."]]],[]]