google-cloud-security-private_ca-v1beta1 0.6.0 → 0.6.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 737b70447318b994a043c47155bb15c54f724f60406280ea601a1a28986a9f90
4
- data.tar.gz: 4ee7293d90ece71eb01ab9aedef0f558d0bdfb3d8ce96990cb7c41f51024bd0a
3
+ metadata.gz: ab183e8152d4dcb7d698817fb84d64da5db5d4a18497c84dcb9ab0e1881169dc
4
+ data.tar.gz: c3c09d9f0ab94e83190ac3c2d8a5f2513d883963e3c58e603ce8f7879d62ad03
5
5
  SHA512:
6
- metadata.gz: da53e7feba3f451a49f2cfa22fc131019345ab9739d4dadff63ea8d624f66904beb454fe69890507b0239c032c18884eb02cc29e4962728bc29c0b96bee828c2
7
- data.tar.gz: 72a0ebf7b8dad5d1fcb84d4834ca3e583515081c4a1437d3e36421108ac2100ad00949aeec96a398326d72d0fdd62ae3cda18e67176f365e45a6cbf7cc42fa3c
6
+ metadata.gz: 2e7e6cfe32c74d91d91dce8a966e8211f8737db3a6e6027a5c460db4f6493aafad9db81ebc30967b01a7f690eeccbb6ef195b114825ecfdadc24756d6eafd109
7
+ data.tar.gz: f9c4592db771864c6ae07c6f8c3b02d53362af09061d1a7eaf929e85aa137a63c5b57796cdf3b6b6616938fc3f25eb92b48dc4714bd6869c2b6032fdcecc4799
@@ -130,7 +130,7 @@ module Google
130
130
  credentials = @config.credentials
131
131
  # Use self-signed JWT if the endpoint is unchanged from default,
132
132
  # but only if the default endpoint does not have a region prefix.
133
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
133
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
134
134
  !@config.endpoint.split(".").first.include?("-")
135
135
  credentials ||= Credentials.default scope: @config.scope,
136
136
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -2304,7 +2304,9 @@ module Google
2304
2304
  class Configuration
2305
2305
  extend ::Gapic::Config
2306
2306
 
2307
- config_attr :endpoint, "privateca.googleapis.com", ::String
2307
+ DEFAULT_ENDPOINT = "privateca.googleapis.com"
2308
+
2309
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
2308
2310
  config_attr :credentials, nil do |value|
2309
2311
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2310
2312
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -665,7 +665,9 @@ module Google
665
665
  class Configuration
666
666
  extend ::Gapic::Config
667
667
 
668
- config_attr :endpoint, "privateca.googleapis.com", ::String
668
+ DEFAULT_ENDPOINT = "privateca.googleapis.com"
669
+
670
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
669
671
  config_attr :credentials, nil do |value|
670
672
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
671
673
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -126,7 +126,7 @@ module Google
126
126
  credentials = @config.credentials
127
127
  # Use self-signed JWT if the endpoint is unchanged from default,
128
128
  # but only if the default endpoint does not have a region prefix.
129
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
129
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
130
130
  !@config.endpoint.split(".").first.include?("-")
131
131
  credentials ||= Credentials.default scope: @config.scope,
132
132
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1750,7 +1750,9 @@ module Google
1750
1750
  class Configuration
1751
1751
  extend ::Gapic::Config
1752
1752
 
1753
- config_attr :endpoint, "privateca.googleapis.com", ::String
1753
+ DEFAULT_ENDPOINT = "privateca.googleapis.com"
1754
+
1755
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1754
1756
  config_attr :credentials, nil do |value|
1755
1757
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1756
1758
  allowed.any? { |klass| klass === value }
@@ -447,7 +447,9 @@ module Google
447
447
  class Configuration
448
448
  extend ::Gapic::Config
449
449
 
450
- config_attr :endpoint, "privateca.googleapis.com", ::String
450
+ DEFAULT_ENDPOINT = "privateca.googleapis.com"
451
+
452
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
451
453
  config_attr :credentials, nil do |value|
452
454
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
453
455
  allowed.any? { |klass| klass === value }
@@ -568,7 +570,7 @@ module Google
568
570
 
569
571
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
570
572
  query_string_params = if query_string_params.any?
571
- query_string_params.to_h { |p| p.split("=", 2) }
573
+ query_string_params.to_h { |p| p.split "=", 2 }
572
574
  else
573
575
  {}
574
576
  end
@@ -606,7 +608,7 @@ module Google
606
608
 
607
609
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
608
610
  query_string_params = if query_string_params.any?
609
- query_string_params.to_h { |p| p.split("=", 2) }
611
+ query_string_params.to_h { |p| p.split "=", 2 }
610
612
  else
