google-apis-spanner_v1 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d2fdc362ea9ccbcf33b9234e1128298167bfc5b681ed05c2b146892d4a12adf
4
- data.tar.gz: 4652b768176472da6fa3742b6b947bed6682e460b85777c1f9ed569baa61dd58
3
+ metadata.gz: 16ee9dfab17781a712647d831357dc212e9fa0771e181a1a08eb5a1914bd7180
4
+ data.tar.gz: 428717e3791a2c7e8a14bc4c551e09ebb25702632b2a8cafc112b6307ac3d9e1
5
5
  SHA512:
6
- metadata.gz: 6112ac00d9e5f291b543d05a8dc1e92dbfc4ec4af92d25f17b8897f933ba39cf6dfd5c1b7ef4d9b8e2f162c89e38486981dfb52059900b6e62810cbc073a1002
7
- data.tar.gz: 3505dbe22c9c699c1bc9ad822fe1841498ea3e4a54bd6e39b05baf789988661f2af638fbffa2c984d9f7db2b72f45d9b53b1a953365f399e0ef061098b14e868
6
+ metadata.gz: d7ce784ed3d25c857dd4cceb18f257a75668899673cc434eb0449c5e9e9524a1b3c672e73549f502b8842da03ab24fac0c80f19bf965619d363a2024f6737f9b
7
+ data.tar.gz: 178e38aa8a6ebc84fc4e4d8cb1f9e3c1b9f3151145924e1e8bd65b806b8925f31bbfe8ad2f95ef85e713acf0f6ea33b477f63d3893ac1fc722893d4889141ae4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-spanner_v1
2
2
 
3
+ ### v0.13.0 (2021-06-17)
4
+
5
+ * Regenerated from discovery document revision 20210611
6
+
3
7
  ### v0.12.0 (2021-06-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20210603
@@ -201,12 +201,12 @@ module Google
201
201
  class BeginTransactionRequest
202
202
  include Google::Apis::Core::Hashable
203
203
 
204
- # # Transactions Each session can have at most one active transaction at a time (
204
+ # Transactions: Each session can have at most one active transaction at a time (
205
205
  # note that standalone reads and queries use a transaction internally and do
206
206
  # count towards the one transaction limit). After the active transaction is
207
207
  # completed, the session can immediately be re-used for the next transaction. It
208
- # is not necessary to create a new session for each transaction. # Transaction
209
- # Modes Cloud Spanner supports three transaction modes: 1. Locking read-write.
208
+ # is not necessary to create a new session for each transaction. Transaction
209
+ # Modes: Cloud Spanner supports three transaction modes: 1. Locking read-write.
210
210
  # This type of transaction is the only way to write data into Cloud Spanner.
211
211
  # These transactions rely on pessimistic locking and, if necessary, two-phase
212
212
  # commit. Locking read-write transactions may abort, requiring the application
@@ -224,8 +224,8 @@ module Google
224
224
  # transactions. As a consequence of not taking locks, they also do not abort, so
225
225
  # retry loops are not needed. Transactions may only read/write data in a single
226
226
  # database. They may, however, read/write data in different tables within that
227
- # database. ## Locking Read-Write Transactions Locking transactions may be used
228
- # to atomically read-modify-write data anywhere in a database. This type of
227
+ # database. Locking Read-Write Transactions: Locking transactions may be used to
228
+ # atomically read-modify-write data anywhere in a database. This type of
229
229
  # transaction is externally consistent. Clients should attempt to minimize the
230
230
  # amount of time a transaction is active. Faster transactions commit with higher
231
231
  # probability and cause less contention. Cloud Spanner attempts to keep read
@@ -234,7 +234,7 @@ module Google
234
234
  # inactivity at the client may cause Cloud Spanner to release a transaction's
235
235
  # locks and abort it. Conceptually, a read-write transaction consists of zero or
236
236
  # more reads or SQL statements followed by Commit. At any time before Commit,
237
- # the client can send a Rollback request to abort the transaction. ## Semantics
237
+ # the client can send a Rollback request to abort the transaction. Semantics:
238
238
  # Cloud Spanner can commit the transaction if all read locks it acquired are
239
239
  # still valid at commit time, and it is able to acquire write locks for all
240
240
  # writes. Cloud Spanner can abort the transaction for any reason. If a commit
@@ -242,24 +242,24 @@ module Google
242
242
  # not modified any user data in Cloud Spanner. Unless the transaction commits,
243
243
  # Cloud Spanner makes no guarantees about how long the transaction's locks were
244
244
  # held for. It is an error to use Cloud Spanner locks for any sort of mutual
245
- # exclusion other than between Cloud Spanner transactions themselves. ##
246
- # Retrying Aborted Transactions When a transaction aborts, the application can
247
- # choose to retry the whole transaction again. To maximize the chances of
248
- # successfully committing the retry, the client should execute the retry in the
249
- # same session as the original attempt. The original session's lock priority
250
- # increases with each consecutive abort, meaning that each attempt has a
251
- # slightly better chance of success than the previous. Under some circumstances (
252
- # e.g., many transactions attempting to modify the same row(s)), a transaction
253
- # can abort many times in a short period before successfully committing. Thus,
254
- # it is not a good idea to cap the number of retries a transaction can attempt;
255
- # instead, it is better to limit the total amount of wall time spent retrying. ##
256
- # Idle Transactions A transaction is considered idle if it has no outstanding
257
- # reads or SQL queries and has not started a read or SQL query within the last
258
- # 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don'
259
- # t hold on to locks indefinitely. In that case, the commit will fail with error
260
- # `ABORTED`. If this behavior is undesirable, periodically executing a simple
261
- # SQL query in the transaction (e.g., `SELECT 1`) prevents the transaction from
262
- # becoming idle. ## Snapshot Read-Only Transactions Snapshot read-only
245
+ # exclusion other than between Cloud Spanner transactions themselves. Retrying
246
+ # Aborted Transactions: When a transaction aborts, the application can choose to
247
+ # retry the whole transaction again. To maximize the chances of successfully
248
+ # committing the retry, the client should execute the retry in the same session
249
+ # as the original attempt. The original session's lock priority increases with
250
+ # each consecutive abort, meaning that each attempt has a slightly better chance
251
+ # of success than the previous. Under some circumstances (e.g., many
252
+ # transactions attempting to modify the same row(s)), a transaction can abort
253
+ # many times in a short period before successfully committing. Thus, it is not a
254
+ # good idea to cap the number of retries a transaction can attempt; instead, it
255
+ # is better to limit the total amount of wall time spent retrying. Idle
256
+ # Transactions: A transaction is considered idle if it has no outstanding reads
257
+ # or SQL queries and has not started a read or SQL query within the last 10
258
+ # seconds. Idle transactions can be aborted by Cloud Spanner so that they don't
259
+ # hold on to locks indefinitely. In that case, the commit will fail with error `
260
+ # ABORTED`. If this behavior is undesirable, periodically executing a simple SQL
261
+ # query in the transaction (e.g., `SELECT 1`) prevents the transaction from
262
+ # becoming idle. Snapshot Read-Only Transactions: Snapshot read-only
263
263
  # transactions provides a simpler method than locking read-write transactions
