proto_docs/google/cloud/security/privateca/v1/resources.rb in google-cloud-security-private_ca-v1-0.12.0 vs proto_docs/google/cloud/security/privateca/v1/resources.rb in google-cloud-security-private_ca-v1-0.13.0
- old
+ new
@@ -351,13 +351,35 @@
# {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificates}. If this
# is false, CRLs will not be published and the corresponding X.509
# extension will not be written in issued certificates. CRLs will expire 7
# days from their creation. However, we will rebuild daily. CRLs are also
# rebuilt shortly after a certificate is revoked.
+ # @!attribute [rw] encoding_format
+ # @return [::Google::Cloud::Security::PrivateCA::V1::CaPool::PublishingOptions::EncodingFormat]
+ # Optional. Specifies the encoding format of each
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority}
+ # resource's CA certificate and CRLs. If this is omitted, CA certificates
+ # and CRLs will be published in PEM.
class PublishingOptions
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # Supported encoding formats for publishing.
+ module EncodingFormat
+ # Not specified. By default, PEM format will be used.
+ ENCODING_FORMAT_UNSPECIFIED = 0
+
+ # The
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority}'s
+ # CA certificate and CRLs will be published in PEM format.
+ PEM = 1
+
+ # The
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority}'s
+ # CA certificate and CRLs will be published in DER format.
+ DER = 2
+ end
end
# Defines controls over all certificate issuance within a
# {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool}.
# @!attribute [rw] allowed_key_types
@@ -371,13 +393,13 @@
# Optional. The maximum lifetime allowed for issued
# {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificates}. Note that
# if the issuing
# {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority}
# expires before a
- # {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate}'s requested
- # maximum_lifetime, the effective lifetime will be explicitly truncated to
- # match it.
+ # {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate} resource's
+ # requested maximum_lifetime, the effective lifetime will be explicitly
+ # truncated to match it.
# @!attribute [rw] allowed_issuance_modes
# @return [::Google::Cloud::Security::PrivateCA::V1::CaPool::IssuancePolicy::IssuanceModes]
# Optional. If specified, then only methods allowed in the
# {::Google::Cloud::Security::PrivateCA::V1::CaPool::IssuancePolicy::IssuanceModes IssuanceModes}
# may be used to issue
@@ -745,11 +767,11 @@
# @!attribute [rw] maximum_lifetime
# @return [::Google::Protobuf::Duration]
# Optional. The maximum lifetime allowed for issued
# {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificates} that use
# this template. If the issuing
- # {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool}'s
+ # {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool} resource's
# {::Google::Cloud::Security::PrivateCA::V1::CaPool::IssuancePolicy IssuancePolicy}
# specifies a
# {::Google::Cloud::Security::PrivateCA::V1::CaPool::IssuancePolicy#maximum_lifetime maximum_lifetime}
# the minimum of the two durations will be the maximum lifetime for issued
# {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificates}. Note that
@@ -1028,11 +1050,11 @@
# CSR.
# @!attribute [rw] subject_key_id
# @return [::Google::Cloud::Security::PrivateCA::V1::CertificateConfig::KeyId]
# Optional. When specified this provides a custom SKI to be used in the
# certificate. This should only be used to maintain a SKI of an existing CA
- # originally created outside CAS, which was not generated using method (1)
- # described in RFC 5280 section 4.2.1.2.
+ # originally created outside CA service, which was not generated using method
+ # (1) described in RFC 5280 section 4.2.1.2.
class CertificateConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# These values are used to create the distinguished name and subject