public sealed class TruncatableString : IMessage<TruncatableString>, IEquatable<TruncatableString>, IDeepCloneable<TruncatableString>, IBufferMessage, IMessage
Represents a string that might be shortened to a specified length.
The shortened string. For example, if the original string is 500
bytes long and the limit of the string is 128 bytes, then
value contains the first 128 bytes of the 500-byte string.
Truncation always happens on a UTF8 character boundary. If there
are multi-byte characters in the string, then the length of the
shortened string might be less than the size limit.
[[["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-21 UTC."],[[["This document provides details for the `TruncatableString` class within the `Google.Cloud.Trace.V2` namespace, specifically version 2.2.0, which is part of the Google Cloud Trace library for .NET."],["The `TruncatableString` class represents a string that may be shortened to fit a specific length, offering properties to access the string (`Value`) and track the number of bytes removed (`TruncatedByteCount`)."],["This class inherits from `Object` and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The library offers multiple versions of the TruncatableString class, with version 3.6.0 being the latest, and versions down to 2.2.0 are also accessible."],["The class has 2 constructors, one is a default constructor, and the second allows for passing another `TruncatableString` as a parameter to instantiate a new `TruncatableString` object."]]],[]]