CryptoKeyVersionTemplate class

A CryptoKeyVersionTemplate specifies the properties to use when creating a new CryptoKeyVersion, either manually with CreateCryptoKeyVersion or automatically as a result of auto-rotation.

Constructors

CryptoKeyVersionTemplate({required Input<CryptoKeyVersionTemplateAlgorithm> algorithm, Input<CryptoKeyVersionTemplateProtectionLevel>? protectionLevel})
Creates a new CryptoKeyVersionTemplate. algorithm 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 ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.
const
CryptoKeyVersionTemplate.fromMap(Map<String, dynamic> map)
factory

Properties

algorithm → Input<CryptoKeyVersionTemplateAlgorithm>
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.
final
hashCode → int
The hash code for this object.
no setterinherited
protectionLevel → Input<CryptoKeyVersionTemplateProtectionLevel>?
ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited