View Source GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1IndexOperationMetadata (google_api_firestore v0.27.0)

Metadata for google.longrunning.Operation results from FirestoreAdmin.CreateIndex.

Attributes

  • endTime (type: DateTime.t, default: nil) - The time this operation completed. Will be unset if operation still in progress.
  • index (type: String.t, default: nil) - The index resource that this operation is acting on. For example: projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}
  • progressBytes (type: GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1Progress.t, default: nil) - The progress, in bytes, of this operation.
  • progressDocuments (type: GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1Progress.t, default: nil) - The progress, in documents, of this operation.
  • startTime (type: DateTime.t, default: nil) - The time this operation started.
  • state (type: String.t, default: nil) - The state of the operation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1IndexOperationMetadata{
    endTime: DateTime.t() | nil,
    index: String.t() | nil,
    progressBytes:
      GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1Progress.t() | nil,
    progressDocuments:
      GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1Progress.t() | nil,
    startTime: DateTime.t() | nil,
    state: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.