GoogleApi.Spanner.V1.Model.UpdateDatabaseDdlMetadata (google_api_spanner v0.32.0) View Source

Metadata type for the operation returned by UpdateDatabaseDdl.


  • commitTimestamps (type: list(DateTime.t), default: nil) - Reports the commit timestamps of all statements that have succeeded so far, where commit_timestamps[i] is the commit timestamp for the statement statements[i].
  • database (type: String.t, default: nil) - The database being modified.
  • progress (type: list(GoogleApi.Spanner.V1.Model.OperationProgress.t), default: nil) - The progress of the UpdateDatabaseDdl operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, progress[i] will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed. progress[i] is the operation progress for statements[i].
  • statements (type: list(String.t), default: nil) - For an update this list contains all the statements. For an individual statement, this list contains only that statement.
  • throttled (type: boolean(), default: nil) - Output only. When true, indicates that the operation is throttled e.g due to resource constraints. When resources become available the operation will resume and this field will be false again.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Spanner.V1.Model.UpdateDatabaseDdlMetadata{
  commitTimestamps: [DateTime.t()] | nil,
  database: String.t() | nil,
  progress: [GoogleApi.Spanner.V1.Model.OperationProgress.t()] | nil,
  statements: [String.t()] | nil,
  throttled: boolean() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.