Interface CertificateAuthority.KeyVersionSpecOrBuilder

    • Method Detail

      • hasCloudKmsKeyVersion

        boolean hasCloudKmsKeyVersion()
         Required. The resource name for an existing Cloud KMS CryptoKeyVersion in the
         format
         `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
         This option enables full flexibility in the key's capabilities and
         properties.
         
        string cloud_kms_key_version = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the cloudKmsKeyVersion field is set.
      • getCloudKmsKeyVersion

        String getCloudKmsKeyVersion()
         Required. The resource name for an existing Cloud KMS CryptoKeyVersion in the
         format
         `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
         This option enables full flexibility in the key's capabilities and
         properties.
         
        string cloud_kms_key_version = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The cloudKmsKeyVersion.
      • getCloudKmsKeyVersionBytes

        com.google.protobuf.ByteString getCloudKmsKeyVersionBytes()
         Required. The resource name for an existing Cloud KMS CryptoKeyVersion in the
         format
         `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
         This option enables full flexibility in the key's capabilities and
         properties.
         
        string cloud_kms_key_version = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for cloudKmsKeyVersion.
      • hasAlgorithm

        boolean hasAlgorithm()
         Required. The algorithm to use for creating a managed Cloud KMS key for a for a
         simplified experience. All managed keys will be have their
         [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as `HSM`.
         
        .google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm algorithm = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the algorithm field is set.
      • getAlgorithmValue

        int getAlgorithmValue()
         Required. The algorithm to use for creating a managed Cloud KMS key for a for a
         simplified experience. All managed keys will be have their
         [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as `HSM`.
         
        .google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm algorithm = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for algorithm.
      • getAlgorithm

        CertificateAuthority.SignHashAlgorithm getAlgorithm()
         Required. The algorithm to use for creating a managed Cloud KMS key for a for a
         simplified experience. All managed keys will be have their
         [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as `HSM`.
         
        .google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm algorithm = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The algorithm.