264
264
  # for doing several consistent reads. However, this type of transaction does not
265
265
  # support writes. Snapshot transactions do not take locks. Instead, they work by
@@ -277,15 +277,15 @@ module Google
277
277
  # is geographically distributed, stale read-only transactions can execute more
278
278
  # quickly than strong or read-write transaction, because they are able to
279
279
  # execute far from the leader replica. Each type of timestamp bound is discussed
280
- # in detail below. ## Strong Strong reads are guaranteed to see the effects of
281
- # all transactions that have committed before the start of the read. Furthermore,
280
+ # in detail below. Strong: Strong reads are guaranteed to see the effects of all
281
+ # transactions that have committed before the start of the read. Furthermore,
282
282
  # all rows yielded by a single read are consistent with each other -- if any
283
283
  # part of the read observes a transaction, all parts of the read see the
284
284
  # transaction. Strong reads are not repeatable: two consecutive strong read-only
285
285
  # transactions might return inconsistent results if there are concurrent writes.
286
286
  # If consistency across reads is required, the reads should be executed within a
287
287
  # transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
288
- # strong. ## Exact Staleness These timestamp bounds execute reads at a user-
288
+ # strong. Exact Staleness: These timestamp bounds execute reads at a user-
289
289
  # specified timestamp. Reads at a timestamp are guaranteed to see a consistent
290
290
  # prefix of the global transaction history: they observe modifications done by
291
291
  # all transactions with a commit timestamp <= the read timestamp, and observe
@@ -297,8 +297,8 @@ module Google
297
297
  # to pick a timestamp. As a result, they execute slightly faster than the
298
298
  # equivalent boundedly stale concurrency modes. On the other hand, boundedly
299
299
  # stale reads usually return fresher results. See TransactionOptions.ReadOnly.
300
- # read_timestamp and TransactionOptions.ReadOnly.exact_staleness. ## Bounded
301
- # Staleness Bounded staleness modes allow Cloud Spanner to pick the read
300
+ # read_timestamp and TransactionOptions.ReadOnly.exact_staleness. Bounded
301
+ # Staleness: Bounded staleness modes allow Cloud Spanner to pick the read
302
302
  # timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses
303
303
  # the newest timestamp within the staleness bound that allows execution of the
304
304
  # reads at the closest available replica without blocking. All rows yielded are
@@ -315,15 +315,15 @@ module Google
315
315
  # timestamp negotiation requires up-front knowledge of which rows will be read,
316
316
  # it can only be used with single-use read-only transactions. See
317
317
  # TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.
318
- # min_read_timestamp. ## Old Read Timestamps and Garbage Collection Cloud
319
- # Spanner continuously garbage collects deleted and overwritten data in the
320
- # background to reclaim storage space. This process is known as "version GC". By
321
- # default, version GC reclaims versions after they are one hour old. Because of
322
- # this, Cloud Spanner cannot perform reads at read timestamps more than one hour
323
- # in the past. This restriction also applies to in-progress reads and/or SQL
318
+ # min_read_timestamp. Old Read Timestamps and Garbage Collection: Cloud Spanner
319
+ # continuously garbage collects deleted and overwritten data in the background
320
+ # to reclaim storage space. This process is known as "version GC". By default,
321
+ # version GC reclaims versions after they are one hour old. Because of this,
322
+ # Cloud Spanner cannot perform reads at read timestamps more than one hour in
323
+ # the past. This restriction also applies to in-progress reads and/or SQL
324
324
  # queries whose timestamp become too old while executing. Reads and SQL queries
325
- # with too-old read timestamps fail with the error `FAILED_PRECONDITION`. ##
326
- # Partitioned DML Transactions Partitioned DML transactions are used to execute
325
+ # with too-old read timestamps fail with the error `FAILED_PRECONDITION`.
326
+ # Partitioned DML Transactions: Partitioned DML transactions are used to execute
327
327
  # DML statements with a different execution strategy that provides different,
328
328
  # and often better, scalability properties for large, table-wide operations than
329
329
  # DML in a ReadWrite transaction. Smaller scoped statements, such as an OLTP
@@ -512,12 +512,12 @@ module Google
512
512
  attr_accessor :return_commit_stats
513
513
  alias_method :return_commit_stats?, :return_commit_stats
514
514
 
515
- # # Transactions Each session can have at most one active transaction at a time (
515
+ # Transactions: Each session can have at most one active transaction at a time (
516
516
  # note that standalone reads and queries use a transaction internally and do
517
517
  # count towards the one transaction limit). After the active transaction is
518
518
  # completed, the session can immediately be re-used for the next transaction. It
519
- # is not necessary to create a new session for each transaction. # Transaction
520
- # Modes Cloud Spanner supports three transaction modes: 1. Locking read-write.
519
+ # is not necessary to create a new session for each transaction. Transaction
520
+ # Modes: Cloud Spanner supports three transaction modes: 1. Locking read-write.
521
521
  # This type of transaction is the only way to write data into Cloud Spanner.
522
522
  # These transactions rely on pessimistic locking and, if necessary, two-phase
523
523
  # commit. Locking read-write transactions may abort, requiring the application
@@ -535,8 +535,8 @@ module Google
535
535
  # transactions. As a consequence of not taking locks, they also do not abort, so
536
536
  # retry loops are not needed. Transactions may only read/write data in a single
537
537
  # database. They may, however, read/write data in different tables within that
