google-apis-spanner_v1 0.15.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +16 -0
 - data/lib/google/apis/spanner_v1/classes.rb +226 -218
 - data/lib/google/apis/spanner_v1/gem_version.rb +2 -2
 - data/lib/google/apis/spanner_v1/service.rb +1 -1
 - data/lib/google/apis/spanner_v1.rb +1 -1
 - 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: d2a066cde62010b9e3316bf3577a4833c6bc909f6ddeff9746e9bfa01415d2ec
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 7921a7d949a8003b299858b58cbf4849a33adf8341e3dca210f9ea22ae4be94d
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: eb511303a6979888a2bc73ce005c59b6fc21ce0a7f19a2bbd04ccba3b74f607dc911152fcfa77123d0e2da6a388e371f277b3684368b0c8a99beaa8486d04725
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 1c75f9196ced0547c7d475d24a8ade964acab87aa1e440a9de228bca9f15c6ab390b92a89698de09b4f207eb32f1ca6727a970336d521b471aae6e4f4f6bac53
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,21 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release history for google-apis-spanner_v1
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### v0.19.0 (2021-09-27)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Regenerated from discovery document revision 20210914
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ### v0.18.0 (2021-08-30)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            * Regenerated from discovery document revision 20210825
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            ### v0.17.0 (2021-08-21)
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            * Regenerated from discovery document revision 20210816
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            ### v0.16.0 (2021-07-31)
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            * Regenerated from discovery document revision 20210723
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
       3 
19 
     | 
    
         
             
            ### v0.15.0 (2021-07-12)
         
     | 
| 
       4 
20 
     | 
    
         | 
| 
       5 
21 
     | 
    
         
             
            * Regenerated from discovery document revision 20210703
         
     | 
| 
         @@ -248,49 +248,50 @@ module Google 
     | 
|
| 
       248 
248 
     | 
    
         
             
                    # committing the retry, the client should execute the retry in the same session
         
     | 
| 
       249 
249 
     | 
    
         
             
                    # as the original attempt. The original session's lock priority increases with
         
     | 
| 
       250 
250 
     | 
    
         
             
                    # each consecutive abort, meaning that each attempt has a slightly better chance
         
     | 
| 
       251 
     | 
    
         
            -
                    # of success than the previous. Under some circumstances ( 
     | 
| 
      
 251 
     | 
    
         
            +
                    # of success than the previous. Under some circumstances (for example, many
         
     | 
| 
       252 
252 
     | 
    
         
             
                    # transactions attempting to modify the same row(s)), a transaction can abort
         
     | 
| 
       253 
253 
     | 
    
         
             
                    # many times in a short period before successfully committing. Thus, it is not a
         
     | 
| 
       254 
254 
     | 
    
         
             
                    # good idea to cap the number of retries a transaction can attempt; instead, it
         
     | 
| 
       255 
     | 
    
         
            -
                    # is better to limit the total amount of  
     | 
| 
       256 
     | 
    
         
            -
                    #  
     | 
| 
       257 
     | 
    
         
            -
                    #  
     | 
| 
       258 
     | 
    
         
            -
                    #  
     | 
| 
       259 
     | 
    
         
            -
                    #  
     | 
| 
       260 
     | 
    
         
            -
                    # ABORTED`. If this behavior is undesirable, periodically executing 
     | 
| 
       261 
     | 
    
         
            -
                    # query in the transaction ( 
     | 
| 
       262 
     | 
    
         
            -
                    # becoming idle. Snapshot Read-Only Transactions: Snapshot read- 
     | 
| 
       263 
     | 
    
         
            -
                    # transactions provides a simpler method than locking read-write 
     | 
| 
       264 
     | 
    
         
            -
                    # for doing several consistent reads. However, this type of 
     | 
| 
       265 
     | 
    
         
            -
                    # support writes. Snapshot transactions do not take locks. 
     | 
| 
       266 
     | 
    
         
            -
                    # choosing a Cloud Spanner timestamp, then executing all 
     | 
| 
       267 
     | 
    
         
            -
                    # Since they do not acquire locks, they do not block 
     | 
| 
       268 
     | 
    
         
            -
                    # transactions. Unlike locking read-write transactions, 
     | 
| 
       269 
     | 
    
         
            -
                    # transactions never abort. They can fail if the chosen read 
     | 
| 
       270 
     | 
    
         
            -
                    # garbage collected; however, the default garbage collection policy 
     | 
| 
       271 
     | 
    
         
            -
                    # enough that most applications do not need to worry about this in 
     | 
| 
       272 
     | 
    
         
            -
                    # Snapshot read-only transactions do not need to call Commit or 
     | 
| 
       273 
     | 
    
         
            -
                    # fact are not permitted to do so). To execute a snapshot 
     | 
| 
       274 
     | 
    
         
            -
                    # client specifies a timestamp bound, which tells Cloud Spanner 
     | 
| 
       275 
     | 
    
         
            -
                    # read timestamp. The types of timestamp bound are: - Strong ( 
     | 
| 
       276 
     | 
    
         
            -
                    # Bounded staleness. - Exact staleness. If the Cloud Spanner 
     | 
| 
       277 
     | 
    
         
            -
                    # is geographically distributed, stale read-only 
     | 
| 
       278 
     | 
    
         
            -
                    # quickly than strong or read-write transaction, 
     | 
| 
       279 
     | 
    
         
            -
                    # execute far from the leader replica. Each type of 
     | 
| 
       280 
     | 
    
         
            -
                    # in detail below. Strong: Strong reads are 
     | 
| 
       281 
     | 
    
         
            -
                    #  
     | 
| 
       282 
     | 
    
         
            -
                    # all rows yielded by a single read are 
     | 
| 
       283 
     | 
    
         
            -
                    #  
     | 
| 
       284 
     | 
    
         
            -
                    # transaction. Strong reads are not repeatable: 
     | 
| 
       285 
     | 
    
         
            -
                    # transactions might return inconsistent 
     | 
| 
       286 
     | 
    
         
            -
                    #  
     | 
| 
       287 
     | 
    
         
            -
                    # transaction or at an exact 
     | 
| 
       288 
     | 
    
         
            -
                    # strong. Exact Staleness: These 
     | 
| 
       289 
     | 
    
         
            -
                    #  
     | 
| 
       290 
     | 
    
         
            -
                    #  
     | 
| 
       291 
     | 
    
         
            -
                    #  
     | 
| 
       292 
     | 
    
         
            -
                    #  
     | 
| 
       293 
     | 
    
         
            -
                    #  
     | 
| 
      
 255 
     | 
    
         
            +
                    # is better to limit the total amount of time spent retrying. Idle Transactions:
         
     | 
| 
      
 256 
     | 
    
         
            +
                    # A transaction is considered idle if it has no outstanding reads or SQL queries
         
     | 
| 
      
 257 
     | 
    
         
            +
                    # and has not started a read or SQL query within the last 10 seconds. Idle
         
     | 
| 
      
 258 
     | 
    
         
            +
                    # transactions can be aborted by Cloud Spanner so that they don't hold on to
         
     | 
| 
      
 259 
     | 
    
         
            +
                    # locks indefinitely. If an idle transaction is aborted, the commit will fail
         
     | 
| 
      
 260 
     | 
    
         
            +
                    # with error `ABORTED`. If this behavior is undesirable, periodically executing
         
     | 
| 
      
 261 
     | 
    
         
            +
                    # a simple SQL query in the transaction (for example, `SELECT 1`) prevents the
         
     | 
| 
      
 262 
     | 
    
         
            +
                    # transaction from becoming idle. Snapshot Read-Only Transactions: Snapshot read-
         
     | 
| 
      
 263 
     | 
    
         
            +
                    # only transactions provides a simpler method than locking read-write
         
     | 
| 
      
 264 
     | 
    
         
            +
                    # transactions for doing several consistent reads. However, this type of
         
     | 
| 
      
 265 
     | 
    
         
            +
                    # transaction does not support writes. Snapshot transactions do not take locks.
         
     | 
| 
      
 266 
     | 
    
         
            +
                    # Instead, they work by choosing a Cloud Spanner timestamp, then executing all
         
     | 
| 
      
 267 
     | 
    
         
            +
                    # reads at that timestamp. Since they do not acquire locks, they do not block
         
     | 
