google-apis-spanner_v1 0.16.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fbddcaa4658b3147d2258f83f732fdc5679b6d762e0c0aeeb120e6ad5f3726e
4
- data.tar.gz: 3cd473218d291908672f0095738a11a7cd0ded8e15bc23edf465769340a9e710
3
+ metadata.gz: 83b75f47b3a786621e5272e72d004a614683f14f7f3ece3ef18421642876961f
4
+ data.tar.gz: c4ecd96e65cc2ba2e3df3b42479cb4d8bba1a1802995dcdc86c73dccb8eaf6c6
5
5
  SHA512:
6
- metadata.gz: 22f24dbab2d23ac55ee2af9bf16a2f5e08ca79ce262a0d4debeddad921c6a7d9df01b621af41b15257761762e3e19eddc0be9844d002db75387761773099956d
7
- data.tar.gz: 1c44606e7033bfb89ffa6651054412a552e4f05e3b4a66138135a19b32fc6c2d9149bc3ac519ca0b010607616fa08c88198774f96d9d9a31fd61f07a210fee60
6
+ metadata.gz: c1cd2ba8ba4efa565872de371a288d7c95d9bfab47766ddbcf9d768644e89dee289793e9250e32da585d1b173f1f7dc89d7dab92f1f73d55b4e0bec9bb5a4378
7
+ data.tar.gz: '0842b156e6d121d9157110952c085fc6ee8f4bf623d4a60c46564e3f52f4a84b743beb5d731e15772594e79c7aaeb97a8941f30f9abdf64fc4764f44953ad60b'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-spanner_v1
2
2
 
3
+ ### v0.20.0 (2021-10-23)
4
+
5
+ * Regenerated from discovery document revision 20211021
6
+ * Unspecified changes
7
+
8
+ ### v0.19.0 (2021-09-27)
9
+
10
+ * Regenerated from discovery document revision 20210914
11
+
12
+ ### v0.18.0 (2021-08-30)
13
+
14
+ * Regenerated from discovery document revision 20210825
15
+
16
+ ### v0.17.0 (2021-08-21)
17
+
18
+ * Regenerated from discovery document revision 20210816
19
+
3
20
  ### v0.16.0 (2021-07-31)
4
21
 
5
22
  * Regenerated from discovery document revision 20210723
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Spanner service in particular.)
67
67
 
