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 webpage provides documentation for the `TruncatableString` class within the `Google.Cloud.Trace.V2` namespace, outlining its properties and functionality across different versions."],["The `TruncatableString` class represents a string that can be shortened to a specific length, which implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class features two constructors: a default constructor and one that copies from an existing `TruncatableString` instance."],["Key properties of `TruncatableString` include `Value`, which holds the shortened string, and `TruncatedByteCount`, indicating the number of bytes removed during shortening."],["The documentation is versioned, with versions ranging from 2.2.0 to the latest version 3.6.0, allowing users to access information relevant to their specific version of use."]]],[]]