Skip to content

Commit cb2fd28

Browse files
1 parent ee3c94b commit cb2fd28

12 files changed

+1438
-1030
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-rev20240805-2.0.0</version>
25+
<version>v2-rev20240808-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-rev20240805-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dlp:v2-rev20240808-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: 1032 additions & 994 deletions
Large diffs are not rendered by default.

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ public final class GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig extends com.googl
7171
* This is supported by mapping these to the alphanumeric characters that the FFX mode natively
7272
* supports. This happens before/after encryption/decryption. Each character listed must appear
7373
* only once. Number of characters must be in the range [2, 95]. This must be encoded as ASCII.
74-
* The order of characters does not matter. The full list of allowed characters is:
75-
* 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/
74+
* The order of characters does not matter. The full list of allowed characters is: ``0123456789AB
75+
* CDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/``
7676
* The value may be {@code null}.
7777
*/
7878
@com.google.api.client.util.Key
@@ -178,8 +178,8 @@ public GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig setCryptoKey(GooglePrivacyDlp
178178
* This is supported by mapping these to the alphanumeric characters that the FFX mode natively
179179
* supports. This happens before/after encryption/decryption. Each character listed must appear
180180
* only once. Number of characters must be in the range [2, 95]. This must be encoded as ASCII.
181-
* The order of characters does not matter. The full list of allowed characters is:
182-
* 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/
181+
* The order of characters does not matter. The full list of allowed characters is: ``0123456789AB
182+
* CDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/``
183183
* @return value or {@code null} for none
184184
*/
185185
public java.lang.String getCustomAlphabet() {
@@ -190,8 +190,8 @@ public java.lang.String getCustomAlphabet() {
190190
* This is supported by mapping these to the alphanumeric characters that the FFX mode natively
191191
* supports. This happens before/after encryption/decryption. Each character listed must appear
192192
* only once. Number of characters must be in the range [2, 95]. This must be encoded as ASCII.
193-
* The order of characters does not matter. The full list of allowed characters is:
194-
* 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/
193+
* The order of characters does not matter. The full list of allowed characters is: ``0123456789AB
194+
* CDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/``
195195
* @param customAlphabet customAlphabet or {@code null} for none
196196
*/
197197
public GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig setCustomAlphabet(java.lang.String customAlphabet) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ public final class GooglePrivacyDlpV2DataProfileAction extends com.google.api.cl
4444
@com.google.api.client.util.Key
4545
private GooglePrivacyDlpV2PubSubNotification pubSubNotification;
4646

47+
/**
48+
* Tags the profiled resources with the specified tag values.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private GooglePrivacyDlpV2TagResources tagResources;
53+
4754
/**
4855
* Export data profiles into a provided location.
4956
* @return value or {@code null} for none
@@ -78,6 +85,23 @@ public GooglePrivacyDlpV2DataProfileAction setPubSubNotification(GooglePrivacyDl
7885
return this;
7986
}
8087

88+
/**
89+
* Tags the profiled resources with the specified tag values.
90+
* @return value or {@code null} for none
91+
*/
92+
public GooglePrivacyDlpV2TagResources getTagResources() {
93+
return tagResources;
94+
}
95+
96+
/**
97+
* Tags the profiled resources with the specified tag values.
98+
* @param tagResources tagResources or {@code null} for none
99+
*/
100+
public GooglePrivacyDlpV2DataProfileAction setTagResources(GooglePrivacyDlpV2TagResources tagResources) {
101+
this.tagResources = tagResources;
102+
return this;
103+
}
104+
81105
@Override
82106
public GooglePrivacyDlpV2DataProfileAction set(String fieldName, Object value) {
83107
return (GooglePrivacyDlpV2DataProfileAction) super.set(fieldName, value);

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
@SuppressWarnings("javadoc")
3232
public final class GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* Governs when to update data profiles when the inspection rules defined by the `InspectTemplate`
36+
* change. If not set, changing the template will not cause a data profile to update.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence inspectTemplateModifiedCadence;
41+
3442
/**
3543
* Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set
3644
* this field, profiles are refreshed at this frequency regardless of whether the underlying
@@ -47,6 +55,25 @@ public final class GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence extends
4755
@com.google.api.client.util.Key
4856
private GooglePrivacyDlpV2SchemaModifiedCadence schemaModifiedCadence;
4957

58+
/**
59+
* Governs when to update data profiles when the inspection rules defined by the `InspectTemplate`
60+
* change. If not set, changing the template will not cause a data profile to update.
61+
* @return value or {@code null} for none
62+
*/
63+
public GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence getInspectTemplateModifiedCadence() {
64+
return inspectTemplateModifiedCadence;
65+
}
66+
67+
/**
68+
* Governs when to update data profiles when the inspection rules defined by the `InspectTemplate`
69+
* change. If not set, changing the template will not cause a data profile to update.
70+
* @param inspectTemplateModifiedCadence inspectTemplateModifiedCadence or {@code null} for none
71+
*/
72+
public GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence setInspectTemplateModifiedCadence(GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence inspectTemplateModifiedCadence) {
73+
this.inspectTemplateModifiedCadence = inspectTemplateModifiedCadence;
74+
return this;
75+
}
76+
5077
/**
5178
* Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set
5279
* this field, profiles are refreshed at this frequency regardless of whether the underlying

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,16 @@ public final class GooglePrivacyDlpV2FileClusterSummary extends com.google.api.c
5858
private GooglePrivacyDlpV2FileClusterType fileClusterType;
5959

6060
/**
61-
* A sample of file types scanned in this cluster. Empty if no files were scanned.
61+
* A sample of file types scanned in this cluster. Empty if no files were scanned. File extensions
62+
* can be derived from the file name or the file content.
6263
* The value may be {@code null}.
6364
*/
6465
@com.google.api.client.util.Key
6566
private java.util.List<GooglePrivacyDlpV2FileExtensionInfo> fileExtensionsScanned;
6667

6768
/**
68-
* A sample of file types seen in this cluster. Empty if no files were seen.
69+
* A sample of file types seen in this cluster. Empty if no files were seen. File extensions can
70+
* be derived from the file name or the file content.
6971
* The value may be {@code null}.
7072
*/
7173
@com.google.api.client.util.Key
@@ -146,15 +148,17 @@ public GooglePrivacyDlpV2FileClusterSummary setFileClusterType(GooglePrivacyDlpV
146148
}
147149

148150
/**
149-
* A sample of file types scanned in this cluster. Empty if no files were scanned.
151+
* A sample of file types scanned in this cluster. Empty if no files were scanned. File extensions
152+
* can be derived from the file name or the file content.
150153
* @return value or {@code null} for none
151154
*/
152155
public java.util.List<GooglePrivacyDlpV2FileExtensionInfo> getFileExtensionsScanned() {
153156
return fileExtensionsScanned;
154157
}
155158

156159
/**
157-
* A sample of file types scanned in this cluster. Empty if no files were scanned.
160+
* A sample of file types scanned in this cluster. Empty if no files were scanned. File extensions
161+
* can be derived from the file name or the file content.
158162
* @param fileExtensionsScanned fileExtensionsScanned or {@code null} for none
159163
*/
160164
public GooglePrivacyDlpV2FileClusterSummary setFileExtensionsScanned(java.util.List<GooglePrivacyDlpV2FileExtensionInfo> fileExtensionsScanned) {
@@ -163,15 +167,17 @@ public GooglePrivacyDlpV2FileClusterSummary setFileExtensionsScanned(java.util.L
163167
}
164168

165169
/**
166-
* A sample of file types seen in this cluster. Empty if no files were seen.
170+
* A sample of file types seen in this cluster. Empty if no files were seen. File extensions can
171+
* be derived from the file name or the file content.
167172
* @return value or {@code null} for none
168173
*/
169174
public java.util.List<GooglePrivacyDlpV2FileExtensionInfo> getFileExtensionsSeen() {
170175
return fileExtensionsSeen;
171176
}
172177

173178
/**
174-
* A sample of file types seen in this cluster. Empty if no files were seen.
179+
* A sample of file types seen in this cluster. Empty if no files were seen. File extensions can
180+
* be derived from the file name or the file content.
175181
* @param fileExtensionsSeen fileExtensionsSeen or {@code null} for none
176182
*/
177183
public GooglePrivacyDlpV2FileClusterSummary setFileExtensionsSeen(java.util.List<GooglePrivacyDlpV2FileExtensionInfo> fileExtensionsSeen) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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+
* The tag to attach to profiles matching the condition. At most one `TagCondition` can be specified
21+
* per sensitivity level.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed
25+
* explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class GooglePrivacyDlpV2TagCondition extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Conditions attaching the tag to a resource on its profile having this sensitivity score.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private GooglePrivacyDlpV2SensitivityScore sensitivityScore;
40+
41+
/**
42+
* The tag value to attach to resources.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private GooglePrivacyDlpV2TagValue tag;
47+
48+
/**
49+
* Conditions attaching the tag to a resource on its profile having this sensitivity score.
50+
* @return value or {@code null} for none
51+
*/
52+
public GooglePrivacyDlpV2SensitivityScore getSensitivityScore() {
53+
return sensitivityScore;
54+
}
55+
56+
/**
57+
* Conditions attaching the tag to a resource on its profile having this sensitivity score.
58+
* @param sensitivityScore sensitivityScore or {@code null} for none
59+
*/
60+
public GooglePrivacyDlpV2TagCondition setSensitivityScore(GooglePrivacyDlpV2SensitivityScore sensitivityScore) {
61+
this.sensitivityScore = sensitivityScore;
62+
return this;
63+
}
64+
65+
/**
66+
* The tag value to attach to resources.
67+
* @return value or {@code null} for none
68+
*/
69+
public GooglePrivacyDlpV2TagValue getTag() {
70+
return tag;
71+
}
72+
73+
/**
74+
* The tag value to attach to resources.
75+
* @param tag tag or {@code null} for none
76+
*/
77+
public GooglePrivacyDlpV2TagCondition setTag(GooglePrivacyDlpV2TagValue tag) {
78+
this.tag = tag;
79+
return this;
80+
}
81+
82+
@Override
83+
public GooglePrivacyDlpV2TagCondition set(String fieldName, Object value) {
84+
return (GooglePrivacyDlpV2TagCondition) super.set(fieldName, value);
85+
}
86+
87+
@Override
88+
public GooglePrivacyDlpV2TagCondition clone() {
89+
return (GooglePrivacyDlpV2TagCondition) super.clone();
90+
}
91+
92+
}

0 commit comments

Comments
 (0)