add smoke test for DLP (#397)

This commit is contained in:
neozwu 2017-07-05 17:58:35 -07:00 committed by GitHub
parent 4afe18ee5c
commit 99b48c4eea
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@ license_header:
license_file: license-header-apache-2.0.txt
interfaces:
- name: google.privacy.dlp.v2beta1.DlpService
smoke_test:
method: InspectContent
init_fields:
- inspect_config.min_likelihood=POSSIBLE
- items[0].type="text/plain"
- items[0].value="my phone number is 215-512-1212"
collections:
- name_pattern: inspect/results/{result}
entity_name: result