| 
      
 268 
     | 
    
         
            +
                    # concurrent read-write transactions. Unlike locking read-write transactions,
         
     | 
| 
      
 269 
     | 
    
         
            +
                    # snapshot read-only transactions never abort. They can fail if the chosen read
         
     | 
| 
      
 270 
     | 
    
         
            +
                    # timestamp is garbage collected; however, the default garbage collection policy
         
     | 
| 
      
 271 
     | 
    
         
            +
                    # is generous enough that most applications do not need to worry about this in
         
     | 
| 
      
 272 
     | 
    
         
            +
                    # practice. Snapshot read-only transactions do not need to call Commit or
         
     | 
| 
      
 273 
     | 
    
         
            +
                    # Rollback (and in fact are not permitted to do so). To execute a snapshot
         
     | 
| 
      
 274 
     | 
    
         
            +
                    # transaction, the client specifies a timestamp bound, which tells Cloud Spanner
         
     | 
| 
      
 275 
     | 
    
         
            +
                    # how to choose a read timestamp. The types of timestamp bound are: - Strong (
         
     | 
| 
      
 276 
     | 
    
         
            +
                    # the default). - Bounded staleness. - Exact staleness. If the Cloud Spanner
         
     | 
| 
      
 277 
     | 
    
         
            +
                    # database to be read is geographically distributed, stale read-only
         
     | 
| 
      
 278 
     | 
    
         
            +
                    # transactions can execute more quickly than strong or read-write transaction,
         
     | 
| 
      
 279 
     | 
    
         
            +
                    # because they are able to execute far from the leader replica. Each type of
         
     | 
| 
      
 280 
     | 
    
         
            +
                    # timestamp bound is discussed in detail below. Strong: Strong reads are
         
     | 
| 
      
 281 
     | 
    
         
            +
                    # guaranteed to see the effects of all transactions that have committed before
         
     | 
| 
      
 282 
     | 
    
         
            +
                    # the start of the read. Furthermore, all rows yielded by a single read are
         
     | 
| 
      
 283 
     | 
    
         
            +
                    # consistent with each other -- if any part of the read observes a transaction,
         
     | 
| 
      
 284 
     | 
    
         
            +
                    # all parts of the read see the transaction. Strong reads are not repeatable:
         
     | 
| 
      
 285 
     | 
    
         
            +
                    # two consecutive strong read-only transactions might return inconsistent
         
     | 
| 
      
 286 
     | 
    
         
            +
                    # results if there are concurrent writes. If consistency across reads is
         
     | 
| 
      
 287 
     | 
    
         
            +
                    # required, the reads should be executed within a transaction or at an exact
         
     | 
| 
      
 288 
     | 
    
         
            +
                    # read timestamp. See TransactionOptions.ReadOnly.strong. Exact Staleness: These
         
     | 
| 
      
 289 
     | 
    
         
            +
                    # timestamp bounds execute reads at a user-specified timestamp. Reads at a
         
     | 
| 
      
 290 
     | 
    
         
            +
                    # timestamp are guaranteed to see a consistent prefix of the global transaction
         
     | 
| 
      
 291 
     | 
    
         
            +
                    # history: they observe modifications done by all transactions with a commit
         
     | 
| 
      
 292 
     | 
    
         
            +
                    # timestamp less than or equal to the read timestamp, and observe none of the
         
     | 
| 
      
 293 
     | 
    
         
            +
                    # modifications done by transactions with a larger commit timestamp. They will
         
     | 
| 
      
 294 
     | 
    
         
            +
                    # block until all conflicting transactions that may be assigned commit
         
     | 
| 
       294 
295 
     | 
    
         
             
                    # timestamps <= the read timestamp have finished. The timestamp can either be
         
     | 
| 
       295 
296 
     | 
    
         
             
                    # expressed as an absolute Cloud Spanner commit timestamp or a staleness
         
     | 
| 
       296 
297 
     | 
    
         
             
                    # relative to the current time. These modes do not require a "negotiation phase"
         
     | 
| 
         @@ -559,49 +560,50 @@ module Google 
     | 
|
| 
       559 
560 
     | 
    
         
             
                    # committing the retry, the client should execute the retry in the same session
         
     | 
| 
       560 
561 
     | 
    
         
             
                    # as the original attempt. The original session's lock priority increases with
         
     | 
| 
       561 
562 
     | 
    
         
             
                    # each consecutive abort, meaning that each attempt has a slightly better chance
         
     | 
| 
       562 
     | 
    
         
            -
                    # of success than the previous. Under some circumstances ( 
     | 
| 
      
 563 
     | 
    
         
            +
                    # of success than the previous. Under some circumstances (for example, many
         
     | 
| 
       563 
564 
     | 
    
         
             
                    # transactions attempting to modify the same row(s)), a transaction can abort
         
     | 
| 
       564 
565 
     | 
    
         
             
                    # many times in a short period before successfully committing. Thus, it is not a
         
     | 
| 
       565 
566 
     | 
    
         
             
                    # good idea to cap the number of retries a transaction can attempt; instead, it
         
     | 
| 
       566 
     | 
    
         
            -
                    # is better to limit the total amount of  
     | 
| 
       567 
     | 
    
         
            -
                    #  
     | 
| 
       568 
     | 
    
         
            -
                    #  
     | 
| 
       569 
     | 
    
         
            -
                    #  
     | 
| 
       570 
     | 
    
         
            -
                    #  
     | 
| 
       571 
     | 
    
         
            -
                    # ABORTED`. If this behavior is undesirable, periodically executing 
     | 
| 
       572 
     | 
    
         
            -
                    # query in the transaction ( 
     | 
| 
       573 
     | 
    
         
            -
                    # becoming idle. Snapshot Read-Only Transactions: Snapshot read- 
     | 
| 
       574 
     | 
    
         
            -
                    # transactions provides a simpler method than locking read-write 
     | 
| 
       575 
     | 
    
         
            -
                    # for doing several consistent reads. However, this type of 
     | 
| 
       576 
     | 
    
         
            -
                    # support writes. Snapshot transactions do not take locks. 
     | 
| 
       577 
     | 
    
         
            -
                    # choosing a Cloud Spanner timestamp, then executing all 
     | 
| 
       578 
     | 
    
         
            -
                    # Since they do not acquire locks, they do not block 
     | 
| 
       579 
     | 
    
         
            -
                    # transactions. Unlike locking read-write transactions, 
     | 
| 
       580 
     | 
    
         
            -
                    # transactions never abort. They can fail if the chosen read 
     | 
| 
       581 
     | 
    
         
            -
                    # garbage collected; however, the default garbage collection policy 
     | 
| 
       582 
     | 
    
         
            -
                    # enough that most applications do not need to worry about this in 
     | 
| 
       583 
     | 
    
         
            -
                    # Snapshot read-only transactions do not need to call Commit or 
     | 
| 
       584 
     | 
    
         
            -
                    # fact are not permitted to do so). To execute a snapshot 
     | 
| 
       585 
     | 
    
         
            -
                    # client specifies a timestamp bound, which tells Cloud Spanner 
     | 
| 
       586 
     | 
    
         
            -
                    # read timestamp. The types of timestamp bound are: - Strong ( 
     | 
| 
       587 
     | 
    
         
            -
                    # Bounded staleness. - Exact staleness. If the Cloud Spanner 
     | 
| 
       588 
     | 
    
         
            -
                    # is geographically distributed, stale read-only 
     | 
| 
       589 
     | 
    
         
            -
                    # quickly than strong or read-write transaction, 
     | 
| 
       590 
     | 
    
         
            -
                    # execute far from the leader replica. Each type of 
     | 
| 
       591 
     | 
    
         
            -
                    # in detail below. Strong: Strong reads are 
     | 
| 
       592 
     | 
    
         
            -
                    #  
     | 
| 
       593 
     | 
    
         
            -
                    # all rows yielded by a single read are 
     | 
| 
       594 
     | 
    
         
            -
                    #  
     | 
| 
       595 
     | 
    
         
            -
                    # transaction. Strong reads are not repeatable: 
     | 
| 
       596 
     | 
    
         
            -
                    # transactions might return inconsistent 
     | 
| 
       597 
     | 
    
         
            -
                    #  
     | 
| 
       598 
     | 
    
         
            -
                    # transaction or at an exact 
     | 
