google-cloud-security-private_ca-v1 0.8.0 → 0.8.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 +4 -4
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/client.rb +4 -2
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/operations.rb +3 -1
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/client.rb +4 -2
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/operations.rb +7 -5
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/service_stub.rb +29 -29
- data/lib/google/cloud/security/private_ca/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: 518d115fbb96b547758f43a3ee3a75a9fca28264a24bbc96281f6238975f3712
|
4
|
+
data.tar.gz: e3719c2ff974494620f2ec91585774dac26522be5d47ab77bb34b0e926e401c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42d64eda0a40921b52d663caacf4182b7b8a0b5fc80d27396ae5b3aa629aef3a43684986b01a03b2b609a4448c081833a109a810dc008f64cf16647d283c756b
|
7
|
+
data.tar.gz: 94d4b13c8417f8362338d4791e4e962d6a7846daa58a5ebf4ede7c182d707b8bebfb4c0b076aa6e7929c89ae8b2c1dd750a9368a801a9bd09e72649bccdc9197
|
@@ -133,7 +133,7 @@ module Google
|
|
133
133
|
credentials = @config.credentials
|
134
134
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
135
135
|
# but only if the default endpoint does not have a region prefix.
|
136
|
-
enable_self_signed_jwt = @config.endpoint ==
|
136
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
137
137
|
!@config.endpoint.split(".").first.include?("-")
|
138
138
|
credentials ||= Credentials.default scope: @config.scope,
|
139
139
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -3420,7 +3420,9 @@ module Google
|
|
3420
3420
|
class Configuration
|
3421
3421
|
extend ::Gapic::Config
|
3422
3422
|
|
3423
|
-
|
3423
|
+
DEFAULT_ENDPOINT = "privateca.googleapis.com"
|
3424
|
+
|
3425
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
3424
3426
|
config_attr :credentials, nil do |value|
|
3425
3427
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
3426
3428
|
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
|
-
|
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
|
@@ -129,7 +129,7 @@ module Google
|
|
129
129
|
credentials = @config.credentials
|
130
130
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
131
131
|
# but only if the default endpoint does not have a region prefix.
|
132
|
-
enable_self_signed_jwt = @config.endpoint ==
|
132
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
133
133
|
!@config.endpoint.split(".").first.include?("-")
|
134
134
|
credentials ||= Credentials.default scope: @config.scope,
|
135
135
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -2614,7 +2614,9 @@ module Google
|
|
2614
2614
|
class Configuration
|
2615
2615
|
extend ::Gapic::Config
|
2616
2616
|
|
2617
|
-
|
2617
|
+
DEFAULT_ENDPOINT = "privateca.googleapis.com"
|
2618
|
+
|
2619
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
2618
2620
|
config_attr :credentials, nil do |value|
|
2619
2621
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2620
2622
|
allowed.any? { |klass| klass === value }
|
data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/operations.rb
CHANGED
@@ -447,7 +447,9 @@ module Google
|
|
447
447
|
class Configuration
|
448
448
|
extend ::Gapic::Config
|
449
449
|
|
450
|
-
|
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
|
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
|
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
|
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
|
687
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
686
688
|
else
|
687
689
|
{}
|
688
690
|
end
|
data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/service_stub.rb
CHANGED
@@ -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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_undelete_certificate_authority_request request_pb
|
518
518
|
query_string_params = if query_string_params.any?
|
519
|
-
query_string_params.to_h { |p| p.split
|
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_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
|
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
|
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_create_ca_pool_request request_pb
|
632
632
|
query_string_params = if query_string_params.any?
|
633
|
-
query_string_params.to_h { |p| p.split
|
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_update_ca_pool_request request_pb
|
670
670
|
query_string_params = if query_string_params.any?
|
671
|
-
query_string_params.to_h { |p| p.split
|
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_get_ca_pool_request request_pb
|
708
708
|
query_string_params = if query_string_params.any?
|
709
|
-
query_string_params.to_h { |p| p.split
|
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_list_ca_pools_request request_pb
|
746
746
|
query_string_params = if query_string_params.any?
|
747
|
-
query_string_params.to_h { |p| p.split
|
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_delete_ca_pool_request request_pb
|
784
784
|
query_string_params = if query_string_params.any?
|
785
|
-
query_string_params.to_h { |p| p.split
|
785
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
786
786
|
else
|
787
787
|
{}
|
788
788
|
end
|
@@ -820,7 +820,7 @@ module Google
|
|
820
820
|
|
821
821
|
verb, uri, query_string_params, body = ServiceStub.transcode_fetch_ca_certs_request request_pb
|
822
822
|
query_string_params = if query_string_params.any?
|
823
|
-
query_string_params.to_h { |p| p.split
|
823
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
824
824
|
else
|
825
825
|
{}
|
826
826
|
end
|
@@ -858,7 +858,7 @@ module Google
|
|
858
858
|
|
859
859
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_certificate_revocation_list_request request_pb
|
860
860
|
query_string_params = if query_string_params.any?
|
861
|
-
query_string_params.to_h { |p| p.split
|
861
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
862
862
|
else
|
863
863
|
{}
|
864
864
|
end
|
@@ -896,7 +896,7 @@ module Google
|
|
896
896
|
|
897
897
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_certificate_revocation_lists_request request_pb
|
898
898
|
query_string_params = if query_string_params.any?
|
899
|
-
query_string_params.to_h { |p| p.split
|
899
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
900
900
|
else
|
901
901
|
{}
|
902
902
|
end
|
@@ -934,7 +934,7 @@ module Google
|
|
934
934
|
|
935
935
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_certificate_revocation_list_request request_pb
|
936
936
|
query_string_params = if query_string_params.any?
|
937
|
-
query_string_params.to_h { |p| p.split
|
937
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
938
938
|
else
|
939
939
|
{}
|
940
940
|
end
|
@@ -972,7 +972,7 @@ module Google
|
|
972
972
|
|
973
973
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_certificate_template_request request_pb
|
974
974
|
query_string_params = if query_string_params.any?
|
975
|
-
query_string_params.to_h { |p| p.split
|
975
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
976
976
|
else
|
977
977
|
{}
|
978
978
|
end
|
@@ -1010,7 +1010,7 @@ module Google
|
|
1010
1010
|
|
1011
1011
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_certificate_template_request request_pb
|
1012
1012
|
query_string_params = if query_string_params.any?
|
1013
|
-
query_string_params.to_h { |p| p.split
|
1013
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1014
1014
|
else
|
1015
1015
|
{}
|
1016
1016
|
end
|
@@ -1048,7 +1048,7 @@ module Google
|
|
1048
1048
|
|
1049
1049
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_certificate_template_request request_pb
|
1050
1050
|
query_string_params = if query_string_params.any?
|
1051
|
-
query_string_params.to_h { |p| p.split
|
1051
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1052
1052
|
else
|
1053
1053
|
{}
|
1054
1054
|
end
|
@@ -1086,7 +1086,7 @@ module Google
|
|
1086
1086
|
|
1087
1087
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_certificate_templates_request request_pb
|
1088
1088
|
query_string_params = if query_string_params.any?
|
1089
|
-
query_string_params.to_h { |p| p.split
|
1089
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1090
1090
|
else
|
1091
1091
|
{}
|
1092
1092
|
end
|
@@ -1124,7 +1124,7 @@ module Google
|
|
1124
1124
|
|
1125
1125
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_certificate_template_request request_pb
|
1126
1126
|
query_string_params = if query_string_params.any?
|
1127
|
-
query_string_params.to_h { |p| p.split
|
1127
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1128
1128
|
else
|
1129
1129
|
{}
|
1130
1130
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-security-private_ca-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.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
|