in java/src/main/java/com/google/cloud/dataproc/templates/dataplex/DataplexGCStoBQ.java [150:165]
public void validateInput() {
if (sourceEntity == null || projectId == null) {
throw new IllegalArgumentException(
String.format(
"Please specify the %s property",
(sourceEntity == null && projectId != null) ? ENTITY_OPTION : PROJECT_ID_PROP));
}
if (targetDataset == null && targetAsset == null && targetEntity == null) {
throw new IllegalArgumentException(
String.format(
"Please specify one of %s, %s or %s properties",
DATAPLEX_GCS_BQ_TARGET_DATASET,
DATAPLEX_GCS_BQ_TARGET_ASSET,
DATAPLEX_GCS_BQ_TARGET_ENTITY));
}
}