google_api_firestore v0.13.0 GoogleApi.Firestore.V1beta1.Model.BatchGetDocumentsRequest View Source

The request for Firestore.BatchGetDocuments.

Attributes

  • documents (type: list(String.t), default: nil) - The names of the documents to retrieve. In the format: projects/{project_id}/databases/{database_id}/documents/{document_path}. The request will fail if any of the document is not a child resource of the given database. Duplicate names will be elided.

  • mask (type: GoogleApi.Firestore.V1beta1.Model.DocumentMask.t, default: nil) - The fields to return. If not set, returns all fields.

    If a document has a field that is not present in this mask, that field will not be returned in the response.

  • newTransaction (type: GoogleApi.Firestore.V1beta1.Model.TransactionOptions.t, default: nil) - Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.

  • readTime (type: DateTime.t, default: nil) - Reads documents as they were at the given time. This may not be older than 60 seconds.

  • transaction (type: String.t, default: nil) - Reads documents in a transaction.

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.Firestore.V1beta1.Model.BatchGetDocumentsRequest{
  documents: [String.t()],
  mask: GoogleApi.Firestore.V1beta1.Model.DocumentMask.t(),
  newTransaction: GoogleApi.Firestore.V1beta1.Model.TransactionOptions.t(),
  readTime: DateTime.t(),
  transaction: 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.