538
- # database. ## Locking Read-Write Transactions Locking transactions may be used
539
- # to atomically read-modify-write data anywhere in a database. This type of
538
+ # database. Locking Read-Write Transactions: Locking transactions may be used to
539
+ # atomically read-modify-write data anywhere in a database. This type of
540
540
  # transaction is externally consistent. Clients should attempt to minimize the
541
541
  # amount of time a transaction is active. Faster transactions commit with higher
542
542
  # probability and cause less contention. Cloud Spanner attempts to keep read
@@ -545,7 +545,7 @@ module Google
545
545
  # inactivity at the client may cause Cloud Spanner to release a transaction's
546
546
  # locks and abort it. Conceptually, a read-write transaction consists of zero or
547
547
  # more reads or SQL statements followed by Commit. At any time before Commit,
548
- # the client can send a Rollback request to abort the transaction. ## Semantics
548
+ # the client can send a Rollback request to abort the transaction. Semantics:
549
549
  # Cloud Spanner can commit the transaction if all read locks it acquired are
550
550
  # still valid at commit time, and it is able to acquire write locks for all
551
551
  # writes. Cloud Spanner can abort the transaction for any reason. If a commit
@@ -553,24 +553,24 @@ module Google
553
553
  # not modified any user data in Cloud Spanner. Unless the transaction commits,
554
554
  # Cloud Spanner makes no guarantees about how long the transaction's locks were
555
555
  # held for. It is an error to use Cloud Spanner locks for any sort of mutual
556
- # exclusion other than between Cloud Spanner transactions themselves. ##
557
- # Retrying Aborted Transactions When a transaction aborts, the application can
558
- # choose to retry the whole transaction again. To maximize the chances of
559
- # successfully committing the retry, the client should execute the retry in the
560
- # same session as the original attempt. The original session's lock priority
561
- # increases with each consecutive abort, meaning that each attempt has a
562
- # slightly better chance of success than the previous. Under some circumstances (
563
- # e.g., many transactions attempting to modify the same row(s)), a transaction
564
- # can abort many times in a short period before successfully committing. Thus,
565
- # it is not a good idea to cap the number of retries a transaction can attempt;
566
- # instead, it is better to limit the total amount of wall time spent retrying. ##
567
- # Idle Transactions A transaction is considered idle if it has no outstanding
568
- # reads or SQL queries and has not started a read or SQL query within the last
569
- # 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don'
570
- # t hold on to locks indefinitely. In that case, the commit will fail with error
571
- # `ABORTED`. If this behavior is undesirable, periodically executing a simple
572
- # SQL query in the transaction (e.g., `SELECT 1`) prevents the transaction from
573
- # becoming idle. ## Snapshot Read-Only Transactions Snapshot read-only
556
+ # exclusion other than between Cloud Spanner transactions themselves. Retrying
557
+ # Aborted Transactions: When a transaction aborts, the application can choose to
558
+ # retry the whole transaction again. To maximize the chances of successfully
559
+ # committing the retry, the client should execute the retry in the same session
560
+ # as the original attempt. The original session's lock priority increases with
561
+ # each consecutive abort, meaning that each attempt has a slightly better chance
562
+ # of success than the previous. Under some circumstances (e.g., many
563
+ # transactions attempting to modify the same row(s)), a transaction can abort
564
+ # many times in a short period before successfully committing. Thus, it is not a
565
+ # good idea to cap the number of retries a transaction can attempt; instead, it
566
+ # is better to limit the total amount of wall time spent retrying. Idle
567
+ # Transactions: A transaction is considered idle if it has no outstanding reads
568
+ # or SQL queries and has not started a read or SQL query within the last 10
569
+ # seconds. Idle transactions can be aborted by Cloud Spanner so that they don't
570
+ # hold on to locks indefinitely. In that case, the commit will fail with error `
571
+ # ABORTED`. If this behavior is undesirable, periodically executing a simple SQL
572
+ # query in the transaction (e.g., `SELECT 1`) prevents the transaction from
573
+ # becoming idle. Snapshot Read-Only Transactions: Snapshot read-only
574
574
  # transactions provides a simpler method than locking read-write transactions
575
575
  # for doing several consistent reads. However, this type of transaction does not
576
576
  # support writes. Snapshot transactions do not take locks. Instead, they work by
@@ -588,15 +588,15 @@ module Google
588
588
  # is geographically distributed, stale read-only transactions can execute more
589
589
  # quickly than strong or read-write transaction, because they are able to
590
590
  # execute far from the leader replica. Each type of timestamp bound is discussed
591
- # in detail below. ## Strong Strong reads are guaranteed to see the effects of
592
- # all transactions that have committed before the start of the read. Furthermore,
591
+ # in detail below. Strong: Strong reads are guaranteed to see the effects of all
592
+ # transactions that have committed before the start of the read. Furthermore,
593
593
  # all rows yielded by a single read are consistent with each other -- if any
594
594
  # part of the read observes a transaction, all parts of the read see the
595
595
  # transaction. Strong reads are not repeatable: two consecutive strong read-only
596
596
  # transactions might return inconsistent results if there are concurrent writes.
597
597
  # If consistency across reads is required, the reads should be executed within a
598
598
  # transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
599
- # strong. ## Exact Staleness These timestamp bounds execute reads at a user-
599
+ # strong. Exact Staleness: These timestamp bounds execute reads at a user-
600
600
  # specified timestamp. Reads at a timestamp are guaranteed to see a consistent
601
601
  # prefix of the global transaction history: they observe modifications done by
602
602
  # all transactions with a commit timestamp <= the read timestamp, and observe
@@ -608,8 +608,8 @@ module Google
608
608
  # to pick a timestamp. As a result, they execute slightly faster than the
609
609
  # equivalent boundedly stale concurrency modes. On the other hand, boundedly
610
610
  # stale reads usually return fresher results. See TransactionOptions.ReadOnly.
611
- # read_timestamp and TransactionOptions.ReadOnly.exact_staleness. ## Bounded
612
- # Staleness Bounded staleness modes allow Cloud Spanner to pick the read
611
+ # read_timestamp and TransactionOptions.ReadOnly.exact_staleness. Bounded
612
+ # Staleness: Bounded staleness modes allow Cloud Spanner to pick the read
613
613
  # timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses
614
614
  # the newest timestamp within the staleness bound that allows execution of the
615
615
  # reads at the closest available replica without blocking. All rows yielded are
