public sealed class LocalizedMessage : IMessage<LocalizedMessage>, IEquatable<LocalizedMessage>, IDeepCloneable<LocalizedMessage>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class LocalizedMessage.
Provides a localized error message that is safe to return to the user which can be attached to an RPC error.
[[["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-24 UTC."],[[["The `LocalizedMessage` class is part of the Compute Engine v1 API and is designed to provide localized error messages for users."],["This class is implemented across a range of versions, from 1.0.0 to the latest version 3.6.0, each of which has its own documentation page."],["The `LocalizedMessage` class inherits from `object` and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["It has two properties, `Locale` and `Message`, which are used to store the locale of the error message and the message itself, respectively, both of which can be checked to see if they are set via `HasLocale` and `HasMessage`."],["The class has 2 constructors, one default and one that takes in another `LocalizedMessage` as a parameter."]]],[]]