| 
       599 
     | 
    
         
            -
                    # strong. Exact Staleness: These 
     | 
| 
       600 
     | 
    
         
            -
                    #  
     | 
| 
       601 
     | 
    
         
            -
                    #  
     | 
| 
       602 
     | 
    
         
            -
                    #  
     | 
| 
       603 
     | 
    
         
            -
                    #  
     | 
| 
       604 
     | 
    
         
            -
                    #  
     | 
| 
      
 567 
     | 
    
         
            +
                    # is better to limit the total amount of time spent retrying. Idle Transactions:
         
     | 
| 
      
 568 
     | 
    
         
            +
                    # A transaction is considered idle if it has no outstanding reads or SQL queries
         
     | 
| 
      
 569 
     | 
    
         
            +
                    # and has not started a read or SQL query within the last 10 seconds. Idle
         
     | 
| 
      
 570 
     | 
    
         
            +
                    # transactions can be aborted by Cloud Spanner so that they don't hold on to
         
     | 
| 
      
 571 
     | 
    
         
            +
                    # locks indefinitely. If an idle transaction is aborted, the commit will fail
         
     | 
| 
      
 572 
     | 
    
         
            +
                    # with error `ABORTED`. If this behavior is undesirable, periodically executing
         
     | 
| 
      
 573 
     | 
    
         
            +
                    # a simple SQL query in the transaction (for example, `SELECT 1`) prevents the
         
     | 
| 
      
 574 
     | 
    
         
            +
                    # transaction from becoming idle. Snapshot Read-Only Transactions: Snapshot read-
         
     | 
| 
      
 575 
     | 
    
         
            +
                    # only transactions provides a simpler method than locking read-write
         
     | 
| 
      
 576 
     | 
    
         
            +
                    # transactions for doing several consistent reads. However, this type of
         
     | 
| 
      
 577 
     | 
    
         
            +
                    # transaction does not support writes. Snapshot transactions do not take locks.
         
     | 
| 
      
 578 
     | 
    
         
            +
                    # Instead, they work by choosing a Cloud Spanner timestamp, then executing all
         
     | 
| 
      
 579 
     | 
    
         
            +
                    # reads at that timestamp. Since they do not acquire locks, they do not block
         
     | 
| 
      
 580 
     | 
    
         
            +
                    # concurrent read-write transactions. Unlike locking read-write transactions,
         
     | 
| 
      
 581 
     | 
    
         
            +
                    # snapshot read-only transactions never abort. They can fail if the chosen read
         
     | 
| 
      
 582 
     | 
    
         
            +
                    # timestamp is garbage collected; however, the default garbage collection policy
         
     | 
| 
      
 583 
     | 
    
         
            +
                    # is generous enough that most applications do not need to worry about this in
         
     | 
| 
      
 584 
     | 
    
         
            +
                    # practice. Snapshot read-only transactions do not need to call Commit or
         
     | 
| 
      
 585 
     | 
    
         
            +
                    # Rollback (and in fact are not permitted to do so). To execute a snapshot
         
     | 
| 
      
 586 
     | 
    
         
            +
                    # transaction, the client specifies a timestamp bound, which tells Cloud Spanner
         
     | 
| 
      
 587 
     | 
    
         
            +
                    # how to choose a read timestamp. The types of timestamp bound are: - Strong (
         
     | 
| 
      
 588 
     | 
    
         
            +
                    # the default). - Bounded staleness. - Exact staleness. If the Cloud Spanner
         
     | 
| 
      
 589 
     | 
    
         
            +
                    # database to be read is geographically distributed, stale read-only
         
     | 
| 
      
 590 
     | 
    
         
            +
                    # transactions can execute more quickly than strong or read-write transaction,
         
     | 
| 
      
 591 
     | 
    
         
            +
                    # because they are able to execute far from the leader replica. Each type of
         
     | 
| 
      
 592 
     | 
    
         
            +
                    # timestamp bound is discussed in detail below. Strong: Strong reads are
         
     | 
| 
      
 593 
     | 
    
         
            +
                    # guaranteed to see the effects of all transactions that have committed before
         
     | 
| 
      
 594 
     | 
    
         
            +
                    # the start of the read. Furthermore, all rows yielded by a single read are
         
     | 
| 
      
 595 
     | 
    
         
            +
                    # consistent with each other -- if any part of the read observes a transaction,
         
     | 
| 
      
 596 
     | 
    
         
            +
                    # all parts of the read see the transaction. Strong reads are not repeatable:
         
     | 
| 
      
 597 
     | 
    
         
            +
                    # two consecutive strong read-only transactions might return inconsistent
         
     | 
| 
      
 598 
     | 
    
         
            +
                    # results if there are concurrent writes. If consistency across reads is
         
     | 
| 
      
 599 
     | 
    
         
            +
                    # required, the reads should be executed within a transaction or at an exact
         
     | 
| 
      
 600 
     | 
    
         
            +
                    # read timestamp. See TransactionOptions.ReadOnly.strong. Exact Staleness: These
         
     | 
| 
      
 601 
     | 
    
         
            +
                    # timestamp bounds execute reads at a user-specified timestamp. Reads at a
         
     | 
| 
      
 602 
     | 
    
         
            +
                    # timestamp are guaranteed to see a consistent prefix of the global transaction
         
     | 
| 
      
 603 
     | 
    
         
            +
                    # history: they observe modifications done by all transactions with a commit
         
     | 
| 
      
 604 
     | 
    
         
            +
                    # timestamp less than or equal to the read timestamp, and observe none of the
         
     | 
| 
      
 605 
     | 
    
         
            +
                    # modifications done by transactions with a larger commit timestamp. They will
         
     | 
| 
      
 606 
     | 
    
         
            +
                    # block until all conflicting transactions that may be assigned commit
         
     | 
| 
       605 
607 
     | 
    
         
             
                    # timestamps <= the read timestamp have finished. The timestamp can either be
         
     | 
| 
       606 
608 
     | 
    
         
             
                    # expressed as an absolute Cloud Spanner commit timestamp or a staleness
         
     | 
| 
       607 
609 
     | 
    
         
             
                    # relative to the current time. These modes do not require a "negotiation phase"
         
     | 
| 
         @@ -1651,16 +1653,16 @@ module Google 
     | 
|
| 
       1651 
1653 
     | 
    
         
             
                    # resources. They can be used to control how resource metrics are aggregated.
         
     | 
| 
       1652 
1654 
     | 
    
         
             
                    # And they can be used as arguments to policy management rules (e.g. route,
         
     | 
| 
       1653 
1655 
     | 
    
         
             
                    # firewall, load balancing, etc.). * Label keys must be between 1 and 63
         
     | 
| 
       1654 
     | 
    
         
            -
                    # characters long and must conform to the following regular expression: ` 
     | 
| 
       1655 
     | 
    
         
            -
                    #  
     | 
| 
       1656 
     | 
    
         
            -
                    #  
     | 
| 
       1657 
     | 
    
         
            -
                    #  
     | 
| 
       1658 
     | 
    
         
            -
                    #  
     | 
| 
       1659 
     | 
    
         
            -
                    #  
     | 
| 
       1660 
     | 
    
         
            -
                    #  
     | 
| 
       1661 
     | 
    
         
            -
                    #  
     | 
| 
       1662 
     | 
    
         
            -
                    #  
     | 
| 
       1663 
     | 
    
         
            -
                    #  
     | 
| 
      
 1656 
     | 
    
         
            +
                    # characters long and must conform to the following regular expression: `a-z`0,
         
     | 
| 
      
 1657 
     | 
    
         
            +
                    # 62``. * Label values must be between 0 and 63 characters long and must conform
         
     | 
| 
      
 1658 
     | 
    
         
            +
                    # to the regular expression `[a-z0-9_-]`0,63``. * No more than 64 labels can be
         
     | 
| 
      
 1659 
     | 
    
         
            +
                    # associated with a given resource. See https://goo.gl/xmQnxf for more
         
     | 
| 
      
 1660 
     | 
    
         
            +
                    # information on and examples of labels. If you plan to use labels in your own
         
     | 
| 
      
 1661 
     | 
    
         
            +
                    # code, please note that additional characters may be allowed in the future. And
         
     | 
| 
      
 1662 
     | 
    
         
            +
                    # so you are advised to use an internal label representation, such as JSON,
         
     | 
