Skip to content

Commit 75c68f9

Browse files
1 parent 62ef67d commit 75c68f9

8 files changed

Lines changed: 255 additions & 6 deletions

File tree

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

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* Represents a batch of content to inspect or redact.
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 GooglePrivacyDlpV2BatchContentItem extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Represents a batch of string values to inspect or redact.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GooglePrivacyDlpV2StringValueBatch stringValueBatch;
39+
40+
/**
41+
* Optional. Represents a batch of string values to inspect or redact.
42+
* @return value or {@code null} for none
43+
*/
44+
public GooglePrivacyDlpV2StringValueBatch getStringValueBatch() {
45+
return stringValueBatch;
46+
}
47+
48+
/**
49+
* Optional. Represents a batch of string values to inspect or redact.
50+
* @param stringValueBatch stringValueBatch or {@code null} for none
51+
*/
52+
public GooglePrivacyDlpV2BatchContentItem setStringValueBatch(GooglePrivacyDlpV2StringValueBatch stringValueBatch) {
53+
this.stringValueBatch = stringValueBatch;
54+
return this;
55+
}
56+
57+
@Override
58+
public GooglePrivacyDlpV2BatchContentItem set(String fieldName, Object value) {
59+
return (GooglePrivacyDlpV2BatchContentItem) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GooglePrivacyDlpV2BatchContentItem clone() {
64+
return (GooglePrivacyDlpV2BatchContentItem) super.clone();
65+
}
66+
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* Location within a batch of content.
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 GooglePrivacyDlpV2BatchContentLocation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Matches an index of a batch item in the batch provided in the request.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Integer itemIndex;
39+
40+
/**
41+
* Matches an index of a batch item in the batch provided in the request.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.Integer getItemIndex() {
45+
return itemIndex;
46+
}
47+
48+
/**
49+
* Matches an index of a batch item in the batch provided in the request.
50+
* @param itemIndex itemIndex or {@code null} for none
51+
*/
52+
public GooglePrivacyDlpV2BatchContentLocation setItemIndex(java.lang.Integer itemIndex) {
53+
this.itemIndex = itemIndex;
54+
return this;
55+
}
56+
57+
@Override
58+
public GooglePrivacyDlpV2BatchContentLocation set(String fieldName, Object value) {
59+
return (GooglePrivacyDlpV2BatchContentLocation) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GooglePrivacyDlpV2BatchContentLocation clone() {
64+
return (GooglePrivacyDlpV2BatchContentLocation) super.clone();
65+
}
66+
67+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class GooglePrivacyDlpV2ContentItem extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Represents a batch of items to inspect.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GooglePrivacyDlpV2BatchContentItem batchContentItem;
39+
3340
/**
3441
* Content data to inspect or redact. Replaces `type` and `data`.
3542
* The value may be {@code null}.
@@ -67,6 +74,23 @@ public final class GooglePrivacyDlpV2ContentItem extends com.google.api.client.j
6774
@com.google.api.client.util.Key
6875
private java.lang.String value;
6976

77+
/**
78+
* Represents a batch of items to inspect.
79+
* @return value or {@code null} for none
80+
*/
81+
public GooglePrivacyDlpV2BatchContentItem getBatchContentItem() {
82+
return batchContentItem;
83+
}
84+
85+
/**
86+
* Represents a batch of items to inspect.
87+
* @param batchContentItem batchContentItem or {@code null} for none
88+
*/
89+
public GooglePrivacyDlpV2ContentItem setBatchContentItem(GooglePrivacyDlpV2BatchContentItem batchContentItem) {
90+
this.batchContentItem = batchContentItem;
91+
return this;
92+
}
93+
7094
/**
7195
* Content data to inspect or redact. Replaces `type` and `data`.
7296
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class GooglePrivacyDlpV2ContentLocation extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Location within a batch of content.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GooglePrivacyDlpV2BatchContentLocation batchContentLocation;
39+
3340
/**
3441
* Name of the container where the finding is located. The top level name is the source file name
3542
* or table name. Names of some common storage containers are formatted as follows: * BigQuery
@@ -92,6 +99,23 @@ public final class GooglePrivacyDlpV2ContentLocation extends com.google.api.clie
9299
@com.google.api.client.util.Key
93100
private GooglePrivacyDlpV2RecordLocation recordLocation;
94101

102+
/**
103+
* Location within a batch of content.
104+
* @return value or {@code null} for none
105+
*/
106+
public GooglePrivacyDlpV2BatchContentLocation getBatchContentLocation() {
107+
return batchContentLocation;
108+
}
109+
110+
/**
111+
* Location within a batch of content.
112+
* @param batchContentLocation batchContentLocation or {@code null} for none
113+
*/
114+
public GooglePrivacyDlpV2ContentLocation setBatchContentLocation(GooglePrivacyDlpV2BatchContentLocation batchContentLocation) {
115+
this.batchContentLocation = batchContentLocation;
116+
return this;
117+
}
118+
95119
/**
96120
* Name of the container where the finding is located. The top level name is the source file name
97121
* or table name. Names of some common storage containers are formatted as follows: * BigQuery
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* Represents a batch of string values to inspect or redact.
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 GooglePrivacyDlpV2StringValueBatch extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Represents string data to inspect or redact.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<java.lang.String> values;
39+
40+
/**
41+
* Optional. Represents string data to inspect or redact.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.util.List<java.lang.String> getValues() {
45+
return values;
46+
}
47+
48+
/**
49+
* Optional. Represents string data to inspect or redact.
50+
* @param values values or {@code null} for none
51+
*/
52+
public GooglePrivacyDlpV2StringValueBatch setValues(java.util.List<java.lang.String> values) {
53+
this.values = values;
54+
return this;
55+
}
56+
57+
@Override
58+
public GooglePrivacyDlpV2StringValueBatch set(String fieldName, Object value) {
59+
return (GooglePrivacyDlpV2StringValueBatch) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GooglePrivacyDlpV2StringValueBatch clone() {
64+
return (GooglePrivacyDlpV2StringValueBatch) super.clone();
65+
}
66+
67+
}

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

0 commit comments

Comments
 (0)