Package com.google.cloud.kms.v1
Interface SingleTenantHsmInstanceProposal.QuorumParametersOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SingleTenantHsmInstanceProposal.QuorumParameters,SingleTenantHsmInstanceProposal.QuorumParameters.Builder
- Enclosing class:
- SingleTenantHsmInstanceProposal
public static interface SingleTenantHsmInstanceProposal.QuorumParametersOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetApprovedTwoFactorPublicKeyPems(int index) Output only.com.google.protobuf.ByteStringgetApprovedTwoFactorPublicKeyPemsBytes(int index) Output only.intOutput only.Output only.getChallenges(int index) Output only.intOutput only.Output only.getChallengesOrBuilder(int index) Output only.List<? extends ChallengeOrBuilder>Output only.intOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRequiredApproverCount
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:
- The requiredApproverCount.
-
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]; -
getChallenges
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]; -
getChallengesCount
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]; -
getChallengesOrBuilderList
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]; -
getChallengesOrBuilder
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]; -
getApprovedTwoFactorPublicKeyPemsList
Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- A list containing the approvedTwoFactorPublicKeyPems.
-
getApprovedTwoFactorPublicKeyPemsCount
int getApprovedTwoFactorPublicKeyPemsCount()Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count of approvedTwoFactorPublicKeyPems.
-
getApprovedTwoFactorPublicKeyPems
Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the element to return.- Returns:
- The approvedTwoFactorPublicKeyPems at the given index.
-
getApprovedTwoFactorPublicKeyPemsBytes
com.google.protobuf.ByteString getApprovedTwoFactorPublicKeyPemsBytes(int index) Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the approvedTwoFactorPublicKeyPems at the given index.
-