google-apis-retail_v2alpha 0.18.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 979a61c9bea98add223463ecc7f69fee01ffdabe509ad4f1ca6c7242acff84e0
4
- data.tar.gz: c37ce9a2688d841244edce7dfc3e10c2867d6b93f03b1945b67441d5a191f241
3
+ metadata.gz: 4b69e62f043afa7d318778baab466521b7cc9b2f35ac1400615fb858e89ed55f
4
+ data.tar.gz: b21ffc8dbee074c012fd3038c991b0fe5681c10ad432ea96ce44e94f6e8a8d93
5
5
  SHA512:
6
- metadata.gz: d86fc2207b328b9a50f5b53b94438ac4852280ab070f69780222be68b7eee0134546b87cd2bde5dfb346b54fc4d07653b26fae59d6953935c646f29e684ce3fc
7
- data.tar.gz: 51e70ad6a3954b3e9027fa630e3a25ca9ede81caed8bd043823b8b757aaf7d706bef31bd898d8c9690d504d20c76e42fe0851e07d0f740a2c8b86f8735e20180
6
+ metadata.gz: 379b6c96d6ff3abb005634c782e9e01f091883e982149035688cfe154b6cceed567b78346d734c217d76b30456f41b6220568fb5399d20d116c36874f6f24efc
7
+ data.tar.gz: 6cec285cc41d1c04e4043cd50526ad207d4db756954146df551ce040e091c4a229f8471850b8c5ab1ea4d4663fd0860958c2f6151c6a724ffee4b56eef4b5b5a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.19.0 (2021-10-26)
4
+
5
+ * Regenerated from discovery document revision 20211021
6
+
3
7
  ### v0.18.0 (2021-10-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20211011
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Retail service in particular.)
67
67
 
@@ -2307,12 +2307,13 @@ module Google
2307
2307
  # @return [String]
2308
2308
  attr_accessor :title
2309
2309
 
2310
- # Input only. The TTL (time to live) of the product. If it is set, expire_time
2311
- # is set as current timestamp plus ttl. The derived expire_time is returned in
2312
- # the output and ttl is left blank when retrieving the Product. If it is set,
2313
- # the product is not available for SearchService.Search after current timestamp
2314
- # plus ttl. However, the product can still be retrieved by ProductService.
2315
- # GetProduct and ProductService.ListProducts.
2310
+ # Input only. The TTL (time to live) of the product. If it is set, it must be a
2311
+ # non-negative value, and expire_time is set as current timestamp plus ttl. The
2312
+ # derived expire_time is returned in the output and ttl is left blank when
2313
+ # retrieving the Product. If it is set, the product is not available for
2314
+ # SearchService.Search after current timestamp plus ttl. However, the product
2315
+ # can still be retrieved by ProductService.GetProduct and ProductService.
2316
+ # ListProducts.
2316
2317
  # Corresponds to the JSON property `ttl`
2317
2318
  # @return [String]
2318
2319
  attr_accessor :ttl
@@ -2936,6 +2937,12 @@ module Google
2936
2937
  # @return [String]
2937
2938
  attr_accessor :relevance_threshold
2938
2939
 
2940
+ # The search mode of the search request. If not specified, a single search
2941
+ # request triggers both product search and faceted search.
2942
+ # Corresponds to the JSON property `searchMode`
2943
+ # @return [String]
2944
+ attr_accessor :search_mode
2945
+
2939
2946
  # Information of an end user.
2940
2947
  # Corresponds to the JSON property `userInfo`
2941
2948
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo]
@@ -2999,6 +3006,7 @@ module Google
2999
3006
  @query = args[:query] if args.key?(:query)
3000
3007
  @query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
3001
3008
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
3009
+ @search_mode = args[:search_mode] if args.key?(:search_mode)
3002
3010
  @user_info = args[:user_info] if args.key?(:user_info)
3003
3011
  @variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
3004
3012
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2alpha
18
18
  # Version of the google-apis-retail_v2alpha gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.19.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 = "20211011"
25
+ REVISION = "20211021"
26
26
  end
27
27
  end
28
28
  end
@@ -1527,6 +1527,7 @@ module Google
1527
1527
  property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec::Representation
1528
1528
 
1529
1529
  property :relevance_threshold, as: 'relevanceThreshold'
1530
+ property :search_mode, as: 'searchMode'
1530
1531
  property :user_info, as: 'userInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo::Representation
1531
1532
 
1532
1533
  collection :variant_rollup_keys, as: 'variantRollupKeys'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.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-10-18 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.18.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2alpha
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.19.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: