google_api_spanner v0.2.0 GoogleApi.Spanner.V1.Model.Database View Source

A Cloud Spanner database.

Attributes

  • name (String.t): Required. The name of the database. Values are of the form `projects/<project>/instances/<instance>/databases/<database>`, where `<database>` is as specified in the `CREATE DATABASE` statement. This name can be passed to other API methods to identify the database. Defaults to: null.
  • state (String.t): Output only. The current database state. Defaults to: null.

    • Enum - one of [STATE_UNSPECIFIED, CREATING, READY]

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.Spanner.V1.Model.Database{name: any(), state: any()}

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.