google-apis-cloudsearch_v1 0.6.0 → 0.10.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 +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/cloudsearch_v1/classes.rb +56 -3
- data/lib/google/apis/cloudsearch_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudsearch_v1/representations.rb +17 -0
- data/lib/google/apis/cloudsearch_v1/service.rb +3 -2
- data/lib/google/apis/cloudsearch_v1.rb +3 -2
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7ebf5d4609beeaf9f1754c9d47b519355445afee4460e294fe995ec96e84773
|
4
|
+
data.tar.gz: 6cb9512a01e2e33e94d20c134fbc84f3c6b2ffef3d533791216844dd94e45fcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bf8be55cf1428a23ea6a1984986eac8e9f8844d3ac72dd98e19157fbedbba09fe6abc3df0a81de6bd4d1912e6d015fe63d7f96cd2a396bb1a092b6a69965342
|
7
|
+
data.tar.gz: 7b7c3b51ae5b9af2469a29d99f74652289136a36bee8c5cca5e480cf0443f63a0965d7d011a3432bad0bbb09eb8e45eeb81a62ea03e6174db3196ec25fc2fc63
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudsearch_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2021-09-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210920
|
6
|
+
|
7
|
+
### v0.9.0 (2021-07-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210706
|
10
|
+
|
11
|
+
### v0.8.0 (2021-06-29)
|
12
|
+
|
13
|
+
* Regenerated using generator version 0.4.0
|
14
|
+
|
15
|
+
### v0.7.0 (2021-06-24)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210614
|
18
|
+
|
3
19
|
### v0.6.0 (2021-06-15)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210608
|
@@ -1044,7 +1044,10 @@ module Google
|
|
1044
1044
|
include Google::Apis::Core::Hashable
|
1045
1045
|
|
1046
1046
|
# Number of results that match the bucket value. Counts are only returned for
|
1047
|
-
# searches when count accuracy is ensured.
|
1047
|
+
# searches when count accuracy is ensured. Cloud Search does not guarantee facet
|
1048
|
+
# counts for any query and facet counts might be present only intermittently,
|
1049
|
+
# even for identical queries. Do not build dependencies on facet count existence;
|
1050
|
+
# instead use facet ount percentages which are always returned.
|
1048
1051
|
# Corresponds to the JSON property `count`
|
1049
1052
|
# @return [Fixnum]
|
1050
1053
|
attr_accessor :count
|
@@ -3046,8 +3049,8 @@ module Google
|
|
3046
3049
|
|
3047
3050
|
# Indicates that the property can be used for sorting. Cannot be true for
|
3048
3051
|
# properties that are repeatable. Cannot be true for properties whose type is
|
3049
|
-
# object
|
3050
|
-
#
|
3052
|
+
# object. IsReturnable must be true to set this option. Only supported for
|
3053
|
+
# Boolean, Date, Double, Integer, and Timestamp properties.
|
3051
3054
|
# Corresponds to the JSON property `isSortable`
|
3052
3055
|
# @return [Boolean]
|
3053
3056
|
attr_accessor :is_sortable
|
@@ -3304,6 +3307,41 @@ module Google
|
|
3304
3307
|
end
|
3305
3308
|
end
|
3306
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
|
+
|
3307
3345
|
# Options to interpret user query.
|
3308
3346
|
class QueryInterpretationOptions
|
3309
3347
|
include Google::Apis::Core::Hashable
|
@@ -3316,6 +3354,14 @@ module Google
|
|
3316
3354
|
attr_accessor :disable_nl_interpretation
|
3317
3355
|
alias_method :disable_nl_interpretation?, :disable_nl_interpretation
|
3318
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
|
+
|
3319
3365
|
# Enable this flag to turn off all internal optimizations like natural language (
|
3320
3366
|
# NL) interpretation of queries, supplemental result retrieval, and usage of
|
3321
3367
|
# synonyms including custom ones. Nl interpretation will be disabled if either
|
@@ -3332,6 +3378,7 @@ module Google
|
|
3332
3378
|
# Update properties of this object
|
3333
3379
|
def update!(**args)
|
3334
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)
|
3335
3382
|
@enable_verbatim_mode = args[:enable_verbatim_mode] if args.key?(:enable_verbatim_mode)
|
3336
3383
|
end
|
3337
3384
|
end
|
@@ -3903,6 +3950,11 @@ module Google
|
|
3903
3950
|
# @return [Array<String>]
|
3904
3951
|
attr_accessor :operation_ids
|
3905
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
|
+
|
3906
3958
|
# Scoring configurations for a source while processing a Search or Suggest
|
3907
3959
|
# request.
|
3908
3960
|
# Corresponds to the JSON property `scoringConfig`
|
@@ -3927,6 +3979,7 @@ module Google
|
|
3927
3979
|
@enable_audit_log = args[:enable_audit_log] if args.key?(:enable_audit_log)
|
3928
3980
|
@name = args[:name] if args.key?(:name)
|
3929
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)
|
3930
3983
|
@scoring_config = args[:scoring_config] if args.key?(:scoring_config)
|
3931
3984
|
@source_config = args[:source_config] if args.key?(:source_config)
|
3932
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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210920"
|
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
|
@@ -22,8 +22,9 @@ module Google
|
|
22
22
|
module CloudsearchV1
|
23
23
|
# Cloud Search API
|
24
24
|
#
|
25
|
-
# Cloud Search provides cloud-based search capabilities over
|
26
|
-
# Cloud Search API allows indexing of non-
|
25
|
+
# Cloud Search provides cloud-based search capabilities over Google Workspace
|
26
|
+
# data. The Cloud Search API allows indexing of non-Google Workspace data into
|
27
|
+
# Cloud Search.
|
27
28
|
#
|
28
29
|
# @example
|
29
30
|
# require 'google/apis/cloudsearch_v1'
|
@@ -21,8 +21,9 @@ module Google
|
|
21
21
|
module Apis
|
22
22
|
# Cloud Search API
|
23
23
|
#
|
24
|
-
# Cloud Search provides cloud-based search capabilities over
|
25
|
-
# Cloud Search API allows indexing of non-
|
24
|
+
# Cloud Search provides cloud-based search capabilities over Google Workspace
|
25
|
+
# data. The Cloud Search API allows indexing of non-Google Workspace data into
|
26
|
+
# Cloud Search.
|
26
27
|
#
|
27
28
|
# @see https://developers.google.com/cloud-search/docs/guides/
|
28
29
|
module CloudsearchV1
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.10.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-
|
11
|
+
date: 2021-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Search API V1. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudsearch_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.10.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudsearch_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|