google-cloud-spanner-admin-instance-v1 0.10.0 → 0.10.1

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: e45852e87b314819518c748c09d7fa25b7ab6ffdd8926456b726bc48e95a315c
4
- data.tar.gz: 8601ceb157937b1b523dbd1211d68777653e9a5642402a153eab41baa4a790db
3
+ metadata.gz: 61c91b4e1b60e73bc24354330ce42f4c2abd6800d95da7c5ffe3ec844eba2756
4
+ data.tar.gz: f3b29063cd2f7ea4fec85a9ab9e3c6769fe735fd9c8d89f47e3433f3f2d92444
5
5
  SHA512:
6
- metadata.gz: 0ff717ce05a286c1e5a873817b0b21fe3c09f00cf6e6850f2d7398e5de467628625b79c07e2846140827e9fee3b8f1f25f7d452765242b749662d82351d3e957
7
- data.tar.gz: a536221226be07a875f6fa8dd9089a2f320f6d06abd335bc95f5c64ace85ebcda7ef2e89adf680f604ca8e70c85d5d7f32f5bf0457140900f192695c7d610022
6
+ metadata.gz: f78e55e950bb265e096fe3aeb111cb3f57e7503607f5edf08146289d4b28b9f2b8cecd31221b2642b763d38c30d2482f5726a9a5e1d9e3e729511b0cbf7ed441
7
+ data.tar.gz: 89b314027656d1dbb3242c4da6c65d83753786d7e2823a4f98afdcc45af60ac922aa5678a0993b0ca90bf61872971296851b13a7799d19a88078ab2420f62f74
@@ -183,7 +183,7 @@ module Google
183
183
  credentials = @config.credentials
184
184
  # Use self-signed JWT if the endpoint is unchanged from default,
185
185
  # but only if the default endpoint does not have a region prefix.
186
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
186
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
187
187
  !@config.endpoint.split(".").first.include?("-")
188
188
  credentials ||= Credentials.default scope: @config.scope,
189
189
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1915,7 +1915,9 @@ module Google
1915
1915
  class Configuration
1916
1916
  extend ::Gapic::Config
1917
1917
 
1918
- config_attr :endpoint, "spanner.googleapis.com", ::String
1918
+ DEFAULT_ENDPOINT = "spanner.googleapis.com"
1919
+
1920
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1919
1921
  config_attr :credentials, nil do |value|
1920
1922
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1921
1923
  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
- config_attr :endpoint, "spanner.googleapis.com", ::String
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
@@ -179,7 +179,7 @@ module Google
179
179
  credentials = @config.credentials
180
180
  # Use self-signed JWT if the endpoint is unchanged from default,
181
181
  # but only if the default endpoint does not have a region prefix.
182
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
182
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
183
183
  !@config.endpoint.split(".").first.include?("-")
184
184
  credentials ||= Credentials.default scope: @config.scope,
185
185
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1534,7 +1534,9 @@ module Google
1534
1534
  class Configuration
1535
1535
  extend ::Gapic::Config
1536
1536
 
1537
- config_attr :endpoint, "spanner.googleapis.com", ::String
1537
+ DEFAULT_ENDPOINT = "spanner.googleapis.com"
1538
+
1539
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1538
1540
  config_attr :credentials, nil do |value|
1539
1541
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1540
1542
  allowed.any? { |klass| klass === value }
@@ -448,7 +448,9 @@ module Google
448
448
  class Configuration
449
449
  extend ::Gapic::Config
450
450
 
451
- config_attr :endpoint, "spanner.googleapis.com", ::String
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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_instance_configs_request request_pb
63
63
  query_string_params = if query_string_params.any?
64
- query_string_params.to_h { |p| p.split("=", 2) }
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_get_instance_config_request request_pb
101
101
  query_string_params = if query_string_params.any?
102
- query_string_params.to_h { |p| p.split("=", 2) }
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_create_instance_config_request request_pb
139
139
  query_string_params = if query_string_params.any?
140
- query_string_params.to_h { |p| p.split("=", 2) }
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_instance_config_request request_pb
177
177
  query_string_params = if query_string_params.any?
178
- query_string_params.to_h { |p| p.split("=", 2) }
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_delete_instance_config_request request_pb
215
215
  query_string_params = if query_string_params.any?
216
- query_string_params.to_h { |p| p.split("=", 2) }
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_list_instance_config_operations_request request_pb
253
253
  query_string_params = if query_string_params.any?
254
- query_string_params.to_h { |p| p.split("=", 2) }
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_list_instances_request request_pb
291
291
  query_string_params = if query_string_params.any?
292
- query_string_params.to_h { |p| p.split("=", 2) }
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_get_instance_request request_pb
329
329
  query_string_params = if query_string_params.any?
330
- query_string_params.to_h { |p| p.split("=", 2) }
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_create_instance_request request_pb
367
367
  query_string_params = if query_string_params.any?
368
- query_string_params.to_h { |p| p.split("=", 2) }
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_update_instance_request request_pb
405
405
  query_string_params = if query_string_params.any?
406
- query_string_params.to_h { |p| p.split("=", 2) }
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_delete_instance_request request_pb
443
443
  query_string_params = if query_string_params.any?
444
- query_string_params.to_h { |p| p.split("=", 2) }
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_set_iam_policy_request request_pb
481
481
  query_string_params = if query_string_params.any?
482
- query_string_params.to_h { |p| p.split("=", 2) }
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_iam_policy_request request_pb
519
519
  query_string_params = if query_string_params.any?
520
- query_string_params.to_h { |p| p.split("=", 2) }
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_test_iam_permissions_request request_pb
557
557
  query_string_params = if query_string_params.any?
558
- query_string_params.to_h { |p| p.split("=", 2) }
558
+ query_string_params.to_h { |p| p.split "=", 2 }
559
559
  else
560
560
  {}
561
561
  end
@@ -23,7 +23,7 @@ module Google
23
23
  module Admin
24
24
  module Instance
25
25
  module V1
26
- VERSION = "0.10.0"
26
+ VERSION = "0.10.1"
27
27
  end
28
28
  end
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-spanner-admin-instance-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.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-05-31 00:00:00.000000000 Z
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.0
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.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a