Class: Google::Cloud::CertificateManager::V1::TrustConfig
- Inherits:
-
Object
- Object
- Google::Cloud::CertificateManager::V1::TrustConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/certificatemanager/v1/trust_config.rb
Overview
Defines a trust config.
Defined Under Namespace
Classes: IntermediateCA, LabelsEntry, TrustAnchor, TrustStore
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
One or more paragraphs of text description of a TrustConfig.
-
#etag ⇒ ::String
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Set of labels associated with a TrustConfig.
-
#name ⇒ ::String
A user-defined name of the trust config.
-
#trust_stores ⇒ ::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore>
Set of trust stores to perform validation against.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The creation timestamp of a TrustConfig.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'proto_docs/google/cloud/certificatemanager/v1/trust_config.rb', line 154 class TrustConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a trust anchor. # @!attribute [rw] pem_certificate # @return [::String] # PEM root certificate of the PKI used for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class TrustAnchor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines an intermediate CA. # @!attribute [rw] pem_certificate # @return [::String] # PEM intermediate certificate used for building up paths # for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class IntermediateCA include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a trust store. # @!attribute [rw] trust_anchors # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>] # List of Trust Anchors to be used while performing validation # against a given TrustStore. # @!attribute [rw] intermediate_cas # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>] # Set of intermediate CA certificates used for the path building # phase of chain validation. # # The field is currently not supported if TrustConfig is used for the # workload certificate feature. class TrustStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#description ⇒ ::String
Returns One or more paragraphs of text description of a TrustConfig.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'proto_docs/google/cloud/certificatemanager/v1/trust_config.rb', line 154 class TrustConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a trust anchor. # @!attribute [rw] pem_certificate # @return [::String] # PEM root certificate of the PKI used for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class TrustAnchor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines an intermediate CA. # @!attribute [rw] pem_certificate # @return [::String] # PEM intermediate certificate used for building up paths # for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class IntermediateCA include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a trust store. # @!attribute [rw] trust_anchors # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>] # List of Trust Anchors to be used while performing validation # against a given TrustStore. # @!attribute [rw] intermediate_cas # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>] # Set of intermediate CA certificates used for the path building # phase of chain validation. # # The field is currently not supported if TrustConfig is used for the # workload certificate feature. class TrustStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#etag ⇒ ::String
Returns This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'proto_docs/google/cloud/certificatemanager/v1/trust_config.rb', line 154 class TrustConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a trust anchor. # @!attribute [rw] pem_certificate # @return [::String] # PEM root certificate of the PKI used for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class TrustAnchor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines an intermediate CA. # @!attribute [rw] pem_certificate # @return [::String] # PEM intermediate certificate used for building up paths # for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class IntermediateCA include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a trust store. # @!attribute [rw] trust_anchors # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>] # List of Trust Anchors to be used while performing validation # against a given TrustStore. # @!attribute [rw] intermediate_cas # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>] # Set of intermediate CA certificates used for the path building # phase of chain validation. # # The field is currently not supported if TrustConfig is used for the # workload certificate feature. class TrustStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Set of labels associated with a TrustConfig.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'proto_docs/google/cloud/certificatemanager/v1/trust_config.rb', line 154 class TrustConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a trust anchor. # @!attribute [rw] pem_certificate # @return [::String] # PEM root certificate of the PKI used for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class TrustAnchor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines an intermediate CA. # @!attribute [rw] pem_certificate # @return [::String] # PEM intermediate certificate used for building up paths # for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class IntermediateCA include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a trust store. # @!attribute [rw] trust_anchors # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>] # List of Trust Anchors to be used while performing validation # against a given TrustStore. # @!attribute [rw] intermediate_cas # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>] # Set of intermediate CA certificates used for the path building # phase of chain validation. # # The field is currently not supported if TrustConfig is used for the # workload certificate feature. class TrustStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns A user-defined name of the trust config. TrustConfig names must be
unique globally and match pattern
projects/*/locations/*/trustConfigs/*
.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'proto_docs/google/cloud/certificatemanager/v1/trust_config.rb', line 154 class TrustConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a trust anchor. # @!attribute [rw] pem_certificate # @return [::String] # PEM root certificate of the PKI used for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class TrustAnchor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines an intermediate CA. # @!attribute [rw] pem_certificate # @return [::String] # PEM intermediate certificate used for building up paths # for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class IntermediateCA include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a trust store. # @!attribute [rw] trust_anchors # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>] # List of Trust Anchors to be used while performing validation # against a given TrustStore. # @!attribute [rw] intermediate_cas # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>] # Set of intermediate CA certificates used for the path building # phase of chain validation. # # The field is currently not supported if TrustConfig is used for the # workload certificate feature. class TrustStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#trust_stores ⇒ ::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore>
Returns Set of trust stores to perform validation against.
This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation.
Only one TrustStore specified is currently allowed.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'proto_docs/google/cloud/certificatemanager/v1/trust_config.rb', line 154 class TrustConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a trust anchor. # @!attribute [rw] pem_certificate # @return [::String] # PEM root certificate of the PKI used for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class TrustAnchor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines an intermediate CA. # @!attribute [rw] pem_certificate # @return [::String] # PEM intermediate certificate used for building up paths # for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class IntermediateCA include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a trust store. # @!attribute [rw] trust_anchors # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>] # List of Trust Anchors to be used while performing validation # against a given TrustStore. # @!attribute [rw] intermediate_cas # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>] # Set of intermediate CA certificates used for the path building # phase of chain validation. # # The field is currently not supported if TrustConfig is used for the # workload certificate feature. class TrustStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The last update timestamp of a TrustConfig.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'proto_docs/google/cloud/certificatemanager/v1/trust_config.rb', line 154 class TrustConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a trust anchor. # @!attribute [rw] pem_certificate # @return [::String] # PEM root certificate of the PKI used for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class TrustAnchor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines an intermediate CA. # @!attribute [rw] pem_certificate # @return [::String] # PEM intermediate certificate used for building up paths # for validation. # # Each certificate provided in PEM format may occupy up to 5kB. class IntermediateCA include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a trust store. # @!attribute [rw] trust_anchors # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>] # List of Trust Anchors to be used while performing validation # against a given TrustStore. # @!attribute [rw] intermediate_cas # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>] # Set of intermediate CA certificates used for the path building # phase of chain validation. # # The field is currently not supported if TrustConfig is used for the # workload certificate feature. class TrustStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |