google-apis-cloudsearch_v1 0.7.0 → 0.11.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: 02c76080e3a577cd64c2c7642ff58dd1f4a1e5c3f5e91376b74932c81f384a0d
4
- data.tar.gz: d7648945d05d1223d1a9dd5bca3d87213127f9782252c37b6111a7a8a143abf4
3
+ metadata.gz: b61396846744188b5aeda7f0da5dcfa5d62f789d331c77ea94c9b3aa57e1e1fa
4
+ data.tar.gz: b757c6b5edc7a786f3561c6b7eba2d405c3650b1a7592e9ac658c1259ac6710f
5
5
  SHA512:
6
- metadata.gz: c8aab8fde1f5ec2cc1bfb9178a8b5dd58c77b6a47d156bcb8764b8d014990813346b13e4529ea2d2d9dcf01710ceb6846aa11181099366bfb3563c7c5407bff7
7
- data.tar.gz: 57abac451a3b7342112d8015136d37da522f1d9a51de5737ded027f04513a8c23143535d072bb66c780c7a730fc7ab1f93aea4e2c74639e81488686280f76a31
6
+ metadata.gz: b39ae5223e61b8afd8fe03cc052aee5833bf4e5efffd5ea912317c5fb4fd7c4ddc9e5b4f9772558692873ee94a50814268ac9ab1c44352cca2d20ac5a07f2a5f
7
+ data.tar.gz: e49e1fa6b922a6e85dde59b878f1acda53dfa01161b0dc00de901b7326c0b5b76d44b9626fa110b07546f85987ca6532915b1aa3d66e8c41f6a24d57e118b813
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.11.0 (2021-10-05)
4
+
5
+ * Regenerated from discovery document revision 20210927
6
+
7
+ ### v0.10.0 (2021-09-29)
8
+
9
+ * Regenerated from discovery document revision 20210920
10
+
11
+ ### v0.9.0 (2021-07-14)
12
+
13
+ * Regenerated from discovery document revision 20210706
14
+
15
+ ### v0.8.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.7.0 (2021-06-24)
4
20
 
5
21
  * Regenerated from discovery document revision 20210614
@@ -1410,11 +1410,12 @@ module Google
1410
1410
  end
1411
1411
  end
1412
1412
 
1413
- #
1413
+ # Response format for getting query stats at a search application level between
1414
+ # given dates.
1414
1415
  class GetSearchApplicationQueryStatsResponse
1415
1416
  include Google::Apis::Core::Hashable
1416
1417
 
1417
- #
1418
+ # Search application level query stats per date
1418
1419
  # Corresponds to the JSON property `stats`
1419
1420
  # @return [Array<Google::Apis::CloudsearchV1::SearchApplicationQueryStats>]
1420
1421
  attr_accessor :stats
@@ -3049,8 +3050,8 @@ module Google
3049
3050
 
3050
3051
  # Indicates that the property can be used for sorting. Cannot be true for
3051
3052
  # properties that are repeatable. Cannot be true for properties whose type is
3052
- # object or user identifier. IsReturnable must be true to set this option. Only
3053
- # supported for Boolean, Date, Double, Integer, and Timestamp properties.
3053
+ # object. IsReturnable must be true to set this option. Only supported for
3054
+ # Boolean, Date, Double, Integer, and Timestamp properties.
3054
3055
  # Corresponds to the JSON property `isSortable`
3055
3056
  # @return [Boolean]
3056
3057
  attr_accessor :is_sortable
@@ -3307,6 +3308,41 @@ module Google
3307
3308
  end
3308
3309
  end
3309
3310
 
