google-apis-cloudsearch_v1 0.60.0 → 0.61.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21103a9277ec40c058b8a87326cd7f301717fb5b904f77a927a7d4e5d2641266
4
- data.tar.gz: 970c90cb10e1ab90d396de4f667764f9bb73f1ce06acc918f1e1819b2006220c
3
+ metadata.gz: ab39966d803e8f0be04cd4cc70792e53e9b85385235d150b752137f25f73cea0
4
+ data.tar.gz: a815c7497033401b877d59ca904d9c689e1c5a5b0605d1be0b87b2aeec449d01
5
5
  SHA512:
6
- metadata.gz: 29a85ef869cb4e080e176b27b36bfa73203cd21d625cbbadda8598152d263cedf12923baefa754fad7366127f49d2bf75580df408062d12430fc8b5bfe770c94
7
- data.tar.gz: e60448414f65b56bfc0fee45bf0f1759fbb3378db12c4182c8339539f6a3f2ebcf780c22ea90835fc6196ba29c48064d80aeddef05b5acae49be6625f3bb080d
6
+ metadata.gz: 810cafc7f69e1ddb2fe3657686546ecc3531947e516f4cf1a527c850d2df548ad076b70af42816d722ac5152c4cef7d5a3ccfd2f4647b9ed7ae2b5397a123704
7
+ data.tar.gz: 1b0ea4f8ae2e1ca518d8b8c87fe595ad4634e7c34cc251e028bbab2cf029b10c46eb45538052e58180f90148999595c81ab8c8f0c8be41b26bcf5879dd11ccb8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.61.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240529
6
+
3
7
  ### v0.60.0 (2024-05-19)
4
8
 
5
9
  * 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.
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
@@ -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.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240501"
25
+ REVISION = "20240529"
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.61.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-06-16 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.61.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: []