Synchronize new proto/yaml changes.

PiperOrigin-RevId: 189463357
This commit is contained in:
Google APIs 2018-03-17 11:11:52 -07:00 committed by Copybara-Service
parent b12480746e
commit 48bc9d01a1
2 changed files with 18 additions and 13 deletions

View File

@ -1,11 +1,16 @@
type: google.api.Service
config_version: 3
name: dlp.googleapis.com
title: DLP API
title: Cloud Data Loss Prevention (DLP) API
apis:
- name: google.privacy.dlp.v2.DlpService
documentation:
summary: |-
Provides methods for detection of privacy-sensitive fragments in text,
images, and Google Cloud Platform storage repositories.
backend:
rules:
- selector: google.privacy.dlp.v2.DlpService.InspectContent

View File

@ -35,7 +35,7 @@ option java_package = "com.google.privacy.dlp.v2";
option php_namespace = "Google\\Cloud\\Dlp\\V2";
// The DLP API is a service that allows clients
// The Cloud Data Loss Prevention (DLP) API is a service that allows clients
// to detect the presence of Personally Identifiable Information (PII) and other
// privacy-sensitive data in user-supplied, unstructured data streams, like text
// blocks or images.
@ -73,7 +73,7 @@ service DlpService {
};
}
// Re-identify content that has been de-identified.
// Re-identifies content that has been de-identified.
rpc ReidentifyContent(ReidentifyContentRequest) returns (ReidentifyContentResponse) {
option (google.api.http) = {
post: "/v2/{parent=projects/*}/content:reidentify"
@ -133,7 +133,7 @@ service DlpService {
};
}
// Deletes inspect templates.
// Deletes an inspect template.
rpc DeleteInspectTemplate(DeleteInspectTemplateRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v2/{name=organizations/*/inspectTemplates/*}"
@ -143,7 +143,7 @@ service DlpService {
};
}
// Creates an Deidentify template for re-using frequently used configuration
// Creates a de-identify template for re-using frequently used configuration
// for Deidentifying content, images, and storage.
rpc CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest) returns (DeidentifyTemplate) {
option (google.api.http) = {
@ -156,7 +156,7 @@ service DlpService {
};
}
// Updates the inspect template.
// Updates the de-identify template.
rpc UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest) returns (DeidentifyTemplate) {
option (google.api.http) = {
patch: "/v2/{name=organizations/*/deidentifyTemplates/*}"
@ -168,7 +168,7 @@ service DlpService {
};
}
// Gets an inspect template.
// Gets a de-identify template.
rpc GetDeidentifyTemplate(GetDeidentifyTemplateRequest) returns (DeidentifyTemplate) {
option (google.api.http) = {
get: "/v2/{name=organizations/*/deidentifyTemplates/*}"
@ -178,7 +178,7 @@ service DlpService {
};
}
// Lists inspect templates.
// Lists de-identify templates.
rpc ListDeidentifyTemplates(ListDeidentifyTemplatesRequest) returns (ListDeidentifyTemplatesResponse) {
option (google.api.http) = {
get: "/v2/{parent=organizations/*}/deidentifyTemplates"
@ -188,7 +188,7 @@ service DlpService {
};
}
// Deletes inspect templates.
// Deletes a de-identify template.
rpc DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v2/{name=organizations/*/deidentifyTemplates/*}"
@ -198,8 +198,8 @@ service DlpService {
};
}
// Creates a job to run DLP actions such as scanning storage for sensitive
// information on a set schedule.
// Creates a job trigger to run DLP actions such as scanning storage for
// sensitive information on a set schedule.
rpc CreateJobTrigger(CreateJobTriggerRequest) returns (JobTrigger) {
option (google.api.http) = {
post: "/v2/{parent=projects/*}/jobTriggers"
@ -236,7 +236,7 @@ service DlpService {
};
}
// Create a new job to inspect storage or calculate risk metrics [How-to
// Creates a new job to inspect storage or calculate risk metrics [How-to
// guide](/dlp/docs/compute-risk-analysis).
rpc CreateDlpJob(CreateDlpJobRequest) returns (DlpJob) {
option (google.api.http) = {
@ -268,7 +268,7 @@ service DlpService {
};
}
// Starts asynchronous cancellation on a long-running DlpJob. The server
// Starts asynchronous cancellation on a long-running DlpJob. The server
// makes a best effort to cancel the DlpJob, but success is not
// guaranteed.
rpc CancelDlpJob(CancelDlpJobRequest) returns (google.protobuf.Empty) {