Class: Google::Apis::CloudkmsV1beta1::UpdateCryptoKeyPrimaryVersionRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1beta1::UpdateCryptoKeyPrimaryVersionRequest
- Defined in:
- generated/google/apis/cloudkms_v1beta1/classes.rb,
generated/google/apis/cloudkms_v1beta1/representations.rb,
generated/google/apis/cloudkms_v1beta1/representations.rb
Overview
Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion.
Instance Attribute Summary collapse
-
#crypto_key_version_id ⇒ String
The id of the child CryptoKeyVersion to use as primary.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateCryptoKeyPrimaryVersionRequest
constructor
A new instance of UpdateCryptoKeyPrimaryVersionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateCryptoKeyPrimaryVersionRequest
Returns a new instance of UpdateCryptoKeyPrimaryVersionRequest
838 839 840 |
# File 'generated/google/apis/cloudkms_v1beta1/classes.rb', line 838 def initialize(**args) update!(**args) end |
Instance Attribute Details
#crypto_key_version_id ⇒ String
The id of the child CryptoKeyVersion to use as primary.
Corresponds to the JSON property cryptoKeyVersionId
836 837 838 |
# File 'generated/google/apis/cloudkms_v1beta1/classes.rb', line 836 def crypto_key_version_id @crypto_key_version_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
843 844 845 |
# File 'generated/google/apis/cloudkms_v1beta1/classes.rb', line 843 def update!(**args) @crypto_key_version_id = args[:crypto_key_version_id] if args.key?(:crypto_key_version_id) end |