[[["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-08-28 UTC."],[],[],null,["# Google API Common Protos Client - Class LocalizedMessage (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Rpc.LocalizedMessage)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Rpc.LocalizedMessage)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Rpc.LocalizedMessage)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Rpc.LocalizedMessage)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Rpc.LocalizedMessage)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Rpc.LocalizedMessage) \nReference documentation and code samples for the Google API Common Protos Client class LocalizedMessage.\n\nProvides a localized error message that is safe to return to the user\nwhich can be attached to an RPC error.\n\nGenerated from protobuf message `google.rpc.LocalizedMessage`\n\nNamespace\n---------\n\nGoogle \\\\ Rpc\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getLocale\n\nThe locale used following the specification defined at\n\u003chttps://www.rfc-editor.org/rfc/bcp/bcp47.txt\u003e.\n\nExamples are: \"en-US\", \"fr-CH\", \"es-MX\"\n\n### setLocale\n\nThe locale used following the specification defined at\n\u003chttps://www.rfc-editor.org/rfc/bcp/bcp47.txt\u003e.\n\nExamples are: \"en-US\", \"fr-CH\", \"es-MX\"\n\n### getMessage\n\nThe localized error message in the above locale.\n\n### setMessage\n\nThe localized error message in the above locale."]]