class Google::Apis::PrivatecaV1beta1::KeyVersionSpec
A Cloud KMS key configuration that a CertificateAuthority
will use.
Attributes
algorithm[RW]
Required. The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their ProtectionLevel as `HSM`. Corresponds to the JSON property `algorithm` @return [String]
cloud_kms_key_version[RW]
Required. The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects//locations//keyRings//cryptoKeys//cryptoKeyVersions/*`. This option enables full flexibility in the key's capabilities and properties. Corresponds to the JSON property `cloudKmsKeyVersion` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/privateca_v1beta1/classes.rb, line 1267 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/privateca_v1beta1/classes.rb, line 1272 def update!(**args) @algorithm = args[:algorithm] if args.key?(:algorithm) @cloud_kms_key_version = args[:cloud_kms_key_version] if args.key?(:cloud_kms_key_version) end