google-apis-spanner_v1 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/spanner_v1/classes.rb +64 -59
- data/lib/google/apis/spanner_v1/gem_version.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83b75f47b3a786621e5272e72d004a614683f14f7f3ece3ef18421642876961f
|
4
|
+
data.tar.gz: c4ecd96e65cc2ba2e3df3b42479cb4d8bba1a1802995dcdc86c73dccb8eaf6c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1cd2ba8ba4efa565872de371a288d7c95d9bfab47766ddbcf9d768644e89dee289793e9250e32da585d1b173f1f7dc89d7dab92f1f73d55b4e0bec9bb5a4378
|
7
|
+
data.tar.gz: '0842b156e6d121d9157110952c085fc6ee8f4bf623d4a60c46564e3f52f4a84b743beb5d731e15772594e79c7aaeb97a8941f30f9abdf64fc4764f44953ad60b'
|
data/CHANGELOG.md
CHANGED
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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
|
@@ -381,7 +381,7 @@ module Google
|
|
381
381
|
end
|
382
382
|
end
|
383
383
|
|
384
|
-
# Associates `members
|
384
|
+
# Associates `members`, or principals, with a `role`.
|
385
385
|
class Binding
|
386
386
|
include Google::Apis::Core::Hashable
|
387
387
|
|
@@ -404,7 +404,7 @@ module Google
|
|
404
404
|
# @return [Google::Apis::SpannerV1::Expr]
|
405
405
|
attr_accessor :condition
|
406
406
|
|
407
|
-
# Specifies the
|
407
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
408
408
|
# members` can have the following values: * `allUsers`: A special identifier
|
409
409
|
# that represents anyone who is on the internet; with or without a Google
|
410
410
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -434,8 +434,8 @@ module Google
|
|
434
434
|
# @return [Array<String>]
|
435
435
|
attr_accessor :members
|
436
436
|
|
437
|
-
# Role that is assigned to `members
|
438
|
-
#
|
437
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
438
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
439
439
|
# Corresponds to the JSON property `role`
|
440
440
|
# @return [String]
|
441
441
|
attr_accessor :role
|
@@ -1727,7 +1727,7 @@ module Google
|
|
1727
1727
|
# @return [String]
|
1728
1728
|
attr_accessor :display_name
|
1729
1729
|
|
1730
|
-
# Allowed values of the
|
1730
|
+
# Allowed values of the "default_leader" schema option for databases in
|
1731
1731
|
# instances that use this instance configuration.
|
1732
1732
|
# Corresponds to the JSON property `leaderOptions`
|
1733
1733
|
# @return [Array<String>]
|
@@ -2917,37 +2917,42 @@ module Google
|
|
2917
2917
|
|
2918
2918
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2919
2919
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2920
|
-
# A `binding` binds one or more `members
|
2921
|
-
# user accounts, service accounts, Google groups, and domains (
|
2922
|
-
# A `role` is a named list of permissions; each `role` can be
|
2923
|
-
# role or a user-created custom role. For some types of Google
|
2924
|
-
# a `binding` can also specify a `condition`, which is a
|
2925
|
-
# allows access to a resource only if the expression
|
2926
|
-
# condition can add constraints based on attributes of
|
2927
|
-
# or both. To learn which resources support
|
2928
|
-
# see the [IAM documentation](https://cloud.
|
2929
|
-
# resource-policies). **JSON example:** ` "
|
2930
|
-
# resourcemanager.organizationAdmin", "members": [
|
2931
|
-
# group:admins@example.com", "domain:google.com", "
|
2932
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
2933
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
2934
|
-
# title": "expirable access", "description": "Does not grant
|
2935
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2936
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2937
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
2938
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2939
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
2940
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
2941
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
2942
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2943
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
2944
|
-
# 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/).
|
2945
2945
|
class Policy
|
2946
2946
|
include Google::Apis::Core::Hashable
|
2947
2947
|
|
2948
|
-
# Associates a list of `members
|
2949
|
-
# condition` that determines how and when the `bindings` are applied.
|
2950
|
-
# the `bindings` must contain at least one
|
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`.
|
2951
2956
|
# Corresponds to the JSON property `bindings`
|
2952
2957
|
# @return [Array<Google::Apis::SpannerV1::Binding>]
|
2953
2958
|
attr_accessor :bindings
|
@@ -3349,7 +3354,7 @@ module Google
|
|
3349
3354
|
# A tag used for statistics collection about this transaction. Both request_tag
|
3350
3355
|
# and transaction_tag can be specified for a read or query that belongs to a
|
3351
3356
|
# transaction. The value of transaction_tag should be the same for all requests
|
3352
|
-
# belonging to the same transaction. If this request doesn
|
3357
|
+
# belonging to the same transaction. If this request doesn't belong to any
|
3353
3358
|
# transaction, transaction_tag will be ignored. Legal characters for `
|
3354
3359
|
# transaction_tag` values are all printable characters (ASCII 32 - 126) and the
|
3355
3360
|
# length of a transaction_tag is limited to 50 characters. Values that exceed
|
@@ -3771,31 +3776,31 @@ module Google
|
|
3771
3776
|
|
3772
3777
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3773
3778
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3774
|
-
# A `binding` binds one or more `members
|
3775
|
-
# user accounts, service accounts, Google groups, and domains (
|
3776
|
-
# A `role` is a named list of permissions; each `role` can be
|
3777
|
-
# role or a user-created custom role. For some types of Google
|
3778
|
-
# a `binding` can also specify a `condition`, which is a
|
3779
|
-
# allows access to a resource only if the expression
|
3780
|
-
# condition can add constraints based on attributes of
|
3781
|
-
# or both. To learn which resources support
|
3782
|
-
# see the [IAM documentation](https://cloud.
|
3783
|
-
# resource-policies). **JSON example:** ` "
|
3784
|
-
# resourcemanager.organizationAdmin", "members": [
|
3785
|
-
# group:admins@example.com", "domain:google.com", "
|
3786
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3787
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3788
|
-
# title": "expirable access", "description": "Does not grant
|
3789
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3790
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3791
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3792
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3793
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3794
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3795
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3796
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3797
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3798
|
-
# 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/).
|
3799
3804
|
# Corresponds to the JSON property `policy`
|
3800
3805
|
# @return [Google::Apis::SpannerV1::Policy]
|
3801
3806
|
attr_accessor :policy
|
@@ -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.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 = "
|
25
|
+
REVISION = "20211021"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-spanner_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
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-10-
|
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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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:
|