Show / Hide Table of Contents

Class Value

A message that can hold any of the supported value types.

Inheritance
object
Value
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Firestore.v1.Data
Assembly: Google.Apis.Firestore.v1.dll
Syntax
public class Value : IDirectResponseSchema

Properties

ArrayValue

An array value. Cannot directly contain another array value, though can contain a map which contains another array.

Declaration
[JsonProperty("arrayValue")]
public virtual ArrayValue ArrayValue { get; set; }
Property Value
Type Description
ArrayValue

BooleanValue

A boolean value.

Declaration
[JsonProperty("booleanValue")]
public virtual bool? BooleanValue { get; set; }
Property Value
Type Description
bool?

BytesValue

A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.

Declaration
[JsonProperty("bytesValue")]
public virtual string BytesValue { get; set; }
Property Value
Type Description
string

DoubleValue

A double value.

Declaration
[JsonProperty("doubleValue")]
public virtual double? DoubleValue { get; set; }
Property Value
Type Description
double?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

GeoPointValue

A geo point value representing a point on the surface of Earth.

Declaration
[JsonProperty("geoPointValue")]
public virtual LatLng GeoPointValue { get; set; }
Property Value
Type Description
LatLng

IntegerValue

An integer value.

Declaration
[JsonProperty("integerValue")]
public virtual long? IntegerValue { get; set; }
Property Value
Type Description
long?

MapValue

A map value.

Declaration
[JsonProperty("mapValue")]
public virtual MapValue MapValue { get; set; }
Property Value
Type Description
MapValue

NullValue

A null value.

Declaration
[JsonProperty("nullValue")]
public virtual string NullValue { get; set; }
Property Value
Type Description
string

ReferenceValue

A reference to a document. For example: projects/{project_id}/databases/{database_id}/documents/{document_path}.

Declaration
[JsonProperty("referenceValue")]
public virtual string ReferenceValue { get; set; }
Property Value
Type Description
string

StringValue

A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.

Declaration
[JsonProperty("stringValue")]
public virtual string StringValue { get; set; }
Property Value
Type Description
string

TimestampValue

object representation of TimestampValueRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use TimestampValueDateTimeOffset instead.")]
public virtual object TimestampValue { get; set; }
Property Value
Type Description
object

TimestampValueDateTimeOffset

DateTimeOffset representation of TimestampValueRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? TimestampValueDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

TimestampValueRaw

A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.

Declaration
[JsonProperty("timestampValue")]
public virtual string TimestampValueRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX