google-cloud-security-private_ca-v1beta1 0.8.2 → 0.9.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/README.md +1 -1
- data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/client.rb +43 -20
- data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/operations.rb +13 -5
- data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/rest/client.rb +43 -20
- data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/rest/operations.rb +11 -4
- data/lib/google/cloud/security/private_ca/v1beta1/version.rb +1 -1
- data/lib/google/cloud/security/privateca/v1beta1/resources_pb.rb +1 -1
- data/lib/google/cloud/security/privateca/v1beta1/service_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +4 -116
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 829a90f1d1c2307435c0a3a58016b3df1ced76b979d664348f641d87200b090d
|
|
4
|
+
data.tar.gz: adac115ea5daaf08982deb4271fe7475c5aa8ee61f9c5c5c377dbd3c91959697
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15383a7a4435e98c6fa5b5daf72251fb4d83c23b3f35c9c819613e42a3c2582a6289ea57af284cf5ed110b03b854d221e9e7ab33ad2bcdccfdf1733d46937675
|
|
7
|
+
data.tar.gz: 322eb8cdf8624ccd33e32c823367dd0a1102bf9db624c45db5859eb1fdd24dd2b70c3fd95bc24e55b65903b3a76d9ab7c5fdee8a0dc2e0d5f6a432d564758db1
|
data/README.md
CHANGED
|
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
|
76
76
|
|
|
77
77
|
## Supported Ruby Versions
|
|
78
78
|
|
|
79
|
-
This library is supported on Ruby 2.
|
|
79
|
+
This library is supported on Ruby 2.7+.
|
|
80
80
|
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# certificate authorities and issued certificates.
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "privateca.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -260,10 +263,11 @@ module Google
|
|
|
260
263
|
# Customize the options with defaults
|
|
261
264
|
metadata = @config.rpcs.create_certificate.metadata.to_h
|
|
262
265
|
|
|
263
|
-
# Set x-goog-api-client
|
|
266
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
264
267
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
265
268
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
266
269
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
270
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
267
271
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
268
272
|
|
|
269
273
|
header_params = {}
|
|
@@ -345,10 +349,11 @@ module Google
|
|
|
345
349
|
# Customize the options with defaults
|
|
346
350
|
metadata = @config.rpcs.get_certificate.metadata.to_h
|
|
347
351
|
|
|
348
|
-
# Set x-goog-api-client
|
|
352
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
349
353
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
350
354
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
351
355
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
356
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
352
357
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
353
358
|
|
|
354
359
|
header_params = {}
|
|
@@ -454,10 +459,11 @@ module Google
|
|
|
454
459
|
# Customize the options with defaults
|
|
455
460
|
metadata = @config.rpcs.list_certificates.metadata.to_h
|
|
456
461
|
|
|
457
|
-
# Set x-goog-api-client
|
|
462
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
458
463
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
459
464
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
460
465
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
466
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
461
467
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
462
468
|
|
|
463
469
|
header_params = {}
|
|
@@ -557,10 +563,11 @@ module Google
|
|
|
557
563
|
# Customize the options with defaults
|
|
558
564
|
metadata = @config.rpcs.revoke_certificate.metadata.to_h
|
|
559
565
|
|
|
560
|
-
# Set x-goog-api-client
|
|
566
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
561
567
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
562
568
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
563
569
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
570
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
564
571
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
565
572
|
|
|
566
573
|
header_params = {}
|
|
@@ -659,10 +666,11 @@ module Google
|
|
|
659
666
|
# Customize the options with defaults
|
|
660
667
|
metadata = @config.rpcs.update_certificate.metadata.to_h
|
|
661
668
|
|
|
662
|
-
# Set x-goog-api-client
|
|
669
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
663
670
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
664
671
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
665
672
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
673
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
666
674
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
667
675
|
|
|
668
676
|
header_params = {}
|
|
@@ -777,10 +785,11 @@ module Google
|
|
|
777
785
|
# Customize the options with defaults
|
|
778
786
|
metadata = @config.rpcs.activate_certificate_authority.metadata.to_h
|
|
779
787
|
|
|
780
|
-
# Set x-goog-api-client
|
|
788
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
781
789
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
782
790
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
783
791
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
792
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
784
793
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
785
794
|
|
|
786
795
|
header_params = {}
|
|
@@ -891,10 +900,11 @@ module Google
|
|
|
891
900
|
# Customize the options with defaults
|
|
892
901
|
metadata = @config.rpcs.create_certificate_authority.metadata.to_h
|
|
893
902
|
|
|
894
|
-
# Set x-goog-api-client
|
|
903
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
895
904
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
896
905
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
897
906
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
907
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
898
908
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
899
909
|
|
|
900
910
|
header_params = {}
|
|
@@ -999,10 +1009,11 @@ module Google
|
|
|
999
1009
|
# Customize the options with defaults
|
|
1000
1010
|
metadata = @config.rpcs.disable_certificate_authority.metadata.to_h
|
|
1001
1011
|
|
|
1002
|
-
# Set x-goog-api-client
|
|
1012
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1003
1013
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1004
1014
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1005
1015
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
1016
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1006
1017
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1007
1018
|
|
|
1008
1019
|
header_params = {}
|
|
@@ -1107,10 +1118,11 @@ module Google
|
|
|
1107
1118
|
# Customize the options with defaults
|
|
1108
1119
|
metadata = @config.rpcs.enable_certificate_authority.metadata.to_h
|
|
1109
1120
|
|
|
1110
|
-
# Set x-goog-api-client
|
|
1121
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1111
1122
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1112
1123
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1113
1124
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
1125
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1114
1126
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1115
1127
|
|
|
1116
1128
|
header_params = {}
|
|
@@ -1200,10 +1212,11 @@ module Google
|
|
|
1200
1212
|
# Customize the options with defaults
|
|
1201
1213
|
metadata = @config.rpcs.fetch_certificate_authority_csr.metadata.to_h
|
|
1202
1214
|
|
|
1203
|
-
# Set x-goog-api-client
|
|
1215
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1204
1216
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1205
1217
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1206
1218
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
1219
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1207
1220
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1208
1221
|
|
|
1209
1222
|
header_params = {}
|
|
@@ -1286,10 +1299,11 @@ module Google
|
|
|
1286
1299
|
# Customize the options with defaults
|
|
1287
1300
|
metadata = @config.rpcs.get_certificate_authority.metadata.to_h
|
|
1288
1301
|
|
|
1289
|
-
# Set x-goog-api-client
|
|
1302
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1290
1303
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1291
1304
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1292
1305
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
1306
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1293
1307
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1294
1308
|
|
|
1295
1309
|
header_params = {}
|
|
@@ -1391,10 +1405,11 @@ module Google
|
|
|
1391
1405
|
# Customize the options with defaults
|
|
1392
1406
|
metadata = @config.rpcs.list_certificate_authorities.metadata.to_h
|
|
1393
1407
|
|
|
1394
|
-
# Set x-goog-api-client
|
|
1408
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1395
1409
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1396
1410
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1397
1411
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
1412
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1398
1413
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1399
1414
|
|
|
1400
1415
|
header_params = {}
|
|
@@ -1499,10 +1514,11 @@ module Google
|
|
|
1499
1514
|
# Customize the options with defaults
|
|
1500
1515
|
metadata = @config.rpcs.restore_certificate_authority.metadata.to_h
|
|
1501
1516
|
|
|
1502
|
-
# Set x-goog-api-client
|
|
1517
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1503
1518
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1504
1519
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1505
1520
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
1521
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1506
1522
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1507
1523
|
|
|
1508
1524
|
header_params = {}
|
|
@@ -1607,10 +1623,11 @@ module Google
|
|
|
1607
1623
|
# Customize the options with defaults
|
|
1608
1624
|
metadata = @config.rpcs.schedule_delete_certificate_authority.metadata.to_h
|
|
1609
1625
|
|
|
1610
|
-
# Set x-goog-api-client
|
|
1626
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1611
1627
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1612
1628
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1613
1629
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
1630
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1614
1631
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1615
1632
|
|
|
1616
1633
|
header_params = {}
|
|
@@ -1716,10 +1733,11 @@ module Google
|
|
|
1716
1733
|
# Customize the options with defaults
|
|
1717
1734
|
metadata = @config.rpcs.update_certificate_authority.metadata.to_h
|
|
1718
1735
|
|
|
1719
|
-
# Set x-goog-api-client
|
|
1736
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1720
1737
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1721
1738
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1722
1739
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
1740
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1723
1741
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1724
1742
|
|
|
1725
1743
|
header_params = {}
|
|
@@ -1803,10 +1821,11 @@ module Google
|
|
|
1803
1821
|
# Customize the options with defaults
|
|
1804
1822
|
metadata = @config.rpcs.get_certificate_revocation_list.metadata.to_h
|
|
1805
1823
|
|
|
1806
|
-
# Set x-goog-api-client
|
|
1824
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1807
1825
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1808
1826
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1809
1827
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
1828
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1810
1829
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1811
1830
|
|
|
1812
1831
|
header_params = {}
|
|
@@ -1908,10 +1927,11 @@ module Google
|
|
|
1908
1927
|
# Customize the options with defaults
|
|
1909
1928
|
metadata = @config.rpcs.list_certificate_revocation_lists.metadata.to_h
|
|
1910
1929
|
|
|
1911
|
-
# Set x-goog-api-client
|
|
1930
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1912
1931
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1913
1932
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1914
1933
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
1934
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1915
1935
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1916
1936
|
|
|
1917
1937
|
header_params = {}
|
|
@@ -2017,10 +2037,11 @@ module Google
|
|
|
2017
2037
|
# Customize the options with defaults
|
|
2018
2038
|
metadata = @config.rpcs.update_certificate_revocation_list.metadata.to_h
|
|
2019
2039
|
|
|
2020
|
-
# Set x-goog-api-client
|
|
2040
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2021
2041
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2022
2042
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2023
2043
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
2044
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2024
2045
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2025
2046
|
|
|
2026
2047
|
header_params = {}
|
|
@@ -2103,10 +2124,11 @@ module Google
|
|
|
2103
2124
|
# Customize the options with defaults
|
|
2104
2125
|
metadata = @config.rpcs.get_reusable_config.metadata.to_h
|
|
2105
2126
|
|
|
2106
|
-
# Set x-goog-api-client
|
|
2127
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2107
2128
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2108
2129
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2109
2130
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
2131
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2110
2132
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2111
2133
|
|
|
2112
2134
|
header_params = {}
|
|
@@ -2208,10 +2230,11 @@ module Google
|
|
|
2208
2230
|
# Customize the options with defaults
|
|
2209
2231
|
metadata = @config.rpcs.list_reusable_configs.metadata.to_h
|
|
2210
2232
|
|
|
2211
|
-
# Set x-goog-api-client
|
|
2233
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2212
2234
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2213
2235
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2214
2236
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
2237
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2215
2238
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2216
2239
|
|
|
2217
2240
|
header_params = {}
|
data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/operations.rb
CHANGED
|
@@ -27,6 +27,9 @@ module Google
|
|
|
27
27
|
module CertificateAuthorityService
|
|
28
28
|
# Service that implements Longrunning Operations API.
|
|
29
29
|
class Operations
|
|
30
|
+
# @private
|
|
31
|
+
API_VERSION = ""
|
|
32
|
+
|
|
30
33
|
# @private
|
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "privateca.$UNIVERSE_DOMAIN$"
|
|
32
35
|
|
|
@@ -192,10 +195,11 @@ module Google
|
|
|
192
195
|
# Customize the options with defaults
|
|
193
196
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
|
194
197
|
|
|
195
|
-
# Set x-goog-api-client
|
|
198
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
196
199
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
197
200
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
198
201
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
202
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
199
203
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
200
204
|
|
|
201
205
|
header_params = {}
|
|
@@ -288,10 +292,11 @@ module Google
|
|
|
288
292
|
# Customize the options with defaults
|
|
289
293
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
290
294
|
|
|
291
|
-
# Set x-goog-api-client
|
|
295
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
292
296
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
293
297
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
294
298
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
299
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
295
300
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
296
301
|
|
|
297
302
|
header_params = {}
|
|
@@ -377,10 +382,11 @@ module Google
|
|
|
377
382
|
# Customize the options with defaults
|
|
378
383
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
379
384
|
|
|
380
|
-
# Set x-goog-api-client
|
|
385
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
381
386
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
382
387
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
383
388
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
389
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
384
390
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
385
391
|
|
|
386
392
|
header_params = {}
|
|
@@ -471,10 +477,11 @@ module Google
|
|
|
471
477
|
# Customize the options with defaults
|
|
472
478
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
473
479
|
|
|
474
|
-
# Set x-goog-api-client
|
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
475
481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
476
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
477
483
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
478
485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
479
486
|
|
|
480
487
|
header_params = {}
|
|
@@ -575,10 +582,11 @@ module Google
|
|
|
575
582
|
# Customize the options with defaults
|
|
576
583
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
577
584
|
|
|
578
|
-
# Set x-goog-api-client
|
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
579
586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
580
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
581
588
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
|
|
589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
582
590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
583
591
|
|
|
584
592
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/rest/client.rb
CHANGED
|
@@ -34,6 +34,9 @@ module Google
|
|
|
34
34
|
# certificate authorities and issued certificates.
|
|
35
35
|
#
|
|
36
36
|
class Client
|
|
37
|
+
# @private
|
|
38
|
+
API_VERSION = ""
|
|
39
|
+
|
|
37
40
|
# @private
|
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "privateca.$UNIVERSE_DOMAIN$"
|
|
39
42
|
|
|
@@ -252,12 +255,13 @@ module Google
|
|
|
252
255
|
# Customize the options with defaults
|
|
253
256
|
call_metadata = @config.rpcs.create_certificate.metadata.to_h
|
|
254
257
|
|
|
255
|
-
# Set x-goog-api-client
|
|
258
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
256
259
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
257
260
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
258
261
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
259
262
|
transports_version_send: [:rest]
|
|
260
263
|
|
|
264
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
261
265
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
262
266
|
|
|
263
267
|
options.apply_defaults timeout: @config.rpcs.create_certificate.timeout,
|
|
@@ -330,12 +334,13 @@ module Google
|
|
|
330
334
|
# Customize the options with defaults
|
|
331
335
|
call_metadata = @config.rpcs.get_certificate.metadata.to_h
|
|
332
336
|
|
|
333
|
-
# Set x-goog-api-client
|
|
337
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
334
338
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
335
339
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
336
340
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
337
341
|
transports_version_send: [:rest]
|
|
338
342
|
|
|
343
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
339
344
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
340
345
|
|
|
341
346
|
options.apply_defaults timeout: @config.rpcs.get_certificate.timeout,
|
|
@@ -432,12 +437,13 @@ module Google
|
|
|
432
437
|
# Customize the options with defaults
|
|
433
438
|
call_metadata = @config.rpcs.list_certificates.metadata.to_h
|
|
434
439
|
|
|
435
|
-
# Set x-goog-api-client
|
|
440
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
436
441
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
437
442
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
438
443
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
439
444
|
transports_version_send: [:rest]
|
|
440
445
|
|
|
446
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
441
447
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
442
448
|
|
|
443
449
|
options.apply_defaults timeout: @config.rpcs.list_certificates.timeout,
|
|
@@ -527,12 +533,13 @@ module Google
|
|
|
527
533
|
# Customize the options with defaults
|
|
528
534
|
call_metadata = @config.rpcs.revoke_certificate.metadata.to_h
|
|
529
535
|
|
|
530
|
-
# Set x-goog-api-client
|
|
536
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
531
537
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
532
538
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
533
539
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
534
540
|
transports_version_send: [:rest]
|
|
535
541
|
|
|
542
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
536
543
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
537
544
|
|
|
538
545
|
options.apply_defaults timeout: @config.rpcs.revoke_certificate.timeout,
|
|
@@ -622,12 +629,13 @@ module Google
|
|
|
622
629
|
# Customize the options with defaults
|
|
623
630
|
call_metadata = @config.rpcs.update_certificate.metadata.to_h
|
|
624
631
|
|
|
625
|
-
# Set x-goog-api-client
|
|
632
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
626
633
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
627
634
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
628
635
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
629
636
|
transports_version_send: [:rest]
|
|
630
637
|
|
|
638
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
631
639
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
632
640
|
|
|
633
641
|
options.apply_defaults timeout: @config.rpcs.update_certificate.timeout,
|
|
@@ -733,12 +741,13 @@ module Google
|
|
|
733
741
|
# Customize the options with defaults
|
|
734
742
|
call_metadata = @config.rpcs.activate_certificate_authority.metadata.to_h
|
|
735
743
|
|
|
736
|
-
# Set x-goog-api-client
|
|
744
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
737
745
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
738
746
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
739
747
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
740
748
|
transports_version_send: [:rest]
|
|
741
749
|
|
|
750
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
742
751
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
743
752
|
|
|
744
753
|
options.apply_defaults timeout: @config.rpcs.activate_certificate_authority.timeout,
|
|
@@ -840,12 +849,13 @@ module Google
|
|
|
840
849
|
# Customize the options with defaults
|
|
841
850
|
call_metadata = @config.rpcs.create_certificate_authority.metadata.to_h
|
|
842
851
|
|
|
843
|
-
# Set x-goog-api-client
|
|
852
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
844
853
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
845
854
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
846
855
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
847
856
|
transports_version_send: [:rest]
|
|
848
857
|
|
|
858
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
849
859
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
850
860
|
|
|
851
861
|
options.apply_defaults timeout: @config.rpcs.create_certificate_authority.timeout,
|
|
@@ -941,12 +951,13 @@ module Google
|
|
|
941
951
|
# Customize the options with defaults
|
|
942
952
|
call_metadata = @config.rpcs.disable_certificate_authority.metadata.to_h
|
|
943
953
|
|
|
944
|
-
# Set x-goog-api-client
|
|
954
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
945
955
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
946
956
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
947
957
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
948
958
|
transports_version_send: [:rest]
|
|
949
959
|
|
|
960
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
950
961
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
951
962
|
|
|
952
963
|
options.apply_defaults timeout: @config.rpcs.disable_certificate_authority.timeout,
|
|
@@ -1042,12 +1053,13 @@ module Google
|
|
|
1042
1053
|
# Customize the options with defaults
|
|
1043
1054
|
call_metadata = @config.rpcs.enable_certificate_authority.metadata.to_h
|
|
1044
1055
|
|
|
1045
|
-
# Set x-goog-api-client
|
|
1056
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1046
1057
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1047
1058
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1048
1059
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
1049
1060
|
transports_version_send: [:rest]
|
|
1050
1061
|
|
|
1062
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1051
1063
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1052
1064
|
|
|
1053
1065
|
options.apply_defaults timeout: @config.rpcs.enable_certificate_authority.timeout,
|
|
@@ -1128,12 +1140,13 @@ module Google
|
|
|
1128
1140
|
# Customize the options with defaults
|
|
1129
1141
|
call_metadata = @config.rpcs.fetch_certificate_authority_csr.metadata.to_h
|
|
1130
1142
|
|
|
1131
|
-
# Set x-goog-api-client
|
|
1143
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1132
1144
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1133
1145
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1134
1146
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
1135
1147
|
transports_version_send: [:rest]
|
|
1136
1148
|
|
|
1149
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1137
1150
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1138
1151
|
|
|
1139
1152
|
options.apply_defaults timeout: @config.rpcs.fetch_certificate_authority_csr.timeout,
|
|
@@ -1207,12 +1220,13 @@ module Google
|
|
|
1207
1220
|
# Customize the options with defaults
|
|
1208
1221
|
call_metadata = @config.rpcs.get_certificate_authority.metadata.to_h
|
|
1209
1222
|
|
|
1210
|
-
# Set x-goog-api-client
|
|
1223
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1211
1224
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1212
1225
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1213
1226
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
1214
1227
|
transports_version_send: [:rest]
|
|
1215
1228
|
|
|
1229
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1216
1230
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1217
1231
|
|
|
1218
1232
|
options.apply_defaults timeout: @config.rpcs.get_certificate_authority.timeout,
|
|
@@ -1305,12 +1319,13 @@ module Google
|
|
|
1305
1319
|
# Customize the options with defaults
|
|
1306
1320
|
call_metadata = @config.rpcs.list_certificate_authorities.metadata.to_h
|
|
1307
1321
|
|
|
1308
|
-
# Set x-goog-api-client
|
|
1322
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1309
1323
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1310
1324
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1311
1325
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
1312
1326
|
transports_version_send: [:rest]
|
|
1313
1327
|
|
|
1328
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1314
1329
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1315
1330
|
|
|
1316
1331
|
options.apply_defaults timeout: @config.rpcs.list_certificate_authorities.timeout,
|
|
@@ -1405,12 +1420,13 @@ module Google
|
|
|
1405
1420
|
# Customize the options with defaults
|
|
1406
1421
|
call_metadata = @config.rpcs.restore_certificate_authority.metadata.to_h
|
|
1407
1422
|
|
|
1408
|
-
# Set x-goog-api-client
|
|
1423
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1409
1424
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1410
1425
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1411
1426
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
1412
1427
|
transports_version_send: [:rest]
|
|
1413
1428
|
|
|
1429
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1414
1430
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1415
1431
|
|
|
1416
1432
|
options.apply_defaults timeout: @config.rpcs.restore_certificate_authority.timeout,
|
|
@@ -1506,12 +1522,13 @@ module Google
|
|
|
1506
1522
|
# Customize the options with defaults
|
|
1507
1523
|
call_metadata = @config.rpcs.schedule_delete_certificate_authority.metadata.to_h
|
|
1508
1524
|
|
|
1509
|
-
# Set x-goog-api-client
|
|
1525
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1510
1526
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1511
1527
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1512
1528
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
1513
1529
|
transports_version_send: [:rest]
|
|
1514
1530
|
|
|
1531
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1515
1532
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1516
1533
|
|
|
1517
1534
|
options.apply_defaults timeout: @config.rpcs.schedule_delete_certificate_authority.timeout,
|
|
@@ -1608,12 +1625,13 @@ module Google
|
|
|
1608
1625
|
# Customize the options with defaults
|
|
1609
1626
|
call_metadata = @config.rpcs.update_certificate_authority.metadata.to_h
|
|
1610
1627
|
|
|
1611
|
-
# Set x-goog-api-client
|
|
1628
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1612
1629
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1613
1630
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1614
1631
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
1615
1632
|
transports_version_send: [:rest]
|
|
1616
1633
|
|
|
1634
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1617
1635
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1618
1636
|
|
|
1619
1637
|
options.apply_defaults timeout: @config.rpcs.update_certificate_authority.timeout,
|
|
@@ -1688,12 +1706,13 @@ module Google
|
|
|
1688
1706
|
# Customize the options with defaults
|
|
1689
1707
|
call_metadata = @config.rpcs.get_certificate_revocation_list.metadata.to_h
|
|
1690
1708
|
|
|
1691
|
-
# Set x-goog-api-client
|
|
1709
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1692
1710
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1693
1711
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1694
1712
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
1695
1713
|
transports_version_send: [:rest]
|
|
1696
1714
|
|
|
1715
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1697
1716
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1698
1717
|
|
|
1699
1718
|
options.apply_defaults timeout: @config.rpcs.get_certificate_revocation_list.timeout,
|
|
@@ -1786,12 +1805,13 @@ module Google
|
|
|
1786
1805
|
# Customize the options with defaults
|
|
1787
1806
|
call_metadata = @config.rpcs.list_certificate_revocation_lists.metadata.to_h
|
|
1788
1807
|
|
|
1789
|
-
# Set x-goog-api-client
|
|
1808
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1790
1809
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1791
1810
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1792
1811
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
1793
1812
|
transports_version_send: [:rest]
|
|
1794
1813
|
|
|
1814
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1795
1815
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1796
1816
|
|
|
1797
1817
|
options.apply_defaults timeout: @config.rpcs.list_certificate_revocation_lists.timeout,
|
|
@@ -1887,12 +1907,13 @@ module Google
|
|
|
1887
1907
|
# Customize the options with defaults
|
|
1888
1908
|
call_metadata = @config.rpcs.update_certificate_revocation_list.metadata.to_h
|
|
1889
1909
|
|
|
1890
|
-
# Set x-goog-api-client
|
|
1910
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1891
1911
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1892
1912
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1893
1913
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
1894
1914
|
transports_version_send: [:rest]
|
|
1895
1915
|
|
|
1916
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1896
1917
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1897
1918
|
|
|
1898
1919
|
options.apply_defaults timeout: @config.rpcs.update_certificate_revocation_list.timeout,
|
|
@@ -1966,12 +1987,13 @@ module Google
|
|
|
1966
1987
|
# Customize the options with defaults
|
|
1967
1988
|
call_metadata = @config.rpcs.get_reusable_config.metadata.to_h
|
|
1968
1989
|
|
|
1969
|
-
# Set x-goog-api-client
|
|
1990
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1970
1991
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1971
1992
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1972
1993
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
1973
1994
|
transports_version_send: [:rest]
|
|
1974
1995
|
|
|
1996
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1975
1997
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1976
1998
|
|
|
1977
1999
|
options.apply_defaults timeout: @config.rpcs.get_reusable_config.timeout,
|
|
@@ -2064,12 +2086,13 @@ module Google
|
|
|
2064
2086
|
# Customize the options with defaults
|
|
2065
2087
|
call_metadata = @config.rpcs.list_reusable_configs.metadata.to_h
|
|
2066
2088
|
|
|
2067
|
-
# Set x-goog-api-client
|
|
2089
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2068
2090
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2069
2091
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2070
2092
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
2071
2093
|
transports_version_send: [:rest]
|
|
2072
2094
|
|
|
2095
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2073
2096
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2074
2097
|
|
|
2075
2098
|
options.apply_defaults timeout: @config.rpcs.list_reusable_configs.timeout,
|
data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/rest/operations.rb
CHANGED
|
@@ -27,6 +27,9 @@ module Google
|
|
|
27
27
|
module Rest
|
|
28
28
|
# Service that implements Longrunning Operations API.
|
|
29
29
|
class Operations
|
|
30
|
+
# @private
|
|
31
|
+
API_VERSION = ""
|
|
32
|
+
|
|
30
33
|
# @private
|
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "privateca.$UNIVERSE_DOMAIN$"
|
|
32
35
|
|
|
@@ -182,12 +185,13 @@ module Google
|
|
|
182
185
|
# Customize the options with defaults
|
|
183
186
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
|
184
187
|
|
|
185
|
-
# Set x-goog-api-client
|
|
188
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
186
189
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
187
190
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
188
191
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
189
192
|
transports_version_send: [:rest]
|
|
190
193
|
|
|
194
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
191
195
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
192
196
|
|
|
193
197
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
|
@@ -270,12 +274,13 @@ module Google
|
|
|
270
274
|
# Customize the options with defaults
|
|
271
275
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
|
272
276
|
|
|
273
|
-
# Set x-goog-api-client
|
|
277
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
274
278
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
275
279
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
276
280
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
277
281
|
transports_version_send: [:rest]
|
|
278
282
|
|
|
283
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
279
284
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
280
285
|
|
|
281
286
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
|
@@ -352,12 +357,13 @@ module Google
|
|
|
352
357
|
# Customize the options with defaults
|
|
353
358
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
354
359
|
|
|
355
|
-
# Set x-goog-api-client
|
|
360
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
356
361
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
357
362
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
358
363
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
359
364
|
transports_version_send: [:rest]
|
|
360
365
|
|
|
366
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
361
367
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
362
368
|
|
|
363
369
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
|
@@ -439,12 +445,13 @@ module Google
|
|
|
439
445
|
# Customize the options with defaults
|
|
440
446
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
441
447
|
|
|
442
|
-
# Set x-goog-api-client
|
|
448
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
443
449
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
444
450
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
445
451
|
gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
|
|
446
452
|
transports_version_send: [:rest]
|
|
447
453
|
|
|
454
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
448
455
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
449
456
|
|
|
450
457
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
11
11
|
require 'google/protobuf/wrappers_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n7google/cloud/security/privateca/v1beta1/resources.proto\x12\'google.cloud.security.privateca.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xc6\x1c\n\x14\x43\x65rtificateAuthority\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12W\n\x04type\x18\x02 \x01(\x0e\x32\x42.google.cloud.security.privateca.v1beta1.CertificateAuthority.TypeB\x05\xe2\x41\x02\x02\x05\x12W\n\x04tier\x18\x03 \x01(\x0e\x32\x42.google.cloud.security.privateca.v1beta1.CertificateAuthority.TierB\x05\xe2\x41\x02\x02\x05\x12Q\n\x06\x63onfig\x18\x04 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.CertificateConfigB\x05\xe2\x41\x02\x02\x05\x12\x31\n\x08lifetime\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x02\x12\x65\n\x08key_spec\x18\x06 \x01(\x0b\x32L.google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpecB\x05\xe2\x41\x02\x02\x05\x12z\n\x12\x63\x65rtificate_policy\x18\x07 \x01(\x0b\x32X.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicyB\x04\xe2\x41\x01\x01\x12k\n\x0fissuing_options\x18\x08 \x01(\x0b\x32L.google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptionsB\x04\xe2\x41\x01\x01\x12\\\n\x12subordinate_config\x18\x13 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.SubordinateConfigB\x04\xe2\x41\x01\x01\x12X\n\x05state\x18\n \x01(\x0e\x32\x43.google.cloud.security.privateca.v1beta1.CertificateAuthority.StateB\x04\xe2\x41\x01\x03\x12!\n\x13pem_ca_certificates\x18\t \x03(\tB\x04\xe2\x41\x01\x03\x12j\n\x1b\x63\x61_certificate_descriptions\x18\x0c \x03(\x0b\x32?.google.cloud.security.privateca.v1beta1.CertificateDescriptionB\x04\xe2\x41\x01\x03\x12\x18\n\ngcs_bucket\x18\r \x01(\tB\x04\xe2\x41\x01\x05\x12\x63\n\x0b\x61\x63\x63\x65ss_urls\x18\x0e \x01(\x0b\x32H.google.cloud.security.privateca.v1beta1.CertificateAuthority.AccessUrlsB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12_\n\x06labels\x18\x12 \x03(\x0b\x32I.google.cloud.security.privateca.v1beta1.CertificateAuthority.LabelsEntryB\x04\xe2\x41\x01\x01\x1aY\n\x0eIssuingOptions\x12!\n\x13include_ca_cert_url\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x02\x12$\n\x16include_crl_access_url\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x02\x1a\xce\t\n\x1a\x43\x65rtificateAuthorityPolicy\x12\x8f\x01\n\x13\x61llowed_config_list\x18\x01 \x01(\x0b\x32j.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigListB\x04\xe2\x41\x01\x01H\x00\x12g\n\x17overwrite_config_values\x18\x02 \x01(\x0b\x32>.google.cloud.security.privateca.v1beta1.ReusableConfigWrapperB\x04\xe2\x41\x01\x01H\x00\x12\x63\n#allowed_locations_and_organizations\x18\x03 \x03(\x0b\x32\x30.google.cloud.security.privateca.v1beta1.SubjectB\x04\xe2\x41\x01\x01\x12\"\n\x14\x61llowed_common_names\x18\x04 \x03(\tB\x04\xe2\x41\x01\x01\x12\x8b\x01\n\x0c\x61llowed_sans\x18\x05 \x01(\x0b\x32o.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesB\x04\xe2\x41\x01\x01\x12\x39\n\x10maximum_lifetime\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12\x8c\x01\n\x16\x61llowed_issuance_modes\x18\x08 \x01(\x0b\x32\x66.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModesB\x04\xe2\x41\x01\x01\x1ax\n\x11\x41llowedConfigList\x12\x63\n\x15\x61llowed_config_values\x18\x01 \x03(\x0b\x32>.google.cloud.security.privateca.v1beta1.ReusableConfigWrapperB\x04\xe2\x41\x01\x02\x1a\xe4\x01\n\x16\x41llowedSubjectAltNames\x12\x1f\n\x11\x61llowed_dns_names\x18\x01 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0c\x61llowed_uris\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01\x12%\n\x17\x61llowed_email_addresses\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x61llowed_ips\x18\x04 \x03(\tB\x04\xe2\x41\x01\x01\x12*\n\x1c\x61llow_globbing_dns_wildcards\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x1f\n\x11\x61llow_custom_sans\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x1a\x62\n\rIssuanceModes\x12&\n\x18\x61llow_csr_based_issuance\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x02\x12)\n\x1b\x61llow_config_based_issuance\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x02\x42\x0f\n\rconfig_policy\x1aG\n\nAccessUrls\x12!\n\x19\x63\x61_certificate_access_url\x18\x01 \x01(\t\x12\x16\n\x0e\x63rl_access_url\x18\x02 \x01(\t\x1a\xb1\x01\n\x0eKeyVersionSpec\x12%\n\x15\x63loud_kms_key_version\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02H\x00\x12j\n\talgorithm\x18\x02 \x01(\x0e\x32O.google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithmB\x04\xe2\x41\x01\x02H\x00\x42\x0c\n\nKeyVersion\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSELF_SIGNED\x10\x01\x12\x0f\n\x0bSUBORDINATE\x10\x02\"8\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x0e\n\nENTERPRISE\x10\x01\x12\n\n\x06\x44\x45VOPS\x10\x02\"g\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x16\n\x12PENDING_ACTIVATION\x10\x03\x12\x14\n\x10PENDING_DELETION\x10\x04\"\xfc\x01\n\x11SignHashAlgorithm\x12#\n\x1fSIGN_HASH_ALGORITHM_UNSPECIFIED\x10\x00\x12\x17\n\x13RSA_PSS_2048_SHA256\x10\x01\x12\x17\n\x13RSA_PSS_3072_SHA256\x10\x02\x12\x17\n\x13RSA_PSS_4096_SHA256\x10\x03\x12\x19\n\x15RSA_PKCS1_2048_SHA256\x10\x06\x12\x19\n\x15RSA_PKCS1_3072_SHA256\x10\x07\x12\x19\n\x15RSA_PKCS1_4096_SHA256\x10\x08\x12\x12\n\x0e\x45\x43_P256_SHA256\x10\x04\x12\x12\n\x0e\x45\x43_P384_SHA384\x10\x05:\x8b\x01\xea\x41\x87\x01\n-privateca.googleapis.com/CertificateAuthority\x12Vprojects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}\"\x82\x08\n\x19\x43\x65rtificateRevocationList\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fsequence_number\x18\x02 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12y\n\x14revoked_certificates\x18\x03 \x03(\x0b\x32U.google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificateB\x04\xe2\x41\x01\x03\x12\x15\n\x07pem_crl\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\naccess_url\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12]\n\x05state\x18\x06 \x01(\x0e\x32H.google.cloud.security.privateca.v1beta1.CertificateRevocationList.StateB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x64\n\x06labels\x18\t \x03(\x0b\x32N.google.cloud.security.privateca.v1beta1.CertificateRevocationList.LabelsEntryB\x04\xe2\x41\x01\x01\x1a\x9a\x01\n\x12RevokedCertificate\x12\x13\n\x0b\x63\x65rtificate\x18\x01 \x01(\t\x12\x19\n\x11hex_serial_number\x18\x02 \x01(\t\x12T\n\x11revocation_reason\x18\x03 \x01(\x0e\x32\x39.google.cloud.security.privateca.v1beta1.RevocationReason\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\":\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0e\n\nSUPERSEDED\x10\x02:\xca\x01\xea\x41\xc6\x01\n2privateca.googleapis.com/CertificateRevocationList\x12\x8f\x01projects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}/certificateRevocationLists/{certificate_revocation_list}\"\xa3\x08\n\x0b\x43\x65rtificate\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x17\n\x07pem_csr\x18\x02 \x01(\tB\x04\xe2\x41\x01\x05H\x00\x12R\n\x06\x63onfig\x18\x03 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.CertificateConfigB\x04\xe2\x41\x01\x05H\x00\x12\x32\n\x08lifetime\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x05\xe2\x41\x02\x02\x05\x12h\n\x12revocation_details\x18\x05 \x01(\x0b\x32\x46.google.cloud.security.privateca.v1beta1.Certificate.RevocationDetailsB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fpem_certificate\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12\x66\n\x17\x63\x65rtificate_description\x18\x07 \x01(\x0b\x32?.google.cloud.security.privateca.v1beta1.CertificateDescriptionB\x04\xe2\x41\x01\x03\x12#\n\x15pem_certificate_chain\x18\x08 \x03(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12V\n\x06labels\x18\x0b \x03(\x0b\x32@.google.cloud.security.privateca.v1beta1.Certificate.LabelsEntryB\x04\xe2\x41\x01\x01\x1a\x9d\x01\n\x11RevocationDetails\x12S\n\x10revocation_state\x18\x01 \x01(\x0e\x32\x39.google.cloud.security.privateca.v1beta1.RevocationReason\x12\x33\n\x0frevocation_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9d\x01\xea\x41\x99\x01\n$privateca.googleapis.com/Certificate\x12qprojects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}/certificates/{certificate}B\x14\n\x12\x63\x65rtificate_config\"\x85\x04\n\x0eReusableConfig\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12S\n\x06values\x18\x02 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.ReusableConfigValuesB\x04\xe2\x41\x01\x02\x12\x19\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12Y\n\x06labels\x18\x06 \x03(\x0b\x32\x43.google.cloud.security.privateca.v1beta1.ReusableConfig.LabelsEntryB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:w\xea\x41t\n\'privateca.googleapis.com/ReusableConfig\x12Iprojects/{project}/locations/{location}/reusableConfigs/{reusable_config}\"\x90\x04\n\x14ReusableConfigValues\x12J\n\tkey_usage\x18\x01 \x01(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.KeyUsageB\x04\xe2\x41\x01\x01\x12\x61\n\nca_options\x18\x02 \x01(\x0b\x32G.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptionsB\x04\xe2\x41\x01\x01\x12K\n\npolicy_ids\x18\x03 \x03(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.ObjectIdB\x04\xe2\x41\x01\x01\x12\x1e\n\x10\x61ia_ocsp_servers\x18\x04 \x03(\tB\x04\xe2\x41\x01\x01\x12[\n\x15\x61\x64\x64itional_extensions\x18\x05 \x03(\x0b\x32\x36.google.cloud.security.privateca.v1beta1.X509ExtensionB\x04\xe2\x41\x01\x01\x1a\x7f\n\tCaOptions\x12/\n\x05is_ca\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x04\xe2\x41\x01\x01\x12\x41\n\x16max_issuer_path_length\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x04\xe2\x41\x01\x01\"\xb0\x01\n\x15ReusableConfigWrapper\x12\x1f\n\x0freusable_config\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02H\x00\x12\x65\n\x16reusable_config_values\x18\x02 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.ReusableConfigValuesB\x04\xe2\x41\x01\x02H\x00\x42\x0f\n\rconfig_values\"\xff\x01\n\x11SubordinateConfig\x12%\n\x15\x63\x65rtificate_authority\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02H\x00\x12s\n\x10pem_issuer_chain\x18\x02 \x01(\x0b\x32Q.google.cloud.security.privateca.v1beta1.SubordinateConfig.SubordinateConfigChainB\x04\xe2\x41\x01\x02H\x00\x1a\x38\n\x16SubordinateConfigChain\x12\x1e\n\x10pem_certificates\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02\x42\x14\n\x12subordinate_config\"\xb4\x01\n\tPublicKey\x12N\n\x04type\x18\x01 \x01(\x0e\x32:.google.cloud.security.privateca.v1beta1.PublicKey.KeyTypeB\x04\xe2\x41\x01\x02\x12\x11\n\x03key\x18\x02 \x01(\x0c\x42\x04\xe2\x41\x01\x02\"D\n\x07KeyType\x12\x18\n\x14KEY_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPEM_RSA_KEY\x10\x01\x12\x0e\n\nPEM_EC_KEY\x10\x02\"\xf8\x03\n\x11\x43\x65rtificateConfig\x12\x66\n\x0esubject_config\x18\x01 \x01(\x0b\x32H.google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfigB\x04\xe2\x41\x01\x02\x12]\n\x0freusable_config\x18\x02 \x01(\x0b\x32>.google.cloud.security.privateca.v1beta1.ReusableConfigWrapperB\x04\xe2\x41\x01\x02\x12L\n\npublic_key\x18\x03 \x01(\x0b\x32\x32.google.cloud.security.privateca.v1beta1.PublicKeyB\x04\xe2\x41\x01\x01\x1a\xcd\x01\n\rSubjectConfig\x12G\n\x07subject\x18\x01 \x01(\x0b\x32\x30.google.cloud.security.privateca.v1beta1.SubjectB\x04\xe2\x41\x01\x02\x12\x19\n\x0b\x63ommon_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12X\n\x10subject_alt_name\x18\x03 \x01(\x0b\x32\x38.google.cloud.security.privateca.v1beta1.SubjectAltNamesB\x04\xe2\x41\x01\x01\"\xe2\x08\n\x16\x43\x65rtificateDescription\x12o\n\x13subject_description\x18\x01 \x01(\x0b\x32R.google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription\x12T\n\rconfig_values\x18\x02 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.ReusableConfigValues\x12\x46\n\npublic_key\x18\x03 \x01(\x0b\x32\x32.google.cloud.security.privateca.v1beta1.PublicKey\x12]\n\x0esubject_key_id\x18\x04 \x01(\x0b\x32\x45.google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId\x12_\n\x10\x61uthority_key_id\x18\x05 \x01(\x0b\x32\x45.google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId\x12\x1f\n\x17\x63rl_distribution_points\x18\x06 \x03(\t\x12$\n\x1c\x61ia_issuing_certificate_urls\x18\x07 \x03(\t\x12p\n\x10\x63\x65rt_fingerprint\x18\x08 \x01(\x0b\x32V.google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint\x1a\xf1\x02\n\x12SubjectDescription\x12\x41\n\x07subject\x18\x01 \x01(\x0b\x32\x30.google.cloud.security.privateca.v1beta1.Subject\x12\x13\n\x0b\x63ommon_name\x18\x02 \x01(\t\x12R\n\x10subject_alt_name\x18\x03 \x01(\x0b\x32\x38.google.cloud.security.privateca.v1beta1.SubjectAltNames\x12\x19\n\x11hex_serial_number\x18\x04 \x01(\t\x12+\n\x08lifetime\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\x0fnot_before_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0enot_after_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x1d\n\x05KeyId\x12\x14\n\x06key_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x1a-\n\x16\x43\x65rtificateFingerprint\x12\x13\n\x0bsha256_hash\x18\x01 \x01(\t\"(\n\x08ObjectId\x12\x1c\n\x0eobject_id_path\x18\x01 \x03(\x05\x42\x04\xe2\x41\x01\x02\"\x88\x01\n\rX509Extension\x12J\n\tobject_id\x18\x01 \x01(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.ObjectIdB\x04\xe2\x41\x01\x02\x12\x16\n\x08\x63ritical\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x02\x12\x13\n\x05value\x18\x03 \x01(\x0c\x42\x04\xe2\x41\x01\x02\"\xb1\x05\n\x08KeyUsage\x12Y\n\x0e\x62\x61se_key_usage\x18\x01 \x01(\x0b\x32\x41.google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions\x12\x65\n\x12\x65xtended_key_usage\x18\x02 \x01(\x0b\x32I.google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions\x12V\n\x1bunknown_extended_key_usages\x18\x03 \x03(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.ObjectId\x1a\xe7\x01\n\x0fKeyUsageOptions\x12\x19\n\x11\x64igital_signature\x18\x01 \x01(\x08\x12\x1a\n\x12\x63ontent_commitment\x18\x02 \x01(\x08\x12\x18\n\x10key_encipherment\x18\x03 \x01(\x08\x12\x19\n\x11\x64\x61ta_encipherment\x18\x04 \x01(\x08\x12\x15\n\rkey_agreement\x18\x05 \x01(\x08\x12\x11\n\tcert_sign\x18\x06 \x01(\x08\x12\x10\n\x08\x63rl_sign\x18\x07 \x01(\x08\x12\x15\n\rencipher_only\x18\x08 \x01(\x08\x12\x15\n\rdecipher_only\x18\t \x01(\x08\x1a\xa0\x01\n\x17\x45xtendedKeyUsageOptions\x12\x13\n\x0bserver_auth\x18\x01 \x01(\x08\x12\x13\n\x0b\x63lient_auth\x18\x02 \x01(\x08\x12\x14\n\x0c\x63ode_signing\x18\x03 \x01(\x08\x12\x18\n\x10\x65mail_protection\x18\x04 \x01(\x08\x12\x15\n\rtime_stamping\x18\x05 \x01(\x08\x12\x14\n\x0cocsp_signing\x18\x06 \x01(\x08\"\xa3\x01\n\x07Subject\x12\x14\n\x0c\x63ountry_code\x18\x01 \x01(\t\x12\x14\n\x0corganization\x18\x02 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x03 \x01(\t\x12\x10\n\x08locality\x18\x04 \x01(\t\x12\x10\n\x08province\x18\x05 \x01(\t\x12\x16\n\x0estreet_address\x18\x06 \x01(\t\x12\x13\n\x0bpostal_code\x18\x07 \x01(\t\"\xae\x01\n\x0fSubjectAltNames\x12\x11\n\tdns_names\x18\x01 \x03(\t\x12\x0c\n\x04uris\x18\x02 \x03(\t\x12\x17\n\x0f\x65mail_addresses\x18\x03 \x03(\t\x12\x14\n\x0cip_addresses\x18\x04 \x03(\t\x12K\n\x0b\x63ustom_sans\x18\x05 \x03(\x0b\x32\x36.google.cloud.security.privateca.v1beta1.X509Extension*\x87\x02\n\x10RevocationReason\x12!\n\x1dREVOCATION_REASON_UNSPECIFIED\x10\x00\x12\x12\n\x0eKEY_COMPROMISE\x10\x01\x12$\n CERTIFICATE_AUTHORITY_COMPROMISE\x10\x02\x12\x17\n\x13\x41\x46\x46ILIATION_CHANGED\x10\x03\x12\x0e\n\nSUPERSEDED\x10\x04\x12\x1a\n\x16\x43\x45SSATION_OF_OPERATION\x10\x05\x12\x14\n\x10\x43\x45RTIFICATE_HOLD\x10\x06\x12\x17\n\x13PRIVILEGE_WITHDRAWN\x10\x07\x12\"\n\x1e\x41TTRIBUTE_AUTHORITY_COMPROMISE\x10\x08\x42\x98\x02\n+com.google.cloud.security.privateca.v1beta1B\x17PrivateCaResourcesProtoP\x01ZIcloud.google.com/go/security/privateca/apiv1beta1/privatecapb;privatecapb\xf8\x01\x01\xaa\x02\'Google.Cloud.Security.PrivateCA.V1Beta1\xca\x02\'Google\\Cloud\\Security\\PrivateCA\\V1beta1\xea\x02+Google::Cloud::Security::PrivateCA::V1beta1b\x06proto3"
|
|
14
|
+
descriptor_data = "\n7google/cloud/security/privateca/v1beta1/resources.proto\x12\'google.cloud.security.privateca.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xa8\x1c\n\x14\x43\x65rtificateAuthority\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12X\n\x04type\x18\x02 \x01(\x0e\x32\x42.google.cloud.security.privateca.v1beta1.CertificateAuthority.TypeB\x06\xe0\x41\x02\xe0\x41\x05\x12X\n\x04tier\x18\x03 \x01(\x0e\x32\x42.google.cloud.security.privateca.v1beta1.CertificateAuthority.TierB\x06\xe0\x41\x02\xe0\x41\x05\x12R\n\x06\x63onfig\x18\x04 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.CertificateConfigB\x06\xe0\x41\x02\xe0\x41\x05\x12\x30\n\x08lifetime\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\x66\n\x08key_spec\x18\x06 \x01(\x0b\x32L.google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12y\n\x12\x63\x65rtificate_policy\x18\x07 \x01(\x0b\x32X.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicyB\x03\xe0\x41\x01\x12j\n\x0fissuing_options\x18\x08 \x01(\x0b\x32L.google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptionsB\x03\xe0\x41\x01\x12[\n\x12subordinate_config\x18\x13 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.SubordinateConfigB\x03\xe0\x41\x01\x12W\n\x05state\x18\n \x01(\x0e\x32\x43.google.cloud.security.privateca.v1beta1.CertificateAuthority.StateB\x03\xe0\x41\x03\x12 \n\x13pem_ca_certificates\x18\t \x03(\tB\x03\xe0\x41\x03\x12i\n\x1b\x63\x61_certificate_descriptions\x18\x0c \x03(\x0b\x32?.google.cloud.security.privateca.v1beta1.CertificateDescriptionB\x03\xe0\x41\x03\x12\x17\n\ngcs_bucket\x18\r \x01(\tB\x03\xe0\x41\x05\x12\x62\n\x0b\x61\x63\x63\x65ss_urls\x18\x0e \x01(\x0b\x32H.google.cloud.security.privateca.v1beta1.CertificateAuthority.AccessUrlsB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12^\n\x06labels\x18\x12 \x03(\x0b\x32I.google.cloud.security.privateca.v1beta1.CertificateAuthority.LabelsEntryB\x03\xe0\x41\x01\x1aW\n\x0eIssuingOptions\x12 \n\x13include_ca_cert_url\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12#\n\x16include_crl_access_url\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02\x1a\xbe\t\n\x1a\x43\x65rtificateAuthorityPolicy\x12\x8e\x01\n\x13\x61llowed_config_list\x18\x01 \x01(\x0b\x32j.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigListB\x03\xe0\x41\x01H\x00\x12\x66\n\x17overwrite_config_values\x18\x02 \x01(\x0b\x32>.google.cloud.security.privateca.v1beta1.ReusableConfigWrapperB\x03\xe0\x41\x01H\x00\x12\x62\n#allowed_locations_and_organizations\x18\x03 \x03(\x0b\x32\x30.google.cloud.security.privateca.v1beta1.SubjectB\x03\xe0\x41\x01\x12!\n\x14\x61llowed_common_names\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x8a\x01\n\x0c\x61llowed_sans\x18\x05 \x01(\x0b\x32o.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesB\x03\xe0\x41\x01\x12\x38\n\x10maximum_lifetime\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x8b\x01\n\x16\x61llowed_issuance_modes\x18\x08 \x01(\x0b\x32\x66.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModesB\x03\xe0\x41\x01\x1aw\n\x11\x41llowedConfigList\x12\x62\n\x15\x61llowed_config_values\x18\x01 \x03(\x0b\x32>.google.cloud.security.privateca.v1beta1.ReusableConfigWrapperB\x03\xe0\x41\x02\x1a\xde\x01\n\x16\x41llowedSubjectAltNames\x12\x1e\n\x11\x61llowed_dns_names\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x61llowed_uris\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12$\n\x17\x61llowed_email_addresses\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x61llowed_ips\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12)\n\x1c\x61llow_globbing_dns_wildcards\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x11\x61llow_custom_sans\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x1a`\n\rIssuanceModes\x12%\n\x18\x61llow_csr_based_issuance\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12(\n\x1b\x61llow_config_based_issuance\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02\x42\x0f\n\rconfig_policy\x1aG\n\nAccessUrls\x12!\n\x19\x63\x61_certificate_access_url\x18\x01 \x01(\t\x12\x16\n\x0e\x63rl_access_url\x18\x02 \x01(\t\x1a\xaf\x01\n\x0eKeyVersionSpec\x12$\n\x15\x63loud_kms_key_version\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x00\x12i\n\talgorithm\x18\x02 \x01(\x0e\x32O.google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithmB\x03\xe0\x41\x02H\x00\x42\x0c\n\nKeyVersion\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSELF_SIGNED\x10\x01\x12\x0f\n\x0bSUBORDINATE\x10\x02\"8\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x0e\n\nENTERPRISE\x10\x01\x12\n\n\x06\x44\x45VOPS\x10\x02\"g\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x16\n\x12PENDING_ACTIVATION\x10\x03\x12\x14\n\x10PENDING_DELETION\x10\x04\"\xfc\x01\n\x11SignHashAlgorithm\x12#\n\x1fSIGN_HASH_ALGORITHM_UNSPECIFIED\x10\x00\x12\x17\n\x13RSA_PSS_2048_SHA256\x10\x01\x12\x17\n\x13RSA_PSS_3072_SHA256\x10\x02\x12\x17\n\x13RSA_PSS_4096_SHA256\x10\x03\x12\x19\n\x15RSA_PKCS1_2048_SHA256\x10\x06\x12\x19\n\x15RSA_PKCS1_3072_SHA256\x10\x07\x12\x19\n\x15RSA_PKCS1_4096_SHA256\x10\x08\x12\x12\n\x0e\x45\x43_P256_SHA256\x10\x04\x12\x12\n\x0e\x45\x43_P384_SHA384\x10\x05:\x8b\x01\xea\x41\x87\x01\n-privateca.googleapis.com/CertificateAuthority\x12Vprojects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}\"\xf9\x07\n\x19\x43\x65rtificateRevocationList\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fsequence_number\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12x\n\x14revoked_certificates\x18\x03 \x03(\x0b\x32U.google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificateB\x03\xe0\x41\x03\x12\x14\n\x07pem_crl\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\naccess_url\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\\\n\x05state\x18\x06 \x01(\x0e\x32H.google.cloud.security.privateca.v1beta1.CertificateRevocationList.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x63\n\x06labels\x18\t \x03(\x0b\x32N.google.cloud.security.privateca.v1beta1.CertificateRevocationList.LabelsEntryB\x03\xe0\x41\x01\x1a\x9a\x01\n\x12RevokedCertificate\x12\x13\n\x0b\x63\x65rtificate\x18\x01 \x01(\t\x12\x19\n\x11hex_serial_number\x18\x02 \x01(\t\x12T\n\x11revocation_reason\x18\x03 \x01(\x0e\x32\x39.google.cloud.security.privateca.v1beta1.RevocationReason\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\":\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0e\n\nSUPERSEDED\x10\x02:\xca\x01\xea\x41\xc6\x01\n2privateca.googleapis.com/CertificateRevocationList\x12\x8f\x01projects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}/certificateRevocationLists/{certificate_revocation_list}\"\x9a\x08\n\x0b\x43\x65rtificate\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\x07pem_csr\x18\x02 \x01(\tB\x03\xe0\x41\x05H\x00\x12Q\n\x06\x63onfig\x18\x03 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.CertificateConfigB\x03\xe0\x41\x05H\x00\x12\x33\n\x08lifetime\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x06\xe0\x41\x02\xe0\x41\x05\x12g\n\x12revocation_details\x18\x05 \x01(\x0b\x32\x46.google.cloud.security.privateca.v1beta1.Certificate.RevocationDetailsB\x03\xe0\x41\x03\x12\x1c\n\x0fpem_certificate\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x65\n\x17\x63\x65rtificate_description\x18\x07 \x01(\x0b\x32?.google.cloud.security.privateca.v1beta1.CertificateDescriptionB\x03\xe0\x41\x03\x12\"\n\x15pem_certificate_chain\x18\x08 \x03(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12U\n\x06labels\x18\x0b \x03(\x0b\x32@.google.cloud.security.privateca.v1beta1.Certificate.LabelsEntryB\x03\xe0\x41\x01\x1a\x9d\x01\n\x11RevocationDetails\x12S\n\x10revocation_state\x18\x01 \x01(\x0e\x32\x39.google.cloud.security.privateca.v1beta1.RevocationReason\x12\x33\n\x0frevocation_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9d\x01\xea\x41\x99\x01\n$privateca.googleapis.com/Certificate\x12qprojects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}/certificates/{certificate}B\x14\n\x12\x63\x65rtificate_config\"\xff\x03\n\x0eReusableConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12R\n\x06values\x18\x02 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.ReusableConfigValuesB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12X\n\x06labels\x18\x06 \x03(\x0b\x32\x43.google.cloud.security.privateca.v1beta1.ReusableConfig.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:w\xea\x41t\n\'privateca.googleapis.com/ReusableConfig\x12Iprojects/{project}/locations/{location}/reusableConfigs/{reusable_config}\"\x89\x04\n\x14ReusableConfigValues\x12I\n\tkey_usage\x18\x01 \x01(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.KeyUsageB\x03\xe0\x41\x01\x12`\n\nca_options\x18\x02 \x01(\x0b\x32G.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptionsB\x03\xe0\x41\x01\x12J\n\npolicy_ids\x18\x03 \x03(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.ObjectIdB\x03\xe0\x41\x01\x12\x1d\n\x10\x61ia_ocsp_servers\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12Z\n\x15\x61\x64\x64itional_extensions\x18\x05 \x03(\x0b\x32\x36.google.cloud.security.privateca.v1beta1.X509ExtensionB\x03\xe0\x41\x01\x1a}\n\tCaOptions\x12.\n\x05is_ca\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x01\x12@\n\x16max_issuer_path_length\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x01\"\xae\x01\n\x15ReusableConfigWrapper\x12\x1e\n\x0freusable_config\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x00\x12\x64\n\x16reusable_config_values\x18\x02 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.ReusableConfigValuesB\x03\xe0\x41\x02H\x00\x42\x0f\n\rconfig_values\"\xfc\x01\n\x11SubordinateConfig\x12$\n\x15\x63\x65rtificate_authority\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x00\x12r\n\x10pem_issuer_chain\x18\x02 \x01(\x0b\x32Q.google.cloud.security.privateca.v1beta1.SubordinateConfig.SubordinateConfigChainB\x03\xe0\x41\x02H\x00\x1a\x37\n\x16SubordinateConfigChain\x12\x1d\n\x10pem_certificates\x18\x01 \x03(\tB\x03\xe0\x41\x02\x42\x14\n\x12subordinate_config\"\xb2\x01\n\tPublicKey\x12M\n\x04type\x18\x01 \x01(\x0e\x32:.google.cloud.security.privateca.v1beta1.PublicKey.KeyTypeB\x03\xe0\x41\x02\x12\x10\n\x03key\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"D\n\x07KeyType\x12\x18\n\x14KEY_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPEM_RSA_KEY\x10\x01\x12\x0e\n\nPEM_EC_KEY\x10\x02\"\xf2\x03\n\x11\x43\x65rtificateConfig\x12\x65\n\x0esubject_config\x18\x01 \x01(\x0b\x32H.google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfigB\x03\xe0\x41\x02\x12\\\n\x0freusable_config\x18\x02 \x01(\x0b\x32>.google.cloud.security.privateca.v1beta1.ReusableConfigWrapperB\x03\xe0\x41\x02\x12K\n\npublic_key\x18\x03 \x01(\x0b\x32\x32.google.cloud.security.privateca.v1beta1.PublicKeyB\x03\xe0\x41\x01\x1a\xca\x01\n\rSubjectConfig\x12\x46\n\x07subject\x18\x01 \x01(\x0b\x32\x30.google.cloud.security.privateca.v1beta1.SubjectB\x03\xe0\x41\x02\x12\x18\n\x0b\x63ommon_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12W\n\x10subject_alt_name\x18\x03 \x01(\x0b\x32\x38.google.cloud.security.privateca.v1beta1.SubjectAltNamesB\x03\xe0\x41\x01\"\xe1\x08\n\x16\x43\x65rtificateDescription\x12o\n\x13subject_description\x18\x01 \x01(\x0b\x32R.google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription\x12T\n\rconfig_values\x18\x02 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.ReusableConfigValues\x12\x46\n\npublic_key\x18\x03 \x01(\x0b\x32\x32.google.cloud.security.privateca.v1beta1.PublicKey\x12]\n\x0esubject_key_id\x18\x04 \x01(\x0b\x32\x45.google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId\x12_\n\x10\x61uthority_key_id\x18\x05 \x01(\x0b\x32\x45.google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId\x12\x1f\n\x17\x63rl_distribution_points\x18\x06 \x03(\t\x12$\n\x1c\x61ia_issuing_certificate_urls\x18\x07 \x03(\t\x12p\n\x10\x63\x65rt_fingerprint\x18\x08 \x01(\x0b\x32V.google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint\x1a\xf1\x02\n\x12SubjectDescription\x12\x41\n\x07subject\x18\x01 \x01(\x0b\x32\x30.google.cloud.security.privateca.v1beta1.Subject\x12\x13\n\x0b\x63ommon_name\x18\x02 \x01(\t\x12R\n\x10subject_alt_name\x18\x03 \x01(\x0b\x32\x38.google.cloud.security.privateca.v1beta1.SubjectAltNames\x12\x19\n\x11hex_serial_number\x18\x04 \x01(\t\x12+\n\x08lifetime\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\x0fnot_before_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0enot_after_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x1c\n\x05KeyId\x12\x13\n\x06key_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a-\n\x16\x43\x65rtificateFingerprint\x12\x13\n\x0bsha256_hash\x18\x01 \x01(\t\"\'\n\x08ObjectId\x12\x1b\n\x0eobject_id_path\x18\x01 \x03(\x05\x42\x03\xe0\x41\x02\"\x85\x01\n\rX509Extension\x12I\n\tobject_id\x18\x01 \x01(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.ObjectIdB\x03\xe0\x41\x02\x12\x15\n\x08\x63ritical\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x02\"\xb1\x05\n\x08KeyUsage\x12Y\n\x0e\x62\x61se_key_usage\x18\x01 \x01(\x0b\x32\x41.google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions\x12\x65\n\x12\x65xtended_key_usage\x18\x02 \x01(\x0b\x32I.google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions\x12V\n\x1bunknown_extended_key_usages\x18\x03 \x03(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.ObjectId\x1a\xe7\x01\n\x0fKeyUsageOptions\x12\x19\n\x11\x64igital_signature\x18\x01 \x01(\x08\x12\x1a\n\x12\x63ontent_commitment\x18\x02 \x01(\x08\x12\x18\n\x10key_encipherment\x18\x03 \x01(\x08\x12\x19\n\x11\x64\x61ta_encipherment\x18\x04 \x01(\x08\x12\x15\n\rkey_agreement\x18\x05 \x01(\x08\x12\x11\n\tcert_sign\x18\x06 \x01(\x08\x12\x10\n\x08\x63rl_sign\x18\x07 \x01(\x08\x12\x15\n\rencipher_only\x18\x08 \x01(\x08\x12\x15\n\rdecipher_only\x18\t \x01(\x08\x1a\xa0\x01\n\x17\x45xtendedKeyUsageOptions\x12\x13\n\x0bserver_auth\x18\x01 \x01(\x08\x12\x13\n\x0b\x63lient_auth\x18\x02 \x01(\x08\x12\x14\n\x0c\x63ode_signing\x18\x03 \x01(\x08\x12\x18\n\x10\x65mail_protection\x18\x04 \x01(\x08\x12\x15\n\rtime_stamping\x18\x05 \x01(\x08\x12\x14\n\x0cocsp_signing\x18\x06 \x01(\x08\"\xa3\x01\n\x07Subject\x12\x14\n\x0c\x63ountry_code\x18\x01 \x01(\t\x12\x14\n\x0corganization\x18\x02 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x03 \x01(\t\x12\x10\n\x08locality\x18\x04 \x01(\t\x12\x10\n\x08province\x18\x05 \x01(\t\x12\x16\n\x0estreet_address\x18\x06 \x01(\t\x12\x13\n\x0bpostal_code\x18\x07 \x01(\t\"\xae\x01\n\x0fSubjectAltNames\x12\x11\n\tdns_names\x18\x01 \x03(\t\x12\x0c\n\x04uris\x18\x02 \x03(\t\x12\x17\n\x0f\x65mail_addresses\x18\x03 \x03(\t\x12\x14\n\x0cip_addresses\x18\x04 \x03(\t\x12K\n\x0b\x63ustom_sans\x18\x05 \x03(\x0b\x32\x36.google.cloud.security.privateca.v1beta1.X509Extension*\x87\x02\n\x10RevocationReason\x12!\n\x1dREVOCATION_REASON_UNSPECIFIED\x10\x00\x12\x12\n\x0eKEY_COMPROMISE\x10\x01\x12$\n CERTIFICATE_AUTHORITY_COMPROMISE\x10\x02\x12\x17\n\x13\x41\x46\x46ILIATION_CHANGED\x10\x03\x12\x0e\n\nSUPERSEDED\x10\x04\x12\x1a\n\x16\x43\x45SSATION_OF_OPERATION\x10\x05\x12\x14\n\x10\x43\x45RTIFICATE_HOLD\x10\x06\x12\x17\n\x13PRIVILEGE_WITHDRAWN\x10\x07\x12\"\n\x1e\x41TTRIBUTE_AUTHORITY_COMPROMISE\x10\x08\x42\x98\x02\n+com.google.cloud.security.privateca.v1beta1B\x17PrivateCaResourcesProtoP\x01ZIcloud.google.com/go/security/privateca/apiv1beta1/privatecapb;privatecapb\xf8\x01\x01\xaa\x02\'Google.Cloud.Security.PrivateCA.V1Beta1\xca\x02\'Google\\Cloud\\Security\\PrivateCA\\V1beta1\xea\x02+Google::Cloud::Security::PrivateCA::V1beta1b\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
|
@@ -14,7 +14,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
14
14
|
require 'google/protobuf/timestamp_pb'
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
descriptor_data = "\n5google/cloud/security/privateca/v1beta1/service.proto\x12\'google.cloud.security.privateca.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/security/privateca/v1beta1/resources.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xeb\x01\n\x18\x43reateCertificateRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe2\x41\x01\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x1c\n\x0e\x63\x65rtificate_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12O\n\x0b\x63\x65rtificate\x18\x03 \x01(\x0b\x32\x34.google.cloud.security.privateca.v1beta1.CertificateB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"T\n\x15GetCertificateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$privateca.googleapis.com/Certificate\"\xc2\x01\n\x17ListCertificatesRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe2\x41\x01\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\x94\x01\n\x18ListCertificatesResponse\x12J\n\x0c\x63\x65rtificates\x18\x01 \x03(\x0b\x32\x34.google.cloud.security.privateca.v1beta1.Certificate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xc2\x01\n\x18RevokeCertificateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$privateca.googleapis.com/Certificate\x12O\n\x06reason\x18\x02 \x01(\x0e\x32\x39.google.cloud.security.privateca.v1beta1.RevocationReasonB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\xbc\x01\n\x18UpdateCertificateRequest\x12O\n\x0b\x63\x65rtificate\x18\x01 \x01(\x0b\x32\x34.google.cloud.security.privateca.v1beta1.CertificateB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\x85\x02\n#ActivateCertificateAuthorityRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe2\x41\x01\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12 \n\x12pem_ca_certificate\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\\\n\x12subordinate_config\x18\x03 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.SubordinateConfigB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\x85\x02\n!CreateCertificateAuthorityRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12&\n\x18\x63\x65rtificate_authority_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x62\n\x15\x63\x65rtificate_authority\x18\x03 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.CertificateAuthorityB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\x84\x01\n\"DisableCertificateAuthorityRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe2\x41\x01\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\x83\x01\n!EnableCertificateAuthorityRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe2\x41\x01\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"k\n#FetchCertificateAuthorityCsrRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe2\x41\x01\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\"=\n$FetchCertificateAuthorityCsrResponse\x12\x15\n\x07pem_csr\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\"f\n\x1eGetCertificateAuthorityRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe2\x41\x01\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\"\xc0\x01\n!ListCertificateAuthoritiesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\xb2\x01\n\"ListCertificateAuthoritiesResponse\x12^\n\x17\x63\x65rtificate_authorities\x18\x01 \x03(\x0b\x32=.google.cloud.security.privateca.v1beta1.CertificateAuthority\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x84\x01\n\"RestoreCertificateAuthorityRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe2\x41\x01\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\x8b\x01\n)ScheduleDeleteCertificateAuthorityRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe2\x41\x01\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\xd8\x01\n!UpdateCertificateAuthorityRequest\x12\x62\n\x15\x63\x65rtificate_authority\x18\x01 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.CertificateAuthorityB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"p\n#GetCertificateRevocationListRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe2\x41\x01\x02\xfa\x41\x34\n2privateca.googleapis.com/CertificateRevocationList\"\xd0\x01\n%ListCertificateRevocationListsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe2\x41\x01\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\xc0\x01\n&ListCertificateRevocationListsResponse\x12h\n\x1c\x63\x65rtificate_revocation_lists\x18\x01 \x03(\x0b\x32\x42.google.cloud.security.privateca.v1beta1.CertificateRevocationList\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xe8\x01\n&UpdateCertificateRevocationListRequest\x12m\n\x1b\x63\x65rtificate_revocation_list\x18\x01 \x01(\x0b\x32\x42.google.cloud.security.privateca.v1beta1.CertificateRevocationListB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"Z\n\x18GetReusableConfigRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'privateca.googleapis.com/ReusableConfig\"\xb9\x01\n\x1aListReusableConfigsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\x9e\x01\n\x1bListReusableConfigsResponse\x12Q\n\x10reusable_configs\x18\x01 \x03(\x0b\x32\x37.google.cloud.security.privateca.v1beta1.ReusableConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x87\x02\n\x11OperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x32\xd1,\n\x1b\x43\x65rtificateAuthorityService\x12\x96\x02\n\x11\x43reateCertificate\x12\x41.google.cloud.security.privateca.v1beta1.CreateCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"\x87\x01\xda\x41!parent,certificate,certificate_id\x82\xd3\xe4\x93\x02]\"N/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificates:\x0b\x63\x65rtificate\x12\xe5\x01\n\x0eGetCertificate\x12>.google.cloud.security.privateca.v1beta1.GetCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"]\xda\x41\x04name\x82\xd3\xe4\x93\x02P\x12N/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificates/*}\x12\xf8\x01\n\x10ListCertificates\x12@.google.cloud.security.privateca.v1beta1.ListCertificatesRequest\x1a\x41.google.cloud.security.privateca.v1beta1.ListCertificatesResponse\"_\xda\x41\x06parent\x82\xd3\xe4\x93\x02P\x12N/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificates\x12\xf5\x01\n\x11RevokeCertificate\x12\x41.google.cloud.security.privateca.v1beta1.RevokeCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"g\xda\x41\x04name\x82\xd3\xe4\x93\x02Z\"U/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificates/*}:revoke:\x01*\x12\x98\x02\n\x11UpdateCertificate\x12\x41.google.cloud.security.privateca.v1beta1.UpdateCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"\x89\x01\xda\x41\x17\x63\x65rtificate,update_mask\x82\xd3\xe4\x93\x02i2Z/v1beta1/{certificate.name=projects/*/locations/*/certificateAuthorities/*/certificates/*}:\x0b\x63\x65rtificate\x12\x94\x02\n\x1c\x41\x63tivateCertificateAuthority\x12L.google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02M\"H/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:activate:\x01*\x12\xcc\x02\n\x1a\x43reateCertificateAuthority\x12J.google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\xc2\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x35parent,certificate_authority,certificate_authority_id\x82\xd3\xe4\x93\x02X\"?/v1beta1/{parent=projects/*/locations/*}/certificateAuthorities:\x15\x63\x65rtificate_authority\x12\x91\x02\n\x1b\x44isableCertificateAuthority\x12K.google.cloud.security.privateca.v1beta1.DisableCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02L\"G/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:disable:\x01*\x12\x8e\x02\n\x1a\x45nableCertificateAuthority\x12J.google.cloud.security.privateca.v1beta1.EnableCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02K\"F/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:enable:\x01*\x12\x91\x02\n\x1c\x46\x65tchCertificateAuthorityCsr\x12L.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrRequest\x1aM.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse\"T\xda\x41\x04name\x82\xd3\xe4\x93\x02G\x12\x45/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:fetch\x12\xf1\x01\n\x17GetCertificateAuthority\x12G.google.cloud.security.privateca.v1beta1.GetCertificateAuthorityRequest\x1a=.google.cloud.security.privateca.v1beta1.CertificateAuthority\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}\x12\x87\x02\n\x1aListCertificateAuthorities\x12J.google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesRequest\x1aK.google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1beta1/{parent=projects/*/locations/*}/certificateAuthorities\x12\x91\x02\n\x1bRestoreCertificateAuthority\x12K.google.cloud.security.privateca.v1beta1.RestoreCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02L\"G/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:restore:\x01*\x12\xa6\x02\n\"ScheduleDeleteCertificateAuthority\x12R.google.cloud.security.privateca.v1beta1.ScheduleDeleteCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02S\"N/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:scheduleDelete:\x01*\x12\xce\x02\n\x1aUpdateCertificateAuthority\x12J.google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\xc4\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41!certificate_authority,update_mask\x82\xd3\xe4\x93\x02n2U/v1beta1/{certificate_authority.name=projects/*/locations/*/certificateAuthorities/*}:\x15\x63\x65rtificate_authority\x12\x9d\x02\n\x1cGetCertificateRevocationList\x12L.google.cloud.security.privateca.v1beta1.GetCertificateRevocationListRequest\x1a\x42.google.cloud.security.privateca.v1beta1.CertificateRevocationList\"k\xda\x41\x04name\x82\xd3\xe4\x93\x02^\x12\\/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificateRevocationLists/*}\x12\xb0\x02\n\x1eListCertificateRevocationLists\x12N.google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsRequest\x1aO.google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse\"m\xda\x41\x06parent\x82\xd3\xe4\x93\x02^\x12\\/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificateRevocationLists\x12\x8d\x03\n\x1fUpdateCertificateRevocationList\x12O.google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest\x1a\x1d.google.longrunning.Operation\"\xf9\x01\xca\x41.\n\x19\x43\x65rtificateRevocationList\x12\x11OperationMetadata\xda\x41\'certificate_revocation_list,update_mask\x82\xd3\xe4\x93\x02\x97\x01\x32x/v1beta1/{certificate_revocation_list.name=projects/*/locations/*/certificateAuthorities/*/certificateRevocationLists/*}:\x1b\x63\x65rtificate_revocation_list\x12\xd8\x01\n\x11GetReusableConfig\x12\x41.google.cloud.security.privateca.v1beta1.GetReusableConfigRequest\x1a\x37.google.cloud.security.privateca.v1beta1.ReusableConfig\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v1beta1/{name=projects/*/locations/*/reusableConfigs/*}\x12\xeb\x01\n\x13ListReusableConfigs\x12\x43.google.cloud.security.privateca.v1beta1.ListReusableConfigsRequest\x1a\x44.google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1beta1/{parent=projects/*/locations/*}/reusableConfigs\x1aL\xca\x41\x18privateca.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8f\x02\n+com.google.cloud.security.privateca.v1beta1B\x0ePrivateCaProtoP\x01ZIcloud.google.com/go/security/privateca/apiv1beta1/privatecapb;privatecapb\xf8\x01\x01\xaa\x02\'Google.Cloud.Security.PrivateCA.V1Beta1\xca\x02\'Google\\Cloud\\Security\\PrivateCA\\V1beta1\xea\x02+Google::Cloud::Security::PrivateCA::V1beta1b\x06proto3"
|
|
17
|
+
descriptor_data = "\n5google/cloud/security/privateca/v1beta1/service.proto\x12\'google.cloud.security.privateca.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/security/privateca/v1beta1/resources.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe7\x01\n\x18\x43reateCertificateRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x1b\n\x0e\x63\x65rtificate_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12N\n\x0b\x63\x65rtificate\x18\x03 \x01(\x0b\x32\x34.google.cloud.security.privateca.v1beta1.CertificateB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"S\n\x15GetCertificateRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$privateca.googleapis.com/Certificate\"\xbd\x01\n\x17ListCertificatesRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n\x18ListCertificatesResponse\x12J\n\x0c\x63\x65rtificates\x18\x01 \x03(\x0b\x32\x34.google.cloud.security.privateca.v1beta1.Certificate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xbf\x01\n\x18RevokeCertificateRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$privateca.googleapis.com/Certificate\x12N\n\x06reason\x18\x02 \x01(\x0e\x32\x39.google.cloud.security.privateca.v1beta1.RevocationReasonB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xb9\x01\n\x18UpdateCertificateRequest\x12N\n\x0b\x63\x65rtificate\x18\x01 \x01(\x0b\x32\x34.google.cloud.security.privateca.v1beta1.CertificateB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x81\x02\n#ActivateCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x1f\n\x12pem_ca_certificate\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12[\n\x12subordinate_config\x18\x03 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.SubordinateConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x81\x02\n!CreateCertificateAuthorityRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12%\n\x18\x63\x65rtificate_authority_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x61\n\x15\x63\x65rtificate_authority\x18\x03 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.CertificateAuthorityB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x82\x01\n\"DisableCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x81\x01\n!EnableCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"j\n#FetchCertificateAuthorityCsrRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\"<\n$FetchCertificateAuthorityCsrResponse\x12\x14\n\x07pem_csr\x18\x01 \x01(\tB\x03\xe0\x41\x03\"e\n\x1eGetCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\"\xbb\x01\n!ListCertificateAuthoritiesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xb2\x01\n\"ListCertificateAuthoritiesResponse\x12^\n\x17\x63\x65rtificate_authorities\x18\x01 \x03(\x0b\x32=.google.cloud.security.privateca.v1beta1.CertificateAuthority\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x82\x01\n\"RestoreCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n)ScheduleDeleteCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xd5\x01\n!UpdateCertificateAuthorityRequest\x12\x61\n\x15\x63\x65rtificate_authority\x18\x01 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.CertificateAuthorityB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"o\n#GetCertificateRevocationListRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2privateca.googleapis.com/CertificateRevocationList\"\xcb\x01\n%ListCertificateRevocationListsRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xc0\x01\n&ListCertificateRevocationListsResponse\x12h\n\x1c\x63\x65rtificate_revocation_lists\x18\x01 \x03(\x0b\x32\x42.google.cloud.security.privateca.v1beta1.CertificateRevocationList\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xe5\x01\n&UpdateCertificateRevocationListRequest\x12l\n\x1b\x63\x65rtificate_revocation_list\x18\x01 \x01(\x0b\x32\x42.google.cloud.security.privateca.v1beta1.CertificateRevocationListB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"Y\n\x18GetReusableConfigRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'privateca.googleapis.com/ReusableConfig\"\xb4\x01\n\x1aListReusableConfigsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x9e\x01\n\x1bListReusableConfigsResponse\x12Q\n\x10reusable_configs\x18\x01 \x03(\x0b\x32\x37.google.cloud.security.privateca.v1beta1.ReusableConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xd1,\n\x1b\x43\x65rtificateAuthorityService\x12\x96\x02\n\x11\x43reateCertificate\x12\x41.google.cloud.security.privateca.v1beta1.CreateCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"\x87\x01\xda\x41!parent,certificate,certificate_id\x82\xd3\xe4\x93\x02]\"N/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificates:\x0b\x63\x65rtificate\x12\xe5\x01\n\x0eGetCertificate\x12>.google.cloud.security.privateca.v1beta1.GetCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"]\xda\x41\x04name\x82\xd3\xe4\x93\x02P\x12N/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificates/*}\x12\xf8\x01\n\x10ListCertificates\x12@.google.cloud.security.privateca.v1beta1.ListCertificatesRequest\x1a\x41.google.cloud.security.privateca.v1beta1.ListCertificatesResponse\"_\xda\x41\x06parent\x82\xd3\xe4\x93\x02P\x12N/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificates\x12\xf5\x01\n\x11RevokeCertificate\x12\x41.google.cloud.security.privateca.v1beta1.RevokeCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"g\xda\x41\x04name\x82\xd3\xe4\x93\x02Z\"U/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificates/*}:revoke:\x01*\x12\x98\x02\n\x11UpdateCertificate\x12\x41.google.cloud.security.privateca.v1beta1.UpdateCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"\x89\x01\xda\x41\x17\x63\x65rtificate,update_mask\x82\xd3\xe4\x93\x02i2Z/v1beta1/{certificate.name=projects/*/locations/*/certificateAuthorities/*/certificates/*}:\x0b\x63\x65rtificate\x12\x94\x02\n\x1c\x41\x63tivateCertificateAuthority\x12L.google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02M\"H/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:activate:\x01*\x12\xcc\x02\n\x1a\x43reateCertificateAuthority\x12J.google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\xc2\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x35parent,certificate_authority,certificate_authority_id\x82\xd3\xe4\x93\x02X\"?/v1beta1/{parent=projects/*/locations/*}/certificateAuthorities:\x15\x63\x65rtificate_authority\x12\x91\x02\n\x1b\x44isableCertificateAuthority\x12K.google.cloud.security.privateca.v1beta1.DisableCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02L\"G/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:disable:\x01*\x12\x8e\x02\n\x1a\x45nableCertificateAuthority\x12J.google.cloud.security.privateca.v1beta1.EnableCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02K\"F/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:enable:\x01*\x12\x91\x02\n\x1c\x46\x65tchCertificateAuthorityCsr\x12L.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrRequest\x1aM.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse\"T\xda\x41\x04name\x82\xd3\xe4\x93\x02G\x12\x45/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:fetch\x12\xf1\x01\n\x17GetCertificateAuthority\x12G.google.cloud.security.privateca.v1beta1.GetCertificateAuthorityRequest\x1a=.google.cloud.security.privateca.v1beta1.CertificateAuthority\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}\x12\x87\x02\n\x1aListCertificateAuthorities\x12J.google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesRequest\x1aK.google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1beta1/{parent=projects/*/locations/*}/certificateAuthorities\x12\x91\x02\n\x1bRestoreCertificateAuthority\x12K.google.cloud.security.privateca.v1beta1.RestoreCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02L\"G/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:restore:\x01*\x12\xa6\x02\n\"ScheduleDeleteCertificateAuthority\x12R.google.cloud.security.privateca.v1beta1.ScheduleDeleteCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02S\"N/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:scheduleDelete:\x01*\x12\xce\x02\n\x1aUpdateCertificateAuthority\x12J.google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\xc4\x01\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\xda\x41!certificate_authority,update_mask\x82\xd3\xe4\x93\x02n2U/v1beta1/{certificate_authority.name=projects/*/locations/*/certificateAuthorities/*}:\x15\x63\x65rtificate_authority\x12\x9d\x02\n\x1cGetCertificateRevocationList\x12L.google.cloud.security.privateca.v1beta1.GetCertificateRevocationListRequest\x1a\x42.google.cloud.security.privateca.v1beta1.CertificateRevocationList\"k\xda\x41\x04name\x82\xd3\xe4\x93\x02^\x12\\/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificateRevocationLists/*}\x12\xb0\x02\n\x1eListCertificateRevocationLists\x12N.google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsRequest\x1aO.google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse\"m\xda\x41\x06parent\x82\xd3\xe4\x93\x02^\x12\\/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificateRevocationLists\x12\x8d\x03\n\x1fUpdateCertificateRevocationList\x12O.google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest\x1a\x1d.google.longrunning.Operation\"\xf9\x01\xca\x41.\n\x19\x43\x65rtificateRevocationList\x12\x11OperationMetadata\xda\x41\'certificate_revocation_list,update_mask\x82\xd3\xe4\x93\x02\x97\x01\x32x/v1beta1/{certificate_revocation_list.name=projects/*/locations/*/certificateAuthorities/*/certificateRevocationLists/*}:\x1b\x63\x65rtificate_revocation_list\x12\xd8\x01\n\x11GetReusableConfig\x12\x41.google.cloud.security.privateca.v1beta1.GetReusableConfigRequest\x1a\x37.google.cloud.security.privateca.v1beta1.ReusableConfig\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v1beta1/{name=projects/*/locations/*/reusableConfigs/*}\x12\xeb\x01\n\x13ListReusableConfigs\x12\x43.google.cloud.security.privateca.v1beta1.ListReusableConfigsRequest\x1a\x44.google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1beta1/{parent=projects/*/locations/*}/reusableConfigs\x1aL\xca\x41\x18privateca.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8f\x02\n+com.google.cloud.security.privateca.v1beta1B\x0ePrivateCaProtoP\x01ZIcloud.google.com/go/security/privateca/apiv1beta1/privatecapb;privatecapb\xf8\x01\x01\xaa\x02\'Google.Cloud.Security.PrivateCA.V1Beta1\xca\x02\'Google\\Cloud\\Security\\PrivateCA\\V1beta1\xea\x02+Google::Cloud::Security::PrivateCA::V1beta1b\x06proto3"
|
|
18
18
|
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
20
20
|
|
|
@@ -118,6 +118,10 @@ module Google
|
|
|
118
118
|
# @return [::String]
|
|
119
119
|
# Optional link to proto reference documentation. Example:
|
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
|
122
|
+
# @return [::String]
|
|
123
|
+
# Optional link to REST reference documentation. Example:
|
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
|
121
125
|
class Publishing
|
|
122
126
|
include ::Google::Protobuf::MessageExts
|
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -192,9 +196,26 @@ module Google
|
|
|
192
196
|
# @!attribute [rw] common
|
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
194
198
|
# Some settings.
|
|
199
|
+
# @!attribute [rw] experimental_features
|
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
|
201
|
+
# Experimental features to be included during client library generation.
|
|
195
202
|
class PythonSettings
|
|
196
203
|
include ::Google::Protobuf::MessageExts
|
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
205
|
+
|
|
206
|
+
# Experimental features to be included during client library generation.
|
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
|
208
|
+
# by default.
|
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
|
210
|
+
# @return [::Boolean]
|
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
|
214
|
+
# feature in preview packages.
|
|
215
|
+
class ExperimentalFeatures
|
|
216
|
+
include ::Google::Protobuf::MessageExts
|
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
218
|
+
end
|
|
198
219
|
end
|
|
199
220
|
|
|
200
221
|
# Settings for Node client libraries.
|
|
@@ -286,6 +307,13 @@ module Google
|
|
|
286
307
|
# @return [::String]
|
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
|
288
309
|
# This is used to find the method to apply the options.
|
|
310
|
+
#
|
|
311
|
+
# Example:
|
|
312
|
+
#
|
|
313
|
+
# publishing:
|
|
314
|
+
# method_settings:
|
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
316
|
+
# # method settings for CreateFolder...
|
|
289
317
|
# @!attribute [rw] long_running
|
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
291
319
|
# Describes settings to use for long-running operations when generating
|
|
@@ -294,17 +322,14 @@ module Google
|
|
|
294
322
|
#
|
|
295
323
|
# Example of a YAML configuration::
|
|
296
324
|
#
|
|
297
|
-
#
|
|
298
|
-
#
|
|
325
|
+
# publishing:
|
|
326
|
+
# method_settings:
|
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
300
328
|
# long_running:
|
|
301
|
-
# initial_poll_delay:
|
|
302
|
-
# seconds: 60 # 1 minute
|
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
|
303
330
|
# poll_delay_multiplier: 1.5
|
|
304
|
-
# max_poll_delay:
|
|
305
|
-
#
|
|
306
|
-
# total_poll_timeout:
|
|
307
|
-
# seconds: 54000 # 90 minutes
|
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
|
309
334
|
# @return [::Array<::String>]
|
|
310
335
|
# List of top-level fields of the request message, that should be
|
|
@@ -313,8 +338,8 @@ module Google
|
|
|
313
338
|
#
|
|
314
339
|
# Example of a YAML configuration:
|
|
315
340
|
#
|
|
316
|
-
#
|
|
317
|
-
#
|
|
341
|
+
# publishing:
|
|
342
|
+
# method_settings:
|
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
|
319
344
|
# auto_populated_fields:
|
|
320
345
|
# - request_id
|
|
@@ -124,8 +124,13 @@ module Google
|
|
|
124
124
|
# @return [::String]
|
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
|
128
|
-
#
|
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
|
131
|
+
# match the `plural` value.
|
|
132
|
+
#
|
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
|
130
135
|
#
|
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
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.
|
|
4
|
+
version: 0.9.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: 2024-
|
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -44,118 +44,6 @@ dependencies:
|
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: '1.0'
|
|
47
|
-
- !ruby/object:Gem::Dependency
|
|
48
|
-
name: google-style
|
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
|
50
|
-
requirements:
|
|
51
|
-
- - "~>"
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: 1.26.3
|
|
54
|
-
type: :development
|
|
55
|
-
prerelease: false
|
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
requirements:
|
|
58
|
-
- - "~>"
|
|
59
|
-
- !ruby/object:Gem::Version
|
|
60
|
-
version: 1.26.3
|
|
61
|
-
- !ruby/object:Gem::Dependency
|
|
62
|
-
name: minitest
|
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
|
64
|
-
requirements:
|
|
65
|
-
- - "~>"
|
|
66
|
-
- !ruby/object:Gem::Version
|
|
67
|
-
version: '5.16'
|
|
68
|
-
type: :development
|
|
69
|
-
prerelease: false
|
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
-
requirements:
|
|
72
|
-
- - "~>"
|
|
73
|
-
- !ruby/object:Gem::Version
|
|
74
|
-
version: '5.16'
|
|
75
|
-
- !ruby/object:Gem::Dependency
|
|
76
|
-
name: minitest-focus
|
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
|
78
|
-
requirements:
|
|
79
|
-
- - "~>"
|
|
80
|
-
- !ruby/object:Gem::Version
|
|
81
|
-
version: '1.1'
|
|
82
|
-
type: :development
|
|
83
|
-
prerelease: false
|
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
85
|
-
requirements:
|
|
86
|
-
- - "~>"
|
|
87
|
-
- !ruby/object:Gem::Version
|
|
88
|
-
version: '1.1'
|
|
89
|
-
- !ruby/object:Gem::Dependency
|
|
90
|
-
name: minitest-rg
|
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
|
92
|
-
requirements:
|
|
93
|
-
- - "~>"
|
|
94
|
-
- !ruby/object:Gem::Version
|
|
95
|
-
version: '5.2'
|
|
96
|
-
type: :development
|
|
97
|
-
prerelease: false
|
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
99
|
-
requirements:
|
|
100
|
-
- - "~>"
|
|
101
|
-
- !ruby/object:Gem::Version
|
|
102
|
-
version: '5.2'
|
|
103
|
-
- !ruby/object:Gem::Dependency
|
|
104
|
-
name: rake
|
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
|
106
|
-
requirements:
|
|
107
|
-
- - ">="
|
|
108
|
-
- !ruby/object:Gem::Version
|
|
109
|
-
version: '13.0'
|
|
110
|
-
type: :development
|
|
111
|
-
prerelease: false
|
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
113
|
-
requirements:
|
|
114
|
-
- - ">="
|
|
115
|
-
- !ruby/object:Gem::Version
|
|
116
|
-
version: '13.0'
|
|
117
|
-
- !ruby/object:Gem::Dependency
|
|
118
|
-
name: redcarpet
|
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
|
120
|
-
requirements:
|
|
121
|
-
- - "~>"
|
|
122
|
-
- !ruby/object:Gem::Version
|
|
123
|
-
version: '3.0'
|
|
124
|
-
type: :development
|
|
125
|
-
prerelease: false
|
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
127
|
-
requirements:
|
|
128
|
-
- - "~>"
|
|
129
|
-
- !ruby/object:Gem::Version
|
|
130
|
-
version: '3.0'
|
|
131
|
-
- !ruby/object:Gem::Dependency
|
|
132
|
-
name: simplecov
|
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
|
134
|
-
requirements:
|
|
135
|
-
- - "~>"
|
|
136
|
-
- !ruby/object:Gem::Version
|
|
137
|
-
version: '0.18'
|
|
138
|
-
type: :development
|
|
139
|
-
prerelease: false
|
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
141
|
-
requirements:
|
|
142
|
-
- - "~>"
|
|
143
|
-
- !ruby/object:Gem::Version
|
|
144
|
-
version: '0.18'
|
|
145
|
-
- !ruby/object:Gem::Dependency
|
|
146
|
-
name: yard
|
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
|
148
|
-
requirements:
|
|
149
|
-
- - "~>"
|
|
150
|
-
- !ruby/object:Gem::Version
|
|
151
|
-
version: '0.9'
|
|
152
|
-
type: :development
|
|
153
|
-
prerelease: false
|
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
155
|
-
requirements:
|
|
156
|
-
- - "~>"
|
|
157
|
-
- !ruby/object:Gem::Version
|
|
158
|
-
version: '0.9'
|
|
159
47
|
description: Certificate Authority Service is a highly available, scalable Google
|
|
160
48
|
Cloud service that enables you to simplify, automate, and customize the deployment,
|
|
161
49
|
management, and security of private certificate authorities (CA). Note that google-cloud-security-private_ca-v1beta1
|
|
@@ -214,14 +102,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
214
102
|
requirements:
|
|
215
103
|
- - ">="
|
|
216
104
|
- !ruby/object:Gem::Version
|
|
217
|
-
version: '2.
|
|
105
|
+
version: '2.7'
|
|
218
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
107
|
requirements:
|
|
220
108
|
- - ">="
|
|
221
109
|
- !ruby/object:Gem::Version
|
|
222
110
|
version: '0'
|
|
223
111
|
requirements: []
|
|
224
|
-
rubygems_version: 3.5.
|
|
112
|
+
rubygems_version: 3.5.6
|
|
225
113
|
signing_key:
|
|
226
114
|
specification_version: 4
|
|
227
115
|
summary: API Client library for the Certificate Authority Service V1beta1 API
|