3311
+ # Default options to interpret user query.
3312
+ class QueryInterpretationConfig
3313
+ include Google::Apis::Core::Hashable
3314
+
3315
+ # Set this flag to disable supplemental results retrieval, setting a flag here
3316
+ # will not retrieve supplemental results for queries associated with a given
3317
+ # search application. If this flag is set to True, it will take precedence over
3318
+ # the option set at Query level. For the default value of False, query level
3319
+ # flag will set the correct interpretation for supplemental results.
3320
+ # Corresponds to the JSON property `forceDisableSupplementalResults`
3321
+ # @return [Boolean]
3322
+ attr_accessor :force_disable_supplemental_results
3323
+ alias_method :force_disable_supplemental_results?, :force_disable_supplemental_results
3324
+
3325
+ # Enable this flag to turn off all internal optimizations like natural language (
3326
+ # NL) interpretation of queries, supplemental results retrieval, and usage of
3327
+ # synonyms including custom ones. If this flag is set to True, it will take
3328
+ # precedence over the option set at Query level. For the default value of False,
3329
+ # query level flag will set the correct interpretation for verbatim mode.
3330
+ # Corresponds to the JSON property `forceVerbatimMode`
3331
+ # @return [Boolean]
3332
+ attr_accessor :force_verbatim_mode
3333
+ alias_method :force_verbatim_mode?, :force_verbatim_mode
3334
+
3335
+ def initialize(**args)
3336
+ update!(**args)
3337
+ end
3338
+
3339
+ # Update properties of this object
3340
+ def update!(**args)
3341
+ @force_disable_supplemental_results = args[:force_disable_supplemental_results] if args.key?(:force_disable_supplemental_results)
3342
+ @force_verbatim_mode = args[:force_verbatim_mode] if args.key?(:force_verbatim_mode)
3343
+ end
3344
+ end
3345
+
3310
3346
  # Options to interpret user query.
3311
3347
  class QueryInterpretationOptions
3312
3348
  include Google::Apis::Core::Hashable
@@ -3319,6 +3355,14 @@ module Google
3319
3355
  attr_accessor :disable_nl_interpretation
3320
3356
  alias_method :disable_nl_interpretation?, :disable_nl_interpretation
3321
3357
 
3358
+ # Use this flag to disable supplemental results for a query. Supplemental
3359
+ # results setting chosen at SearchApplication level will take precedence if set
3360
+ # to True.
3361
+ # Corresponds to the JSON property `disableSupplementalResults`
3362
+ # @return [Boolean]
3363
+ attr_accessor :disable_supplemental_results
3364
+ alias_method :disable_supplemental_results?, :disable_supplemental_results
3365
+
3322
3366
  # Enable this flag to turn off all internal optimizations like natural language (
3323
3367
  # NL) interpretation of queries, supplemental result retrieval, and usage of
3324
3368
  # synonyms including custom ones. Nl interpretation will be disabled if either
@@ -3335,6 +3379,7 @@ module Google
3335
3379
  # Update properties of this object
3336
3380
  def update!(**args)
3337
3381
  @disable_nl_interpretation = args[:disable_nl_interpretation] if args.key?(:disable_nl_interpretation)
3382
+ @disable_supplemental_results = args[:disable_supplemental_results] if args.key?(:disable_supplemental_results)
3338
3383
  @enable_verbatim_mode = args[:enable_verbatim_mode] if args.key?(:enable_verbatim_mode)
3339
3384
  end
3340
3385
  end
@@ -3906,6 +3951,11 @@ module Google
3906
3951
  # @return [Array<String>]
3907
3952
  attr_accessor :operation_ids
3908
3953
 
3954
+ # Default options to interpret user query.
3955
+ # Corresponds to the JSON property `queryInterpretationConfig`
3956
+ # @return [Google::Apis::CloudsearchV1::QueryInterpretationConfig]
3957
+ attr_accessor :query_interpretation_config
3958
+
3909
3959
  # Scoring configurations for a source while processing a Search or Suggest
3910
3960
  # request.
3911
3961
  # Corresponds to the JSON property `scoringConfig`
@@ -3930,12 +3980,13 @@ module Google
3930
3980
  @enable_audit_log = args[:enable_audit_log] if args.key?(:enable_audit_log)
3931
3981
  @name = args[:name] if args.key?(:name)
3932
3982
  @operation_ids = args[:operation_ids] if args.key?(:operation_ids)
3983
+ @query_interpretation_config = args[:query_interpretation_config] if args.key?(:query_interpretation_config)
3933
3984
  @scoring_config = args[:scoring_config] if args.key?(:scoring_config)
3934
3985
  @source_config = args[:source_config] if args.key?(:source_config)
3935
3986
  end
3936
3987
  end
3937
3988
 
3938
- #
3989
+ # Search application level query stats per date
3939
3990
  class SearchApplicationQueryStats
3940
3991
  include Google::Apis::Core::Hashable
3941
3992
 
@@ -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.7.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210614"
25
+ REVISION = "20210927"
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.7.0
4
+ version: 0.11.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-06-28 00:00:00.000000000 Z
11
+ date: 2021-10-11 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.3'
19
+ version: '0.4'
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.3'
29
+ version: '0.4'
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/master/generated/google-apis-cloudsearch_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.11.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: []