Migrate DLP to proto annotations (but not GAPIC v2).
Committer: @lukesneeringer PiperOrigin-RevId: 289102579
This commit is contained in:
parent
6357f30f2e
commit
802c5c5f2b
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
Loading…
Reference in New Issue