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.



3495
3496
3497
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3495

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)


3493
3494
3495
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3493

def two_factor_public_key_pem
  @two_factor_public_key_pem
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3500
3501
3502
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3500

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