google-cloud-security-private_ca-v1 0.6.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/client.rb +20 -5
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/operations.rb +2 -2
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/client.rb +20 -5
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/operations.rb +2 -2
- data/lib/google/cloud/security/private_ca/v1/version.rb +1 -1
- data/lib/google/cloud/security/privateca/v1/resources_pb.rb +27 -311
- data/lib/google/cloud/security/privateca/v1/service_pb.rb +28 -189
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/security/privateca/v1/resources.rb +1 -1
- data/proto_docs/google/cloud/security/privateca/v1/service.rb +18 -0
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b46fb508d2c940fde6820fef28d4d3202aa4b945c214ca7a92cc161249b703a0
|
4
|
+
data.tar.gz: 9a5ae173c2edba0f4cdd85ef3055c7a94be6d781d614a461814122ec17d7d418
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e67c0e7ae30f4984a503792d3a36acfab95ceb10e22676366ea4e0ba5f71f7989c0ccd82fccc838b6ac1859a35bb58a37aab23f947ee0392e341a70484926f0
|
7
|
+
data.tar.gz: 24cb909fb4469682565a1f8d4c8162a8a38fc25485ca1f12834b468266f9093701425720cf18c9aefb17de731705c5345aa82bd4d5eeeac1a30b7fe2bdc8bba8
|
data/README.md
CHANGED
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -1000,7 +1000,7 @@ module Google
|
|
1000
1000
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1001
1001
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1002
1002
|
#
|
1003
|
-
# @overload disable_certificate_authority(name: nil, request_id: nil)
|
1003
|
+
# @overload disable_certificate_authority(name: nil, request_id: nil, ignore_dependent_resources: nil)
|
1004
1004
|
# Pass arguments to `disable_certificate_authority` via keyword arguments. Note that at
|
1005
1005
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1006
1006
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1023,6 +1023,11 @@ module Google
|
|
1023
1023
|
#
|
1024
1024
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
1025
1025
|
# not supported (00000000-0000-0000-0000-000000000000).
|
1026
|
+
# @param ignore_dependent_resources [::Boolean]
|
1027
|
+
# Optional. This field allows this CA to be disabled even if it's being
|
1028
|
+
# depended on by another resource. However, doing so may result in unintended
|
1029
|
+
# and unrecoverable effects on any dependent resource(s) since the CA will
|
1030
|
+
# no longer be able to issue certificates.
|
1026
1031
|
#
|
1027
1032
|
# @yield [response, operation] Access the result along with the RPC operation
|
1028
1033
|
# @yieldparam response [::Gapic::Operation]
|
@@ -1627,7 +1632,7 @@ module Google
|
|
1627
1632
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1628
1633
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1629
1634
|
#
|
1630
|
-
# @overload delete_certificate_authority(name: nil, request_id: nil, ignore_active_certificates: nil, skip_grace_period: nil)
|
1635
|
+
# @overload delete_certificate_authority(name: nil, request_id: nil, ignore_active_certificates: nil, skip_grace_period: nil, ignore_dependent_resources: nil)
|
1631
1636
|
# Pass arguments to `delete_certificate_authority` via keyword arguments. Note that at
|
1632
1637
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1633
1638
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1657,6 +1662,11 @@ module Google
|
|
1657
1662
|
# Optional. If this flag is set, the Certificate Authority will be deleted as
|
1658
1663
|
# soon as possible without a 30-day grace period where undeletion would have
|
1659
1664
|
# been allowed. If you proceed, there will be no way to recover this CA.
|
1665
|
+
# @param ignore_dependent_resources [::Boolean]
|
1666
|
+
# Optional. This field allows this ca to be deleted even if it's being
|
1667
|
+
# depended on by another resource. However, doing so may result in unintended
|
1668
|
+
# and unrecoverable effects on any dependent resource(s) since the CA will
|
1669
|
+
# no longer be able to issue certificates.
|
1660
1670
|
#
|
1661
1671
|
# @yield [response, operation] Access the result along with the RPC operation
|
1662
1672
|
# @yieldparam response [::Gapic::Operation]
|
@@ -2273,7 +2283,7 @@ module Google
|
|
2273
2283
|
# @param options [::Gapic::CallOptions, ::Hash]
|
2274
2284
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2275
2285
|
#
|
2276
|
-
# @overload delete_ca_pool(name: nil, request_id: nil)
|
2286
|
+
# @overload delete_ca_pool(name: nil, request_id: nil, ignore_dependent_resources: nil)
|
2277
2287
|
# Pass arguments to `delete_ca_pool` via keyword arguments. Note that at
|
2278
2288
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
2279
2289
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -2296,6 +2306,11 @@ module Google
|
|
2296
2306
|
#
|
2297
2307
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
2298
2308
|
# not supported (00000000-0000-0000-0000-000000000000).
|
2309
|
+
# @param ignore_dependent_resources [::Boolean]
|
2310
|
+
# Optional. This field allows this pool to be deleted even if it's being
|
2311
|
+
# depended on by another resource. However, doing so may result in unintended
|
2312
|
+
# and unrecoverable effects on any dependent resource(s) since the pool will
|
2313
|
+
# no longer be able to issue certificates.
|
2299
2314
|
#
|
2300
2315
|
# @yield [response, operation] Access the result along with the RPC operation
|
2301
2316
|
# @yieldparam response [::Gapic::Operation]
|
@@ -3361,9 +3376,9 @@ module Google
|
|
3361
3376
|
# * (`String`) The path to a service account key file in JSON format
|
3362
3377
|
# * (`Hash`) A service account key as a Hash
|
3363
3378
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
3364
|
-
# (see the [googleauth docs](https://
|
3379
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
3365
3380
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
3366
|
-
# (see the [signet docs](https://
|
3381
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
3367
3382
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
3368
3383
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
3369
3384
|
# * (`nil`) indicating no credentials
|
@@ -621,9 +621,9 @@ module Google
|
|
621
621
|
# * (`String`) The path to a service account key file in JSON format
|
622
622
|
# * (`Hash`) A service account key as a Hash
|
623
623
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
624
|
-
# (see the [googleauth docs](https://
|
624
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
625
625
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
626
|
-
# (see the [signet docs](https://
|
626
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
627
627
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
628
628
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
629
629
|
# * (`nil`) indicating no credentials
|
@@ -813,7 +813,7 @@ module Google
|
|
813
813
|
# @param options [::Gapic::CallOptions, ::Hash]
|
814
814
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
815
815
|
#
|
816
|
-
# @overload disable_certificate_authority(name: nil, request_id: nil)
|
816
|
+
# @overload disable_certificate_authority(name: nil, request_id: nil, ignore_dependent_resources: nil)
|
817
817
|
# Pass arguments to `disable_certificate_authority` via keyword arguments. Note that at
|
818
818
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
819
819
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -836,6 +836,11 @@ module Google
|
|
836
836
|
#
|
837
837
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
838
838
|
# not supported (00000000-0000-0000-0000-000000000000).
|
839
|
+
# @param ignore_dependent_resources [::Boolean]
|
840
|
+
# Optional. This field allows this CA to be disabled even if it's being
|
841
|
+
# depended on by another resource. However, doing so may result in unintended
|
842
|
+
# and unrecoverable effects on any dependent resource(s) since the CA will
|
843
|
+
# no longer be able to issue certificates.
|
839
844
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
840
845
|
# @yieldparam result [::Gapic::Operation]
|
841
846
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1276,7 +1281,7 @@ module Google
|
|
1276
1281
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1277
1282
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1278
1283
|
#
|
1279
|
-
# @overload delete_certificate_authority(name: nil, request_id: nil, ignore_active_certificates: nil, skip_grace_period: nil)
|
1284
|
+
# @overload delete_certificate_authority(name: nil, request_id: nil, ignore_active_certificates: nil, skip_grace_period: nil, ignore_dependent_resources: nil)
|
1280
1285
|
# Pass arguments to `delete_certificate_authority` via keyword arguments. Note that at
|
1281
1286
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1282
1287
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1306,6 +1311,11 @@ module Google
|
|
1306
1311
|
# Optional. If this flag is set, the Certificate Authority will be deleted as
|
1307
1312
|
# soon as possible without a 30-day grace period where undeletion would have
|
1308
1313
|
# been allowed. If you proceed, there will be no way to recover this CA.
|
1314
|
+
# @param ignore_dependent_resources [::Boolean]
|
1315
|
+
# Optional. This field allows this ca to be deleted even if it's being
|
1316
|
+
# depended on by another resource. However, doing so may result in unintended
|
1317
|
+
# and unrecoverable effects on any dependent resource(s) since the CA will
|
1318
|
+
# no longer be able to issue certificates.
|
1309
1319
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1310
1320
|
# @yieldparam result [::Gapic::Operation]
|
1311
1321
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1751,7 +1761,7 @@ module Google
|
|
1751
1761
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1752
1762
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1753
1763
|
#
|
1754
|
-
# @overload delete_ca_pool(name: nil, request_id: nil)
|
1764
|
+
# @overload delete_ca_pool(name: nil, request_id: nil, ignore_dependent_resources: nil)
|
1755
1765
|
# Pass arguments to `delete_ca_pool` via keyword arguments. Note that at
|
1756
1766
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1757
1767
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1774,6 +1784,11 @@ module Google
|
|
1774
1784
|
#
|
1775
1785
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
1776
1786
|
# not supported (00000000-0000-0000-0000-000000000000).
|
1787
|
+
# @param ignore_dependent_resources [::Boolean]
|
1788
|
+
# Optional. This field allows this pool to be deleted even if it's being
|
1789
|
+
# depended on by another resource. However, doing so may result in unintended
|
1790
|
+
# and unrecoverable effects on any dependent resource(s) since the pool will
|
1791
|
+
# no longer be able to issue certificates.
|
1777
1792
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1778
1793
|
# @yieldparam result [::Gapic::Operation]
|
1779
1794
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -2564,9 +2579,9 @@ module Google
|
|
2564
2579
|
# * (`String`) The path to a service account key file in JSON format
|
2565
2580
|
# * (`Hash`) A service account key as a Hash
|
2566
2581
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
2567
|
-
# (see the [googleauth docs](https://
|
2582
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
2568
2583
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
2569
|
-
# (see the [signet docs](https://
|
2584
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
2570
2585
|
# * (`nil`) indicating no credentials
|
2571
2586
|
# @return [::Object]
|
2572
2587
|
# @!attribute [rw] scope
|
data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/operations.rb
CHANGED
@@ -412,9 +412,9 @@ module Google
|
|
412
412
|
# * (`String`) The path to a service account key file in JSON format
|
413
413
|
# * (`Hash`) A service account key as a Hash
|
414
414
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
415
|
-
# (see the [googleauth docs](https://
|
415
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
416
416
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
417
|
-
# (see the [signet docs](https://
|
417
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
418
418
|
# * (`nil`) indicating no credentials
|
419
419
|
# @return [::Object]
|
420
420
|
# @!attribute [rw] scope
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/security/privateca/v1/resources.proto
|
3
4
|
|
@@ -9,319 +10,34 @@ require 'google/protobuf/duration_pb'
|
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
require 'google/type/expr_pb'
|
11
12
|
|
12
|
-
|
13
|
-
add_file("google/cloud/security/privateca/v1/resources.proto", :syntax => :proto3) do
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
end
|
37
|
-
add_message "google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpec" do
|
38
|
-
oneof :KeyVersion do
|
39
|
-
optional :cloud_kms_key_version, :string, 1
|
40
|
-
optional :algorithm, :enum, 2, "google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm"
|
41
|
-
end
|
42
|
-
end
|
43
|
-
add_enum "google.cloud.security.privateca.v1.CertificateAuthority.Type" do
|
44
|
-
value :TYPE_UNSPECIFIED, 0
|
45
|
-
value :SELF_SIGNED, 1
|
46
|
-
value :SUBORDINATE, 2
|
47
|
-
end
|
48
|
-
add_enum "google.cloud.security.privateca.v1.CertificateAuthority.State" do
|
49
|
-
value :STATE_UNSPECIFIED, 0
|
50
|
-
value :ENABLED, 1
|
51
|
-
value :DISABLED, 2
|
52
|
-
value :STAGED, 3
|
53
|
-
value :AWAITING_USER_ACTIVATION, 4
|
54
|
-
value :DELETED, 5
|
55
|
-
end
|
56
|
-
add_enum "google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm" do
|
57
|
-
value :SIGN_HASH_ALGORITHM_UNSPECIFIED, 0
|
58
|
-
value :RSA_PSS_2048_SHA256, 1
|
59
|
-
value :RSA_PSS_3072_SHA256, 2
|
60
|
-
value :RSA_PSS_4096_SHA256, 3
|
61
|
-
value :RSA_PKCS1_2048_SHA256, 6
|
62
|
-
value :RSA_PKCS1_3072_SHA256, 7
|
63
|
-
value :RSA_PKCS1_4096_SHA256, 8
|
64
|
-
value :EC_P256_SHA256, 4
|
65
|
-
value :EC_P384_SHA384, 5
|
66
|
-
end
|
67
|
-
add_message "google.cloud.security.privateca.v1.CaPool" do
|
68
|
-
optional :name, :string, 1
|
69
|
-
optional :tier, :enum, 2, "google.cloud.security.privateca.v1.CaPool.Tier"
|
70
|
-
optional :issuance_policy, :message, 3, "google.cloud.security.privateca.v1.CaPool.IssuancePolicy"
|
71
|
-
optional :publishing_options, :message, 4, "google.cloud.security.privateca.v1.CaPool.PublishingOptions"
|
72
|
-
map :labels, :string, :string, 5
|
73
|
-
end
|
74
|
-
add_message "google.cloud.security.privateca.v1.CaPool.PublishingOptions" do
|
75
|
-
optional :publish_ca_cert, :bool, 1
|
76
|
-
optional :publish_crl, :bool, 2
|
77
|
-
end
|
78
|
-
add_message "google.cloud.security.privateca.v1.CaPool.IssuancePolicy" do
|
79
|
-
repeated :allowed_key_types, :message, 1, "google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType"
|
80
|
-
optional :maximum_lifetime, :message, 2, "google.protobuf.Duration"
|
81
|
-
optional :allowed_issuance_modes, :message, 3, "google.cloud.security.privateca.v1.CaPool.IssuancePolicy.IssuanceModes"
|
82
|
-
optional :baseline_values, :message, 4, "google.cloud.security.privateca.v1.X509Parameters"
|
83
|
-
optional :identity_constraints, :message, 5, "google.cloud.security.privateca.v1.CertificateIdentityConstraints"
|
84
|
-
optional :passthrough_extensions, :message, 6, "google.cloud.security.privateca.v1.CertificateExtensionConstraints"
|
85
|
-
end
|
86
|
-
add_message "google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType" do
|
87
|
-
oneof :key_type do
|
88
|
-
optional :rsa, :message, 1, "google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType"
|
89
|
-
optional :elliptic_curve, :message, 2, "google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType"
|
90
|
-
end
|
91
|
-
end
|
92
|
-
add_message "google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType" do
|
93
|
-
optional :min_modulus_size, :int64, 1
|
94
|
-
optional :max_modulus_size, :int64, 2
|
95
|
-
end
|
96
|
-
add_message "google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType" do
|
97
|
-
optional :signature_algorithm, :enum, 1, "google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.EcSignatureAlgorithm"
|
98
|
-
end
|
99
|
-
add_enum "google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.EcSignatureAlgorithm" do
|
100
|
-
value :EC_SIGNATURE_ALGORITHM_UNSPECIFIED, 0
|
101
|
-
value :ECDSA_P256, 1
|
102
|
-
value :ECDSA_P384, 2
|
103
|
-
value :EDDSA_25519, 3
|
104
|
-
end
|
105
|
-
add_message "google.cloud.security.privateca.v1.CaPool.IssuancePolicy.IssuanceModes" do
|
106
|
-
optional :allow_csr_based_issuance, :bool, 1
|
107
|
-
optional :allow_config_based_issuance, :bool, 2
|
108
|
-
end
|
109
|
-
add_enum "google.cloud.security.privateca.v1.CaPool.Tier" do
|
110
|
-
value :TIER_UNSPECIFIED, 0
|
111
|
-
value :ENTERPRISE, 1
|
112
|
-
value :DEVOPS, 2
|
113
|
-
end
|
114
|
-
add_message "google.cloud.security.privateca.v1.CertificateRevocationList" do
|
115
|
-
optional :name, :string, 1
|
116
|
-
optional :sequence_number, :int64, 2
|
117
|
-
repeated :revoked_certificates, :message, 3, "google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate"
|
118
|
-
optional :pem_crl, :string, 4
|
119
|
-
optional :access_url, :string, 5
|
120
|
-
optional :state, :enum, 6, "google.cloud.security.privateca.v1.CertificateRevocationList.State"
|
121
|
-
optional :create_time, :message, 7, "google.protobuf.Timestamp"
|
122
|
-
optional :update_time, :message, 8, "google.protobuf.Timestamp"
|
123
|
-
optional :revision_id, :string, 9
|
124
|
-
map :labels, :string, :string, 10
|
125
|
-
end
|
126
|
-
add_message "google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate" do
|
127
|
-
optional :certificate, :string, 1
|
128
|
-
optional :hex_serial_number, :string, 2
|
129
|
-
optional :revocation_reason, :enum, 3, "google.cloud.security.privateca.v1.RevocationReason"
|
130
|
-
end
|
131
|
-
add_enum "google.cloud.security.privateca.v1.CertificateRevocationList.State" do
|
132
|
-
value :STATE_UNSPECIFIED, 0
|
133
|
-
value :ACTIVE, 1
|
134
|
-
value :SUPERSEDED, 2
|
135
|
-
end
|
136
|
-
add_message "google.cloud.security.privateca.v1.Certificate" do
|
137
|
-
optional :name, :string, 1
|
138
|
-
optional :issuer_certificate_authority, :string, 4
|
139
|
-
optional :lifetime, :message, 5, "google.protobuf.Duration"
|
140
|
-
optional :certificate_template, :string, 6
|
141
|
-
optional :subject_mode, :enum, 7, "google.cloud.security.privateca.v1.SubjectRequestMode"
|
142
|
-
optional :revocation_details, :message, 8, "google.cloud.security.privateca.v1.Certificate.RevocationDetails"
|
143
|
-
optional :pem_certificate, :string, 9
|
144
|
-
optional :certificate_description, :message, 10, "google.cloud.security.privateca.v1.CertificateDescription"
|
145
|
-
repeated :pem_certificate_chain, :string, 11
|
146
|
-
optional :create_time, :message, 12, "google.protobuf.Timestamp"
|
147
|
-
optional :update_time, :message, 13, "google.protobuf.Timestamp"
|
148
|
-
map :labels, :string, :string, 14
|
149
|
-
oneof :certificate_config do
|
150
|
-
optional :pem_csr, :string, 2
|
151
|
-
optional :config, :message, 3, "google.cloud.security.privateca.v1.CertificateConfig"
|
152
|
-
end
|
153
|
-
end
|
154
|
-
add_message "google.cloud.security.privateca.v1.Certificate.RevocationDetails" do
|
155
|
-
optional :revocation_state, :enum, 1, "google.cloud.security.privateca.v1.RevocationReason"
|
156
|
-
optional :revocation_time, :message, 2, "google.protobuf.Timestamp"
|
157
|
-
end
|
158
|
-
add_message "google.cloud.security.privateca.v1.CertificateTemplate" do
|
159
|
-
optional :name, :string, 1
|
160
|
-
optional :predefined_values, :message, 2, "google.cloud.security.privateca.v1.X509Parameters"
|
161
|
-
optional :identity_constraints, :message, 3, "google.cloud.security.privateca.v1.CertificateIdentityConstraints"
|
162
|
-
optional :passthrough_extensions, :message, 4, "google.cloud.security.privateca.v1.CertificateExtensionConstraints"
|
163
|
-
optional :description, :string, 5
|
164
|
-
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
165
|
-
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
166
|
-
map :labels, :string, :string, 8
|
167
|
-
end
|
168
|
-
add_message "google.cloud.security.privateca.v1.X509Parameters" do
|
169
|
-
optional :key_usage, :message, 1, "google.cloud.security.privateca.v1.KeyUsage"
|
170
|
-
optional :ca_options, :message, 2, "google.cloud.security.privateca.v1.X509Parameters.CaOptions"
|
171
|
-
repeated :policy_ids, :message, 3, "google.cloud.security.privateca.v1.ObjectId"
|
172
|
-
repeated :aia_ocsp_servers, :string, 4
|
173
|
-
optional :name_constraints, :message, 6, "google.cloud.security.privateca.v1.X509Parameters.NameConstraints"
|
174
|
-
repeated :additional_extensions, :message, 5, "google.cloud.security.privateca.v1.X509Extension"
|
175
|
-
end
|
176
|
-
add_message "google.cloud.security.privateca.v1.X509Parameters.CaOptions" do
|
177
|
-
proto3_optional :is_ca, :bool, 1
|
178
|
-
proto3_optional :max_issuer_path_length, :int32, 2
|
179
|
-
end
|
180
|
-
add_message "google.cloud.security.privateca.v1.X509Parameters.NameConstraints" do
|
181
|
-
optional :critical, :bool, 1
|
182
|
-
repeated :permitted_dns_names, :string, 2
|
183
|
-
repeated :excluded_dns_names, :string, 3
|
184
|
-
repeated :permitted_ip_ranges, :string, 4
|
185
|
-
repeated :excluded_ip_ranges, :string, 5
|
186
|
-
repeated :permitted_email_addresses, :string, 6
|
187
|
-
repeated :excluded_email_addresses, :string, 7
|
188
|
-
repeated :permitted_uris, :string, 8
|
189
|
-
repeated :excluded_uris, :string, 9
|
190
|
-
end
|
191
|
-
add_message "google.cloud.security.privateca.v1.SubordinateConfig" do
|
192
|
-
oneof :subordinate_config do
|
193
|
-
optional :certificate_authority, :string, 1
|
194
|
-
optional :pem_issuer_chain, :message, 2, "google.cloud.security.privateca.v1.SubordinateConfig.SubordinateConfigChain"
|
195
|
-
end
|
196
|
-
end
|
197
|
-
add_message "google.cloud.security.privateca.v1.SubordinateConfig.SubordinateConfigChain" do
|
198
|
-
repeated :pem_certificates, :string, 1
|
199
|
-
end
|
200
|
-
add_message "google.cloud.security.privateca.v1.PublicKey" do
|
201
|
-
optional :key, :bytes, 1
|
202
|
-
optional :format, :enum, 2, "google.cloud.security.privateca.v1.PublicKey.KeyFormat"
|
203
|
-
end
|
204
|
-
add_enum "google.cloud.security.privateca.v1.PublicKey.KeyFormat" do
|
205
|
-
value :KEY_FORMAT_UNSPECIFIED, 0
|
206
|
-
value :PEM, 1
|
207
|
-
end
|
208
|
-
add_message "google.cloud.security.privateca.v1.CertificateConfig" do
|
209
|
-
optional :subject_config, :message, 1, "google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig"
|
210
|
-
optional :x509_config, :message, 2, "google.cloud.security.privateca.v1.X509Parameters"
|
211
|
-
optional :public_key, :message, 3, "google.cloud.security.privateca.v1.PublicKey"
|
212
|
-
end
|
213
|
-
add_message "google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig" do
|
214
|
-
optional :subject, :message, 1, "google.cloud.security.privateca.v1.Subject"
|
215
|
-
optional :subject_alt_name, :message, 2, "google.cloud.security.privateca.v1.SubjectAltNames"
|
216
|
-
end
|
217
|
-
add_message "google.cloud.security.privateca.v1.CertificateDescription" do
|
218
|
-
optional :subject_description, :message, 1, "google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription"
|
219
|
-
optional :x509_description, :message, 2, "google.cloud.security.privateca.v1.X509Parameters"
|
220
|
-
optional :public_key, :message, 3, "google.cloud.security.privateca.v1.PublicKey"
|
221
|
-
optional :subject_key_id, :message, 4, "google.cloud.security.privateca.v1.CertificateDescription.KeyId"
|
222
|
-
optional :authority_key_id, :message, 5, "google.cloud.security.privateca.v1.CertificateDescription.KeyId"
|
223
|
-
repeated :crl_distribution_points, :string, 6
|
224
|
-
repeated :aia_issuing_certificate_urls, :string, 7
|
225
|
-
optional :cert_fingerprint, :message, 8, "google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint"
|
226
|
-
end
|
227
|
-
add_message "google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription" do
|
228
|
-
optional :subject, :message, 1, "google.cloud.security.privateca.v1.Subject"
|
229
|
-
optional :subject_alt_name, :message, 2, "google.cloud.security.privateca.v1.SubjectAltNames"
|
230
|
-
optional :hex_serial_number, :string, 3
|
231
|
-
optional :lifetime, :message, 4, "google.protobuf.Duration"
|
232
|
-
optional :not_before_time, :message, 5, "google.protobuf.Timestamp"
|
233
|
-
optional :not_after_time, :message, 6, "google.protobuf.Timestamp"
|
234
|
-
end
|
235
|
-
add_message "google.cloud.security.privateca.v1.CertificateDescription.KeyId" do
|
236
|
-
optional :key_id, :string, 1
|
237
|
-
end
|
238
|
-
add_message "google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint" do
|
239
|
-
optional :sha256_hash, :string, 1
|
240
|
-
end
|
241
|
-
add_message "google.cloud.security.privateca.v1.ObjectId" do
|
242
|
-
repeated :object_id_path, :int32, 1
|
243
|
-
end
|
244
|
-
add_message "google.cloud.security.privateca.v1.X509Extension" do
|
245
|
-
optional :object_id, :message, 1, "google.cloud.security.privateca.v1.ObjectId"
|
246
|
-
optional :critical, :bool, 2
|
247
|
-
optional :value, :bytes, 3
|
248
|
-
end
|
249
|
-
add_message "google.cloud.security.privateca.v1.KeyUsage" do
|
250
|
-
optional :base_key_usage, :message, 1, "google.cloud.security.privateca.v1.KeyUsage.KeyUsageOptions"
|
251
|
-
optional :extended_key_usage, :message, 2, "google.cloud.security.privateca.v1.KeyUsage.ExtendedKeyUsageOptions"
|
252
|
-
repeated :unknown_extended_key_usages, :message, 3, "google.cloud.security.privateca.v1.ObjectId"
|
253
|
-
end
|
254
|
-
add_message "google.cloud.security.privateca.v1.KeyUsage.KeyUsageOptions" do
|
255
|
-
optional :digital_signature, :bool, 1
|
256
|
-
optional :content_commitment, :bool, 2
|
257
|
-
optional :key_encipherment, :bool, 3
|
258
|
-
optional :data_encipherment, :bool, 4
|
259
|
-
optional :key_agreement, :bool, 5
|
260
|
-
optional :cert_sign, :bool, 6
|
261
|
-
optional :crl_sign, :bool, 7
|
262
|
-
optional :encipher_only, :bool, 8
|
263
|
-
optional :decipher_only, :bool, 9
|
264
|
-
end
|
265
|
-
add_message "google.cloud.security.privateca.v1.KeyUsage.ExtendedKeyUsageOptions" do
|
266
|
-
optional :server_auth, :bool, 1
|
267
|
-
optional :client_auth, :bool, 2
|
268
|
-
optional :code_signing, :bool, 3
|
269
|
-
optional :email_protection, :bool, 4
|
270
|
-
optional :time_stamping, :bool, 5
|
271
|
-
optional :ocsp_signing, :bool, 6
|
272
|
-
end
|
273
|
-
add_message "google.cloud.security.privateca.v1.Subject" do
|
274
|
-
optional :common_name, :string, 1
|
275
|
-
optional :country_code, :string, 2
|
276
|
-
optional :organization, :string, 3
|
277
|
-
optional :organizational_unit, :string, 4
|
278
|
-
optional :locality, :string, 5
|
279
|
-
optional :province, :string, 6
|
280
|
-
optional :street_address, :string, 7
|
281
|
-
optional :postal_code, :string, 8
|
282
|
-
end
|
283
|
-
add_message "google.cloud.security.privateca.v1.SubjectAltNames" do
|
284
|
-
repeated :dns_names, :string, 1
|
285
|
-
repeated :uris, :string, 2
|
286
|
-
repeated :email_addresses, :string, 3
|
287
|
-
repeated :ip_addresses, :string, 4
|
288
|
-
repeated :custom_sans, :message, 5, "google.cloud.security.privateca.v1.X509Extension"
|
289
|
-
end
|
290
|
-
add_message "google.cloud.security.privateca.v1.CertificateIdentityConstraints" do
|
291
|
-
optional :cel_expression, :message, 1, "google.type.Expr"
|
292
|
-
proto3_optional :allow_subject_passthrough, :bool, 2
|
293
|
-
proto3_optional :allow_subject_alt_names_passthrough, :bool, 3
|
294
|
-
end
|
295
|
-
add_message "google.cloud.security.privateca.v1.CertificateExtensionConstraints" do
|
296
|
-
repeated :known_extensions, :enum, 1, "google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension"
|
297
|
-
repeated :additional_extensions, :message, 2, "google.cloud.security.privateca.v1.ObjectId"
|
298
|
-
end
|
299
|
-
add_enum "google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension" do
|
300
|
-
value :KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED, 0
|
301
|
-
value :BASE_KEY_USAGE, 1
|
302
|
-
value :EXTENDED_KEY_USAGE, 2
|
303
|
-
value :CA_OPTIONS, 3
|
304
|
-
value :POLICY_IDS, 4
|
305
|
-
value :AIA_OCSP_SERVERS, 5
|
306
|
-
value :NAME_CONSTRAINTS, 6
|
307
|
-
end
|
308
|
-
add_enum "google.cloud.security.privateca.v1.RevocationReason" do
|
309
|
-
value :REVOCATION_REASON_UNSPECIFIED, 0
|
310
|
-
value :KEY_COMPROMISE, 1
|
311
|
-
value :CERTIFICATE_AUTHORITY_COMPROMISE, 2
|
312
|
-
value :AFFILIATION_CHANGED, 3
|
313
|
-
value :SUPERSEDED, 4
|
314
|
-
value :CESSATION_OF_OPERATION, 5
|
315
|
-
value :CERTIFICATE_HOLD, 6
|
316
|
-
value :PRIVILEGE_WITHDRAWN, 7
|
317
|
-
value :ATTRIBUTE_AUTHORITY_COMPROMISE, 8
|
318
|
-
end
|
319
|
-
add_enum "google.cloud.security.privateca.v1.SubjectRequestMode" do
|
320
|
-
value :SUBJECT_REQUEST_MODE_UNSPECIFIED, 0
|
321
|
-
value :DEFAULT, 1
|
322
|
-
value :REFLECTED_SPIFFE, 2
|
13
|
+
|
14
|
+
descriptor_data = "\n2google/cloud/security/privateca/v1/resources.proto\x12\"google.cloud.security.privateca.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/expr.proto\"\xf5\x0f\n\x14\x43\x65rtificateAuthority\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12S\n\x04type\x18\x02 \x01(\x0e\x32=.google.cloud.security.privateca.v1.CertificateAuthority.TypeB\x06\xe0\x41\x02\xe0\x41\x05\x12M\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\x35.google.cloud.security.privateca.v1.CertificateConfigB\x06\xe0\x41\x02\xe0\x41\x05\x12\x33\n\x08lifetime\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x06\xe0\x41\x02\xe0\x41\x05\x12\x61\n\x08key_spec\x18\x05 \x01(\x0b\x32G.google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12V\n\x12subordinate_config\x18\x06 \x01(\x0b\x32\x35.google.cloud.security.privateca.v1.SubordinateConfigB\x03\xe0\x41\x01\x12\x42\n\x04tier\x18\x07 \x01(\x0e\x32/.google.cloud.security.privateca.v1.CaPool.TierB\x03\xe0\x41\x03\x12R\n\x05state\x18\x08 \x01(\x0e\x32>.google.cloud.security.privateca.v1.CertificateAuthority.StateB\x03\xe0\x41\x03\x12 \n\x13pem_ca_certificates\x18\t \x03(\tB\x03\xe0\x41\x03\x12\x64\n\x1b\x63\x61_certificate_descriptions\x18\n \x03(\x0b\x32:.google.cloud.security.privateca.v1.CertificateDescriptionB\x03\xe0\x41\x03\x12\x17\n\ngcs_bucket\x18\x0b \x01(\tB\x03\xe0\x41\x05\x12]\n\x0b\x61\x63\x63\x65ss_urls\x18\x0c \x01(\x0b\x32\x43.google.cloud.security.privateca.v1.CertificateAuthority.AccessUrlsB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Y\n\x06labels\x18\x11 \x03(\x0b\x32\x44.google.cloud.security.privateca.v1.CertificateAuthority.LabelsEntryB\x03\xe0\x41\x01\x1aH\n\nAccessUrls\x12!\n\x19\x63\x61_certificate_access_url\x18\x01 \x01(\t\x12\x17\n\x0f\x63rl_access_urls\x18\x02 \x03(\t\x1a\xa0\x01\n\x0eKeyVersionSpec\x12\x1f\n\x15\x63loud_kms_key_version\x18\x01 \x01(\tH\x00\x12_\n\talgorithm\x18\x02 \x01(\x0e\x32J.google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithmH\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\"p\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\n\n\x06STAGED\x10\x03\x12\x1c\n\x18\x41WAITING_USER_ACTIVATION\x10\x04\x12\x0b\n\x07\x44\x45LETED\x10\x05\"\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:\x9d\x01\xea\x41\x99\x01\n-privateca.googleapis.com/CertificateAuthority\x12hprojects/{project}/locations/{location}/caPools/{ca_pool}/certificateAuthorities/{certificate_authority}\"\xf0\x0e\n\x06\x43\x61Pool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x04tier\x18\x02 \x01(\x0e\x32/.google.cloud.security.privateca.v1.CaPool.TierB\x06\xe0\x41\x02\xe0\x41\x05\x12W\n\x0fissuance_policy\x18\x03 \x01(\x0b\x32\x39.google.cloud.security.privateca.v1.CaPool.IssuancePolicyB\x03\xe0\x41\x01\x12]\n\x12publishing_options\x18\x04 \x01(\x0b\x32<.google.cloud.security.privateca.v1.CaPool.PublishingOptionsB\x03\xe0\x41\x01\x12K\n\x06labels\x18\x05 \x03(\x0b\x32\x36.google.cloud.security.privateca.v1.CaPool.LabelsEntryB\x03\xe0\x41\x01\x1aK\n\x11PublishingOptions\x12\x1c\n\x0fpublish_ca_cert\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0bpublish_crl\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xef\t\n\x0eIssuancePolicy\x12h\n\x11\x61llowed_key_types\x18\x01 \x03(\x0b\x32H.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyTypeB\x03\xe0\x41\x01\x12\x38\n\x10maximum_lifetime\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12l\n\x16\x61llowed_issuance_modes\x18\x03 \x01(\x0b\x32G.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.IssuanceModesB\x03\xe0\x41\x01\x12P\n\x0f\x62\x61seline_values\x18\x04 \x01(\x0b\x32\x32.google.cloud.security.privateca.v1.X509ParametersB\x03\xe0\x41\x01\x12\x65\n\x14identity_constraints\x18\x05 \x01(\x0b\x32\x42.google.cloud.security.privateca.v1.CertificateIdentityConstraintsB\x03\xe0\x41\x01\x12h\n\x16passthrough_extensions\x18\x06 \x01(\x0b\x32\x43.google.cloud.security.privateca.v1.CertificateExtensionConstraintsB\x03\xe0\x41\x01\x1a\xc5\x04\n\x0e\x41llowedKeyType\x12\x62\n\x03rsa\x18\x01 \x01(\x0b\x32S.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeH\x00\x12l\n\x0e\x65lliptic_curve\x18\x02 \x01(\x0b\x32R.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyTypeH\x00\x1aJ\n\nRsaKeyType\x12\x1d\n\x10min_modulus_size\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1d\n\x10max_modulus_size\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x1a\x88\x02\n\tEcKeyType\x12\x89\x01\n\x13signature_algorithm\x18\x01 \x01(\x0e\x32g.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.EcSignatureAlgorithmB\x03\xe0\x41\x01\"o\n\x14\x45\x63SignatureAlgorithm\x12&\n\"EC_SIGNATURE_ALGORITHM_UNSPECIFIED\x10\x00\x12\x0e\n\nECDSA_P256\x10\x01\x12\x0e\n\nECDSA_P384\x10\x02\x12\x0f\n\x0b\x45\x44\x44SA_25519\x10\x03\x42\n\n\x08key_type\x1a`\n\rIssuanceModes\x12%\n\x18\x61llow_csr_based_issuance\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12(\n\x1b\x61llow_config_based_issuance\x18\x02 \x01(\x08\x42\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\"8\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x0e\n\nENTERPRISE\x10\x01\x12\n\n\x06\x44\x45VOPS\x10\x02:_\xea\x41\\\n\x1fprivateca.googleapis.com/CaPool\x12\x39projects/{project}/locations/{location}/caPools/{ca_pool}\"\xbc\x08\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\x12s\n\x14revoked_certificates\x18\x03 \x03(\x0b\x32P.google.cloud.security.privateca.v1.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\x12W\n\x05state\x18\x06 \x01(\x0e\x32\x43.google.cloud.security.privateca.v1.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\x18\n\x0brevision_id\x18\t \x01(\tB\x03\xe0\x41\x03\x12^\n\x06labels\x18\n \x03(\x0b\x32I.google.cloud.security.privateca.v1.CertificateRevocationList.LabelsEntryB\x03\xe0\x41\x01\x1a\xc0\x01\n\x12RevokedCertificate\x12>\n\x0b\x63\x65rtificate\x18\x01 \x01(\tB)\xfa\x41&\n$privateca.googleapis.com/Certificate\x12\x19\n\x11hex_serial_number\x18\x02 \x01(\t\x12O\n\x11revocation_reason\x18\x03 \x01(\x0e\x32\x34.google.cloud.security.privateca.v1.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:\xdc\x01\xea\x41\xd8\x01\n2privateca.googleapis.com/CertificateRevocationList\x12\xa1\x01projects/{project}/locations/{location}/caPools/{ca_pool}/certificateAuthorities/{certificate_authority}/certificateRevocationLists/{certificate_revocation_list}\"\x8f\n\n\x0b\x43\x65rtificate\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x03\xfa\x41&\n$privateca.googleapis.com/Certificate\x12\x16\n\x07pem_csr\x18\x02 \x01(\tB\x03\xe0\x41\x05H\x00\x12L\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\x35.google.cloud.security.privateca.v1.CertificateConfigB\x03\xe0\x41\x05H\x00\x12[\n\x1cissuer_certificate_authority\x18\x04 \x01(\tB5\xe0\x41\x03\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x33\n\x08lifetime\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x06\xe0\x41\x02\xe0\x41\x05\x12R\n\x14\x63\x65rtificate_template\x18\x06 \x01(\tB4\xe0\x41\x05\xfa\x41.\n,privateca.googleapis.com/CertificateTemplate\x12Q\n\x0csubject_mode\x18\x07 \x01(\x0e\x32\x36.google.cloud.security.privateca.v1.SubjectRequestModeB\x03\xe0\x41\x05\x12\x62\n\x12revocation_details\x18\x08 \x01(\x0b\x32\x41.google.cloud.security.privateca.v1.Certificate.RevocationDetailsB\x03\xe0\x41\x03\x12\x1c\n\x0fpem_certificate\x18\t \x01(\tB\x03\xe0\x41\x03\x12`\n\x17\x63\x65rtificate_description\x18\n \x01(\x0b\x32:.google.cloud.security.privateca.v1.CertificateDescriptionB\x03\xe0\x41\x03\x12\"\n\x15pem_certificate_chain\x18\x0b \x03(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12P\n\x06labels\x18\x0e \x03(\x0b\x32;.google.cloud.security.privateca.v1.Certificate.LabelsEntryB\x03\xe0\x41\x01\x1a\x98\x01\n\x11RevocationDetails\x12N\n\x10revocation_state\x18\x01 \x01(\x0e\x32\x34.google.cloud.security.privateca.v1.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:\x7f\xea\x41|\n$privateca.googleapis.com/Certificate\x12Tprojects/{project}/locations/{location}/caPools/{ca_pool}/certificates/{certificate}B\x14\n\x12\x63\x65rtificate_config\"\x97\x06\n\x13\x43\x65rtificateTemplate\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x03\xfa\x41.\n,privateca.googleapis.com/CertificateTemplate\x12R\n\x11predefined_values\x18\x02 \x01(\x0b\x32\x32.google.cloud.security.privateca.v1.X509ParametersB\x03\xe0\x41\x01\x12\x65\n\x14identity_constraints\x18\x03 \x01(\x0b\x32\x42.google.cloud.security.privateca.v1.CertificateIdentityConstraintsB\x03\xe0\x41\x01\x12h\n\x16passthrough_extensions\x18\x04 \x01(\x0b\x32\x43.google.cloud.security.privateca.v1.CertificateExtensionConstraintsB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12X\n\x06labels\x18\x08 \x03(\x0b\x32\x43.google.cloud.security.privateca.v1.CertificateTemplate.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:\x87\x01\xea\x41\x83\x01\n,privateca.googleapis.com/CertificateTemplate\x12Sprojects/{project}/locations/{location}/certificateTemplates/{certificate_template}\"\xce\x06\n\x0eX509Parameters\x12\x44\n\tkey_usage\x18\x01 \x01(\x0b\x32,.google.cloud.security.privateca.v1.KeyUsageB\x03\xe0\x41\x01\x12U\n\nca_options\x18\x02 \x01(\x0b\x32<.google.cloud.security.privateca.v1.X509Parameters.CaOptionsB\x03\xe0\x41\x01\x12\x45\n\npolicy_ids\x18\x03 \x03(\x0b\x32,.google.cloud.security.privateca.v1.ObjectIdB\x03\xe0\x41\x01\x12\x1d\n\x10\x61ia_ocsp_servers\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x61\n\x10name_constraints\x18\x06 \x01(\x0b\x32\x42.google.cloud.security.privateca.v1.X509Parameters.NameConstraintsB\x03\xe0\x41\x01\x12U\n\x15\x61\x64\x64itional_extensions\x18\x05 \x03(\x0b\x32\x31.google.cloud.security.privateca.v1.X509ExtensionB\x03\xe0\x41\x01\x1as\n\tCaOptions\x12\x17\n\x05is_ca\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12(\n\x16max_issuer_path_length\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x08\n\x06_is_caB\x19\n\x17_max_issuer_path_length\x1a\x89\x02\n\x0fNameConstraints\x12\x10\n\x08\x63ritical\x18\x01 \x01(\x08\x12\x1b\n\x13permitted_dns_names\x18\x02 \x03(\t\x12\x1a\n\x12\x65xcluded_dns_names\x18\x03 \x03(\t\x12\x1b\n\x13permitted_ip_ranges\x18\x04 \x03(\t\x12\x1a\n\x12\x65xcluded_ip_ranges\x18\x05 \x03(\t\x12!\n\x19permitted_email_addresses\x18\x06 \x03(\t\x12 \n\x18\x65xcluded_email_addresses\x18\x07 \x03(\t\x12\x16\n\x0epermitted_uris\x18\x08 \x03(\t\x12\x15\n\rexcluded_uris\x18\t \x03(\t\"\xa9\x02\n\x11SubordinateConfig\x12V\n\x15\x63\x65rtificate_authority\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthorityH\x00\x12m\n\x10pem_issuer_chain\x18\x02 \x01(\x0b\x32L.google.cloud.security.privateca.v1.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\"\x9d\x01\n\tPublicKey\x12\x10\n\x03key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02\x12L\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x37.google.cloud.security.privateca.v1.PublicKey.KeyFormatB\x03\xe0\x41\x02\"0\n\tKeyFormat\x12\x1a\n\x16KEY_FORMAT_UNSPECIFIED\x10\x00\x12\x07\n\x03PEM\x10\x01\"\xb4\x03\n\x11\x43\x65rtificateConfig\x12`\n\x0esubject_config\x18\x01 \x01(\x0b\x32\x43.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfigB\x03\xe0\x41\x02\x12L\n\x0bx509_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.security.privateca.v1.X509ParametersB\x03\xe0\x41\x02\x12\x46\n\npublic_key\x18\x03 \x01(\x0b\x32-.google.cloud.security.privateca.v1.PublicKeyB\x03\xe0\x41\x01\x1a\xa6\x01\n\rSubjectConfig\x12\x41\n\x07subject\x18\x01 \x01(\x0b\x32+.google.cloud.security.privateca.v1.SubjectB\x03\xe0\x41\x02\x12R\n\x10subject_alt_name\x18\x02 \x01(\x0b\x32\x33.google.cloud.security.privateca.v1.SubjectAltNamesB\x03\xe0\x41\x01\"\xa1\x08\n\x16\x43\x65rtificateDescription\x12j\n\x13subject_description\x18\x01 \x01(\x0b\x32M.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription\x12L\n\x10x509_description\x18\x02 \x01(\x0b\x32\x32.google.cloud.security.privateca.v1.X509Parameters\x12\x41\n\npublic_key\x18\x03 \x01(\x0b\x32-.google.cloud.security.privateca.v1.PublicKey\x12X\n\x0esubject_key_id\x18\x04 \x01(\x0b\x32@.google.cloud.security.privateca.v1.CertificateDescription.KeyId\x12Z\n\x10\x61uthority_key_id\x18\x05 \x01(\x0b\x32@.google.cloud.security.privateca.v1.CertificateDescription.KeyId\x12\x1f\n\x17\x63rl_distribution_points\x18\x06 \x03(\t\x12$\n\x1c\x61ia_issuing_certificate_urls\x18\x07 \x03(\t\x12k\n\x10\x63\x65rt_fingerprint\x18\x08 \x01(\x0b\x32Q.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint\x1a\xd2\x02\n\x12SubjectDescription\x12<\n\x07subject\x18\x01 \x01(\x0b\x32+.google.cloud.security.privateca.v1.Subject\x12M\n\x10subject_alt_name\x18\x02 \x01(\x0b\x32\x33.google.cloud.security.privateca.v1.SubjectAltNames\x12\x19\n\x11hex_serial_number\x18\x03 \x01(\t\x12+\n\x08lifetime\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\x0fnot_before_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0enot_after_time\x18\x06 \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\"\x80\x01\n\rX509Extension\x12\x44\n\tobject_id\x18\x01 \x01(\x0b\x32,.google.cloud.security.privateca.v1.ObjectIdB\x03\xe0\x41\x02\x12\x15\n\x08\x63ritical\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05value\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x02\"\xa2\x05\n\x08KeyUsage\x12T\n\x0e\x62\x61se_key_usage\x18\x01 \x01(\x0b\x32<.google.cloud.security.privateca.v1.KeyUsage.KeyUsageOptions\x12`\n\x12\x65xtended_key_usage\x18\x02 \x01(\x0b\x32\x44.google.cloud.security.privateca.v1.KeyUsage.ExtendedKeyUsageOptions\x12Q\n\x1bunknown_extended_key_usages\x18\x03 \x03(\x0b\x32,.google.cloud.security.privateca.v1.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\"\xb8\x01\n\x07Subject\x12\x13\n\x0b\x63ommon_name\x18\x01 \x01(\t\x12\x14\n\x0c\x63ountry_code\x18\x02 \x01(\t\x12\x14\n\x0corganization\x18\x03 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x04 \x01(\t\x12\x10\n\x08locality\x18\x05 \x01(\t\x12\x10\n\x08province\x18\x06 \x01(\t\x12\x16\n\x0estreet_address\x18\x07 \x01(\t\x12\x13\n\x0bpostal_code\x18\x08 \x01(\t\"\xa9\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\x12\x46\n\x0b\x63ustom_sans\x18\x05 \x03(\x0b\x32\x31.google.cloud.security.privateca.v1.X509Extension\"\xfa\x01\n\x1e\x43\x65rtificateIdentityConstraints\x12.\n\x0e\x63\x65l_expression\x18\x01 \x01(\x0b\x32\x11.google.type.ExprB\x03\xe0\x41\x01\x12+\n\x19\x61llow_subject_passthrough\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02H\x00\x88\x01\x01\x12\x35\n#allow_subject_alt_names_passthrough\x18\x03 \x01(\x08\x42\x03\xe0\x41\x02H\x01\x88\x01\x01\x42\x1c\n\x1a_allow_subject_passthroughB&\n$_allow_subject_alt_names_passthrough\"\xb4\x03\n\x1f\x43\x65rtificateExtensionConstraints\x12|\n\x10known_extensions\x18\x01 \x03(\x0e\x32].google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtensionB\x03\xe0\x41\x01\x12P\n\x15\x61\x64\x64itional_extensions\x18\x02 \x03(\x0b\x32,.google.cloud.security.privateca.v1.ObjectIdB\x03\xe0\x41\x01\"\xc0\x01\n\x19KnownCertificateExtension\x12+\n\'KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x42\x41SE_KEY_USAGE\x10\x01\x12\x16\n\x12\x45XTENDED_KEY_USAGE\x10\x02\x12\x0e\n\nCA_OPTIONS\x10\x03\x12\x0e\n\nPOLICY_IDS\x10\x04\x12\x14\n\x10\x41IA_OCSP_SERVERS\x10\x05\x12\x14\n\x10NAME_CONSTRAINTS\x10\x06*\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*]\n\x12SubjectRequestMode\x12$\n SUBJECT_REQUEST_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x14\n\x10REFLECTED_SPIFFE\x10\x02\x42\xff\x01\n&com.google.cloud.security.privateca.v1B\x17PrivateCaResourcesProtoP\x01ZDcloud.google.com/go/security/privateca/apiv1/privatecapb;privatecapb\xf8\x01\x01\xaa\x02\"Google.Cloud.Security.PrivateCA.V1\xca\x02\"Google\\Cloud\\Security\\PrivateCA\\V1\xea\x02&Google::Cloud::Security::PrivateCA::V1b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError => e
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
30
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
31
|
+
["google.type.Expr", "google/type/expr.proto"],
|
32
|
+
]
|
33
|
+
imports.each do |type_name, expected_filename|
|
34
|
+
import_file = pool.lookup(type_name).file_descriptor
|
35
|
+
if import_file.name != expected_filename
|
36
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
323
37
|
end
|
324
38
|
end
|
39
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
40
|
+
warn "This will become an error in the next major version."
|
325
41
|
end
|
326
42
|
|
327
43
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/security/privateca/v1/service.proto
|
3
4
|
|
@@ -9,200 +10,38 @@ require 'google/api/field_behavior_pb'
|
|
9
10
|
require 'google/api/resource_pb'
|
10
11
|
require 'google/cloud/security/privateca/v1/resources_pb'
|
11
12
|
require 'google/longrunning/operations_pb'
|
13
|
+
require 'google/protobuf/empty_pb'
|
12
14
|
require 'google/protobuf/field_mask_pb'
|
13
15
|
require 'google/protobuf/timestamp_pb'
|
14
16
|
|
15
|
-
|
16
|
-
add_file("google/cloud/security/privateca/v1/service.proto", :syntax => :proto3) do
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
end
|
40
|
-
add_message "google.cloud.security.privateca.v1.RevokeCertificateRequest" do
|
41
|
-
optional :name, :string, 1
|
42
|
-
optional :reason, :enum, 2, "google.cloud.security.privateca.v1.RevocationReason"
|
43
|
-
optional :request_id, :string, 3
|
44
|
-
end
|
45
|
-
add_message "google.cloud.security.privateca.v1.UpdateCertificateRequest" do
|
46
|
-
optional :certificate, :message, 1, "google.cloud.security.privateca.v1.Certificate"
|
47
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
48
|
-
optional :request_id, :string, 3
|
49
|
-
end
|
50
|
-
add_message "google.cloud.security.privateca.v1.ActivateCertificateAuthorityRequest" do
|
51
|
-
optional :name, :string, 1
|
52
|
-
optional :pem_ca_certificate, :string, 2
|
53
|
-
optional :subordinate_config, :message, 3, "google.cloud.security.privateca.v1.SubordinateConfig"
|
54
|
-
optional :request_id, :string, 4
|
55
|
-
end
|
56
|
-
add_message "google.cloud.security.privateca.v1.CreateCertificateAuthorityRequest" do
|
57
|
-
optional :parent, :string, 1
|
58
|
-
optional :certificate_authority_id, :string, 2
|
59
|
-
optional :certificate_authority, :message, 3, "google.cloud.security.privateca.v1.CertificateAuthority"
|
60
|
-
optional :request_id, :string, 4
|
61
|
-
end
|
62
|
-
add_message "google.cloud.security.privateca.v1.DisableCertificateAuthorityRequest" do
|
63
|
-
optional :name, :string, 1
|
64
|
-
optional :request_id, :string, 2
|
65
|
-
end
|
66
|
-
add_message "google.cloud.security.privateca.v1.EnableCertificateAuthorityRequest" do
|
67
|
-
optional :name, :string, 1
|
68
|
-
optional :request_id, :string, 2
|
69
|
-
end
|
70
|
-
add_message "google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrRequest" do
|
71
|
-
optional :name, :string, 1
|
72
|
-
end
|
73
|
-
add_message "google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrResponse" do
|
74
|
-
optional :pem_csr, :string, 1
|
75
|
-
end
|
76
|
-
add_message "google.cloud.security.privateca.v1.GetCertificateAuthorityRequest" do
|
77
|
-
optional :name, :string, 1
|
78
|
-
end
|
79
|
-
add_message "google.cloud.security.privateca.v1.ListCertificateAuthoritiesRequest" do
|
80
|
-
optional :parent, :string, 1
|
81
|
-
optional :page_size, :int32, 2
|
82
|
-
optional :page_token, :string, 3
|
83
|
-
optional :filter, :string, 4
|
84
|
-
optional :order_by, :string, 5
|
85
|
-
end
|
86
|
-
add_message "google.cloud.security.privateca.v1.ListCertificateAuthoritiesResponse" do
|
87
|
-
repeated :certificate_authorities, :message, 1, "google.cloud.security.privateca.v1.CertificateAuthority"
|
88
|
-
optional :next_page_token, :string, 2
|
89
|
-
repeated :unreachable, :string, 3
|
90
|
-
end
|
91
|
-
add_message "google.cloud.security.privateca.v1.UndeleteCertificateAuthorityRequest" do
|
92
|
-
optional :name, :string, 1
|
93
|
-
optional :request_id, :string, 2
|
94
|
-
end
|
95
|
-
add_message "google.cloud.security.privateca.v1.DeleteCertificateAuthorityRequest" do
|
96
|
-
optional :name, :string, 1
|
97
|
-
optional :request_id, :string, 2
|
98
|
-
optional :ignore_active_certificates, :bool, 4
|
99
|
-
optional :skip_grace_period, :bool, 5
|
100
|
-
end
|
101
|
-
add_message "google.cloud.security.privateca.v1.UpdateCertificateAuthorityRequest" do
|
102
|
-
optional :certificate_authority, :message, 1, "google.cloud.security.privateca.v1.CertificateAuthority"
|
103
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
104
|
-
optional :request_id, :string, 3
|
105
|
-
end
|
106
|
-
add_message "google.cloud.security.privateca.v1.CreateCaPoolRequest" do
|
107
|
-
optional :parent, :string, 1
|
108
|
-
optional :ca_pool_id, :string, 2
|
109
|
-
optional :ca_pool, :message, 3, "google.cloud.security.privateca.v1.CaPool"
|
110
|
-
optional :request_id, :string, 4
|
111
|
-
end
|
112
|
-
add_message "google.cloud.security.privateca.v1.UpdateCaPoolRequest" do
|
113
|
-
optional :ca_pool, :message, 1, "google.cloud.security.privateca.v1.CaPool"
|
114
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
115
|
-
optional :request_id, :string, 3
|
116
|
-
end
|
117
|
-
add_message "google.cloud.security.privateca.v1.DeleteCaPoolRequest" do
|
118
|
-
optional :name, :string, 1
|
119
|
-
optional :request_id, :string, 2
|
120
|
-
end
|
121
|
-
add_message "google.cloud.security.privateca.v1.FetchCaCertsRequest" do
|
122
|
-
optional :ca_pool, :string, 1
|
123
|
-
optional :request_id, :string, 2
|
124
|
-
end
|
125
|
-
add_message "google.cloud.security.privateca.v1.FetchCaCertsResponse" do
|
126
|
-
repeated :ca_certs, :message, 1, "google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain"
|
127
|
-
end
|
128
|
-
add_message "google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain" do
|
129
|
-
repeated :certificates, :string, 1
|
130
|
-
end
|
131
|
-
add_message "google.cloud.security.privateca.v1.GetCaPoolRequest" do
|
132
|
-
optional :name, :string, 1
|
133
|
-
end
|
134
|
-
add_message "google.cloud.security.privateca.v1.ListCaPoolsRequest" do
|
135
|
-
optional :parent, :string, 1
|
136
|
-
optional :page_size, :int32, 2
|
137
|
-
optional :page_token, :string, 3
|
138
|
-
optional :filter, :string, 4
|
139
|
-
optional :order_by, :string, 5
|
140
|
-
end
|
141
|
-
add_message "google.cloud.security.privateca.v1.ListCaPoolsResponse" do
|
142
|
-
repeated :ca_pools, :message, 1, "google.cloud.security.privateca.v1.CaPool"
|
143
|
-
optional :next_page_token, :string, 2
|
144
|
-
repeated :unreachable, :string, 3
|
145
|
-
end
|
146
|
-
add_message "google.cloud.security.privateca.v1.GetCertificateRevocationListRequest" do
|
147
|
-
optional :name, :string, 1
|
148
|
-
end
|
149
|
-
add_message "google.cloud.security.privateca.v1.ListCertificateRevocationListsRequest" do
|
150
|
-
optional :parent, :string, 1
|
151
|
-
optional :page_size, :int32, 2
|
152
|
-
optional :page_token, :string, 3
|
153
|
-
optional :filter, :string, 4
|
154
|
-
optional :order_by, :string, 5
|
155
|
-
end
|
156
|
-
add_message "google.cloud.security.privateca.v1.ListCertificateRevocationListsResponse" do
|
157
|
-
repeated :certificate_revocation_lists, :message, 1, "google.cloud.security.privateca.v1.CertificateRevocationList"
|
158
|
-
optional :next_page_token, :string, 2
|
159
|
-
repeated :unreachable, :string, 3
|
160
|
-
end
|
161
|
-
add_message "google.cloud.security.privateca.v1.UpdateCertificateRevocationListRequest" do
|
162
|
-
optional :certificate_revocation_list, :message, 1, "google.cloud.security.privateca.v1.CertificateRevocationList"
|
163
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
164
|
-
optional :request_id, :string, 3
|
165
|
-
end
|
166
|
-
add_message "google.cloud.security.privateca.v1.CreateCertificateTemplateRequest" do
|
167
|
-
optional :parent, :string, 1
|
168
|
-
optional :certificate_template_id, :string, 2
|
169
|
-
optional :certificate_template, :message, 3, "google.cloud.security.privateca.v1.CertificateTemplate"
|
170
|
-
optional :request_id, :string, 4
|
171
|
-
end
|
172
|
-
add_message "google.cloud.security.privateca.v1.DeleteCertificateTemplateRequest" do
|
173
|
-
optional :name, :string, 1
|
174
|
-
optional :request_id, :string, 2
|
175
|
-
end
|
176
|
-
add_message "google.cloud.security.privateca.v1.GetCertificateTemplateRequest" do
|
177
|
-
optional :name, :string, 1
|
178
|
-
end
|
179
|
-
add_message "google.cloud.security.privateca.v1.ListCertificateTemplatesRequest" do
|
180
|
-
optional :parent, :string, 1
|
181
|
-
optional :page_size, :int32, 2
|
182
|
-
optional :page_token, :string, 3
|
183
|
-
optional :filter, :string, 4
|
184
|
-
optional :order_by, :string, 5
|
185
|
-
end
|
186
|
-
add_message "google.cloud.security.privateca.v1.ListCertificateTemplatesResponse" do
|
187
|
-
repeated :certificate_templates, :message, 1, "google.cloud.security.privateca.v1.CertificateTemplate"
|
188
|
-
optional :next_page_token, :string, 2
|
189
|
-
repeated :unreachable, :string, 3
|
190
|
-
end
|
191
|
-
add_message "google.cloud.security.privateca.v1.UpdateCertificateTemplateRequest" do
|
192
|
-
optional :certificate_template, :message, 1, "google.cloud.security.privateca.v1.CertificateTemplate"
|
193
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
194
|
-
optional :request_id, :string, 3
|
195
|
-
end
|
196
|
-
add_message "google.cloud.security.privateca.v1.OperationMetadata" do
|
197
|
-
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
198
|
-
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
199
|
-
optional :target, :string, 3
|
200
|
-
optional :verb, :string, 4
|
201
|
-
optional :status_message, :string, 5
|
202
|
-
optional :requested_cancellation, :bool, 6
|
203
|
-
optional :api_version, :string, 7
|
17
|
+
|
18
|
+
descriptor_data = "\n0google/cloud/security/privateca/v1/service.proto\x12\"google.cloud.security.privateca.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/security/privateca/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9f\x02\n\x18\x43reateCertificateRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPool\x12\x1b\n\x0e\x63\x65rtificate_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12I\n\x0b\x63\x65rtificate\x18\x03 \x01(\x0b\x32/.google.cloud.security.privateca.v1.CertificateB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12-\n issuing_certificate_authority_id\x18\x06 \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\"\xaf\x01\n\x17ListCertificatesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPool\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\"\x8f\x01\n\x18ListCertificatesResponse\x12\x45\n\x0c\x63\x65rtificates\x18\x01 \x03(\x0b\x32/.google.cloud.security.privateca.v1.Certificate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xba\x01\n\x18RevokeCertificateRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$privateca.googleapis.com/Certificate\x12I\n\x06reason\x18\x02 \x01(\x0e\x32\x34.google.cloud.security.privateca.v1.RevocationReasonB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xb4\x01\n\x18UpdateCertificateRequest\x12I\n\x0b\x63\x65rtificate\x18\x01 \x01(\x0b\x32/.google.cloud.security.privateca.v1.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\"\xfc\x01\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\x12V\n\x12subordinate_config\x18\x03 \x01(\x0b\x32\x35.google.cloud.security.privateca.v1.SubordinateConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xfa\x01\n!CreateCertificateAuthorityRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPool\x12%\n\x18\x63\x65rtificate_authority_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\\\n\x15\x63\x65rtificate_authority\x18\x03 \x01(\x0b\x32\x38.google.cloud.security.privateca.v1.CertificateAuthorityB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xab\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\x12\'\n\x1aignore_dependent_resources\x18\x03 \x01(\x08\x42\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\"\xb9\x01\n!ListCertificateAuthoritiesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPool\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\"\xad\x01\n\"ListCertificateAuthoritiesResponse\x12Y\n\x17\x63\x65rtificate_authorities\x18\x01 \x03(\x0b\x32\x38.google.cloud.security.privateca.v1.CertificateAuthority\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x83\x01\n#UndeleteCertificateAuthorityRequest\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\"\xf3\x01\n!DeleteCertificateAuthorityRequest\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\x12\'\n\x1aignore_active_certificates\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x11skip_grace_period\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\'\n\x1aignore_dependent_resources\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\xd0\x01\n!UpdateCertificateAuthorityRequest\x12\\\n\x15\x63\x65rtificate_authority\x18\x01 \x01(\x0b\x32\x38.google.cloud.security.privateca.v1.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\"\xc4\x01\n\x13\x43reateCaPoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x17\n\nca_pool_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x07\x63\x61_pool\x18\x03 \x01(\x0b\x32*.google.cloud.security.privateca.v1.CaPoolB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa6\x01\n\x13UpdateCaPoolRequest\x12@\n\x07\x63\x61_pool\x18\x01 \x01(\x0b\x32*.google.cloud.security.privateca.v1.CaPoolB\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\"\x8e\x01\n\x13\x44\x65leteCaPoolRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPool\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\'\n\x1aignore_dependent_resources\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"h\n\x13\x46\x65tchCaCertsRequest\x12\x38\n\x07\x63\x61_pool\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPool\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x8f\x01\n\x14\x46\x65tchCaCertsResponse\x12T\n\x08\x63\x61_certs\x18\x01 \x03(\x0b\x32\x42.google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain\x1a!\n\tCertChain\x12\x14\n\x0c\x63\x65rtificates\x18\x01 \x03(\t\"I\n\x10GetCaPoolRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPool\"\xac\x01\n\x12ListCaPoolsRequest\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\"\x81\x01\n\x13ListCaPoolsResponse\x12<\n\x08\x63\x61_pools\x18\x01 \x03(\x0b\x32*.google.cloud.security.privateca.v1.CaPool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"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\"\xbb\x01\n&ListCertificateRevocationListsResponse\x12\x63\n\x1c\x63\x65rtificate_revocation_lists\x18\x01 \x03(\x0b\x32=.google.cloud.security.privateca.v1.CertificateRevocationList\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xe0\x01\n&UpdateCertificateRevocationListRequest\x12g\n\x1b\x63\x65rtificate_revocation_list\x18\x01 \x01(\x0b\x32=.google.cloud.security.privateca.v1.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\"\xf8\x01\n CreateCertificateTemplateRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12$\n\x17\x63\x65rtificate_template_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Z\n\x14\x63\x65rtificate_template\x18\x03 \x01(\x0b\x32\x37.google.cloud.security.privateca.v1.CertificateTemplateB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x7f\n DeleteCertificateTemplateRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,privateca.googleapis.com/CertificateTemplate\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"c\n\x1dGetCertificateTemplateRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,privateca.googleapis.com/CertificateTemplate\"\xb9\x01\n\x1fListCertificateTemplatesRequest\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\"\xa8\x01\n ListCertificateTemplatesResponse\x12V\n\x15\x63\x65rtificate_templates\x18\x01 \x03(\x0b\x32\x37.google.cloud.security.privateca.v1.CertificateTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xcd\x01\n UpdateCertificateTemplateRequest\x12Z\n\x14\x63\x65rtificate_template\x18\x01 \x01(\x0b\x32\x37.google.cloud.security.privateca.v1.CertificateTemplateB\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\"\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\xfa;\n\x1b\x43\x65rtificateAuthorityService\x12\xf7\x01\n\x11\x43reateCertificate\x12<.google.cloud.security.privateca.v1.CreateCertificateRequest\x1a/.google.cloud.security.privateca.v1.Certificate\"s\x82\xd3\xe4\x93\x02I\":/v1/{parent=projects/*/locations/*/caPools/*}/certificates:\x0b\x63\x65rtificate\xda\x41!parent,certificate,certificate_id\x12\xc7\x01\n\x0eGetCertificate\x12\x39.google.cloud.security.privateca.v1.GetCertificateRequest\x1a/.google.cloud.security.privateca.v1.Certificate\"I\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/caPools/*/certificates/*}\xda\x41\x04name\x12\xda\x01\n\x10ListCertificates\x12;.google.cloud.security.privateca.v1.ListCertificatesRequest\x1a<.google.cloud.security.privateca.v1.ListCertificatesResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/caPools/*}/certificates\xda\x41\x06parent\x12\xd7\x01\n\x11RevokeCertificate\x12<.google.cloud.security.privateca.v1.RevokeCertificateRequest\x1a/.google.cloud.security.privateca.v1.Certificate\"S\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/caPools/*/certificates/*}:revoke:\x01*\xda\x41\x04name\x12\xf9\x01\n\x11UpdateCertificate\x12<.google.cloud.security.privateca.v1.UpdateCertificateRequest\x1a/.google.cloud.security.privateca.v1.Certificate\"u\x82\xd3\xe4\x93\x02U2F/v1/{certificate.name=projects/*/locations/*/caPools/*/certificates/*}:\x0b\x63\x65rtificate\xda\x41\x17\x63\x65rtificate,update_mask\x12\x94\x02\n\x1c\x41\x63tivateCertificateAuthority\x12G.google.cloud.security.privateca.v1.ActivateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\x82\xd3\xe4\x93\x02R\"M/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:activate:\x01*\xda\x41\x04name\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\xcc\x02\n\x1a\x43reateCertificateAuthority\x12\x45.google.cloud.security.privateca.v1.CreateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\xc7\x01\x82\xd3\xe4\x93\x02]\"D/v1/{parent=projects/*/locations/*/caPools/*}/certificateAuthorities:\x15\x63\x65rtificate_authority\xda\x41\x35parent,certificate_authority,certificate_authority_id\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\x91\x02\n\x1b\x44isableCertificateAuthority\x12\x46.google.cloud.security.privateca.v1.DisableCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02Q\"L/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:disable:\x01*\xda\x41\x04name\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\x8e\x02\n\x1a\x45nableCertificateAuthority\x12\x45.google.cloud.security.privateca.v1.EnableCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02P\"K/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:enable:\x01*\xda\x41\x04name\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\x8c\x02\n\x1c\x46\x65tchCertificateAuthorityCsr\x12G.google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrRequest\x1aH.google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrResponse\"Y\x82\xd3\xe4\x93\x02L\x12J/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:fetch\xda\x41\x04name\x12\xec\x01\n\x17GetCertificateAuthority\x12\x42.google.cloud.security.privateca.v1.GetCertificateAuthorityRequest\x1a\x38.google.cloud.security.privateca.v1.CertificateAuthority\"S\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}\xda\x41\x04name\x12\x82\x02\n\x1aListCertificateAuthorities\x12\x45.google.cloud.security.privateca.v1.ListCertificateAuthoritiesRequest\x1a\x46.google.cloud.security.privateca.v1.ListCertificateAuthoritiesResponse\"U\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/*/caPools/*}/certificateAuthorities\xda\x41\x06parent\x12\x94\x02\n\x1cUndeleteCertificateAuthority\x12G.google.cloud.security.privateca.v1.UndeleteCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\x82\xd3\xe4\x93\x02R\"M/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:undelete:\x01*\xda\x41\x04name\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\x83\x02\n\x1a\x44\x65leteCertificateAuthority\x12\x45.google.cloud.security.privateca.v1.DeleteCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02\x46*D/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}\xda\x41\x04name\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\xce\x02\n\x1aUpdateCertificateAuthority\x12\x45.google.cloud.security.privateca.v1.UpdateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\xc9\x01\x82\xd3\xe4\x93\x02s2Z/v1/{certificate_authority.name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:\x15\x63\x65rtificate_authority\xda\x41!certificate_authority,update_mask\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\xde\x01\n\x0c\x43reateCaPool\x12\x37.google.cloud.security.privateca.v1.CreateCaPoolRequest\x1a\x1d.google.longrunning.Operation\"v\x82\xd3\xe4\x93\x02\x36\"+/v1/{parent=projects/*/locations/*}/caPools:\x07\x63\x61_pool\xda\x41\x19parent,ca_pool,ca_pool_id\xca\x41\x1b\n\x06\x43\x61Pool\x12\x11OperationMetadata\x12\xe0\x01\n\x0cUpdateCaPool\x12\x37.google.cloud.security.privateca.v1.UpdateCaPoolRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02>23/v1/{ca_pool.name=projects/*/locations/*/caPools/*}:\x07\x63\x61_pool\xda\x41\x13\x63\x61_pool,update_mask\xca\x41\x1b\n\x06\x43\x61Pool\x12\x11OperationMetadata\x12\xa9\x01\n\tGetCaPool\x12\x34.google.cloud.security.privateca.v1.GetCaPoolRequest\x1a*.google.cloud.security.privateca.v1.CaPool\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/caPools/*}\xda\x41\x04name\x12\xbc\x01\n\x0bListCaPools\x12\x36.google.cloud.security.privateca.v1.ListCaPoolsRequest\x1a\x37.google.cloud.security.privateca.v1.ListCaPoolsResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/caPools\xda\x41\x06parent\x12\xcf\x01\n\x0c\x44\x65leteCaPool\x12\x37.google.cloud.security.privateca.v1.DeleteCaPoolRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/caPools/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xd3\x01\n\x0c\x46\x65tchCaCerts\x12\x37.google.cloud.security.privateca.v1.FetchCaCertsRequest\x1a\x38.google.cloud.security.privateca.v1.FetchCaCertsResponse\"P\x82\xd3\xe4\x93\x02@\";/v1/{ca_pool=projects/*/locations/*/caPools/*}:fetchCaCerts:\x01*\xda\x41\x07\x63\x61_pool\x12\x98\x02\n\x1cGetCertificateRevocationList\x12G.google.cloud.security.privateca.v1.GetCertificateRevocationListRequest\x1a=.google.cloud.security.privateca.v1.CertificateRevocationList\"p\x82\xd3\xe4\x93\x02\x63\x12\x61/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*/certificateRevocationLists/*}\xda\x41\x04name\x12\xab\x02\n\x1eListCertificateRevocationLists\x12I.google.cloud.security.privateca.v1.ListCertificateRevocationListsRequest\x1aJ.google.cloud.security.privateca.v1.ListCertificateRevocationListsResponse\"r\x82\xd3\xe4\x93\x02\x63\x12\x61/v1/{parent=projects/*/locations/*/caPools/*/certificateAuthorities/*}/certificateRevocationLists\xda\x41\x06parent\x12\x8d\x03\n\x1fUpdateCertificateRevocationList\x12J.google.cloud.security.privateca.v1.UpdateCertificateRevocationListRequest\x1a\x1d.google.longrunning.Operation\"\xfe\x01\x82\xd3\xe4\x93\x02\x9c\x01\x32}/v1/{certificate_revocation_list.name=projects/*/locations/*/caPools/*/certificateAuthorities/*/certificateRevocationLists/*}:\x1b\x63\x65rtificate_revocation_list\xda\x41\'certificate_revocation_list,update_mask\xca\x41.\n\x19\x43\x65rtificateRevocationList\x12\x11OperationMetadata\x12\xba\x02\n\x19\x43reateCertificateTemplate\x12\x44.google.cloud.security.privateca.v1.CreateCertificateTemplateRequest\x1a\x1d.google.longrunning.Operation\"\xb7\x01\x82\xd3\xe4\x93\x02P\"8/v1/{parent=projects/*/locations/*}/certificateTemplates:\x14\x63\x65rtificate_template\xda\x41\x33parent,certificate_template,certificate_template_id\xca\x41(\n\x13\x43\x65rtificateTemplate\x12\x11OperationMetadata\x12\x9a\x02\n\x19\x44\x65leteCertificateTemplate\x12\x44.google.cloud.security.privateca.v1.DeleteCertificateTemplateRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\x82\xd3\xe4\x93\x02:*8/v1/{name=projects/*/locations/*/certificateTemplates/*}\xda\x41\x04name\xca\x41M\n\x15google.protobuf.Empty\x12\x34google.cloud.security.privateca.v1.OperationMetadata\x12\xdd\x01\n\x16GetCertificateTemplate\x12\x41.google.cloud.security.privateca.v1.GetCertificateTemplateRequest\x1a\x37.google.cloud.security.privateca.v1.CertificateTemplate\"G\x82\xd3\xe4\x93\x02:\x12\x38/v1/{name=projects/*/locations/*/certificateTemplates/*}\xda\x41\x04name\x12\xf0\x01\n\x18ListCertificateTemplates\x12\x43.google.cloud.security.privateca.v1.ListCertificateTemplatesRequest\x1a\x44.google.cloud.security.privateca.v1.ListCertificateTemplatesResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*}/certificateTemplates\xda\x41\x06parent\x12\xbc\x02\n\x19UpdateCertificateTemplate\x12\x44.google.cloud.security.privateca.v1.UpdateCertificateTemplateRequest\x1a\x1d.google.longrunning.Operation\"\xb9\x01\x82\xd3\xe4\x93\x02\x65\x32M/v1/{certificate_template.name=projects/*/locations/*/certificateTemplates/*}:\x14\x63\x65rtificate_template\xda\x41 certificate_template,update_mask\xca\x41(\n\x13\x43\x65rtificateTemplate\x12\x11OperationMetadata\x1aL\xca\x41\x18privateca.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf6\x01\n&com.google.cloud.security.privateca.v1B\x0ePrivateCaProtoP\x01ZDcloud.google.com/go/security/privateca/apiv1/privatecapb;privatecapb\xf8\x01\x01\xaa\x02\"Google.Cloud.Security.PrivateCA.V1\xca\x02\"Google\\Cloud\\Security\\PrivateCA\\V1\xea\x02&Google::Cloud::Security::PrivateCA::V1b\x06proto3"
|
19
|
+
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
|
+
|
22
|
+
begin
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
24
|
+
rescue TypeError => e
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
28
|
+
parsed.clear_dependency
|
29
|
+
serialized = parsed.class.encode(parsed)
|
30
|
+
file = pool.add_serialized_file(serialized)
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
|
+
imports = [
|
33
|
+
["google.cloud.security.privateca.v1.Certificate", "google/cloud/security/privateca/v1/resources.proto"],
|
34
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
35
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
36
|
+
]
|
37
|
+
imports.each do |type_name, expected_filename|
|
38
|
+
import_file = pool.lookup(type_name).file_descriptor
|
39
|
+
if import_file.name != expected_filename
|
40
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
204
41
|
end
|
205
42
|
end
|
43
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
44
|
+
warn "This will become an error in the next major version."
|
206
45
|
end
|
207
46
|
|
208
47
|
module Google
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -81,7 +83,7 @@ module Google
|
|
81
83
|
# long-running operation pattern.
|
82
84
|
# @!attribute [rw] new_issue_uri
|
83
85
|
# @return [::String]
|
84
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
85
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
88
|
# @!attribute [rw] documentation_uri
|
87
89
|
# @return [::String]
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -299,6 +353,15 @@ module Google
|
|
299
353
|
|
300
354
|
# Street View Org.
|
301
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
302
365
|
end
|
303
366
|
|
304
367
|
# To where should client libraries be published?
|
@@ -1459,7 +1459,7 @@ module Google
|
|
1459
1459
|
DEFAULT = 1
|
1460
1460
|
|
1461
1461
|
# A mode reserved for special cases. Indicates that the certificate should
|
1462
|
-
# have one
|
1462
|
+
# have one SPIFFE
|
1463
1463
|
# {::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames SubjectAltNames} set
|
1464
1464
|
# by the service based on the caller's identity. This mode will ignore any
|
1465
1465
|
# explicitly specified {::Google::Cloud::Security::PrivateCA::V1::Subject Subject}
|
@@ -313,6 +313,12 @@ module Google
|
|
313
313
|
#
|
314
314
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
315
315
|
# not supported (00000000-0000-0000-0000-000000000000).
|
316
|
+
# @!attribute [rw] ignore_dependent_resources
|
317
|
+
# @return [::Boolean]
|
318
|
+
# Optional. This field allows this CA to be disabled even if it's being
|
319
|
+
# depended on by another resource. However, doing so may result in unintended
|
320
|
+
# and unrecoverable effects on any dependent resource(s) since the CA will
|
321
|
+
# no longer be able to issue certificates.
|
316
322
|
class DisableCertificateAuthorityRequest
|
317
323
|
include ::Google::Protobuf::MessageExts
|
318
324
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -490,6 +496,12 @@ module Google
|
|
490
496
|
# Optional. If this flag is set, the Certificate Authority will be deleted as
|
491
497
|
# soon as possible without a 30-day grace period where undeletion would have
|
492
498
|
# been allowed. If you proceed, there will be no way to recover this CA.
|
499
|
+
# @!attribute [rw] ignore_dependent_resources
|
500
|
+
# @return [::Boolean]
|
501
|
+
# Optional. This field allows this ca to be deleted even if it's being
|
502
|
+
# depended on by another resource. However, doing so may result in unintended
|
503
|
+
# and unrecoverable effects on any dependent resource(s) since the CA will
|
504
|
+
# no longer be able to issue certificates.
|
493
505
|
class DeleteCertificateAuthorityRequest
|
494
506
|
include ::Google::Protobuf::MessageExts
|
495
507
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -611,6 +623,12 @@ module Google
|
|
611
623
|
#
|
612
624
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
613
625
|
# not supported (00000000-0000-0000-0000-000000000000).
|
626
|
+
# @!attribute [rw] ignore_dependent_resources
|
627
|
+
# @return [::Boolean]
|
628
|
+
# Optional. This field allows this pool to be deleted even if it's being
|
629
|
+
# depended on by another resource. However, doing so may result in unintended
|
630
|
+
# and unrecoverable effects on any dependent resource(s) since the pool will
|
631
|
+
# no longer be able to issue certificates.
|
614
632
|
class DeleteCaPoolRequest
|
615
633
|
include ::Google::Protobuf::MessageExts
|
616
634
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-security-private_ca-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|