code: public final CryptoKeyVersion restoreCryptoKeyVersion(CryptoKeyVersionName name) {
  
      RestoreCryptoKeyVersionRequest request =
          RestoreCryptoKeyVersionRequest.newBuilder()
              .setName(name == null ? null : name.toString())
              .build();
      return restoreCryptoKeyVersion(request);
    }
docs: Restore a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the
  [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED]
  state.
  
  <p>Upon restoration of the CryptoKeyVersion,
  [state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to
  [DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED], and
  [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will be cleared.
  
  <p>Sample code:
  
  <pre><code>
  try (KeyManagementServiceClient keyManagementServiceClient = KeyManagementServiceClient.create()) {
  CryptoKeyVersionName name = CryptoKeyVersionName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]");
  CryptoKeyVersion response = keyManagementServiceClient.restoreCryptoKeyVersion(name);
  }
  </code></pre>
  
  @param name The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
  to restore.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails