diff --git a/clients/google-api-services-healthcare/v1/2.0.0/README.md b/clients/google-api-services-healthcare/v1/2.0.0/README.md index 1db2fe130a9..b332867c9f7 100644 --- a/clients/google-api-services-healthcare/v1/2.0.0/README.md +++ b/clients/google-api-services-healthcare/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-healthcare - v1-rev20260924-2.9.2 + v1-rev20261013-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-healthcare:v1-rev20260924-2.9.2' + implementation 'com.google.apis:google-api-services-healthcare:v1-rev20261013-2.9.2' } ``` diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/CustomRegex.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/CustomRegex.java new file mode 100644 index 00000000000..7025c125c5b --- /dev/null +++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/CustomRegex.java @@ -0,0 +1,90 @@ +/* + * 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.healthcare.v1.model; + +/** + * Defines a custom regular expression pattern to detect and redact in the image. + * + *

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 Cloud Healthcare API. 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 CustomRegex extends com.google.api.client.json.GenericJson { + + /** + * Optional. The capturing group indexes to redact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List groupIndexes; + + /** + * Optional. The regular expression pattern to match. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pattern; + + /** + * Optional. The capturing group indexes to redact. + * @return value or {@code null} for none + */ + public java.util.List getGroupIndexes() { + return groupIndexes; + } + + /** + * Optional. The capturing group indexes to redact. + * @param groupIndexes groupIndexes or {@code null} for none + */ + public CustomRegex setGroupIndexes(java.util.List groupIndexes) { + this.groupIndexes = groupIndexes; + return this; + } + + /** + * Optional. The regular expression pattern to match. + * @return value or {@code null} for none + */ + public java.lang.String getPattern() { + return pattern; + } + + /** + * Optional. The regular expression pattern to match. + * @param pattern pattern or {@code null} for none + */ + public CustomRegex setPattern(java.lang.String pattern) { + this.pattern = pattern; + return this; + } + + @Override + public CustomRegex set(String fieldName, Object value) { + return (CustomRegex) super.set(fieldName, value); + } + + @Override + public CustomRegex clone() { + return (CustomRegex) super.clone(); + } + +} diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ImageConfig.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ImageConfig.java index ff9b7fb3fca..224973bf2ea 100644 --- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ImageConfig.java +++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ImageConfig.java @@ -29,6 +29,19 @@ @SuppressWarnings("javadoc") public final class ImageConfig extends com.google.api.client.json.GenericJson { + /** + * Optional. Custom regex patterns to redact from the image. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List customRegexes; + + static { + // hack to force ProGuard to consider CustomRegex used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(CustomRegex.class); + } + /** * Optional. Determines how to redact text from image. * The value may be {@code null}. @@ -36,6 +49,23 @@ public final class ImageConfig extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String textRedactionMode; + /** + * Optional. Custom regex patterns to redact from the image. + * @return value or {@code null} for none + */ + public java.util.List getCustomRegexes() { + return customRegexes; + } + + /** + * Optional. Custom regex patterns to redact from the image. + * @param customRegexes customRegexes or {@code null} for none + */ + public ImageConfig setCustomRegexes(java.util.List customRegexes) { + this.customRegexes = customRegexes; + return this; + } + /** * Optional. Determines how to redact text from image. * @return value or {@code null} for none diff --git a/clients/google-api-services-healthcare/v1/2.0.0/pom.xml b/clients/google-api-services-healthcare/v1/2.0.0/pom.xml index 1b8f7cd52f7..8b3da5ec628 100644 --- a/clients/google-api-services-healthcare/v1/2.0.0/pom.xml +++ b/clients/google-api-services-healthcare/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-healthcare - v1-rev20260924-2.9.2 - Cloud Healthcare API v1-rev20260924-2.9.2 + v1-rev20261013-2.9.2 + Cloud Healthcare API v1-rev20261013-2.9.2 jar 2011 diff --git a/clients/google-api-services-healthcare/v1/README.md b/clients/google-api-services-healthcare/v1/README.md index 1db2fe130a9..b332867c9f7 100644 --- a/clients/google-api-services-healthcare/v1/README.md +++ b/clients/google-api-services-healthcare/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-healthcare - v1-rev20260924-2.9.2 + v1-rev20261013-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-healthcare:v1-rev20260924-2.9.2' + implementation 'com.google.apis:google-api-services-healthcare:v1-rev20261013-2.9.2' } ```