Delete Entity

cloud_datastore.delete
ActionGoogle Cloudconnection required

Calls Datastore REST POST /projects/{project}:commit (NON_TRANSACTIONAL delete).

Delete a Datastore entity by key.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Cloud Datastore
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, database_id
Resolved by
config.connection_id, else node.connection_id

Configuration

6 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
database_id
Datastore database id (blank = default; overrides connection).
stringNo———
kind
Entity kind; the call is refused without it.
stringYes———
name
Key name (string id). Use this or 'id'.
stringNo———
id
Key numeric id. Use this or 'name'.
stringNo———
namespace
Namespace (optional).
stringNo———
  • At least one of name, id must be set.

Output

One shape.

result

FieldTypeExample
ok
boolean—
key
object—
{
  "key": {},
  "ok": false
}

Related Google Cloud Datastore nodes

See Delete Entity run in a workflow.

In a technical demo we add the Google Cloud Datastore connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.