Class: Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseDdlMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb

Overview

Metadata type for the operation returned by UpdateDatabaseDdl.

Instance Attribute Summary collapse

Instance Attribute Details

#commit_timestamps::Array<::Google::Protobuf::Timestamp>

Returns 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].



274
275
276
277
# File 'proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb', line 274

class UpdateDatabaseDdlMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#database::String

Returns The database being modified.

Returns:

  • (::String)

    The database being modified.



274
275
276
277
# File 'proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb', line 274

class UpdateDatabaseDdlMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#progress::Array<::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress>

Returns 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 for statements[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 for statements[i].



274
275
276
277
# File 'proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb', line 274

class UpdateDatabaseDdlMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#statements::Array<::String>

Returns 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.



274
275
276
277
# File 'proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb', line 274

class UpdateDatabaseDdlMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#throttled::Boolean (readonly)

Returns 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.

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.



274
275
276
277
# File 'proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb', line 274

class UpdateDatabaseDdlMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end