google-apis-spanner_v1 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/spanner_v1/classes.rb +40 -37
- data/lib/google/apis/spanner_v1/gem_version.rb +2 -2
- data/lib/google/apis/spanner_v1/service.rb +13 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e78ad941475c64b6bc0ab3f7446eea631189be763717866bd3be6bcf21d9b50c
|
4
|
+
data.tar.gz: 4e34aa25826908b168e6a14edb32427fc16fdbdab56cf0ebaf38f83e48b9072c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2cf6552a7562b09415ac97f188f825d7853e3e879102c5efee977eb832b50dfeb408dc71240dd29340dfa551906ddf7782737ae3054645883f79668bdb75d57
|
7
|
+
data.tar.gz: 4804cc6f59cb512c0215f31bc0c1b9a12c1e87960923e169f278e74379253352f5b7d1a9affefb1fb0c70c940941bcb9df2fa93718cf87878484ecf081a0516c
|
data/CHANGELOG.md
CHANGED
@@ -228,7 +228,7 @@ module Google
|
|
228
228
|
# inactivity at the client may cause Cloud Spanner to release a transaction's
|
229
229
|
# locks and abort it. Conceptually, a read-write transaction consists of zero or
|
230
230
|
# more reads or SQL statements followed by Commit. At any time before Commit,
|
231
|
-
# the client can send a Rollback request to abort the transaction.
|
231
|
+
# the client can send a Rollback request to abort the transaction. ## Semantics
|
232
232
|
# Cloud Spanner can commit the transaction if all read locks it acquired are
|
233
233
|
# still valid at commit time, and it is able to acquire write locks for all
|
234
234
|
# writes. Cloud Spanner can abort the transaction for any reason. If a commit
|
@@ -236,7 +236,7 @@ module Google
|
|
236
236
|
# not modified any user data in Cloud Spanner. Unless the transaction commits,
|
237
237
|
# Cloud Spanner makes no guarantees about how long the transaction's locks were
|
238
238
|
# held for. It is an error to use Cloud Spanner locks for any sort of mutual
|
239
|
-
# exclusion other than between Cloud Spanner transactions themselves.
|
239
|
+
# exclusion other than between Cloud Spanner transactions themselves. ##
|
240
240
|
# Retrying Aborted Transactions When a transaction aborts, the application can
|
241
241
|
# choose to retry the whole transaction again. To maximize the chances of
|
242
242
|
# successfully committing the retry, the client should execute the retry in the
|
@@ -247,7 +247,7 @@ module Google
|
|
247
247
|
# can abort many times in a short period before successfully committing. Thus,
|
248
248
|
# it is not a good idea to cap the number of retries a transaction can attempt;
|
249
249
|
# instead, it is better to limit the total amount of wall time spent retrying. ##
|
250
|
-
#
|
250
|
+
# Idle Transactions A transaction is considered idle if it has no outstanding
|
251
251
|
# reads or SQL queries and has not started a read or SQL query within the last
|
252
252
|
# 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don'
|
253
253
|
# t hold on to locks indefinitely. In that case, the commit will fail with error
|
@@ -271,7 +271,7 @@ module Google
|
|
271
271
|
# is geographically distributed, stale read-only transactions can execute more
|
272
272
|
# quickly than strong or read-write transaction, because they are able to
|
273
273
|
# execute far from the leader replica. Each type of timestamp bound is discussed
|
274
|
-
# in detail below.
|
274
|
+
# in detail below. ## Strong Strong reads are guaranteed to see the effects of
|
275
275
|
# all transactions that have committed before the start of the read. Furthermore,
|
276
276
|
# all rows yielded by a single read are consistent with each other -- if any
|
277
277
|
# part of the read observes a transaction, all parts of the read see the
|
@@ -279,7 +279,7 @@ module Google
|
|
279
279
|
# transactions might return inconsistent results if there are concurrent writes.
|
280
280
|
# If consistency across reads is required, the reads should be executed within a
|
281
281
|
# transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
|
282
|
-
# strong.
|
282
|
+
# strong. ## Exact Staleness These timestamp bounds execute reads at a user-
|
283
283
|
# specified timestamp. Reads at a timestamp are guaranteed to see a consistent
|
284
284
|
# prefix of the global transaction history: they observe modifications done by
|
285
285
|
# all transactions with a commit timestamp <= the read timestamp, and observe
|
@@ -291,7 +291,7 @@ module Google
|
|
291
291
|
# to pick a timestamp. As a result, they execute slightly faster than the
|
292
292
|
# equivalent boundedly stale concurrency modes. On the other hand, boundedly
|
293
293
|
# stale reads usually return fresher results. See TransactionOptions.ReadOnly.
|
294
|
-
# read_timestamp and TransactionOptions.ReadOnly.exact_staleness.
|
294
|
+
# read_timestamp and TransactionOptions.ReadOnly.exact_staleness. ## Bounded
|
295
295
|
# Staleness Bounded staleness modes allow Cloud Spanner to pick the read
|
296
296
|
# timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses
|
297
297
|
# the newest timestamp within the staleness bound that allows execution of the
|
@@ -309,7 +309,7 @@ module Google
|
|
309
309
|
# timestamp negotiation requires up-front knowledge of which rows will be read,
|
310
310
|
# it can only be used with single-use read-only transactions. See
|
311
311
|
# TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.
|
312
|
-
# min_read_timestamp.
|
312
|
+
# min_read_timestamp. ## Old Read Timestamps and Garbage Collection Cloud
|
313
313
|
# Spanner continuously garbage collects deleted and overwritten data in the
|
314
314
|
# background to reclaim storage space. This process is known as "version GC". By
|
315
315
|
# default, version GC reclaims versions after they are one hour old. Because of
|
@@ -528,7 +528,7 @@ module Google
|
|
528
528
|
# inactivity at the client may cause Cloud Spanner to release a transaction's
|
529
529
|
# locks and abort it. Conceptually, a read-write transaction consists of zero or
|
530
530
|
# more reads or SQL statements followed by Commit. At any time before Commit,
|
531
|
-
# the client can send a Rollback request to abort the transaction.
|
531
|
+
# the client can send a Rollback request to abort the transaction. ## Semantics
|
532
532
|
# Cloud Spanner can commit the transaction if all read locks it acquired are
|
533
533
|
# still valid at commit time, and it is able to acquire write locks for all
|
534
534
|
# writes. Cloud Spanner can abort the transaction for any reason. If a commit
|
@@ -536,7 +536,7 @@ module Google
|
|
536
536
|
# not modified any user data in Cloud Spanner. Unless the transaction commits,
|
537
537
|
# Cloud Spanner makes no guarantees about how long the transaction's locks were
|
538
538
|
# held for. It is an error to use Cloud Spanner locks for any sort of mutual
|
539
|
-
# exclusion other than between Cloud Spanner transactions themselves.
|
539
|
+
# exclusion other than between Cloud Spanner transactions themselves. ##
|
540
540
|
# Retrying Aborted Transactions When a transaction aborts, the application can
|
541
541
|
# choose to retry the whole transaction again. To maximize the chances of
|
542
542
|
# successfully committing the retry, the client should execute the retry in the
|
@@ -547,7 +547,7 @@ module Google
|
|
547
547
|
# can abort many times in a short period before successfully committing. Thus,
|
548
548
|
# it is not a good idea to cap the number of retries a transaction can attempt;
|
549
549
|
# instead, it is better to limit the total amount of wall time spent retrying. ##
|
550
|
-
#
|
550
|
+
# Idle Transactions A transaction is considered idle if it has no outstanding
|
551
551
|
# reads or SQL queries and has not started a read or SQL query within the last
|
552
552
|
# 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don'
|
553
553
|
# t hold on to locks indefinitely. In that case, the commit will fail with error
|
@@ -571,7 +571,7 @@ module Google
|
|
571
571
|
# is geographically distributed, stale read-only transactions can execute more
|
572
572
|
# quickly than strong or read-write transaction, because they are able to
|
573
573
|
# execute far from the leader replica. Each type of timestamp bound is discussed
|
574
|
-
# in detail below.
|
574
|
+
# in detail below. ## Strong Strong reads are guaranteed to see the effects of
|
575
575
|
# all transactions that have committed before the start of the read. Furthermore,
|
576
576
|
# all rows yielded by a single read are consistent with each other -- if any
|
577
577
|
# part of the read observes a transaction, all parts of the read see the
|
@@ -579,7 +579,7 @@ module Google
|
|
579
579
|
# transactions might return inconsistent results if there are concurrent writes.
|
580
580
|
# If consistency across reads is required, the reads should be executed within a
|
581
581
|
# transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
|
582
|
-
# strong.
|
582
|
+
# strong. ## Exact Staleness These timestamp bounds execute reads at a user-
|
583
583
|
# specified timestamp. Reads at a timestamp are guaranteed to see a consistent
|
584
584
|
# prefix of the global transaction history: they observe modifications done by
|
585
585
|
# all transactions with a commit timestamp <= the read timestamp, and observe
|
@@ -591,7 +591,7 @@ module Google
|
|
591
591
|
# to pick a timestamp. As a result, they execute slightly faster than the
|
592
592
|
# equivalent boundedly stale concurrency modes. On the other hand, boundedly
|
593
593
|
# stale reads usually return fresher results. See TransactionOptions.ReadOnly.
|
594
|
-
# read_timestamp and TransactionOptions.ReadOnly.exact_staleness.
|
594
|
+
# read_timestamp and TransactionOptions.ReadOnly.exact_staleness. ## Bounded
|
595
595
|
# Staleness Bounded staleness modes allow Cloud Spanner to pick the read
|
596
596
|
# timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses
|
597
597
|
# the newest timestamp within the staleness bound that allows execution of the
|
@@ -609,7 +609,7 @@ module Google
|
|
609
609
|
# timestamp negotiation requires up-front knowledge of which rows will be read,
|
610
610
|
# it can only be used with single-use read-only transactions. See
|
611
611
|
# TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.
|
612
|
-
# min_read_timestamp.
|
612
|
+
# min_read_timestamp. ## Old Read Timestamps and Garbage Collection Cloud
|
613
613
|
# Spanner continuously garbage collects deleted and overwritten data in the
|
614
614
|
# background to reclaim storage space. This process is known as "version GC". By
|
615
615
|
# default, version GC reclaims versions after they are one hour old. Because of
|
@@ -918,7 +918,10 @@ module Google
|
|
918
918
|
attr_accessor :create_time
|
919
919
|
|
920
920
|
# Output only. Earliest timestamp at which older versions of the data can be
|
921
|
-
# read.
|
921
|
+
# read. This value is continuously updated by Cloud Spanner and becomes stale
|
922
|
+
# the moment it is queried. If you are using this value to recover data, make
|
923
|
+
# sure to account for the time from the moment when the value is queried to the
|
924
|
+
# moment when you initiate the recovery.
|
922
925
|
# Corresponds to the JSON property `earliestVersionTime`
|
923
926
|
# @return [String]
|
924
927
|
attr_accessor :earliest_version_time
|
@@ -942,7 +945,7 @@ module Google
|
|
942
945
|
attr_accessor :state
|
943
946
|
|
944
947
|
# Output only. The period in which Cloud Spanner retains all versions of data
|
945
|
-
# for the database. This is same as the value of version_retention_period
|
948
|
+
# for the database. This is the same as the value of version_retention_period
|
946
949
|
# database option set using UpdateDatabaseDdl. Defaults to 1 hour, if not set.
|
947
950
|
# Corresponds to the JSON property `versionRetentionPeriod`
|
948
951
|
# @return [String]
|
@@ -3213,7 +3216,7 @@ module Google
|
|
3213
3216
|
# inactivity at the client may cause Cloud Spanner to release a transaction's
|
3214
3217
|
# locks and abort it. Conceptually, a read-write transaction consists of zero or
|
3215
3218
|
# more reads or SQL statements followed by Commit. At any time before Commit,
|
3216
|
-
# the client can send a Rollback request to abort the transaction.
|
3219
|
+
# the client can send a Rollback request to abort the transaction. ## Semantics
|
3217
3220
|
# Cloud Spanner can commit the transaction if all read locks it acquired are
|
3218
3221
|
# still valid at commit time, and it is able to acquire write locks for all
|
3219
3222
|
# writes. Cloud Spanner can abort the transaction for any reason. If a commit
|
@@ -3221,7 +3224,7 @@ module Google
|
|
3221
3224
|
# not modified any user data in Cloud Spanner. Unless the transaction commits,
|
3222
3225
|
# Cloud Spanner makes no guarantees about how long the transaction's locks were
|
3223
3226
|
# held for. It is an error to use Cloud Spanner locks for any sort of mutual
|
3224
|
-
# exclusion other than between Cloud Spanner transactions themselves.
|
3227
|
+
# exclusion other than between Cloud Spanner transactions themselves. ##
|
3225
3228
|
# Retrying Aborted Transactions When a transaction aborts, the application can
|
3226
3229
|
# choose to retry the whole transaction again. To maximize the chances of
|
3227
3230
|
# successfully committing the retry, the client should execute the retry in the
|
@@ -3232,7 +3235,7 @@ module Google
|
|
3232
3235
|
# can abort many times in a short period before successfully committing. Thus,
|
3233
3236
|
# it is not a good idea to cap the number of retries a transaction can attempt;
|
3234
3237
|
# instead, it is better to limit the total amount of wall time spent retrying. ##
|
3235
|
-
#
|
3238
|
+
# Idle Transactions A transaction is considered idle if it has no outstanding
|
3236
3239
|
# reads or SQL queries and has not started a read or SQL query within the last
|
3237
3240
|
# 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don'
|
3238
3241
|
# t hold on to locks indefinitely. In that case, the commit will fail with error
|
@@ -3256,7 +3259,7 @@ module Google
|
|
3256
3259
|
# is geographically distributed, stale read-only transactions can execute more
|
3257
3260
|
# quickly than strong or read-write transaction, because they are able to
|
3258
3261
|
# execute far from the leader replica. Each type of timestamp bound is discussed
|
3259
|
-
# in detail below.
|
3262
|
+
# in detail below. ## Strong Strong reads are guaranteed to see the effects of
|
3260
3263
|
# all transactions that have committed before the start of the read. Furthermore,
|
3261
3264
|
# all rows yielded by a single read are consistent with each other -- if any
|
3262
3265
|
# part of the read observes a transaction, all parts of the read see the
|
@@ -3264,7 +3267,7 @@ module Google
|
|
3264
3267
|
# transactions might return inconsistent results if there are concurrent writes.
|
3265
3268
|
# If consistency across reads is required, the reads should be executed within a
|
3266
3269
|
# transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
|
3267
|
-
# strong.
|
3270
|
+
# strong. ## Exact Staleness These timestamp bounds execute reads at a user-
|
3268
3271
|
# specified timestamp. Reads at a timestamp are guaranteed to see a consistent
|
3269
3272
|
# prefix of the global transaction history: they observe modifications done by
|
3270
3273
|
# all transactions with a commit timestamp <= the read timestamp, and observe
|
@@ -3276,7 +3279,7 @@ module Google
|
|
3276
3279
|
# to pick a timestamp. As a result, they execute slightly faster than the
|
3277
3280
|
# equivalent boundedly stale concurrency modes. On the other hand, boundedly
|
3278
3281
|
# stale reads usually return fresher results. See TransactionOptions.ReadOnly.
|
3279
|
-
# read_timestamp and TransactionOptions.ReadOnly.exact_staleness.
|
3282
|
+
# read_timestamp and TransactionOptions.ReadOnly.exact_staleness. ## Bounded
|
3280
3283
|
# Staleness Bounded staleness modes allow Cloud Spanner to pick the read
|
3281
3284
|
# timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses
|
3282
3285
|
# the newest timestamp within the staleness bound that allows execution of the
|
@@ -3294,7 +3297,7 @@ module Google
|
|
3294
3297
|
# timestamp negotiation requires up-front knowledge of which rows will be read,
|
3295
3298
|
# it can only be used with single-use read-only transactions. See
|
3296
3299
|
# TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.
|
3297
|
-
# min_read_timestamp.
|
3300
|
+
# min_read_timestamp. ## Old Read Timestamps and Garbage Collection Cloud
|
3298
3301
|
# Spanner continuously garbage collects deleted and overwritten data in the
|
3299
3302
|
# background to reclaim storage space. This process is known as "version GC". By
|
3300
3303
|
# default, version GC reclaims versions after they are one hour old. Because of
|
@@ -3408,7 +3411,7 @@ module Google
|
|
3408
3411
|
# inactivity at the client may cause Cloud Spanner to release a transaction's
|
3409
3412
|
# locks and abort it. Conceptually, a read-write transaction consists of zero or
|
3410
3413
|
# more reads or SQL statements followed by Commit. At any time before Commit,
|
3411
|
-
# the client can send a Rollback request to abort the transaction.
|
3414
|
+
# the client can send a Rollback request to abort the transaction. ## Semantics
|
3412
3415
|
# Cloud Spanner can commit the transaction if all read locks it acquired are
|
3413
3416
|
# still valid at commit time, and it is able to acquire write locks for all
|
3414
3417
|
# writes. Cloud Spanner can abort the transaction for any reason. If a commit
|
@@ -3416,7 +3419,7 @@ module Google
|
|
3416
3419
|
# not modified any user data in Cloud Spanner. Unless the transaction commits,
|
3417
3420
|
# Cloud Spanner makes no guarantees about how long the transaction's locks were
|
3418
3421
|
# held for. It is an error to use Cloud Spanner locks for any sort of mutual
|
3419
|
-
# exclusion other than between Cloud Spanner transactions themselves.
|
3422
|
+
# exclusion other than between Cloud Spanner transactions themselves. ##
|
3420
3423
|
# Retrying Aborted Transactions When a transaction aborts, the application can
|
3421
3424
|
# choose to retry the whole transaction again. To maximize the chances of
|
3422
3425
|
# successfully committing the retry, the client should execute the retry in the
|
@@ -3427,7 +3430,7 @@ module Google
|
|
3427
3430
|
# can abort many times in a short period before successfully committing. Thus,
|
3428
3431
|
# it is not a good idea to cap the number of retries a transaction can attempt;
|
3429
3432
|
# instead, it is better to limit the total amount of wall time spent retrying. ##
|
3430
|
-
#
|
3433
|
+
# Idle Transactions A transaction is considered idle if it has no outstanding
|
3431
3434
|
# reads or SQL queries and has not started a read or SQL query within the last
|
3432
3435
|
# 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don'
|
3433
3436
|
# t hold on to locks indefinitely. In that case, the commit will fail with error
|
@@ -3451,7 +3454,7 @@ module Google
|
|
3451
3454
|
# is geographically distributed, stale read-only transactions can execute more
|
3452
3455
|
# quickly than strong or read-write transaction, because they are able to
|
3453
3456
|
# execute far from the leader replica. Each type of timestamp bound is discussed
|
3454
|
-
# in detail below.
|
3457
|
+
# in detail below. ## Strong Strong reads are guaranteed to see the effects of
|
3455
3458
|
# all transactions that have committed before the start of the read. Furthermore,
|
3456
3459
|
# all rows yielded by a single read are consistent with each other -- if any
|
3457
3460
|
# part of the read observes a transaction, all parts of the read see the
|
@@ -3459,7 +3462,7 @@ module Google
|
|
3459
3462
|
# transactions might return inconsistent results if there are concurrent writes.
|
3460
3463
|
# If consistency across reads is required, the reads should be executed within a
|
3461
3464
|
# transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
|
3462
|
-
# strong.
|
3465
|
+
# strong. ## Exact Staleness These timestamp bounds execute reads at a user-
|
3463
3466
|
# specified timestamp. Reads at a timestamp are guaranteed to see a consistent
|
3464
3467
|
# prefix of the global transaction history: they observe modifications done by
|
3465
3468
|
# all transactions with a commit timestamp <= the read timestamp, and observe
|
@@ -3471,7 +3474,7 @@ module Google
|
|
3471
3474
|
# to pick a timestamp. As a result, they execute slightly faster than the
|
3472
3475
|
# equivalent boundedly stale concurrency modes. On the other hand, boundedly
|
3473
3476
|
# stale reads usually return fresher results. See TransactionOptions.ReadOnly.
|
3474
|
-
# read_timestamp and TransactionOptions.ReadOnly.exact_staleness.
|
3477
|
+
# read_timestamp and TransactionOptions.ReadOnly.exact_staleness. ## Bounded
|
3475
3478
|
# Staleness Bounded staleness modes allow Cloud Spanner to pick the read
|
3476
3479
|
# timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses
|
3477
3480
|
# the newest timestamp within the staleness bound that allows execution of the
|
@@ -3489,7 +3492,7 @@ module Google
|
|
3489
3492
|
# timestamp negotiation requires up-front knowledge of which rows will be read,
|
3490
3493
|
# it can only be used with single-use read-only transactions. See
|
3491
3494
|
# TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.
|
3492
|
-
# min_read_timestamp.
|
3495
|
+
# min_read_timestamp. ## Old Read Timestamps and Garbage Collection Cloud
|
3493
3496
|
# Spanner continuously garbage collects deleted and overwritten data in the
|
3494
3497
|
# background to reclaim storage space. This process is known as "version GC". By
|
3495
3498
|
# default, version GC reclaims versions after they are one hour old. Because of
|
@@ -3577,7 +3580,7 @@ module Google
|
|
3577
3580
|
# inactivity at the client may cause Cloud Spanner to release a transaction's
|
3578
3581
|
# locks and abort it. Conceptually, a read-write transaction consists of zero or
|
3579
3582
|
# more reads or SQL statements followed by Commit. At any time before Commit,
|
3580
|
-
# the client can send a Rollback request to abort the transaction.
|
3583
|
+
# the client can send a Rollback request to abort the transaction. ## Semantics
|
3581
3584
|
# Cloud Spanner can commit the transaction if all read locks it acquired are
|
3582
3585
|
# still valid at commit time, and it is able to acquire write locks for all
|
3583
3586
|
# writes. Cloud Spanner can abort the transaction for any reason. If a commit
|
@@ -3585,7 +3588,7 @@ module Google
|
|
3585
3588
|
# not modified any user data in Cloud Spanner. Unless the transaction commits,
|
3586
3589
|
# Cloud Spanner makes no guarantees about how long the transaction's locks were
|
3587
3590
|
# held for. It is an error to use Cloud Spanner locks for any sort of mutual
|
3588
|
-
# exclusion other than between Cloud Spanner transactions themselves.
|
3591
|
+
# exclusion other than between Cloud Spanner transactions themselves. ##
|
3589
3592
|
# Retrying Aborted Transactions When a transaction aborts, the application can
|
3590
3593
|
# choose to retry the whole transaction again. To maximize the chances of
|
3591
3594
|
# successfully committing the retry, the client should execute the retry in the
|
@@ -3596,7 +3599,7 @@ module Google
|
|
3596
3599
|
# can abort many times in a short period before successfully committing. Thus,
|
3597
3600
|
# it is not a good idea to cap the number of retries a transaction can attempt;
|
3598
3601
|
# instead, it is better to limit the total amount of wall time spent retrying. ##
|
3599
|
-
#
|
3602
|
+
# Idle Transactions A transaction is considered idle if it has no outstanding
|
3600
3603
|
# reads or SQL queries and has not started a read or SQL query within the last
|
3601
3604
|
# 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don'
|
3602
3605
|
# t hold on to locks indefinitely. In that case, the commit will fail with error
|
@@ -3620,7 +3623,7 @@ module Google
|
|
3620
3623
|
# is geographically distributed, stale read-only transactions can execute more
|
3621
3624
|
# quickly than strong or read-write transaction, because they are able to
|
3622
3625
|
# execute far from the leader replica. Each type of timestamp bound is discussed
|
3623
|
-
# in detail below.
|
3626
|
+
# in detail below. ## Strong Strong reads are guaranteed to see the effects of
|
3624
3627
|
# all transactions that have committed before the start of the read. Furthermore,
|
3625
3628
|
# all rows yielded by a single read are consistent with each other -- if any
|
3626
3629
|
# part of the read observes a transaction, all parts of the read see the
|
@@ -3628,7 +3631,7 @@ module Google
|
|
3628
3631
|
# transactions might return inconsistent results if there are concurrent writes.
|
3629
3632
|
# If consistency across reads is required, the reads should be executed within a
|
3630
3633
|
# transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
|
3631
|
-
# strong.
|
3634
|
+
# strong. ## Exact Staleness These timestamp bounds execute reads at a user-
|
3632
3635
|
# specified timestamp. Reads at a timestamp are guaranteed to see a consistent
|
3633
3636
|
# prefix of the global transaction history: they observe modifications done by
|
3634
3637
|
# all transactions with a commit timestamp <= the read timestamp, and observe
|
@@ -3640,7 +3643,7 @@ module Google
|
|
3640
3643
|
# to pick a timestamp. As a result, they execute slightly faster than the
|
3641
3644
|
# equivalent boundedly stale concurrency modes. On the other hand, boundedly
|
3642
3645
|
# stale reads usually return fresher results. See TransactionOptions.ReadOnly.
|
3643
|
-
# read_timestamp and TransactionOptions.ReadOnly.exact_staleness.
|
3646
|
+
# read_timestamp and TransactionOptions.ReadOnly.exact_staleness. ## Bounded
|
3644
3647
|
# Staleness Bounded staleness modes allow Cloud Spanner to pick the read
|
3645
3648
|
# timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses
|
3646
3649
|
# the newest timestamp within the staleness bound that allows execution of the
|
@@ -3658,7 +3661,7 @@ module Google
|
|
3658
3661
|
# timestamp negotiation requires up-front knowledge of which rows will be read,
|
3659
3662
|
# it can only be used with single-use read-only transactions. See
|
3660
3663
|
# TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.
|
3661
|
-
# min_read_timestamp.
|
3664
|
+
# min_read_timestamp. ## Old Read Timestamps and Garbage Collection Cloud
|
3662
3665
|
# Spanner continuously garbage collects deleted and overwritten data in the
|
3663
3666
|
# background to reclaim storage space. This process is known as "version GC". By
|
3664
3667
|
# default, version GC reclaims versions after they are one hour old. Because of
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210206"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -693,18 +693,19 @@ module Google
|
|
693
693
|
# contains operator. Filter rules are not case sensitive. The following fields
|
694
694
|
# in the Backup are eligible for filtering: * `name` * `database` * `state` * `
|
695
695
|
# create_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `
|
696
|
-
# expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `
|
697
|
-
#
|
698
|
-
#
|
699
|
-
#
|
700
|
-
#
|
701
|
-
#
|
702
|
-
#
|
703
|
-
#
|
704
|
-
#
|
705
|
-
#
|
706
|
-
#
|
707
|
-
#
|
696
|
+
# expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `
|
697
|
+
# version_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `
|
698
|
+
# size_bytes` You can combine multiple expressions by enclosing each expression
|
699
|
+
# in parentheses. By default, expressions are combined with AND logic, but you
|
700
|
+
# can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `
|
701
|
+
# name:Howl` - The backup's name contains the string "howl". * `database:prod` -
|
702
|
+
# The database's name contains the string "prod". * `state:CREATING` - The
|
703
|
+
# backup is pending creation. * `state:READY` - The backup is fully created and
|
704
|
+
# ready for use. * `(name:howl) AND (create_time < \"2018-03-28T14:50:00Z\")` -
|
705
|
+
# The backup name contains the string "howl" and `create_time` of the backup is
|
706
|
+
# before 2018-03-28T14:50:00Z. * `expire_time < \"2018-03-28T14:50:00Z\"` - The
|
707
|
+
# backup `expire_time` is before 2018-03-28T14:50:00Z. * `size_bytes >
|
708
|
+
# 10000000000` - The backup's size is greater than 10GB
|
708
709
|
# @param [Fixnum] page_size
|
709
710
|
# Number of backups to be returned in the response. If 0 or less, defaults to
|
710
711
|
# the server's maximum allowed page size.
|
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.
|
4
|
+
version: 0.3.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-02-
|
11
|
+
date: 2021-02-15 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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.3.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: []
|