View Source GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1Index (google_api_datastore v0.22.0)

Datastore composite index definition.

Attributes

  • ancestor (type: String.t, default: nil) - Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
  • indexId (type: String.t, default: nil) - Output only. The resource ID of the index.
  • kind (type: String.t, default: nil) - Required. The entity kind to which this index applies.
  • projectId (type: String.t, default: nil) - Output only. Project ID.
  • properties (type: list(GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1IndexedProperty.t), default: nil) - Required. An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties.
  • state (type: String.t, default: nil) - Output only. The state of the index.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1Index{
  ancestor: String.t() | nil,
  indexId: String.t() | nil,
  kind: String.t() | nil,
  projectId: String.t() | nil,
  properties:
    [GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1IndexedProperty.t()]
    | nil,
  state: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.