@@ -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 (e.g., many
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 wall time spent retrying. Idle
256
- # Transactions: A transaction is considered idle if it has no outstanding reads
257
- # or SQL queries and has not started a read or SQL query within the last 10
258
- # seconds. Idle transactions can be aborted by Cloud Spanner so that they don't
259
- # hold on to locks indefinitely. In that case, the commit will fail with error `
260
- # ABORTED`. If this behavior is undesirable, periodically executing a simple SQL
261
- # query in the transaction (e.g., `SELECT 1`) prevents the transaction from
262
- # becoming idle. Snapshot Read-Only Transactions: Snapshot read-only
263
- # transactions provides a simpler method than locking read-write transactions
264
- # for doing several consistent reads. However, this type of transaction does not
265
- # support writes. Snapshot transactions do not take locks. Instead, they work by
266
- # choosing a Cloud Spanner timestamp, then executing all reads at that timestamp.
267
- # Since they do not acquire locks, they do not block concurrent read-write
268
- # transactions. Unlike locking read-write transactions, snapshot read-only
269
- # transactions never abort. They can fail if the chosen read timestamp is
270
- # garbage collected; however, the default garbage collection policy is generous
271
- # enough that most applications do not need to worry about this in practice.
272
- # Snapshot read-only transactions do not need to call Commit or Rollback (and in
273
- # fact are not permitted to do so). To execute a snapshot transaction, the
274
- # client specifies a timestamp bound, which tells Cloud Spanner how to choose a
275
- # read timestamp. The types of timestamp bound are: - Strong (the default). -
276
- # Bounded staleness. - Exact staleness. If the Cloud Spanner database to be read
277
- # is geographically distributed, stale read-only transactions can execute more
278
- # quickly than strong or read-write transaction, because they are able to
279
- # execute far from the leader replica. Each type of timestamp bound is discussed
280
- # in detail below. Strong: Strong reads are guaranteed to see the effects of all
281
- # transactions that have committed before the start of the read. Furthermore,
282
- # all rows yielded by a single read are consistent with each other -- if any
283
- # part of the read observes a transaction, all parts of the read see the
284
- # transaction. Strong reads are not repeatable: two consecutive strong read-only
285
- # transactions might return inconsistent results if there are concurrent writes.
286
- # If consistency across reads is required, the reads should be executed within a
287
- # transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
288
- # strong. Exact Staleness: These timestamp bounds execute reads at a user-
289
- # specified timestamp. Reads at a timestamp are guaranteed to see a consistent
290
- # prefix of the global transaction history: they observe modifications done by
291
- # all transactions with a commit timestamp <= the read timestamp, and observe
292
- # none of the modifications done by transactions with a larger commit timestamp.
293
- # They will block until all conflicting transactions that may be assigned commit
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"
@@ -380,7 +381,7 @@ module Google
380
381
  end
381
382
  end
382
383
 
383
- # Associates `members` with a `role`.
384
+ # Associates `members`, or principals, with a `role`.
384
385
  class Binding
385
386
  include Google::Apis::Core::Hashable
386
387
 
@@ -403,7 +404,7 @@ module Google
403
404
  # @return [Google::Apis::SpannerV1::Expr]
404
405
  attr_accessor :condition
405
406
 
406
- # Specifies the identities requesting access for a Cloud Platform resource. `
407
+ # Specifies the principals requesting access for a Cloud Platform resource. `
407
408
  # members` can have the following values: * `allUsers`: A special identifier
408
409
  # that represents anyone who is on the internet; with or without a Google
409
410
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -433,8 +434,8 @@ module Google
433
434
  # @return [Array<String>]
434
435
  attr_accessor :members
435
436
 
436
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
437
- # , or `roles/owner`.
437
+ # Role that is assigned to the list of `members`, or principals. For example, `
438
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
438
439
  # Corresponds to the JSON property `role`
439
440
  # @return [String]
440
441
  attr_accessor :role
@@ -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 (e.g., many
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 wall time spent retrying. Idle
567
- # Transactions: A transaction is considered idle if it has no outstanding reads
568
- # or SQL queries and has not started a read or SQL query within the last 10
569
- # seconds. Idle transactions can be aborted by Cloud Spanner so that they don't
570
- # hold on to locks indefinitely. In that case, the commit will fail with error `
571
- # ABORTED`. If this behavior is undesirable, periodically executing a simple SQL
572
- # query in the transaction (e.g., `SELECT 1`) prevents the transaction from
573
- # becoming idle. Snapshot Read-Only Transactions: Snapshot read-only
574
- # transactions provides a simpler method than locking read-write transactions
575
- # for doing several consistent reads. However, this type of transaction does not
576
- # support writes. Snapshot transactions do not take locks. Instead, they work by
577
- # choosing a Cloud Spanner timestamp, then executing all reads at that timestamp.
578
- # Since they do not acquire locks, they do not block concurrent read-write
579
- # transactions. Unlike locking read-write transactions, snapshot read-only
580
- # transactions never abort. They can fail if the chosen read timestamp is
581
- # garbage collected; however, the default garbage collection policy is generous
582
- # enough that most applications do not need to worry about this in practice.
583
- # Snapshot read-only transactions do not need to call Commit or Rollback (and in
584
- # fact are not permitted to do so). To execute a snapshot transaction, the
585
- # client specifies a timestamp bound, which tells Cloud Spanner how to choose a
586
- # read timestamp. The types of timestamp bound are: - Strong (the default). -
587
- # Bounded staleness. - Exact staleness. If the Cloud Spanner database to be read
588
- # is geographically distributed, stale read-only transactions can execute more
589
- # quickly than strong or read-write transaction, because they are able to
590
- # execute far from the leader replica. Each type of timestamp bound is discussed
591
- # in detail below. Strong: Strong reads are guaranteed to see the effects of all
592
- # transactions that have committed before the start of the read. Furthermore,
593
- # all rows yielded by a single read are consistent with each other -- if any
594
- # part of the read observes a transaction, all parts of the read see the
595
- # transaction. Strong reads are not repeatable: two consecutive strong read-only
596
- # transactions might return inconsistent results if there are concurrent writes.
597
- # If consistency across reads is required, the reads should be executed within a
598
- # transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
599
- # strong. Exact Staleness: These timestamp bounds execute reads at a user-
600
- # specified timestamp. Reads at a timestamp are guaranteed to see a consistent
601
- # prefix of the global transaction history: they observe modifications done by
602
- # all transactions with a commit timestamp <= the read timestamp, and observe
603
- # none of the modifications done by transactions with a larger commit timestamp.
604
- # They will block until all conflicting transactions that may be assigned commit
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: `[a-z]([-
1655
- # a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long
1656
- # and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. *
1657
- # No more than 64 labels can be associated with a given resource. See https://
1658
- # goo.gl/xmQnxf for more information on and examples of labels. If you plan to
1659
- # use labels in your own code, please note that additional characters may be
1660
- # allowed in the future. And so you are advised to use an internal label
1661
- # representation, such as JSON, which doesn't rely upon specific characters
1662
- # being disallowed. For example, representing labels as the string: name + "_" +
1663
- # value would prove problematic if we were to allow "_" in a future release.
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
@@ -1725,14 +1727,14 @@ module Google
1725
1727
  # @return [String]
1726
1728
  attr_accessor :display_name
1727
1729
 
1728
- # Allowed values of the default_leader schema option for databases in
1730
+ # Allowed values of the "default_leader" schema option for databases in
1729
1731
  # instances that use this instance configuration.
1730
1732
  # Corresponds to the JSON property `leaderOptions`
1731
1733
  # @return [Array<String>]
1732
1734
  attr_accessor :leader_options
1733
1735
 
1734
1736
  # A unique identifier for the instance configuration. Values are of the form `
1735
- # projects//instanceConfigs/a-z*`
1737
+ # projects//instanceConfigs/a-z*`.
1736
1738
  # Corresponds to the JSON property `name`
1737
1739
  # @return [String]
1738
1740
  attr_accessor :name
@@ -2915,37 +2917,42 @@ module Google
2915
2917
 
2916
2918
  # An Identity and Access Management (IAM) policy, which specifies access
2917
2919
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2918
- # A `binding` binds one or more `members` to a single `role`. Members can be
2919
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
2920
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
2921
- # role or a user-created custom role. For some types of Google Cloud resources,
2922
- # a `binding` can also specify a `condition`, which is a logical expression that
2923
- # allows access to a resource only if the expression evaluates to `true`. A
2924
- # condition can add constraints based on attributes of the request, the resource,
2925
- # or both. To learn which resources support conditions in their IAM policies,
2926
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2927
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
2928
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
2929
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
2930
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
2931
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
2932
- # title": "expirable access", "description": "Does not grant access after Sep
2933
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
2934
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
2935
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
2936
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
2937
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2938
- # roles/resourcemanager.organizationViewer condition: title: expirable access
2939
- # description: Does not grant access after Sep 2020 expression: request.time <
2940
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2941
- # description of IAM and its features, see the [IAM documentation](https://cloud.
2942
- # google.com/iam/docs/).
2920
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
2921
+ # Principals can be user accounts, service accounts, Google groups, and domains (
2922
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
2923
+ # an IAM predefined role or a user-created custom role. For some types of Google
2924
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
2925
+ # logical expression that allows access to a resource only if the expression
2926
+ # evaluates to `true`. A condition can add constraints based on attributes of
2927
+ # the request, the resource, or both. To learn which resources support
2928
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2929
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2930
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2931
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2932
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2933
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2934
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
2935
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2936
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2937
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
2938
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2939
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2940
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2941
+ # access description: Does not grant access after Sep 2020 expression: request.
2942
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2943
+ # a description of IAM and its features, see the [IAM documentation](https://
2944
+ # cloud.google.com/iam/docs/).
2943
2945
  class Policy
2944
2946
  include Google::Apis::Core::Hashable
2945
2947
 
2946
- # Associates a list of `members` to a `role`. Optionally, may specify a `
2947
- # condition` that determines how and when the `bindings` are applied. Each of
2948
- # the `bindings` must contain at least one member.
2948
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
2949
+ # specify a `condition` that determines how and when the `bindings` are applied.
2950
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
2951
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
2952
+ # can be Google groups. Each occurrence of a principal counts towards these
2953
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
2954
+ # example.com`, and not to any other principal, then you can add another 1,450
2955
+ # principals to the `bindings` in the `Policy`.
2949
2956
  # Corresponds to the JSON property `bindings`
2950
2957
  # @return [Array<Google::Apis::SpannerV1::Binding>]
2951
2958
  attr_accessor :bindings
@@ -3347,7 +3354,7 @@ module Google
3347
3354
  # A tag used for statistics collection about this transaction. Both request_tag
3348
3355
  # and transaction_tag can be specified for a read or query that belongs to a
3349
3356
  # transaction. The value of transaction_tag should be the same for all requests
3350
- # belonging to the same transaction. If this request doesnt belong to any
3357
+ # belonging to the same transaction. If this request doesn't belong to any
3351
3358
  # transaction, transaction_tag will be ignored. Legal characters for `
3352
3359
  # transaction_tag` values are all printable characters (ASCII 32 - 126) and the
3353
3360
  # length of a transaction_tag is limited to 50 characters. Values that exceed
@@ -3769,31 +3776,31 @@ module Google
3769
3776
 
3770
3777
  # An Identity and Access Management (IAM) policy, which specifies access
3771
3778
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3772
- # A `binding` binds one or more `members` to a single `role`. Members can be
3773
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
3774
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
3775
- # role or a user-created custom role. For some types of Google Cloud resources,
3776
- # a `binding` can also specify a `condition`, which is a logical expression that
3777
- # allows access to a resource only if the expression evaluates to `true`. A
3778
- # condition can add constraints based on attributes of the request, the resource,
3779
- # or both. To learn which resources support conditions in their IAM policies,
3780
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
3781
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
3782
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
3783
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
3784
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
3785
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
3786
- # title": "expirable access", "description": "Does not grant access after Sep
3787
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
3788
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
3789
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
3790
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
3791
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
3792
- # roles/resourcemanager.organizationViewer condition: title: expirable access
3793
- # description: Does not grant access after Sep 2020 expression: request.time <
3794
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3795
- # description of IAM and its features, see the [IAM documentation](https://cloud.
3796
- # google.com/iam/docs/).
3779
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
3780
+ # Principals can be user accounts, service accounts, Google groups, and domains (
3781
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
3782
+ # an IAM predefined role or a user-created custom role. For some types of Google
3783
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
3784
+ # logical expression that allows access to a resource only if the expression
3785
+ # evaluates to `true`. A condition can add constraints based on attributes of
3786
+ # the request, the resource, or both. To learn which resources support
3787
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
3788
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
3789
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
3790
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
3791
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
3792
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
3793
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
3794
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
3795
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
3796
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
3797
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
3798
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
3799
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
3800
+ # access description: Does not grant access after Sep 2020 expression: request.
3801
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
3802
+ # a description of IAM and its features, see the [IAM documentation](https://
3803
+ # cloud.google.com/iam/docs/).
3797
3804
  # Corresponds to the JSON property `policy`
3798
3805
  # @return [Google::Apis::SpannerV1::Policy]
3799
3806
  attr_accessor :policy
@@ -4057,49 +4064,50 @@ module Google
4057
4064
  # committing the retry, the client should execute the retry in the same session
4058
4065
  # as the original attempt. The original session's lock priority increases with
4059
4066
  # each consecutive abort, meaning that each attempt has a slightly better chance
4060
- # of success than the previous. Under some circumstances (e.g., many
4067
+ # of success than the previous. Under some circumstances (for example, many
4061
4068
  # transactions attempting to modify the same row(s)), a transaction can abort
4062
4069
  # many times in a short period before successfully committing. Thus, it is not a
4063
4070
  # good idea to cap the number of retries a transaction can attempt; instead, it
4064
- # is better to limit the total amount of wall time spent retrying. Idle
4065
- # Transactions: A transaction is considered idle if it has no outstanding reads
4066
- # or SQL queries and has not started a read or SQL query within the last 10
4067
- # seconds. Idle transactions can be aborted by Cloud Spanner so that they don't
4068
- # hold on to locks indefinitely. In that case, the commit will fail with error `
4069
- # ABORTED`. If this behavior is undesirable, periodically executing a simple SQL
4070
- # query in the transaction (e.g., `SELECT 1`) prevents the transaction from
4071
- # becoming idle. Snapshot Read-Only Transactions: Snapshot read-only
4072
- # transactions provides a simpler method than locking read-write transactions
4073
- # for doing several consistent reads. However, this type of transaction does not
4074
- # support writes. Snapshot transactions do not take locks. Instead, they work by
4075
- # choosing a Cloud Spanner timestamp, then executing all reads at that timestamp.
4076
- # Since they do not acquire locks, they do not block concurrent read-write
4077
- # transactions. Unlike locking read-write transactions, snapshot read-only
4078
- # transactions never abort. They can fail if the chosen read timestamp is
4079
- # garbage collected; however, the default garbage collection policy is generous
4080
- # enough that most applications do not need to worry about this in practice.
4081
- # Snapshot read-only transactions do not need to call Commit or Rollback (and in
4082
- # fact are not permitted to do so). To execute a snapshot transaction, the
4083
- # client specifies a timestamp bound, which tells Cloud Spanner how to choose a
4084
- # read timestamp. The types of timestamp bound are: - Strong (the default). -
4085
- # Bounded staleness. - Exact staleness. If the Cloud Spanner database to be read
4086
- # is geographically distributed, stale read-only transactions can execute more
4087
- # quickly than strong or read-write transaction, because they are able to
4088
- # execute far from the leader replica. Each type of timestamp bound is discussed
4089
- # in detail below. Strong: Strong reads are guaranteed to see the effects of all
4090
- # transactions that have committed before the start of the read. Furthermore,
4091
- # all rows yielded by a single read are consistent with each other -- if any
4092
- # part of the read observes a transaction, all parts of the read see the
4093
- # transaction. Strong reads are not repeatable: two consecutive strong read-only
4094
- # transactions might return inconsistent results if there are concurrent writes.
4095
- # If consistency across reads is required, the reads should be executed within a
4096
- # transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
4097
- # strong. Exact Staleness: These timestamp bounds execute reads at a user-
4098
- # specified timestamp. Reads at a timestamp are guaranteed to see a consistent
4099
- # prefix of the global transaction history: they observe modifications done by
4100
- # all transactions with a commit timestamp <= the read timestamp, and observe
4101
- # none of the modifications done by transactions with a larger commit timestamp.
4102
- # They will block until all conflicting transactions that may be assigned commit
4071
+ # is better to limit the total amount of time spent retrying. Idle Transactions:
4072
+ # A transaction is considered idle if it has no outstanding reads or SQL queries
4073
+ # and has not started a read or SQL query within the last 10 seconds. Idle
4074
+ # transactions can be aborted by Cloud Spanner so that they don't hold on to
4075
+ # locks indefinitely. If an idle transaction is aborted, the commit will fail
4076
+ # with error `ABORTED`. If this behavior is undesirable, periodically executing
4077
+ # a simple SQL query in the transaction (for example, `SELECT 1`) prevents the
4078
+ # transaction from becoming idle. Snapshot Read-Only Transactions: Snapshot read-
4079
+ # only transactions provides a simpler method than locking read-write
4080
+ # transactions for doing several consistent reads. However, this type of
4081
+ # transaction does not support writes. Snapshot transactions do not take locks.
4082
+ # Instead, they work by choosing a Cloud Spanner timestamp, then executing all
4083
+ # reads at that timestamp. Since they do not acquire locks, they do not block
4084
+ # concurrent read-write transactions. Unlike locking read-write transactions,
4085
+ # snapshot read-only transactions never abort. They can fail if the chosen read
4086
+ # timestamp is garbage collected; however, the default garbage collection policy
4087
+ # is generous enough that most applications do not need to worry about this in
4088
+ # practice. Snapshot read-only transactions do not need to call Commit or
4089
+ # Rollback (and in fact are not permitted to do so). To execute a snapshot
4090
+ # transaction, the client specifies a timestamp bound, which tells Cloud Spanner
4091
+ # how to choose a read timestamp. The types of timestamp bound are: - Strong (
4092
+ # the default). - Bounded staleness. - Exact staleness. If the Cloud Spanner
4093
+ # database to be read is geographically distributed, stale read-only
4094
+ # transactions can execute more quickly than strong or read-write transaction,
4095
+ # because they are able to execute far from the leader replica. Each type of
4096
+ # timestamp bound is discussed in detail below. Strong: Strong reads are
4097
+ # guaranteed to see the effects of all transactions that have committed before
4098
+ # the start of the read. Furthermore, all rows yielded by a single read are
4099
+ # consistent with each other -- if any part of the read observes a transaction,
4100
+ # all parts of the read see the transaction. Strong reads are not repeatable:
4101
+ # two consecutive strong read-only transactions might return inconsistent
4102
+ # results if there are concurrent writes. If consistency across reads is
4103
+ # required, the reads should be executed within a transaction or at an exact
4104
+ # read timestamp. See TransactionOptions.ReadOnly.strong. Exact Staleness: These
4105
+ # timestamp bounds execute reads at a user-specified timestamp. Reads at a
4106
+ # timestamp are guaranteed to see a consistent prefix of the global transaction
4107
+ # history: they observe modifications done by all transactions with a commit
4108
+ # timestamp less than or equal to the read timestamp, and observe none of the
4109
+ # modifications done by transactions with a larger commit timestamp. They will
4110
+ # block until all conflicting transactions that may be assigned commit
4103
4111
  # timestamps <= the read timestamp have finished. The timestamp can either be
4104
4112
  # expressed as an absolute Cloud Spanner commit timestamp or a staleness
4105
4113
  # relative to the current time. These modes do not require a "negotiation phase"
@@ -4252,49 +4260,50 @@ module Google
4252
4260
  # committing the retry, the client should execute the retry in the same session
4253
4261
  # as the original attempt. The original session's lock priority increases with
4254
4262
  # each consecutive abort, meaning that each attempt has a slightly better chance
4255
- # of success than the previous. Under some circumstances (e.g., many
4263
+ # of success than the previous. Under some circumstances (for example, many
4256
4264
  # transactions attempting to modify the same row(s)), a transaction can abort
4257
4265
  # many times in a short period before successfully committing. Thus, it is not a
4258
4266
  # good idea to cap the number of retries a transaction can attempt; instead, it
4259
- # is better to limit the total amount of wall time spent retrying. Idle
4260
- # Transactions: A transaction is considered idle if it has no outstanding reads
4261
- # or SQL queries and has not started a read or SQL query within the last 10
4262
- # seconds. Idle transactions can be aborted by Cloud Spanner so that they don't
4263
- # hold on to locks indefinitely. In that case, the commit will fail with error `
4264
- # ABORTED`. If this behavior is undesirable, periodically executing a simple SQL
4265
- # query in the transaction (e.g., `SELECT 1`) prevents the transaction from
4266
- # becoming idle. Snapshot Read-Only Transactions: Snapshot read-only
4267
- # transactions provides a simpler method than locking read-write transactions
4268
- # for doing several consistent reads. However, this type of transaction does not
4269
- # support writes. Snapshot transactions do not take locks. Instead, they work by
4270
- # choosing a Cloud Spanner timestamp, then executing all reads at that timestamp.
4271
- # Since they do not acquire locks, they do not block concurrent read-write
4272
- # transactions. Unlike locking read-write transactions, snapshot read-only
4273
- # transactions never abort. They can fail if the chosen read timestamp is
4274
- # garbage collected; however, the default garbage collection policy is generous
4275
- # enough that most applications do not need to worry about this in practice.
4276
- # Snapshot read-only transactions do not need to call Commit or Rollback (and in
4277
- # fact are not permitted to do so). To execute a snapshot transaction, the
4278
- # client specifies a timestamp bound, which tells Cloud Spanner how to choose a
4279
- # read timestamp. The types of timestamp bound are: - Strong (the default). -
4280
- # Bounded staleness. - Exact staleness. If the Cloud Spanner database to be read
4281
- # is geographically distributed, stale read-only transactions can execute more
4282
- # quickly than strong or read-write transaction, because they are able to
4283
- # execute far from the leader replica. Each type of timestamp bound is discussed
4284
- # in detail below. Strong: Strong reads are guaranteed to see the effects of all
4285
- # transactions that have committed before the start of the read. Furthermore,
4286
- # all rows yielded by a single read are consistent with each other -- if any
4287
- # part of the read observes a transaction, all parts of the read see the
4288
- # transaction. Strong reads are not repeatable: two consecutive strong read-only
4289
- # transactions might return inconsistent results if there are concurrent writes.
4290
- # If consistency across reads is required, the reads should be executed within a
4291
- # transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
4292
- # strong. Exact Staleness: These timestamp bounds execute reads at a user-
4293
- # specified timestamp. Reads at a timestamp are guaranteed to see a consistent
4294
- # prefix of the global transaction history: they observe modifications done by
4295
- # all transactions with a commit timestamp <= the read timestamp, and observe
4296
- # none of the modifications done by transactions with a larger commit timestamp.
4297
- # They will block until all conflicting transactions that may be assigned commit
4267
+ # is better to limit the total amount of time spent retrying. Idle Transactions:
4268
+ # A transaction is considered idle if it has no outstanding reads or SQL queries
4269
+ # and has not started a read or SQL query within the last 10 seconds. Idle
4270
+ # transactions can be aborted by Cloud Spanner so that they don't hold on to
4271
+ # locks indefinitely. If an idle transaction is aborted, the commit will fail
4272
+ # with error `ABORTED`. If this behavior is undesirable, periodically executing
4273
+ # a simple SQL query in the transaction (for example, `SELECT 1`) prevents the
4274
+ # transaction from becoming idle. Snapshot Read-Only Transactions: Snapshot read-
4275
+ # only transactions provides a simpler method than locking read-write
4276
+ # transactions for doing several consistent reads. However, this type of
4277
+ # transaction does not support writes. Snapshot transactions do not take locks.
4278
+ # Instead, they work by choosing a Cloud Spanner timestamp, then executing all
4279
+ # reads at that timestamp. Since they do not acquire locks, they do not block
4280
+ # concurrent read-write transactions. Unlike locking read-write transactions,
4281
+ # snapshot read-only transactions never abort. They can fail if the chosen read
4282
+ # timestamp is garbage collected; however, the default garbage collection policy
4283
+ # is generous enough that most applications do not need to worry about this in
4284
+ # practice. Snapshot read-only transactions do not need to call Commit or
4285
+ # Rollback (and in fact are not permitted to do so). To execute a snapshot
4286
+ # transaction, the client specifies a timestamp bound, which tells Cloud Spanner
4287
+ # how to choose a read timestamp. The types of timestamp bound are: - Strong (
4288
+ # the default). - Bounded staleness. - Exact staleness. If the Cloud Spanner
4289
+ # database to be read is geographically distributed, stale read-only
4290
+ # transactions can execute more quickly than strong or read-write transaction,
4291
+ # because they are able to execute far from the leader replica. Each type of
4292
+ # timestamp bound is discussed in detail below. Strong: Strong reads are
4293
+ # guaranteed to see the effects of all transactions that have committed before
4294
+ # the start of the read. Furthermore, all rows yielded by a single read are
4295
+ # consistent with each other -- if any part of the read observes a transaction,
4296
+ # all parts of the read see the transaction. Strong reads are not repeatable:
4297
+ # two consecutive strong read-only transactions might return inconsistent
4298
+ # results if there are concurrent writes. If consistency across reads is
4299
+ # required, the reads should be executed within a transaction or at an exact
4300
+ # read timestamp. See TransactionOptions.ReadOnly.strong. Exact Staleness: These
4301
+ # timestamp bounds execute reads at a user-specified timestamp. Reads at a
4302
+ # timestamp are guaranteed to see a consistent prefix of the global transaction
4303
+ # history: they observe modifications done by all transactions with a commit
4304
+ # timestamp less than or equal to the read timestamp, and observe none of the
4305
+ # modifications done by transactions with a larger commit timestamp. They will
4306
+ # block until all conflicting transactions that may be assigned commit
4298
4307
  # timestamps <= the read timestamp have finished. The timestamp can either be
4299
4308
  # expressed as an absolute Cloud Spanner commit timestamp or a staleness
4300
4309
  # relative to the current time. These modes do not require a "negotiation phase"
@@ -4421,49 +4430,50 @@ module Google
4421
4430
  # committing the retry, the client should execute the retry in the same session
4422
4431
  # as the original attempt. The original session's lock priority increases with
4423
4432
  # each consecutive abort, meaning that each attempt has a slightly better chance
4424
- # of success than the previous. Under some circumstances (e.g., many
4433
+ # of success than the previous. Under some circumstances (for example, many
4425
4434
  # transactions attempting to modify the same row(s)), a transaction can abort
4426
4435
  # many times in a short period before successfully committing. Thus, it is not a
4427
4436
  # good idea to cap the number of retries a transaction can attempt; instead, it
4428
- # is better to limit the total amount of wall time spent retrying. Idle
4429
- # Transactions: A transaction is considered idle if it has no outstanding reads
4430
- # or SQL queries and has not started a read or SQL query within the last 10
4431
- # seconds. Idle transactions can be aborted by Cloud Spanner so that they don't
4432
- # hold on to locks indefinitely. In that case, the commit will fail with error `
4433
- # ABORTED`. If this behavior is undesirable, periodically executing a simple SQL
4434
- # query in the transaction (e.g., `SELECT 1`) prevents the transaction from
4435
- # becoming idle. Snapshot Read-Only Transactions: Snapshot read-only
4436
- # transactions provides a simpler method than locking read-write transactions
4437
- # for doing several consistent reads. However, this type of transaction does not
4438
- # support writes. Snapshot transactions do not take locks. Instead, they work by
4439
- # choosing a Cloud Spanner timestamp, then executing all reads at that timestamp.
4440
- # Since they do not acquire locks, they do not block concurrent read-write
4441
- # transactions. Unlike locking read-write transactions, snapshot read-only
4442
- # transactions never abort. They can fail if the chosen read timestamp is
4443
- # garbage collected; however, the default garbage collection policy is generous
4444
- # enough that most applications do not need to worry about this in practice.
4445
- # Snapshot read-only transactions do not need to call Commit or Rollback (and in
4446
- # fact are not permitted to do so). To execute a snapshot transaction, the
4447
- # client specifies a timestamp bound, which tells Cloud Spanner how to choose a
4448
- # read timestamp. The types of timestamp bound are: - Strong (the default). -
4449
- # Bounded staleness. - Exact staleness. If the Cloud Spanner database to be read
4450
- # is geographically distributed, stale read-only transactions can execute more
4451
- # quickly than strong or read-write transaction, because they are able to
4452
- # execute far from the leader replica. Each type of timestamp bound is discussed
4453
- # in detail below. Strong: Strong reads are guaranteed to see the effects of all
4454
- # transactions that have committed before the start of the read. Furthermore,
4455
- # all rows yielded by a single read are consistent with each other -- if any
4456
- # part of the read observes a transaction, all parts of the read see the
4457
- # transaction. Strong reads are not repeatable: two consecutive strong read-only
4458
- # transactions might return inconsistent results if there are concurrent writes.
4459
- # If consistency across reads is required, the reads should be executed within a
4460
- # transaction or at an exact read timestamp. See TransactionOptions.ReadOnly.
4461
- # strong. Exact Staleness: These timestamp bounds execute reads at a user-
4462
- # specified timestamp. Reads at a timestamp are guaranteed to see a consistent
4463
- # prefix of the global transaction history: they observe modifications done by
4464
- # all transactions with a commit timestamp <= the read timestamp, and observe
4465
- # none of the modifications done by transactions with a larger commit timestamp.
4466
- # They will block until all conflicting transactions that may be assigned commit
4437
+ # is better to limit the total amount of time spent retrying. Idle Transactions:
4438
+ # A transaction is considered idle if it has no outstanding reads or SQL queries
4439
+ # and has not started a read or SQL query within the last 10 seconds. Idle
4440
+ # transactions can be aborted by Cloud Spanner so that they don't hold on to
4441
+ # locks indefinitely. If an idle transaction is aborted, the commit will fail
4442
+ # with error `ABORTED`. If this behavior is undesirable, periodically executing
4443
+ # a simple SQL query in the transaction (for example, `SELECT 1`) prevents the
4444
+ # transaction from becoming idle. Snapshot Read-Only Transactions: Snapshot read-
4445
+ # only transactions provides a simpler method than locking read-write
4446
+ # transactions for doing several consistent reads. However, this type of
4447
+ # transaction does not support writes. Snapshot transactions do not take locks.
4448
+ # Instead, they work by choosing a Cloud Spanner timestamp, then executing all
4449
+ # reads at that timestamp. Since they do not acquire locks, they do not block
4450
+ # concurrent read-write transactions. Unlike locking read-write transactions,
4451
+ # snapshot read-only transactions never abort. They can fail if the chosen read
4452
+ # timestamp is garbage collected; however, the default garbage collection policy
4453
+ # is generous enough that most applications do not need to worry about this in
4454
+ # practice. Snapshot read-only transactions do not need to call Commit or
4455
+ # Rollback (and in fact are not permitted to do so). To execute a snapshot
4456
+ # transaction, the client specifies a timestamp bound, which tells Cloud Spanner
4457
+ # how to choose a read timestamp. The types of timestamp bound are: - Strong (
4458
+ # the default). - Bounded staleness. - Exact staleness. If the Cloud Spanner
4459
+ # database to be read is geographically distributed, stale read-only
4460
+ # transactions can execute more quickly than strong or read-write transaction,
4461
+ # because they are able to execute far from the leader replica. Each type of
4462
+ # timestamp bound is discussed in detail below. Strong: Strong reads are
4463
+ # guaranteed to see the effects of all transactions that have committed before
4464
+ # the start of the read. Furthermore, all rows yielded by a single read are
4465
+ # consistent with each other -- if any part of the read observes a transaction,
4466
+ # all parts of the read see the transaction. Strong reads are not repeatable:
4467
+ # two consecutive strong read-only transactions might return inconsistent
4468
+ # results if there are concurrent writes. If consistency across reads is
4469
+ # required, the reads should be executed within a transaction or at an exact
4470
+ # read timestamp. See TransactionOptions.ReadOnly.strong. Exact Staleness: These
4471
+ # timestamp bounds execute reads at a user-specified timestamp. Reads at a
4472
+ # timestamp are guaranteed to see a consistent prefix of the global transaction
4473
+ # history: they observe modifications done by all transactions with a commit
4474
+ # timestamp less than or equal to the read timestamp, and observe none of the
4475
+ # modifications done by transactions with a larger commit timestamp. They will
4476
+ # block until all conflicting transactions that may be assigned commit
4467
4477
  # timestamps <= the read timestamp have finished. The timestamp can either be
4468
4478
  # expressed as an absolute Cloud Spanner commit timestamp or a staleness
4469
4479
  # 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.16.0"
19
+ GEM_VERSION = "0.20.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 = "20210723"
25
+ REVISION = "20211021"
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 Platform data
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.16.0
4
+ version: 0.20.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-08-02 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
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.16.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-spanner_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.20.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-spanner_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: