google_api_datastore v0.4.0 GoogleApi.Datastore.V1.Model.Value View Source
A message that can hold any of the supported value types and associated metadata.
Attributes
arrayValue (GoogleApi.Datastore.V1.Model.ArrayValue.t): An array value. Cannot contain another array value. A
Value
instance that sets fieldarray_value
must not set fieldsmeaning
orexclude_from_indexes
. Defaults tonil
.blobValue (String.t): 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 tonil
.booleanValue (boolean()): A boolean value. Defaults to
nil
.doubleValue (float()): A double value. Defaults to
nil
.entityValue (GoogleApi.Datastore.V1.Model.Entity.t): 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
nil
.excludeFromIndexes (boolean()): If the value should be excluded from all indexes including those defined explicitly. Defaults to
nil
.geoPointValue (GoogleApi.Datastore.V1.Model.LatLng.t): A geo point value representing a point on the surface of Earth. Defaults to
nil
.integerValue (String.t): An integer value. Defaults to
nil
.keyValue (GoogleApi.Datastore.V1.Model.Key.t): A key value. Defaults to
nil
.meaning (integer()): The
meaning
field should only be populated for backwards compatibility. Defaults tonil
.nullValue (String.t): A null value. Defaults to
nil
.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 tonil
.timestampValue (DateTime.t): A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down. Defaults to
nil
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Source
t() :: %GoogleApi.Datastore.V1.Model.Value{
arrayValue: GoogleApi.Datastore.V1.Model.ArrayValue.t(),
blobValue: String.t(),
booleanValue: boolean(),
doubleValue: float(),
entityValue: GoogleApi.Datastore.V1.Model.Entity.t(),
excludeFromIndexes: boolean(),
geoPointValue: GoogleApi.Datastore.V1.Model.LatLng.t(),
integerValue: String.t(),
keyValue: GoogleApi.Datastore.V1.Model.Key.t(),
meaning: integer(),
nullValue: String.t(),
stringValue: String.t(),
timestampValue: DateTime.t()
}
t() :: %GoogleApi.Datastore.V1.Model.Value{ arrayValue: GoogleApi.Datastore.V1.Model.ArrayValue.t(), blobValue: String.t(), booleanValue: boolean(), doubleValue: float(), entityValue: GoogleApi.Datastore.V1.Model.Entity.t(), excludeFromIndexes: boolean(), geoPointValue: GoogleApi.Datastore.V1.Model.LatLng.t(), integerValue: String.t(), keyValue: GoogleApi.Datastore.V1.Model.Key.t(), meaning: integer(), nullValue: String.t(), stringValue: String.t(), timestampValue: DateTime.t() }
Link to this section Functions
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.