google-cloud-spanner-admin-database-v1 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb +4 -2
- data/lib/google/cloud/spanner/admin/database/v1/database_admin/operations.rb +3 -1
- data/lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb +4 -2
- data/lib/google/cloud/spanner/admin/database/v1/database_admin/rest/operations.rb +7 -5
- data/lib/google/cloud/spanner/admin/database/v1/database_admin/rest/service_stub.rb +20 -20
- data/lib/google/cloud/spanner/admin/database/v1/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 165184d6b1addf27fb91b5b86df6c191ace85cd540875e5ba9c20f445864a1c4
|
4
|
+
data.tar.gz: 0f1ed3d3134959c743b1a545da2c166a5b3079ab5528c1c086ef2537dce80677
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98e7e833ee1fb4d63c05dbc55434eb0c3d9fb08d52d7de919a120b68c1f56cd42d05b4fb85f8cac61b9d4f154fc9248f42d5635901961ef81200f9db3b442fbd
|
7
|
+
data.tar.gz: 92b0b92ca12f4e1d41f7026e8a8754080eaacb7472f856932658d98197a9c78f868c29fd2ce4a3b183a44795c00703f3162c98c35ce1d843fa4a0a17706df279
|
@@ -213,7 +213,7 @@ module Google
|
|
213
213
|
credentials = @config.credentials
|
214
214
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
215
215
|
# but only if the default endpoint does not have a region prefix.
|
216
|
-
enable_self_signed_jwt = @config.endpoint ==
|
216
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
217
217
|
!@config.endpoint.split(".").first.include?("-")
|
218
218
|
credentials ||= Credentials.default scope: @config.scope,
|
219
219
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -2569,7 +2569,9 @@ module Google
|
|
2569
2569
|
class Configuration
|
2570
2570
|
extend ::Gapic::Config
|
2571
2571
|
|
2572
|
-
|
2572
|
+
DEFAULT_ENDPOINT = "spanner.googleapis.com"
|
2573
|
+
|
2574
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
2573
2575
|
config_attr :credentials, nil do |value|
|
2574
2576
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2575
2577
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -666,7 +666,9 @@ module Google
|
|
666
666
|
class Configuration
|
667
667
|
extend ::Gapic::Config
|
668
668
|
|
669
|
-
|
669
|
+
DEFAULT_ENDPOINT = "spanner.googleapis.com"
|
670
|
+
|
671
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
670
672
|
config_attr :credentials, nil do |value|
|
671
673
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
672
674
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -209,7 +209,7 @@ module Google
|
|
209
209
|
credentials = @config.credentials
|
210
210
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
211
211
|
# but only if the default endpoint does not have a region prefix.
|
212
|
-
enable_self_signed_jwt = @config.endpoint ==
|
212
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
213
213
|
!@config.endpoint.split(".").first.include?("-")
|
214
214
|
credentials ||= Credentials.default scope: @config.scope,
|
215
215
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -2027,7 +2027,9 @@ module Google
|
|
2027
2027
|
class Configuration
|
2028
2028
|
extend ::Gapic::Config
|
2029
2029
|
|
2030
|
-
|
2030
|
+
DEFAULT_ENDPOINT = "spanner.googleapis.com"
|
2031
|
+
|
2032
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
2031
2033
|
config_attr :credentials, nil do |value|
|
2032
2034
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2033
2035
|
allowed.any? { |klass| klass === value }
|
@@ -448,7 +448,9 @@ module Google
|
|
448
448
|
class Configuration
|
449
449
|
extend ::Gapic::Config
|
450
450
|
|
451
|
-
|
451
|
+
DEFAULT_ENDPOINT = "spanner.googleapis.com"
|
452
|
+
|
453
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
452
454
|
config_attr :credentials, nil do |value|
|
453
455
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
454
456
|
allowed.any? { |klass| klass === value }
|
@@ -569,7 +571,7 @@ module Google
|
|
569
571
|
|
570
572
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
|
571
573
|
query_string_params = if query_string_params.any?
|
572
|
-
query_string_params.to_h { |p| p.split
|
574
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
573
575
|
else
|
574
576
|
{}
|
575
577
|
end
|
@@ -607,7 +609,7 @@ module Google
|
|
607
609
|
|
608
610
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
|
609
611
|
query_string_params = if query_string_params.any?
|
610
|
-
query_string_params.to_h { |p| p.split
|
612
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
611
613
|
else
|
612
614
|
{}
|
613
615
|
end
|
@@ -645,7 +647,7 @@ module Google
|
|
645
647
|
|
646
648
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
|
647
649
|
query_string_params = if query_string_params.any?
|
648
|
-
query_string_params.to_h { |p| p.split
|
650
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
649
651
|
else
|
650
652
|
{}
|
651
653
|
end
|
@@ -683,7 +685,7 @@ module Google
|
|
683
685
|
|
684
686
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
|
685
687
|
query_string_params = if query_string_params.any?
|
686
|
-
query_string_params.to_h { |p| p.split
|
688
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
687
689
|
else
|
688
690
|
{}
|
689
691
|
end
|
@@ -61,7 +61,7 @@ module Google
|
|
61
61
|
|
62
62
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_databases_request request_pb
|
63
63
|
query_string_params = if query_string_params.any?
|
64
|
-
query_string_params.to_h { |p| p.split
|
64
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
65
65
|
else
|
66
66
|
{}
|
67
67
|
end
|
@@ -99,7 +99,7 @@ module Google
|
|
99
99
|
|
100
100
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_database_request request_pb
|
101
101
|
query_string_params = if query_string_params.any?
|
102
|
-
query_string_params.to_h { |p| p.split
|
102
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
103
103
|
else
|
104
104
|
{}
|
105
105
|
end
|
@@ -137,7 +137,7 @@ module Google
|
|
137
137
|
|
138
138
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_database_request request_pb
|
139
139
|
query_string_params = if query_string_params.any?
|
140
|
-
query_string_params.to_h { |p| p.split
|
140
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
141
141
|
else
|
142
142
|
{}
|
143
143
|
end
|
@@ -175,7 +175,7 @@ module Google
|
|
175
175
|
|
176
176
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_database_request request_pb
|
177
177
|
query_string_params = if query_string_params.any?
|
178
|
-
query_string_params.to_h { |p| p.split
|
178
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
179
179
|
else
|
180
180
|
{}
|
181
181
|
end
|
@@ -213,7 +213,7 @@ module Google
|
|
213
213
|
|
214
214
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_database_ddl_request request_pb
|
215
215
|
query_string_params = if query_string_params.any?
|
216
|
-
query_string_params.to_h { |p| p.split
|
216
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
217
217
|
else
|
218
218
|
{}
|
219
219
|
end
|
@@ -251,7 +251,7 @@ module Google
|
|
251
251
|
|
252
252
|
verb, uri, query_string_params, body = ServiceStub.transcode_drop_database_request request_pb
|
253
253
|
query_string_params = if query_string_params.any?
|
254
|
-
query_string_params.to_h { |p| p.split
|
254
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
255
255
|
else
|
256
256
|
{}
|
257
257
|
end
|
@@ -289,7 +289,7 @@ module Google
|
|
289
289
|
|
290
290
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_database_ddl_request request_pb
|
291
291
|
query_string_params = if query_string_params.any?
|
292
|
-
query_string_params.to_h { |p| p.split
|
292
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
293
293
|
else
|
294
294
|
{}
|
295
295
|
end
|
@@ -327,7 +327,7 @@ module Google
|
|
327
327
|
|
328
328
|
verb, uri, query_string_params, body = ServiceStub.transcode_set_iam_policy_request request_pb
|
329
329
|
query_string_params = if query_string_params.any?
|
330
|
-
query_string_params.to_h { |p| p.split
|
330
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
331
331
|
else
|
332
332
|
{}
|
333
333
|
end
|
@@ -365,7 +365,7 @@ module Google
|
|
365
365
|
|
366
366
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_iam_policy_request request_pb
|
367
367
|
query_string_params = if query_string_params.any?
|
368
|
-
query_string_params.to_h { |p| p.split
|
368
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
369
369
|
else
|
370
370
|
{}
|
371
371
|
end
|
@@ -403,7 +403,7 @@ module Google
|
|
403
403
|
|
404
404
|
verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
|
405
405
|
query_string_params = if query_string_params.any?
|
406
|
-
query_string_params.to_h { |p| p.split
|
406
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
407
407
|
else
|
408
408
|
{}
|
409
409
|
end
|
@@ -441,7 +441,7 @@ module Google
|
|
441
441
|
|
442
442
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_backup_request request_pb
|
443
443
|
query_string_params = if query_string_params.any?
|
444
|
-
query_string_params.to_h { |p| p.split
|
444
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
445
445
|
else
|
446
446
|
{}
|
447
447
|
end
|
@@ -479,7 +479,7 @@ module Google
|
|
479
479
|
|
480
480
|
verb, uri, query_string_params, body = ServiceStub.transcode_copy_backup_request request_pb
|
481
481
|
query_string_params = if query_string_params.any?
|
482
|
-
query_string_params.to_h { |p| p.split
|
482
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
483
483
|
else
|
484
484
|
{}
|
485
485
|
end
|
@@ -517,7 +517,7 @@ module Google
|
|
517
517
|
|
518
518
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_backup_request request_pb
|
519
519
|
query_string_params = if query_string_params.any?
|
520
|
-
query_string_params.to_h { |p| p.split
|
520
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
521
521
|
else
|
522
522
|
{}
|
523
523
|
end
|
@@ -555,7 +555,7 @@ module Google
|
|
555
555
|
|
556
556
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_backup_request request_pb
|
557
557
|
query_string_params = if query_string_params.any?
|
558
|
-
query_string_params.to_h { |p| p.split
|
558
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
559
559
|
else
|
560
560
|
{}
|
561
561
|
end
|
@@ -593,7 +593,7 @@ module Google
|
|
593
593
|
|
594
594
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_backup_request request_pb
|
595
595
|
query_string_params = if query_string_params.any?
|
596
|
-
query_string_params.to_h { |p| p.split
|
596
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
597
597
|
else
|
598
598
|
{}
|
599
599
|
end
|
@@ -631,7 +631,7 @@ module Google
|
|
631
631
|
|
632
632
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_backups_request request_pb
|
633
633
|
query_string_params = if query_string_params.any?
|
634
|
-
query_string_params.to_h { |p| p.split
|
634
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
635
635
|
else
|
636
636
|
{}
|
637
637
|
end
|
@@ -669,7 +669,7 @@ module Google
|
|
669
669
|
|
670
670
|
verb, uri, query_string_params, body = ServiceStub.transcode_restore_database_request request_pb
|
671
671
|
query_string_params = if query_string_params.any?
|
672
|
-
query_string_params.to_h { |p| p.split
|
672
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
673
673
|
else
|
674
674
|
{}
|
675
675
|
end
|
@@ -707,7 +707,7 @@ module Google
|
|
707
707
|
|
708
708
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_database_operations_request request_pb
|
709
709
|
query_string_params = if query_string_params.any?
|
710
|
-
query_string_params.to_h { |p| p.split
|
710
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
711
711
|
else
|
712
712
|
{}
|
713
713
|
end
|
@@ -745,7 +745,7 @@ module Google
|
|
745
745
|
|
746
746
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_backup_operations_request request_pb
|
747
747
|
query_string_params = if query_string_params.any?
|
748
|
-
query_string_params.to_h { |p| p.split
|
748
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
749
749
|
else
|
750
750
|
{}
|
751
751
|
end
|
@@ -783,7 +783,7 @@ module Google
|
|
783
783
|
|
784
784
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_database_roles_request request_pb
|
785
785
|
query_string_params = if query_string_params.any?
|
786
|
-
query_string_params.to_h { |p| p.split
|
786
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
787
787
|
else
|
788
788
|
{}
|
789
789
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-spanner-admin-database-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.19.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.19.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|