def METHOD_NAME(
    self, pg_bin_directory=None, pg_data_directory_version=None, basebackup_path=None, receivexlog_path=None
):
    site_config = {
        "active": True,
    }
    if pg_bin_directory:
        site_config["pg_bin_directory"] = pg_bin_directory
    if pg_data_directory_version:
        site_config["pg_data_directory_version"] = pg_data_directory_version
    if basebackup_path:
        site_config["pg_basebackup_path"] = basebackup_path
    if receivexlog_path:
        site_config["pg_receivexlog_path"] = receivexlog_path
    return {"backup_sites": {self.test_site: site_config}}