Skip to content

Commit 249c8a1

Browse files
1 parent dd2f713 commit 249c8a1

14 files changed

+9470
-7010
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-rev20240616-2.0.0</version>
25+
<version>v2-rev20240624-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-rev20240616-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dlp:v2-rev20240624-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: 8168 additions & 7004 deletions
Large diffs are not rendered by default.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class GooglePrivacyDlpV2DataProfileBigQueryRowSchema extends com.go
3737
@com.google.api.client.util.Key
3838
private GooglePrivacyDlpV2ColumnDataProfile columnProfile;
3939

40+
/**
41+
* File store data profile column.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GooglePrivacyDlpV2FileStoreDataProfile fileStoreProfile;
46+
4047
/**
4148
* Table data profile column
4249
* The value may be {@code null}.
@@ -61,6 +68,23 @@ public GooglePrivacyDlpV2DataProfileBigQueryRowSchema setColumnProfile(GooglePri
6168
return this;
6269
}
6370

71+
/**
72+
* File store data profile column.
73+
* @return value or {@code null} for none
74+
*/
75+
public GooglePrivacyDlpV2FileStoreDataProfile getFileStoreProfile() {
76+
return fileStoreProfile;
77+
}
78+
79+
/**
80+
* File store data profile column.
81+
* @param fileStoreProfile fileStoreProfile or {@code null} for none
82+
*/
83+
public GooglePrivacyDlpV2DataProfileBigQueryRowSchema setFileStoreProfile(GooglePrivacyDlpV2FileStoreDataProfile fileStoreProfile) {
84+
this.fileStoreProfile = fileStoreProfile;
85+
return this;
86+
}
87+
6488
/**
6589
* Table data profile column
6690
* @return value or {@code null} for none

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ public final class GooglePrivacyDlpV2DataProfilePubSubMessage extends com.google
3838
@com.google.api.client.util.Key
3939
private java.lang.String event;
4040

41+
/**
42+
* If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated. Otherwise, if
43+
* `DetailLevel` is `RESOURCE_NAME`, then only `name` and `file_store_path` will be populated.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private GooglePrivacyDlpV2FileStoreDataProfile fileStoreProfile;
48+
4149
/**
4250
* If `DetailLevel` is `TABLE_PROFILE` this will be fully populated. Otherwise, if `DetailLevel`
4351
* is `RESOURCE_NAME`, then only `name` and `full_resource` will be populated.
@@ -63,6 +71,25 @@ public GooglePrivacyDlpV2DataProfilePubSubMessage setEvent(java.lang.String even
6371
return this;
6472
}
6573

74+
/**
75+
* If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated. Otherwise, if
76+
* `DetailLevel` is `RESOURCE_NAME`, then only `name` and `file_store_path` will be populated.
77+
* @return value or {@code null} for none
78+
*/
79+
public GooglePrivacyDlpV2FileStoreDataProfile getFileStoreProfile() {
80+
return fileStoreProfile;
81+
}
82+
83+
/**
84+
* If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated. Otherwise, if
85+
* `DetailLevel` is `RESOURCE_NAME`, then only `name` and `file_store_path` will be populated.
86+
* @param fileStoreProfile fileStoreProfile or {@code null} for none
87+
*/
88+
public GooglePrivacyDlpV2DataProfilePubSubMessage setFileStoreProfile(GooglePrivacyDlpV2FileStoreDataProfile fileStoreProfile) {
89+
this.fileStoreProfile = fileStoreProfile;
90+
return this;
91+
}
92+
6693
/**
6794
* If `DetailLevel` is `TABLE_PROFILE` this will be fully populated. Otherwise, if `DetailLevel`
6895
* is `RESOURCE_NAME`, then only `name` and `full_resource` will be populated.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ public final class GooglePrivacyDlpV2Error extends com.google.api.client.json.Ge
3838
@com.google.api.client.util.Key
3939
private GoogleRpcStatus details;
4040

41+
/**
42+
* Additional information about the error.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String extraInfo;
47+
4148
/**
4249
* The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
4350
* The value may be {@code null}.
@@ -62,6 +69,23 @@ public GooglePrivacyDlpV2Error setDetails(GoogleRpcStatus details) {
6269
return this;
6370
}
6471

72+
/**
73+
* Additional information about the error.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.String getExtraInfo() {
77+
return extraInfo;
78+
}
79+
80+
/**
81+
* Additional information about the error.
82+
* @param extraInfo extraInfo or {@code null} for none
83+
*/
84+
public GooglePrivacyDlpV2Error setExtraInfo(java.lang.String extraInfo) {
85+
this.extraInfo = extraInfo;
86+
return this;
87+
}
88+
6589
/**
6690
* The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
6791
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,247 @@
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 file cluster summary.
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 GooglePrivacyDlpV2FileClusterSummary extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The data risk level of this cluster. RISK_LOW if nothing has been scanned.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GooglePrivacyDlpV2DataRiskLevel dataRiskLevel;
39+
40+
/**
41+
* A list of Errors detected while scanning this cluster. The list is truncated to 10 per cluster.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<GooglePrivacyDlpV2Error> errors;
46+
47+
static {
48+
// hack to force ProGuard to consider GooglePrivacyDlpV2Error used, since otherwise it would be stripped out
49+
// see https://github.com/google/google-api-java-client/issues/543
50+
com.google.api.client.util.Data.nullOf(GooglePrivacyDlpV2Error.class);
51+
}
52+
53+
/**
54+
* The file cluster type.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private GooglePrivacyDlpV2FileClusterType fileClusterType;
59+
60+
/**
61+
* A sample of file types scanned in this cluster. Empty if no files were scanned.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.util.List<GooglePrivacyDlpV2FileExtensionInfo> fileExtensionsScanned;
66+
67+
/**
68+
* A sample of file types seen in this cluster. Empty if no files were seen.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private java.util.List<GooglePrivacyDlpV2FileExtensionInfo> fileExtensionsSeen;
73+
74+
/**
75+
* InfoTypes detected in this cluster.
76+
* The value may be {@code null}.
77+
*/
78+
@com.google.api.client.util.Key
79+
private java.util.List<GooglePrivacyDlpV2FileStoreInfoTypeSummary> fileStoreInfoTypeSummaries;
80+
81+
/**
82+
* True if no files exist in this cluster. If the bucket had more files than could be listed, this
83+
* will be false even if no files for this cluster were seen and file_extensions_seen is empty.
84+
* The value may be {@code null}.
85+
*/
86+
@com.google.api.client.util.Key
87+
private java.lang.Boolean noFilesExist;
88+
89+
/**
90+
* The sensitivity score of this cluster. The score will be SENSITIVITY_LOW if nothing has been
91+
* scanned.
92+
* The value may be {@code null}.
93+
*/
94+
@com.google.api.client.util.Key
95+
private GooglePrivacyDlpV2SensitivityScore sensitivityScore;
96+
97+
/**
98+
* The data risk level of this cluster. RISK_LOW if nothing has been scanned.
99+
* @return value or {@code null} for none
100+
*/
101+
public GooglePrivacyDlpV2DataRiskLevel getDataRiskLevel() {
102+
return dataRiskLevel;
103+
}
104+
105+
/**
106+
* The data risk level of this cluster. RISK_LOW if nothing has been scanned.
107+
* @param dataRiskLevel dataRiskLevel or {@code null} for none
108+
*/
109+
public GooglePrivacyDlpV2FileClusterSummary setDataRiskLevel(GooglePrivacyDlpV2DataRiskLevel dataRiskLevel) {
110+
this.dataRiskLevel = dataRiskLevel;
111+
return this;
112+
}
113+
114+
/**
115+
* A list of Errors detected while scanning this cluster. The list is truncated to 10 per cluster.
116+
* @return value or {@code null} for none
117+
*/
118+
public java.util.List<GooglePrivacyDlpV2Error> getErrors() {
119+
return errors;
120+
}
121+
122+
/**
123+
* A list of Errors detected while scanning this cluster. The list is truncated to 10 per cluster.
124+
* @param errors errors or {@code null} for none
125+
*/
126+
public GooglePrivacyDlpV2FileClusterSummary setErrors(java.util.List<GooglePrivacyDlpV2Error> errors) {
127+
this.errors = errors;
128+
return this;
129+
}
130+
131+
/**
132+
* The file cluster type.
133+
* @return value or {@code null} for none
134+
*/
135+
public GooglePrivacyDlpV2FileClusterType getFileClusterType() {
136+
return fileClusterType;
137+
}
138+
139+
/**
140+
* The file cluster type.
141+
* @param fileClusterType fileClusterType or {@code null} for none
142+
*/
143+
public GooglePrivacyDlpV2FileClusterSummary setFileClusterType(GooglePrivacyDlpV2FileClusterType fileClusterType) {
144+
this.fileClusterType = fileClusterType;
145+
return this;
146+
}
147+
148+
/**
149+
* A sample of file types scanned in this cluster. Empty if no files were scanned.
150+
* @return value or {@code null} for none
151+
*/
152+
public java.util.List<GooglePrivacyDlpV2FileExtensionInfo> getFileExtensionsScanned() {
153+
return fileExtensionsScanned;
154+
}
155+
156+
/**
157+
* A sample of file types scanned in this cluster. Empty if no files were scanned.
158+
* @param fileExtensionsScanned fileExtensionsScanned or {@code null} for none
159+
*/
160+
public GooglePrivacyDlpV2FileClusterSummary setFileExtensionsScanned(java.util.List<GooglePrivacyDlpV2FileExtensionInfo> fileExtensionsScanned) {
161+
this.fileExtensionsScanned = fileExtensionsScanned;
162+
return this;
163+
}
164+
165+
/**
166+
* A sample of file types seen in this cluster. Empty if no files were seen.
167+
* @return value or {@code null} for none
168+
*/
169+
public java.util.List<GooglePrivacyDlpV2FileExtensionInfo> getFileExtensionsSeen() {
170+
return fileExtensionsSeen;
171+
}
172+
173+
/**
174+
* A sample of file types seen in this cluster. Empty if no files were seen.
175+
* @param fileExtensionsSeen fileExtensionsSeen or {@code null} for none
176+
*/
177+
public GooglePrivacyDlpV2FileClusterSummary setFileExtensionsSeen(java.util.List<GooglePrivacyDlpV2FileExtensionInfo> fileExtensionsSeen) {
178+
this.fileExtensionsSeen = fileExtensionsSeen;
179+
return this;
180+
}
181+
182+
/**
183+
* InfoTypes detected in this cluster.
184+
* @return value or {@code null} for none
185+
*/
186+
public java.util.List<GooglePrivacyDlpV2FileStoreInfoTypeSummary> getFileStoreInfoTypeSummaries() {
187+
return fileStoreInfoTypeSummaries;
188+
}
189+
190+
/**
191+
* InfoTypes detected in this cluster.
192+
* @param fileStoreInfoTypeSummaries fileStoreInfoTypeSummaries or {@code null} for none
193+
*/
194+
public GooglePrivacyDlpV2FileClusterSummary setFileStoreInfoTypeSummaries(java.util.List<GooglePrivacyDlpV2FileStoreInfoTypeSummary> fileStoreInfoTypeSummaries) {
195+
this.fileStoreInfoTypeSummaries = fileStoreInfoTypeSummaries;
196+
return this;
197+
}
198+
199+
/**
200+
* True if no files exist in this cluster. If the bucket had more files than could be listed, this
201+
* will be false even if no files for this cluster were seen and file_extensions_seen is empty.
202+
* @return value or {@code null} for none
203+
*/
204+
public java.lang.Boolean getNoFilesExist() {
205+
return noFilesExist;
206+
}
207+
208+
/**
209+
* True if no files exist in this cluster. If the bucket had more files than could be listed, this
210+
* will be false even if no files for this cluster were seen and file_extensions_seen is empty.
211+
* @param noFilesExist noFilesExist or {@code null} for none
212+
*/
213+
public GooglePrivacyDlpV2FileClusterSummary setNoFilesExist(java.lang.Boolean noFilesExist) {
214+
this.noFilesExist = noFilesExist;
215+
return this;
216+
}
217+
218+
/**
219+
* The sensitivity score of this cluster. The score will be SENSITIVITY_LOW if nothing has been
220+
* scanned.
221+
* @return value or {@code null} for none
222+
*/
223+
public GooglePrivacyDlpV2SensitivityScore getSensitivityScore() {
224+
return sensitivityScore;
225+
}
226+
227+
/**
228+
* The sensitivity score of this cluster. The score will be SENSITIVITY_LOW if nothing has been
229+
* scanned.
230+
* @param sensitivityScore sensitivityScore or {@code null} for none
231+
*/
232+
public GooglePrivacyDlpV2FileClusterSummary setSensitivityScore(GooglePrivacyDlpV2SensitivityScore sensitivityScore) {
233+
this.sensitivityScore = sensitivityScore;
234+
return this;
235+
}
236+
237+
@Override
238+
public GooglePrivacyDlpV2FileClusterSummary set(String fieldName, Object value) {
239+
return (GooglePrivacyDlpV2FileClusterSummary) super.set(fieldName, value);
240+
}
241+
242+
@Override
243+
public GooglePrivacyDlpV2FileClusterSummary clone() {
244+
return (GooglePrivacyDlpV2FileClusterSummary) super.clone();
245+
}
246+
247+
}

0 commit comments

Comments
 (0)