Struct google_api_proto::google::cloud::edgecontainer::v1::node_pool::LocalDiskEncryption
source · pub struct LocalDiskEncryption {
pub kms_key: String,
pub kms_key_active_version: String,
pub kms_key_state: i32,
pub kms_status: Option<Status>,
}
Expand description
Configuration for CMEK support for edge machine local disk encryption.
Fields§
§kms_key: String
Immutable. The Cloud KMS CryptoKey e.g. projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} to use for protecting node local disks. If not specified, a Google-managed key will be used instead.
kms_key_active_version: String
Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local disks. Only applicable if kms_key is set.
kms_key_state: i32
Output only. Availability of the Cloud KMS CryptoKey. If not
KEY_AVAILABLE
, then nodes may go offline as they cannot access their
local data. This can be caused by a lack of permissions to use the key,
or if the key is disabled or deleted.
kms_status: Option<Status>
Output only. Error status returned by Cloud KMS when using this key. This
field may be populated only if kms_key_state
is not
KMS_KEY_STATE_KEY_AVAILABLE
. If populated, this field contains the
error status reported by Cloud KMS.
Implementations§
source§impl LocalDiskEncryption
impl LocalDiskEncryption
sourcepub fn kms_key_state(&self) -> KmsKeyState
pub fn kms_key_state(&self) -> KmsKeyState
Returns the enum value of kms_key_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_kms_key_state(&mut self, value: KmsKeyState)
pub fn set_kms_key_state(&mut self, value: KmsKeyState)
Sets kms_key_state
to the provided enum value.
Trait Implementations§
source§impl Clone for LocalDiskEncryption
impl Clone for LocalDiskEncryption
source§fn clone(&self) -> LocalDiskEncryption
fn clone(&self) -> LocalDiskEncryption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LocalDiskEncryption
impl Debug for LocalDiskEncryption
source§impl Default for LocalDiskEncryption
impl Default for LocalDiskEncryption
source§impl Message for LocalDiskEncryption
impl Message for LocalDiskEncryption
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 LocalDiskEncryption
impl PartialEq for LocalDiskEncryption
source§fn eq(&self, other: &LocalDiskEncryption) -> bool
fn eq(&self, other: &LocalDiskEncryption) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LocalDiskEncryption
Auto Trait Implementations§
impl Freeze for LocalDiskEncryption
impl RefUnwindSafe for LocalDiskEncryption
impl Send for LocalDiskEncryption
impl Sync for LocalDiskEncryption
impl Unpin for LocalDiskEncryption
impl UnwindSafe for LocalDiskEncryption
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