Struct google_api_proto::google::cloud::networksecurity::v1::ClientTlsPolicy
source · pub struct ClientTlsPolicy {
pub name: String,
pub description: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub sni: String,
pub client_certificate: Option<CertificateProvider>,
pub server_validation_ca: Vec<ValidationCa>,
}
Expand description
ClientTlsPolicy is a resource that specifies how a client should authenticate connections to backends of a service. This resource itself does not affect configuration unless it is attached to a backend service resource.
Fields§
§name: String
Required. Name of the ClientTlsPolicy resource. It matches the pattern
projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}
description: String
Optional. Free-text description of the resource.
create_time: Option<Timestamp>
Output only. The timestamp when the resource was created.
update_time: Option<Timestamp>
Output only. The timestamp when the resource was updated.
labels: BTreeMap<String, String>
Optional. Set of label tags associated with the resource.
sni: String
Optional. Server Name Indication string to present to the server during TLS handshake. E.g: “secure.example.com”.
client_certificate: Option<CertificateProvider>
Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.
server_validation_ca: Vec<ValidationCa>
Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.
Trait Implementations§
source§impl Clone for ClientTlsPolicy
impl Clone for ClientTlsPolicy
source§fn clone(&self) -> ClientTlsPolicy
fn clone(&self) -> ClientTlsPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClientTlsPolicy
impl Debug for ClientTlsPolicy
source§impl Default for ClientTlsPolicy
impl Default for ClientTlsPolicy
source§impl Message for ClientTlsPolicy
impl Message for ClientTlsPolicy
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ClientTlsPolicy
impl PartialEq for ClientTlsPolicy
source§fn eq(&self, other: &ClientTlsPolicy) -> bool
fn eq(&self, other: &ClientTlsPolicy) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientTlsPolicy
Auto Trait Implementations§
impl Freeze for ClientTlsPolicy
impl RefUnwindSafe for ClientTlsPolicy
impl Send for ClientTlsPolicy
impl Sync for ClientTlsPolicy
impl Unpin for ClientTlsPolicy
impl UnwindSafe for ClientTlsPolicy
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request