Skip to main content
Module

x/google_datastore/types.d.ts>PathElement

A set of APIs that allow interfacing to Google Datastore on GCP from Deno.
Go to Latest
interface PathElement
import { type PathElement } from "https://deno.land/x/google_datastore@0.0.14/types.d.ts";

A (kind, ID/name) pair used to construct a key path.

If either name or ID is set, the element is complete. If neither is set, the element is incomplete.

Properties

optional
id: string

The auto-allocated ID of the entity.

Never equal to zero. Values less than zero are discouraged and may not be supported in the future.

kind: string

The kind of the entity. A kind matching regex __.*__ is reserved/read-only.

A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be "".

optional
name: string

The name of the entity.

A name matching regex __.*__ is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be "".