View Source GoogleApi.FirebaseDatabase.V1beta.Model.DatabaseInstance (google_api_firebase_database v0.4.0)

Representation of a Realtime Database instance. Details on interacting with contents of a DatabaseInstance can be found at: https://firebase.google.com/docs/database/rest/start.

Attributes

  • databaseUrl (type: String.t, default: nil) - Output only. Output Only. The globally unique hostname of the database.
  • name (type: String.t, default: nil) - The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}.
  • project (type: String.t, default: nil) - Output only. The resource name of the project this instance belongs to. For example: projects/{project-number}.
  • state (type: String.t, default: nil) - Output only. The database's lifecycle state. Read-only.
  • type (type: String.t, default: nil) - Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.FirebaseDatabase.V1beta.Model.DatabaseInstance{
  databaseUrl: String.t() | nil,
  name: String.t() | nil,
  project: String.t() | nil,
  state: String.t() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.