google-cloud-spanner-admin-database-v1 0.14.0 → 0.14.2

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: 4df2b851c1fc6d2a565ce4fbbbc1a361e23dd38a928908e37589afb1baf94310
4
- data.tar.gz: 97578c37514e60a240f0338ddf762a0301af8a7e63906db2d9a2279326ba3f2b
3
+ metadata.gz: ea66c18d21325c1ff3b7b66d15c33d828135371878242cd566510ecf2d8d4c87
4
+ data.tar.gz: ec560da6690355ac82c4c8423643b51f542f826183a1e6d9e7bc29fb59bf53b5
5
5
  SHA512:
6
- metadata.gz: 59b31a2f09758e2663c50e2ec1612acefbc612ca827695be2ab999f7ac24e6cf10367a721e53ac34502c4b6808b5f1ef54d0942537dee87564e26d73badc665a
7
- data.tar.gz: f7f3113b629bf4a8cf5049ac14c12b51b02742902cc8e012179eba6407584522f6cd5e612d3e2335b191b53f0d176890e550ecd1b1c6fb0e7067079f434e77f3
6
+ metadata.gz: 4664bacd9194ddc24a7ed27efaee23914617abf7ba8820650056f1b22def907103bf77ddc62b95f6996bdc7279463c0731789a264f7746605c46a38509f584ac
7
+ data.tar.gz: 85d4e1ac4ad0bdce86a628121b4ea05fb37be5fe2c1c3523886cd3c0ab80f6cc510eeab5ec80bef432b81a1b0ce2f170502b00cc2ac3f5033af1a4454a55921f
@@ -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 == Client.configure.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
- config_attr :endpoint, "spanner.googleapis.com", ::String
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
- 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
@@ -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 == Client.configure.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
- config_attr :endpoint, "spanner.googleapis.com", ::String
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
- 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_databases_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_create_database_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_get_database_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_database_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_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("=", 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_drop_database_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_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("=", 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_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("=", 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_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("=", 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_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("=", 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_create_backup_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_copy_backup_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_backup_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_update_backup_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
@@ -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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
786
+ query_string_params.to_h { |p| p.split "=", 2 }
787
787
  else
788
788
  {}
789
789
  end
@@ -23,7 +23,7 @@ module Google
23
23
  module Admin
24
24
  module Database
25
25
  module V1
26
- VERSION = "0.14.0"
26
+ VERSION = "0.14.2"
27
27
  end
28
28
  end
29
29
  end
@@ -40,6 +40,7 @@ module Google
40
40
  #
41
41
  # **JSON example:**
42
42
  #
43
+ # ```
43
44
  # {
44
45
  # "bindings": [
45
46
  # {
@@ -67,9 +68,11 @@ module Google
67
68
  # "etag": "BwWWja0YfJA=",
68
69
  # "version": 3
69
70
  # }
71
+ # ```
70
72
  #
71
73
  # **YAML example:**
72
74
  #
75
+ # ```
73
76
  # bindings:
74
77
  # - members:
75
78
  # - user:mike@example.com
@@ -86,6 +89,7 @@ module Google
86
89
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
87
90
  # etag: BwWWja0YfJA=
88
91
  # version: 3
92
+ # ```
89
93
  #
90
94
  # For a description of IAM and its features, see the
91
95
  # [IAM documentation](https://cloud.google.com/iam/docs/).
@@ -157,7 +161,7 @@ module Google
157
161
  # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
158
162
  # @!attribute [rw] members
159
163
  # @return [::Array<::String>]
160
- # Specifies the principals requesting access for a Cloud Platform resource.
164
+ # Specifies the principals requesting access for a Google Cloud resource.
161
165
  # `members` can have the following values:
162
166
  #
163
167
  # * `allUsers`: A special identifier that represents anyone who is
@@ -267,8 +271,8 @@ module Google
267
271
  # }
268
272
  #
269
273
  # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
270
- # logging. It also exempts jose@example.com from DATA_READ logging, and
271
- # aliya@example.com from DATA_WRITE logging.
274
+ # logging. It also exempts `jose@example.com` from DATA_READ logging, and
275
+ # `aliya@example.com` from DATA_WRITE logging.
272
276
  # @!attribute [rw] service
273
277
  # @return [::String]
274
278
  # Specifies a service that will be enabled for audit logging.
@@ -356,7 +360,7 @@ module Google
356
360
  # Required
357
361
  # @!attribute [rw] member
358
362
  # @return [::String]
359
- # A single identity requesting access for a Cloud Platform resource.
363
+ # A single identity requesting access for a Google Cloud resource.
360
364
  # Follows the same format of Binding.members.
361
365
  # Required
362
366
  # @!attribute [rw] condition
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.0
4
+ version: 0.14.2
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-08-04 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