[[["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-09-09 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eStateMessage\u003c/code\u003e class within the Google Cloud Functions v2 API is version 1.7.0, and previous versions are available, ranging down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStateMessage\u003c/code\u003e is a class that provides informational messages about the state of a Cloud Function or Operation, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStateMessage\u003c/code\u003e class has two constructors, a default one and another one that takes a \u003ccode\u003eStateMessage\u003c/code\u003e object as parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eStateMessage\u003c/code\u003e contains properties such as \u003ccode\u003eMessage\u003c/code\u003e, \u003ccode\u003eSeverity\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e to provide details about the state message.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStateMessage\u003c/code\u003e resides in the \u003ccode\u003eGoogle.Cloud.Functions.V2\u003c/code\u003e namespace and its assembly file is \u003ccode\u003eGoogle.Cloud.Functions.V2.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Functions v2 API - Class StateMessage (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.StateMessage)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.6.0/Google.Cloud.Functions.V2.StateMessage)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.5.0/Google.Cloud.Functions.V2.StateMessage)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.4.0/Google.Cloud.Functions.V2.StateMessage)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.3.0/Google.Cloud.Functions.V2.StateMessage)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.2.0/Google.Cloud.Functions.V2.StateMessage)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.1.0/Google.Cloud.Functions.V2.StateMessage)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Functions.V2/1.0.0/Google.Cloud.Functions.V2.StateMessage) \n\n public sealed class StateMessage : IMessage\u003cStateMessage\u003e, IEquatable\u003cStateMessage\u003e, IDeepCloneable\u003cStateMessage\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Functions v2 API class StateMessage.\n\nInformational messages about the state of the Cloud Function or Operation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e StateMessage \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StateMessage](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.StateMessage), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StateMessage](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.StateMessage), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StateMessage](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.StateMessage), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Functions.V2](/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Functions.V2.dll\n\nConstructors\n------------\n\n### StateMessage()\n\n public StateMessage()\n\n### StateMessage(StateMessage)\n\n public StateMessage(StateMessage other)\n\nProperties\n----------\n\n### Message\n\n public string Message { get; set; }\n\nThe message.\n\n### Severity\n\n public StateMessage.Types.Severity Severity { get; set; }\n\nSeverity of the state message.\n\n### Type\n\n public string Type { get; set; }\n\nOne-word CamelCase type of the state message."]]