class Google::Apis::DatastoreV1beta2::EntityResult
The result of fetching an entity from the datastore.
Attributes
entity[RW]
An entity. Corresponds to the JSON property `entity` @return [Google::Apis::DatastoreV1beta2::Entity]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/datastore_v1beta2/classes.rb, line 243 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/datastore_v1beta2/classes.rb, line 248 def update!(**args) @entity = args[:entity] if args.key?(:entity) end