@@ -626,15 +626,15 @@ module Google
626
626
  # timestamp negotiation requires up-front knowledge of which rows will be read,
627
627
  # it can only be used with single-use read-only transactions. See
628
628
  # TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.
629
- # min_read_timestamp. ## Old Read Timestamps and Garbage Collection Cloud
630
- # Spanner continuously garbage collects deleted and overwritten data in the
631
- # background to reclaim storage space. This process is known as "version GC". By
632
- # default, version GC reclaims versions after they are one hour old. Because of
633
- # this, Cloud Spanner cannot perform reads at read timestamps more than one hour
634
- # in the past. This restriction also applies to in-progress reads and/or SQL
629
+ # min_read_timestamp. Old Read Timestamps and Garbage Collection: Cloud Spanner
630
+ # continuously garbage collects deleted and overwritten data in the background
631
+ # to reclaim storage space. This process is known as "version GC". By default,
632
+ # version GC reclaims versions after they are one hour old. Because of this,
633
+ # Cloud Spanner cannot perform reads at read timestamps more than one hour in
634
+ # the past. This restriction also applies to in-progress reads and/or SQL
635
635
  # queries whose timestamp become too old while executing. Reads and SQL queries
636
- # with too-old read timestamps fail with the error `FAILED_PRECONDITION`. ##
637
- # Partitioned DML Transactions Partitioned DML transactions are used to execute
636
+ # with too-old read timestamps fail with the error `FAILED_PRECONDITION`.
637
+ # Partitioned DML Transactions: Partitioned DML transactions are used to execute
638
638
  # DML statements with a different execution strategy that provides different,
639
639
  # and often better, scalability properties for large, table-wide operations than
640
640
  # DML in a ReadWrite transaction. Smaller scoped statements, such as an OLTP
@@ -3983,12 +3983,12 @@ module Google
3983
3983
  end
3984
3984
  end
3985
3985
 
3986
- # # Transactions Each session can have at most one active transaction at a time (
3986
+ # Transactions: Each session can have at most one active transaction at a time (
3987
3987
  # note that standalone reads and queries use a transaction internally and do
3988
3988
  # count towards the one transaction limit). After the active transaction is
3989
3989
  # completed, the session can immediately be re-used for the next transaction. It
3990
- # is not necessary to create a new session for each transaction. # Transaction
3991
- # Modes Cloud Spanner supports three transaction modes: 1. Locking read-write.
3990
+ # is not necessary to create a new session for each transaction. Transaction
3991
+ # Modes: Cloud Spanner supports three transaction modes: 1. Locking read-write.
3992
3992
  # This type of transaction is the only way to write data into Cloud Spanner.
3993
3993
  # These transactions rely on pessimistic locking and, if necessary, two-phase
3994
3994
  # commit. Locking read-write transactions may abort, requiring the application
@@ -4006,8 +4006,8 @@ module Google
4006
4006
  # transactions. As a consequence of not taking locks, they also do not abort, so
4007
4007
  # retry loops are not needed. Transactions may only read/write data in a single
4008
4008
  # database. They may, however, read/write data in different tables within that
4009
- # database. ## Locking Read-Write Transactions Locking transactions may be used
4010
- # to atomically read-modify-write data anywhere in a database. This type of
4009
+ # database. Locking Read-Write Transactions: Locking transactions may be used to
4010
+ # atomically read-modify-write data anywhere in a database. This type of
4011
4011
  # transaction is externally consistent. Clients should attempt to minimize the
4012
4012
  # amount of time a transaction is active. Faster transactions commit with higher
4013
4013
  # probability and cause less contention. Cloud Spanner attempts to keep read
@@ -4016,7 +4016,7 @@ module Google
4016
4016
  # inactivity at the client may cause Cloud Spanner to release a transaction's
4017
4017
  # locks and abort it. Conceptually, a read-write transaction consists of zero or
4018
4018
  # more reads or SQL statements followed by Commit. At any time before Commit,
4019
- # the client can send a Rollback request to abort the transaction. ## Semantics
4019
+ # the client can send a Rollback request to abort the transaction. Semantics:
4020
4020
  # Cloud Spanner can commit the transaction if all read locks it acquired are
4021
4021
  # still valid at commit time, and it is able to acquire write locks for all
4022
4022
  # writes. Cloud Spanner can abort the transaction for any reason. If a commit
@@ -4024,24 +4024,24 @@ module Google
4024
4024
  # not modified any user data in Cloud Spanner. Unless the transaction commits,
4025
4025
  # Cloud Spanner makes no guarantees about how long the transaction's locks were
4026
4026
  # held for. It is an error to use Cloud Spanner locks for any sort of mutual
4027
- # exclusion other than between Cloud Spanner transactions themselves. ##
4028
- # Retrying Aborted Transactions When a transaction aborts, the application can
4029
- # choose to retry the whole transaction again. To maximize the chances of
4030
- # successfully committing the retry, the client should execute the retry in the
4031
- # same session as the original attempt. The original session's lock priority
4032
- # increases with each consecutive abort, meaning that each attempt has a
4033
- # slightly better chance of success than the previous. Under some circumstances (
4034
- # e.g., many transactions attempting to modify the same row(s)), a transaction
4035
- # can abort many times in a short period before successfully committing. Thus,
4036
- # it is not a good idea to cap the number of retries a transaction can attempt;
4037
- # instead, it is better to limit the total amount of wall time spent retrying. ##
4038
- # Idle Transactions A transaction is considered idle if it has no outstanding
4039
- # reads or SQL queries and has not started a read or SQL query within the last
4040
- # 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don'
4041
- # t hold on to locks indefinitely. In that case, the commit will fail with error
4042
- # `ABORTED`. If this behavior is undesirable, periodically executing a simple
4043
- # SQL query in the transaction (e.g., `SELECT 1`) prevents the transaction from
4044
- # becoming idle. ## Snapshot Read-Only Transactions Snapshot read-only
4027
+ # exclusion other than between Cloud Spanner transactions themselves. Retrying
4028
+ # Aborted Transactions: When a transaction aborts, the application can choose to
4029
+ # retry the whole transaction again. To maximize the chances of successfully
4030
+ # committing the retry, the client should execute the retry in the same session
4031
+ # as the original attempt. The original session's lock priority increases with
4032
+ # each consecutive abort, meaning that each attempt has a slightly better chance
4033
+ # of success than the previous. Under some circumstances (e.g., many
4034
+ # transactions attempting to modify the same row(s)), a transaction can abort
4035
+ # many times in a short period before successfully committing. Thus, it is not a
4036
+ # good idea to cap the number of retries a transaction can attempt; instead, it
4037
+ # is better to limit the total amount of wall time spent retrying. Idle
4038
+ # Transactions: A transaction is considered idle if it has no outstanding reads
4039
+ # or SQL queries and has not started a read or SQL query within the last 10
4040
+ # seconds. Idle transactions can be aborted by Cloud Spanner so that they don't
4041
+ # hold on to locks indefinitely. In that case, the commit will fail with error `
4042
+ # ABORTED`. If this behavior is undesirable, periodically executing a simple SQL
4043
+ # query in the transaction (e.g., `SELECT 1`) prevents the transaction from
4044
+ # becoming idle. Snapshot Read-Only Transactions: Snapshot read-only
4045
4045
  # transactions provides a simpler method than locking read-write transactions
