google-apis-cloudsearch_v1 0.59.0 → 0.60.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21103a9277ec40c058b8a87326cd7f301717fb5b904f77a927a7d4e5d2641266
|
4
|
+
data.tar.gz: 970c90cb10e1ab90d396de4f667764f9bb73f1ce06acc918f1e1819b2006220c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29a85ef869cb4e080e176b27b36bfa73203cd21d625cbbadda8598152d263cedf12923baefa754fad7366127f49d2bf75580df408062d12430fc8b5bfe770c94
|
7
|
+
data.tar.gz: e60448414f65b56bfc0fee45bf0f1759fbb3378db12c4182c8339539f6a3f2ebcf780c22ea90835fc6196ba29c48064d80aeddef05b5acae49be6625f3bb080d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
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
|
+
|
3
8
|
### v0.59.0 (2024-02-23)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.14.0
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.60.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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.
|
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-
|
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.
|
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.
|
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.
|
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: []
|