Class Value
A message that can hold any of the supported value types and associated metadata.
Inheritance
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 |
|---|---|
| System.String |
BooleanValue
A boolean value.
Declaration
[JsonProperty("booleanValue")]
public virtual bool? BooleanValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
DoubleValue
A double value.
Declaration
[JsonProperty("doubleValue")]
public virtual double? DoubleValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |
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 |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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 |
|---|---|
| System.Nullable<System.Boolean> |
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 |
|---|---|
| System.Nullable<System.Int64> |
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 |
|---|---|
| System.Nullable<System.Int32> |
NullValue
A null value.
Declaration
[JsonProperty("nullValue")]
public virtual string NullValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.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 least 1,000,000 bytes.
Declaration
[JsonProperty("stringValue")]
public virtual string StringValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TimestampValue
A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
Declaration
[JsonProperty("timestampValue")]
public virtual object TimestampValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object |