pub struct TlsInspectionPolicy {
pub ca_pool: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub custom_tls_features: Option<Vec<String>>,
pub description: Option<String>,
pub exclude_public_ca_set: Option<bool>,
pub min_tls_version: Option<String>,
pub name: Option<String>,
pub tls_feature_profile: Option<String>,
pub trust_config: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
The TlsInspectionPolicy resource contains references to CA pools in Certificate Authority Service and associated metadata.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§ca_pool: Option<String>
Required. A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form “projects/{project}/locations/{location}/caPools/{ca_pool}”.
create_time: Option<DateTime<Utc>>
Output only. The timestamp when the resource was created.
custom_tls_features: Option<Vec<String>>
Optional. List of custom TLS cipher suites selected. This field is valid only if the selected tls_feature_profile is CUSTOM. The compute.SslPoliciesService.ListAvailableFeatures method returns the set of features that can be specified in this list. Note that Secure Web Proxy does not yet honor this field.
description: Option<String>
Optional. Free-text description of the resource.
exclude_public_ca_set: Option<bool>
Optional. If FALSE (the default), use our default set of public CAs in addition to any CAs specified in trust_config. These public CAs are currently based on the Mozilla Root Program and are subject to change over time. If TRUE, do not accept our default set of public CAs. Only CAs specified in trust_config will be accepted. This defaults to FALSE (use public CAs in addition to trust_config) for backwards compatibility, but trusting public root CAs is not recommended unless the traffic in question is outbound to public web servers. When possible, prefer setting this to “false” and explicitly specifying trusted CAs and certificates in a TrustConfig. Note that Secure Web Proxy does not yet honor this field.
min_tls_version: Option<String>
Optional. Minimum TLS version that the firewall should use when negotiating connections with both clients and servers. If this is not set, then the default value is to allow the broadest set of clients and servers (TLS 1.0 or higher). Setting this to more restrictive values may improve security, but may also prevent the firewall from connecting to some clients or servers. Note that Secure Web Proxy does not yet honor this field.
name: Option<String>
Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the pattern:(^a-z?$).
tls_feature_profile: Option<String>
Optional. The selected Profile. If this is not set, then the default value is to allow the broadest set of clients and servers (“PROFILE_COMPATIBLE”). Setting this to more restrictive values may improve security, but may also prevent the TLS inspection proxy from connecting to some clients or servers. Note that Secure Web Proxy does not yet honor this field.
trust_config: Option<String>
Optional. A TrustConfig resource used when making a connection to the TLS server. This is a relative resource path following the form “projects/{project}/locations/{location}/trustConfigs/{trust_config}”. This is necessary to intercept TLS connections to servers with certificates signed by a private CA or self-signed certificates. Note that Secure Web Proxy does not yet honor this field.
update_time: Option<DateTime<Utc>>
Output only. The timestamp when the resource was updated.
Trait Implementations§
Source§impl Clone for TlsInspectionPolicy
impl Clone for TlsInspectionPolicy
Source§fn clone(&self) -> TlsInspectionPolicy
fn clone(&self) -> TlsInspectionPolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TlsInspectionPolicy
impl Debug for TlsInspectionPolicy
Source§impl Default for TlsInspectionPolicy
impl Default for TlsInspectionPolicy
Source§fn default() -> TlsInspectionPolicy
fn default() -> TlsInspectionPolicy
Source§impl<'de> Deserialize<'de> for TlsInspectionPolicy
impl<'de> Deserialize<'de> for TlsInspectionPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for TlsInspectionPolicy
impl Serialize for TlsInspectionPolicy
impl RequestValue for TlsInspectionPolicy
impl ResponseResult for TlsInspectionPolicy
Auto Trait Implementations§
impl Freeze for TlsInspectionPolicy
impl RefUnwindSafe for TlsInspectionPolicy
impl Send for TlsInspectionPolicy
impl Sync for TlsInspectionPolicy
impl Unpin for TlsInspectionPolicy
impl UnwindSafe for TlsInspectionPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more