Synchronize new proto/yaml changes.
PiperOrigin-RevId: 192017211
This commit is contained in:
parent
0506b7c64b
commit
3da764d6c1
|
|
@ -8,11 +8,31 @@ apis:
|
|||
|
||||
documentation:
|
||||
summary: |-
|
||||
Provides methods for detection of privacy-sensitive fragments in text,
|
||||
images, and Google Cloud Platform storage repositories.
|
||||
Provides methods for detection, risk analysis, and de-identification of
|
||||
privacy-sensitive fragments in text, images, and Google Cloud Platform
|
||||
storage repositories.
|
||||
rules:
|
||||
- selector: google.longrunning.Operations.CancelOperation
|
||||
description: |-
|
||||
Cancels an operation. Use the
|
||||
[`inspect.operations.get`][/dlp/docs/reference/rest/v2beta1/inspect.operations/get]
|
||||
to check whether the cancellation succeeded or the operation completed
|
||||
despite cancellation.
|
||||
- selector: google.longrunning.Operations.DeleteOperation
|
||||
description: This method is not supported and the server returns `UNIMPLEMENTED`.
|
||||
- selector: google.longrunning.Operations.ListOperations
|
||||
description: Fetches the list of long running operations.
|
||||
|
||||
backend:
|
||||
rules:
|
||||
- selector: google.longrunning.Operations.ListOperations
|
||||
deadline: 300.0
|
||||
- selector: google.longrunning.Operations.GetOperation
|
||||
deadline: 300.0
|
||||
- selector: google.longrunning.Operations.DeleteOperation
|
||||
deadline: 300.0
|
||||
- selector: google.longrunning.Operations.CancelOperation
|
||||
deadline: 300.0
|
||||
- selector: google.privacy.dlp.v2.DlpService.InspectContent
|
||||
deadline: 300.0
|
||||
- selector: google.privacy.dlp.v2.DlpService.RedactImage
|
||||
|
|
@ -64,6 +84,40 @@ backend:
|
|||
- selector: google.privacy.dlp.v2.DlpService.CancelDlpJob
|
||||
deadline: 300.0
|
||||
|
||||
http:
|
||||
rules:
|
||||
- selector: google.longrunning.Operations.ListOperations
|
||||
get: '/v1/{name=inspect/operations}'
|
||||
additional_bindings:
|
||||
- get: '/v2beta1/{name=inspect/operations}'
|
||||
|
||||
- get: '/v2beta1/{name=riskAnalysis/operations}'
|
||||
|
||||
- selector: google.longrunning.Operations.GetOperation
|
||||
get: '/v1/{name=inspect/operations/*}'
|
||||
additional_bindings:
|
||||
- get: '/v2beta1/{name=inspect/operations/*}'
|
||||
|
||||
- get: '/v2beta1/{name=riskAnalysis/operations/*}'
|
||||
|
||||
- selector: google.longrunning.Operations.DeleteOperation
|
||||
delete: '/v1/{name=inspect/operations/*}'
|
||||
additional_bindings:
|
||||
- delete: '/v2beta1/{name=inspect/operations/*}'
|
||||
|
||||
- delete: '/v2beta1/{name=riskAnalysis/operations/*}'
|
||||
|
||||
- selector: google.longrunning.Operations.CancelOperation
|
||||
post: '/v1/{name=inspect/operations/*}:cancel'
|
||||
body: '*'
|
||||
additional_bindings:
|
||||
- post: '/v2beta1/{name=inspect/operations/*}:cancel'
|
||||
body: '*'
|
||||
|
||||
- post: '/v2beta1/{name=riskAnalysis/operations/*}:cancel'
|
||||
body: '*'
|
||||
|
||||
|
||||
authentication:
|
||||
rules:
|
||||
- selector: '*'
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ service DlpService {
|
|||
};
|
||||
}
|
||||
|
||||
// Creates an inspect template for re-using frequently used configuration
|
||||
// Creates an InspectTemplate for re-using frequently used configuration
|
||||
// for inspecting content, images, and storage.
|
||||
rpc CreateInspectTemplate(CreateInspectTemplateRequest) returns (InspectTemplate) {
|
||||
option (google.api.http) = {
|
||||
|
|
@ -103,7 +103,7 @@ service DlpService {
|
|||
};
|
||||
}
|
||||
|
||||
// Updates the inspect template.
|
||||
// Updates the InspectTemplate.
|
||||
rpc UpdateInspectTemplate(UpdateInspectTemplateRequest) returns (InspectTemplate) {
|
||||
option (google.api.http) = {
|
||||
patch: "/v2/{name=organizations/*/inspectTemplates/*}"
|
||||
|
|
@ -115,7 +115,7 @@ service DlpService {
|
|||
};
|
||||
}
|
||||
|
||||
// Gets an inspect template.
|
||||
// Gets an InspectTemplate.
|
||||
rpc GetInspectTemplate(GetInspectTemplateRequest) returns (InspectTemplate) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{name=organizations/*/inspectTemplates/*}"
|
||||
|
|
@ -125,7 +125,7 @@ service DlpService {
|
|||
};
|
||||
}
|
||||
|
||||
// Lists inspect templates.
|
||||
// Lists InspectTemplates.
|
||||
rpc ListInspectTemplates(ListInspectTemplatesRequest) returns (ListInspectTemplatesResponse) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{parent=organizations/*}/inspectTemplates"
|
||||
|
|
@ -135,7 +135,7 @@ service DlpService {
|
|||
};
|
||||
}
|
||||
|
||||
// Deletes an inspect template.
|
||||
// Deletes an InspectTemplate.
|
||||
rpc DeleteInspectTemplate(DeleteInspectTemplateRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
delete: "/v2/{name=organizations/*/inspectTemplates/*}"
|
||||
|
|
@ -145,8 +145,8 @@ service DlpService {
|
|||
};
|
||||
}
|
||||
|
||||
// Creates a de-identify template for re-using frequently used configuration
|
||||
// for Deidentifying content, images, and storage.
|
||||
// Creates a DeidentifyTemplate for re-using frequently used configuration
|
||||
// for de-identifying content, images, and storage.
|
||||
rpc CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest) returns (DeidentifyTemplate) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{parent=organizations/*}/deidentifyTemplates"
|
||||
|
|
@ -158,7 +158,7 @@ service DlpService {
|
|||
};
|
||||
}
|
||||
|
||||
// Updates the de-identify template.
|
||||
// Updates the DeidentifyTemplate.
|
||||
rpc UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest) returns (DeidentifyTemplate) {
|
||||
option (google.api.http) = {
|
||||
patch: "/v2/{name=organizations/*/deidentifyTemplates/*}"
|
||||
|
|
@ -170,7 +170,7 @@ service DlpService {
|
|||
};
|
||||
}
|
||||
|
||||
// Gets a de-identify template.
|
||||
// Gets a DeidentifyTemplate.
|
||||
rpc GetDeidentifyTemplate(GetDeidentifyTemplateRequest) returns (DeidentifyTemplate) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{name=organizations/*/deidentifyTemplates/*}"
|
||||
|
|
@ -180,7 +180,7 @@ service DlpService {
|
|||
};
|
||||
}
|
||||
|
||||
// Lists de-identify templates.
|
||||
// Lists DeidentifyTemplates.
|
||||
rpc ListDeidentifyTemplates(ListDeidentifyTemplatesRequest) returns (ListDeidentifyTemplatesResponse) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{parent=organizations/*}/deidentifyTemplates"
|
||||
|
|
@ -190,7 +190,7 @@ service DlpService {
|
|||
};
|
||||
}
|
||||
|
||||
// Deletes a de-identify template.
|
||||
// Deletes a DeidentifyTemplate.
|
||||
rpc DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
delete: "/v2/{name=organizations/*/deidentifyTemplates/*}"
|
||||
|
|
@ -238,8 +238,8 @@ service DlpService {
|
|||
};
|
||||
}
|
||||
|
||||
// Creates a new job to inspect storage or calculate risk metrics [How-to
|
||||
// guide](/dlp/docs/compute-risk-analysis).
|
||||
// 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) = {
|
||||
post: "/v2/{parent=projects/*}/dlpJobs"
|
||||
|
|
@ -766,7 +766,7 @@ message InfoTypeStats {
|
|||
// The results of an inspect DataSource job.
|
||||
message InspectDataSourceDetails {
|
||||
message RequestedOptions {
|
||||
// If run with an inspect template, a snapshot of it's state at the time of
|
||||
// If run with an InspectTemplate, a snapshot of its state at the time of
|
||||
// this run.
|
||||
InspectTemplate snapshot_inspect_template = 1;
|
||||
|
||||
|
|
@ -1939,7 +1939,7 @@ message Action {
|
|||
}
|
||||
|
||||
// Publish the results of a DlpJob to a pub sub channel.
|
||||
// Compatible with: Inpect, Risk
|
||||
// Compatible with: Inspect, Risk
|
||||
message PublishToPubSub {
|
||||
// Cloud Pub/Sub topic to send notifications to. The topic must have given
|
||||
// publishing access rights to the DLP API service account executing
|
||||
|
|
|
|||
Loading…
Reference in New Issue