Skip to content

Commit b5473b0

Browse files
feat: Automated regeneration of cloudsearch v1 client (#25436)
Auto-created at 2026-01-25 09:24:53 +0000 using the toys pull request generator.
1 parent 2c49c9d commit b5473b0

File tree

5 files changed

+6
-86
lines changed

5 files changed

+6
-86
lines changed

generated/google-apis-cloudsearch_v1/CHANGELOG.md

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

3+
### v0.66.0 (2026-01-25)
4+
5+
* Regenerated from discovery document revision 20260114
6+
37
### v0.65.0 (2026-01-18)
48

59
* Regenerated from discovery document revision 20260107

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

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -855,39 +855,6 @@ def update!(**args)
855855
end
856856
end
857857

858-
# Debug Search Response.
859-
class DebugResponse
860-
include Google::Apis::Core::Hashable
861-
862-
# Serialized string of GenericSearchRequest.
863-
# Corresponds to the JSON property `gsrRequest`
864-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
865-
# @return [String]
866-
attr_accessor :gsr_request
867-
868-
# Serialized string of GenericSearchResponse.
869-
# Corresponds to the JSON property `gsrResponse`
870-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
871-
# @return [String]
872-
attr_accessor :gsr_response
873-
874-
# The search API response. NEXT ID: 19
875-
# Corresponds to the JSON property `searchResponse`
876-
# @return [Google::Apis::CloudsearchV1::SearchResponse]
877-
attr_accessor :search_response
878-
879-
def initialize(**args)
880-
update!(**args)
881-
end
882-
883-
# Update properties of this object
884-
def update!(**args)
885-
@gsr_request = args[:gsr_request] if args.key?(:gsr_request)
886-
@gsr_response = args[:gsr_response] if args.key?(:gsr_response)
887-
@search_response = args[:search_response] if args.key?(:search_response)
888-
end
889-
end
890-
891858
#
892859
class DeleteQueueItemsRequest
893860
include Google::Apis::Core::Hashable

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

Lines changed: 2 additions & 2 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.65.0"
19+
GEM_VERSION = "0.66.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
166166
include Google::Apis::Core::JsonObjectSupport
167167
end
168168

169-
class DebugResponse
170-
class Representation < Google::Apis::Core::JsonRepresentation; end
171-
172-
include Google::Apis::Core::JsonObjectSupport
173-
end
174-
175169
class DeleteQueueItemsRequest
176170
class Representation < Google::Apis::Core::JsonRepresentation; end
177171

@@ -1598,16 +1592,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
15981592
end
15991593
end
16001594

1601-
class DebugResponse
1602-
# @private
1603-
class Representation < Google::Apis::Core::JsonRepresentation
1604-
property :gsr_request, :base64 => true, as: 'gsrRequest'
1605-
property :gsr_response, :base64 => true, as: 'gsrResponse'
1606-
property :search_response, as: 'searchResponse', class: Google::Apis::CloudsearchV1::SearchResponse, decorator: Google::Apis::CloudsearchV1::SearchResponse::Representation
1607-
1608-
end
1609-
end
1610-
16111595
class DeleteQueueItemsRequest
16121596
# @private
16131597
class Representation < Google::Apis::Core::JsonRepresentation

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

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -879,41 +879,6 @@ def list_operation_lros(name, filter: nil, page_size: nil, page_token: nil, retu
879879
execute_or_queue_command(command, &block)
880880
end
881881

882-
# Returns Debug information for Cloud Search Query API provides the search
883-
# method. **Note:** This API requires a standard end user account to execute. A
884-
# service account can't perform Query API requests directly; to use a service
885-
# account to perform queries, set up [Google Workspace domain-wide delegation of
886-
# authority](https://developers.google.com/workspace/cloud-search/docs/guides/
887-
# delegation/).
888-
# @param [Google::Apis::CloudsearchV1::SearchRequest] search_request_object
889-
# @param [String] fields
890-
# Selector specifying which fields to include in a partial response.
891-
# @param [String] quota_user
892-
# Available to use for quota purposes for server-side applications. Can be any
893-
# arbitrary string assigned to a user, but should not exceed 40 characters.
894-
# @param [Google::Apis::RequestOptions] options
895-
# Request-specific options
896-
#
897-
# @yield [result, err] Result & error if block supplied
898-
# @yieldparam result [Google::Apis::CloudsearchV1::DebugResponse] parsed result object
899-
# @yieldparam err [StandardError] error object if request failed
900-
#
901-
# @return [Google::Apis::CloudsearchV1::DebugResponse]
902-
#
903-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
904-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
905-
# @raise [Google::Apis::AuthorizationError] Authorization is required
906-
def debug_query_search(search_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
907-
command = make_simple_command(:post, 'v1/query:debugSearch', options)
908-
command.request_representation = Google::Apis::CloudsearchV1::SearchRequest::Representation
909-
command.request_object = search_request_object
910-
command.response_representation = Google::Apis::CloudsearchV1::DebugResponse::Representation
911-
command.response_class = Google::Apis::CloudsearchV1::DebugResponse
912-
command.query['fields'] = fields unless fields.nil?
913-
command.query['quotaUser'] = quota_user unless quota_user.nil?
914-
execute_or_queue_command(command, &block)
915-
end
916-
917882
# Provides functionality to remove logged activity for a user. Currently to be
918883
# used only for Chat 1p clients **Note:** This API requires a standard end user
919884
# account to execute. A service account can't perform Remove Activity requests

0 commit comments

Comments
 (0)