Struct google_api_proto::google::cloud::edgecontainer::v1::cluster::ControlPlaneEncryption
source · pub struct ControlPlaneEncryption {
pub kms_key: String,
pub kms_key_active_version: String,
pub kms_key_state: i32,
pub kms_status: Option<Status>,
}
Expand description
Configuration for Customer-managed KMS key support for remote control plane cluster 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 control plane 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 control plane 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 ControlPlaneEncryption
impl ControlPlaneEncryption
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 ControlPlaneEncryption
impl Clone for ControlPlaneEncryption
source§fn clone(&self) -> ControlPlaneEncryption
fn clone(&self) -> ControlPlaneEncryption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ControlPlaneEncryption
impl Debug for ControlPlaneEncryption
source§impl Default for ControlPlaneEncryption
impl Default for ControlPlaneEncryption
source§impl Message for ControlPlaneEncryption
impl Message for ControlPlaneEncryption
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 ControlPlaneEncryption
impl PartialEq for ControlPlaneEncryption
source§fn eq(&self, other: &ControlPlaneEncryption) -> bool
fn eq(&self, other: &ControlPlaneEncryption) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ControlPlaneEncryption
Auto Trait Implementations§
impl Freeze for ControlPlaneEncryption
impl RefUnwindSafe for ControlPlaneEncryption
impl Send for ControlPlaneEncryption
impl Sync for ControlPlaneEncryption
impl Unpin for ControlPlaneEncryption
impl UnwindSafe for ControlPlaneEncryption
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