View Source GoogleApi.Datastore.V1.Model.Mutation (google_api_datastore v0.22.0)
A mutation to apply to an entity.
Attributes
-
baseVersion
(type:String.t
, default:nil
) - The version of the entity that this mutation is being applied to. If this does not match the current version on the server, the mutation conflicts. -
delete
(type:GoogleApi.Datastore.V1.Model.Key.t
, default:nil
) - The key of the entity to delete. The entity may or may not already exist. Must have a complete key path and must not be reserved/read-only. -
insert
(type:GoogleApi.Datastore.V1.Model.Entity.t
, default:nil
) - The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete. -
propertyMask
(type:GoogleApi.Datastore.V1.Model.PropertyMask.t
, default:nil
) - The properties to write in this mutation. None of the properties in the mask may have a reserved name, except for__key__
. This field is ignored fordelete
. If the entity already exists, only properties referenced in the mask are updated, others are left untouched. Properties referenced in the mask but not in the entity are deleted. -
update
(type:GoogleApi.Datastore.V1.Model.Entity.t
, default:nil
) - The entity to update. The entity must already exist. Must have a complete key path. -
updateTime
(type:DateTime.t
, default:nil
) - The update time of the entity that this mutation is being applied to. If this does not match the current update time on the server, the mutation conflicts. -
upsert
(type:GoogleApi.Datastore.V1.Model.Entity.t
, default:nil
) - The entity to upsert. The entity may or may not already exist. The entity key's final path element may be incomplete.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Datastore.V1.Model.Mutation{ baseVersion: String.t() | nil, delete: GoogleApi.Datastore.V1.Model.Key.t() | nil, insert: GoogleApi.Datastore.V1.Model.Entity.t() | nil, propertyMask: GoogleApi.Datastore.V1.Model.PropertyMask.t() | nil, update: GoogleApi.Datastore.V1.Model.Entity.t() | nil, updateTime: DateTime.t() | nil, upsert: GoogleApi.Datastore.V1.Model.Entity.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.