class Google::Apis::SpannerV1::UpdateDatabaseDdlMetadata
Metadata type for the operation returned by UpdateDatabaseDdl.
Attributes
Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps` is the commit timestamp for the statement ` statements`. Corresponds to the JSON property `commitTimestamps` @return [Array<String>]
The database being modified. Corresponds to the JSON property `database` @return [String]
The progress of the UpdateDatabaseDdl operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `progress` 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` is the operation progress for ` statements`. Corresponds to the JSON property `progress` @return [Array<Google::Apis::SpannerV1::OperationProgress>]
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` @return [Array<String>]
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` @return [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. Corresponds to the JSON property `throttled` @return [Boolean]
Public Class Methods
# File lib/google/apis/spanner_v1/classes.rb, line 4625 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 4630 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