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

Metadata type for the operation returned by UpdateDatabaseDdl.

Attributes

  • actions (type: list(GoogleApi.Spanner.V1.Model.DdlStatementActionInfo.t), default: nil) - The brief action info for the DDL statements. actions[i] is the brief info for statements[i].
  • 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. All DDL statements will have continuously updating progress, and progress[i] is the operation progress for statements[i]. Also, 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.
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.