google_api_datastore v0.4.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 nil.
  • 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 nil.
  • 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 nil.

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: String.t(),
  kind: String.t(),
  name: String.t()
}

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.