| 
      
 1663 
     | 
    
         
            +
                    # which doesn't rely upon specific characters being disallowed. For example,
         
     | 
| 
      
 1664 
     | 
    
         
            +
                    # representing labels as the string: name + "_" + value would prove problematic
         
     | 
| 
      
 1665 
     | 
    
         
            +
                    # if we were to allow "_" in a future release.
         
     | 
| 
       1664 
1666 
     | 
    
         
             
                    # Corresponds to the JSON property `labels`
         
     | 
| 
       1665 
1667 
     | 
    
         
             
                    # @return [Hash<String,String>]
         
     | 
| 
       1666 
1668 
     | 
    
         
             
                    attr_accessor :labels
         
     | 
| 
         @@ -1673,17 +1675,20 @@ module Google 
     | 
|
| 
       1673 
1675 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       1674 
1676 
     | 
    
         
             
                    attr_accessor :name
         
     | 
| 
       1675 
1677 
     | 
    
         | 
| 
       1676 
     | 
    
         
            -
                    # The number of nodes allocated to this instance.  
     | 
| 
       1677 
     | 
    
         
            -
                    #  
     | 
| 
       1678 
     | 
    
         
            -
                    #  
     | 
| 
       1679 
     | 
    
         
            -
                    #  
     | 
| 
      
 1678 
     | 
    
         
            +
                    # The number of nodes allocated to this instance. At most one of either
         
     | 
| 
      
 1679 
     | 
    
         
            +
                    # node_count or processing_units should be present in the message. This may be
         
     | 
| 
      
 1680 
     | 
    
         
            +
                    # zero in API responses for instances that are not yet in state `READY`. See [
         
     | 
| 
      
 1681 
     | 
    
         
            +
                    # the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for
         
     | 
| 
      
 1682 
     | 
    
         
            +
                    # more information about nodes and processing units.
         
     | 
| 
       1680 
1683 
     | 
    
         
             
                    # Corresponds to the JSON property `nodeCount`
         
     | 
| 
       1681 
1684 
     | 
    
         
             
                    # @return [Fixnum]
         
     | 
| 
       1682 
1685 
     | 
    
         
             
                    attr_accessor :node_count
         
     | 
| 
       1683 
1686 
     | 
    
         | 
| 
       1684 
1687 
     | 
    
         
             
                    # The number of processing units allocated to this instance. At most one of
         
     | 
| 
       1685 
1688 
     | 
    
         
             
                    # processing_units or node_count should be present in the message. This may be
         
     | 
| 
       1686 
     | 
    
         
            -
                    # zero in API responses for instances that are not yet in state `READY`.
         
     | 
| 
      
 1689 
     | 
    
         
            +
                    # zero in API responses for instances that are not yet in state `READY`. See [
         
     | 
| 
      
 1690 
     | 
    
         
            +
                    # the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for
         
     | 
| 
      
 1691 
     | 
    
         
            +
                    # more information about nodes and processing units.
         
     | 
| 
       1687 
1692 
     | 
    
         
             
                    # Corresponds to the JSON property `processingUnits`
         
     | 
| 
       1688 
1693 
     | 
    
         
             
                    # @return [Fixnum]
         
     | 
| 
       1689 
1694 
     | 
    
         
             
                    attr_accessor :processing_units
         
     | 
| 
         @@ -1729,7 +1734,7 @@ module Google 
     | 
|
| 
       1729 
1734 
     | 
    
         
             
                    attr_accessor :leader_options
         
     | 
| 
       1730 
1735 
     | 
    
         | 
| 
       1731 
1736 
     | 
    
         
             
                    # A unique identifier for the instance configuration. Values are of the form `
         
     | 
| 
       1732 
     | 
    
         
            -
                    # projects//instanceConfigs/a-z 
     | 
| 
      
 1737 
     | 
    
         
            +
                    # projects//instanceConfigs/a-z*`.
         
     | 
| 
       1733 
1738 
     | 
    
         
             
                    # Corresponds to the JSON property `name`
         
     | 
| 
       1734 
1739 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       1735 
1740 
     | 
    
         
             
                    attr_accessor :name
         
     | 
| 
         @@ -2934,7 +2939,7 @@ module Google 
     | 
|
| 
       2934 
2939 
     | 
    
         
             
                  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
         
     | 
| 
       2935 
2940 
     | 
    
         
             
                  # roles/resourcemanager.organizationViewer condition: title: expirable access
         
     | 
| 
       2936 
2941 
     | 
    
         
             
                  # description: Does not grant access after Sep 2020 expression: request.time <
         
     | 
| 
       2937 
     | 
    
         
            -
                  # timestamp('2020-10-01T00:00:00.000Z')  
     | 
| 
      
 2942 
     | 
    
         
            +
                  # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
         
     | 
| 
       2938 
2943 
     | 
    
         
             
                  # description of IAM and its features, see the [IAM documentation](https://cloud.
         
     | 
| 
       2939 
2944 
     | 
    
         
             
                  # google.com/iam/docs/).
         
     | 
| 
       2940 
2945 
     | 
    
         
             
                  class Policy
         
     | 
| 
         @@ -3788,7 +3793,7 @@ module Google 
     | 
|
| 
       3788 
3793 
     | 
    
         
             
                    # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
         
     | 
| 
       3789 
3794 
     | 
    
         
             
                    # roles/resourcemanager.organizationViewer condition: title: expirable access
         
     | 
| 
       3790 
3795 
     | 
    
         
             
                    # description: Does not grant access after Sep 2020 expression: request.time <
         
     | 
| 
       3791 
     | 
    
         
            -
                    # timestamp('2020-10-01T00:00:00.000Z')  
     | 
| 
      
 3796 
     | 
    
         
            +
                    # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
         
     | 
| 
       3792 
3797 
     | 
    
         
             
                    # description of IAM and its features, see the [IAM documentation](https://cloud.
         
     | 
| 
       3793 
3798 
     | 
    
         
             
                    # google.com/iam/docs/).
         
     | 
| 
       3794 
3799 
     | 
    
         
             
                    # Corresponds to the JSON property `policy`
         
     | 
| 
         @@ -4054,49 +4059,50 @@ module Google 
     | 
|
| 
       4054 
4059 
     | 
    
         
             
                  # committing the retry, the client should execute the retry in the same session
         
     | 
| 
       4055 
4060 
     | 
    
         
             
                  # as the original attempt. The original session's lock priority increases with
         
     | 
| 
       4056 
4061 
     | 
    
         
             
                  # each consecutive abort, meaning that each attempt has a slightly better chance
         
     | 
| 
       4057 
     | 
    
         
            -
                  # of success than the previous. Under some circumstances ( 
     | 
| 
      
 4062 
     | 
    
         
            +
                  # of success than the previous. Under some circumstances (for example, many
         
     | 
| 
       4058 
4063 
     | 
    
         
             
                  # transactions attempting to modify the same row(s)), a transaction can abort
         
     | 
| 
       4059 
4064 
     | 
    
         
             
                  # many times in a short period before successfully committing. Thus, it is not a
         
     | 
| 
       4060 
4065 
     | 
    
         
             
                  # good idea to cap the number of retries a transaction can attempt; instead, it
         
     | 
| 
       4061 
     | 
    
         
            -
                  # is better to limit the total amount of  
     | 
| 
       4062 
     | 
    
         
            -
                  #  
     | 
| 
       4063 
     | 
    
         
            -
                  #  
     | 
| 
       4064 
     | 
    
         
            -
                  #  
     | 
| 
       4065 
     | 
    
         
            -
                  #  
     | 
| 
       4066 
     | 
    
         
            -
                  # ABORTED`. If this behavior is undesirable, periodically executing 
     | 
| 
       4067 
     | 
    
         
            -
                  # query in the transaction ( 
     | 
| 
       4068 
     | 
    
         
            -
                  # becoming idle. Snapshot Read-Only Transactions: Snapshot read- 
     | 
| 
       4069 
     | 
    
         
            -
                  # transactions provides a simpler method than locking read-write 
     | 
| 
       4070 
     | 
    
         
            -
                  # for doing several consistent reads. However, this type of 
     | 
| 
       4071 
     | 
    
         
            -
                  # support writes. Snapshot transactions do not take locks. 
     | 
