diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/README.md b/clients/google-api-services-agentregistry/v1/2.0.0/README.md index c37f198a2fa..ac7c7321422 100644 --- a/clients/google-api-services-agentregistry/v1/2.0.0/README.md +++ b/clients/google-api-services-agentregistry/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-agentregistry - v1-rev20260904-2.0.0 + v1-rev20261003-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-agentregistry:v1-rev20260904-2.0.0' + implementation 'com.google.apis:google-api-services-agentregistry:v1-rev20261003-2.0.0' } ``` diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/AgentRegistry.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/AgentRegistry.java index 6f9519c34bd..975dedc3e27 100644 --- a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/AgentRegistry.java +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/AgentRegistry.java @@ -1078,6 +1078,153 @@ public AiApplications aiApplications() { */ public class AiApplications { + /** + * Gets details of a single AI Application. + * + * Create a request for the method "aiApplications.get". + * + * This request holds the parameters needed by the agentregistry server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Target AI Application resource name. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends AgentRegistryRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + + /** + * Gets details of a single AI Application. + * + * Create a request for the method "aiApplications.get". + * + * This request holds the parameters needed by the the agentregistry server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. Target AI Application resource name. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(AgentRegistry.this, "GET", REST_PATH, null, com.google.api.services.agentregistry.v1.model.AiApplication.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Target AI Application resource name. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Target AI Application resource name. Format: + `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Target AI Application resource name. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } /** * Gets the access control policy for a resource. Returns an empty policy if the resource exists and * does not have a policy set. @@ -1277,151 +1424,366 @@ public GetIamPolicy set(String parameterName, Object value) { } } /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can - * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Lists AI Applications in a given project and location. * - * Create a request for the method "aiApplications.setIamPolicy". + * Create a request for the method "aiApplications.list". * * This request holds the parameters needed by the agentregistry server. After setting any optional - * parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote operation. + * parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource - * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for - * this field. - * @param content the {@link com.google.api.services.agentregistry.v1.model.GoogleIamV1SetIamPolicyRequest} + * @param parent Required. Parent project and location to query. Format: `projects/{project}/locations/{location}` * @return the request */ - public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.agentregistry.v1.model.GoogleIamV1SetIamPolicyRequest content) throws java.io.IOException { - SetIamPolicy result = new SetIamPolicy(resource, content); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); initialize(result); return result; } - public class SetIamPolicy extends AgentRegistryRequest { + public class List extends AgentRegistryRequest { - private static final String REST_PATH = "v1/{+resource}:setIamPolicy"; + private static final String REST_PATH = "v1/{+parent}/aiApplications"; - private final java.util.regex.Pattern RESOURCE_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can - * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Lists AI Applications in a given project and location. * - * Create a request for the method "aiApplications.setIamPolicy". + * Create a request for the method "aiApplications.list". * * This request holds the parameters needed by the the agentregistry server. After setting any - * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote - * operation.

