google-apis-cloudsearch_v1 0.66.0 → 0.68.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: 9e23179da147cd0d4125523d3a3caa87f55ac3cd9152bdb5b58e3f9865f35d11
4
- data.tar.gz: 30f2bf79a08b08ee359cdb23abb55b902b7b91eaa06620f8c3ae0df8edf323a2
3
+ metadata.gz: dc5d4f4b6005b8050ebed1a59d63db275259a63f11a5ad4caa7c29e5316ea754
4
+ data.tar.gz: b07791d5726871c47949fe8fe635a597a198011ed1b62d1c87241a19fdd9fba2
5
5
  SHA512:
6
- metadata.gz: 4874de12e02988292d2b4b044010bbad4c325a24739a45502e0eb508471cd411a2d71a09090e9b924bd4cdd4939cbaafd3c13393836d325770eb01826f1f3ffa
7
- data.tar.gz: 11c392e24c41b27a096db2b0f23217d72ce632730d0cf0c6792bb7193d71c94d7cb6ac0b290107e6153f113919e2baa9871c25e4cba4e17c065a08adfc9cb3fb
6
+ metadata.gz: 9a19cb8a61f945546d6dfddd95b16a58895a8b99ab80fdc606c630f9a6c3c3c38f1b1e1d85f0d99c2cc5135ab41c21f924956192acdb45aacff6def94a7505bd
7
+ data.tar.gz: 1a676c6cd7a1b58e1f48b8987cc111ba72781970d1f01255c826da858336b7f16882a174d098e26fb35a2df348a916f920a76dbe45016b4a6032c7125affe3a4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.68.0 (2026-05-10)
4
+
5
+ * Regenerated from discovery document revision 20260429
6
+
7
+ ### v0.67.0 (2026-03-22)
8
+
9
+ * Regenerated from discovery document revision 20260318
10
+
3
11
  ### v0.66.0 (2026-01-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20260114
@@ -6324,17 +6324,28 @@ module Google
6324
6324
  end
6325
6325
  end
6326
6326
 
6327
- # This field does not contain anything as of now and is just used as an
6328
- # indicator that the suggest result was a phrase completion.
6327
+ #
6329
6328
  class QuerySuggestion
6330
6329
  include Google::Apis::Core::Hashable
6331
6330
 
6331
+ # Last query time of the suggestion for query history suggestions.
6332
+ # Corresponds to the JSON property `lastQueryTime`
6333
+ # @return [String]
6334
+ attr_accessor :last_query_time
6335
+
6336
+ # Source corpus of the suggestion.
6337
+ # Corresponds to the JSON property `sourceCorpus`
6338
+ # @return [String]
6339
+ attr_accessor :source_corpus
6340
+
6332
6341
  def initialize(**args)
6333
6342
  update!(**args)
6334
6343
  end
6335
6344
 
6336
6345
  # Update properties of this object
6337
6346
  def update!(**args)
6347
+ @last_query_time = args[:last_query_time] if args.key?(:last_query_time)
6348
+ @source_corpus = args[:source_corpus] if args.key?(:source_corpus)
6338
6349
  end
6339
6350
  end
6340
6351
 
@@ -6414,6 +6425,12 @@ module Google
6414
6425
  class RequestOptions
6415
6426
  include Google::Apis::Core::Hashable
6416
6427
 
6428
+ # The BCP-47 language code, such as "pt" or "en". It represents the user's
6429
+ # preferred Display Language.
6430
+ # Corresponds to the JSON property `clientDisplayLanguageCode`
6431
+ # @return [String]
6432
+ attr_accessor :client_display_language_code
6433
+
6417
6434
  # Shared request debug options for all cloudsearch RPC methods.
6418
6435
  # Corresponds to the JSON property `debugOptions`
6419
6436
  # @return [Google::Apis::CloudsearchV1::DebugOptions]
@@ -6452,6 +6469,7 @@ module Google
6452
6469
 
6453
6470
  # Update properties of this object
6454
6471
  def update!(**args)
6472
+ @client_display_language_code = args[:client_display_language_code] if args.key?(:client_display_language_code)
6455
6473
  @debug_options = args[:debug_options] if args.key?(:debug_options)
6456
6474
  @language_code = args[:language_code] if args.key?(:language_code)
6457
6475
  @search_application_id = args[:search_application_id] if args.key?(:search_application_id)
