Skip to content

Commit 081909d

Browse files
1 parent 9c02b71 commit 081909d

File tree

5 files changed

+80
-6
lines changed

5 files changed

+80
-6
lines changed

clients/google-api-services-dlp/v2/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-dlp</artifactId>
25-
<version>v2-rev20250914-2.0.0</version>
25+
<version>v2-rev20250921-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-dlp:v2-rev20250914-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dlp:v2-rev20250921-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2Action.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ public final class GooglePrivacyDlpV2Action extends com.google.api.client.json.G
6161
@com.google.api.client.util.Key
6262
private GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog publishFindingsToCloudDataCatalog;
6363

64+
/**
65+
* Publish findings as an aspect to Dataplex Universal Catalog.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private GooglePrivacyDlpV2PublishFindingsToDataplexCatalog publishFindingsToDataplexCatalog;
70+
6471
/**
6572
* Publish summary to Cloud Security Command Center (Alpha).
6673
* The value may be {@code null}.
@@ -154,6 +161,23 @@ public GooglePrivacyDlpV2Action setPublishFindingsToCloudDataCatalog(GooglePriva
154161
return this;
155162
}
156163

164+
/**
165+
* Publish findings as an aspect to Dataplex Universal Catalog.
166+
* @return value or {@code null} for none
167+
*/
168+
public GooglePrivacyDlpV2PublishFindingsToDataplexCatalog getPublishFindingsToDataplexCatalog() {
169+
return publishFindingsToDataplexCatalog;
170+
}
171+
172+
/**
173+
* Publish findings as an aspect to Dataplex Universal Catalog.
174+
* @param publishFindingsToDataplexCatalog publishFindingsToDataplexCatalog or {@code null} for none
175+
*/
176+
public GooglePrivacyDlpV2Action setPublishFindingsToDataplexCatalog(GooglePrivacyDlpV2PublishFindingsToDataplexCatalog publishFindingsToDataplexCatalog) {
177+
this.publishFindingsToDataplexCatalog = publishFindingsToDataplexCatalog;
178+
return this;
179+
}
180+
157181
/**
158182
* Publish summary to Cloud Security Command Center (Alpha).
159183
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.dlp.v2.model;
18+
19+
/**
20+
* Publish findings of a DlpJob to Dataplex Universal Catalog as a `sensitive-data-protection-job-
21+
* result` aspect. To learn more about aspects, see [Send inspection results to Dataplex Universal
22+
* Catalog as aspects](https://cloud.google.com/sensitive-data-protection/docs/add-aspects-
23+
* inspection-job). Aspects are persisted in Dataplex Universal Catalog storage and are governed by
24+
* service-specific policies for Dataplex Universal Catalog. For more information, see [Service
25+
* Specific Terms](https://cloud.google.com/terms/service-terms). Only a single instance of this
26+
* action can be specified. This action is allowed only if all resources being scanned are BigQuery
27+
* tables. Compatible with: Inspect
28+
*
29+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
30+
* transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed
31+
* explanation see:
32+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
33+
* </p>
34+
*
35+
* @author Google, Inc.
36+
*/
37+
@SuppressWarnings("javadoc")
38+
public final class GooglePrivacyDlpV2PublishFindingsToDataplexCatalog extends com.google.api.client.json.GenericJson {
39+
40+
@Override
41+
public GooglePrivacyDlpV2PublishFindingsToDataplexCatalog set(String fieldName, Object value) {
42+
return (GooglePrivacyDlpV2PublishFindingsToDataplexCatalog) super.set(fieldName, value);
43+
}
44+
45+
@Override
46+
public GooglePrivacyDlpV2PublishFindingsToDataplexCatalog clone() {
47+
return (GooglePrivacyDlpV2PublishFindingsToDataplexCatalog) super.clone();
48+
}
49+
50+
}

clients/google-api-services-dlp/v2/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-dlp</artifactId>
11-
<version>v2-rev20250914-2.0.0</version>
12-
<name>Sensitive Data Protection (DLP) v2-rev20250914-2.0.0</name>
11+
<version>v2-rev20250921-2.0.0</version>
12+
<name>Sensitive Data Protection (DLP) v2-rev20250921-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-dlp/v2/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-dlp</artifactId>
25-
<version>v2-rev20250914-2.0.0</version>
25+
<version>v2-rev20250921-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-dlp:v2-rev20250914-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dlp:v2-rev20250921-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)