Class: Google::Apis::CloudkmsV1::RemoveQuorumMember

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RemoveQuorumMember

Returns a new instance of RemoveQuorumMember.



3630
3631
3632
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3630

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#two_factor_public_key_pemString

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

Returns:

  • (String)


3628
3629
3630
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3628

def two_factor_public_key_pem
  @two_factor_public_key_pem
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3635
3636
3637
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3635

def update!(**args)
  @two_factor_public_key_pem = args[:two_factor_public_key_pem] if args.key?(:two_factor_public_key_pem)
end