Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b718ffa

Browse filesBrowse files
feat: [dlp] add Deidentify action (#8287)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 471923438 Source-Link: googleapis/googleapis@62995d0 Source-Link: https://github.com/googleapis/googleapis-gen/commit/96ba1731c712a693995de75378948781af283739 Copy-Tag: eyJwIjoiamF2YS1kbHAvLk93bEJvdC55YW1sIiwiaCI6Ijk2YmExNzMxYzcxMmE2OTM5OTVkZTc1Mzc4OTQ4NzgxYWYyODM3MzkifQ==
1 parent 9a38b12 commit b718ffa
Copy full SHA for b718ffa

File tree

92 files changed

+23495
-2262
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner

92 files changed

+23495
-2262
lines changed

‎java-dlp/README.md

Copy file name to clipboardExpand all lines: java-dlp/README.md
+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>libraries-bom</artifactId>
22-
<version>26.1.0</version>
22+
<version>26.1.1</version>
2323
<type>pom</type>
2424
<scope>import</scope>
2525
</dependency>
@@ -50,7 +50,7 @@ If you are using Maven without BOM, add this to your dependencies:
5050
If you are using Gradle 5.x or later, add this to your dependencies:
5151

5252
```Groovy
53-
implementation platform('com.google.cloud:libraries-bom:26.1.0')
53+
implementation platform('com.google.cloud:libraries-bom:26.1.1')
5454
5555
implementation 'com.google.cloud:google-cloud-dlp'
5656
```

‎java-dlp/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java

Copy file name to clipboardExpand all lines: java-dlp/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java
+26-46
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ public final ReidentifyContentResponse reidentifyContent(ReidentifyContentReques
528528

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

18561856
// AUTO-GENERATED DOCUMENTATION AND METHOD.
18571857
/**
1858-
* Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying
1858+
* Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying
18591859
* content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to
18601860
* learn more.
18611861
*
@@ -4142,7 +4142,7 @@ public final UnaryCallable<GetDlpJobRequest, DlpJob> getDlpJobCallable() {
41424142
// AUTO-GENERATED DOCUMENTATION AND METHOD.
41434143
/**
41444144
* Deletes a long-running DlpJob. This method indicates that the client is no longer interested in
4145-
* the DlpJob result. The job will be cancelled if possible. See
4145+
* the DlpJob result. The job will be canceled if possible. See
41464146
* https://cloud.google.com/dlp/docs/inspecting-storage and
41474147
* https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
41484148
*
@@ -4169,7 +4169,7 @@ public final void deleteDlpJob(DlpJobName name) {
41694169
// AUTO-GENERATED DOCUMENTATION AND METHOD.
41704170
/**
41714171
* Deletes a long-running DlpJob. This method indicates that the client is no longer interested in
4172-
* the DlpJob result. The job will be cancelled if possible. See
4172+
* the DlpJob result. The job will be canceled if possible. See
41734173
* https://cloud.google.com/dlp/docs/inspecting-storage and
41744174
* https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
41754175
*
@@ -4195,7 +4195,7 @@ public final void deleteDlpJob(String name) {
41954195
// AUTO-GENERATED DOCUMENTATION AND METHOD.
41964196
/**
41974197
* Deletes a long-running DlpJob. This method indicates that the client is no longer interested in
4198-
* the DlpJob result. The job will be cancelled if possible. See
4198+
* the DlpJob result. The job will be canceled if possible. See
41994199
* https://cloud.google.com/dlp/docs/inspecting-storage and
42004200
* https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
42014201
*
@@ -4223,7 +4223,7 @@ public final void deleteDlpJob(DeleteDlpJobRequest request) {
42234223
// AUTO-GENERATED DOCUMENTATION AND METHOD.
42244224
/**
42254225
* Deletes a long-running DlpJob. This method indicates that the client is no longer interested in
4226-
* the DlpJob result. The job will be cancelled if possible. See
4226+
* the DlpJob result. The job will be canceled if possible. See
42274227
* https://cloud.google.com/dlp/docs/inspecting-storage and
42284228
* https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
42294229
*
@@ -4871,11 +4871,7 @@ public final UnaryCallable<GetStoredInfoTypeRequest, StoredInfoType> getStoredIn
48714871
* <p>+ Projects scope, location specified:&lt;br/&gt;
48724872
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
48734873
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
4874-
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt; + Organizations scope, location
4875-
* specified:&lt;br/&gt;
4876-
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
4877-
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
4878-
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
4874+
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
48794875
* <p>The following example `parent` string specifies a parent project with the identifier
48804876
* `example-project`, and specifies the `europe-west3` location for processing data:
48814877
* <p>parent=projects/example-project/locations/europe-west3
@@ -4914,11 +4910,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes(LocationName p
49144910
* <p>+ Projects scope, location specified:&lt;br/&gt;
49154911
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
49164912
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
4917-
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt; + Organizations scope, location
4918-
* specified:&lt;br/&gt;
4919-
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
4920-
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
4921-
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
4913+
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
49224914
* <p>The following example `parent` string specifies a parent project with the identifier
49234915
* `example-project`, and specifies the `europe-west3` location for processing data:
49244916
* <p>parent=projects/example-project/locations/europe-west3
@@ -4958,11 +4950,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes(
49584950
* <p>+ Projects scope, location specified:&lt;br/&gt;
49594951
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
49604952
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
4961-
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt; + Organizations scope, location
4962-
* specified:&lt;br/&gt;
4963-
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
4964-
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
4965-
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
4953+
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
49664954
* <p>The following example `parent` string specifies a parent project with the identifier
49674955
* `example-project`, and specifies the `europe-west3` location for processing data:
49684956
* <p>parent=projects/example-project/locations/europe-west3
@@ -5001,11 +4989,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes(OrganizationNa
50014989
* <p>+ Projects scope, location specified:&lt;br/&gt;
50024990
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
50034991
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
5004-
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt; + Organizations scope, location
5005-
* specified:&lt;br/&gt;
5006-
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
5007-
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
5008-
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
4992+
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
50094993
* <p>The following example `parent` string specifies a parent project with the identifier
50104994
* `example-project`, and specifies the `europe-west3` location for processing data:
50114995
* <p>parent=projects/example-project/locations/europe-west3
@@ -5044,11 +5028,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes(ProjectName pa
50445028
* <p>+ Projects scope, location specified:&lt;br/&gt;
50455029
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
50465030
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
5047-
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt; + Organizations scope, location
5048-
* specified:&lt;br/&gt;
5049-
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
5050-
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
5051-
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
5031+
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
50525032
* <p>The following example `parent` string specifies a parent project with the identifier
50535033
* `example-project`, and specifies the `europe-west3` location for processing data:
50545034
* <p>parent=projects/example-project/locations/europe-west3

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.