4046
4046
  # for doing several consistent reads. However, this type of transaction does not
4047
4047
  # support writes. Snapshot transactions do not take locks. Instead, they work by
@@ -4059,15 +4059,15 @@ module Google
4059
4059
  # is geographically distributed, stale read-only transactions can execute more
4060
4060
  # quickly than strong or read-write transaction, because they are able to
4061
4061
  # execute far from the leader replica. Each type of timestamp bound is discussed
4062
- # in detail below. ## Strong Strong reads are guaranteed to see the effects of
4063
- # all transactions that have committed before the start of the read. Furthermore,
4062
+ # in detail below. Strong: Strong reads are guaranteed to see the effects of all
4063
+ # transactions that have committed before the start of the read. Furthermore,
4064
4064
  # all rows yielded by a single read are consistent with each other -- if any
4065
4065
  # part of the read observes a transaction, all parts of the read see the
4066
4066
  # transaction. Strong reads are not repeatable: two consecutive strong read-only
4067
4067
  # transactions might return inconsistent results if there are concurrent writes.
4068
4068
  # If consistency across reads is required, the reads should be executed within a
4069
4069
  # transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
4070
- # strong. ## Exact Staleness These timestamp bounds execute reads at a user-
4070
+ # strong. Exact Staleness: These timestamp bounds execute reads at a user-
4071
4071
  # specified timestamp. Reads at a timestamp are guaranteed to see a consistent
4072
4072
  # prefix of the global transaction history: they observe modifications done by
4073
4073
  # all transactions with a commit timestamp <= the read timestamp, and observe
@@ -4079,8 +4079,8 @@ module Google
4079
4079
  # to pick a timestamp. As a result, they execute slightly faster than the
4080
4080
  # equivalent boundedly stale concurrency modes. On the other hand, boundedly
4081
4081
  # stale reads usually return fresher results. See TransactionOptions.ReadOnly.
4082
- # read_timestamp and TransactionOptions.ReadOnly.exact_staleness. ## Bounded
4083
- # Staleness Bounded staleness modes allow Cloud Spanner to pick the read
4082
+ # read_timestamp and TransactionOptions.ReadOnly.exact_staleness. Bounded
4083
+ # Staleness: Bounded staleness modes allow Cloud Spanner to pick the read
4084
4084
  # timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses
4085
4085
  # the newest timestamp within the staleness bound that allows execution of the
4086
4086
  # reads at the closest available replica without blocking. All rows yielded are
@@ -4097,15 +4097,15 @@ module Google
4097
4097
  # timestamp negotiation requires up-front knowledge of which rows will be read,
4098
4098
  # it can only be used with single-use read-only transactions. See
4099
4099
  # TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.
4100
- # min_read_timestamp. ## Old Read Timestamps and Garbage Collection Cloud
4101
- # Spanner continuously garbage collects deleted and overwritten data in the
4102
- # background to reclaim storage space. This process is known as "version GC". By
4103
- # default, version GC reclaims versions after they are one hour old. Because of
4104
- # this, Cloud Spanner cannot perform reads at read timestamps more than one hour
4105
- # in the past. This restriction also applies to in-progress reads and/or SQL
4100
+ # min_read_timestamp. Old Read Timestamps and Garbage Collection: Cloud Spanner
4101
+ # continuously garbage collects deleted and overwritten data in the background
4102
+ # to reclaim storage space. This process is known as "version GC". By default,
4103
+ # version GC reclaims versions after they are one hour old. Because of this,
4104
+ # Cloud Spanner cannot perform reads at read timestamps more than one hour in
4105
+ # the past. This restriction also applies to in-progress reads and/or SQL
4106
4106
  # queries whose timestamp become too old while executing. Reads and SQL queries
4107
- # with too-old read timestamps fail with the error `FAILED_PRECONDITION`. ##
4108
- # Partitioned DML Transactions Partitioned DML transactions are used to execute
4107
+ # with too-old read timestamps fail with the error `FAILED_PRECONDITION`.
4108
+ # Partitioned DML Transactions: Partitioned DML transactions are used to execute
4109
4109
  # DML statements with a different execution strategy that provides different,
4110
4110
  # and often better, scalability properties for large, table-wide operations than
4111
4111
  # DML in a ReadWrite transaction. Smaller scoped statements, such as an OLTP
@@ -4178,12 +4178,12 @@ module Google
4178
4178
  class TransactionSelector
4179
4179
  include Google::Apis::Core::Hashable
4180
4180
 
4181
- # # Transactions Each session can have at most one active transaction at a time (
4181
+ # Transactions: Each session can have at most one active transaction at a time (
4182
4182
  # note that standalone reads and queries use a transaction internally and do
4183
4183
  # count towards the one transaction limit). After the active transaction is
4184
4184
  # completed, the session can immediately be re-used for the next transaction. It
4185
- # is not necessary to create a new session for each transaction. # Transaction
4186
- # Modes Cloud Spanner supports three transaction modes: 1. Locking read-write.
4185
+ # is not necessary to create a new session for each transaction. Transaction
4186
+ # Modes: Cloud Spanner supports three transaction modes: 1. Locking read-write.
4187
4187
  # This type of transaction is the only way to write data into Cloud Spanner.
4188
4188
  # These transactions rely on pessimistic locking and, if necessary, two-phase
4189
4189
  # commit. Locking read-write transactions may abort, requiring the application
@@ -4201,8 +4201,8 @@ module Google
4201
4201
  # transactions. As a consequence of not taking locks, they also do not abort, so
4202
4202
  # retry loops are not needed. Transactions may only read/write data in a single
4203
4203
  # database. They may, however, read/write data in different tables within that
4204
- # database. ## Locking Read-Write Transactions Locking transactions may be used
4205
- # to atomically read-modify-write data anywhere in a database. This type of
4204
+ # database. Locking Read-Write Transactions: Locking transactions may be used to
4205
+ # atomically read-modify-write data anywhere in a database. This type of
4206
4206
  # transaction is externally consistent. Clients should attempt to minimize the
4207
4207
  # amount of time a transaction is active. Faster transactions commit with higher
4208
4208
  # probability and cause less contention. Cloud Spanner attempts to keep read
@@ -4211,7 +4211,7 @@ module Google
4211
4211
  # inactivity at the client may cause Cloud Spanner to release a transaction's
4212
4212
  # locks and abort it. Conceptually, a read-write transaction consists of zero or
4213
4213
  # more reads or SQL statements followed by Commit. At any time before Commit,
4214
- # the client can send a Rollback request to abort the transaction. ## Semantics
4214
+ # the client can send a Rollback request to abort the transaction. Semantics:
4215
4215
  # Cloud Spanner can commit the transaction if all read locks it acquired are
4216
4216
  # still valid at commit time, and it is able to acquire write locks for all
4217
4217
  # writes. Cloud Spanner can abort the transaction for any reason. If a commit
@@ -4219,24 +4219,24 @@ module Google
4219
4219
  # not modified any user data in Cloud Spanner. Unless the transaction commits,
4220
4220
  # Cloud Spanner makes no guarantees about how long the transaction's locks were
4221
4221
  # held for. It is an error to use Cloud Spanner locks for any sort of mutual
4222
- # exclusion other than between Cloud Spanner transactions themselves. ##
4223
- # Retrying Aborted Transactions When a transaction aborts, the application can
4224
- # choose to retry the whole transaction again. To maximize the chances of
4225
- # successfully committing the retry, the client should execute the retry in the
4226
- # same session as the original attempt. The original session's lock priority
4227
- # increases with each consecutive abort, meaning that each attempt has a
4228
- # slightly better chance of success than the previous. Under some circumstances (
4229
- # e.g., many transactions attempting to modify the same row(s)), a transaction
4230
- # can abort many times in a short period before successfully committing. Thus,
4231
- # it is not a good idea to cap the number of retries a transaction can attempt;
4232
- # instead, it is better to limit the total amount of wall time spent retrying. ##
4233
- # Idle Transactions A transaction is considered idle if it has no outstanding
4234
- # reads or SQL queries and has not started a read or SQL query within the last
4235
- # 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don'
4236
- # t hold on to locks indefinitely. In that case, the commit will fail with error
4237
- # `ABORTED`. If this behavior is undesirable, periodically executing a simple
4238
- # SQL query in the transaction (e.g., `SELECT 1`) prevents the transaction from
4239
- # becoming idle. ## Snapshot Read-Only Transactions Snapshot read-only
4222
+ # exclusion other than between Cloud Spanner transactions themselves. Retrying
4223
+ # Aborted Transactions: When a transaction aborts, the application can choose to
4224
+ # retry the whole transaction again. To maximize the chances of successfully
4225
+ # committing the retry, the client should execute the retry in the same session
4226
+ # as the original attempt. The original session's lock priority increases with
4227
+ # each consecutive abort, meaning that each attempt has a slightly better chance
4228
+ # of success than the previous. Under some circumstances (e.g., many
4229
+ # transactions attempting to modify the same row(s)), a transaction can abort
4230
+ # many times in a short period before successfully committing. Thus, it is not a
4231
+ # good idea to cap the number of retries a transaction can attempt; instead, it
4232
+ # is better to limit the total amount of wall time spent retrying. Idle
4233
+ # Transactions: A transaction is considered idle if it has no outstanding reads
4234
+ # or SQL queries and has not started a read or SQL query within the last 10
4235
+ # seconds. Idle transactions can be aborted by Cloud Spanner so that they don't
4236
+ # hold on to locks indefinitely. In that case, the commit will fail with error `
4237
+ # ABORTED`. If this behavior is undesirable, periodically executing a simple SQL
4238
+ # query in the transaction (e.g., `SELECT 1`) prevents the transaction from
4239
+ # becoming idle. Snapshot Read-Only Transactions: Snapshot read-only
4240
4240
  # transactions provides a simpler method than locking read-write transactions
4241
4241
  # for doing several consistent reads. However, this type of transaction does not
4242
4242
  # support writes. Snapshot transactions do not take locks. Instead, they work by
@@ -4254,15 +4254,15 @@ module Google
4254
4254
  # is geographically distributed, stale read-only transactions can execute more
4255
4255
  # quickly than strong or read-write transaction, because they are able to
4256
4256
  # execute far from the leader replica. Each type of timestamp bound is discussed
4257
- # in detail below. ## Strong Strong reads are guaranteed to see the effects of
4258
- # all transactions that have committed before the start of the read. Furthermore,
4257
+ # in detail below. Strong: Strong reads are guaranteed to see the effects of all
4258
+ # transactions that have committed before the start of the read. Furthermore,
4259
4259
  # all rows yielded by a single read are consistent with each other -- if any
4260
4260
  # part of the read observes a transaction, all parts of the read see the
4261
4261
  # transaction. Strong reads are not repeatable: two consecutive strong read-only
4262
4262
  # transactions might return inconsistent results if there are concurrent writes.
4263
4263
  # If consistency across reads is required, the reads should be executed within a
4264
4264
  # transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
4265
- # strong. ## Exact Staleness These timestamp bounds execute reads at a user-
4265
+ # strong. Exact Staleness: These timestamp bounds execute reads at a user-
4266
4266
  # specified timestamp. Reads at a timestamp are guaranteed to see a consistent
4267
4267
  # prefix of the global transaction history: they observe modifications done by
4268
4268
  # all transactions with a commit timestamp <= the read timestamp, and observe
@@ -4274,8 +4274,8 @@ module Google
4274
4274
  # to pick a timestamp. As a result, they execute slightly faster than the
4275
4275
  # equivalent boundedly stale concurrency modes. On the other hand, boundedly
