From ebb30734e55bf8b7df44f79e992e4606dfe39078 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 29 Aug 2026 18:07:55 -0700 Subject: [PATCH] chore: regenerate developerconnect client --- .../v1/2.0.0/README.md | 4 +- .../v1/model/FieldVisibility.java | 92 +++++++++++++ .../v1/model/McpToolVisibility.java | 128 ++++++++++++++++++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- 5 files changed, 226 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/model/FieldVisibility.java create mode 100644 clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/model/McpToolVisibility.java diff --git a/clients/google-api-services-developerconnect/v1/2.0.0/README.md b/clients/google-api-services-developerconnect/v1/2.0.0/README.md index dbec37eeaba..df1f47e9e5e 100644 --- a/clients/google-api-services-developerconnect/v1/2.0.0/README.md +++ b/clients/google-api-services-developerconnect/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-developerconnect - v1-rev20260813-2.0.0 + v1-rev20260824-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-developerconnect:v1-rev20260813-2.0.0' + implementation 'com.google.apis:google-api-services-developerconnect:v1-rev20260824-2.0.0' } ``` diff --git a/clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/model/FieldVisibility.java b/clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/model/FieldVisibility.java new file mode 100644 index 00000000000..7f1f8fe47de --- /dev/null +++ b/clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/model/FieldVisibility.java @@ -0,0 +1,92 @@ +/* + * 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.developerconnect.v1.model; + +/** + * Visibility rules for individual tool parameters (fields). This allows producers to hide specific + * fields in tools/list and tools/call. + * + *

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 Developer Connect 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 FieldVisibility extends com.google.api.client.json.GenericJson { + + /** + * The visibility restriction labels for this field (comma-separated). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String restriction; + + /** + * The name of the parameter in the input_schema or output_schema. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String selector; + + /** + * The visibility restriction labels for this field (comma-separated). + * @return value or {@code null} for none + */ + public java.lang.String getRestriction() { + return restriction; + } + + /** + * The visibility restriction labels for this field (comma-separated). + * @param restriction restriction or {@code null} for none + */ + public FieldVisibility setRestriction(java.lang.String restriction) { + this.restriction = restriction; + return this; + } + + /** + * The name of the parameter in the input_schema or output_schema. + * @return value or {@code null} for none + */ + public java.lang.String getSelector() { + return selector; + } + + /** + * The name of the parameter in the input_schema or output_schema. + * @param selector selector or {@code null} for none + */ + public FieldVisibility setSelector(java.lang.String selector) { + this.selector = selector; + return this; + } + + @Override + public FieldVisibility set(String fieldName, Object value) { + return (FieldVisibility) super.set(fieldName, value); + } + + @Override + public FieldVisibility clone() { + return (FieldVisibility) super.clone(); + } + +} diff --git a/clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/model/McpToolVisibility.java b/clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/model/McpToolVisibility.java new file mode 100644 index 00000000000..88dce395bea --- /dev/null +++ b/clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/model/McpToolVisibility.java @@ -0,0 +1,128 @@ +/* + * 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.developerconnect.v1.model; + +/** + * Profile describing the visibility restriction of an MCP tool. Key: + * "google.com/tool.profiles/visibility.restriction" + * + *

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 Developer Connect 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 McpToolVisibility extends com.google.api.client.json.GenericJson { + + /** + * A list of field-level visibility restrictions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List fieldVisibility; + + static { + // hack to force ProGuard to consider FieldVisibility 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(FieldVisibility.class); + } + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String visibilityEnforcementStrategy; + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String visibilityRestriction; + + /** + * A list of field-level visibility restrictions. + * @return value or {@code null} for none + */ + public java.util.List getFieldVisibility() { + return fieldVisibility; + } + + /** + * A list of field-level visibility restrictions. + * @param fieldVisibility fieldVisibility or {@code null} for none + */ + public McpToolVisibility setFieldVisibility(java.util.List fieldVisibility) { + this.fieldVisibility = fieldVisibility; + return this; + } + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * @return value or {@code null} for none + */ + public java.lang.String getVisibilityEnforcementStrategy() { + return visibilityEnforcementStrategy; + } + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * @param visibilityEnforcementStrategy visibilityEnforcementStrategy or {@code null} for none + */ + public McpToolVisibility setVisibilityEnforcementStrategy(java.lang.String visibilityEnforcementStrategy) { + this.visibilityEnforcementStrategy = visibilityEnforcementStrategy; + return this; + } + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * @return value or {@code null} for none + */ + public java.lang.String getVisibilityRestriction() { + return visibilityRestriction; + } + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * @param visibilityRestriction visibilityRestriction or {@code null} for none + */ + public McpToolVisibility setVisibilityRestriction(java.lang.String visibilityRestriction) { + this.visibilityRestriction = visibilityRestriction; + return this; + } + + @Override + public McpToolVisibility set(String fieldName, Object value) { + return (McpToolVisibility) super.set(fieldName, value); + } + + @Override + public McpToolVisibility clone() { + return (McpToolVisibility) super.clone(); + } + +} diff --git a/clients/google-api-services-developerconnect/v1/2.0.0/pom.xml b/clients/google-api-services-developerconnect/v1/2.0.0/pom.xml index 6643670381c..92f70f1791d 100644 --- a/clients/google-api-services-developerconnect/v1/2.0.0/pom.xml +++ b/clients/google-api-services-developerconnect/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-developerconnect - v1-rev20260813-2.0.0 - Developer Connect API v1-rev20260813-2.0.0 + v1-rev20260824-2.0.0 + Developer Connect API v1-rev20260824-2.0.0 jar 2011 diff --git a/clients/google-api-services-developerconnect/v1/README.md b/clients/google-api-services-developerconnect/v1/README.md index dbec37eeaba..df1f47e9e5e 100644 --- a/clients/google-api-services-developerconnect/v1/README.md +++ b/clients/google-api-services-developerconnect/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-developerconnect - v1-rev20260813-2.0.0 + v1-rev20260824-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-developerconnect:v1-rev20260813-2.0.0' + implementation 'com.google.apis:google-api-services-developerconnect:v1-rev20260824-2.0.0' } ```