pub struct MTLSPolicy {
pub client_validation_ca: Option<Vec<ValidationCA>>,
pub client_validation_mode: Option<String>,
pub client_validation_trust_config: Option<String>,
}Expand description
Specification of the MTLSPolicy.
This type is not used in any activity, and only used as part of another schema.
Fields§
§client_validation_ca: Option<Vec<ValidationCA>>Required if the policy is to be used with Traffic Director. For external HTTPS load balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
client_validation_mode: Option<String>When the client presents an invalid certificate or no certificate to the load balancer, the client_validation_mode specifies how the client connection is handled. Required if the policy is to be used with the external HTTPS load balancing. For Traffic Director it must be empty.
client_validation_trust_config: Option<String>Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with external HTTPS load balancers.
Trait Implementations§
Source§impl Clone for MTLSPolicy
impl Clone for MTLSPolicy
Source§fn clone(&self) -> MTLSPolicy
fn clone(&self) -> MTLSPolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MTLSPolicy
impl Debug for MTLSPolicy
Source§impl Default for MTLSPolicy
impl Default for MTLSPolicy
Source§fn default() -> MTLSPolicy
fn default() -> MTLSPolicy
Source§impl<'de> Deserialize<'de> for MTLSPolicy
impl<'de> Deserialize<'de> for MTLSPolicy
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 MTLSPolicy
impl Serialize for MTLSPolicy
impl Part for MTLSPolicy
Auto Trait Implementations§
impl Freeze for MTLSPolicy
impl RefUnwindSafe for MTLSPolicy
impl Send for MTLSPolicy
impl Sync for MTLSPolicy
impl Unpin for MTLSPolicy
impl UnwindSafe for MTLSPolicy
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