# UpdateDatabaseDdlMetadata

- [JSON representation](https://docs.cloud.google.com/spanner/docs/reference/rest/v1/UpdateDatabaseDdlMetadata#SCHEMA_REPRESENTATION)

Metadata type for the operation returned by `https://docs.cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.databases/updateDdl#google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl`.

| JSON representation |
|---|
| ``` { "database": string, "statements": [ string ], "commitTimestamps": [ string ], "throttled": boolean, "progress": [ { object (`https://docs.cloud.google.com/spanner/docs/reference/rest/v1/OperationProgress`) } ], "actions": [ { object (`https://docs.cloud.google.com/spanner/docs/reference/rest/v1/DdlStatementActionInfo`) } ] } ``` |

| Fields ||
|---|---|
| `database` | `string` The database being modified. |
| `statements[]` | `string` For an update this list contains all the statements. For an individual statement, this list contains only that statement. |
| `commitTimestamps[]` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Reports the commit timestamps of all statements that have succeeded so far, where `commitTimestamps[i]` is the commit timestamp for the statement `statements[i]`. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `throttled` | `boolean` Output only. When true, indicates that the operation is throttled, for example, due to resource constraints. When resources become available the operation will resume and this field will be false again. |
| `progress[]` | ``object (`https://docs.cloud.google.com/spanner/docs/reference/rest/v1/OperationProgress`)`` The progress of the `https://docs.cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.databases/updateDdl#google.spanner.admin.database.v1.DatabaseAdmin.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. |
| `actions[]` | ``object (`https://docs.cloud.google.com/spanner/docs/reference/rest/v1/DdlStatementActionInfo`)`` The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`. |