Struct google_api_proto::google::cloud::managedidentities::v1::Trust
source · pub struct Trust {
pub target_domain_name: String,
pub trust_type: i32,
pub trust_direction: i32,
pub selective_authentication: bool,
pub target_dns_ip_addresses: Vec<String>,
pub trust_handshake_secret: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub state: i32,
pub state_description: String,
pub last_trust_heartbeat_time: Option<Timestamp>,
}
Expand description
Represents a relationship between two domains. This allows a controller in one domain to authenticate a user in another domain.
Fields§
§target_domain_name: String
Required. The fully qualified target domain name which will be in trust with the current domain.
trust_type: i32
Required. The type of trust represented by the trust resource.
trust_direction: i32
Required. The trust direction, which decides if the current domain is trusted, trusting, or both.
selective_authentication: bool
Optional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.
target_dns_ip_addresses: Vec<String>
Required. The target DNS server IP addresses which can resolve the remote domain involved in the trust.
trust_handshake_secret: String
Required. The trust secret used for the handshake with the target domain. This will not be stored.
create_time: Option<Timestamp>
Output only. The time the instance was created.
update_time: Option<Timestamp>
Output only. The last update time.
state: i32
Output only. The current state of the trust.
state_description: String
Output only. Additional information about the current state of the trust, if available.
last_trust_heartbeat_time: Option<Timestamp>
Output only. The last heartbeat time when the trust was known to be connected.
Implementations§
source§impl Trust
impl Trust
sourcepub fn trust_type(&self) -> TrustType
pub fn trust_type(&self) -> TrustType
Returns the enum value of trust_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_trust_type(&mut self, value: TrustType)
pub fn set_trust_type(&mut self, value: TrustType)
Sets trust_type
to the provided enum value.
sourcepub fn trust_direction(&self) -> TrustDirection
pub fn trust_direction(&self) -> TrustDirection
Returns the enum value of trust_direction
, or the default if the field is set to an invalid enum value.
sourcepub fn set_trust_direction(&mut self, value: TrustDirection)
pub fn set_trust_direction(&mut self, value: TrustDirection)
Sets trust_direction
to the provided enum value.
Trait Implementations§
source§impl Message for Trust
impl Message for Trust
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 Trust
impl PartialEq for Trust
impl StructuralPartialEq for Trust
Auto Trait Implementations§
impl Freeze for Trust
impl RefUnwindSafe for Trust
impl Send for Trust
impl Sync for Trust
impl Unpin for Trust
impl UnwindSafe for Trust
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