611
613
  {}
612
614
  end
@@ -644,7 +646,7 @@ module Google
644
646
 
645
647
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
646
648
  query_string_params = if query_string_params.any?
647
- query_string_params.to_h { |p| p.split("=", 2) }
649
+ query_string_params.to_h { |p| p.split "=", 2 }
648
650
  else
649
651
  {}
650
652
  end
@@ -682,7 +684,7 @@ module Google
682
684
 
683
685
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
684
686
  query_string_params = if query_string_params.any?
685
- query_string_params.to_h { |p| p.split("=", 2) }
687
+ query_string_params.to_h { |p| p.split "=", 2 }
686
688
  else
687
689
  {}
688
690
  end
@@ -60,7 +60,7 @@ module Google
60
60
 
61
61
  verb, uri, query_string_params, body = ServiceStub.transcode_create_certificate_request request_pb
62
62
  query_string_params = if query_string_params.any?
63
- query_string_params.to_h { |p| p.split("=", 2) }
63
+ query_string_params.to_h { |p| p.split "=", 2 }
64
64
  else
65
65
  {}
66
66
  end
@@ -98,7 +98,7 @@ module Google
98
98
 
99
99
  verb, uri, query_string_params, body = ServiceStub.transcode_get_certificate_request request_pb
100
100
  query_string_params = if query_string_params.any?
101
- query_string_params.to_h { |p| p.split("=", 2) }
101
+ query_string_params.to_h { |p| p.split "=", 2 }
102
102
  else
103
103
  {}
104
104
  end
@@ -136,7 +136,7 @@ module Google
136
136
 
137
137
  verb, uri, query_string_params, body = ServiceStub.transcode_list_certificates_request request_pb
138
138
  query_string_params = if query_string_params.any?
139
- query_string_params.to_h { |p| p.split("=", 2) }
139
+ query_string_params.to_h { |p| p.split "=", 2 }
140
140
  else
141
141
  {}
142
142
  end
@@ -174,7 +174,7 @@ module Google
174
174
 
175
175
  verb, uri, query_string_params, body = ServiceStub.transcode_revoke_certificate_request request_pb
176
176
  query_string_params = if query_string_params.any?
177
- query_string_params.to_h { |p| p.split("=", 2) }
177
+ query_string_params.to_h { |p| p.split "=", 2 }
178
178
  else
179
179
  {}
180
180
  end
@@ -212,7 +212,7 @@ module Google
212
212
 
213
213
  verb, uri, query_string_params, body = ServiceStub.transcode_update_certificate_request request_pb
214
214
  query_string_params = if query_string_params.any?
215
- query_string_params.to_h { |p| p.split("=", 2) }
215
+ query_string_params.to_h { |p| p.split "=", 2 }
216
216
  else
217
217
  {}
218
218
  end
@@ -250,7 +250,7 @@ module Google
250
250
 
251
251
  verb, uri, query_string_params, body = ServiceStub.transcode_activate_certificate_authority_request request_pb
252
252
  query_string_params = if query_string_params.any?
253
- query_string_params.to_h { |p| p.split("=", 2) }
253
+ query_string_params.to_h { |p| p.split "=", 2 }
254
254
  else
255
255
  {}
256
256
  end
@@ -288,7 +288,7 @@ module Google
288
288
 
289
289
  verb, uri, query_string_params, body = ServiceStub.transcode_create_certificate_authority_request request_pb
290
290
  query_string_params = if query_string_params.any?
291
- query_string_params.to_h { |p| p.split("=", 2) }
291
+ query_string_params.to_h { |p| p.split "=", 2 }
292
292
  else
293
293
  {}
294
294
  end
@@ -326,7 +326,7 @@ module Google
326
326
 
327
327
  verb, uri, query_string_params, body = ServiceStub.transcode_disable_certificate_authority_request request_pb
328
328
  query_string_params = if query_string_params.any?
329
- query_string_params.to_h { |p| p.split("=", 2) }
329
+ query_string_params.to_h { |p| p.split "=", 2 }
330
330
  else
331
331
  {}
332
332
  end
@@ -364,7 +364,7 @@ module Google
364
364
 
365
365
  verb, uri, query_string_params, body = ServiceStub.transcode_enable_certificate_authority_request request_pb
366
366
  query_string_params = if query_string_params.any?
367
- query_string_params.to_h { |p| p.split("=", 2) }
367
+ query_string_params.to_h { |p| p.split "=", 2 }
368
368
  else
369
369
  {}
370
370
  end
@@ -402,7 +402,7 @@ module Google
402
402
 
403
403
  verb, uri, query_string_params, body = ServiceStub.transcode_fetch_certificate_authority_csr_request request_pb
