Migrate DLP to proto annotations (but not GAPIC v2).

Committer: @lukesneeringer
PiperOrigin-RevId: 289102579
This commit is contained in:
Google APIs 2020-01-10 09:01:09 -08:00 committed by Copybara-Service
parent 6357f30f2e
commit 802c5c5f2b
4 changed files with 356 additions and 244 deletions

View File

@ -6,8 +6,9 @@ common:
- name: google-common-protos
src_proto_paths:
- v2
service_yaml: dlp_v2.yaml
service_yaml: v2/dlp_v2.yaml
gapic_yaml: v2/dlp_gapic.yaml
proto_package: google.privacy.dlp.v2
artifacts:
- name: gapic_config
type: GAPIC_CONFIG

View File

@ -1,25 +0,0 @@
type: google.api.Service
config_version: 3
name: dlp.googleapis.com
title: Cloud Data Loss Prevention (DLP) API
apis:
- name: google.privacy.dlp.v2.DlpService
documentation:
summary: |-
Provides methods for detection, risk analysis, and de-identification of
privacy-sensitive fragments in text, images, and Google Cloud Platform
storage repositories.
backend:
rules:
- selector: 'google.privacy.dlp.v2.DlpService.*'
deadline: 300.0
authentication:
rules:
- selector: 'google.privacy.dlp.v2.DlpService.*'
oauth:
canonical_scopes: |-
https://www.googleapis.com/auth/cloud-platform

View File

@ -79,8 +79,7 @@ java_gapic_library(
java_gapic_test(
name = "dlp_java_gapic_test_suite",
test_classes = [
# Configure flattening for DlpService to enable test
# "com.google.cloud.dlp.v2.DlpServiceClientTest",
"com.google.cloud.dlp.v2.DlpServiceClientTest",
],
runtime_deps = [":dlp_java_gapic_test"],
)

File diff suppressed because it is too large Load Diff