Skip to content

Commit f7001fa

Browse files
1 parent e4a5d07 commit f7001fa

File tree

6 files changed

+163
-9
lines changed

6 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* A domain represents a thematic category that a data profile can fall under.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed
24+
* explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GooglePrivacyDlpV2Domain extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* A domain category that this profile is related to.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String category;
39+
40+
/**
41+
* The collection of signals that influenced selection of the category.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<java.lang.String> signals;
46+
47+
/**
48+
* A domain category that this profile is related to.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getCategory() {
52+
return category;
53+
}
54+
55+
/**
56+
* A domain category that this profile is related to.
57+
* @param category category or {@code null} for none
58+
*/
59+
public GooglePrivacyDlpV2Domain setCategory(java.lang.String category) {
60+
this.category = category;
61+
return this;
62+
}
63+
64+
/**
65+
* The collection of signals that influenced selection of the category.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.util.List<java.lang.String> getSignals() {
69+
return signals;
70+
}
71+
72+
/**
73+
* The collection of signals that influenced selection of the category.
74+
* @param signals signals or {@code null} for none
75+
*/
76+
public GooglePrivacyDlpV2Domain setSignals(java.util.List<java.lang.String> signals) {
77+
this.signals = signals;
78+
return this;
79+
}
80+
81+
@Override
82+
public GooglePrivacyDlpV2Domain set(String fieldName, Object value) {
83+
return (GooglePrivacyDlpV2Domain) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public GooglePrivacyDlpV2Domain clone() {
88+
return (GooglePrivacyDlpV2Domain) super.clone();
89+
}
90+
91+
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,19 @@ public final class GooglePrivacyDlpV2FileStoreDataProfile extends com.google.api
6969
@com.google.api.client.util.Key
7070
private java.util.List<java.lang.String> dataStorageLocations;
7171

72+
/**
73+
* Domains associated with the profile.
74+
* The value may be {@code null}.
75+
*/
76+
@com.google.api.client.util.Key
77+
private java.util.List<GooglePrivacyDlpV2Domain> domains;
78+
79+
static {
80+
// hack to force ProGuard to consider GooglePrivacyDlpV2Domain used, since otherwise it would be stripped out
81+
// see https://github.com/google/google-api-java-client/issues/543
82+
com.google.api.client.util.Data.nullOf(GooglePrivacyDlpV2Domain.class);
83+
}
84+
7285
/**
7386
* FileClusterSummary per each cluster.
7487
* The value may be {@code null}.
@@ -324,6 +337,23 @@ public GooglePrivacyDlpV2FileStoreDataProfile setDataStorageLocations(java.util.
324337
return this;
325338
}
326339

340+
/**
341+
* Domains associated with the profile.
342+
* @return value or {@code null} for none
343+
*/
344+
public java.util.List<GooglePrivacyDlpV2Domain> getDomains() {
345+
return domains;
346+
}
347+
348+
/**
349+
* Domains associated with the profile.
350+
* @param domains domains or {@code null} for none
351+
*/
352+
public GooglePrivacyDlpV2FileStoreDataProfile setDomains(java.util.List<GooglePrivacyDlpV2Domain> domains) {
353+
this.domains = domains;
354+
return this;
355+
}
356+
327357
/**
328358
* FileClusterSummary per each cluster.
329359
* @return value or {@code null} for none

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

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,19 @@ public final class GooglePrivacyDlpV2TableDataProfile extends com.google.api.cli
8080
@com.google.api.client.util.Key
8181
private java.lang.String datasetProjectId;
8282

83+
/**
84+
* Domains associated with the profile.
85+
* The value may be {@code null}.
86+
*/
87+
@com.google.api.client.util.Key
88+
private java.util.List<GooglePrivacyDlpV2Domain> domains;
89+
90+
static {
91+
// hack to force ProGuard to consider GooglePrivacyDlpV2Domain used, since otherwise it would be stripped out
92+
// see https://github.com/google/google-api-java-client/issues/543
93+
com.google.api.client.util.Data.nullOf(GooglePrivacyDlpV2Domain.class);
94+
}
95+
8396
/**
8497
* How the table is encrypted.
8598
* The value may be {@code null}.
@@ -228,7 +241,8 @@ public final class GooglePrivacyDlpV2TableDataProfile extends com.google.api.cli
228241
private GooglePrivacyDlpV2SensitivityScore sensitivityScore;
229242

230243
/**
231-
* State of a profile.
244+
* State of a profile. This will always be set to DONE when the table data profile is written to
245+
* another service like BigQuery or Pub/Sub.
232246
* The value may be {@code null}.
233247
*/
234248
@com.google.api.client.util.Key
@@ -378,6 +392,23 @@ public GooglePrivacyDlpV2TableDataProfile setDatasetProjectId(java.lang.String d
378392
return this;
379393
}
380394

395+
/**
396+
* Domains associated with the profile.
397+
* @return value or {@code null} for none
398+
*/
399+
public java.util.List<GooglePrivacyDlpV2Domain> getDomains() {
400+
return domains;
401+
}
402+
403+
/**
404+
* Domains associated with the profile.
405+
* @param domains domains or {@code null} for none
406+
*/
407+
public GooglePrivacyDlpV2TableDataProfile setDomains(java.util.List<GooglePrivacyDlpV2Domain> domains) {
408+
this.domains = domains;
409+
return this;
410+
}
411+
381412
/**
382413
* How the table is encrypted.
383414
* @return value or {@code null} for none
@@ -691,15 +722,17 @@ public GooglePrivacyDlpV2TableDataProfile setSensitivityScore(GooglePrivacyDlpV2
691722
}
692723

693724
/**
694-
* State of a profile.
725+
* State of a profile. This will always be set to DONE when the table data profile is written to
726+
* another service like BigQuery or Pub/Sub.
695727
* @return value or {@code null} for none
696728
*/
697729
public java.lang.String getState() {
698730
return state;
699731
}
700732

701733
/**
702-
* State of a profile.
734+
* State of a profile. This will always be set to DONE when the table data profile is written to
735+
* another service like BigQuery or Pub/Sub.
703736
* @param state state or {@code null} for none
704737
*/
705738
public GooglePrivacyDlpV2TableDataProfile setState(java.lang.String state) {

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

0 commit comments

Comments
 (0)