| 
       4072 
     | 
    
         
            -
                  # choosing a Cloud Spanner timestamp, then executing all 
     | 
| 
       4073 
     | 
    
         
            -
                  # Since they do not acquire locks, they do not block 
     | 
| 
       4074 
     | 
    
         
            -
                  # transactions. Unlike locking read-write transactions, 
     | 
| 
       4075 
     | 
    
         
            -
                  # transactions never abort. They can fail if the chosen read 
     | 
| 
       4076 
     | 
    
         
            -
                  # garbage collected; however, the default garbage collection policy 
     | 
| 
       4077 
     | 
    
         
            -
                  # enough that most applications do not need to worry about this in 
     | 
| 
       4078 
     | 
    
         
            -
                  # Snapshot read-only transactions do not need to call Commit or 
     | 
| 
       4079 
     | 
    
         
            -
                  # fact are not permitted to do so). To execute a snapshot 
     | 
| 
       4080 
     | 
    
         
            -
                  # client specifies a timestamp bound, which tells Cloud Spanner 
     | 
| 
       4081 
     | 
    
         
            -
                  # read timestamp. The types of timestamp bound are: - Strong ( 
     | 
| 
       4082 
     | 
    
         
            -
                  # Bounded staleness. - Exact staleness. If the Cloud Spanner 
     | 
| 
       4083 
     | 
    
         
            -
                  # is geographically distributed, stale read-only 
     | 
| 
       4084 
     | 
    
         
            -
                  # quickly than strong or read-write transaction, 
     | 
| 
       4085 
     | 
    
         
            -
                  # execute far from the leader replica. Each type of 
     | 
| 
       4086 
     | 
    
         
            -
                  # in detail below. Strong: Strong reads are 
     | 
| 
       4087 
     | 
    
         
            -
                  #  
     | 
| 
       4088 
     | 
    
         
            -
                  # all rows yielded by a single read are 
     | 
| 
       4089 
     | 
    
         
            -
                  #  
     | 
| 
       4090 
     | 
    
         
            -
                  # transaction. Strong reads are not repeatable: 
     | 
| 
       4091 
     | 
    
         
            -
                  # transactions might return inconsistent 
     | 
| 
       4092 
     | 
    
         
            -
                  #  
     | 
| 
       4093 
     | 
    
         
            -
                  # transaction or at an exact 
     | 
| 
       4094 
     | 
    
         
            -
                  # strong. Exact Staleness: These 
     | 
| 
       4095 
     | 
    
         
            -
                  #  
     | 
| 
       4096 
     | 
    
         
            -
                  #  
     | 
| 
       4097 
     | 
    
         
            -
                  #  
     | 
| 
       4098 
     | 
    
         
            -
                  #  
     | 
| 
       4099 
     | 
    
         
            -
                  #  
     | 
| 
      
 4066 
     | 
    
         
            +
                  # is better to limit the total amount of time spent retrying. Idle Transactions:
         
     | 
| 
      
 4067 
     | 
    
         
            +
                  # A transaction is considered idle if it has no outstanding reads or SQL queries
         
     | 
| 
      
 4068 
     | 
    
         
            +
                  # and has not started a read or SQL query within the last 10 seconds. Idle
         
     | 
| 
      
 4069 
     | 
    
         
            +
                  # transactions can be aborted by Cloud Spanner so that they don't hold on to
         
     | 
| 
      
 4070 
     | 
    
         
            +
                  # locks indefinitely. If an idle transaction is aborted, the commit will fail
         
     | 
| 
      
 4071 
     | 
    
         
            +
                  # with error `ABORTED`. If this behavior is undesirable, periodically executing
         
     | 
| 
      
 4072 
     | 
    
         
            +
                  # a simple SQL query in the transaction (for example, `SELECT 1`) prevents the
         
     | 
| 
      
 4073 
     | 
    
         
            +
                  # transaction from becoming idle. Snapshot Read-Only Transactions: Snapshot read-
         
     | 
| 
      
 4074 
     | 
    
         
            +
                  # only transactions provides a simpler method than locking read-write
         
     | 
| 
      
 4075 
     | 
    
         
            +
                  # transactions for doing several consistent reads. However, this type of
         
     | 
| 
      
 4076 
     | 
    
         
            +
                  # transaction does not support writes. Snapshot transactions do not take locks.
         
     | 
| 
      
 4077 
     | 
    
         
            +
                  # Instead, they work by choosing a Cloud Spanner timestamp, then executing all
         
     | 
| 
      
 4078 
     | 
    
         
            +
                  # reads at that timestamp. Since they do not acquire locks, they do not block
         
     | 
| 
      
 4079 
     | 
    
         
            +
                  # concurrent read-write transactions. Unlike locking read-write transactions,
         
     | 
| 
      
 4080 
     | 
    
         
            +
                  # snapshot read-only transactions never abort. They can fail if the chosen read
         
     | 
| 
      
 4081 
     | 
    
         
            +
                  # timestamp is garbage collected; however, the default garbage collection policy
         
     | 
| 
      
 4082 
     | 
    
         
            +
                  # is generous enough that most applications do not need to worry about this in
         
     | 
| 
      
 4083 
     | 
    
         
            +
                  # practice. Snapshot read-only transactions do not need to call Commit or
         
     | 
| 
      
 4084 
     | 
    
         
            +
                  # Rollback (and in fact are not permitted to do so). To execute a snapshot
         
     | 
| 
      
 4085 
     | 
    
         
            +
                  # transaction, the client specifies a timestamp bound, which tells Cloud Spanner
         
     | 
| 
      
 4086 
     | 
    
         
            +
                  # how to choose a read timestamp. The types of timestamp bound are: - Strong (
         
     | 
| 
      
 4087 
     | 
    
         
            +
                  # the default). - Bounded staleness. - Exact staleness. If the Cloud Spanner
         
     | 
| 
      
 4088 
     | 
    
         
            +
                  # database to be read is geographically distributed, stale read-only
         
     | 
| 
      
 4089 
     | 
    
         
            +
                  # transactions can execute more quickly than strong or read-write transaction,
         
     | 
| 
      
 4090 
     | 
    
         
            +
                  # because they are able to execute far from the leader replica. Each type of
         
     | 
| 
      
 4091 
     | 
    
         
            +
                  # timestamp bound is discussed in detail below. Strong: Strong reads are
         
     | 
| 
      
 4092 
     | 
    
         
            +
                  # guaranteed to see the effects of all transactions that have committed before
         
     | 
| 
      
 4093 
     | 
    
         
            +
                  # the start of the read. Furthermore, all rows yielded by a single read are
         
     | 
| 
      
 4094 
     | 
    
         
            +
                  # consistent with each other -- if any part of the read observes a transaction,
         
     | 
| 
      
 4095 
     | 
    
         
            +
                  # all parts of the read see the transaction. Strong reads are not repeatable:
         
     | 
| 
      
 4096 
     | 
    
         
            +
                  # two consecutive strong read-only transactions might return inconsistent
         
     | 
| 
      
 4097 
     | 
    
         
            +
                  # results if there are concurrent writes. If consistency across reads is
         
     | 
| 
      
 4098 
     | 
    
         
            +
                  # required, the reads should be executed within a transaction or at an exact
         
     | 
| 
      
 4099 
     | 
    
         
            +
                  # read timestamp. See TransactionOptions.ReadOnly.strong. Exact Staleness: These
         
     | 
| 
      
 4100 
     | 
    
         
            +
                  # timestamp bounds execute reads at a user-specified timestamp. Reads at a
         
     | 
| 
      
 4101 
     | 
    
         
            +
                  # timestamp are guaranteed to see a consistent prefix of the global transaction
         
     | 
| 
      
 4102 
     | 
    
         
            +
                  # history: they observe modifications done by all transactions with a commit
         
     | 
| 
      
 4103 
     | 
    
         
            +
                  # timestamp less than or equal to the read timestamp, and observe none of the
         
     | 
| 
      
 4104 
     | 
    
         
            +
                  # modifications done by transactions with a larger commit timestamp. They will
         
     | 
| 
      
 4105 
     | 
    
         
            +
                  # block until all conflicting transactions that may be assigned commit
         
     | 
| 
       4100 
4106 
     | 
    
         
             
                  # timestamps <= the read timestamp have finished. The timestamp can either be
         
     | 
