Class: Google::Apis::CloudkmsV1::RemoveQuorumMember
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::RemoveQuorumMember
- 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
Remove a quorum member from the SingleTenantHsmInstance. This will reduce 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) ⇒ RemoveQuorumMember
constructor
A new instance of RemoveQuorumMember.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RemoveQuorumMember
Returns a new instance of RemoveQuorumMember.
3428 3429 3430 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3428 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 quorum member to
remove. Public keys must be associated with RSA 2048 keys.
Corresponds to the JSON property twoFactorPublicKeyPem
3426 3427 3428 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3426 def two_factor_public_key_pem @two_factor_public_key_pem end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3433 3434 3435 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3433 def update!(**args) @two_factor_public_key_pem = args[:two_factor_public_key_pem] if args.key?(:two_factor_public_key_pem) end |