Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [dlp] add Deidentify action #8287

Merged
merged 2 commits into from
Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java-dlp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.1.0</version>
<version>26.1.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -50,7 +50,7 @@ If you are using Maven without BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies:

```Groovy
implementation platform('com.google.cloud:libraries-bom:26.1.0')
implementation platform('com.google.cloud:libraries-bom:26.1.1')

implementation 'com.google.cloud:google-cloud-dlp'
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ public final ReidentifyContentResponse reidentifyContent(ReidentifyContentReques

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Returns a list of the sensitive information types that the DLP API supports. See
* Returns a list of the sensitive information types that DLP API supports. See
* https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
*
* <p>Sample code:
Expand All @@ -554,7 +554,7 @@ public final ListInfoTypesResponse listInfoTypes(String parent) {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Returns a list of the sensitive information types that the DLP API supports. See
* Returns a list of the sensitive information types that DLP API supports. See
* https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
*
* <p>Sample code:
Expand Down Expand Up @@ -583,7 +583,7 @@ public final ListInfoTypesResponse listInfoTypes(ListInfoTypesRequest request) {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Returns a list of the sensitive information types that the DLP API supports. See
* Returns a list of the sensitive information types that DLP API supports. See
* https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
*
* <p>Sample code:
Expand Down Expand Up @@ -612,7 +612,7 @@ public final UnaryCallable<ListInfoTypesRequest, ListInfoTypesResponse> listInfo

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates an InspectTemplate for re-using frequently used configuration for inspecting content,
* Creates an InspectTemplate for reusing frequently used configuration for inspecting content,
* images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
*
* <p>Sample code:
Expand Down Expand Up @@ -657,7 +657,7 @@ public final InspectTemplate createInspectTemplate(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates an InspectTemplate for re-using frequently used configuration for inspecting content,
* Creates an InspectTemplate for reusing frequently used configuration for inspecting content,
* images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
*
* <p>Sample code:
Expand Down Expand Up @@ -702,7 +702,7 @@ public final InspectTemplate createInspectTemplate(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates an InspectTemplate for re-using frequently used configuration for inspecting content,
* Creates an InspectTemplate for reusing frequently used configuration for inspecting content,
* images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
*
* <p>Sample code:
Expand Down Expand Up @@ -747,7 +747,7 @@ public final InspectTemplate createInspectTemplate(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates an InspectTemplate for re-using frequently used configuration for inspecting content,
* Creates an InspectTemplate for reusing frequently used configuration for inspecting content,
* images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
*
* <p>Sample code:
Expand Down Expand Up @@ -792,7 +792,7 @@ public final InspectTemplate createInspectTemplate(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates an InspectTemplate for re-using frequently used configuration for inspecting content,
* Creates an InspectTemplate for reusing frequently used configuration for inspecting content,
* images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
*
* <p>Sample code:
Expand Down Expand Up @@ -837,7 +837,7 @@ public final InspectTemplate createInspectTemplate(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates an InspectTemplate for re-using frequently used configuration for inspecting content,
* Creates an InspectTemplate for reusing frequently used configuration for inspecting content,
* images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
*
* <p>Sample code:
Expand Down Expand Up @@ -866,7 +866,7 @@ public final InspectTemplate createInspectTemplate(CreateInspectTemplateRequest

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates an InspectTemplate for re-using frequently used configuration for inspecting content,
* Creates an InspectTemplate for reusing frequently used configuration for inspecting content,
* images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
*
* <p>Sample code:
Expand Down Expand Up @@ -1589,7 +1589,7 @@ public final UnaryCallable<DeleteInspectTemplateRequest, Empty> deleteInspectTem

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying
* Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying
* content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to
* learn more.
*
Expand Down Expand Up @@ -1636,7 +1636,7 @@ public final DeidentifyTemplate createDeidentifyTemplate(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying
* Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying
* content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to
* learn more.
*
Expand Down Expand Up @@ -1683,7 +1683,7 @@ public final DeidentifyTemplate createDeidentifyTemplate(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying
* Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying
* content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to
* learn more.
*
Expand Down Expand Up @@ -1730,7 +1730,7 @@ public final DeidentifyTemplate createDeidentifyTemplate(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying
* Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying
* content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to
* learn more.
*
Expand Down Expand Up @@ -1777,7 +1777,7 @@ public final DeidentifyTemplate createDeidentifyTemplate(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying
* Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying
* content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to
* learn more.
*
Expand Down Expand Up @@ -1824,7 +1824,7 @@ public final DeidentifyTemplate createDeidentifyTemplate(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying
* Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying
* content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to
* learn more.
*
Expand Down Expand Up @@ -1855,7 +1855,7 @@ public final DeidentifyTemplate createDeidentifyTemplate(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying
* Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying
* content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to
* learn more.
*
Expand Down Expand Up @@ -4142,7 +4142,7 @@ public final UnaryCallable<GetDlpJobRequest, DlpJob> getDlpJobCallable() {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Deletes a long-running DlpJob. This method indicates that the client is no longer interested in
* the DlpJob result. The job will be cancelled if possible. See
* the DlpJob result. The job will be canceled if possible. See
* https://cloud.google.com/dlp/docs/inspecting-storage and
* https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
*
Expand All @@ -4169,7 +4169,7 @@ public final void deleteDlpJob(DlpJobName name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Deletes a long-running DlpJob. This method indicates that the client is no longer interested in
* the DlpJob result. The job will be cancelled if possible. See
* the DlpJob result. The job will be canceled if possible. See
* https://cloud.google.com/dlp/docs/inspecting-storage and
* https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
*
Expand All @@ -4195,7 +4195,7 @@ public final void deleteDlpJob(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Deletes a long-running DlpJob. This method indicates that the client is no longer interested in
* the DlpJob result. The job will be cancelled if possible. See
* the DlpJob result. The job will be canceled if possible. See
* https://cloud.google.com/dlp/docs/inspecting-storage and
* https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
*
Expand Down Expand Up @@ -4223,7 +4223,7 @@ public final void deleteDlpJob(DeleteDlpJobRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Deletes a long-running DlpJob. This method indicates that the client is no longer interested in
* the DlpJob result. The job will be cancelled if possible. See
* the DlpJob result. The job will be canceled if possible. See
* https://cloud.google.com/dlp/docs/inspecting-storage and
* https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
*
Expand Down Expand Up @@ -4871,11 +4871,7 @@ public final UnaryCallable<GetStoredInfoTypeRequest, StoredInfoType> getStoredIn
* <p>+ Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt; + Organizations scope, location
* specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* <p>The following example `parent` string specifies a parent project with the identifier
* `example-project`, and specifies the `europe-west3` location for processing data:
* <p>parent=projects/example-project/locations/europe-west3
Expand Down Expand Up @@ -4914,11 +4910,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes(LocationName p
* <p>+ Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt; + Organizations scope, location
* specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* <p>The following example `parent` string specifies a parent project with the identifier
* `example-project`, and specifies the `europe-west3` location for processing data:
* <p>parent=projects/example-project/locations/europe-west3
Expand Down Expand Up @@ -4958,11 +4950,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes(
* <p>+ Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt; + Organizations scope, location
* specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* <p>The following example `parent` string specifies a parent project with the identifier
* `example-project`, and specifies the `europe-west3` location for processing data:
* <p>parent=projects/example-project/locations/europe-west3
Expand Down Expand Up @@ -5001,11 +4989,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes(OrganizationNa
* <p>+ Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt; + Organizations scope, location
* specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* <p>The following example `parent` string specifies a parent project with the identifier
* `example-project`, and specifies the `europe-west3` location for processing data:
* <p>parent=projects/example-project/locations/europe-west3
Expand Down Expand Up @@ -5044,11 +5028,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes(ProjectName pa
* <p>+ Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt; + Organizations scope, location
* specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* <p>The following example `parent` string specifies a parent project with the identifier
* `example-project`, and specifies the `europe-west3` location for processing data:
* <p>parent=projects/example-project/locations/europe-west3
Expand Down
Loading