From 0a13ada5cdae742dedde39a7cf1f2670d4dbfca2 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Mon, 19 Oct 2026 18:01:50 -0700 Subject: [PATCH] chore: regenerate agentregistry client --- .../v1alpha/2.0.0/README.md | 4 +- .../v1alpha/model/SearchSkillsRequest.java | 237 ++++++++++++++++++ .../v1alpha/2.0.0/pom.xml | 4 +- .../v1alpha/README.md | 4 +- 4 files changed, 243 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-agentregistry/v1alpha/2.0.0/com/google/api/services/agentregistry/v1alpha/model/SearchSkillsRequest.java diff --git a/clients/google-api-services-agentregistry/v1alpha/2.0.0/README.md b/clients/google-api-services-agentregistry/v1alpha/2.0.0/README.md index c9bcad63881..ec767dd05e3 100644 --- a/clients/google-api-services-agentregistry/v1alpha/2.0.0/README.md +++ b/clients/google-api-services-agentregistry/v1alpha/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 - v1alpha-rev20261003-2.0.0 + v1alpha-rev20261014-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20261003-2.0.0' + implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20261014-2.0.0' } ``` diff --git a/clients/google-api-services-agentregistry/v1alpha/2.0.0/com/google/api/services/agentregistry/v1alpha/model/SearchSkillsRequest.java b/clients/google-api-services-agentregistry/v1alpha/2.0.0/com/google/api/services/agentregistry/v1alpha/model/SearchSkillsRequest.java new file mode 100644 index 00000000000..f03b5f621ec --- /dev/null +++ b/clients/google-api-services-agentregistry/v1alpha/2.0.0/com/google/api/services/agentregistry/v1alpha/model/SearchSkillsRequest.java @@ -0,0 +1,237 @@ +/* + * 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.v1alpha.model; + +/** + * Requesting a deep search of Skills. + * + *

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 SearchSkillsRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. Use this field to specify additional filter criteria on search results. Filter + * expressions can be used to restrict results based upon filterable fields, where equality + * operators can be used. See [instructions](https://docs.cloud.google.com/agent-registry/search- + * agents-and-tools) for more details. Allowed operators: `=`, `<`, `>`, `NOT`, `AND`, `OR`, and + * `()`. | Field | `=` | `<`, `>` | |--------------|-----|----------| | state | Yes | No | | + * targetState | Yes | No | | createTime | Yes | Yes | | updateTime | Yes | Yes | Examples: * + * `state=ACTIVE` to restrict results to skills in the `ACTIVE` state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** + * Optional. The maximum number of search results to return per page. The page size is capped at + * `100`, even if a larger value is specified. A negative value will result in an + * `INVALID_ARGUMENT` error. If unspecified or set to `0`, a default value of `20` will be used. + * The server may return fewer results than requested. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** + * Optional. If present, retrieve the next batch of results from the preceding call to this + * method. `page_token` must be the value of `next_page_token` from the previous response. The + * values of all other method parameters, must be identical to those in the previous call. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** + * Optional. Search criteria used to select the Skills to return. If no search criteria is + * specified then all accessible Skills will be returned. Search expressions can be used to + * restrict results based upon searchable fields, where the operators can be used along with the + * suffix wildcard symbol `*`. See [instructions](https://docs.cloud.google.com/agent- + * registry/search-agents-and-tools) for more details. Allowed operators: `=`, `:`, `NOT`, `AND`, + * `OR`, and `()`. Searchable fields: | Field | `=` | `:` | `*` | Keyword Search | + * |---------------------------|-----|-----|-----|----------------| | skillId | Yes | Yes | Yes | + * Included | | name | No | Yes | Yes | Included | | displayName | No | Yes | Yes | Included | | + * description | No | Yes | No | Included | | frontmatter.name | No | Yes | No | Included | | + * frontmatter.description | No | Yes | No | Included | | frontmatter.compatibility | No | Yes | + * No | Included | | frontmatter.license | No | Yes | No | Included | Examples: * + * `skillId="urn:skill:projects-1234:locations:global:private-important-skill"` to find the skill + * with the specified skill ID. * `name:important` to find skills whose name contains `important` + * as a word. * `displayName:works*` to find skills whose display name contains words that start + * with `works`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchString; + + /** + * Optional. The type of search. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String searchType; + + /** + * Optional. Use this field to specify additional filter criteria on search results. Filter + * expressions can be used to restrict results based upon filterable fields, where equality + * operators can be used. See [instructions](https://docs.cloud.google.com/agent-registry/search- + * agents-and-tools) for more details. Allowed operators: `=`, `<`, `>`, `NOT`, `AND`, `OR`, and + * `()`. | Field | `=` | `<`, `>` | |--------------|-----|----------| | state | Yes | No | | + * targetState | Yes | No | | createTime | Yes | Yes | | updateTime | Yes | Yes | Examples: * + * `state=ACTIVE` to restrict results to skills in the `ACTIVE` state. + * @return value or {@code null} for none + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. Use this field to specify additional filter criteria on search results. Filter + * expressions can be used to restrict results based upon filterable fields, where equality + * operators can be used. See [instructions](https://docs.cloud.google.com/agent-registry/search- + * agents-and-tools) for more details. Allowed operators: `=`, `<`, `>`, `NOT`, `AND`, `OR`, and + * `()`. | Field | `=` | `<`, `>` | |--------------|-----|----------| | state | Yes | No | | + * targetState | Yes | No | | createTime | Yes | Yes | | updateTime | Yes | Yes | Examples: * + * `state=ACTIVE` to restrict results to skills in the `ACTIVE` state. + * @param filter filter or {@code null} for none + */ + public SearchSkillsRequest setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. The maximum number of search results to return per page. The page size is capped at + * `100`, even if a larger value is specified. A negative value will result in an + * `INVALID_ARGUMENT` error. If unspecified or set to `0`, a default value of `20` will be used. + * The server may return fewer results than requested. + * @return value or {@code null} for none + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of search results to return per page. The page size is capped at + * `100`, even if a larger value is specified. A negative value will result in an + * `INVALID_ARGUMENT` error. If unspecified or set to `0`, a default value of `20` will be used. + * The server may return fewer results than requested. + * @param pageSize pageSize or {@code null} for none + */ + public SearchSkillsRequest setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. If present, retrieve the next batch of results from the preceding call to this + * method. `page_token` must be the value of `next_page_token` from the previous response. The + * values of all other method parameters, must be identical to those in the previous call. + * @return value or {@code null} for none + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. If present, retrieve the next batch of results from the preceding call to this + * method. `page_token` must be the value of `next_page_token` from the previous response. The + * values of all other method parameters, must be identical to those in the previous call. + * @param pageToken pageToken or {@code null} for none + */ + public SearchSkillsRequest setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** + * Optional. Search criteria used to select the Skills to return. If no search criteria is + * specified then all accessible Skills will be returned. Search expressions can be used to + * restrict results based upon searchable fields, where the operators can be used along with the + * suffix wildcard symbol `*`. See [instructions](https://docs.cloud.google.com/agent- + * registry/search-agents-and-tools) for more details. Allowed operators: `=`, `:`, `NOT`, `AND`, + * `OR`, and `()`. Searchable fields: | Field | `=` | `:` | `*` | Keyword Search | + * |---------------------------|-----|-----|-----|----------------| | skillId | Yes | Yes | Yes | + * Included | | name | No | Yes | Yes | Included | | displayName | No | Yes | Yes | Included | | + * description | No | Yes | No | Included | | frontmatter.name | No | Yes | No | Included | | + * frontmatter.description | No | Yes | No | Included | | frontmatter.compatibility | No | Yes | + * No | Included | | frontmatter.license | No | Yes | No | Included | Examples: * + * `skillId="urn:skill:projects-1234:locations:global:private-important-skill"` to find the skill + * with the specified skill ID. * `name:important` to find skills whose name contains `important` + * as a word. * `displayName:works*` to find skills whose display name contains words that start + * with `works`. + * @return value or {@code null} for none + */ + public java.lang.String getSearchString() { + return searchString; + } + + /** + * Optional. Search criteria used to select the Skills to return. If no search criteria is + * specified then all accessible Skills will be returned. Search expressions can be used to + * restrict results based upon searchable fields, where the operators can be used along with the + * suffix wildcard symbol `*`. See [instructions](https://docs.cloud.google.com/agent- + * registry/search-agents-and-tools) for more details. Allowed operators: `=`, `:`, `NOT`, `AND`, + * `OR`, and `()`. Searchable fields: | Field | `=` | `:` | `*` | Keyword Search | + * |---------------------------|-----|-----|-----|----------------| | skillId | Yes | Yes | Yes | + * Included | | name | No | Yes | Yes | Included | | displayName | No | Yes | Yes | Included | | + * description | No | Yes | No | Included | | frontmatter.name | No | Yes | No | Included | | + * frontmatter.description | No | Yes | No | Included | | frontmatter.compatibility | No | Yes | + * No | Included | | frontmatter.license | No | Yes | No | Included | Examples: * + * `skillId="urn:skill:projects-1234:locations:global:private-important-skill"` to find the skill + * with the specified skill ID. * `name:important` to find skills whose name contains `important` + * as a word. * `displayName:works*` to find skills whose display name contains words that start + * with `works`. + * @param searchString searchString or {@code null} for none + */ + public SearchSkillsRequest setSearchString(java.lang.String searchString) { + this.searchString = searchString; + return this; + } + + /** + * Optional. The type of search. + * @return value or {@code null} for none + */ + public java.lang.String getSearchType() { + return searchType; + } + + /** + * Optional. The type of search. + * @param searchType searchType or {@code null} for none + */ + public SearchSkillsRequest setSearchType(java.lang.String searchType) { + this.searchType = searchType; + return this; + } + + @Override + public SearchSkillsRequest set(String fieldName, Object value) { + return (SearchSkillsRequest) super.set(fieldName, value); + } + + @Override + public SearchSkillsRequest clone() { + return (SearchSkillsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-agentregistry/v1alpha/2.0.0/pom.xml b/clients/google-api-services-agentregistry/v1alpha/2.0.0/pom.xml index 953a4491cf9..6102990b575 100644 --- a/clients/google-api-services-agentregistry/v1alpha/2.0.0/pom.xml +++ b/clients/google-api-services-agentregistry/v1alpha/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-agentregistry - v1alpha-rev20261003-2.0.0 - Agent Registry API v1alpha-rev20261003-2.0.0 + v1alpha-rev20261014-2.0.0 + Agent Registry API v1alpha-rev20261014-2.0.0 jar 2011 diff --git a/clients/google-api-services-agentregistry/v1alpha/README.md b/clients/google-api-services-agentregistry/v1alpha/README.md index c9bcad63881..ec767dd05e3 100644 --- a/clients/google-api-services-agentregistry/v1alpha/README.md +++ b/clients/google-api-services-agentregistry/v1alpha/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-agentregistry - v1alpha-rev20261003-2.0.0 + v1alpha-rev20261014-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20261003-2.0.0' + implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20261014-2.0.0' } ```