404
404
  query_string_params = if query_string_params.any?
405
- query_string_params.to_h { |p| p.split("=", 2) }
405
+ query_string_params.to_h { |p| p.split "=", 2 }
406
406
  else
407
407
  {}
408
408
  end
@@ -440,7 +440,7 @@ module Google
440
440
 
441
441
  verb, uri, query_string_params, body = ServiceStub.transcode_get_certificate_authority_request request_pb
442
442
  query_string_params = if query_string_params.any?
443
- query_string_params.to_h { |p| p.split("=", 2) }
443
+ query_string_params.to_h { |p| p.split "=", 2 }
444
444
  else
445
445
  {}
446
446
  end
@@ -478,7 +478,7 @@ module Google
478
478
 
479
479
  verb, uri, query_string_params, body = ServiceStub.transcode_list_certificate_authorities_request request_pb
480
480
  query_string_params = if query_string_params.any?
481
- query_string_params.to_h { |p| p.split("=", 2) }
481
+ query_string_params.to_h { |p| p.split "=", 2 }
482
482
  else
483
483
  {}
484
484
  end
@@ -516,7 +516,7 @@ module Google
516
516
 
517
517
  verb, uri, query_string_params, body = ServiceStub.transcode_restore_certificate_authority_request request_pb
518
518
  query_string_params = if query_string_params.any?
519
- query_string_params.to_h { |p| p.split("=", 2) }
519
+ query_string_params.to_h { |p| p.split "=", 2 }
520
520
  else
521
521
  {}
522
522
  end
@@ -554,7 +554,7 @@ module Google
554
554
 
555
555
  verb, uri, query_string_params, body = ServiceStub.transcode_schedule_delete_certificate_authority_request request_pb
556
556
  query_string_params = if query_string_params.any?
557
- query_string_params.to_h { |p| p.split("=", 2) }
557
+ query_string_params.to_h { |p| p.split "=", 2 }
558
558
  else
559
559
  {}
560
560
  end
@@ -592,7 +592,7 @@ module Google
592
592
 
593
593
  verb, uri, query_string_params, body = ServiceStub.transcode_update_certificate_authority_request request_pb
594
594
  query_string_params = if query_string_params.any?
595
- query_string_params.to_h { |p| p.split("=", 2) }
595
+ query_string_params.to_h { |p| p.split "=", 2 }
596
596
  else
597
597
  {}
598
598
  end
@@ -630,7 +630,7 @@ module Google
630
630
 
631
631
  verb, uri, query_string_params, body = ServiceStub.transcode_get_certificate_revocation_list_request request_pb
632
632
  query_string_params = if query_string_params.any?
633
- query_string_params.to_h { |p| p.split("=", 2) }
633
+ query_string_params.to_h { |p| p.split "=", 2 }
634
634
  else
635
635
  {}
636
636
  end
@@ -668,7 +668,7 @@ module Google
668
668
 
669
669
  verb, uri, query_string_params, body = ServiceStub.transcode_list_certificate_revocation_lists_request request_pb
670
670
  query_string_params = if query_string_params.any?
671
- query_string_params.to_h { |p| p.split("=", 2) }
671
+ query_string_params.to_h { |p| p.split "=", 2 }
672
672
  else
673
673
  {}
674
674
  end
@@ -706,7 +706,7 @@ module Google
706
706
 
707
707
  verb, uri, query_string_params, body = ServiceStub.transcode_update_certificate_revocation_list_request request_pb
708
708
  query_string_params = if query_string_params.any?
709
- query_string_params.to_h { |p| p.split("=", 2) }
709
+ query_string_params.to_h { |p| p.split "=", 2 }
710
710
  else
711
711
  {}
712
712
  end
@@ -744,7 +744,7 @@ module Google
744
744
 
745
745
  verb, uri, query_string_params, body = ServiceStub.transcode_get_reusable_config_request request_pb
746
746
  query_string_params = if query_string_params.any?
747
- query_string_params.to_h { |p| p.split("=", 2) }
747
+ query_string_params.to_h { |p| p.split "=", 2 }
748
748
  else
749
749
  {}
750
750
  end
@@ -782,7 +782,7 @@ module Google
782
782
 
783
783
  verb, uri, query_string_params, body = ServiceStub.transcode_list_reusable_configs_request request_pb
784
784
  query_string_params = if query_string_params.any?
785
- query_string_params.to_h { |p| p.split("=", 2) }
785
+ query_string_params.to_h { |p| p.split "=", 2 }
786
786
  else
787
787
  {}
788
788
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Security
23
23
  module PrivateCA
24
24
  module V1beta1
25
- VERSION = "0.6.0"
25
+ VERSION = "0.6.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security-private_ca-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.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