pub struct AutokeyConfig {
pub key_project: Option<String>,
pub name: Option<String>,
}
Expand description
Cloud KMS Autokey configuration for a folder.
§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).
- get autokey config folders (response)
- update autokey config folders (request|response)
Fields§
§key_project: Option<String>
Optional. Name of the key project, e.g. projects/{PROJECT_ID}
or projects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new CryptoKey when a KeyHandle is created. On UpdateAutokeyConfig, the caller will require cloudkms.cryptoKeys.setIamPolicy
permission on this key project. Once configured, for Cloud KMS Autokey to function properly, this key project must have the Cloud KMS API activated and the Cloud KMS Service Agent for this key project must be granted the cloudkms.admin
role (or pertinent permissions). A request with an empty key project field will clear the configuration.
name: Option<String>
Identifier. Name of the AutokeyConfig resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig
.
Trait Implementations§
Source§impl Clone for AutokeyConfig
impl Clone for AutokeyConfig
Source§fn clone(&self) -> AutokeyConfig
fn clone(&self) -> AutokeyConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AutokeyConfig
impl Debug for AutokeyConfig
Source§impl Default for AutokeyConfig
impl Default for AutokeyConfig
Source§fn default() -> AutokeyConfig
fn default() -> AutokeyConfig
Source§impl<'de> Deserialize<'de> for AutokeyConfig
impl<'de> Deserialize<'de> for AutokeyConfig
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>,
Source§impl Serialize for AutokeyConfig
impl Serialize for AutokeyConfig
impl RequestValue for AutokeyConfig
impl ResponseResult for AutokeyConfig
Auto Trait Implementations§
impl Freeze for AutokeyConfig
impl RefUnwindSafe for AutokeyConfig
impl Send for AutokeyConfig
impl Sync for AutokeyConfig
impl Unpin for AutokeyConfig
impl UnwindSafe for AutokeyConfig
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
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>
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>
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