Skip to content

Commit 9610004

Browse files
1 parent 32d905c commit 9610004

File tree

8 files changed

+410
-282
lines changed

8 files changed

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

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

Lines changed: 310 additions & 254 deletions
Large diffs are not rendered by default.

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ public final class GooglePrivacyDlpV2FileStoreCollection extends com.google.api.
4242
* requirements: - If tag filters are provided, match all provided tag filters. - If one or more
4343
* patterns are specified, match at least one pattern. For a resource to match the tag filters,
4444
* the resource must have all of the provided tags attached. Tags refer to Resource Manager tags
45-
* bound to the resource or its ancestors. See https://cloud.google.com/sensitive-data-
46-
* protection/docs/profile-project-cloud-storage#manage-schedules to learn more.
45+
* bound to the resource or its ancestors. For more information, see [Manage
46+
* schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-
47+
* storage#manage-schedules).
4748
* The value may be {@code null}.
4849
*/
4950
@com.google.api.client.util.Key
@@ -71,8 +72,9 @@ public GooglePrivacyDlpV2FileStoreCollection setIncludeRegexes(GooglePrivacyDlpV
7172
* requirements: - If tag filters are provided, match all provided tag filters. - If one or more
7273
* patterns are specified, match at least one pattern. For a resource to match the tag filters,
7374
* the resource must have all of the provided tags attached. Tags refer to Resource Manager tags
74-
* bound to the resource or its ancestors. See https://cloud.google.com/sensitive-data-
75-
* protection/docs/profile-project-cloud-storage#manage-schedules to learn more.
75+
* bound to the resource or its ancestors. For more information, see [Manage
76+
* schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-
77+
* storage#manage-schedules).
7678
* @return value or {@code null} for none
7779
*/
7880
public GooglePrivacyDlpV2TagFilters getIncludeTags() {
@@ -84,8 +86,9 @@ public GooglePrivacyDlpV2TagFilters getIncludeTags() {
8486
* requirements: - If tag filters are provided, match all provided tag filters. - If one or more
8587
* patterns are specified, match at least one pattern. For a resource to match the tag filters,
8688
* the resource must have all of the provided tags attached. Tags refer to Resource Manager tags
87-
* bound to the resource or its ancestors. See https://cloud.google.com/sensitive-data-
88-
* protection/docs/profile-project-cloud-storage#manage-schedules to learn more.
89+
* bound to the resource or its ancestors. For more information, see [Manage
90+
* schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-
91+
* storage#manage-schedules).
8992
* @param includeTags includeTags or {@code null} for none
9093
*/
9194
public GooglePrivacyDlpV2FileStoreCollection setIncludeTags(GooglePrivacyDlpV2TagFilters includeTags) {

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ public final class GooglePrivacyDlpV2OutputStorageConfig extends com.google.api.
4444

4545
/**
4646
* Store findings in an existing Cloud Storage bucket. Files will be generated with the job ID and
47-
* file part number as the filename, and will contain findings in textproto format as
48-
* SaveToGcsFindingsOutput. The file name will use the naming convention -, for example: my-job-
49-
* id-2. Supported for Inspect jobs. The bucket must not be the same as the bucket being
47+
* file part number as the filename and will contain findings in textproto format as
48+
* SaveToGcsFindingsOutput. The filename will follow the naming convention `-`. Example: `my-job-
49+
* id-2`. Supported for Inspect jobs. The bucket must not be the same as the bucket being
5050
* inspected. If storing findings to Cloud Storage, the output schema field should not be set. If
5151
* set, it will be ignored.
5252
* The value may be {@code null}.
@@ -98,9 +98,9 @@ public GooglePrivacyDlpV2OutputStorageConfig setOutputSchema(java.lang.String ou
9898

9999
/**
100100
* Store findings in an existing Cloud Storage bucket. Files will be generated with the job ID and
101-
* file part number as the filename, and will contain findings in textproto format as
102-
* SaveToGcsFindingsOutput. The file name will use the naming convention -, for example: my-job-
103-
* id-2. Supported for Inspect jobs. The bucket must not be the same as the bucket being
101+
* file part number as the filename and will contain findings in textproto format as
102+
* SaveToGcsFindingsOutput. The filename will follow the naming convention `-`. Example: `my-job-
103+
* id-2`. Supported for Inspect jobs. The bucket must not be the same as the bucket being
104104
* inspected. If storing findings to Cloud Storage, the output schema field should not be set. If
105105
* set, it will be ignored.
106106
* @return value or {@code null} for none
@@ -111,9 +111,9 @@ public GooglePrivacyDlpV2CloudStoragePath getStoragePath() {
111111

112112
/**
113113
* Store findings in an existing Cloud Storage bucket. Files will be generated with the job ID and
114-
* file part number as the filename, and will contain findings in textproto format as
115-
* SaveToGcsFindingsOutput. The file name will use the naming convention -, for example: my-job-
116-
* id-2. Supported for Inspect jobs. The bucket must not be the same as the bucket being
114+
* file part number as the filename and will contain findings in textproto format as
115+
* SaveToGcsFindingsOutput. The filename will follow the naming convention `-`. Example: `my-job-
116+
* id-2`. Supported for Inspect jobs. The bucket must not be the same as the bucket being
117117
* inspected. If storing findings to Cloud Storage, the output schema field should not be set. If
118118
* set, it will be ignored.
119119
* @param storagePath storagePath or {@code null} for none

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818

1919
/**
2020
* 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
21+
* result` aspect. For more information, see [Send inspection results to Dataplex Universal Catalog
22+
* as aspects](https://cloud.google.com/sensitive-data-protection/docs/add-aspects-inspection-job).
23+
* Aspects are stored in Dataplex Universal Catalog storage and are governed by service-specific
24+
* policies for Dataplex Universal Catalog. For more information, see [Service Specific
25+
* Terms](https://cloud.google.com/terms/service-terms). Only a single instance of this action can
26+
* be specified. This action is allowed only if all resources being scanned are BigQuery tables.
27+
* Compatible with: Inspect
2828
*
2929
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
3030
* transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed

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

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ public final class GooglePrivacyDlpV2RedactImageRequest extends com.google.api.c
3838
@com.google.api.client.util.Key
3939
private GooglePrivacyDlpV2ByteContentItem byteItem;
4040

41+
/**
42+
* The full resource name of the de-identification template to use. Settings in the main
43+
* `image_redaction_configs` field override the corresponding settings in this de-identification
44+
* template. The request fails if the type of the template's deidentify_config is not
45+
* image_transformations.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String deidentifyTemplate;
50+
4151
/**
4252
* The configuration for specifying what content to redact from images.
4353
* The value may be {@code null}.
@@ -65,6 +75,17 @@ public final class GooglePrivacyDlpV2RedactImageRequest extends com.google.api.c
6575
@com.google.api.client.util.Key
6676
private GooglePrivacyDlpV2InspectConfig inspectConfig;
6777

78+
/**
79+
* The full resource name of the inspection template to use. Settings in the main `inspect_config`
80+
* field override the corresponding settings in this inspection template. The merge behavior is as
81+
* follows: - Singular field: The main field's value replaces the value of the corresponding field
82+
* in the template. - Repeated fields: The field values are appended to the list defined in the
83+
* template. - Sub-messages and groups: The fields are recursively merged.
84+
* The value may be {@code null}.
85+
*/
86+
@com.google.api.client.util.Key
87+
private java.lang.String inspectTemplate;
88+
6889
/**
6990
* Deprecated. This field has no effect.
7091
* The value may be {@code null}.
@@ -89,6 +110,29 @@ public GooglePrivacyDlpV2RedactImageRequest setByteItem(GooglePrivacyDlpV2ByteCo
89110
return this;
90111
}
91112

113+
/**
114+
* The full resource name of the de-identification template to use. Settings in the main
115+
* `image_redaction_configs` field override the corresponding settings in this de-identification
116+
* template. The request fails if the type of the template's deidentify_config is not
117+
* image_transformations.
118+
* @return value or {@code null} for none
119+
*/
120+
public java.lang.String getDeidentifyTemplate() {
121+
return deidentifyTemplate;
122+
}
123+
124+
/**
125+
* The full resource name of the de-identification template to use. Settings in the main
126+
* `image_redaction_configs` field override the corresponding settings in this de-identification
127+
* template. The request fails if the type of the template's deidentify_config is not
128+
* image_transformations.
129+
* @param deidentifyTemplate deidentifyTemplate or {@code null} for none
130+
*/
131+
public GooglePrivacyDlpV2RedactImageRequest setDeidentifyTemplate(java.lang.String deidentifyTemplate) {
132+
this.deidentifyTemplate = deidentifyTemplate;
133+
return this;
134+
}
135+
92136
/**
93137
* The configuration for specifying what content to redact from images.
94138
* @return value or {@code null} for none
@@ -140,6 +184,31 @@ public GooglePrivacyDlpV2RedactImageRequest setInspectConfig(GooglePrivacyDlpV2I
140184
return this;
141185
}
142186

187+
/**
188+
* The full resource name of the inspection template to use. Settings in the main `inspect_config`
189+
* field override the corresponding settings in this inspection template. The merge behavior is as
190+
* follows: - Singular field: The main field's value replaces the value of the corresponding field
191+
* in the template. - Repeated fields: The field values are appended to the list defined in the
192+
* template. - Sub-messages and groups: The fields are recursively merged.
193+
* @return value or {@code null} for none
194+
*/
195+
public java.lang.String getInspectTemplate() {
196+
return inspectTemplate;
197+
}
198+
199+
/**
200+
* The full resource name of the inspection template to use. Settings in the main `inspect_config`
201+
* field override the corresponding settings in this inspection template. The merge behavior is as
202+
* follows: - Singular field: The main field's value replaces the value of the corresponding field
203+
* in the template. - Repeated fields: The field values are appended to the list defined in the
204+
* template. - Sub-messages and groups: The fields are recursively merged.
205+
* @param inspectTemplate inspectTemplate or {@code null} for none
206+
*/
207+
public GooglePrivacyDlpV2RedactImageRequest setInspectTemplate(java.lang.String inspectTemplate) {
208+
this.inspectTemplate = inspectTemplate;
209+
return this;
210+
}
211+
143212
/**
144213
* Deprecated. This field has no effect.
145214
* @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-rev20250921-2.0.0</version>
12-
<name>Sensitive Data Protection (DLP) v2-rev20250921-2.0.0</name>
11+
<version>v2-rev20251004-2.0.0</version>
12+
<name>Sensitive Data Protection (DLP) v2-rev20251004-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-rev20250921-2.0.0</version>
25+
<version>v2-rev20251004-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-rev20250921-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dlp:v2-rev20251004-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)