google-apis-cloudsearch_v1 0.5.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/lib/google/apis/cloudsearch_v1.rb +3 -2
- data/lib/google/apis/cloudsearch_v1/classes.rb +54 -1
- 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 +12 -11
- 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: 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
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-cloudsearch_v1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-07-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210706
|
6
|
+
|
7
|
+
### v0.8.0 (2021-06-29)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.4.0
|
10
|
+
|
11
|
+
### v0.7.0 (2021-06-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210614
|
14
|
+
|
15
|
+
### v0.6.0 (2021-06-15)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210608
|
18
|
+
* Regenerated using generator version 0.3.0
|
19
|
+
|
3
20
|
### v0.5.0 (2021-05-19)
|
4
21
|
|
5
22
|
* Unspecified changes
|
@@ -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
|
@@ -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
|
@@ -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.9.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 = "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
|
@@ -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'
|
@@ -868,13 +869,13 @@ module Google
|
|
868
869
|
end
|
869
870
|
|
870
871
|
# The Cloud Search Query API provides the search method, which returns the most
|
871
|
-
# relevant results from a user query. The results can come from
|
872
|
-
# such as Gmail or Google Drive, or they can come from data that you have
|
872
|
+
# relevant results from a user query. The results can come from Google Workspace
|
873
|
+
# apps, such as Gmail or Google Drive, or they can come from data that you have
|
873
874
|
# indexed from a third party. **Note:** This API requires a standard end user
|
874
875
|
# account to execute. A service account can't perform Query API requests
|
875
|
-
# directly; to use a service account to perform queries, set up [
|
876
|
-
# wide delegation of authority](https://developers.google.com/
|
877
|
-
# guides/delegation/).
|
876
|
+
# directly; to use a service account to perform queries, set up [Google
|
877
|
+
# Workspace domain-wide delegation of authority](https://developers.google.com/
|
878
|
+
# cloud-search/docs/guides/delegation/).
|
878
879
|
# @param [Google::Apis::CloudsearchV1::SearchRequest] search_request_object
|
879
880
|
# @param [String] fields
|
880
881
|
# Selector specifying which fields to include in a partial response.
|
@@ -906,9 +907,9 @@ module Google
|
|
906
907
|
|
907
908
|
# Provides suggestions for autocompleting the query. **Note:** This API requires
|
908
909
|
# a standard end user account to execute. A service account can't perform Query
|
909
|
-
# API requests directly; to use a service account to perform queries, set up [
|
910
|
-
#
|
911
|
-
# search/docs/guides/delegation/).
|
910
|
+
# API requests directly; to use a service account to perform queries, set up [
|
911
|
+
# Google Workspace domain-wide delegation of authority](https://developers.
|
912
|
+
# google.com/cloud-search/docs/guides/delegation/).
|
912
913
|
# @param [Google::Apis::CloudsearchV1::SuggestRequest] suggest_request_object
|
913
914
|
# @param [String] fields
|
914
915
|
# Selector specifying which fields to include in a partial response.
|
@@ -941,7 +942,7 @@ module Google
|
|
941
942
|
# Returns list of sources that user can use for Search and Suggest APIs. **Note:*
|
942
943
|
# * This API requires a standard end user account to execute. A service account
|
943
944
|
# can't perform Query API requests directly; to use a service account to perform
|
944
|
-
# queries, set up [
|
945
|
+
# queries, set up [Google Workspace domain-wide delegation of authority](https://
|
945
946
|
# developers.google.com/cloud-search/docs/guides/delegation/).
|
946
947
|
# @param [String] page_token
|
947
948
|
# Number of sources to return in the response.
|
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.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-
|
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
|
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.9.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: []
|