google-cloud-spanner 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/google/cloud/spanner/admin/database/v1/database_admin_client.rb +5 -7
- data/lib/google/cloud/spanner/admin/database/v1/doc/google/iam/v1/iam_policy.rb +3 -6
- data/lib/google/cloud/spanner/admin/database/v1/doc/google/iam/v1/policy.rb +29 -10
- data/lib/google/cloud/spanner/admin/database/v1/doc/google/type/expr.rb +45 -0
- data/lib/google/cloud/spanner/admin/instance/v1/doc/google/iam/v1/iam_policy.rb +3 -6
- data/lib/google/cloud/spanner/admin/instance/v1/doc/google/iam/v1/policy.rb +29 -10
- data/lib/google/cloud/spanner/admin/instance/v1/doc/google/type/expr.rb +45 -0
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin_client.rb +5 -7
- data/lib/google/cloud/spanner/v1/spanner_client.rb +2 -1
- data/lib/google/cloud/spanner/v1/spanner_client_config.json +0 -1
- data/lib/google/cloud/spanner/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf9358c873b50e2b24de40a4b5f2f5b9740017882c27df1baa9cb32c34380d99
|
4
|
+
data.tar.gz: 280e8d0ab2f482d0a8ae287a6b58df280947f038c0fa5424bb6e8c0f5bc9b798
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53ab07efae8054d36365ae1a3b0fe9e5285083015621086e05cd2baec69e2968173cb594fc9976ddf527f215c326cb05a2668297c4944cdf5309fa3d58266692
|
7
|
+
data.tar.gz: d44a79c6f081edcce303956b04982e819d3f2ec1e9f84d64381e03457f79004b700bad758f5292e53d261d4ba42e01eb3067b718b67ba289adc3ab11f935b7dc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 1.9.2 / 2019-06-13
|
4
|
+
|
5
|
+
* Update IAM:
|
6
|
+
* Deprecate Policy#version
|
7
|
+
* Add Binding#condition
|
8
|
+
* Add Google::Type::Expr
|
9
|
+
* Update documentation
|
10
|
+
* Update retry configuration
|
11
|
+
* Use VERSION constant in GAPIC client
|
12
|
+
|
3
13
|
### 1.9.1 / 2019-04-30
|
4
14
|
|
5
15
|
* Fix Spanner session limit bug.
|
@@ -29,6 +29,7 @@ require "google/longrunning/operations_client"
|
|
29
29
|
|
30
30
|
require "google/spanner/admin/database/v1/spanner_database_admin_pb"
|
31
31
|
require "google/cloud/spanner/admin/database/v1/credentials"
|
32
|
+
require "google/cloud/spanner/version"
|
32
33
|
|
33
34
|
module Google
|
34
35
|
module Cloud
|
@@ -188,7 +189,7 @@ module Google
|
|
188
189
|
updater_proc = credentials.updater_proc
|
189
190
|
end
|
190
191
|
|
191
|
-
package_version =
|
192
|
+
package_version = Google::Cloud::Spanner::VERSION
|
192
193
|
|
193
194
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
194
195
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
@@ -645,8 +646,7 @@ module Google
|
|
645
646
|
#
|
646
647
|
# @param resource [String]
|
647
648
|
# REQUIRED: The resource for which the policy is being specified.
|
648
|
-
#
|
649
|
-
# resource is specified as `projects/{project}`.
|
649
|
+
# See the operation documentation for the appropriate value for this field.
|
650
650
|
# @param policy [Google::Iam::V1::Policy | Hash]
|
651
651
|
# REQUIRED: The complete policy to be applied to the `resource`. The size of
|
652
652
|
# the policy is limited to a few 10s of KB. An empty policy is a
|
@@ -693,8 +693,7 @@ module Google
|
|
693
693
|
#
|
694
694
|
# @param resource [String]
|
695
695
|
# REQUIRED: The resource for which the policy is being requested.
|
696
|
-
#
|
697
|
-
# resource is specified as `projects/{project}`.
|
696
|
+
# See the operation documentation for the appropriate value for this field.
|
698
697
|
# @param options [Google::Gax::CallOptions]
|
699
698
|
# Overrides the default settings for this call, e.g, timeout,
|
700
699
|
# retries, etc.
|
@@ -730,8 +729,7 @@ module Google
|
|
730
729
|
#
|
731
730
|
# @param resource [String]
|
732
731
|
# REQUIRED: The resource for which the policy detail is being requested.
|
733
|
-
#
|
734
|
-
# resource is specified as `projects/{project}`.
|
732
|
+
# See the operation documentation for the appropriate value for this field.
|
735
733
|
# @param permissions [Array<String>]
|
736
734
|
# The set of permissions to check for the `resource`. Permissions with
|
737
735
|
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
@@ -20,8 +20,7 @@ module Google
|
|
20
20
|
# @!attribute [rw] resource
|
21
21
|
# @return [String]
|
22
22
|
# REQUIRED: The resource for which the policy is being specified.
|
23
|
-
#
|
24
|
-
# resource is specified as `projects/{project}`.
|
23
|
+
# See the operation documentation for the appropriate value for this field.
|
25
24
|
# @!attribute [rw] policy
|
26
25
|
# @return [Google::Iam::V1::Policy]
|
27
26
|
# REQUIRED: The complete policy to be applied to the `resource`. The size of
|
@@ -34,16 +33,14 @@ module Google
|
|
34
33
|
# @!attribute [rw] resource
|
35
34
|
# @return [String]
|
36
35
|
# REQUIRED: The resource for which the policy is being requested.
|
37
|
-
#
|
38
|
-
# resource is specified as `projects/{project}`.
|
36
|
+
# See the operation documentation for the appropriate value for this field.
|
39
37
|
class GetIamPolicyRequest; end
|
40
38
|
|
41
39
|
# Request message for `TestIamPermissions` method.
|
42
40
|
# @!attribute [rw] resource
|
43
41
|
# @return [String]
|
44
42
|
# REQUIRED: The resource for which the policy detail is being requested.
|
45
|
-
#
|
46
|
-
# resource is specified as `projects/{project}`.
|
43
|
+
# See the operation documentation for the appropriate value for this field.
|
47
44
|
# @!attribute [rw] permissions
|
48
45
|
# @return [Array<String>]
|
49
46
|
# The set of permissions to check for the `resource`. Permissions with
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
# specify access control policies for Cloud Platform resources.
|
21
21
|
#
|
22
22
|
#
|
23
|
-
# A `Policy` consists of a list of `bindings`. A `
|
23
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
24
24
|
# `members` to a `role`, where the members can be user accounts, Google groups,
|
25
25
|
# Google domains, and service accounts. A `role` is a named list of permissions
|
26
26
|
# defined by IAM.
|
27
27
|
#
|
28
|
-
# **Example**
|
28
|
+
# **JSON Example**
|
29
29
|
#
|
30
30
|
# {
|
31
31
|
# "bindings": [
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
# "user:mike@example.com",
|
36
36
|
# "group:admins@example.com",
|
37
37
|
# "domain:google.com",
|
38
|
-
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
38
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
39
39
|
# ]
|
40
40
|
# },
|
41
41
|
# {
|
@@ -45,15 +45,28 @@ module Google
|
|
45
45
|
# ]
|
46
46
|
# }
|
47
47
|
#
|
48
|
-
#
|
49
|
-
#
|
48
|
+
# **YAML Example**
|
49
|
+
#
|
50
|
+
# bindings:
|
51
|
+
# * members:
|
52
|
+
# * user:mike@example.com
|
53
|
+
# * group:admins@example.com
|
54
|
+
# * domain:google.com
|
55
|
+
# * serviceAccount:my-other-app@appspot.gserviceaccount.com
|
56
|
+
# role: roles/owner
|
57
|
+
# * members:
|
58
|
+
# * user:sean@example.com
|
59
|
+
# role: roles/viewer
|
60
|
+
#
|
61
|
+
#
|
62
|
+
# For a description of IAM and its features, see the
|
63
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
50
64
|
# @!attribute [rw] version
|
51
65
|
# @return [Integer]
|
52
|
-
#
|
66
|
+
# Deprecated.
|
53
67
|
# @!attribute [rw] bindings
|
54
68
|
# @return [Array<Google::Iam::V1::Binding>]
|
55
69
|
# Associates a list of `members` to a `role`.
|
56
|
-
# Multiple `bindings` must not be specified for the same `role`.
|
57
70
|
# `bindings` with no members will result in an error.
|
58
71
|
# @!attribute [rw] etag
|
59
72
|
# @return [String]
|
@@ -74,7 +87,6 @@ module Google
|
|
74
87
|
# @return [String]
|
75
88
|
# Role that is assigned to `members`.
|
76
89
|
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
77
|
-
# Required
|
78
90
|
# @!attribute [rw] members
|
79
91
|
# @return [Array<String>]
|
80
92
|
# Specifies the identities requesting access for a Cloud Platform resource.
|
@@ -87,7 +99,7 @@ module Google
|
|
87
99
|
# who is authenticated with a Google account or a service account.
|
88
100
|
#
|
89
101
|
# * `user:{emailid}`: An email address that represents a specific Google
|
90
|
-
# account. For example, `alice@gmail.com`
|
102
|
+
# account. For example, `alice@gmail.com` .
|
91
103
|
#
|
92
104
|
#
|
93
105
|
# * `serviceAccount:{emailid}`: An email address that represents a service
|
@@ -96,8 +108,15 @@ module Google
|
|
96
108
|
# * `group:{emailid}`: An email address that represents a Google group.
|
97
109
|
# For example, `admins@example.com`.
|
98
110
|
#
|
99
|
-
#
|
111
|
+
#
|
112
|
+
# * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
100
113
|
# users of that domain. For example, `google.com` or `example.com`.
|
114
|
+
# @!attribute [rw] condition
|
115
|
+
# @return [Google::Type::Expr]
|
116
|
+
# The condition that is associated with this binding.
|
117
|
+
# NOTE: An unsatisfied condition will not allow user access via current
|
118
|
+
# binding. Different bindings, including their conditions, are examined
|
119
|
+
# independently.
|
101
120
|
class Binding; end
|
102
121
|
end
|
103
122
|
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Copyright 2019 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
|
16
|
+
module Google
|
17
|
+
module Type
|
18
|
+
# Represents an expression text. Example:
|
19
|
+
#
|
20
|
+
# title: "User account presence"
|
21
|
+
# description: "Determines whether the request has a user account"
|
22
|
+
# expression: "size(request.user) > 0"
|
23
|
+
# @!attribute [rw] expression
|
24
|
+
# @return [String]
|
25
|
+
# Textual representation of an expression in
|
26
|
+
# Common Expression Language syntax.
|
27
|
+
#
|
28
|
+
# The application context of the containing message determines which
|
29
|
+
# well-known feature set of CEL is supported.
|
30
|
+
# @!attribute [rw] title
|
31
|
+
# @return [String]
|
32
|
+
# An optional title for the expression, i.e. a short string describing
|
33
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
34
|
+
# expression.
|
35
|
+
# @!attribute [rw] description
|
36
|
+
# @return [String]
|
37
|
+
# An optional description of the expression. This is a longer text which
|
38
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
39
|
+
# @!attribute [rw] location
|
40
|
+
# @return [String]
|
41
|
+
# An optional string indicating the location of the expression for error
|
42
|
+
# reporting, e.g. a file name and a position in the file.
|
43
|
+
class Expr; end
|
44
|
+
end
|
45
|
+
end
|
@@ -20,8 +20,7 @@ module Google
|
|
20
20
|
# @!attribute [rw] resource
|
21
21
|
# @return [String]
|
22
22
|
# REQUIRED: The resource for which the policy is being specified.
|
23
|
-
#
|
24
|
-
# resource is specified as `projects/{project}`.
|
23
|
+
# See the operation documentation for the appropriate value for this field.
|
25
24
|
# @!attribute [rw] policy
|
26
25
|
# @return [Google::Iam::V1::Policy]
|
27
26
|
# REQUIRED: The complete policy to be applied to the `resource`. The size of
|
@@ -34,16 +33,14 @@ module Google
|
|
34
33
|
# @!attribute [rw] resource
|
35
34
|
# @return [String]
|
36
35
|
# REQUIRED: The resource for which the policy is being requested.
|
37
|
-
#
|
38
|
-
# resource is specified as `projects/{project}`.
|
36
|
+
# See the operation documentation for the appropriate value for this field.
|
39
37
|
class GetIamPolicyRequest; end
|
40
38
|
|
41
39
|
# Request message for `TestIamPermissions` method.
|
42
40
|
# @!attribute [rw] resource
|
43
41
|
# @return [String]
|
44
42
|
# REQUIRED: The resource for which the policy detail is being requested.
|
45
|
-
#
|
46
|
-
# resource is specified as `projects/{project}`.
|
43
|
+
# See the operation documentation for the appropriate value for this field.
|
47
44
|
# @!attribute [rw] permissions
|
48
45
|
# @return [Array<String>]
|
49
46
|
# The set of permissions to check for the `resource`. Permissions with
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
# specify access control policies for Cloud Platform resources.
|
21
21
|
#
|
22
22
|
#
|
23
|
-
# A `Policy` consists of a list of `bindings`. A `
|
23
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
24
24
|
# `members` to a `role`, where the members can be user accounts, Google groups,
|
25
25
|
# Google domains, and service accounts. A `role` is a named list of permissions
|
26
26
|
# defined by IAM.
|
27
27
|
#
|
28
|
-
# **Example**
|
28
|
+
# **JSON Example**
|
29
29
|
#
|
30
30
|
# {
|
31
31
|
# "bindings": [
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
# "user:mike@example.com",
|
36
36
|
# "group:admins@example.com",
|
37
37
|
# "domain:google.com",
|
38
|
-
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
38
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
39
39
|
# ]
|
40
40
|
# },
|
41
41
|
# {
|
@@ -45,15 +45,28 @@ module Google
|
|
45
45
|
# ]
|
46
46
|
# }
|
47
47
|
#
|
48
|
-
#
|
49
|
-
#
|
48
|
+
# **YAML Example**
|
49
|
+
#
|
50
|
+
# bindings:
|
51
|
+
# * members:
|
52
|
+
# * user:mike@example.com
|
53
|
+
# * group:admins@example.com
|
54
|
+
# * domain:google.com
|
55
|
+
# * serviceAccount:my-other-app@appspot.gserviceaccount.com
|
56
|
+
# role: roles/owner
|
57
|
+
# * members:
|
58
|
+
# * user:sean@example.com
|
59
|
+
# role: roles/viewer
|
60
|
+
#
|
61
|
+
#
|
62
|
+
# For a description of IAM and its features, see the
|
63
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
50
64
|
# @!attribute [rw] version
|
51
65
|
# @return [Integer]
|
52
|
-
#
|
66
|
+
# Deprecated.
|
53
67
|
# @!attribute [rw] bindings
|
54
68
|
# @return [Array<Google::Iam::V1::Binding>]
|
55
69
|
# Associates a list of `members` to a `role`.
|
56
|
-
# Multiple `bindings` must not be specified for the same `role`.
|
57
70
|
# `bindings` with no members will result in an error.
|
58
71
|
# @!attribute [rw] etag
|
59
72
|
# @return [String]
|
@@ -74,7 +87,6 @@ module Google
|
|
74
87
|
# @return [String]
|
75
88
|
# Role that is assigned to `members`.
|
76
89
|
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
77
|
-
# Required
|
78
90
|
# @!attribute [rw] members
|
79
91
|
# @return [Array<String>]
|
80
92
|
# Specifies the identities requesting access for a Cloud Platform resource.
|
@@ -87,7 +99,7 @@ module Google
|
|
87
99
|
# who is authenticated with a Google account or a service account.
|
88
100
|
#
|
89
101
|
# * `user:{emailid}`: An email address that represents a specific Google
|
90
|
-
# account. For example, `alice@gmail.com`
|
102
|
+
# account. For example, `alice@gmail.com` .
|
91
103
|
#
|
92
104
|
#
|
93
105
|
# * `serviceAccount:{emailid}`: An email address that represents a service
|
@@ -96,8 +108,15 @@ module Google
|
|
96
108
|
# * `group:{emailid}`: An email address that represents a Google group.
|
97
109
|
# For example, `admins@example.com`.
|
98
110
|
#
|
99
|
-
#
|
111
|
+
#
|
112
|
+
# * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
100
113
|
# users of that domain. For example, `google.com` or `example.com`.
|
114
|
+
# @!attribute [rw] condition
|
115
|
+
# @return [Google::Type::Expr]
|
116
|
+
# The condition that is associated with this binding.
|
117
|
+
# NOTE: An unsatisfied condition will not allow user access via current
|
118
|
+
# binding. Different bindings, including their conditions, are examined
|
119
|
+
# independently.
|
101
120
|
class Binding; end
|
102
121
|
end
|
103
122
|
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Copyright 2019 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
|
16
|
+
module Google
|
17
|
+
module Type
|
18
|
+
# Represents an expression text. Example:
|
19
|
+
#
|
20
|
+
# title: "User account presence"
|
21
|
+
# description: "Determines whether the request has a user account"
|
22
|
+
# expression: "size(request.user) > 0"
|
23
|
+
# @!attribute [rw] expression
|
24
|
+
# @return [String]
|
25
|
+
# Textual representation of an expression in
|
26
|
+
# Common Expression Language syntax.
|
27
|
+
#
|
28
|
+
# The application context of the containing message determines which
|
29
|
+
# well-known feature set of CEL is supported.
|
30
|
+
# @!attribute [rw] title
|
31
|
+
# @return [String]
|
32
|
+
# An optional title for the expression, i.e. a short string describing
|
33
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
34
|
+
# expression.
|
35
|
+
# @!attribute [rw] description
|
36
|
+
# @return [String]
|
37
|
+
# An optional description of the expression. This is a longer text which
|
38
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
39
|
+
# @!attribute [rw] location
|
40
|
+
# @return [String]
|
41
|
+
# An optional string indicating the location of the expression for error
|
42
|
+
# reporting, e.g. a file name and a position in the file.
|
43
|
+
class Expr; end
|
44
|
+
end
|
45
|
+
end
|
@@ -29,6 +29,7 @@ require "google/longrunning/operations_client"
|
|
29
29
|
|
30
30
|
require "google/spanner/admin/instance/v1/spanner_instance_admin_pb"
|
31
31
|
require "google/cloud/spanner/admin/instance/v1/credentials"
|
32
|
+
require "google/cloud/spanner/version"
|
32
33
|
|
33
34
|
module Google
|
34
35
|
module Cloud
|
@@ -221,7 +222,7 @@ module Google
|
|
221
222
|
updater_proc = credentials.updater_proc
|
222
223
|
end
|
223
224
|
|
224
|
-
package_version =
|
225
|
+
package_version = Google::Cloud::Spanner::VERSION
|
225
226
|
|
226
227
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
227
228
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
@@ -823,8 +824,7 @@ module Google
|
|
823
824
|
#
|
824
825
|
# @param resource [String]
|
825
826
|
# REQUIRED: The resource for which the policy is being specified.
|
826
|
-
#
|
827
|
-
# resource is specified as `projects/{project}`.
|
827
|
+
# See the operation documentation for the appropriate value for this field.
|
828
828
|
# @param policy [Google::Iam::V1::Policy | Hash]
|
829
829
|
# REQUIRED: The complete policy to be applied to the `resource`. The size of
|
830
830
|
# the policy is limited to a few 10s of KB. An empty policy is a
|
@@ -871,8 +871,7 @@ module Google
|
|
871
871
|
#
|
872
872
|
# @param resource [String]
|
873
873
|
# REQUIRED: The resource for which the policy is being requested.
|
874
|
-
#
|
875
|
-
# resource is specified as `projects/{project}`.
|
874
|
+
# See the operation documentation for the appropriate value for this field.
|
876
875
|
# @param options [Google::Gax::CallOptions]
|
877
876
|
# Overrides the default settings for this call, e.g, timeout,
|
878
877
|
# retries, etc.
|
@@ -908,8 +907,7 @@ module Google
|
|
908
907
|
#
|
909
908
|
# @param resource [String]
|
910
909
|
# REQUIRED: The resource for which the policy detail is being requested.
|
911
|
-
#
|
912
|
-
# resource is specified as `projects/{project}`.
|
910
|
+
# See the operation documentation for the appropriate value for this field.
|
913
911
|
# @param permissions [Array<String>]
|
914
912
|
# The set of permissions to check for the `resource`. Permissions with
|
915
913
|
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
@@ -27,6 +27,7 @@ require "google/gax"
|
|
27
27
|
|
28
28
|
require "google/spanner/v1/spanner_pb"
|
29
29
|
require "google/cloud/spanner/v1/credentials"
|
30
|
+
require "google/cloud/spanner/version"
|
30
31
|
|
31
32
|
module Google
|
32
33
|
module Cloud
|
@@ -173,7 +174,7 @@ module Google
|
|
173
174
|
updater_proc = credentials.updater_proc
|
174
175
|
end
|
175
176
|
|
176
|
-
package_version =
|
177
|
+
package_version = Google::Cloud::Spanner::VERSION
|
177
178
|
|
178
179
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
179
180
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-spanner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-06-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|
@@ -240,6 +240,7 @@ files:
|
|
240
240
|
- lib/google/cloud/spanner/admin/database/v1/doc/google/protobuf/empty.rb
|
241
241
|
- lib/google/cloud/spanner/admin/database/v1/doc/google/rpc/status.rb
|
242
242
|
- lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/spanner_database_admin.rb
|
243
|
+
- lib/google/cloud/spanner/admin/database/v1/doc/google/type/expr.rb
|
243
244
|
- lib/google/cloud/spanner/admin/instance.rb
|
244
245
|
- lib/google/cloud/spanner/admin/instance/credentials.rb
|
245
246
|
- lib/google/cloud/spanner/admin/instance/v1.rb
|
@@ -252,6 +253,7 @@ files:
|
|
252
253
|
- lib/google/cloud/spanner/admin/instance/v1/doc/google/protobuf/field_mask.rb
|
253
254
|
- lib/google/cloud/spanner/admin/instance/v1/doc/google/rpc/status.rb
|
254
255
|
- lib/google/cloud/spanner/admin/instance/v1/doc/google/spanner/admin/instance/v1/spanner_instance_admin.rb
|
256
|
+
- lib/google/cloud/spanner/admin/instance/v1/doc/google/type/expr.rb
|
255
257
|
- lib/google/cloud/spanner/admin/instance/v1/instance_admin_client.rb
|
256
258
|
- lib/google/cloud/spanner/admin/instance/v1/instance_admin_client_config.json
|
257
259
|
- lib/google/cloud/spanner/batch_client.rb
|