google-apis-retail_v2 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: 407fc1823f60a7eb0c8219df2c1b87639884ccfe4e74bbc48bff918275042e23
4
- data.tar.gz: 2672dfa81cd204a9fa78f6adf03b064e7d1964ec767365926d7c648b62966f6c
3
+ metadata.gz: 1cc744b4883f63b65feb4b5398dac6d8367d0462bccf1ad3077f0e604f5664a5
4
+ data.tar.gz: 2595bda7d65085f010819b881ffac7f12e19904c669dba0a96e30a107f5a4861
5
5
  SHA512:
6
- metadata.gz: 34f5e60c5182e8d22c6f127224a93145e08bd5dcf28d85a49f9dc514b436241824947578e4168c68c6b38ea2fb1a2a0b141e539093e4e71220c666fffd53834d
7
- data.tar.gz: 4b752ea7e00a59861cc2ae33e557d1167c4f344011ffad168c914fb064205974b509e376db5da1af9891b58e92bef023c5841a1c9fc6d3dff42f7a32364616e9
6
+ metadata.gz: aeed8321fe4915ef9ea7e82c90b912c0f30f1f7fb669c1fd39dcc24ceafef1be15246e9f82b83d02ee52e70a64ea0d40337d8d1491d6e20eb8e28dcd8e03e40a
7
+ data.tar.gz: b26e24a2e0721114e12707ede5a8d97ffe5c1b39dda615451dcc03b840250a36a9f5140f227498db058368090484bfcefaf80ee2379dbc64c2d0aeca47d822c6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
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-12)
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
 
@@ -1787,12 +1787,13 @@ module Google
1787
1787
  # @return [String]
1788
1788
  attr_accessor :title
1789
1789
 
1790
- # Input only. The TTL (time to live) of the product. If it is set, expire_time
1791
- # is set as current timestamp plus ttl. The derived expire_time is returned in
1792
- # the output and ttl is left blank when retrieving the Product. If it is set,
1793
- # the product is not available for SearchService.Search after current timestamp
1794
- # plus ttl. However, the product can still be retrieved by ProductService.
1795
- # GetProduct and ProductService.ListProducts.
1790
+ # Input only. The TTL (time to live) of the product. If it is set, it must be a
1791
+ # non-negative value, and expire_time is set as current timestamp plus ttl. The
1792
+ # derived expire_time is returned in the output and ttl is left blank when
1793
+ # retrieving the Product. If it is set, the product is not available for
1794
+ # SearchService.Search after current timestamp plus ttl. However, the product
1795
+ # can still be retrieved by ProductService.GetProduct and ProductService.
1796
+ # ListProducts.
1796
1797
  # Corresponds to the JSON property `ttl`
1797
1798
  # @return [String]
1798
1799
  attr_accessor :ttl
@@ -2408,6 +2409,12 @@ module Google
2408
2409
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec]
2409
2410
  attr_accessor :query_expansion_spec
2410
2411
 
2412
+ # The search mode of the search request. If not specified, a single search
2413
+ # request triggers both product search and faceted search.
2414
+ # Corresponds to the JSON property `searchMode`
2415
+ # @return [String]
2416
+ attr_accessor :search_mode
2417
+
2411
2418
  # Information of an end user.
2412
2419
  # Corresponds to the JSON property `userInfo`
2413
2420
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo]
@@ -2470,6 +2477,7 @@ module Google
2470
2477
  @page_token = args[:page_token] if args.key?(:page_token)
2471
2478
  @query = args[:query] if args.key?(:query)
2472
2479
  @query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
2480
+ @search_mode = args[:search_mode] if args.key?(:search_mode)
2473
2481
  @user_info = args[:user_info] if args.key?(:user_info)
2474
2482
  @variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
2475
2483
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2
18
18
  # Version of the google-apis-retail_v2 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
@@ -1340,6 +1340,7 @@ module Google
1340
1340
  property :query, as: 'query'
1341
1341
  property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec::Representation
1342
1342
 
1343
+ property :search_mode, as: 'searchMode'
1343
1344
  property :user_info, as: 'userInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo::Representation
1344
1345
 
1345
1346
  collection :variant_rollup_keys, as: 'variantRollupKeys'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2
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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.18.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.19.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: