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
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-developerconnect</artifactId>
<version>v1-rev20260813-2.0.0</version>
<version>v1-rev20260824-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <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 Developer Connect API. 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 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();
}

}
Original file line number Diff line number Diff line change
@@ -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"
*
* <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 Developer Connect API. 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 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> 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<FieldVisibility> 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> 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();
}

}
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-developerconnect</artifactId>
<version>v1-rev20260813-2.0.0</version>
<name>Developer Connect API v1-rev20260813-2.0.0</name>
<version>v1-rev20260824-2.0.0</version>
<name>Developer Connect API v1-rev20260824-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-developerconnect/v1/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-developerconnect</artifactId>
<version>v1-rev20260813-2.0.0</version>
<version>v1-rev20260824-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading