diff --git a/dlp/src/main/java/dlp/snippets/InspectFile.java b/dlp/src/main/java/dlp/snippets/InspectFile.java index d543e92d8fd..fef3dd4bfab 100644 --- a/dlp/src/main/java/dlp/snippets/InspectFile.java +++ b/dlp/src/main/java/dlp/snippets/InspectFile.java @@ -68,14 +68,14 @@ public static void inspectFile(String projectId, String filePath, String fileTyp .setIncludeQuote(true) .build(); - // Construct request + // Construct the request to be sent by the client InspectContentRequest request = InspectContentRequest.newBuilder() .setParent(project.toString()) .setItem(item) .setInspectConfig(config) .build(); - // Run request and parse response + // Use the client to send the request and parse results InspectContentResponse response = dlp.inspectContent(request); System.out.println("Findings: " + response.getResult().getFindingsCount()); for (Finding f : response.getResult().getFindingsList()) {