google-apis-cloudsearch_v1 0.60.0 → 0.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21103a9277ec40c058b8a87326cd7f301717fb5b904f77a927a7d4e5d2641266
4
- data.tar.gz: 970c90cb10e1ab90d396de4f667764f9bb73f1ce06acc918f1e1819b2006220c
3
+ metadata.gz: aee0654e2e3ceaaee65d1a4abed170da2f20efc95f22877e42f2dc4c6eb8c94e
4
+ data.tar.gz: 026ee54d972fa11284c27973d2345bd65f3109ed73b276fb858b51c811a72211
5
5
  SHA512:
6
- metadata.gz: 29a85ef869cb4e080e176b27b36bfa73203cd21d625cbbadda8598152d263cedf12923baefa754fad7366127f49d2bf75580df408062d12430fc8b5bfe770c94
7
- data.tar.gz: e60448414f65b56bfc0fee45bf0f1759fbb3378db12c4182c8339539f6a3f2ebcf780c22ea90835fc6196ba29c48064d80aeddef05b5acae49be6625f3bb080d
6
+ metadata.gz: fc483857bb54dd03bb84a9349fe42dee966129bb0b1bc40ca95472bd27ca38b70656fda093f7c6e5834fd9a1e3234d1e41956a6160c7c5abd484719fb8c1fa8a
7
+ data.tar.gz: 27d99427968f8ae80ddd565b096719839dfb9e78b737eea5e95e57c91b28134a77bda1e9fe79a95ba2c8672dba7a38992a20241080d125199bc55e99b06df6a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.62.0 (2024-10-27)
4
+
5
+ * Regenerated from discovery document revision 20241016
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.61.0 (2024-06-16)
9
+
10
+ * Regenerated from discovery document revision 20240529
11
+
3
12
  ### v0.60.0 (2024-05-19)
4
13
 
5
14
  * Regenerated from discovery document revision 20240501
@@ -855,6 +855,39 @@ module Google
855
855
  end
856
856
  end
857
857
 
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: 17
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
+
858
891
  #
859
892
  class DeleteQueueItemsRequest
860
893
  include Google::Apis::Core::Hashable
@@ -7083,7 +7116,7 @@ module Google
7083
7116
  end
7084
7117
  end
7085
7118
 
7086
- # The search API request.
7119
+ # The search API request. NEXT ID: 17
7087
7120
  class SearchRequest
7088
7121
  include Google::Apis::Core::Hashable
7089
7122
 
@@ -7155,7 +7188,7 @@ module Google
7155
7188
  end
7156
7189
  end
7157
7190
 
7158
- # The search API response.
7191
+ # The search API response. NEXT ID: 17
7159
7192
  class SearchResponse
7160
7193
  include Google::Apis::Core::Hashable
7161
7194
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudsearchV1
18
18
  # Version of the google-apis-cloudsearch_v1 gem
19
- GEM_VERSION = "0.60.0"
19
+ GEM_VERSION = "0.62.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240501"
25
+ REVISION = "20241016"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class DebugResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class DeleteQueueItemsRequest
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -1604,6 +1610,16 @@ module Google
1604
1610
  end
1605
1611
  end
1606
1612
 
1613
+ class DebugResponse
1614
+ # @private
1615
+ class Representation < Google::Apis::Core::JsonRepresentation
1616
+ property :gsr_request, :base64 => true, as: 'gsrRequest'
1617
+ property :gsr_response, :base64 => true, as: 'gsrResponse'
1618
+ property :search_response, as: 'searchResponse', class: Google::Apis::CloudsearchV1::SearchResponse, decorator: Google::Apis::CloudsearchV1::SearchResponse::Representation
1619
+
1620
+ end
1621
+ end
1622
+
1607
1623
  class DeleteQueueItemsRequest
1608
1624
  # @private
1609
1625
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -870,6 +870,40 @@ module Google
870
870
  execute_or_queue_command(command, &block)
871
871
  end
872
872
 
873
+ # Returns Debug information for Cloud Search Query API provides the search
874
+ # method. **Note:** This API requires a standard end user account to execute. A
875
+ # service account can't perform Query API requests directly; to use a service
876
+ # account to perform queries, set up [Google Workspace domain-wide delegation of
877
+ # authority](https://developers.google.com/cloud-search/docs/guides/delegation/).
878
+ # @param [Google::Apis::CloudsearchV1::SearchRequest] search_request_object
879
+ # @param [String] fields
880
+ # Selector specifying which fields to include in a partial response.
881
+ # @param [String] quota_user
882
+ # Available to use for quota purposes for server-side applications. Can be any
883
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
884
+ # @param [Google::Apis::RequestOptions] options
885
+ # Request-specific options
886
+ #
887
+ # @yield [result, err] Result & error if block supplied
888
+ # @yieldparam result [Google::Apis::CloudsearchV1::DebugResponse] parsed result object
889
+ # @yieldparam err [StandardError] error object if request failed
890
+ #
891
+ # @return [Google::Apis::CloudsearchV1::DebugResponse]
892
+ #
893
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
894
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
895
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
896
+ def debug_query_search(search_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
897
+ command = make_simple_command(:post, 'v1/query:debugSearch', options)
898
+ command.request_representation = Google::Apis::CloudsearchV1::SearchRequest::Representation
899
+ command.request_object = search_request_object
900
+ command.response_representation = Google::Apis::CloudsearchV1::DebugResponse::Representation
901
+ command.response_class = Google::Apis::CloudsearchV1::DebugResponse
902
+ command.query['fields'] = fields unless fields.nil?
903
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
904
+ execute_or_queue_command(command, &block)
905
+ end
906
+
873
907
  # Provides functionality to remove logged activity for a user. Currently to be
874
908
  # used only for Chat 1p clients **Note:** This API requires a standard end user
875
909
  # account to execute. A service account can't perform Remove Activity requests
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudsearch_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.0
4
+ version: 0.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-26 00:00:00.000000000 Z
11
+ date: 2024-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsearch_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.62.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsearch_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Search API V1