Class Value
A message that can hold any of the supported value types and associated metadata.
Implements
Inherited Members
Namespace: Google.Apis.Datastore.v1.Data
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class Value : IDirectResponseSchema
Properties
ArrayValue
An array value. Cannot contain another array value. A Value
instance that sets field array_value
must
not set fields meaning
or exclude_from_indexes
.
Declaration
[JsonProperty("arrayValue")]
public virtual ArrayValue ArrayValue { get; set; }
Property Value
Type | Description |
---|---|
ArrayValue |
BlobValue
A blob value. May have at most 1,000,000 bytes. When exclude_from_indexes
is false, may have at most 1500
bytes. In JSON requests, must be base64-encoded.
Declaration
[JsonProperty("blobValue")]
public virtual string BlobValue { get; set; }
Property Value
Type | Description |
---|---|
string |
BooleanValue
A boolean value.
Declaration
[JsonProperty("booleanValue")]
public virtual bool? BooleanValue { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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 |
EntityValue
An entity value. - May have no key. - May have a key with an incomplete key path. - May have a reserved/read-only key.
Declaration
[JsonProperty("entityValue")]
public virtual Entity EntityValue { get; set; }
Property Value
Type | Description |
---|---|
Entity |
ExcludeFromIndexes
If the value should be excluded from all indexes including those defined explicitly.
Declaration
[JsonProperty("excludeFromIndexes")]
public virtual bool? ExcludeFromIndexes { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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? |
KeyValue
A key value.
Declaration
[JsonProperty("keyValue")]
public virtual Key KeyValue { get; set; }
Property Value
Type | Description |
---|---|
Key |
Meaning
The meaning
field should only be populated for backwards compatibility.
Declaration
[JsonProperty("meaning")]
public virtual int? Meaning { get; set; }
Property Value
Type | Description |
---|---|
int? |
NullValue
A null value.
Declaration
[JsonProperty("nullValue")]
public virtual string NullValue { get; set; }
Property Value
Type | Description |
---|---|
string |
StringValue
A UTF-8 encoded string value. When exclude_from_indexes
is false (it is indexed) , may have at most 1500
bytes. Otherwise, may be set to at most 1,000,000 bytes.
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. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
Declaration
[JsonProperty("timestampValue")]
public virtual string TimestampValueRaw { get; set; }
Property Value
Type | Description |
---|---|
string |