[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google.Cloud.Firestore.V1.Value API is 3.10.0, with previous versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class in the Firestore v1 API is a message type that can hold various supported value types.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class includes properties such as \u003ccode\u003eArrayValue\u003c/code\u003e, \u003ccode\u003eBooleanValue\u003c/code\u003e, \u003ccode\u003eBytesValue\u003c/code\u003e, \u003ccode\u003eDoubleValue\u003c/code\u003e, \u003ccode\u003eGeoPointValue\u003c/code\u003e, \u003ccode\u003eIntegerValue\u003c/code\u003e, \u003ccode\u003eMapValue\u003c/code\u003e, \u003ccode\u003eNullValue\u003c/code\u003e, \u003ccode\u003eReferenceValue\u003c/code\u003e, \u003ccode\u003eStringValue\u003c/code\u003e, and \u003ccode\u003eTimestampValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSeveral properties are available to check whether a specific field within the Value class is set, such as \u003ccode\u003eHasBooleanValue\u003c/code\u003e, \u003ccode\u003eHasBytesValue\u003c/code\u003e, and \u003ccode\u003eHasNullValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class also contains the \u003ccode\u003eValueTypeCase\u003c/code\u003e property, which indicates the specific type of value being held within the \u003ccode\u003eValue\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,["# Firestore v1 API - Class Value (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Value)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.9.0/Google.Cloud.Firestore.V1.Value)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.8.0/Google.Cloud.Firestore.V1.Value)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.7.0/Google.Cloud.Firestore.V1.Value)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.6.0/Google.Cloud.Firestore.V1.Value)\n- [3.5.1](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.5.1/Google.Cloud.Firestore.V1.Value)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.4.0/Google.Cloud.Firestore.V1.Value)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.3.0/Google.Cloud.Firestore.V1.Value)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.2.0/Google.Cloud.Firestore.V1.Value)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.1.0/Google.Cloud.Firestore.V1.Value)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.0.0/Google.Cloud.Firestore.V1.Value)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.5.0/Google.Cloud.Firestore.V1.Value)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.4.0/Google.Cloud.Firestore.V1.Value)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.3.0/Google.Cloud.Firestore.V1.Value) \n\n public sealed class Value : IMessage\u003cValue\u003e, IEquatable\u003cValue\u003e, IDeepCloneable\u003cValue\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Firestore v1 API class Value.\n\nA message that can hold any of the supported value types. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Value \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Value](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Value), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Value](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Value), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Value](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Value), [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.Firestore.V1](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Firestore.V1.dll\n\nConstructors\n------------\n\n### Value()\n\n public Value()\n\n### Value(Value)\n\n public Value(Value other)\n\nProperties\n----------\n\n### ArrayValue\n\n public ArrayValue ArrayValue { get; set; }\n\nAn array value.\n\nCannot directly contain another array value, though can contain a\nmap which contains another array.\n\n### BooleanValue\n\n public bool BooleanValue { get; set; }\n\nA boolean value.\n\n### BytesValue\n\n public ByteString BytesValue { get; set; }\n\nA bytes value.\n\nMust not exceed 1 MiB - 89 bytes.\nOnly the first 1,500 bytes are considered by queries.\n\n### DoubleValue\n\n public double DoubleValue { get; set; }\n\nA double value.\n\n### GeoPointValue\n\n public LatLng GeoPointValue { get; set; }\n\nA geo point value representing a point on the surface of Earth.\n\n### HasBooleanValue\n\n public bool HasBooleanValue { get; }\n\nGets whether the \"boolean_value\" field is set\n\n### HasBytesValue\n\n public bool HasBytesValue { get; }\n\nGets whether the \"bytes_value\" field is set\n\n### HasDoubleValue\n\n public bool HasDoubleValue { get; }\n\nGets whether the \"double_value\" field is set\n\n### HasIntegerValue\n\n public bool HasIntegerValue { get; }\n\nGets whether the \"integer_value\" field is set\n\n### HasNullValue\n\n public bool HasNullValue { get; }\n\nGets whether the \"null_value\" field is set\n\n### HasReferenceValue\n\n public bool HasReferenceValue { get; }\n\nGets whether the \"reference_value\" field is set\n\n### HasStringValue\n\n public bool HasStringValue { get; }\n\nGets whether the \"string_value\" field is set\n\n### IntegerValue\n\n public long IntegerValue { get; set; }\n\nAn integer value.\n\n### MapValue\n\n public MapValue MapValue { get; set; }\n\nA map value.\n\n### NullValue\n\n public NullValue NullValue { get; set; }\n\nA null value.\n\n### ReferenceValue\n\n public string ReferenceValue { get; set; }\n\nA reference to a document. For example:\n`projects/{project_id}/databases/{database_id}/documents/{document_path}`.\n\n### StringValue\n\n public string StringValue { get; set; }\n\nA string value.\n\nThe string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.\nOnly the first 1,500 bytes of the UTF-8 representation are considered by\nqueries.\n\n### TimestampValue\n\n public Timestamp TimestampValue { get; set; }\n\nA timestamp value.\n\nPrecise only to microseconds. When stored, any additional precision is\nrounded down.\n\n### ValueTypeCase\n\n public Value.ValueTypeOneofCase ValueTypeCase { get; }"]]