Skip to content

Commit 40cfef5

Browse files
feat: Automated regeneration of cloudsearch v1 client (#25377)
Auto-created at 2026-01-18 09:42:46 +0000 using the toys pull request generator.
1 parent 9b6c772 commit 40cfef5

File tree

8 files changed

+98
-51
lines changed

8 files changed

+98
-51
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86162,6 +86162,8 @@
8616286162
"/cloudsearch:v1/ListOperationsResponse/nextPageToken": next_page_token
8616386163
"/cloudsearch:v1/ListOperationsResponse/operations": operations
8616486164
"/cloudsearch:v1/ListOperationsResponse/operations/operation": operation
86165+
"/cloudsearch:v1/ListOperationsResponse/unreachable": unreachable
86166+
"/cloudsearch:v1/ListOperationsResponse/unreachable/unreachable": unreachable
8616586167
"/cloudsearch:v1/ListQuerySourcesResponse": list_query_sources_response
8616686168
"/cloudsearch:v1/ListQuerySourcesResponse/nextPageToken": next_page_token
8616786169
"/cloudsearch:v1/ListQuerySourcesResponse/sources": sources
@@ -86648,6 +86650,8 @@
8664886650
"/cloudsearch:v1/QueryInterpretation": query_interpretation
8664986651
"/cloudsearch:v1/QueryInterpretation/interpretationType": interpretation_type
8665086652
"/cloudsearch:v1/QueryInterpretation/interpretedQuery": interpreted_query
86653+
"/cloudsearch:v1/QueryInterpretation/interpretedQueryActualResultCount": interpreted_query_actual_result_count
86654+
"/cloudsearch:v1/QueryInterpretation/interpretedQueryEstimatedResultCount": interpreted_query_estimated_result_count
8665186655
"/cloudsearch:v1/QueryInterpretation/reason": reason
8665286656
"/cloudsearch:v1/QueryInterpretationConfig": query_interpretation_config
8665386657
"/cloudsearch:v1/QueryInterpretationConfig/forceDisableSupplementalResults": force_disable_supplemental_results
@@ -87495,6 +87499,7 @@
8749587499
"/cloudsearch:v1/cloudsearch.operations.lro.list/name": name
8749687500
"/cloudsearch:v1/cloudsearch.operations.lro.list/pageSize": page_size
8749787501
"/cloudsearch:v1/cloudsearch.operations.lro.list/pageToken": page_token
87502+
"/cloudsearch:v1/cloudsearch.operations.lro.list/returnPartialSuccess": return_partial_success
8749887503
"/cloudsearch:v1/cloudsearch.query.debugSearch": debug_query_search
8749987504
"/cloudsearch:v1/cloudsearch.query.removeActivity": remove_query_activity
8750087505
"/cloudsearch:v1/cloudsearch.query.search": search_query

generated/google-apis-cloudsearch_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-cloudsearch_v1
22

3+
### v0.65.0 (2026-01-18)
4+
5+
* Regenerated from discovery document revision 20260107
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.64.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

generated/google-apis-cloudsearch_v1/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
7979

8080
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
8181

82-
The [product documentation](https://developers.google.com/cloud-search/docs/guides/) may provide guidance regarding the preferred client library to use.
82+
The [product documentation](https://developers.google.com/workspace/cloud-search/docs/guides/) may provide guidance regarding the preferred client library to use.
8383

8484
## Supported Ruby versions
8585

generated/google-apis-cloudsearch_v1/lib/google/apis/cloudsearch_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module Apis
2525
# data. The Cloud Search API allows indexing of non-Google Workspace data into
2626
# Cloud Search.
2727
#
28-
# @see https://developers.google.com/cloud-search/docs/guides/
28+
# @see https://developers.google.com/workspace/cloud-search/docs/guides/
2929
module CloudsearchV1
3030
# Version of the Cloud Search API this client connects to.
3131
# This is NOT the gem version.

generated/google-apis-cloudsearch_v1/lib/google/apis/cloudsearch_v1/classes.rb

Lines changed: 36 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ class DebugResponse
871871
# @return [String]
872872
attr_accessor :gsr_response
873873

874-
# The search API response. NEXT ID: 17
874+
# The search API response. NEXT ID: 19
875875
# Corresponds to the JSON property `searchResponse`
876876
# @return [Google::Apis::CloudsearchV1::SearchResponse]
877877
attr_accessor :search_response
@@ -4119,7 +4119,7 @@ class Item
41194119
include Google::Apis::Core::Hashable
41204120

41214121
# Access control list information for the item. For more information see [Map
4122-
# ACLs](https://developers.google.com/cloud-search/docs/guides/acls).
4122+
# ACLs](https://developers.google.com/workspace/cloud-search/docs/guides/acls).
41234123
# Corresponds to the JSON property `acl`
41244124
# @return [Google::Apis::CloudsearchV1::ItemAcl]
41254125
attr_accessor :acl
@@ -4175,8 +4175,8 @@ class Item
41754175
# queued item with a version value that is less than or equal to the version of
41764176
# the currently indexed item. The maximum length for this field is 1024 bytes.
41774177
# For information on how item version affects the deletion process, refer to [
4178-
# Handle revisions after manual deletes](https://developers.google.com/cloud-
4179-
# search/docs/guides/operations).
4178+
# Handle revisions after manual deletes](https://developers.google.com/workspace/
4179+
# cloud-search/docs/guides/operations).
41804180
# Corresponds to the JSON property `version`
41814181
# NOTE: Values are automatically base64 encoded/decoded in the client library.
41824182
# @return [String]
@@ -4202,7 +4202,7 @@ def update!(**args)
42024202
end
42034203

42044204
# Access control list information for the item. For more information see [Map
4205-
# ACLs](https://developers.google.com/cloud-search/docs/guides/acls).
4205+
# ACLs](https://developers.google.com/workspace/cloud-search/docs/guides/acls).
42064206
class ItemAcl
42074207
include Google::Apis::Core::Hashable
42084208

@@ -4602,6 +4602,14 @@ class ListOperationsResponse
46024602
# @return [Array<Google::Apis::CloudsearchV1::Operation>]
46034603
attr_accessor :operations
46044604

4605+
# Unordered list. Unreachable resources. Populated when the request sets `
4606+
# ListOperationsRequest.return_partial_success` and reads across collections.
4607+
# For example, when attempting to list all resources across all supported
4608+
# locations.
4609+
# Corresponds to the JSON property `unreachable`
4610+
# @return [Array<String>]
4611+
attr_accessor :unreachable
4612+
46054613
def initialize(**args)
46064614
update!(**args)
46074615
end
@@ -4610,6 +4618,7 @@ def initialize(**args)
46104618
def update!(**args)
46114619
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
46124620
@operations = args[:operations] if args.key?(:operations)
4621+
@unreachable = args[:unreachable] if args.key?(:unreachable)
46134622
end
46144623
end
46154624

@@ -5844,7 +5853,8 @@ class PropertyDefinition
58445853
# supported for Text properties. IsReturnable must be true to set this option.
58455854
# In a given datasource maximum of 5 properties can be marked as
58465855
# is_wildcard_searchable. For more details, see [Define object properties](https:
5847-
# //developers.google.com/cloud-search/docs/guides/schema-guide#properties)
5856+
# //developers.google.com/workspace/cloud-search/docs/guides/schema-guide#
5857+
# properties)
58485858
# Corresponds to the JSON property `isWildcardSearchable`
58495859
# @return [Boolean]
58505860
attr_accessor :is_wildcard_searchable
@@ -6088,6 +6098,16 @@ class QueryInterpretation
60886098
# @return [String]
60896099
attr_accessor :interpreted_query
60906100

6101+
# The actual number of results returned by the interpreted query.
6102+
# Corresponds to the JSON property `interpretedQueryActualResultCount`
6103+
# @return [Fixnum]
6104+
attr_accessor :interpreted_query_actual_result_count
6105+
6106+
# The estimated number of results returned by the interpreted query.
6107+
# Corresponds to the JSON property `interpretedQueryEstimatedResultCount`
6108+
# @return [Fixnum]
6109+
attr_accessor :interpreted_query_estimated_result_count
6110+
60916111
# The reason for interpretation of the query. This field will not be UNSPECIFIED
60926112
# if the interpretation type is not NONE.
60936113
# Corresponds to the JSON property `reason`
@@ -6102,6 +6122,8 @@ def initialize(**args)
61026122
def update!(**args)
61036123
@interpretation_type = args[:interpretation_type] if args.key?(:interpretation_type)
61046124
@interpreted_query = args[:interpreted_query] if args.key?(:interpreted_query)
6125+
@interpreted_query_actual_result_count = args[:interpreted_query_actual_result_count] if args.key?(:interpreted_query_actual_result_count)
6126+
@interpreted_query_estimated_result_count = args[:interpreted_query_estimated_result_count] if args.key?(:interpreted_query_estimated_result_count)
61056127
@reason = args[:reason] if args.key?(:reason)
61066128
end
61076129
end
@@ -7058,7 +7080,7 @@ def update!(**args)
70587080
end
70597081
end
70607082

7061-
# The search API request. NEXT ID: 17
7083+
# The search API request. NEXT ID: 24
70627084
class SearchRequest
70637085
include Google::Apis::Core::Hashable
70647086

@@ -7130,7 +7152,7 @@ def update!(**args)
71307152
end
71317153
end
71327154

7133-
# The search API response. NEXT ID: 17
7155+
# The search API response. NEXT ID: 19
71347156
class SearchResponse
71357157
include Google::Apis::Core::Hashable
71367158

@@ -7212,7 +7234,7 @@ def update!(**args)
72127234
end
72137235
end
72147236

7215-
# Results containing indexed information for a document.
7237+
# Results containing indexed information for a document. Next ID: 16
72167238
class SearchResult
72177239
include Google::Apis::Core::Hashable
72187240

@@ -8005,11 +8027,11 @@ class UpdateDataSourceRequest
80058027
attr_accessor :source
80068028

80078029
# Only applies to [`settings.datasources.patch`](https://developers.google.com/
8008-
# cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask
8009-
# to control which fields to update. Example field paths: `name`, `displayName`.
8010-
# * If `update_mask` is non-empty, then only the fields specified in the `
8011-
# update_mask` are updated. * If you specify a field in the `update_mask`, but
8012-
# don't specify its value in the source, that field is cleared. * If the `
8030+
# workspace/cloud-search/docs/reference/rest/v1/settings.datasources/patch).
8031+
# Update mask to control which fields to update. Example field paths: `name`, `
8032+
# displayName`. * If `update_mask` is non-empty, then only the fields specified
8033+
# in the `update_mask` are updated. * If you specify a field in the `update_mask`
8034+
# , but don't specify its value in the source, that field is cleared. * If the `
80138035
# update_mask` is not present or empty or has the value `*`, then all fields are
80148036
# updated.
80158037
# Corresponds to the JSON property `updateMask`

generated/google-apis-cloudsearch_v1/lib/google/apis/cloudsearch_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module CloudsearchV1
1818
# Version of the google-apis-cloudsearch_v1 gem
19-
GEM_VERSION = "0.64.0"
19+
GEM_VERSION = "0.65.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241113"
25+
REVISION = "20260107"
2626
end
2727
end
2828
end

generated/google-apis-cloudsearch_v1/lib/google/apis/cloudsearch_v1/representations.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2692,6 +2692,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
26922692
property :next_page_token, as: 'nextPageToken'
26932693
collection :operations, as: 'operations', class: Google::Apis::CloudsearchV1::Operation, decorator: Google::Apis::CloudsearchV1::Operation::Representation
26942694

2695+
collection :unreachable, as: 'unreachable'
26952696
end
26962697
end
26972698

@@ -3104,6 +3105,8 @@ class QueryInterpretation
31043105
class Representation < Google::Apis::Core::JsonRepresentation
31053106
property :interpretation_type, as: 'interpretationType'
31063107
property :interpreted_query, as: 'interpretedQuery'
3108+
property :interpreted_query_actual_result_count, as: 'interpretedQueryActualResultCount'
3109+
property :interpreted_query_estimated_result_count, :numeric_string => true, as: 'interpretedQueryEstimatedResultCount'
31073110
property :reason, as: 'reason'
31083111
end
31093112
end

0 commit comments

Comments
 (0)