pub struct ServiceResolver {
pub endpoint_filter: Option<String>,
pub hostname: Option<String>,
pub server_certificates: Option<Vec<Certificate>>,
pub service_directory_service: Option<String>,
}
Expand description
A ServiceResolver represents an EKM replica that can be reached within an EkmConnection.
This type is not used in any activity, and only used as part of another schema.
Fields§
§endpoint_filter: Option<String>
Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
hostname: Option<String>
Required. The hostname of the EKM replica used at TLS and HTTP layers.
server_certificates: Option<Vec<Certificate>>
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.
service_directory_service: Option<String>
Required. The resource name of the Service Directory service pointing to an EKM replica, in the format projects/*/locations/*/namespaces/*/services/*
.
Trait Implementations§
Source§impl Clone for ServiceResolver
impl Clone for ServiceResolver
Source§fn clone(&self) -> ServiceResolver
fn clone(&self) -> ServiceResolver
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ServiceResolver
impl Debug for ServiceResolver
Source§impl Default for ServiceResolver
impl Default for ServiceResolver
Source§fn default() -> ServiceResolver
fn default() -> ServiceResolver
Source§impl<'de> Deserialize<'de> for ServiceResolver
impl<'de> Deserialize<'de> for ServiceResolver
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 ServiceResolver
impl Serialize for ServiceResolver
impl Part for ServiceResolver
Auto Trait Implementations§
impl Freeze for ServiceResolver
impl RefUnwindSafe for ServiceResolver
impl Send for ServiceResolver
impl Sync for ServiceResolver
impl Unpin for ServiceResolver
impl UnwindSafe for ServiceResolver
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