Cloud Spanner Database Admin V1 API - Class Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseDdlMetadata (v0.18.0)

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.

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

#actions=

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

#commit_timestamps

def commit_timestamps() -> ::Array<::Google::Protobuf::Timestamp>
Returns
  • (::Array<::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>) — 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>) — 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>) — 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.

#progress=

def progress=(value) -> ::Array<::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress>
Parameter
  • value (::Array<::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress>) — 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.
Returns
  • (::Array<::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress>) — 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

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.