pub struct DatabaseEncryption {
pub current_state: Option<String>,
pub decryption_keys: Option<Vec<String>>,
pub key_name: Option<String>,
pub last_operation_errors: Option<Vec<OperationError>>,
pub state: Option<String>,
}
Expand description
Configuration of etcd encryption.
This type is not used in any activity, and only used as part of another schema.
Fields§
§current_state: Option<String>
Output only. The current state of etcd encryption.
decryption_keys: Option<Vec<String>>
Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in key_name
. Each item is a CloudKMS key resource.
key_name: Option<String>
Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
last_operation_errors: Option<Vec<OperationError>>
Output only. Records errors seen during DatabaseEncryption update operations.
state: Option<String>
The desired state of etcd encryption.
Trait Implementations§
Source§impl Clone for DatabaseEncryption
impl Clone for DatabaseEncryption
Source§fn clone(&self) -> DatabaseEncryption
fn clone(&self) -> DatabaseEncryption
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DatabaseEncryption
impl Debug for DatabaseEncryption
Source§impl Default for DatabaseEncryption
impl Default for DatabaseEncryption
Source§fn default() -> DatabaseEncryption
fn default() -> DatabaseEncryption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatabaseEncryption
impl<'de> Deserialize<'de> for DatabaseEncryption
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DatabaseEncryption
impl Serialize for DatabaseEncryption
impl Part for DatabaseEncryption
Auto Trait Implementations§
impl Freeze for DatabaseEncryption
impl RefUnwindSafe for DatabaseEncryption
impl Send for DatabaseEncryption
impl Sync for DatabaseEncryption
impl Unpin for DatabaseEncryption
impl UnwindSafe for DatabaseEncryption
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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