{@link - * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource - * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for - * this field. - * @param content the {@link com.google.api.services.agentregistry.v1.model.GoogleIamV1SetIamPolicyRequest} + * @param parent Required. Parent project and location to query. Format: `projects/{project}/locations/{location}` * @since 1.13 */ - protected SetIamPolicy(java.lang.String resource, com.google.api.services.agentregistry.v1.model.GoogleIamV1SetIamPolicyRequest content) { - super(AgentRegistry.this, "POST", REST_PATH, content, com.google.api.services.agentregistry.v1.model.GoogleIamV1Policy.class); - this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified."); + protected List(java.lang.String parent) { + super(AgentRegistry.this, "GET", REST_PATH, null, com.google.api.services.agentregistry.v1.model.ListAiApplicationsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(), - "Parameter resource must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @Override - public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) { - return (SetIamPolicy) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public SetIamPolicy setAccessToken(java.lang.String accessToken) { - return (SetIamPolicy) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public SetIamPolicy setAlt(java.lang.String alt) { - return (SetIamPolicy) super.setAlt(alt); + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); } @Override - public SetIamPolicy setCallback(java.lang.String callback) { - return (SetIamPolicy) super.setCallback(callback); + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); } @Override - public SetIamPolicy setFields(java.lang.String fields) { - return (SetIamPolicy) super.setFields(fields); + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); } @Override - public SetIamPolicy setKey(java.lang.String key) { - return (SetIamPolicy) super.setKey(key); + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); } @Override - public SetIamPolicy setOauthToken(java.lang.String oauthToken) { - return (SetIamPolicy) super.setOauthToken(oauthToken); + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); } @Override - public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) { - return (SetIamPolicy) super.setPrettyPrint(prettyPrint); + public List setKey(java.lang.String key) { + return (List) super.setKey(key); } @Override - public SetIamPolicy setQuotaUser(java.lang.String quotaUser) { - return (SetIamPolicy) super.setQuotaUser(quotaUser); + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); } @Override - public SetIamPolicy setUploadType(java.lang.String uploadType) { - return (SetIamPolicy) super.setUploadType(uploadType); + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); } @Override - public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) { - return (SetIamPolicy) super.setUploadProtocol(uploadProtocol); + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); } /** - * REQUIRED: The resource for which the policy is being specified. See [Resource - * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value - * for this field. + * Required. Parent project and location to query. Format: + * `projects/{project}/locations/{location}` */ @com.google.api.client.util.Key - private java.lang.String resource; + private java.lang.String parent; - /** REQUIRED: The resource for which the policy is being specified. See [Resource - names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this - field. + /** Required. Parent project and location to query. Format: `projects/{project}/locations/{location}` */ - public java.lang.String getResource() { - return resource; + public java.lang.String getParent() { + return parent; } /** - * REQUIRED: The resource for which the policy is being specified. See [Resource - * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value - * for this field. + * Required. Parent project and location to query. Format: + * `projects/{project}/locations/{location}` */ - public SetIamPolicy setResource(java.lang.String resource) { + public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(), - "Parameter resource must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } - this.resource = resource; + this.parent = parent; return this; } - @Override - public SetIamPolicy set(String parameterName, Object value) { - return (SetIamPolicy) super.set(parameterName, value); - } + /** Optional. Filtering results. */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Filtering results. + */ + public java.lang.String getFilter() { + return filter; + } + + /** Optional. Filtering results. */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** Optional. Hint for how to order the results. */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. Hint for how to order the results. + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** Optional. Hint for how to order the results. */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server + will pick an appropriate default. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Sets the access control policy on the specified resource. Replaces any existing policy. Can + * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * + * Create a request for the method "aiApplications.setIamPolicy". + * + * This request holds the parameters needed by the agentregistry server. After setting any optional + * parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote operation. + * + * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for + * this field. + * @param content the {@link com.google.api.services.agentregistry.v1.model.GoogleIamV1SetIamPolicyRequest} + * @return the request + */ + public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.agentregistry.v1.model.GoogleIamV1SetIamPolicyRequest content) throws java.io.IOException { + SetIamPolicy result = new SetIamPolicy(resource, content); + initialize(result); + return result; + } + + public class SetIamPolicy extends AgentRegistryRequest { + + private static final String REST_PATH = "v1/{+resource}:setIamPolicy"; + + private final java.util.regex.Pattern RESOURCE_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + + /** + * Sets the access control policy on the specified resource. Replaces any existing policy. Can + * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * + * Create a request for the method "aiApplications.setIamPolicy". + * + * This request holds the parameters needed by the the agentregistry server. After setting any + * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote + * operation.

{@link + * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for + * this field. + * @param content the {@link com.google.api.services.agentregistry.v1.model.GoogleIamV1SetIamPolicyRequest} + * @since 1.13 + */ + protected SetIamPolicy(java.lang.String resource, com.google.api.services.agentregistry.v1.model.GoogleIamV1SetIamPolicyRequest content) { + super(AgentRegistry.this, "POST", REST_PATH, content, com.google.api.services.agentregistry.v1.model.GoogleIamV1Policy.class); + this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(), + "Parameter resource must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + } + } + + @Override + public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) { + return (SetIamPolicy) super.set$Xgafv($Xgafv); + } + + @Override + public SetIamPolicy setAccessToken(java.lang.String accessToken) { + return (SetIamPolicy) super.setAccessToken(accessToken); + } + + @Override + public SetIamPolicy setAlt(java.lang.String alt) { + return (SetIamPolicy) super.setAlt(alt); + } + + @Override + public SetIamPolicy setCallback(java.lang.String callback) { + return (SetIamPolicy) super.setCallback(callback); + } + + @Override + public SetIamPolicy setFields(java.lang.String fields) { + return (SetIamPolicy) super.setFields(fields); + } + + @Override + public SetIamPolicy setKey(java.lang.String key) { + return (SetIamPolicy) super.setKey(key); + } + + @Override + public SetIamPolicy setOauthToken(java.lang.String oauthToken) { + return (SetIamPolicy) super.setOauthToken(oauthToken); + } + + @Override + public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) { + return (SetIamPolicy) super.setPrettyPrint(prettyPrint); + } + + @Override + public SetIamPolicy setQuotaUser(java.lang.String quotaUser) { + return (SetIamPolicy) super.setQuotaUser(quotaUser); + } + + @Override + public SetIamPolicy setUploadType(java.lang.String uploadType) { + return (SetIamPolicy) super.setUploadType(uploadType); + } + + @Override + public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) { + return (SetIamPolicy) super.setUploadProtocol(uploadProtocol); + } + + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value + * for this field. + */ + @com.google.api.client.util.Key + private java.lang.String resource; + + /** REQUIRED: The resource for which the policy is being specified. See [Resource + names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + field. + */ + public java.lang.String getResource() { + return resource; + } + + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value + * for this field. + */ + public SetIamPolicy setResource(java.lang.String resource) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(), + "Parameter resource must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + } + this.resource = resource; + return this; + } + + @Override + public SetIamPolicy set(String parameterName, Object value) { + return (SetIamPolicy) super.set(parameterName, value); + } } /** * Returns permissions that a caller has on the specified resource. If the resource does not exist, @@ -1575,6 +1937,1075 @@ public TestIamPermissions set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the Agents collection. + * + *

The typical use is:

+ *
+         *   {@code AgentRegistry agentregistry = new AgentRegistry(...);}
+         *   {@code AgentRegistry.Agents.List request = agentregistry.agents().list(parameters ...)}
+         * 
+ * + * @return the resource collection + */ + public Agents agents() { + return new Agents(); + } + + /** + * The "agents" collection of methods. + */ + public class Agents { + + /** + * Gets details of a single Agent under an AI Application. + * + * Create a request for the method "agents.get". + * + * This request holds the parameters needed by the agentregistry server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}/agents/{agent}` + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends AgentRegistryRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+/agents/[^/]+$"); + + /** + * Gets details of a single Agent under an AI Application. + * + * Create a request for the method "agents.get". + * + * This request holds the parameters needed by the the agentregistry server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. Name of the resource. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}/agents/{agent}` + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(AgentRegistry.this, "GET", REST_PATH, null, com.google.api.services.agentregistry.v1.model.Agent.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+/agents/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the resource. Format: `projects/{project}/locations/{location}/aiAp + * plications/{ai_application}/agents/{agent}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource. Format: + `projects/{project}/locations/{location}/aiApplications/{ai_application}/agents/{agent}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the resource. Format: `projects/{project}/locations/{location}/aiAp + * plications/{ai_application}/agents/{agent}` + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+/agents/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists Agents under an AI Application. + * + * Create a request for the method "agents.list". + * + * This request holds the parameters needed by the agentregistry server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. Parent value (AI Application) for ListAiApplicationAgentsRequest. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends AgentRegistryRequest { + + private static final String REST_PATH = "v1/{+parent}/agents"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + + /** + * Lists Agents under an AI Application. + * + * Create a request for the method "agents.list". + * + * This request holds the parameters needed by the the agentregistry server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. Parent value (AI Application) for ListAiApplicationAgentsRequest. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(AgentRegistry.this, "GET", REST_PATH, null, com.google.api.services.agentregistry.v1.model.ListAiApplicationAgentsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value (AI Application) for ListAiApplicationAgentsRequest. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value (AI Application) for ListAiApplicationAgentsRequest. Format: + `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value (AI Application) for ListAiApplicationAgentsRequest. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server + will pick an appropriate default. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Endpoints collection. + * + *

The typical use is:

+ *
+         *   {@code AgentRegistry agentregistry = new AgentRegistry(...);}
+         *   {@code AgentRegistry.Endpoints.List request = agentregistry.endpoints().list(parameters ...)}
+         * 
+ * + * @return the resource collection + */ + public Endpoints endpoints() { + return new Endpoints(); + } + + /** + * The "endpoints" collection of methods. + */ + public class Endpoints { + + /** + * Gets details of a single Endpoint under an AI Application. + * + * Create a request for the method "endpoints.get". + * + * This request holds the parameters needed by the agentregistry server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}/endpoints/{endpoi + * nt}` + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends AgentRegistryRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+/endpoints/[^/]+$"); + + /** + * Gets details of a single Endpoint under an AI Application. + * + * Create a request for the method "endpoints.get". + * + * This request holds the parameters needed by the the agentregistry server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. Name of the resource. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}/endpoints/{endpoi + * nt}` + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(AgentRegistry.this, "GET", REST_PATH, null, com.google.api.services.agentregistry.v1.model.Endpoint.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+/endpoints/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the resource. Format: `projects/{project}/locations/{location}/aiAp + * plications/{ai_application}/endpoints/{endpoint}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource. Format: + `projects/{project}/locations/{location}/aiApplications/{ai_application}/endpoints/{endpoint}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the resource. Format: `projects/{project}/locations/{location}/aiAp + * plications/{ai_application}/endpoints/{endpoint}` + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+/endpoints/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists Endpoints under an AI Application. + * + * Create a request for the method "endpoints.list". + * + * This request holds the parameters needed by the agentregistry server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. Parent value (AI Application) for ListAiApplicationEndpointsRequest. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends AgentRegistryRequest { + + private static final String REST_PATH = "v1/{+parent}/endpoints"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + + /** + * Lists Endpoints under an AI Application. + * + * Create a request for the method "endpoints.list". + * + * This request holds the parameters needed by the the agentregistry server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. Parent value (AI Application) for ListAiApplicationEndpointsRequest. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(AgentRegistry.this, "GET", REST_PATH, null, com.google.api.services.agentregistry.v1.model.ListAiApplicationEndpointsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value (AI Application) for ListAiApplicationEndpointsRequest. + * Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value (AI Application) for ListAiApplicationEndpointsRequest. Format: + `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value (AI Application) for ListAiApplicationEndpointsRequest. + * Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server + will pick an appropriate default. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the McpServers collection. + * + *

The typical use is:

+ *
+         *   {@code AgentRegistry agentregistry = new AgentRegistry(...);}
+         *   {@code AgentRegistry.McpServers.List request = agentregistry.mcpServers().list(parameters ...)}
+         * 
+ * + * @return the resource collection + */ + public McpServers mcpServers() { + return new McpServers(); + } + + /** + * The "mcpServers" collection of methods. + */ + public class McpServers { + + /** + * Gets details of a single McpServer under an AI Application. + * + * Create a request for the method "mcpServers.get". + * + * This request holds the parameters needed by the agentregistry server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}/mcpServers/{mcp_s + * erver}` + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends AgentRegistryRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+/mcpServers/[^/]+$"); + + /** + * Gets details of a single McpServer under an AI Application. + * + * Create a request for the method "mcpServers.get". + * + * This request holds the parameters needed by the the agentregistry server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. Name of the resource. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}/mcpServers/{mcp_s + * erver}` + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(AgentRegistry.this, "GET", REST_PATH, null, com.google.api.services.agentregistry.v1.model.McpServer.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+/mcpServers/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the resource. Format: `projects/{project}/locations/{location}/aiAp + * plications/{ai_application}/mcpServers/{mcp_server}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource. Format: + `projects/{project}/locations/{location}/aiApplications/{ai_application}/mcpServers/{mcp_server}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the resource. Format: `projects/{project}/locations/{location}/aiAp + * plications/{ai_application}/mcpServers/{mcp_server}` + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+/mcpServers/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists McpServers under an AI Application. + * + * Create a request for the method "mcpServers.list". + * + * This request holds the parameters needed by the agentregistry server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. Parent value (AI Application) for ListAiApplicationMcpServersRequest. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends AgentRegistryRequest { + + private static final String REST_PATH = "v1/{+parent}/mcpServers"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + + /** + * Lists McpServers under an AI Application. + * + * Create a request for the method "mcpServers.list". + * + * This request holds the parameters needed by the the agentregistry server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. Parent value (AI Application) for ListAiApplicationMcpServersRequest. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(AgentRegistry.this, "GET", REST_PATH, null, com.google.api.services.agentregistry.v1.model.ListAiApplicationMcpServersResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value (AI Application) for ListAiApplicationMcpServersRequest. + * Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value (AI Application) for ListAiApplicationMcpServersRequest. Format: + `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value (AI Application) for ListAiApplicationMcpServersRequest. + * Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}` + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/aiApplications/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server + will pick an appropriate default. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } } /** * An accessor for creating requests from the Bindings collection. diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/AgentSpec.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/AgentSpec.java index 0c10b457f21..b5836c139df 100644 --- a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/AgentSpec.java +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/AgentSpec.java @@ -38,7 +38,7 @@ public final class AgentSpec extends com.google.api.client.json.GenericJson { private java.util.Map content; /** - * Required. The type of the agent spec content. + * Required. Immutable. The type of the agent spec content. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -64,7 +64,7 @@ public AgentSpec setContent(java.util.Map content) { } /** - * Required. The type of the agent spec content. + * Required. Immutable. The type of the agent spec content. * @return value or {@code null} for none */ public java.lang.String getType() { @@ -72,7 +72,7 @@ public java.lang.String getType() { } /** - * Required. The type of the agent spec content. + * Required. Immutable. The type of the agent spec content. * @param type type or {@code null} for none */ public AgentSpec setType(java.lang.String type) { diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/AiApplication.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/AiApplication.java new file mode 100644 index 00000000000..34590b82812 --- /dev/null +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/AiApplication.java @@ -0,0 +1,261 @@ +/* + * 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.agentregistry.v1.model; + +/** + * Represents an AI Application. + * + *

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 Agent Registry 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 AiApplication extends com.google.api.client.json.GenericJson { + + /** + * Output only. Properties of an underlying cloud resource that can comprise an AI Application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ApplicationProperties applicationProperties; + + /** + * Optional. Consumer provided attributes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Attributes attributes; + + /** + * Output only. Creation time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Optional. User-defined description of the AI Application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Optional. User-defined name for the AI Application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Identifier. Resource name of the AI Application. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The current state of the AI Application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. Universally unique identifier (UUID4) for the AI Application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String uid; + + /** + * Output only. Last update time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. Properties of an underlying cloud resource that can comprise an AI Application. + * @return value or {@code null} for none + */ + public ApplicationProperties getApplicationProperties() { + return applicationProperties; + } + + /** + * Output only. Properties of an underlying cloud resource that can comprise an AI Application. + * @param applicationProperties applicationProperties or {@code null} for none + */ + public AiApplication setApplicationProperties(ApplicationProperties applicationProperties) { + this.applicationProperties = applicationProperties; + return this; + } + + /** + * Optional. Consumer provided attributes. + * @return value or {@code null} for none + */ + public Attributes getAttributes() { + return attributes; + } + + /** + * Optional. Consumer provided attributes. + * @param attributes attributes or {@code null} for none + */ + public AiApplication setAttributes(Attributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * Output only. Creation time. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. Creation time. + * @param createTime createTime or {@code null} for none + */ + public AiApplication setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Optional. User-defined description of the AI Application. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Optional. User-defined description of the AI Application. + * @param description description or {@code null} for none + */ + public AiApplication setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Optional. User-defined name for the AI Application. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Optional. User-defined name for the AI Application. + * @param displayName displayName or {@code null} for none + */ + public AiApplication setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Identifier. Resource name of the AI Application. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Resource name of the AI Application. Format: + * `projects/{project}/locations/{location}/aiApplications/{ai_application}` + * @param name name or {@code null} for none + */ + public AiApplication setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The current state of the AI Application. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The current state of the AI Application. + * @param state state or {@code null} for none + */ + public AiApplication setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * Output only. Universally unique identifier (UUID4) for the AI Application. + * @return value or {@code null} for none + */ + public java.lang.String getUid() { + return uid; + } + + /** + * Output only. Universally unique identifier (UUID4) for the AI Application. + * @param uid uid or {@code null} for none + */ + public AiApplication setUid(java.lang.String uid) { + this.uid = uid; + return this; + } + + /** + * Output only. Last update time. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. Last update time. + * @param updateTime updateTime or {@code null} for none + */ + public AiApplication setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public AiApplication set(String fieldName, Object value) { + return (AiApplication) super.set(fieldName, value); + } + + @Override + public AiApplication clone() { + return (AiApplication) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ApplicationProperties.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ApplicationProperties.java new file mode 100644 index 00000000000..5663f05a264 --- /dev/null +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ApplicationProperties.java @@ -0,0 +1,72 @@ +/* + * 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.agentregistry.v1.model; + +/** + * Additional system properties of an Application. + * + *

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 Agent Registry 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 ApplicationProperties extends com.google.api.client.json.GenericJson { + + /** + * Output only. Additional metadata specific to the App Hub application. The key is a string that + * identifies the type of metadata and the value is the metadata contents specific to that type. + * Key format: `apphub.googleapis.com/{metadataType}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map extendedMetadata; + + /** + * Output only. Additional metadata specific to the App Hub application. The key is a string that + * identifies the type of metadata and the value is the metadata contents specific to that type. + * Key format: `apphub.googleapis.com/{metadataType}` + * @return value or {@code null} for none + */ + public java.util.Map getExtendedMetadata() { + return extendedMetadata; + } + + /** + * Output only. Additional metadata specific to the App Hub application. The key is a string that + * identifies the type of metadata and the value is the metadata contents specific to that type. + * Key format: `apphub.googleapis.com/{metadataType}` + * @param extendedMetadata extendedMetadata or {@code null} for none + */ + public ApplicationProperties setExtendedMetadata(java.util.Map extendedMetadata) { + this.extendedMetadata = extendedMetadata; + return this; + } + + @Override + public ApplicationProperties set(String fieldName, Object value) { + return (ApplicationProperties) super.set(fieldName, value); + } + + @Override + public ApplicationProperties clone() { + return (ApplicationProperties) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Attributes.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Attributes.java new file mode 100644 index 00000000000..bbdc190c0ee --- /dev/null +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Attributes.java @@ -0,0 +1,162 @@ +/* + * 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.agentregistry.v1.model; + +/** + * Consumer provided attributes. + * + *

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 Agent Registry 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 Attributes extends com.google.api.client.json.GenericJson { + + /** + * Optional. Business team that ensures user needs are met and value is delivered + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List businessOwners; + + /** + * Optional. User-defined criticality information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Criticality criticality; + + /** + * Optional. Developer team that owns development and coding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List developerOwners; + + /** + * Optional. User-defined environment information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Environment environment; + + /** + * Optional. Operator team that ensures runtime and operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operatorOwners; + + /** + * Optional. Business team that ensures user needs are met and value is delivered + * @return value or {@code null} for none + */ + public java.util.List getBusinessOwners() { + return businessOwners; + } + + /** + * Optional. Business team that ensures user needs are met and value is delivered + * @param businessOwners businessOwners or {@code null} for none + */ + public Attributes setBusinessOwners(java.util.List businessOwners) { + this.businessOwners = businessOwners; + return this; + } + + /** + * Optional. User-defined criticality information. + * @return value or {@code null} for none + */ + public Criticality getCriticality() { + return criticality; + } + + /** + * Optional. User-defined criticality information. + * @param criticality criticality or {@code null} for none + */ + public Attributes setCriticality(Criticality criticality) { + this.criticality = criticality; + return this; + } + + /** + * Optional. Developer team that owns development and coding. + * @return value or {@code null} for none + */ + public java.util.List getDeveloperOwners() { + return developerOwners; + } + + /** + * Optional. Developer team that owns development and coding. + * @param developerOwners developerOwners or {@code null} for none + */ + public Attributes setDeveloperOwners(java.util.List developerOwners) { + this.developerOwners = developerOwners; + return this; + } + + /** + * Optional. User-defined environment information. + * @return value or {@code null} for none + */ + public Environment getEnvironment() { + return environment; + } + + /** + * Optional. User-defined environment information. + * @param environment environment or {@code null} for none + */ + public Attributes setEnvironment(Environment environment) { + this.environment = environment; + return this; + } + + /** + * Optional. Operator team that ensures runtime and operations. + * @return value or {@code null} for none + */ + public java.util.List getOperatorOwners() { + return operatorOwners; + } + + /** + * Optional. Operator team that ensures runtime and operations. + * @param operatorOwners operatorOwners or {@code null} for none + */ + public Attributes setOperatorOwners(java.util.List operatorOwners) { + this.operatorOwners = operatorOwners; + return this; + } + + @Override + public Attributes set(String fieldName, Object value) { + return (Attributes) super.set(fieldName, value); + } + + @Override + public Attributes clone() { + return (Attributes) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Binding.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Binding.java index dbd9ae78012..68ccb988cec 100644 --- a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Binding.java +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Binding.java @@ -68,7 +68,7 @@ public final class Binding extends com.google.api.client.json.GenericJson { private java.lang.String name; /** - * Required. The target Agent of the Binding. + * Optional. The source Agent of the Binding. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -180,7 +180,7 @@ public Binding setName(java.lang.String name) { } /** - * Required. The target Agent of the Binding. + * Optional. The source Agent of the Binding. * @return value or {@code null} for none */ public Source getSource() { @@ -188,7 +188,7 @@ public Source getSource() { } /** - * Required. The target Agent of the Binding. + * Optional. The source Agent of the Binding. * @param source source or {@code null} for none */ public Binding setSource(Source source) { diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ContactInfo.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ContactInfo.java new file mode 100644 index 00000000000..39dad174829 --- /dev/null +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ContactInfo.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.agentregistry.v1.model; + +/** + * Contact information of stakeholders. + * + *

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 Agent Registry 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 ContactInfo extends com.google.api.client.json.GenericJson { + + /** + * Optional. Contact's name. Can have a maximum length of 63 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Required. Email address of the contacts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String email; + + /** + * Optional. Contact's name. Can have a maximum length of 63 characters. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Optional. Contact's name. Can have a maximum length of 63 characters. + * @param displayName displayName or {@code null} for none + */ + public ContactInfo setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Required. Email address of the contacts. + * @return value or {@code null} for none + */ + public java.lang.String getEmail() { + return email; + } + + /** + * Required. Email address of the contacts. + * @param email email or {@code null} for none + */ + public ContactInfo setEmail(java.lang.String email) { + this.email = email; + return this; + } + + @Override + public ContactInfo set(String fieldName, Object value) { + return (ContactInfo) super.set(fieldName, value); + } + + @Override + public ContactInfo clone() { + return (ContactInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Criticality.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Criticality.java new file mode 100644 index 00000000000..cc97a8dba74 --- /dev/null +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Criticality.java @@ -0,0 +1,66 @@ +/* + * 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.agentregistry.v1.model; + +/** + * Criticality of the Application, Service, or Workload + * + *

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 Agent Registry 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 Criticality extends com.google.api.client.json.GenericJson { + + /** + * Required. Criticality Type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Required. Criticality Type. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Required. Criticality Type. + * @param type type or {@code null} for none + */ + public Criticality setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public Criticality set(String fieldName, Object value) { + return (Criticality) super.set(fieldName, value); + } + + @Override + public Criticality clone() { + return (Criticality) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/EndpointSpec.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/EndpointSpec.java index 939396bbd06..ba73c71cb97 100644 --- a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/EndpointSpec.java +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/EndpointSpec.java @@ -37,7 +37,7 @@ public final class EndpointSpec extends com.google.api.client.json.GenericJson { private java.util.Map content; /** - * Required. The type of the endpoint spec content. + * Required. Immutable. The type of the endpoint spec content. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -61,7 +61,7 @@ public EndpointSpec setContent(java.util.Map content) } /** - * Required. The type of the endpoint spec content. + * Required. Immutable. The type of the endpoint spec content. * @return value or {@code null} for none */ public java.lang.String getType() { @@ -69,7 +69,7 @@ public java.lang.String getType() { } /** - * Required. The type of the endpoint spec content. + * Required. Immutable. The type of the endpoint spec content. * @param type type or {@code null} for none */ public EndpointSpec setType(java.lang.String type) { diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Environment.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Environment.java new file mode 100644 index 00000000000..eee4c0af67d --- /dev/null +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/Environment.java @@ -0,0 +1,66 @@ +/* + * 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.agentregistry.v1.model; + +/** + * Environment of the Application, Service, or Workload + * + *

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 Agent Registry 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 Environment extends com.google.api.client.json.GenericJson { + + /** + * Required. Environment Type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Required. Environment Type. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Required. Environment Type. + * @param type type or {@code null} for none + */ + public Environment setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public Environment set(String fieldName, Object value) { + return (Environment) super.set(fieldName, value); + } + + @Override + public Environment clone() { + return (Environment) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ExtendedMetadata.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ExtendedMetadata.java new file mode 100644 index 00000000000..af42a6d656a --- /dev/null +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ExtendedMetadata.java @@ -0,0 +1,66 @@ +/* + * 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.agentregistry.v1.model; + +/** + * Additional metadata for a Service or Workload. + * + *

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 Agent Registry 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 ExtendedMetadata extends com.google.api.client.json.GenericJson { + + /** + * Output only. The metadata contents. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map metadataStruct; + + /** + * Output only. The metadata contents. + * @return value or {@code null} for none + */ + public java.util.Map getMetadataStruct() { + return metadataStruct; + } + + /** + * Output only. The metadata contents. + * @param metadataStruct metadataStruct or {@code null} for none + */ + public ExtendedMetadata setMetadataStruct(java.util.Map metadataStruct) { + this.metadataStruct = metadataStruct; + return this; + } + + @Override + public ExtendedMetadata set(String fieldName, Object value) { + return (ExtendedMetadata) super.set(fieldName, value); + } + + @Override + public ExtendedMetadata clone() { + return (ExtendedMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationAgentsResponse.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationAgentsResponse.java new file mode 100644 index 00000000000..40944cef48e --- /dev/null +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationAgentsResponse.java @@ -0,0 +1,96 @@ +/* + * 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.agentregistry.v1.model; + +/** + * Message for response to listing Agents under an AI Application. + * + *

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 Agent Registry 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 ListAiApplicationAgentsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of Agents. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List agents; + + static { + // hack to force ProGuard to consider Agent 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(Agent.class); + } + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of Agents. + * @return value or {@code null} for none + */ + public java.util.List getAgents() { + return agents; + } + + /** + * The list of Agents. + * @param agents agents or {@code null} for none + */ + public ListAiApplicationAgentsResponse setAgents(java.util.List agents) { + this.agents = agents; + return this; + } + + /** + * A token identifying a page of results the server should return. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token identifying a page of results the server should return. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListAiApplicationAgentsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public ListAiApplicationAgentsResponse set(String fieldName, Object value) { + return (ListAiApplicationAgentsResponse) super.set(fieldName, value); + } + + @Override + public ListAiApplicationAgentsResponse clone() { + return (ListAiApplicationAgentsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationEndpointsResponse.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationEndpointsResponse.java new file mode 100644 index 00000000000..5994d86fea5 --- /dev/null +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationEndpointsResponse.java @@ -0,0 +1,96 @@ +/* + * 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.agentregistry.v1.model; + +/** + * Message for response to listing Endpoints under an AI Application. + * + *

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 Agent Registry 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 ListAiApplicationEndpointsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of Endpoints. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List endpoints; + + static { + // hack to force ProGuard to consider Endpoint 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(Endpoint.class); + } + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of Endpoints. + * @return value or {@code null} for none + */ + public java.util.List getEndpoints() { + return endpoints; + } + + /** + * The list of Endpoints. + * @param endpoints endpoints or {@code null} for none + */ + public ListAiApplicationEndpointsResponse setEndpoints(java.util.List endpoints) { + this.endpoints = endpoints; + return this; + } + + /** + * A token identifying a page of results the server should return. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token identifying a page of results the server should return. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListAiApplicationEndpointsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public ListAiApplicationEndpointsResponse set(String fieldName, Object value) { + return (ListAiApplicationEndpointsResponse) super.set(fieldName, value); + } + + @Override + public ListAiApplicationEndpointsResponse clone() { + return (ListAiApplicationEndpointsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationMcpServersResponse.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationMcpServersResponse.java new file mode 100644 index 00000000000..30107bf4138 --- /dev/null +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationMcpServersResponse.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.agentregistry.v1.model; + +/** + * Message for response to listing McpServers under an AI Application. + * + *

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 Agent Registry 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 ListAiApplicationMcpServersResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of McpServers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List mcpServers; + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of McpServers. + * @return value or {@code null} for none + */ + public java.util.List getMcpServers() { + return mcpServers; + } + + /** + * The list of McpServers. + * @param mcpServers mcpServers or {@code null} for none + */ + public ListAiApplicationMcpServersResponse setMcpServers(java.util.List mcpServers) { + this.mcpServers = mcpServers; + return this; + } + + /** + * A token identifying a page of results the server should return. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token identifying a page of results the server should return. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListAiApplicationMcpServersResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public ListAiApplicationMcpServersResponse set(String fieldName, Object value) { + return (ListAiApplicationMcpServersResponse) super.set(fieldName, value); + } + + @Override + public ListAiApplicationMcpServersResponse clone() { + return (ListAiApplicationMcpServersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationsResponse.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationsResponse.java new file mode 100644 index 00000000000..39dd285bea4 --- /dev/null +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/ListAiApplicationsResponse.java @@ -0,0 +1,120 @@ +/* + * 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.agentregistry.v1.model; + +/** + * Message for response to listing AiApplications. + * + *

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 Agent Registry 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 ListAiApplicationsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of AiApplications. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List aiApplications; + + static { + // hack to force ProGuard to consider AiApplication 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(AiApplication.class); + } + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * Unordered list. Locations that could not be reached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unreachable; + + /** + * The list of AiApplications. + * @return value or {@code null} for none + */ + public java.util.List getAiApplications() { + return aiApplications; + } + + /** + * The list of AiApplications. + * @param aiApplications aiApplications or {@code null} for none + */ + public ListAiApplicationsResponse setAiApplications(java.util.List aiApplications) { + this.aiApplications = aiApplications; + return this; + } + + /** + * A token identifying a page of results the server should return. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token identifying a page of results the server should return. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListAiApplicationsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * Unordered list. Locations that could not be reached. + * @return value or {@code null} for none + */ + public java.util.List getUnreachable() { + return unreachable; + } + + /** + * Unordered list. Locations that could not be reached. + * @param unreachable unreachable or {@code null} for none + */ + public ListAiApplicationsResponse setUnreachable(java.util.List unreachable) { + this.unreachable = unreachable; + return this; + } + + @Override + public ListAiApplicationsResponse set(String fieldName, Object value) { + return (ListAiApplicationsResponse) super.set(fieldName, value); + } + + @Override + public ListAiApplicationsResponse clone() { + return (ListAiApplicationsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/McpServerSpec.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/McpServerSpec.java index 651d23755f1..90d7d470cf3 100644 --- a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/McpServerSpec.java +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/McpServerSpec.java @@ -38,7 +38,7 @@ public final class McpServerSpec extends com.google.api.client.json.GenericJson private java.util.Map content; /** - * Required. The type of the MCP Server spec content. + * Required. Immutable. The type of the MCP Server spec content. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -64,7 +64,7 @@ public McpServerSpec setContent(java.util.Map content) } /** - * Required. The type of the MCP Server spec content. + * Required. Immutable. The type of the MCP Server spec content. * @return value or {@code null} for none */ public java.lang.String getType() { @@ -72,7 +72,7 @@ public java.lang.String getType() { } /** - * Required. The type of the MCP Server spec content. + * Required. Immutable. The type of the MCP Server spec content. * @param type type or {@code null} for none */ public McpServerSpec setType(java.lang.String type) { diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/SearchAgentsRequest.java b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/SearchAgentsRequest.java index d5a54b9fc58..f8d129a2795 100644 --- a/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/SearchAgentsRequest.java +++ b/clients/google-api-services-agentregistry/v1/2.0.0/com/google/api/services/agentregistry/v1/model/SearchAgentsRequest.java @@ -61,7 +61,7 @@ public final class SearchAgentsRequest extends com.google.api.client.json.Generi * | Yes | No | Included | | skills.name | No | Yes | No | Included | | skills.description | No | * Yes | No | Included | | skills.tags | No | Yes | No | Included | | skills.examples | No | Yes | * No | Included | Examples: * `agentId="urn:agent:projects-123:projects:123:locations:us- - * central1:reasoningEngines:1234"` to find the agent with the specified agent ID. * + * central1:aiplatform:reasoningEngines:1234"` to find the agent with the specified agent ID. * * `name:important` to find agents whose name contains `important` as a word. * * `displayName:works*` to find agents whose display name contains words that start with `works`. * * `skills.tags:test` to find agents whose skills tags contain `test`. * `planner OR booking` to @@ -128,7 +128,7 @@ public SearchAgentsRequest setPageToken(java.lang.String pageToken) { * | Yes | No | Included | | skills.name | No | Yes | No | Included | | skills.description | No | * Yes | No | Included | | skills.tags | No | Yes | No | Included | | skills.examples | No | Yes | * No | Included | Examples: * `agentId="urn:agent:projects-123:projects:123:locations:us- - * central1:reasoningEngines:1234"` to find the agent with the specified agent ID. * + * central1:aiplatform:reasoningEngines:1234"` to find the agent with the specified agent ID. * * `name:important` to find agents whose name contains `important` as a word. * * `displayName:works*` to find agents whose display name contains words that start with `works`. * * `skills.tags:test` to find agents whose skills tags contain `test`. * `planner OR booking` to @@ -152,7 +152,7 @@ public java.lang.String getSearchString() { * | Yes | No | Included | | skills.name | No | Yes | No | Included | | skills.description | No | * Yes | No | Included | | skills.tags | No | Yes | No | Included | | skills.examples | No | Yes | * No | Included | Examples: * `agentId="urn:agent:projects-123:projects:123:locations:us- - * central1:reasoningEngines:1234"` to find the agent with the specified agent ID. * + * central1:aiplatform:reasoningEngines:1234"` to find the agent with the specified agent ID. * * `name:important` to find agents whose name contains `important` as a word. * * `displayName:works*` to find agents whose display name contains words that start with `works`. * * `skills.tags:test` to find agents whose skills tags contain `test`. * `planner OR booking` to diff --git a/clients/google-api-services-agentregistry/v1/2.0.0/pom.xml b/clients/google-api-services-agentregistry/v1/2.0.0/pom.xml index f1b1343045e..f18f744436c 100644 --- a/clients/google-api-services-agentregistry/v1/2.0.0/pom.xml +++ b/clients/google-api-services-agentregistry/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-agentregistry - v1-rev20260904-2.0.0 - Agent Registry API v1-rev20260904-2.0.0 + v1-rev20261003-2.0.0 + Agent Registry API v1-rev20261003-2.0.0 jar 2011 diff --git a/clients/google-api-services-agentregistry/v1/README.md b/clients/google-api-services-agentregistry/v1/README.md index c37f198a2fa..ac7c7321422 100644 --- a/clients/google-api-services-agentregistry/v1/README.md +++ b/clients/google-api-services-agentregistry/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-agentregistry - v1-rev20260904-2.0.0 + v1-rev20261003-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-agentregistry:v1-rev20260904-2.0.0' + implementation 'com.google.apis:google-api-services-agentregistry:v1-rev20261003-2.0.0' } ```