google_api_datastore v0.2.0 GoogleApi.Datastore.V1.Model.PathElement View Source

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.

Attributes

  • id (String.t): 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. Defaults to: null.
  • kind (String.t): 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 `""`. Defaults to: null.
  • name (String.t): 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 `""`. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Datastore.V1.Model.PathElement{
  id: any(),
  kind: any(),
  name: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.