google-cloud-spanner 2.32.0 → 2.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/google/cloud/spanner/batch_client.rb +1 -0
- data/lib/google/cloud/spanner/batch_snapshot.rb +4 -0
- data/lib/google/cloud/spanner/client.rb +4 -0
- data/lib/google/cloud/spanner/convert.rb +2 -0
- data/lib/google/cloud/spanner/fields.rb +1 -0
- data/lib/google/cloud/spanner/session.rb +6 -0
- data/lib/google/cloud/spanner/snapshot.rb +3 -0
- data/lib/google/cloud/spanner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5432cd1029cb3077b9eee5511329297355428098e40afa349d93fb0272b2c092
|
|
4
|
+
data.tar.gz: a70271c85a8aa155d2e66e50733c388ca7005f4ce924fb921c253e14a98b3d86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2191fcfe9aad61cca23733bbdfa78f359d10aa140e3fc77a53c3c4dafb5aa72ac99c94ae09437ab4b8080922610d709c634e4023657c706759180202143a00e1
|
|
7
|
+
data.tar.gz: 682e7a8b1a85c680cfaad9dc4af31c426dad9c80ac19345a034531338a6201173769e161a986a5d53a3382b0fb653f21e9274610800ee931e8d3cd7d72b62c55
|
data/CHANGELOG.md
CHANGED
|
@@ -138,6 +138,7 @@ module Google
|
|
|
138
138
|
# | `FLOAT64` | `Float` | |
|
|
139
139
|
# | `FLOAT32` | `Float` | |
|
|
140
140
|
# | `STRING` | `String` | |
|
|
141
|
+
# | `UUID` | `String` | |
|
|
141
142
|
# | `DATE` | `Date` | |
|
|
142
143
|
# | `TIMESTAMP` | `Time`, `DateTime` | |
|
|
143
144
|
# | `BYTES` | `File`, `IO`, `StringIO`, or similar | |
|
|
@@ -166,6 +167,7 @@ module Google
|
|
|
166
167
|
# * `:INT64`
|
|
167
168
|
# * `:STRING`
|
|
168
169
|
# * `:TIMESTAMP`
|
|
170
|
+
# * `:UUID`
|
|
169
171
|
# * `Array` - Lists are specified by providing the type code in an
|
|
170
172
|
# array. For example, an array of integers are specified as
|
|
171
173
|
# `[:INT64]`.
|
|
@@ -489,6 +491,7 @@ module Google
|
|
|
489
491
|
# | `FLOAT64` | `Float` | |
|
|
490
492
|
# | `FLOAT32` | `Float` | |
|
|
491
493
|
# | `STRING` | `String` | |
|
|
494
|
+
# | `UUID` | `String` | |
|
|
492
495
|
# | `DATE` | `Date` | |
|
|
493
496
|
# | `TIMESTAMP` | `Time`, `DateTime` | |
|
|
494
497
|
# | `BYTES` | `File`, `IO`, `StringIO`, or similar | |
|
|
@@ -517,6 +520,7 @@ module Google
|
|
|
517
520
|
# * `:INT64`
|
|
518
521
|
# * `:STRING`
|
|
519
522
|
# * `:TIMESTAMP`
|
|
523
|
+
# * `:UUID`
|
|
520
524
|
# * `Array` - Lists are specified by providing the type code in an
|
|
521
525
|
# array. For example, an array of integers are specified as
|
|
522
526
|
# `[:INT64]`.
|
|
@@ -180,6 +180,7 @@ module Google
|
|
|
180
180
|
# | `FLOAT32` | `Float` | |
|
|
181
181
|
# | `NUMERIC` | `BigDecimal` | |
|
|
182
182
|
# | `STRING` | `String` | |
|
|
183
|
+
# | `UUID` | `String` | |
|
|
183
184
|
# | `DATE` | `Date` | |
|
|
184
185
|
# | `TIMESTAMP` | `Time`, `DateTime` | |
|
|
185
186
|
# | `BYTES` | `File`, `IO`, `StringIO`, or similar | |
|
|
@@ -209,6 +210,7 @@ module Google
|
|
|
209
210
|
# * `:INT64`
|
|
210
211
|
# * `:STRING`
|
|
211
212
|
# * `:TIMESTAMP`
|
|
213
|
+
# * `:UUID`
|
|
212
214
|
# * `Array` - Lists are specified by providing the type code in an
|
|
213
215
|
# array. For example, an array of integers are specified as
|
|
214
216
|
# `[:INT64]`.
|
|
@@ -618,6 +620,7 @@ module Google
|
|
|
618
620
|
# | `FLOAT32` | `Float` | |
|
|
619
621
|
# | `NUMERIC` | `BigDecimal` | |
|
|
620
622
|
# | `STRING` | `String` | |
|
|
623
|
+
# | `UUID` | `String` | |
|
|
621
624
|
# | `DATE` | `Date` | |
|
|
622
625
|
# | `TIMESTAMP` | `Time`, `DateTime` | |
|
|
623
626
|
# | `BYTES` | `File`, `IO`, `StringIO`, or similar | |
|
|
@@ -648,6 +651,7 @@ module Google
|
|
|
648
651
|
# * `:INT64`
|
|
649
652
|
# * `:STRING`
|
|
650
653
|
# * `:TIMESTAMP`
|
|
654
|
+
# * `:UUID`
|
|
651
655
|
# * `Array` - Lists are specified by providing the type code in an
|
|
652
656
|
# array. For example, an array of integers are specified as
|
|
653
657
|
# `[:INT64]`.
|
|
@@ -261,6 +261,8 @@ module Google
|
|
|
261
261
|
descriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup(type.proto_type_fqn).msgclass
|
|
262
262
|
content = Base64.decode64 value.string_value
|
|
263
263
|
descriptor.decode content
|
|
264
|
+
when :UUID
|
|
265
|
+
value.string_value
|
|
264
266
|
end
|
|
265
267
|
end
|
|
266
268
|
|
|
@@ -135,6 +135,7 @@ module Google
|
|
|
135
135
|
# | `FLOAT32` | `Float` | |
|
|
136
136
|
# | `NUMERIC` | `BigDecimal` | |
|
|
137
137
|
# | `STRING` | `String` | |
|
|
138
|
+
# | `UUID` | `String` | |
|
|
138
139
|
# | `DATE` | `Date` | |
|
|
139
140
|
# | `TIMESTAMP` | `Time`, `DateTime` | |
|
|
140
141
|
# | `BYTES` | `File`, `IO`, `StringIO`, or similar | |
|
|
@@ -165,6 +166,7 @@ module Google
|
|
|
165
166
|
# * `:INT64`
|
|
166
167
|
# * `:STRING`
|
|
167
168
|
# * `:TIMESTAMP`
|
|
169
|
+
# * `:UUID`
|
|
168
170
|
# * `Array` - Lists are specified by providing the type code in an
|
|
169
171
|
# array. For example, an array of integers are specified as
|
|
170
172
|
# `[:INT64]`.
|
|
@@ -840,6 +842,7 @@ module Google
|
|
|
840
842
|
# | `FLOAT32` | `Float` | |
|
|
841
843
|
# | `NUMERIC` | `BigDecimal` | |
|
|
842
844
|
# | `STRING` | `String` | |
|
|
845
|
+
# | `UUID` | `String` | |
|
|
843
846
|
# | `DATE` | `Date` | |
|
|
844
847
|
# | `TIMESTAMP` | `Time`, `DateTime` | |
|
|
845
848
|
# | `BYTES` | `File`, `IO`, `StringIO`, or similar | |
|
|
@@ -974,6 +977,7 @@ module Google
|
|
|
974
977
|
# | `FLOAT32` | `Float` | |
|
|
975
978
|
# | `NUMERIC` | `BigDecimal` | |
|
|
976
979
|
# | `STRING` | `String` | |
|
|
980
|
+
# | `UUID` | `String` | |
|
|
977
981
|
# | `DATE` | `Date` | |
|
|
978
982
|
# | `TIMESTAMP` | `Time`, `DateTime` | |
|
|
979
983
|
# | `BYTES` | `File`, `IO`, `StringIO`, or similar | |
|
|
@@ -1107,6 +1111,7 @@ module Google
|
|
|
1107
1111
|
# | `FLOAT32` | `Float` | |
|
|
1108
1112
|
# | `NUMERIC` | `BigDecimal` | |
|
|
1109
1113
|
# | `STRING` | `String` | |
|
|
1114
|
+
# | `UUID` | `String` | |
|
|
1110
1115
|
# | `DATE` | `Date` | |
|
|
1111
1116
|
# | `TIMESTAMP` | `Time`, `DateTime` | |
|
|
1112
1117
|
# | `BYTES` | `File`, `IO`, `StringIO`, or similar | |
|
|
@@ -1242,6 +1247,7 @@ module Google
|
|
|
1242
1247
|
# | `FLOAT32` | `Float` | |
|
|
1243
1248
|
# | `NUMERIC` | `BigDecimal` | |
|
|
1244
1249
|
# | `STRING` | `String` | |
|
|
1250
|
+
# | `UUID` | `String` | |
|
|
1245
1251
|
# | `DATE` | `Date` | |
|
|
1246
1252
|
# | `TIMESTAMP` | `Time`, `DateTime` | |
|
|
1247
1253
|
# | `BYTES` | `File`, `IO`, `StringIO`, or similar | |
|
|
@@ -103,6 +103,7 @@ module Google
|
|
|
103
103
|
# | `FLOAT32` | `Float` | |
|
|
104
104
|
# | `NUMERIC` | `BigDecimal` | |
|
|
105
105
|
# | `STRING` | `String` | |
|
|
106
|
+
# | `UUID` | `String` | |
|
|
106
107
|
# | `DATE` | `Date` | |
|
|
107
108
|
# | `TIMESTAMP` | `Time`, `DateTime` | |
|
|
108
109
|
# | `BYTES` | `File`, `IO`, `StringIO`, or similar | |
|
|
@@ -132,6 +133,7 @@ module Google
|
|
|
132
133
|
# * `:INT64`
|
|
133
134
|
# * `:STRING`
|
|
134
135
|
# * `:TIMESTAMP`
|
|
136
|
+
# * `:UUID`
|
|
135
137
|
# * `Array` - Lists are specified by providing the type code in an
|
|
136
138
|
# array. For example, an array of integers are specified as
|
|
137
139
|
# `[:INT64]`.
|
|
@@ -469,6 +471,7 @@ module Google
|
|
|
469
471
|
# * `:INT64`
|
|
470
472
|
# * `:STRING`
|
|
471
473
|
# * `:TIMESTAMP`
|
|
474
|
+
# * `:UUID`
|
|
472
475
|
# * `Array` - Lists are specified by providing the type code in an
|
|
473
476
|
# array. For example, an array of integers are specified as
|
|
474
477
|
# `[:INT64]`.
|