class Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest

Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion.

Attributes

crypto_key_version_id[RW]

Required. The id of the child CryptoKeyVersion to use as primary. Corresponds to the JSON property `cryptoKeyVersionId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudkms_v1/classes.rb, line 1999
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudkms_v1/classes.rb, line 2004
def update!(**args)
  @crypto_key_version_id = args[:crypto_key_version_id] if args.key?(:crypto_key_version_id)
end