| 
       4101 
4107 
     | 
    
         
             
                  # expressed as an absolute Cloud Spanner commit timestamp or a staleness
         
     | 
| 
       4102 
4108 
     | 
    
         
             
                  # relative to the current time. These modes do not require a "negotiation phase"
         
     | 
| 
         @@ -4249,49 +4255,50 @@ module Google 
     | 
|
| 
       4249 
4255 
     | 
    
         
             
                    # committing the retry, the client should execute the retry in the same session
         
     | 
| 
       4250 
4256 
     | 
    
         
             
                    # as the original attempt. The original session's lock priority increases with
         
     | 
| 
       4251 
4257 
     | 
    
         
             
                    # each consecutive abort, meaning that each attempt has a slightly better chance
         
     | 
| 
       4252 
     | 
    
         
            -
                    # of success than the previous. Under some circumstances ( 
     | 
| 
      
 4258 
     | 
    
         
            +
                    # of success than the previous. Under some circumstances (for example, many
         
     | 
| 
       4253 
4259 
     | 
    
         
             
                    # transactions attempting to modify the same row(s)), a transaction can abort
         
     | 
| 
       4254 
4260 
     | 
    
         
             
                    # many times in a short period before successfully committing. Thus, it is not a
         
     | 
| 
       4255 
4261 
     | 
    
         
             
                    # good idea to cap the number of retries a transaction can attempt; instead, it
         
     | 
| 
       4256 
     | 
    
         
            -
                    # is better to limit the total amount of  
     | 
| 
       4257 
     | 
    
         
            -
                    #  
     | 
| 
       4258 
     | 
    
         
            -
                    #  
     | 
| 
       4259 
     | 
    
         
            -
                    #  
     | 
| 
       4260 
     | 
    
         
            -
                    #  
     | 
| 
       4261 
     | 
    
         
            -
                    # ABORTED`. If this behavior is undesirable, periodically executing 
     | 
| 
       4262 
     | 
    
         
            -
                    # query in the transaction ( 
     | 
| 
       4263 
     | 
    
         
            -
                    # becoming idle. Snapshot Read-Only Transactions: Snapshot read- 
     | 
| 
       4264 
     | 
    
         
            -
                    # transactions provides a simpler method than locking read-write 
     | 
| 
       4265 
     | 
    
         
            -
                    # for doing several consistent reads. However, this type of 
     | 
| 
       4266 
     | 
    
         
            -
                    # support writes. Snapshot transactions do not take locks. 
     | 
| 
       4267 
     | 
    
         
            -
                    # choosing a Cloud Spanner timestamp, then executing all 
     | 
| 
       4268 
     | 
    
         
            -
                    # Since they do not acquire locks, they do not block 
     | 
| 
       4269 
     | 
    
         
            -
                    # transactions. Unlike locking read-write transactions, 
     | 
| 
       4270 
     | 
    
         
            -
                    # transactions never abort. They can fail if the chosen read 
     | 
| 
       4271 
     | 
    
         
            -
                    # garbage collected; however, the default garbage collection policy 
     | 
| 
       4272 
     | 
    
         
            -
                    # enough that most applications do not need to worry about this in 
     | 
| 
       4273 
     | 
    
         
            -
                    # Snapshot read-only transactions do not need to call Commit or 
     | 
| 
       4274 
     | 
    
         
            -
                    # fact are not permitted to do so). To execute a snapshot 
     | 
| 
       4275 
     | 
    
         
            -
                    # client specifies a timestamp bound, which tells Cloud Spanner 
     | 
| 
       4276 
     | 
    
         
            -
                    # read timestamp. The types of timestamp bound are: - Strong ( 
     | 
| 
       4277 
     | 
    
         
            -
                    # Bounded staleness. - Exact staleness. If the Cloud Spanner 
     | 
| 
       4278 
     | 
    
         
            -
                    # is geographically distributed, stale read-only 
     | 
| 
       4279 
     | 
    
         
            -
                    # quickly than strong or read-write transaction, 
     | 
| 
       4280 
     | 
    
         
            -
                    # execute far from the leader replica. Each type of 
     | 
| 
       4281 
     | 
    
         
            -
                    # in detail below. Strong: Strong reads are 
     | 
| 
       4282 
     | 
    
         
            -
                    #  
     | 
| 
       4283 
     | 
    
         
            -
                    # all rows yielded by a single read are 
     | 
| 
       4284 
     | 
    
         
            -
                    #  
     | 
| 
       4285 
     | 
    
         
            -
                    # transaction. Strong reads are not repeatable: 
     | 
| 
       4286 
     | 
    
         
            -
                    # transactions might return inconsistent 
     | 
| 
       4287 
     | 
    
         
            -
                    #  
     | 
| 
       4288 
     | 
    
         
            -
                    # transaction or at an exact 
     | 
| 
       4289 
     | 
    
         
            -
                    # strong. Exact Staleness: These 
     | 
| 
       4290 
     | 
    
         
            -
                    #  
     | 
| 
       4291 
     | 
    
         
            -
                    #  
     | 
| 
       4292 
     | 
    
         
            -
                    #  
     | 
| 
       4293 
     | 
    
         
            -
                    #  
     | 
| 
       4294 
     | 
    
         
            -
                    #  
     | 
| 
      
 4262 
     | 
    
         
            +
                    # is better to limit the total amount of time spent retrying. Idle Transactions:
         
     | 
| 
      
 4263 
     | 
    
         
            +
                    # A transaction is considered idle if it has no outstanding reads or SQL queries
         
     | 
| 
      
 4264 
     | 
    
         
            +
                    # and has not started a read or SQL query within the last 10 seconds. Idle
         
     | 
| 
      
 4265 
     | 
    
         
            +
                    # transactions can be aborted by Cloud Spanner so that they don't hold on to
         
     | 
| 
      
 4266 
     | 
    
         
            +
                    # locks indefinitely. If an idle transaction is aborted, the commit will fail
         
     | 
| 
      
 4267 
     | 
    
         
            +
                    # with error `ABORTED`. If this behavior is undesirable, periodically executing
         
     | 
| 
      
 4268 
     | 
    
         
            +
                    # a simple SQL query in the transaction (for example, `SELECT 1`) prevents the
         
     | 
| 
      
 4269 
     | 
    
         
            +
                    # transaction from becoming idle. Snapshot Read-Only Transactions: Snapshot read-
         
     | 
| 
      
 4270 
     | 
    
         
            +
                    # only transactions provides a simpler method than locking read-write
         
     | 
| 
      
 4271 
     | 
    
         
            +
                    # transactions for doing several consistent reads. However, this type of
         
     | 
| 
      
 4272 
     | 
    
         
            +
                    # transaction does not support writes. Snapshot transactions do not take locks.
         
     | 
| 
      
 4273 
     | 
    
         
            +
                    # Instead, they work by choosing a Cloud Spanner timestamp, then executing all
         
     | 
| 
      
 4274 
     | 
    
         
            +
                    # reads at that timestamp. Since they do not acquire locks, they do not block
         
     | 
| 
      
 4275 
     | 
    
         
            +
                    # concurrent read-write transactions. Unlike locking read-write transactions,
         
     | 
| 
      
 4276 
     | 
    
         
            +
                    # snapshot read-only transactions never abort. They can fail if the chosen read
         
     | 
| 
      
 4277 
     | 
    
         
            +
                    # timestamp is garbage collected; however, the default garbage collection policy
         
     | 
| 
      
 4278 
     | 
    
         
            +
                    # is generous enough that most applications do not need to worry about this in
         
     | 
| 
      
 4279 
     | 
    
         
            +
                    # practice. Snapshot read-only transactions do not need to call Commit or
         
     | 
| 
      
 4280 
     | 
    
         
            +
                    # Rollback (and in fact are not permitted to do so). To execute a snapshot
         
     | 
| 
      
 4281 
     | 
    
         
            +
                    # transaction, the client specifies a timestamp bound, which tells Cloud Spanner
         
     | 
| 
      
 4282 
     | 
    
         
            +
                    # how to choose a read timestamp. The types of timestamp bound are: - Strong (
         
     | 
| 
      
 4283 
     | 
    
         
            +
                    # the default). - Bounded staleness. - Exact staleness. If the Cloud Spanner
         
     | 
