From c82e523f0266c9670fe2fe1c9bb82b5043c06100 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Mon, 1 Jun 2026 18:32:18 -0700
Subject: [PATCH] chore: regenerate dlp client
---
.../v2/2.0.0/README.md | 4 +-
.../GooglePrivacyDlpV2BatchContentItem.java | 67 +++++++++++++++++++
...ooglePrivacyDlpV2BatchContentLocation.java | 67 +++++++++++++++++++
.../model/GooglePrivacyDlpV2ContentItem.java | 24 +++++++
.../GooglePrivacyDlpV2ContentLocation.java | 24 +++++++
.../GooglePrivacyDlpV2StringValueBatch.java | 67 +++++++++++++++++++
.../google-api-services-dlp/v2/2.0.0/pom.xml | 4 +-
clients/google-api-services-dlp/v2/README.md | 4 +-
8 files changed, 255 insertions(+), 6 deletions(-)
create mode 100644 clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2BatchContentItem.java
create mode 100644 clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2BatchContentLocation.java
create mode 100644 clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2StringValueBatch.java
diff --git a/clients/google-api-services-dlp/v2/2.0.0/README.md b/clients/google-api-services-dlp/v2/2.0.0/README.md
index 85bbb56bb09..82b22b7e0fd 100644
--- a/clients/google-api-services-dlp/v2/2.0.0/README.md
+++ b/clients/google-api-services-dlp/v2/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GooglePrivacyDlpV2BatchContentItem extends com.google.api.client.json.GenericJson { + + /** + * Optional. Represents a batch of string values to inspect or redact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GooglePrivacyDlpV2StringValueBatch stringValueBatch; + + /** + * Optional. Represents a batch of string values to inspect or redact. + * @return value or {@code null} for none + */ + public GooglePrivacyDlpV2StringValueBatch getStringValueBatch() { + return stringValueBatch; + } + + /** + * Optional. Represents a batch of string values to inspect or redact. + * @param stringValueBatch stringValueBatch or {@code null} for none + */ + public GooglePrivacyDlpV2BatchContentItem setStringValueBatch(GooglePrivacyDlpV2StringValueBatch stringValueBatch) { + this.stringValueBatch = stringValueBatch; + return this; + } + + @Override + public GooglePrivacyDlpV2BatchContentItem set(String fieldName, Object value) { + return (GooglePrivacyDlpV2BatchContentItem) super.set(fieldName, value); + } + + @Override + public GooglePrivacyDlpV2BatchContentItem clone() { + return (GooglePrivacyDlpV2BatchContentItem) super.clone(); + } + +} diff --git a/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2BatchContentLocation.java b/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2BatchContentLocation.java new file mode 100644 index 00000000000..09603117824 --- /dev/null +++ b/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2BatchContentLocation.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dlp.v2.model; + +/** + * Location within a batch of content. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GooglePrivacyDlpV2BatchContentLocation extends com.google.api.client.json.GenericJson { + + /** + * Matches an index of a batch item in the batch provided in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer itemIndex; + + /** + * Matches an index of a batch item in the batch provided in the request. + * @return value or {@code null} for none + */ + public java.lang.Integer getItemIndex() { + return itemIndex; + } + + /** + * Matches an index of a batch item in the batch provided in the request. + * @param itemIndex itemIndex or {@code null} for none + */ + public GooglePrivacyDlpV2BatchContentLocation setItemIndex(java.lang.Integer itemIndex) { + this.itemIndex = itemIndex; + return this; + } + + @Override + public GooglePrivacyDlpV2BatchContentLocation set(String fieldName, Object value) { + return (GooglePrivacyDlpV2BatchContentLocation) super.set(fieldName, value); + } + + @Override + public GooglePrivacyDlpV2BatchContentLocation clone() { + return (GooglePrivacyDlpV2BatchContentLocation) super.clone(); + } + +} diff --git a/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2ContentItem.java b/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2ContentItem.java index 12e8f63f16a..47cebc2c3d7 100644 --- a/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2ContentItem.java +++ b/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2ContentItem.java @@ -30,6 +30,13 @@ @SuppressWarnings("javadoc") public final class GooglePrivacyDlpV2ContentItem extends com.google.api.client.json.GenericJson { + /** + * Represents a batch of items to inspect. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GooglePrivacyDlpV2BatchContentItem batchContentItem; + /** * Content data to inspect or redact. Replaces `type` and `data`. * The value may be {@code null}. @@ -67,6 +74,23 @@ public final class GooglePrivacyDlpV2ContentItem extends com.google.api.client.j @com.google.api.client.util.Key private java.lang.String value; + /** + * Represents a batch of items to inspect. + * @return value or {@code null} for none + */ + public GooglePrivacyDlpV2BatchContentItem getBatchContentItem() { + return batchContentItem; + } + + /** + * Represents a batch of items to inspect. + * @param batchContentItem batchContentItem or {@code null} for none + */ + public GooglePrivacyDlpV2ContentItem setBatchContentItem(GooglePrivacyDlpV2BatchContentItem batchContentItem) { + this.batchContentItem = batchContentItem; + return this; + } + /** * Content data to inspect or redact. Replaces `type` and `data`. * @return value or {@code null} for none diff --git a/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2ContentLocation.java b/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2ContentLocation.java index 6140645b6d6..0755ef18ea3 100644 --- a/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2ContentLocation.java +++ b/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2ContentLocation.java @@ -30,6 +30,13 @@ @SuppressWarnings("javadoc") public final class GooglePrivacyDlpV2ContentLocation extends com.google.api.client.json.GenericJson { + /** + * Location within a batch of content. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GooglePrivacyDlpV2BatchContentLocation batchContentLocation; + /** * Name of the container where the finding is located. The top level name is the source file name * or table name. Names of some common storage containers are formatted as follows: * BigQuery @@ -92,6 +99,23 @@ public final class GooglePrivacyDlpV2ContentLocation extends com.google.api.clie @com.google.api.client.util.Key private GooglePrivacyDlpV2RecordLocation recordLocation; + /** + * Location within a batch of content. + * @return value or {@code null} for none + */ + public GooglePrivacyDlpV2BatchContentLocation getBatchContentLocation() { + return batchContentLocation; + } + + /** + * Location within a batch of content. + * @param batchContentLocation batchContentLocation or {@code null} for none + */ + public GooglePrivacyDlpV2ContentLocation setBatchContentLocation(GooglePrivacyDlpV2BatchContentLocation batchContentLocation) { + this.batchContentLocation = batchContentLocation; + return this; + } + /** * Name of the container where the finding is located. The top level name is the source file name * or table name. Names of some common storage containers are formatted as follows: * BigQuery diff --git a/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2StringValueBatch.java b/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2StringValueBatch.java new file mode 100644 index 00000000000..4f37fc51270 --- /dev/null +++ b/clients/google-api-services-dlp/v2/2.0.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2StringValueBatch.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dlp.v2.model; + +/** + * Represents a batch of string values to inspect or redact. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GooglePrivacyDlpV2StringValueBatch extends com.google.api.client.json.GenericJson { + + /** + * Optional. Represents string data to inspect or redact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List