pub struct CmekConfig {
pub kms_key: Option<String>,
pub name: Option<String>,
}
Expand description
Describes the customer-managed encryption key (CMEK) configuration associated with a project and location.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations get cmek config projects (response)
- locations update cmek config projects (request|response)
Fields§
§kms_key: Option<String>
Resource name of the Cloud KMS key, of the form projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID
, that will be used to encrypt the Queues & Tasks in the region. Setting this as blank will turn off CMEK encryption.
name: Option<String>
Output only. The config resource name which includes the project and location and must end in ‘cmekConfig’, in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`
Trait Implementations§
Source§impl Clone for CmekConfig
impl Clone for CmekConfig
Source§fn clone(&self) -> CmekConfig
fn clone(&self) -> CmekConfig
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 CmekConfig
impl Debug for CmekConfig
Source§impl Default for CmekConfig
impl Default for CmekConfig
Source§fn default() -> CmekConfig
fn default() -> CmekConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CmekConfig
impl<'de> Deserialize<'de> for CmekConfig
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 CmekConfig
impl Serialize for CmekConfig
impl RequestValue for CmekConfig
impl ResponseResult for CmekConfig
Auto Trait Implementations§
impl Freeze for CmekConfig
impl RefUnwindSafe for CmekConfig
impl Send for CmekConfig
impl Sync for CmekConfig
impl Unpin for CmekConfig
impl UnwindSafe for CmekConfig
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