Skip to content

Commit 28f5781

Browse files
1 parent a369b53 commit 28f5781

File tree

5 files changed

+122
-6
lines changed

5 files changed

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

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+
* Configure document processing to fall back to the configured processing option below if document
21+
* processing is unavailable in the original request location.
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 GooglePrivacyDlpV2DocumentFallbackLocation extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Processing will happen in the global region.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private GooglePrivacyDlpV2GlobalProcessing globalProcessing;
40+
41+
/**
42+
* Processing will happen in a multi-region that contains the current region if available.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private GooglePrivacyDlpV2MultiRegionProcessing multiRegionProcessing;
47+
48+
/**
49+
* Processing will happen in the global region.
50+
* @return value or {@code null} for none
51+
*/
52+
public GooglePrivacyDlpV2GlobalProcessing getGlobalProcessing() {
53+
return globalProcessing;
54+
}
55+
56+
/**
57+
* Processing will happen in the global region.
58+
* @param globalProcessing globalProcessing or {@code null} for none
59+
*/
60+
public GooglePrivacyDlpV2DocumentFallbackLocation setGlobalProcessing(GooglePrivacyDlpV2GlobalProcessing globalProcessing) {
61+
this.globalProcessing = globalProcessing;
62+
return this;
63+
}
64+
65+
/**
66+
* Processing will happen in a multi-region that contains the current region if available.
67+
* @return value or {@code null} for none
68+
*/
69+
public GooglePrivacyDlpV2MultiRegionProcessing getMultiRegionProcessing() {
70+
return multiRegionProcessing;
71+
}
72+
73+
/**
74+
* Processing will happen in a multi-region that contains the current region if available.
75+
* @param multiRegionProcessing multiRegionProcessing or {@code null} for none
76+
*/
77+
public GooglePrivacyDlpV2DocumentFallbackLocation setMultiRegionProcessing(GooglePrivacyDlpV2MultiRegionProcessing multiRegionProcessing) {
78+
this.multiRegionProcessing = multiRegionProcessing;
79+
return this;
80+
}
81+
82+
@Override
83+
public GooglePrivacyDlpV2DocumentFallbackLocation set(String fieldName, Object value) {
84+
return (GooglePrivacyDlpV2DocumentFallbackLocation) super.set(fieldName, value);
85+
}
86+
87+
@Override
88+
public GooglePrivacyDlpV2DocumentFallbackLocation clone() {
89+
return (GooglePrivacyDlpV2DocumentFallbackLocation) super.clone();
90+
}
91+
92+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,37 @@
3232
@SuppressWarnings("javadoc")
3333
public final class GooglePrivacyDlpV2ProcessingLocation extends com.google.api.client.json.GenericJson {
3434

35+
/**
36+
* Document processing will fall back using this configuration.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private GooglePrivacyDlpV2DocumentFallbackLocation documentFallbackLocation;
41+
3542
/**
3643
* Image processing will fall back using this configuration.
3744
* The value may be {@code null}.
3845
*/
3946
@com.google.api.client.util.Key
4047
private GooglePrivacyDlpV2ImageFallbackLocation imageFallbackLocation;
4148

49+
/**
50+
* Document processing will fall back using this configuration.
51+
* @return value or {@code null} for none
52+
*/
53+
public GooglePrivacyDlpV2DocumentFallbackLocation getDocumentFallbackLocation() {
54+
return documentFallbackLocation;
55+
}
56+
57+
/**
58+
* Document processing will fall back using this configuration.
59+
* @param documentFallbackLocation documentFallbackLocation or {@code null} for none
60+
*/
61+
public GooglePrivacyDlpV2ProcessingLocation setDocumentFallbackLocation(GooglePrivacyDlpV2DocumentFallbackLocation documentFallbackLocation) {
62+
this.documentFallbackLocation = documentFallbackLocation;
63+
return this;
64+
}
65+
4266
/**
4367
* Image processing will fall back using this configuration.
4468
* @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-rev20250629-2.0.0</version>
12-
<name>Sensitive Data Protection (DLP) v2-rev20250629-2.0.0</name>
11+
<version>v2-rev20250713-2.0.0</version>
12+
<name>Sensitive Data Protection (DLP) v2-rev20250713-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-rev20250629-2.0.0</version>
25+
<version>v2-rev20250713-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-rev20250629-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dlp:v2-rev20250713-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)