Skip to content

Commit ddcec68

Browse files
1 parent 016c451 commit ddcec68

File tree

6 files changed

+141
-6
lines changed

6 files changed

+141
-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-rev20250518-2.0.0</version>
25+
<version>v2-rev20250525-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-rev20250518-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dlp:v2-rev20250525-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ public final class GooglePrivacyDlpV2DataProfileAction extends com.google.api.cl
5454
@com.google.api.client.util.Key
5555
private GooglePrivacyDlpV2PublishToChronicle publishToChronicle;
5656

57+
/**
58+
* Publishes a portion of each profile to Dataplex Catalog with the aspect type Sensitive Data
59+
* Protection Profile.
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private GooglePrivacyDlpV2PublishToDataplexCatalog publishToDataplexCatalog;
64+
5765
/**
5866
* Publishes findings to Security Command Center for each data profile.
5967
* The value may be {@code null}.
@@ -125,6 +133,25 @@ public GooglePrivacyDlpV2DataProfileAction setPublishToChronicle(GooglePrivacyDl
125133
return this;
126134
}
127135

136+
/**
137+
* Publishes a portion of each profile to Dataplex Catalog with the aspect type Sensitive Data
138+
* Protection Profile.
139+
* @return value or {@code null} for none
140+
*/
141+
public GooglePrivacyDlpV2PublishToDataplexCatalog getPublishToDataplexCatalog() {
142+
return publishToDataplexCatalog;
143+
}
144+
145+
/**
146+
* Publishes a portion of each profile to Dataplex Catalog with the aspect type Sensitive Data
147+
* Protection Profile.
148+
* @param publishToDataplexCatalog publishToDataplexCatalog or {@code null} for none
149+
*/
150+
public GooglePrivacyDlpV2DataProfileAction setPublishToDataplexCatalog(GooglePrivacyDlpV2PublishToDataplexCatalog publishToDataplexCatalog) {
151+
this.publishToDataplexCatalog = publishToDataplexCatalog;
152+
return this;
153+
}
154+
128155
/**
129156
* Publishes findings to Security Command Center for each data profile.
130157
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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+
* Create Dataplex Catalog aspects for profiled resources with the aspect type Sensitive Data
21+
* Protection Profile. To learn more about aspects, see https://cloud.google.com/sensitive-data-
22+
* protection/docs/add-aspects.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed
26+
* explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class GooglePrivacyDlpV2PublishToDataplexCatalog extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Whether creating a Dataplex Catalog aspect for a profiled resource should lower the risk of the
37+
* profile for that resource. This also lowers the data risk of resources at the lower levels of
38+
* the resource hierarchy. For example, reducing the data risk of a table data profile also
39+
* reduces the data risk of the constituent column data profiles.
40+
* The value may be {@code null}.
41+
*/
42+
@com.google.api.client.util.Key
43+
private java.lang.Boolean lowerDataRiskToLow;
44+
45+
/**
46+
* Whether creating a Dataplex Catalog aspect for a profiled resource should lower the risk of the
47+
* profile for that resource. This also lowers the data risk of resources at the lower levels of
48+
* the resource hierarchy. For example, reducing the data risk of a table data profile also
49+
* reduces the data risk of the constituent column data profiles.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.Boolean getLowerDataRiskToLow() {
53+
return lowerDataRiskToLow;
54+
}
55+
56+
/**
57+
* Whether creating a Dataplex Catalog aspect for a profiled resource should lower the risk of the
58+
* profile for that resource. This also lowers the data risk of resources at the lower levels of
59+
* the resource hierarchy. For example, reducing the data risk of a table data profile also
60+
* reduces the data risk of the constituent column data profiles.
61+
* @param lowerDataRiskToLow lowerDataRiskToLow or {@code null} for none
62+
*/
63+
public GooglePrivacyDlpV2PublishToDataplexCatalog setLowerDataRiskToLow(java.lang.Boolean lowerDataRiskToLow) {
64+
this.lowerDataRiskToLow = lowerDataRiskToLow;
65+
return this;
66+
}
67+
68+
@Override
69+
public GooglePrivacyDlpV2PublishToDataplexCatalog set(String fieldName, Object value) {
70+
return (GooglePrivacyDlpV2PublishToDataplexCatalog) super.set(fieldName, value);
71+
}
72+
73+
@Override
74+
public GooglePrivacyDlpV2PublishToDataplexCatalog clone() {
75+
return (GooglePrivacyDlpV2PublishToDataplexCatalog) super.clone();
76+
}
77+
78+
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ public final class GooglePrivacyDlpV2TableReference extends com.google.api.clien
3838
@com.google.api.client.util.Key
3939
private java.lang.String datasetId;
4040

41+
/**
42+
* The Google Cloud project ID of the project containing the table. If omitted, the project ID is
43+
* inferred from the parent project. This field is required if the parent resource is an
44+
* organization.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String projectId;
49+
4150
/**
4251
* Name of the table.
4352
* The value may be {@code null}.
@@ -62,6 +71,27 @@ public GooglePrivacyDlpV2TableReference setDatasetId(java.lang.String datasetId)
6271
return this;
6372
}
6473

74+
/**
75+
* The Google Cloud project ID of the project containing the table. If omitted, the project ID is
76+
* inferred from the parent project. This field is required if the parent resource is an
77+
* organization.
78+
* @return value or {@code null} for none
79+
*/
80+
public java.lang.String getProjectId() {
81+
return projectId;
82+
}
83+
84+
/**
85+
* The Google Cloud project ID of the project containing the table. If omitted, the project ID is
86+
* inferred from the parent project. This field is required if the parent resource is an
87+
* organization.
88+
* @param projectId projectId or {@code null} for none
89+
*/
90+
public GooglePrivacyDlpV2TableReference setProjectId(java.lang.String projectId) {
91+
this.projectId = projectId;
92+
return this;
93+
}
94+
6595
/**
6696
* Name of the table.
6797
* @return value or {@code null} for none

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-rev20250518-2.0.0</version>
12-
<name>Sensitive Data Protection (DLP) v2-rev20250518-2.0.0</name>
11+
<version>v2-rev20250525-2.0.0</version>
12+
<name>Sensitive Data Protection (DLP) v2-rev20250525-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-rev20250518-2.0.0</version>
25+
<version>v2-rev20250525-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-rev20250518-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dlp:v2-rev20250525-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)