# Cloud Spanner Database Admin V1 API - Class Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseDdlMetadata (v1.14.0)

1.14.0 (latest) 1.13.1 1.12.0 1.11.1 1.10.0 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.1 1.0.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.1 0.15.0 0.14.2 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.6 Reference documentation and code samples for the Cloud Spanner Database Admin V1 API class Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseDdlMetadata.

Metadata type for the operation returned by
[UpdateDatabaseDdl](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-DatabaseAdmin-Client#Google__Cloud__Spanner__Admin__Database__V1__DatabaseAdmin__Client_update_database_ddl_instance_ "Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client#update_database_ddl (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #actions

    def actions() -> ::Array<::Google::Cloud::Spanner::Admin::Database::V1::DdlStatementActionInfo>

**Returns**

- (::Array\<[::Google::Cloud::Spanner::Admin::Database::V1::DdlStatementActionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-DdlStatementActionInfo)\>) --- The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`.

### #actions=

    def actions=(value) -> ::Array<::Google::Cloud::Spanner::Admin::Database::V1::DdlStatementActionInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Spanner::Admin::Database::V1::DdlStatementActionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-DdlStatementActionInfo)\>) --- The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`.
**Returns**

- (::Array\<[::Google::Cloud::Spanner::Admin::Database::V1::DdlStatementActionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-DdlStatementActionInfo)\>) --- The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`.

### #commit_timestamps

    def commit_timestamps() -> ::Array<::Google::Protobuf::Timestamp>

**Returns**

- (::Array\<[::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Protobuf-Timestamp)\>) --- 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]`.

### #commit_timestamps=

    def commit_timestamps=(value) -> ::Array<::Google::Protobuf::Timestamp>

**Parameter**

- **value** (::Array\<[::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Protobuf-Timestamp)\>) --- 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]`.
**Returns**

- (::Array\<[::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Protobuf-Timestamp)\>) --- 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

    def database() -> ::String

**Returns**

- (::String) --- The database being modified.

### #database=

    def database=(value) -> ::String

**Parameter**

- **value** (::String) --- The database being modified.
**Returns**

- (::String) --- The database being modified.

### #progress

    def progress() -> ::Array<::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress>

**Returns**

- (::Array\<[::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-OperationProgress)\>) --- The progress of the [UpdateDatabaseDdl](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-DatabaseAdmin-Client#Google__Cloud__Spanner__Admin__Database__V1__DatabaseAdmin__Client_update_database_ddl_instance_ "Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client#update_database_ddl (method)") 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.

### #progress=

    def progress=(value) -> ::Array<::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-OperationProgress)\>) --- The progress of the [UpdateDatabaseDdl](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-DatabaseAdmin-Client#Google__Cloud__Spanner__Admin__Database__V1__DatabaseAdmin__Client_update_database_ddl_instance_ "Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client#update_database_ddl (method)") 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.
**Returns**

- (::Array\<[::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-OperationProgress)\>) --- The progress of the [UpdateDatabaseDdl](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-DatabaseAdmin-Client#Google__Cloud__Spanner__Admin__Database__V1__DatabaseAdmin__Client_update_database_ddl_instance_ "Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client#update_database_ddl (method)") 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

    def statements() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- For an update this list contains all the statements. For an individual statement, this list contains only that statement.

### #statements=

    def statements=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- For an update this list contains all the statements. For an individual statement, this list contains only that statement.
**Returns**

- (::Array\<::String\>) --- For an update this list contains all the statements. For an individual statement, this list contains only that statement.

### #throttled

    def throttled() -> ::Boolean

**Returns**

- (::Boolean) --- 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.