| 
      
 4284 
     | 
    
         
            +
                    # database to be read is geographically distributed, stale read-only
         
     | 
| 
      
 4285 
     | 
    
         
            +
                    # transactions can execute more quickly than strong or read-write transaction,
         
     | 
| 
      
 4286 
     | 
    
         
            +
                    # because they are able to execute far from the leader replica. Each type of
         
     | 
| 
      
 4287 
     | 
    
         
            +
                    # timestamp bound is discussed in detail below. Strong: Strong reads are
         
     | 
| 
      
 4288 
     | 
    
         
            +
                    # guaranteed to see the effects of all transactions that have committed before
         
     | 
| 
      
 4289 
     | 
    
         
            +
                    # the start of the read. Furthermore, all rows yielded by a single read are
         
     | 
| 
      
 4290 
     | 
    
         
            +
                    # consistent with each other -- if any part of the read observes a transaction,
         
     | 
| 
      
 4291 
     | 
    
         
            +
                    # all parts of the read see the transaction. Strong reads are not repeatable:
         
     | 
| 
      
 4292 
     | 
    
         
            +
                    # two consecutive strong read-only transactions might return inconsistent
         
     | 
| 
      
 4293 
     | 
    
         
            +
                    # results if there are concurrent writes. If consistency across reads is
         
     | 
| 
      
 4294 
     | 
    
         
            +
                    # required, the reads should be executed within a transaction or at an exact
         
     | 
| 
      
 4295 
     | 
    
         
            +
                    # read timestamp. See TransactionOptions.ReadOnly.strong. Exact Staleness: These
         
     | 
| 
      
 4296 
     | 
    
         
            +
                    # timestamp bounds execute reads at a user-specified timestamp. Reads at a
         
     | 
| 
      
 4297 
     | 
    
         
            +
                    # timestamp are guaranteed to see a consistent prefix of the global transaction
         
     | 
| 
      
 4298 
     | 
    
         
            +
                    # history: they observe modifications done by all transactions with a commit
         
     | 
| 
      
 4299 
     | 
    
         
            +
                    # timestamp less than or equal to the read timestamp, and observe none of the
         
     | 
| 
      
 4300 
     | 
    
         
            +
                    # modifications done by transactions with a larger commit timestamp. They will
         
     | 
| 
      
 4301 
     | 
    
         
            +
                    # block until all conflicting transactions that may be assigned commit
         
     | 
| 
       4295 
4302 
     | 
    
         
             
                    # timestamps <= the read timestamp have finished. The timestamp can either be
         
     | 
| 
       4296 
4303 
     | 
    
         
             
                    # expressed as an absolute Cloud Spanner commit timestamp or a staleness
         
     | 
| 
       4297 
4304 
     | 
    
         
             
                    # relative to the current time. These modes do not require a "negotiation phase"
         
     | 
| 
         @@ -4418,49 +4425,50 @@ module Google 
     | 
|
| 
       4418 
4425 
     | 
    
         
             
                    # committing the retry, the client should execute the retry in the same session
         
     | 
| 
       4419 
4426 
     | 
    
         
             
                    # as the original attempt. The original session's lock priority increases with
         
     | 
| 
       4420 
4427 
     | 
    
         
             
                    # each consecutive abort, meaning that each attempt has a slightly better chance
         
     | 
| 
       4421 
     | 
    
         
            -
                    # of success than the previous. Under some circumstances ( 
     | 
| 
      
 4428 
     | 
    
         
            +
                    # of success than the previous. Under some circumstances (for example, many
         
     | 
| 
       4422 
4429 
     | 
    
         
             
                    # transactions attempting to modify the same row(s)), a transaction can abort
         
     | 
| 
       4423 
4430 
     | 
    
         
             
                    # many times in a short period before successfully committing. Thus, it is not a
         
     | 
| 
       4424 
4431 
     | 
    
         
             
                    # good idea to cap the number of retries a transaction can attempt; instead, it
         
     | 
| 
       4425 
     | 
    
         
            -
                    # is better to limit the total amount of  
     | 
| 
       4426 
     | 
    
         
            -
                    #  
     | 
| 
       4427 
     | 
    
         
            -
                    #  
     | 
| 
       4428 
     | 
    
         
            -
                    #  
     | 
| 
       4429 
     | 
    
         
            -
                    #  
     | 
| 
       4430 
     | 
    
         
            -
                    # ABORTED`. If this behavior is undesirable, periodically executing 
     | 
| 
       4431 
     | 
    
         
            -
                    # query in the transaction ( 
     | 
| 
       4432 
     | 
    
         
            -
                    # becoming idle. Snapshot Read-Only Transactions: Snapshot read- 
     | 
| 
       4433 
     | 
    
         
            -
                    # transactions provides a simpler method than locking read-write 
     | 
| 
       4434 
     | 
    
         
            -
                    # for doing several consistent reads. However, this type of 
     | 
| 
       4435 
     | 
    
         
            -
                    # support writes. Snapshot transactions do not take locks. 
     | 
| 
       4436 
     | 
    
         
            -
                    # choosing a Cloud Spanner timestamp, then executing all 
     | 
| 
       4437 
     | 
    
         
            -
                    # Since they do not acquire locks, they do not block 
     | 
| 
       4438 
     | 
    
         
            -
                    # transactions. Unlike locking read-write transactions, 
     | 
| 
       4439 
     | 
    
         
            -
                    # transactions never abort. They can fail if the chosen read 
     | 
| 
       4440 
     | 
    
         
            -
                    # garbage collected; however, the default garbage collection policy 
     | 
| 
       4441 
     | 
    
         
            -
                    # enough that most applications do not need to worry about this in 
     | 
| 
       4442 
     | 
    
         
            -
                    # Snapshot read-only transactions do not need to call Commit or 
     | 
| 
       4443 
     | 
    
         
            -
                    # fact are not permitted to do so). To execute a snapshot 
     | 
| 
       4444 
     | 
    
         
            -
                    # client specifies a timestamp bound, which tells Cloud Spanner 
     | 
| 
       4445 
     | 
    
         
            -
                    # read timestamp. The types of timestamp bound are: - Strong ( 
     | 
| 
       4446 
     | 
    
         
            -
                    # Bounded staleness. - Exact staleness. If the Cloud Spanner 
     | 
| 
       4447 
     | 
    
         
            -
                    # is geographically distributed, stale read-only 
     | 
| 
       4448 
     | 
    
         
            -
                    # quickly than strong or read-write transaction, 
     | 
| 
       4449 
     | 
    
         
            -
                    # execute far from the leader replica. Each type of 
     | 
| 
       4450 
     | 
    
         
            -
                    # in detail below. Strong: Strong reads are 
     | 
| 
       4451 
     | 
    
         
            -
                    #  
     | 
| 
       4452 
     | 
    
         
            -
                    # all rows yielded by a single read are 
     | 
| 
       4453 
     | 
    
         
            -
                    #  
     | 
| 
       4454 
     | 
    
         
            -
                    # transaction. Strong reads are not repeatable: 
     | 
| 
       4455 
     | 
    
         
            -
                    # transactions might return inconsistent 
     | 
| 
       4456 
     | 
    
         
            -
                    #  
     | 
| 
       4457 
     | 
    
         
            -
                    # transaction or at an exact 
     | 
| 
       4458 
     | 
    
         
            -
                    # strong. Exact Staleness: These 
     | 
| 
       4459 
     | 
    
         
            -
                    #  
     | 
| 
       4460 
     | 
    
         
            -
                    #  
     | 
| 
       4461 
     | 
    
         
            -
                    #  
     | 
| 
       4462 
     | 
    
         
            -
                    #  
     | 
| 
       4463 
     | 
    
         
            -
                    #  
     | 
| 
      
 4432 
     | 
    
         
            +
                    # is better to limit the total amount of time spent retrying. Idle Transactions:
         
     | 
| 
      
 4433 
     | 
    
         
            +
                    # A transaction is considered idle if it has no outstanding reads or SQL queries
         
     | 
| 
      
 4434 
     | 
    
         
            +
                    # and has not started a read or SQL query within the last 10 seconds. Idle
         
     | 
| 
      
 4435 
     | 
    
         
            +
                    # transactions can be aborted by Cloud Spanner so that they don't hold on to
         
     | 
