View Source GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1Database (google_api_firestore v0.23.0)

A Cloud Firestore Database. Currently only one database is allowed per cloud project; this database must have a database_id of '(default)'.

Attributes

  • concurrencyMode (type: String.t, default: nil) - The concurrency control mode to use for this database.
  • etag (type: String.t, default: nil) - This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
  • locationId (type: String.t, default: nil) - The location of the database. Available databases are listed at https://cloud.google.com/firestore/docs/locations.
  • name (type: String.t, default: nil) - The resource name of the Database. Format: projects/{project}/databases/{database}
  • type (type: String.t, default: nil) - The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1Database{
  concurrencyMode: String.t() | nil,
  etag: String.t() | nil,
  locationId: String.t() | nil,
  name: String.t() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.