Class: Google::Apis::SpannerV1::UpdateDatabaseDdlMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::UpdateDatabaseDdlMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/spanner_v1/classes.rb,
lib/google/apis/spanner_v1/representations.rb,
lib/google/apis/spanner_v1/representations.rb
Overview
Metadata type for the operation returned by UpdateDatabaseDdl.
Instance Attribute Summary collapse
-
#commit_timestamps ⇒ Array<String>
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 ⇒ String
The database being modified.
-
#progress ⇒ Array<Google::Apis::SpannerV1::OperationProgress>
The progress of the UpdateDatabaseDdl operations.
-
#statements ⇒ Array<String>
For an update this list contains all the statements.
-
#throttled ⇒ Boolean
(also: #throttled?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateDatabaseDdlMetadata
constructor
A new instance of UpdateDatabaseDdlMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateDatabaseDdlMetadata
Returns a new instance of UpdateDatabaseDdlMetadata.
4668 4669 4670 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 4668 def initialize(**args) update!(**args) end |
Instance Attribute Details
#commit_timestamps ⇒ Array<String>
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].
Corresponds to the JSON property commitTimestamps
4637 4638 4639 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 4637 def @commit_timestamps end |
#database ⇒ String
The database being modified.
Corresponds to the JSON property database
4642 4643 4644 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 4642 def database @database end |
#progress ⇒ Array<Google::Apis::SpannerV1::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].
Corresponds to the JSON property progress
4652 4653 4654 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 4652 def progress @progress end |
#statements ⇒ Array<String>
For an update this list contains all the statements. For an individual
statement, this list contains only that statement.
Corresponds to the JSON property statements
4658 4659 4660 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 4658 def statements @statements end |
#throttled ⇒ Boolean Also known as: throttled?
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.
Corresponds to the JSON property throttled
4665 4666 4667 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 4665 def throttled @throttled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4673 4674 4675 4676 4677 4678 4679 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 4673 def update!(**args) @commit_timestamps = args[:commit_timestamps] if args.key?(:commit_timestamps) @database = args[:database] if args.key?(:database) @progress = args[:progress] if args.key?(:progress) @statements = args[:statements] if args.key?(:statements) @throttled = args[:throttled] if args.key?(:throttled) end |