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
-
(::Array<::Google::Cloud::Spanner::Admin::Database::V1::DdlStatementActionInfo>) — The brief action info for the DDL statements.
actions[i]
is the brief info forstatements[i]
.
#actions=
def actions=(value) -> ::Array<::Google::Cloud::Spanner::Admin::Database::V1::DdlStatementActionInfo>
Parameter
-
value (::Array<::Google::Cloud::Spanner::Admin::Database::V1::DdlStatementActionInfo>) — The brief action info for the DDL statements.
actions[i]
is the brief info forstatements[i]
.
Returns
-
(::Array<::Google::Cloud::Spanner::Admin::Database::V1::DdlStatementActionInfo>) — The brief action info for the DDL statements.
actions[i]
is the brief info forstatements[i]
.
#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 statementstatements[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 statementstatements[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 statementstatements[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 forstatements[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 forstatements[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 forstatements[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.