Skip to content

Commit bdebf4a

Browse files
1 parent bec1237 commit bdebf4a

10 files changed

Lines changed: 398 additions & 21 deletions

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

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
* If set, indicates that the finding applies to all messages in the conversation.
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 GooglePrivacyDlpV2AllMessages extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public GooglePrivacyDlpV2AllMessages set(String fieldName, Object value) {
35+
return (GooglePrivacyDlpV2AllMessages) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public GooglePrivacyDlpV2AllMessages clone() {
40+
return (GooglePrivacyDlpV2AllMessages) super.clone();
41+
}
42+
43+
}

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ public final class GooglePrivacyDlpV2ContentItem extends com.google.api.client.j
4444
@com.google.api.client.util.Key
4545
private GooglePrivacyDlpV2ContentMetadata contentMetadata;
4646

47+
/**
48+
* Represents a conversation (either complete or a slice). It is assumed that all included
49+
* messages are contiguous and ordered in chronological order.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private GooglePrivacyDlpV2Conversation conversation;
54+
4755
/**
4856
* Structured content for inspection. See https://cloud.google.com/sensitive-data-
4957
* protection/docs/inspecting-text#inspecting_a_table to learn more.
@@ -93,6 +101,25 @@ public GooglePrivacyDlpV2ContentItem setContentMetadata(GooglePrivacyDlpV2Conten
93101
return this;
94102
}
95103

104+
/**
105+
* Represents a conversation (either complete or a slice). It is assumed that all included
106+
* messages are contiguous and ordered in chronological order.
107+
* @return value or {@code null} for none
108+
*/
109+
public GooglePrivacyDlpV2Conversation getConversation() {
110+
return conversation;
111+
}
112+
113+
/**
114+
* Represents a conversation (either complete or a slice). It is assumed that all included
115+
* messages are contiguous and ordered in chronological order.
116+
* @param conversation conversation or {@code null} for none
117+
*/
118+
public GooglePrivacyDlpV2ContentItem setConversation(GooglePrivacyDlpV2Conversation conversation) {
119+
this.conversation = conversation;
120+
return this;
121+
}
122+
96123
/**
97124
* Structured content for inspection. See https://cloud.google.com/sensitive-data-
98125
* protection/docs/inspecting-text#inspecting_a_table to learn more.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ public final class GooglePrivacyDlpV2ContentLocation extends com.google.api.clie
5757
@com.google.api.client.util.Key
5858
private java.lang.String containerVersion;
5959

60+
/**
61+
* Location within a conversation.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private GooglePrivacyDlpV2ConversationLocation conversationLocation;
66+
6067
/**
6168
* Location data for document files.
6269
* The value may be {@code null}.
@@ -148,6 +155,23 @@ public GooglePrivacyDlpV2ContentLocation setContainerVersion(java.lang.String co
148155
return this;
149156
}
150157

158+
/**
159+
* Location within a conversation.
160+
* @return value or {@code null} for none
161+
*/
162+
public GooglePrivacyDlpV2ConversationLocation getConversationLocation() {
163+
return conversationLocation;
164+
}
165+
166+
/**
167+
* Location within a conversation.
168+
* @param conversationLocation conversationLocation or {@code null} for none
169+
*/
170+
public GooglePrivacyDlpV2ContentLocation setConversationLocation(GooglePrivacyDlpV2ConversationLocation conversationLocation) {
171+
this.conversationLocation = conversationLocation;
172+
return this;
173+
}
174+
151175
/**
152176
* Location data for document files.
153177
* @return value or {@code null} for none
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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+
* Complete conversation or slice of a conversation. It is assumed that all included messages are
21+
* contiguous and ordered in chronological order.
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 GooglePrivacyDlpV2Conversation extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Messages exchanged within this conversation. The maximum number of messages allowed is 50k. The
36+
* order of the messages is assumed to be chronological and will be used to index findings in the
37+
* response.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.util.List<GooglePrivacyDlpV2ConversationMessage> messages;
42+
43+
/**
44+
* Messages exchanged within this conversation. The maximum number of messages allowed is 50k. The
45+
* order of the messages is assumed to be chronological and will be used to index findings in the
46+
* response.
47+
* @return value or {@code null} for none
48+
*/
49+
public java.util.List<GooglePrivacyDlpV2ConversationMessage> getMessages() {
50+
return messages;
51+
}
52+
53+
/**
54+
* Messages exchanged within this conversation. The maximum number of messages allowed is 50k. The
55+
* order of the messages is assumed to be chronological and will be used to index findings in the
56+
* response.
57+
* @param messages messages or {@code null} for none
58+
*/
59+
public GooglePrivacyDlpV2Conversation setMessages(java.util.List<GooglePrivacyDlpV2ConversationMessage> messages) {
60+
this.messages = messages;
61+
return this;
62+
}
63+
64+
@Override
65+
public GooglePrivacyDlpV2Conversation set(String fieldName, Object value) {
66+
return (GooglePrivacyDlpV2Conversation) super.set(fieldName, value);
67+
}
68+
69+
@Override
70+
public GooglePrivacyDlpV2Conversation clone() {
71+
return (GooglePrivacyDlpV2Conversation) super.clone();
72+
}
73+
74+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* Location within a conversation.
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 GooglePrivacyDlpV2ConversationLocation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* If set, indicates that the finding applies to all messages in the conversation.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GooglePrivacyDlpV2AllMessages allMessages;
39+
40+
/**
41+
* Matches an index of a message in the conversation provided in the request.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Integer messageIndex;
46+
47+
/**
48+
* If set, indicates that the finding applies to all messages in the conversation.
49+
* @return value or {@code null} for none
50+
*/
51+
public GooglePrivacyDlpV2AllMessages getAllMessages() {
52+
return allMessages;
53+
}
54+
55+
/**
56+
* If set, indicates that the finding applies to all messages in the conversation.
57+
* @param allMessages allMessages or {@code null} for none
58+
*/
59+
public GooglePrivacyDlpV2ConversationLocation setAllMessages(GooglePrivacyDlpV2AllMessages allMessages) {
60+
this.allMessages = allMessages;
61+
return this;
62+
}
63+
64+
/**
65+
* Matches an index of a message in the conversation provided in the request.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.Integer getMessageIndex() {
69+
return messageIndex;
70+
}
71+
72+
/**
73+
* Matches an index of a message in the conversation provided in the request.
74+
* @param messageIndex messageIndex or {@code null} for none
75+
*/
76+
public GooglePrivacyDlpV2ConversationLocation setMessageIndex(java.lang.Integer messageIndex) {
77+
this.messageIndex = messageIndex;
78+
return this;
79+
}
80+
81+
@Override
82+
public GooglePrivacyDlpV2ConversationLocation set(String fieldName, Object value) {
83+
return (GooglePrivacyDlpV2ConversationLocation) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public GooglePrivacyDlpV2ConversationLocation clone() {
88+
return (GooglePrivacyDlpV2ConversationLocation) super.clone();
89+
}
90+
91+
}

0 commit comments

Comments
 (0)