4276
4276
  # stale reads usually return fresher results. See TransactionOptions.ReadOnly.
4277
- # read_timestamp and TransactionOptions.ReadOnly.exact_staleness. ## Bounded
4278
- # Staleness Bounded staleness modes allow Cloud Spanner to pick the read
4277
+ # read_timestamp and TransactionOptions.ReadOnly.exact_staleness. Bounded
4278
+ # Staleness: Bounded staleness modes allow Cloud Spanner to pick the read
4279
4279
  # timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses
4280
4280
  # the newest timestamp within the staleness bound that allows execution of the
4281
4281
  # reads at the closest available replica without blocking. All rows yielded are
@@ -4292,15 +4292,15 @@ module Google
4292
4292
  # timestamp negotiation requires up-front knowledge of which rows will be read,
4293
4293
  # it can only be used with single-use read-only transactions. See
4294
4294
  # TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.
4295
- # min_read_timestamp. ## Old Read Timestamps and Garbage Collection Cloud
4296
- # Spanner continuously garbage collects deleted and overwritten data in the
4297
- # background to reclaim storage space. This process is known as "version GC". By
4298
- # default, version GC reclaims versions after they are one hour old. Because of
4299
- # this, Cloud Spanner cannot perform reads at read timestamps more than one hour
4300
- # in the past. This restriction also applies to in-progress reads and/or SQL
4295
+ # min_read_timestamp. Old Read Timestamps and Garbage Collection: Cloud Spanner
4296
+ # continuously garbage collects deleted and overwritten data in the background
4297
+ # to reclaim storage space. This process is known as "version GC". By default,
4298
+ # version GC reclaims versions after they are one hour old. Because of this,
4299
+ # Cloud Spanner cannot perform reads at read timestamps more than one hour in
4300
+ # the past. This restriction also applies to in-progress reads and/or SQL
4301
4301
  # queries whose timestamp become too old while executing. Reads and SQL queries
4302
- # with too-old read timestamps fail with the error `FAILED_PRECONDITION`. ##
4303
- # Partitioned DML Transactions Partitioned DML transactions are used to execute
4302
+ # with too-old read timestamps fail with the error `FAILED_PRECONDITION`.
4303
+ # Partitioned DML Transactions: Partitioned DML transactions are used to execute
4304
4304
  # DML statements with a different execution strategy that provides different,
4305
4305
  # and often better, scalability properties for large, table-wide operations than
4306
4306
  # DML in a ReadWrite transaction. Smaller scoped statements, such as an OLTP
@@ -4347,12 +4347,12 @@ module Google
4347
4347
  # @return [String]
4348
4348
  attr_accessor :id
4349
4349
 
4350
- # # Transactions Each session can have at most one active transaction at a time (
4350
+ # Transactions: Each session can have at most one active transaction at a time (
4351
4351
  # note that standalone reads and queries use a transaction internally and do
4352
4352
  # count towards the one transaction limit). After the active transaction is
4353
4353
  # completed, the session can immediately be re-used for the next transaction. It
4354
- # is not necessary to create a new session for each transaction. # Transaction
4355
- # Modes Cloud Spanner supports three transaction modes: 1. Locking read-write.
4354
+ # is not necessary to create a new session for each transaction. Transaction
4355
+ # Modes: Cloud Spanner supports three transaction modes: 1. Locking read-write.
4356
4356
  # This type of transaction is the only way to write data into Cloud Spanner.
4357
4357
  # These transactions rely on pessimistic locking and, if necessary, two-phase
4358
4358
  # commit. Locking read-write transactions may abort, requiring the application
@@ -4370,8 +4370,8 @@ module Google
4370
4370
  # transactions. As a consequence of not taking locks, they also do not abort, so
4371
4371
  # retry loops are not needed. Transactions may only read/write data in a single
4372
4372
  # database. They may, however, read/write data in different tables within that
4373
- # database. ## Locking Read-Write Transactions Locking transactions may be used
4374
- # to atomically read-modify-write data anywhere in a database. This type of
4373
+ # database. Locking Read-Write Transactions: Locking transactions may be used to
4374
+ # atomically read-modify-write data anywhere in a database. This type of
4375
4375
  # transaction is externally consistent. Clients should attempt to minimize the
4376
4376
  # amount of time a transaction is active. Faster transactions commit with higher
4377
4377
  # probability and cause less contention. Cloud Spanner attempts to keep read
@@ -4380,7 +4380,7 @@ module Google
4380
4380
  # inactivity at the client may cause Cloud Spanner to release a transaction's
4381
4381
  # locks and abort it. Conceptually, a read-write transaction consists of zero or
4382
4382
  # more reads or SQL statements followed by Commit. At any time before Commit,
4383
- # the client can send a Rollback request to abort the transaction. ## Semantics
4383
+ # the client can send a Rollback request to abort the transaction. Semantics:
4384
4384
  # Cloud Spanner can commit the transaction if all read locks it acquired are
4385
4385
  # still valid at commit time, and it is able to acquire write locks for all
4386
4386
  # writes. Cloud Spanner can abort the transaction for any reason. If a commit
@@ -4388,24 +4388,24 @@ module Google
4388
4388
  # not modified any user data in Cloud Spanner. Unless the transaction commits,
4389
4389
  # Cloud Spanner makes no guarantees about how long the transaction's locks were
4390
4390
  # held for. It is an error to use Cloud Spanner locks for any sort of mutual
