public static interface SingleTenantHsmInstance.QuorumAuthOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getRequiredApproverCount()
public abstract int getRequiredApproverCount()Output only. The required numbers of approvers. The M value used for M of N quorum auth. Must be greater than or equal to 2 and less than or equal to total_approver_count
- 1.
int32 required_approver_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The requiredApproverCount. |
getTotalApproverCount()
public abstract int getTotalApproverCount()Required. The total number of approvers. This is the N value used for M of N quorum auth. Must be greater than or equal to 3 and less than or equal to 16.
int32 total_approver_count = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The totalApproverCount. |
getTwoFactorPublicKeyPems(int index)
public abstract String getTwoFactorPublicKeyPems(int index)Output only. The public keys associated with the 2FA keys for M of N quorum auth.
repeated string two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The twoFactorPublicKeyPems at the given index. |
getTwoFactorPublicKeyPemsBytes(int index)
public abstract ByteString getTwoFactorPublicKeyPemsBytes(int index)Output only. The public keys associated with the 2FA keys for M of N quorum auth.
repeated string two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the twoFactorPublicKeyPems at the given index. |
getTwoFactorPublicKeyPemsCount()
public abstract int getTwoFactorPublicKeyPemsCount()Output only. The public keys associated with the 2FA keys for M of N quorum auth.
repeated string two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of twoFactorPublicKeyPems. |
getTwoFactorPublicKeyPemsList()
public abstract List<String> getTwoFactorPublicKeyPemsList()Output only. The public keys associated with the 2FA keys for M of N quorum auth.
repeated string two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the twoFactorPublicKeyPems. |