Class: Google::Apis::CloudkmsV1::AddQuorumMember
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::AddQuorumMember
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudkms_v1/classes.rb,
lib/google/apis/cloudkms_v1/representations.rb,
lib/google/apis/cloudkms_v1/representations.rb
Overview
Add a quorum member to the SingleTenantHsmInstance. This will increase the total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
Instance Attribute Summary collapse
-
#two_factor_public_key_pem ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddQuorumMember
constructor
A new instance of AddQuorumMember.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddQuorumMember
Returns a new instance of AddQuorumMember.
37 38 39 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 37 def initialize(**args) update!(**args) end |
Instance Attribute Details
#two_factor_public_key_pem ⇒ String
Required. The public key associated with the 2FA key for the new quorum member
to add. Public keys must be associated with RSA 2048 keys.
Corresponds to the JSON property twoFactorPublicKeyPem
35 36 37 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 35 def two_factor_public_key_pem @two_factor_public_key_pem end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42 43 44 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 42 def update!(**args) @two_factor_public_key_pem = args[:two_factor_public_key_pem] if args.key?(:two_factor_public_key_pem) end |