Package com.google.cloud.kms.v1
Interface SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeysOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeys,SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeys.Builder
- Enclosing class:
- SingleTenantHsmInstanceProposal
public static interface SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeysOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintRequired.getTwoFactorPublicKeyPems(int index) Required.com.google.protobuf.ByteStringgetTwoFactorPublicKeyPemsBytes(int index) Required.intRequired.Required.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()Required. The required numbers of approvers to set for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance]. This is 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][google.cloud.kms.v1.SingleTenantHsmInstance.QuorumAuth.total_approver_count] - 1.
int32 required_approver_count = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The requiredApproverCount.
-
getTwoFactorPublicKeyPemsList
Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys.
repeated string two_factor_public_key_pems = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the twoFactorPublicKeyPems.
-
getTwoFactorPublicKeyPemsCount
int getTwoFactorPublicKeyPemsCount()Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys.
repeated string two_factor_public_key_pems = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The count of twoFactorPublicKeyPems.
-
getTwoFactorPublicKeyPems
Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys.
repeated string two_factor_public_key_pems = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the element to return.- Returns:
- The twoFactorPublicKeyPems at the given index.
-
getTwoFactorPublicKeyPemsBytes
com.google.protobuf.ByteString getTwoFactorPublicKeyPemsBytes(int index) Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys.
repeated string two_factor_public_key_pems = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the twoFactorPublicKeyPems at the given index.
-