View Source GoogleApi.Firestore.V1beta1.Model.GoogleFirestoreAdminV1beta1Index (google_api_firestore v0.27.0)

An index definition.

Attributes

  • collectionId (type: String.t, default: nil) - The collection ID to which this index applies. Required.
  • fields (type: list(GoogleApi.Firestore.V1beta1.Model.GoogleFirestoreAdminV1beta1IndexField.t), default: nil) - The fields to index.
  • name (type: String.t, default: nil) - The resource name of the index. Output only.
  • state (type: String.t, default: nil) - The state of the index. Output only.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Firestore.V1beta1.Model.GoogleFirestoreAdminV1beta1Index{
  collectionId: String.t() | nil,
  fields:
    [
      GoogleApi.Firestore.V1beta1.Model.GoogleFirestoreAdminV1beta1IndexField.t()
    ]
    | nil,
  name: String.t() | nil,
  state: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.