Class: Google::Apis::SpannerV1::UpdateDatabaseDdlMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::UpdateDatabaseDdlMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/spanner_v1/classes.rb,
generated/google/apis/spanner_v1/representations.rb,
generated/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.
-
#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.
3707 3708 3709 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 3707 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
3686 3687 3688 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 3686 def @commit_timestamps end |
#database ⇒ String
The database being modified.
Corresponds to the JSON property database
3691 3692 3693 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 3691 def database @database 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
3697 3698 3699 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 3697 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
3704 3705 3706 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 3704 def throttled @throttled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3712 3713 3714 3715 3716 3717 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 3712 def update!(**args) @commit_timestamps = args[:commit_timestamps] if args.key?(:commit_timestamps) @database = args[:database] if args.key?(:database) @statements = args[:statements] if args.key?(:statements) @throttled = args[:throttled] if args.key?(:throttled) end |