Struct google_cloudkms1::CryptoKeyVersionTemplate [−][src]
pub struct CryptoKeyVersionTemplate { pub algorithm: Option<String>, pub protection_level: Option<String>, }
A CryptoKeyVersionTemplate specifies the properties to use when creating a new CryptoKeyVersion, either manually with CreateCryptoKeyVersion or automatically as a result of auto-rotation.
This type is not used in any activity, and only used as part of another schema.
Fields
algorithm: Option<String>
Required. Algorithm to use when creating a CryptoKeyVersion based on this template.
For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.
protection_level: Option<String>
ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.
Trait Implementations
impl Default for CryptoKeyVersionTemplate
[src]
impl Default for CryptoKeyVersionTemplate
fn default() -> CryptoKeyVersionTemplate
[src]
fn default() -> CryptoKeyVersionTemplate
Returns the "default value" for a type. Read more
impl Clone for CryptoKeyVersionTemplate
[src]
impl Clone for CryptoKeyVersionTemplate
fn clone(&self) -> CryptoKeyVersionTemplate
[src]
fn clone(&self) -> CryptoKeyVersionTemplate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for CryptoKeyVersionTemplate
[src]
impl Debug for CryptoKeyVersionTemplate
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for CryptoKeyVersionTemplate
[src]
impl Part for CryptoKeyVersionTemplate
Auto Trait Implementations
impl Send for CryptoKeyVersionTemplate
impl Send for CryptoKeyVersionTemplate
impl Sync for CryptoKeyVersionTemplate
impl Sync for CryptoKeyVersionTemplate