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

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.

ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.

Trait Implementations

impl Default for CryptoKeyVersionTemplate
[src]

Returns the "default value" for a type. Read more

impl Clone for CryptoKeyVersionTemplate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CryptoKeyVersionTemplate
[src]

Formats the value using the given formatter. Read more

impl Part for CryptoKeyVersionTemplate
[src]

Auto Trait Implementations