Interface SingleTenantHsmInstanceProposal.QuorumParametersOrBuilder (2.86.0)

public static interface SingleTenantHsmInstanceProposal.QuorumParametersOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApprovedTwoFactorPublicKeyPems(int index)

public abstract String getApprovedTwoFactorPublicKeyPems(int index)

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The approvedTwoFactorPublicKeyPems at the given index.

getApprovedTwoFactorPublicKeyPemsBytes(int index)

public abstract ByteString getApprovedTwoFactorPublicKeyPemsBytes(int index)

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the approvedTwoFactorPublicKeyPems at the given index.

getApprovedTwoFactorPublicKeyPemsCount()

public abstract int getApprovedTwoFactorPublicKeyPemsCount()

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of approvedTwoFactorPublicKeyPems.

getApprovedTwoFactorPublicKeyPemsList()

public abstract List<String> getApprovedTwoFactorPublicKeyPemsList()

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the approvedTwoFactorPublicKeyPems.

getChallenges(int index)

public abstract Challenge getChallenges(int index)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge challenges = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Challenge

getChallengesCount()

public abstract int getChallengesCount()

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge challenges = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getChallengesList()

public abstract List<Challenge> getChallengesList()

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge challenges = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Challenge>

getChallengesOrBuilder(int index)

public abstract ChallengeOrBuilder getChallengesOrBuilder(int index)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge challenges = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ChallengeOrBuilder

getChallengesOrBuilderList()

public abstract List<? extends ChallengeOrBuilder> getChallengesOrBuilderList()

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge challenges = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.kms.v1.ChallengeOrBuilder>

getRequiredApproverCount()

public abstract int getRequiredApproverCount()

Output only. The required numbers of approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys.

int32 required_approver_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The requiredApproverCount.