google-apis-cloudsearch_v1 0.58.0 → 0.60.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: b42145b14a4ceddea7fa7bec44f947ec882ea60a29b7cfe434ec60ed27001b88
4
- data.tar.gz: 15593058465efe5a30596351948be92ce4345e9550aaa76a269ba4547c3c3169
3
+ metadata.gz: 21103a9277ec40c058b8a87326cd7f301717fb5b904f77a927a7d4e5d2641266
4
+ data.tar.gz: 970c90cb10e1ab90d396de4f667764f9bb73f1ce06acc918f1e1819b2006220c
5
5
  SHA512:
6
- metadata.gz: 90b4f1cdb4f3fb0b2308f3dfac1d6498b2b0bce9e9f91da5a456aecd033ea2ff21a2722b2a3e57732eb5c2569b2665c9874920181c1d98b2d4e47e8a1845bf91
7
- data.tar.gz: 8be40f0548b5649a3841734417b4c08faa9b322ce5626bdf2c2a89df3a3b9a7db34eb8fb2f2a1995316052540580418baf24ce5aa18bf0601d8e859d32b23c09
6
+ metadata.gz: 29a85ef869cb4e080e176b27b36bfa73203cd21d625cbbadda8598152d263cedf12923baefa754fad7366127f49d2bf75580df408062d12430fc8b5bfe770c94
7
+ data.tar.gz: e60448414f65b56bfc0fee45bf0f1759fbb3378db12c4182c8339539f6a3f2ebcf780c22ea90835fc6196ba29c48064d80aeddef05b5acae49be6625f3bb080d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.60.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240501
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.59.0 (2024-02-23)
9
+
10
+ * Regenerated using generator version 0.14.0
11
+
3
12
  ### v0.58.0 (2024-01-23)
4
13
 
5
14
  * Regenerated using generator version 0.13.0
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/cloud-search/docs/guid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -6653,6 +6653,64 @@ module Google
6653
6653
  end
6654
6654
  end
6655
6655
 
6656
+ # The rewritten queries returned by Apps Search Query Understanding service.
6657
+ class RewrittenQueries
6658
+ include Google::Apis::Core::Hashable
6659
+
6660
+ #
6661
+ # Corresponds to the JSON property `rewrittenQueries`
6662
+ # @return [Array<Google::Apis::CloudsearchV1::RewrittenQuery>]
6663
+ attr_accessor :rewritten_queries
6664
+
6665
+ # The index of the selected query in `rewritten_queries` that is used by QAPI to
6666
+ # call CSSR to get search results. If none of the queries were used (i.e. they
6667
+ # all give empty search results), `selected_query_index` would default to -1.
6668
+ # Corresponds to the JSON property `selectedQueryIndex`
6669
+ # @return [Fixnum]
6670
+ attr_accessor :selected_query_index
6671
+
6672
+ def initialize(**args)
6673
+ update!(**args)
6674
+ end
6675
+
6676
+ # Update properties of this object
6677
+ def update!(**args)
6678
+ @rewritten_queries = args[:rewritten_queries] if args.key?(:rewritten_queries)
6679
+ @selected_query_index = args[:selected_query_index] if args.key?(:selected_query_index)
6680
+ end
6681
+ end
6682
+
6683
+ #
6684
+ class RewrittenQuery
6685
+ include Google::Apis::Core::Hashable
6686
+
6687
+ #
6688
+ # Corresponds to the JSON property `rewrittenQuery`
6689
+ # @return [String]
6690
+ attr_accessor :rewritten_query
6691
+
6692
+ #
6693
+ # Corresponds to the JSON property `score`
6694
+ # @return [Float]
6695
+ attr_accessor :score
6696
+
6697
+ #
6698
+ # Corresponds to the JSON property `sortBy`
6699
+ # @return [String]
6700
+ attr_accessor :sort_by
6701
+
6702
+ def initialize(**args)
6703
+ update!(**args)
6704
+ end
6705
+
6706
+ # Update properties of this object
6707
+ def update!(**args)
6708
+ @rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
6709
+ @score = args[:score] if args.key?(:score)
6710
+ @sort_by = args[:sort_by] if args.key?(:sort_by)
6711
+ end
6712
+ end
6713
+
6656
6714
  # IMPORTANT: It is unsafe to accept this message from an untrusted source, since
6657
6715
  # it's trivial for an attacker to forge serialized messages that don't fulfill
6658
6716
  # the type's safety contract -- for example, it could contain attacker
@@ -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.58.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230831"
25
+ REVISION = "20240501"
26
26
  end
27
27
  end
28
28
  end
@@ -1090,6 +1090,18 @@ module Google
1090
1090
  include Google::Apis::Core::JsonObjectSupport
1091
1091
  end
1092
1092
 
1093
+ class RewrittenQueries
1094
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1095
+
1096
+ include Google::Apis::Core::JsonObjectSupport
1097
+ end
1098
+
1099
+ class RewrittenQuery
1100
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1101
+
1102
+ include Google::Apis::Core::JsonObjectSupport
1103
+ end
1104
+
1093
1105
  class SafeHtmlProto
1094
1106
  class Representation < Google::Apis::Core::JsonRepresentation; end
1095
1107
 
@@ -3267,6 +3279,24 @@ module Google
3267
3279
  end
3268
3280
  end
3269
3281
 
3282
+ class RewrittenQueries
3283
+ # @private
3284
+ class Representation < Google::Apis::Core::JsonRepresentation
3285
+ collection :rewritten_queries, as: 'rewrittenQueries', class: Google::Apis::CloudsearchV1::RewrittenQuery, decorator: Google::Apis::CloudsearchV1::RewrittenQuery::Representation
3286
+
3287
+ property :selected_query_index, as: 'selectedQueryIndex'
3288
+ end
3289
+ end
3290
+
3291
+ class RewrittenQuery
3292
+ # @private
3293
+ class Representation < Google::Apis::Core::JsonRepresentation
3294
+ property :rewritten_query, as: 'rewrittenQuery'
3295
+ property :score, as: 'score'
3296
+ property :sort_by, as: 'sortBy'
3297
+ end
3298
+ end
3299
+
3270
3300
  class SafeHtmlProto
3271
3301
  # @private
3272
3302
  class Representation < Google::Apis::Core::JsonRepresentation
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.58.0
4
+ version: 0.60.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-01-23 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.60.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Search API V1