4391
- # exclusion other than between Cloud Spanner transactions themselves. ##
4392
- # Retrying Aborted Transactions When a transaction aborts, the application can
4393
- # choose to retry the whole transaction again. To maximize the chances of
4394
- # successfully committing the retry, the client should execute the retry in the
4395
- # same session as the original attempt. The original session's lock priority
4396
- # increases with each consecutive abort, meaning that each attempt has a
4397
- # slightly better chance of success than the previous. Under some circumstances (
4398
- # e.g., many transactions attempting to modify the same row(s)), a transaction
4399
- # can abort many times in a short period before successfully committing. Thus,
4400
- # it is not a good idea to cap the number of retries a transaction can attempt;
4401
- # instead, it is better to limit the total amount of wall time spent retrying. ##
4402
- # Idle Transactions A transaction is considered idle if it has no outstanding
4403
- # reads or SQL queries and has not started a read or SQL query within the last
4404
- # 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don'
4405
- # t hold on to locks indefinitely. In that case, the commit will fail with error
4406
- # `ABORTED`. If this behavior is undesirable, periodically executing a simple
4407
- # SQL query in the transaction (e.g., `SELECT 1`) prevents the transaction from
4408
- # becoming idle. ## Snapshot Read-Only Transactions Snapshot read-only
4391
+ # exclusion other than between Cloud Spanner transactions themselves. Retrying
4392
+ # Aborted Transactions: When a transaction aborts, the application can choose to
4393
+ # retry the whole transaction again. To maximize the chances of successfully
4394
+ # committing the retry, the client should execute the retry in the same session
4395
+ # as the original attempt. The original session's lock priority increases with
4396
+ # each consecutive abort, meaning that each attempt has a slightly better chance
4397
+ # of success than the previous. Under some circumstances (e.g., many
4398
+ # transactions attempting to modify the same row(s)), a transaction can abort
4399
+ # many times in a short period before successfully committing. Thus, it is not a
4400
+ # good idea to cap the number of retries a transaction can attempt; instead, it
4401
+ # is better to limit the total amount of wall time spent retrying. Idle
4402
+ # Transactions: A transaction is considered idle if it has no outstanding reads
4403
+ # or SQL queries and has not started a read or SQL query within the last 10
4404
+ # seconds. Idle transactions can be aborted by Cloud Spanner so that they don't
4405
+ # hold on to locks indefinitely. In that case, the commit will fail with error `
4406
+ # ABORTED`. If this behavior is undesirable, periodically executing a simple SQL
4407
+ # query in the transaction (e.g., `SELECT 1`) prevents the transaction from
4408
+ # becoming idle. Snapshot Read-Only Transactions: Snapshot read-only
4409
4409
  # transactions provides a simpler method than locking read-write transactions
4410
4410
  # for doing several consistent reads. However, this type of transaction does not
4411
4411
  # support writes. Snapshot transactions do not take locks. Instead, they work by
@@ -4423,15 +4423,15 @@ module Google
4423
4423
  # is geographically distributed, stale read-only transactions can execute more
4424
4424
  # quickly than strong or read-write transaction, because they are able to
4425
4425
  # execute far from the leader replica. Each type of timestamp bound is discussed
4426
- # in detail below. ## Strong Strong reads are guaranteed to see the effects of
4427
- # all transactions that have committed before the start of the read. Furthermore,
4426
+ # in detail below. Strong: Strong reads are guaranteed to see the effects of all
4427
+ # transactions that have committed before the start of the read. Furthermore,
4428
4428
  # all rows yielded by a single read are consistent with each other -- if any
4429
4429
  # part of the read observes a transaction, all parts of the read see the
4430
4430
  # transaction. Strong reads are not repeatable: two consecutive strong read-only
4431
4431
  # transactions might return inconsistent results if there are concurrent writes.
4432
4432
  # If consistency across reads is required, the reads should be executed within a
4433
4433
  # transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
4434
- # strong. ## Exact Staleness These timestamp bounds execute reads at a user-
4434
+ # strong. Exact Staleness: These timestamp bounds execute reads at a user-
4435
4435
  # specified timestamp. Reads at a timestamp are guaranteed to see a consistent
4436
4436
  # prefix of the global transaction history: they observe modifications done by
4437
4437
  # all transactions with a commit timestamp <= the read timestamp, and observe
@@ -4443,8 +4443,8 @@ module Google
4443
4443
  # to pick a timestamp. As a result, they execute slightly faster than the
4444
4444
  # equivalent boundedly stale concurrency modes. On the other hand, boundedly
4445
4445
  # stale reads usually return fresher results. See TransactionOptions.ReadOnly.
4446
- # read_timestamp and TransactionOptions.ReadOnly.exact_staleness. ## Bounded
4447
- # Staleness Bounded staleness modes allow Cloud Spanner to pick the read
4446
+ # read_timestamp and TransactionOptions.ReadOnly.exact_staleness. Bounded
4447
+ # Staleness: Bounded staleness modes allow Cloud Spanner to pick the read
4448
4448
  # timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses
4449
4449
  # the newest timestamp within the staleness bound that allows execution of the
4450
4450
  # reads at the closest available replica without blocking. All rows yielded are
@@ -4461,15 +4461,15 @@ module Google
4461
4461
  # timestamp negotiation requires up-front knowledge of which rows will be read,
4462
4462
  # it can only be used with single-use read-only transactions. See
4463
4463
  # TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.
4464
- # min_read_timestamp. ## Old Read Timestamps and Garbage Collection Cloud
4465
- # Spanner continuously garbage collects deleted and overwritten data in the
4466
- # background to reclaim storage space. This process is known as "version GC". By
4467
- # default, version GC reclaims versions after they are one hour old. Because of
4468
- # this, Cloud Spanner cannot perform reads at read timestamps more than one hour
4469
- # in the past. This restriction also applies to in-progress reads and/or SQL
4464
+ # min_read_timestamp. Old Read Timestamps and Garbage Collection: Cloud Spanner
4465
+ # continuously garbage collects deleted and overwritten data in the background
4466
+ # to reclaim storage space. This process is known as "version GC". By default,
4467
+ # version GC reclaims versions after they are one hour old. Because of this,
4468
+ # Cloud Spanner cannot perform reads at read timestamps more than one hour in
4469
+ # the past. This restriction also applies to in-progress reads and/or SQL
4470
4470
  # queries whose timestamp become too old while executing. Reads and SQL queries
4471
- # with too-old read timestamps fail with the error `FAILED_PRECONDITION`. ##
4472
- # Partitioned DML Transactions Partitioned DML transactions are used to execute
4471
+ # with too-old read timestamps fail with the error `FAILED_PRECONDITION`.
4472
+ # Partitioned DML Transactions: Partitioned DML transactions are used to execute
4473
4473
  # DML statements with a different execution strategy that provides different,
4474
4474
  # and often better, scalability properties for large, table-wide operations than
4475
4475
  # DML in a ReadWrite transaction. Smaller scoped statements, such as an OLTP
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SpannerV1
18
18
  # Version of the google-apis-spanner_v1 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210603"
25
+ REVISION = "20210611"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-spanner_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-14 00:00:00.000000000 Z
11
+ date: 2021-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.12.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.13.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1
57
57
  post_install_message:
58
58
  rdoc_options: []