google-cloud-spanner-admin-instance-v1 0.10.0 → 0.10.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: e45852e87b314819518c748c09d7fa25b7ab6ffdd8926456b726bc48e95a315c
4
- data.tar.gz: 8601ceb157937b1b523dbd1211d68777653e9a5642402a153eab41baa4a790db
3
+ metadata.gz: dc891b1c8fc07c4c796819616bedcdc28a53c90a30e03ce74ee1bb556575e32c
4
+ data.tar.gz: 593dbff51a290cbbad455bc13f6f9e52ad74453dc6e333c58ac25d1393175a5f
5
5
  SHA512:
6
- metadata.gz: 0ff717ce05a286c1e5a873817b0b21fe3c09f00cf6e6850f2d7398e5de467628625b79c07e2846140827e9fee3b8f1f25f7d452765242b749662d82351d3e957
7
- data.tar.gz: a536221226be07a875f6fa8dd9089a2f320f6d06abd335bc95f5c64ace85ebcda7ef2e89adf680f604ca8e70c85d5d7f32f5bf0457140900f192695c7d610022
6
+ metadata.gz: 4b7c49d11e58d33a0ea341c6907e131ec057e20f8c4f9a206b11dd03baff89a48712e8528f6da92d6721d99850e3bf808c2858f361a682fb963b830ed87c858c
7
+ data.tar.gz: d5422ab3cc377c2ceb2e6a4d8cfbca57b1cd980030292d7ee81103e878dd72d14998fc9dc48afa8595460b775c63160b65b13e051e159aae8e6967570ffa4c65
@@ -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.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-instance-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.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