Skip to content

Commit 992863b

Browse files
1 parent eb50321 commit 992863b

File tree

7 files changed

+263
-6
lines changed

7 files changed

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

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@ public final class GooglePrivacyDlpV2FileStoreCollection extends com.google.api.
3737
@com.google.api.client.util.Key
3838
private GooglePrivacyDlpV2FileStoreRegexes includeRegexes;
3939

40+
/**
41+
* Optional. To be included in the collection, a resource must meet all of the following
42+
* requirements: - If tag filters are provided, match all provided tag filters. - If one or more
43+
* patterns are specified, match at least one pattern. For a resource to match the tag filters,
44+
* 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.
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private GooglePrivacyDlpV2TagFilters includeTags;
51+
4052
/**
4153
* Optional. A collection of regular expressions to match a file store against.
4254
* @return value or {@code null} for none
@@ -54,6 +66,33 @@ public GooglePrivacyDlpV2FileStoreCollection setIncludeRegexes(GooglePrivacyDlpV
5466
return this;
5567
}
5668

69+
/**
70+
* Optional. To be included in the collection, a resource must meet all of the following
71+
* requirements: - If tag filters are provided, match all provided tag filters. - If one or more
72+
* patterns are specified, match at least one pattern. For a resource to match the tag filters,
73+
* 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.
76+
* @return value or {@code null} for none
77+
*/
78+
public GooglePrivacyDlpV2TagFilters getIncludeTags() {
79+
return includeTags;
80+
}
81+
82+
/**
83+
* Optional. To be included in the collection, a resource must meet all of the following
84+
* requirements: - If tag filters are provided, match all provided tag filters. - If one or more
85+
* patterns are specified, match at least one pattern. For a resource to match the tag filters,
86+
* 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+
* @param includeTags includeTags or {@code null} for none
90+
*/
91+
public GooglePrivacyDlpV2FileStoreCollection setIncludeTags(GooglePrivacyDlpV2TagFilters includeTags) {
92+
this.includeTags = includeTags;
93+
return this;
94+
}
95+
5796
@Override
5897
public GooglePrivacyDlpV2FileStoreCollection set(String fieldName, Object value) {
5998
return (GooglePrivacyDlpV2FileStoreCollection) super.set(fieldName, value);

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ public final class GooglePrivacyDlpV2OutputStorageConfig extends com.google.api.
4242
@com.google.api.client.util.Key
4343
private java.lang.String outputSchema;
4444

45+
/**
46+
* 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
50+
* inspected. If storing findings to Cloud Storage, the output schema field should not be set. If
51+
* set, it will be ignored.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private GooglePrivacyDlpV2CloudStoragePath storagePath;
56+
4557
/**
4658
* Store findings in an existing table or a new table in an existing dataset. If table_id is not
4759
* set a new one will be generated for you with the following format:
@@ -84,6 +96,33 @@ public GooglePrivacyDlpV2OutputStorageConfig setOutputSchema(java.lang.String ou
8496
return this;
8597
}
8698

99+
/**
100+
* 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
104+
* inspected. If storing findings to Cloud Storage, the output schema field should not be set. If
105+
* set, it will be ignored.
106+
* @return value or {@code null} for none
107+
*/
108+
public GooglePrivacyDlpV2CloudStoragePath getStoragePath() {
109+
return storagePath;
110+
}
111+
112+
/**
113+
* 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
117+
* inspected. If storing findings to Cloud Storage, the output schema field should not be set. If
118+
* set, it will be ignored.
119+
* @param storagePath storagePath or {@code null} for none
120+
*/
121+
public GooglePrivacyDlpV2OutputStorageConfig setStoragePath(GooglePrivacyDlpV2CloudStoragePath storagePath) {
122+
this.storagePath = storagePath;
123+
return this;
124+
}
125+
87126
/**
88127
* Store findings in an existing table or a new table in an existing dataset. If table_id is not
89128
* set a new one will be generated for you with the following format:
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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 single tag to filter against.
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 GooglePrivacyDlpV2TagFilter extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The namespaced name for the tag key. Must be in the format `{parent_id}/{tag_key_short_name}`,
35+
* for example, "123456/sensitive" for an organization parent, or "my-project/sensitive" for a
36+
* project parent.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String namespacedTagKey;
41+
42+
/**
43+
* The namespaced name for the tag value. Must be in the format
44+
* `{parent_id}/{tag_key_short_name}/{short_name}`, for example, "123456/environment/prod" for an
45+
* organization parent, or "my-project/environment/prod" for a project parent.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String namespacedTagValue;
50+
51+
/**
52+
* The namespaced name for the tag key. Must be in the format `{parent_id}/{tag_key_short_name}`,
53+
* for example, "123456/sensitive" for an organization parent, or "my-project/sensitive" for a
54+
* project parent.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getNamespacedTagKey() {
58+
return namespacedTagKey;
59+
}
60+
61+
/**
62+
* The namespaced name for the tag key. Must be in the format `{parent_id}/{tag_key_short_name}`,
63+
* for example, "123456/sensitive" for an organization parent, or "my-project/sensitive" for a
64+
* project parent.
65+
* @param namespacedTagKey namespacedTagKey or {@code null} for none
66+
*/
67+
public GooglePrivacyDlpV2TagFilter setNamespacedTagKey(java.lang.String namespacedTagKey) {
68+
this.namespacedTagKey = namespacedTagKey;
69+
return this;
70+
}
71+
72+
/**
73+
* The namespaced name for the tag value. Must be in the format
74+
* `{parent_id}/{tag_key_short_name}/{short_name}`, for example, "123456/environment/prod" for an
75+
* organization parent, or "my-project/environment/prod" for a project parent.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.String getNamespacedTagValue() {
79+
return namespacedTagValue;
80+
}
81+
82+
/**
83+
* The namespaced name for the tag value. Must be in the format
84+
* `{parent_id}/{tag_key_short_name}/{short_name}`, for example, "123456/environment/prod" for an
85+
* organization parent, or "my-project/environment/prod" for a project parent.
86+
* @param namespacedTagValue namespacedTagValue or {@code null} for none
87+
*/
88+
public GooglePrivacyDlpV2TagFilter setNamespacedTagValue(java.lang.String namespacedTagValue) {
89+
this.namespacedTagValue = namespacedTagValue;
90+
return this;
91+
}
92+
93+
@Override
94+
public GooglePrivacyDlpV2TagFilter set(String fieldName, Object value) {
95+
return (GooglePrivacyDlpV2TagFilter) super.set(fieldName, value);
96+
}
97+
98+
@Override
99+
public GooglePrivacyDlpV2TagFilter clone() {
100+
return (GooglePrivacyDlpV2TagFilter) super.clone();
101+
}
102+
103+
}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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+
* Tags to match against for filtering.
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 GooglePrivacyDlpV2TagFilters extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. A resource must match ALL of the specified tag filters to be included in the
35+
* collection.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.List<GooglePrivacyDlpV2TagFilter> tagFilters;
40+
41+
static {
42+
// hack to force ProGuard to consider GooglePrivacyDlpV2TagFilter used, since otherwise it would be stripped out
43+
// see https://github.com/google/google-api-java-client/issues/543
44+
com.google.api.client.util.Data.nullOf(GooglePrivacyDlpV2TagFilter.class);
45+
}
46+
47+
/**
48+
* Required. A resource must match ALL of the specified tag filters to be included in the
49+
* collection.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.util.List<GooglePrivacyDlpV2TagFilter> getTagFilters() {
53+
return tagFilters;
54+
}
55+
56+
/**
57+
* Required. A resource must match ALL of the specified tag filters to be included in the
58+
* collection.
59+
* @param tagFilters tagFilters or {@code null} for none
60+
*/
61+
public GooglePrivacyDlpV2TagFilters setTagFilters(java.util.List<GooglePrivacyDlpV2TagFilter> tagFilters) {
62+
this.tagFilters = tagFilters;
63+
return this;
64+
}
65+
66+
@Override
67+
public GooglePrivacyDlpV2TagFilters set(String fieldName, Object value) {
68+
return (GooglePrivacyDlpV2TagFilters) super.set(fieldName, value);
69+
}
70+
71+
@Override
72+
public GooglePrivacyDlpV2TagFilters clone() {
73+
return (GooglePrivacyDlpV2TagFilters) super.clone();
74+
}
75+
76+
}

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

0 commit comments

Comments
 (0)