The result of fetching an entity from Datastore.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cursor
def cursor() -> ::String
-
(::String) — A cursor that points to the position after the result entity.
Set only when the
EntityResult
is part of aQueryResultBatch
message.
#cursor=
def cursor=(value) -> ::String
-
value (::String) — A cursor that points to the position after the result entity.
Set only when the
EntityResult
is part of aQueryResultBatch
message.
-
(::String) — A cursor that points to the position after the result entity.
Set only when the
EntityResult
is part of aQueryResultBatch
message.
#entity
def entity() -> ::Google::Cloud::Datastore::V1::Entity
- (::Google::Cloud::Datastore::V1::Entity) — The resulting entity.
#entity=
def entity=(value) -> ::Google::Cloud::Datastore::V1::Entity
- value (::Google::Cloud::Datastore::V1::Entity) — The resulting entity.
- (::Google::Cloud::Datastore::V1::Entity) — The resulting entity.
#version
def version() -> ::Integer
-
(::Integer) — The version of the entity, a strictly positive number that monotonically
increases with changes to the entity.
This field is set for
FULL
entity results.For missing entities in
LookupResponse
, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.
#version=
def version=(value) -> ::Integer
-
value (::Integer) — The version of the entity, a strictly positive number that monotonically
increases with changes to the entity.
This field is set for
FULL
entity results.For missing entities in
LookupResponse
, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.
-
(::Integer) — The version of the entity, a strictly positive number that monotonically
increases with changes to the entity.
This field is set for
FULL
entity results.For missing entities in
LookupResponse
, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.