#[non_exhaustive]pub struct IdentityMappingStore {
pub name: String,
pub kms_key_name: String,
pub cmek_config: Option<CmekConfig>,
/* private fields */
}identity-mapping-store-service only.Expand description
Identity Mapping Store which contains Identity Mapping Entries.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringImmutable. The full resource name of the identity mapping store.
Format:
projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}.
This field must be a UTF-8 encoded string with a length limit of 1024
characters.
kms_key_name: StringInput only. The KMS key to be used to protect this Identity Mapping Store at creation time.
Must be set for requests that need to comply with CMEK Org Policy protections.
If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.
cmek_config: Option<CmekConfig>Output only. CMEK-related information for the Identity Mapping Store.
Implementations§
Source§impl IdentityMappingStore
impl IdentityMappingStore
pub fn new() -> Self
Sourcepub fn set_kms_key_name<T: Into<String>>(self, v: T) -> Self
pub fn set_kms_key_name<T: Into<String>>(self, v: T) -> Self
Sets the value of kms_key_name.
§Example
let x = IdentityMappingStore::new().set_kms_key_name("example");Sourcepub fn set_cmek_config<T>(self, v: T) -> Selfwhere
T: Into<CmekConfig>,
pub fn set_cmek_config<T>(self, v: T) -> Selfwhere
T: Into<CmekConfig>,
Sets the value of cmek_config.
§Example
use google_cloud_discoveryengine_v1::model::CmekConfig;
let x = IdentityMappingStore::new().set_cmek_config(CmekConfig::default()/* use setters */);Sourcepub fn set_or_clear_cmek_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<CmekConfig>,
pub fn set_or_clear_cmek_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<CmekConfig>,
Sets or clears the value of cmek_config.
§Example
use google_cloud_discoveryengine_v1::model::CmekConfig;
let x = IdentityMappingStore::new().set_or_clear_cmek_config(Some(CmekConfig::default()/* use setters */));
let x = IdentityMappingStore::new().set_or_clear_cmek_config(None::<CmekConfig>);Trait Implementations§
Source§impl Clone for IdentityMappingStore
impl Clone for IdentityMappingStore
Source§fn clone(&self) -> IdentityMappingStore
fn clone(&self) -> IdentityMappingStore
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more