GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1ImportDocumentsRequest (google_api_firestore v0.33.0)

View Source

The request for FirestoreAdmin.ImportDocuments.

Attributes

  • collectionIds (type: list(String.t), default: nil) - Which collection IDs to import. Unspecified means all collections included in the import. Each collection ID in this list must be unique.
  • inputUriPrefix (type: String.t, default: nil) - Location of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.
  • namespaceIds (type: list(String.t), default: nil) - An empty list represents all namespaces. This is the preferred usage for databases that don't use namespaces. An empty string element represents the default namespace. This should be used if the database has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1ImportDocumentsRequest{
    collectionIds: [String.t()] | nil,
    inputUriPrefix: String.t() | nil,
    namespaceIds: [String.t()] | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.