google-apis-cloudsearch_v1 0.8.0 → 0.9.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: 7cbfd5a37fe5475b015922dc0a34516a52c5e9a1ac88dbaad84e8200bc9dda2f
|
4
|
+
data.tar.gz: 1070b4bbf0e6f45e8cd8d077fbac1bdd977e2949b84ecb694ee6da3b026997db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28cf72bc86f833692e5ba5f137dba0e3fe3afe561522994bcc86b693e11f969a2e026e9e8ed88edda2a6022d0d2952f9766b64588b35c83289f2686a82f0c4e8
|
7
|
+
data.tar.gz: b9b6309166aa38c38bc86d4bf8279d1e355c6375f6c7130c49e7e65a0cca6f3778badca2a5c23cdba29cf16d2f1f8892e2c68832cede44f384b1890192a73eaa
|
data/CHANGELOG.md
CHANGED
@@ -3307,6 +3307,41 @@ module Google
|
|
3307
3307
|
end
|
3308
3308
|
end
|
3309
3309
|
|
3310
|
+
# Default options to interpret user query.
|
3311
|
+
class QueryInterpretationConfig
|
3312
|
+
include Google::Apis::Core::Hashable
|
3313
|
+
|
3314
|
+
# Set this flag to disable supplemental results retrieval, setting a flag here
|
3315
|
+
# will not retrieve supplemental results for queries associated with a given
|
3316
|
+
# search application. If this flag is set to True, it will take precedence over
|
3317
|
+
# the option set at Query level. For the default value of False, query level
|
3318
|
+
# flag will set the correct interpretation for supplemental results.
|
3319
|
+
# Corresponds to the JSON property `forceDisableSupplementalResults`
|
3320
|
+
# @return [Boolean]
|
3321
|
+
attr_accessor :force_disable_supplemental_results
|
3322
|
+
alias_method :force_disable_supplemental_results?, :force_disable_supplemental_results
|
3323
|
+
|
3324
|
+
# Enable this flag to turn off all internal optimizations like natural language (
|
3325
|
+
# NL) interpretation of queries, supplemental results retrieval, and usage of
|
3326
|
+
# synonyms including custom ones. If this flag is set to True, it will take
|
3327
|
+
# precedence over the option set at Query level. For the default value of False,
|
3328
|
+
# query level flag will set the correct interpretation for verbatim mode.
|
3329
|
+
# Corresponds to the JSON property `forceVerbatimMode`
|
3330
|
+
# @return [Boolean]
|
3331
|
+
attr_accessor :force_verbatim_mode
|
3332
|
+
alias_method :force_verbatim_mode?, :force_verbatim_mode
|
3333
|
+
|
3334
|
+
def initialize(**args)
|
3335
|
+
update!(**args)
|
3336
|
+
end
|
3337
|
+
|
3338
|
+
# Update properties of this object
|
3339
|
+
def update!(**args)
|
3340
|
+
@force_disable_supplemental_results = args[:force_disable_supplemental_results] if args.key?(:force_disable_supplemental_results)
|
3341
|
+
@force_verbatim_mode = args[:force_verbatim_mode] if args.key?(:force_verbatim_mode)
|
3342
|
+
end
|
3343
|
+
end
|
3344
|
+
|
3310
3345
|
# Options to interpret user query.
|
3311
3346
|
class QueryInterpretationOptions
|
3312
3347
|
include Google::Apis::Core::Hashable
|
@@ -3319,6 +3354,14 @@ module Google
|
|
3319
3354
|
attr_accessor :disable_nl_interpretation
|
3320
3355
|
alias_method :disable_nl_interpretation?, :disable_nl_interpretation
|
3321
3356
|
|
3357
|
+
# Use this flag to disable supplemental results for a query. Supplemental
|
3358
|
+
# results setting chosen at SearchApplication level will take precedence if set
|
3359
|
+
# to True.
|
3360
|
+
# Corresponds to the JSON property `disableSupplementalResults`
|
3361
|
+
# @return [Boolean]
|
3362
|
+
attr_accessor :disable_supplemental_results
|
3363
|
+
alias_method :disable_supplemental_results?, :disable_supplemental_results
|
3364
|
+
|
3322
3365
|
# Enable this flag to turn off all internal optimizations like natural language (
|
3323
3366
|
# NL) interpretation of queries, supplemental result retrieval, and usage of
|
3324
3367
|
# synonyms including custom ones. Nl interpretation will be disabled if either
|
@@ -3335,6 +3378,7 @@ module Google
|
|
3335
3378
|
# Update properties of this object
|
3336
3379
|
def update!(**args)
|
3337
3380
|
@disable_nl_interpretation = args[:disable_nl_interpretation] if args.key?(:disable_nl_interpretation)
|
3381
|
+
@disable_supplemental_results = args[:disable_supplemental_results] if args.key?(:disable_supplemental_results)
|
3338
3382
|
@enable_verbatim_mode = args[:enable_verbatim_mode] if args.key?(:enable_verbatim_mode)
|
3339
3383
|
end
|
3340
3384
|
end
|
@@ -3906,6 +3950,11 @@ module Google
|
|
3906
3950
|
# @return [Array<String>]
|
3907
3951
|
attr_accessor :operation_ids
|
3908
3952
|
|
3953
|
+
# Default options to interpret user query.
|
3954
|
+
# Corresponds to the JSON property `queryInterpretationConfig`
|
3955
|
+
# @return [Google::Apis::CloudsearchV1::QueryInterpretationConfig]
|
3956
|
+
attr_accessor :query_interpretation_config
|
3957
|
+
|
3909
3958
|
# Scoring configurations for a source while processing a Search or Suggest
|
3910
3959
|
# request.
|
3911
3960
|
# Corresponds to the JSON property `scoringConfig`
|
@@ -3930,6 +3979,7 @@ module Google
|
|
3930
3979
|
@enable_audit_log = args[:enable_audit_log] if args.key?(:enable_audit_log)
|
3931
3980
|
@name = args[:name] if args.key?(:name)
|
3932
3981
|
@operation_ids = args[:operation_ids] if args.key?(:operation_ids)
|
3982
|
+
@query_interpretation_config = args[:query_interpretation_config] if args.key?(:query_interpretation_config)
|
3933
3983
|
@scoring_config = args[:scoring_config] if args.key?(:scoring_config)
|
3934
3984
|
@source_config = args[:source_config] if args.key?(:source_config)
|
3935
3985
|
end
|
@@ -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.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210706"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -616,6 +616,12 @@ module Google
|
|
616
616
|
include Google::Apis::Core::JsonObjectSupport
|
617
617
|
end
|
618
618
|
|
619
|
+
class QueryInterpretationConfig
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
619
625
|
class QueryInterpretationOptions
|
620
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
627
|
|
@@ -1917,10 +1923,19 @@ module Google
|
|
1917
1923
|
end
|
1918
1924
|
end
|
1919
1925
|
|
1926
|
+
class QueryInterpretationConfig
|
1927
|
+
# @private
|
1928
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1929
|
+
property :force_disable_supplemental_results, as: 'forceDisableSupplementalResults'
|
1930
|
+
property :force_verbatim_mode, as: 'forceVerbatimMode'
|
1931
|
+
end
|
1932
|
+
end
|
1933
|
+
|
1920
1934
|
class QueryInterpretationOptions
|
1921
1935
|
# @private
|
1922
1936
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1923
1937
|
property :disable_nl_interpretation, as: 'disableNlInterpretation'
|
1938
|
+
property :disable_supplemental_results, as: 'disableSupplementalResults'
|
1924
1939
|
property :enable_verbatim_mode, as: 'enableVerbatimMode'
|
1925
1940
|
end
|
1926
1941
|
end
|
@@ -2097,6 +2112,8 @@ module Google
|
|
2097
2112
|
property :enable_audit_log, as: 'enableAuditLog'
|
2098
2113
|
property :name, as: 'name'
|
2099
2114
|
collection :operation_ids, as: 'operationIds'
|
2115
|
+
property :query_interpretation_config, as: 'queryInterpretationConfig', class: Google::Apis::CloudsearchV1::QueryInterpretationConfig, decorator: Google::Apis::CloudsearchV1::QueryInterpretationConfig::Representation
|
2116
|
+
|
2100
2117
|
property :scoring_config, as: 'scoringConfig', class: Google::Apis::CloudsearchV1::ScoringConfig, decorator: Google::Apis::CloudsearchV1::ScoringConfig::Representation
|
2101
2118
|
|
2102
2119
|
collection :source_config, as: 'sourceConfig', class: Google::Apis::CloudsearchV1::SourceConfig, decorator: Google::Apis::CloudsearchV1::SourceConfig::Representation
|
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.9.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: 2021-07-
|
11
|
+
date: 2021-07-19 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/master/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.9.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudsearch_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|