public InspectorConfig toConfig()

in services/inspector-app/src/main/java/com/google/cloud/pso/bq_pii_classifier/inspector/Environment.java [30:43]


    public InspectorConfig toConfig (){

        return new InspectorConfig(
                getProjectId(),
                getBqResultsDataset(),
                getBqResultsTable(),
                getDlpNotificationTopic(),
                getMinLikelihood(),
                Integer.parseInt(getMaxFindings()),
                Integer.parseInt(getSamplingMethod()),
                new Gson().fromJson(getDlpInspectionTemplatesIds(), ArrayList.class),
                getTableScanLimitsJsonConfig()
        );
    }