def METHOD_NAME(benchmark_config):
  # Before YCSB Cloud Datastore supports Application Default Credential,
  # we should always make sure valid credential flags are set.
  if not FLAGS.jdbc_ycsb_db_driver:
    raise ValueError('"jdbc_ycsb_db_driver" must be set')
  if not FLAGS.jdbc_ycsb_db_driver_path:
    raise ValueError('"jdbc_ycsb_db_driver_path" must be set')
  if not FLAGS.jdbc_ycsb_db_url:
    raise ValueError('"jdbc_ycsb_db_url" must be set')
  if not FLAGS.jdbc_ycsb_db_user:
    raise ValueError('"jdbc_ycsb_db_user" must be set ')
  if not FLAGS.jdbc_ycsb_db_passwd:
    raise ValueError('"jdbc_ycsb_db_passwd" must be set ')