Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-dlp/v2/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-dlp</artifactId>
<version>v2-rev20260516-2.0.0</version>
<version>v2-rev20260528-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-dlp:v2-rev20260516-2.0.0'
implementation 'com.google.apis:google-api-services-dlp:v2-rev20260528-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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 content to inspect or redact.
*
* <p> 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:
* <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>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <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>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <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>
* </p>
*
* @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<java.lang.String> values;

/**
* Optional. Represents string data to inspect or redact.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getValues() {
return values;
}

/**
* Optional. Represents string data to inspect or redact.
* @param values values or {@code null} for none
*/
public GooglePrivacyDlpV2StringValueBatch setValues(java.util.List<java.lang.String> values) {
this.values = values;
return this;
}

@Override
public GooglePrivacyDlpV2StringValueBatch set(String fieldName, Object value) {
return (GooglePrivacyDlpV2StringValueBatch) super.set(fieldName, value);
}

@Override
public GooglePrivacyDlpV2StringValueBatch clone() {
return (GooglePrivacyDlpV2StringValueBatch) super.clone();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-dlp/v2/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-dlp</artifactId>
<version>v2-rev20260516-2.0.0</version>
<name>Sensitive Data Protection (DLP) v2-rev20260516-2.0.0</name>
<version>v2-rev20260528-2.0.0</version>
<name>Sensitive Data Protection (DLP) v2-rev20260528-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-dlp/v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-dlp</artifactId>
<version>v2-rev20260516-2.0.0</version>
<version>v2-rev20260528-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-dlp:v2-rev20260516-2.0.0'
implementation 'com.google.apis:google-api-services-dlp:v2-rev20260528-2.0.0'
}
```

Expand Down