| 
      
 4436 
     | 
    
         
            +
                    # locks indefinitely. If an idle transaction is aborted, the commit will fail
         
     | 
| 
      
 4437 
     | 
    
         
            +
                    # with error `ABORTED`. If this behavior is undesirable, periodically executing
         
     | 
| 
      
 4438 
     | 
    
         
            +
                    # a simple SQL query in the transaction (for example, `SELECT 1`) prevents the
         
     | 
| 
      
 4439 
     | 
    
         
            +
                    # transaction from becoming idle. Snapshot Read-Only Transactions: Snapshot read-
         
     | 
| 
      
 4440 
     | 
    
         
            +
                    # only transactions provides a simpler method than locking read-write
         
     | 
| 
      
 4441 
     | 
    
         
            +
                    # transactions for doing several consistent reads. However, this type of
         
     | 
| 
      
 4442 
     | 
    
         
            +
                    # transaction does not support writes. Snapshot transactions do not take locks.
         
     | 
| 
      
 4443 
     | 
    
         
            +
                    # Instead, they work by choosing a Cloud Spanner timestamp, then executing all
         
     | 
| 
      
 4444 
     | 
    
         
            +
                    # reads at that timestamp. Since they do not acquire locks, they do not block
         
     | 
| 
      
 4445 
     | 
    
         
            +
                    # concurrent read-write transactions. Unlike locking read-write transactions,
         
     | 
| 
      
 4446 
     | 
    
         
            +
                    # snapshot read-only transactions never abort. They can fail if the chosen read
         
     | 
| 
      
 4447 
     | 
    
         
            +
                    # timestamp is garbage collected; however, the default garbage collection policy
         
     | 
| 
      
 4448 
     | 
    
         
            +
                    # is generous enough that most applications do not need to worry about this in
         
     | 
| 
      
 4449 
     | 
    
         
            +
                    # practice. Snapshot read-only transactions do not need to call Commit or
         
     | 
| 
      
 4450 
     | 
    
         
            +
                    # Rollback (and in fact are not permitted to do so). To execute a snapshot
         
     | 
| 
      
 4451 
     | 
    
         
            +
                    # transaction, the client specifies a timestamp bound, which tells Cloud Spanner
         
     | 
| 
      
 4452 
     | 
    
         
            +
                    # how to choose a read timestamp. The types of timestamp bound are: - Strong (
         
     | 
| 
      
 4453 
     | 
    
         
            +
                    # the default). - Bounded staleness. - Exact staleness. If the Cloud Spanner
         
     | 
| 
      
 4454 
     | 
    
         
            +
                    # database to be read is geographically distributed, stale read-only
         
     | 
| 
      
 4455 
     | 
    
         
            +
                    # transactions can execute more quickly than strong or read-write transaction,
         
     | 
| 
      
 4456 
     | 
    
         
            +
                    # because they are able to execute far from the leader replica. Each type of
         
     | 
| 
      
 4457 
     | 
    
         
            +
                    # timestamp bound is discussed in detail below. Strong: Strong reads are
         
     | 
| 
      
 4458 
     | 
    
         
            +
                    # guaranteed to see the effects of all transactions that have committed before
         
     | 
| 
      
 4459 
     | 
    
         
            +
                    # the start of the read. Furthermore, all rows yielded by a single read are
         
     | 
| 
      
 4460 
     | 
    
         
            +
                    # consistent with each other -- if any part of the read observes a transaction,
         
     | 
| 
      
 4461 
     | 
    
         
            +
                    # all parts of the read see the transaction. Strong reads are not repeatable:
         
     | 
| 
      
 4462 
     | 
    
         
            +
                    # two consecutive strong read-only transactions might return inconsistent
         
     | 
| 
      
 4463 
     | 
    
         
            +
                    # results if there are concurrent writes. If consistency across reads is
         
     | 
| 
      
 4464 
     | 
    
         
            +
                    # required, the reads should be executed within a transaction or at an exact
         
     | 
| 
      
 4465 
     | 
    
         
            +
                    # read timestamp. See TransactionOptions.ReadOnly.strong. Exact Staleness: These
         
     | 
| 
      
 4466 
     | 
    
         
            +
                    # timestamp bounds execute reads at a user-specified timestamp. Reads at a
         
     | 
| 
      
 4467 
     | 
    
         
            +
                    # timestamp are guaranteed to see a consistent prefix of the global transaction
         
     | 
| 
      
 4468 
     | 
    
         
            +
                    # history: they observe modifications done by all transactions with a commit
         
     | 
| 
      
 4469 
     | 
    
         
            +
                    # timestamp less than or equal to the read timestamp, and observe none of the
         
     | 
| 
      
 4470 
     | 
    
         
            +
                    # modifications done by transactions with a larger commit timestamp. They will
         
     | 
| 
      
 4471 
     | 
    
         
            +
                    # block until all conflicting transactions that may be assigned commit
         
     | 
| 
       4464 
4472 
     | 
    
         
             
                    # timestamps <= the read timestamp have finished. The timestamp can either be
         
     | 
| 
       4465 
4473 
     | 
    
         
             
                    # expressed as an absolute Cloud Spanner commit timestamp or a staleness
         
     | 
| 
       4466 
4474 
     | 
    
         
             
                    # relative to the current time. These modes do not require a "negotiation phase"
         
     | 
| 
         @@ -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.19.0"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                  # Version of the code generator used to generate this client
         
     | 
| 
       22 
22 
     | 
    
         
             
                  GENERATOR_VERSION = "0.4.0"
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                  # Revision of the discovery document this client was generated from
         
     | 
| 
       25 
     | 
    
         
            -
                  REVISION = " 
     | 
| 
      
 25 
     | 
    
         
            +
                  REVISION = "20210914"
         
     | 
| 
       26 
26 
     | 
    
         
             
                end
         
     | 
| 
       27 
27 
     | 
    
         
             
              end
         
     | 
| 
       28 
28 
     | 
    
         
             
            end
         
     | 
| 
         @@ -350,7 +350,7 @@ module Google 
     | 
|
| 
       350 
350 
     | 
    
         
             
                    # the format `/operations/` and can be used to track the instance modification.
         
     | 
| 
       351 
351 
     | 
    
         
             
                    # The metadata field type is UpdateInstanceMetadata. The response field type is
         
     | 
| 
       352 
352 
     | 
    
         
             
                    # Instance, if successful. Authorization requires `spanner.instances.update`
         
     | 
| 
       353 
     | 
    
         
            -
                    # permission on resource name.
         
     | 
| 
      
 353 
     | 
    
         
            +
                    # permission on the resource name.
         
     | 
| 
       354 
354 
     | 
    
         
             
                    # @param [String] name
         
     | 
| 
       355 
355 
     | 
    
         
             
                    #   Required. A unique identifier for the instance, which cannot be changed after
         
     | 
| 
       356 
356 
     | 
    
         
             
                    #   the instance is created. Values are of the form `projects//instances/a-z*[a-z0-
         
     | 
| 
         @@ -30,7 +30,7 @@ module Google 
     | 
|
| 
       30 
30 
     | 
    
         
             
                  # This is NOT the gem version.
         
     | 
| 
       31 
31 
     | 
    
         
             
                  VERSION = 'V1'
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
       33 
     | 
    
         
            -
                  # See, edit, configure, and delete your Google Cloud  
     | 
| 
      
 33 
     | 
    
         
            +
                  # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
         
     | 
| 
       34 
34 
     | 
    
         
             
                  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
         
     | 
| 
       35 
35 
     | 
    
         | 
| 
       36 
36 
     | 
    
         
             
                  # Administer your Spanner databases
         
     | 
    
        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.19.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- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2021-10-04 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: google-apis-core
         
     | 
| 
         @@ -58,7 +58,7 @@ licenses: 
     | 
|
| 
       58 
58 
     | 
    
         
             
            metadata:
         
     | 
| 
       59 
59 
     | 
    
         
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         
     | 
| 
       60 
60 
     | 
    
         
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1/CHANGELOG.md
         
     | 
| 
       61 
     | 
    
         
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0. 
     | 
| 
      
 61 
     | 
    
         
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.19.0
         
     | 
| 
       62 
62 
     | 
    
         
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1
         
     | 
| 
       63 
63 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       64 
64 
     | 
    
         
             
            rdoc_options: []
         
     |