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
#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.
Currently, only index creation statements will have a continuously
updating progress.
For non-index creation statements,
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[i]
is the operation progress forstatements[i]
.
#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.
Currently, only index creation statements will have a continuously
updating progress.
For non-index creation statements,
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[i]
is the operation progress forstatements[i]
.
Returns
-
(::Array<::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress>) — The progress of the
UpdateDatabaseDdl operations.
Currently, only index creation statements will have a continuously
updating progress.
For non-index creation statements,
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[i]
is the operation progress forstatements[i]
.
#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.