Class: Google::Apis::CloudkmsV1::AddQuorumMember

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

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

Instance Method Summary collapse

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_pemString

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

Returns:

  • (String)


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