@@ -7047,7 +7065,7 @@ module Google
7047
7065
  end
7048
7066
  end
7049
7067
 
7050
- # The search API request. NEXT ID: 24
7068
+ # The search API request. NEXT ID: 25
7051
7069
  class SearchRequest
7052
7070
  include Google::Apis::Core::Hashable
7053
7071
 
@@ -7662,8 +7680,7 @@ module Google
7662
7680
  # @return [Google::Apis::CloudsearchV1::PeopleSuggestion]
7663
7681
  attr_accessor :people_suggestion
7664
7682
 
7665
- # This field does not contain anything as of now and is just used as an
7666
- # indicator that the suggest result was a phrase completion.
7683
+ # This field will be present if the suggested query is a word/phrase completion.
7667
7684
  # Corresponds to the JSON property `querySuggestion`
7668
7685
  # @return [Google::Apis::CloudsearchV1::QuerySuggestion]
7669
7686
  attr_accessor :query_suggestion
@@ -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.66.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260114"
25
+ REVISION = "20260429"
26
26
  end
27
27
  end
28
28
  end
@@ -3152,6 +3152,8 @@ module Google
3152
3152
  class QuerySuggestion
3153
3153
  # @private
3154
3154
  class Representation < Google::Apis::Core::JsonRepresentation
3155
+ property :last_query_time, as: 'lastQueryTime'
3156
+ property :source_corpus, as: 'sourceCorpus'
3155
3157
  end
3156
3158
  end
3157
3159
 
@@ -3183,6 +3185,7 @@ module Google
3183
3185
  class RequestOptions
3184
3186
  # @private
3185
3187
  class Representation < Google::Apis::Core::JsonRepresentation
3188
+ property :client_display_language_code, as: 'clientDisplayLanguageCode'
3186
3189
  property :debug_options, as: 'debugOptions', class: Google::Apis::CloudsearchV1::DebugOptions, decorator: Google::Apis::CloudsearchV1::DebugOptions::Representation
3187
3190
 
3188
3191
  property :language_code, as: 'languageCode'
@@ -992,6 +992,9 @@ module Google
992
992
  # developers.google.com/workspace/cloud-search/docs/guides/delegation/).
993
993
  # @param [String] page_token
994
994
  # Number of sources to return in the response.
995
+ # @param [String] request_options_client_display_language_code
996
+ # The BCP-47 language code, such as "pt" or "en". It represents the user's
997
+ # preferred Display Language.
995
998
  # @param [Boolean] request_options_debug_options_enable_debugging
996
999
  # If you are asked by Google to help with debugging, set this field. Otherwise,
997
1000
  # ignore this field.
@@ -1030,11 +1033,12 @@ module Google
1030
1033
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1031
1034
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1032
1035
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1033
- def list_query_sources(page_token: nil, request_options_debug_options_enable_debugging: nil, request_options_language_code: nil, request_options_search_application_id: nil, request_options_time_zone: nil, fields: nil, quota_user: nil, options: nil, &block)
1036
+ def list_query_sources(page_token: nil, request_options_client_display_language_code: nil, request_options_debug_options_enable_debugging: nil, request_options_language_code: nil, request_options_search_application_id: nil, request_options_time_zone: nil, fields: nil, quota_user: nil, options: nil, &block)
1034
1037
  command = make_simple_command(:get, 'v1/query/sources', options)
1035
1038
  command.response_representation = Google::Apis::CloudsearchV1::ListQuerySourcesResponse::Representation
1036
1039
  command.response_class = Google::Apis::CloudsearchV1::ListQuerySourcesResponse
1037
1040
  command.query['pageToken'] = page_token unless page_token.nil?
1041
+ command.query['requestOptions.clientDisplayLanguageCode'] = request_options_client_display_language_code unless request_options_client_display_language_code.nil?
1038
1042
  command.query['requestOptions.debugOptions.enableDebugging'] = request_options_debug_options_enable_debugging unless request_options_debug_options_enable_debugging.nil?
1039
1043
  command.query['requestOptions.languageCode'] = request_options_language_code unless request_options_language_code.nil?
1040
1044
  command.query['requestOptions.searchApplicationId'] = request_options_search_application_id unless request_options_search_application_id.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudsearch_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.66.0
4
+ version: 0.68.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsearch_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.66.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.68.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsearch_v1
62
62
  rdoc_options: []
63
63
  require_paths: