google_api_datastore v0.2.0 GoogleApi.Datastore.V1.Model.Value View Source
A message that can hold any of the supported value types and associated metadata.
Attributes
- arrayValue (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`. Defaults to:
null
. - blobValue (binary()): 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. Defaults to:
null
. - booleanValue (boolean()): A boolean value. Defaults to:
null
. - doubleValue (float()): A double value. Defaults to:
null
. - entityValue (Entity): An entity value. - May have no key. - May have a key with an incomplete key path. - May have a reserved/read-only key. Defaults to:
null
. - excludeFromIndexes (boolean()): If the value should be excluded from all indexes including those defined explicitly. Defaults to:
null
. - geoPointValue (LatLng): A geo point value representing a point on the surface of Earth. Defaults to:
null
. - integerValue (String.t): An integer value. Defaults to:
null
. - keyValue (Key): A key value. Defaults to:
null
. - meaning (integer()): The `meaning` field should only be populated for backwards compatibility. Defaults to:
null
. nullValue (String.t): A null value. Defaults to:
null
.- Enum - one of [NULL_VALUE]
- stringValue (String.t): 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. Defaults to:
null
. - timestampValue (DateTime.t): A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Datastore.V1.Model.Value{
arrayValue: GoogleApi.Datastore.V1.Model.ArrayValue.t(),
blobValue: any(),
booleanValue: any(),
doubleValue: any(),
entityValue: GoogleApi.Datastore.V1.Model.Entity.t(),
excludeFromIndexes: any(),
geoPointValue: GoogleApi.Datastore.V1.Model.LatLng.t(),
integerValue: any(),
keyValue: GoogleApi.Datastore.V1.Model.Key.t(),
meaning: any(),
nullValue: any(),
stringValue: any(),
timestampValue: DateTime.t()
}
t() :: %GoogleApi.Datastore.V1.Model.Value{ arrayValue: GoogleApi.Datastore.V1.Model.ArrayValue.t(), blobValue: any(), booleanValue: any(), doubleValue: any(), entityValue: GoogleApi.Datastore.V1.Model.Entity.t(), excludeFromIndexes: any(), geoPointValue: GoogleApi.Datastore.V1.Model.LatLng.t(), integerValue: any(), keyValue: GoogleApi.Datastore.V1.Model.Key.t(), meaning: any(), nullValue: any(), stringValue: any(), timestampValue: DateTime.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.