google-apis-retail_v2beta 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: fe1ad345392a272bc19696b86cd5929d77cb082ad7d91ba93ac964001423a299
4
- data.tar.gz: e919d71557788072a73c792f0f50ddad80909c7a0a21b4343e2697c8d533ba4b
3
+ metadata.gz: f7d15d05d3a8d805fe4e2bb098670c6e91ca1ecda14c338c409573b2477f77e4
4
+ data.tar.gz: 66b541010c5ed88e07e9b7b4b3255679179c2c81737c9a646594bb89b1f25207
5
5
  SHA512:
6
- metadata.gz: 06d6fb6b31f74fd592275644d9cd7ba75c4b803f3888f51db06e0bd33ca0b9b9d443a2d877f8d837649e867224f90ca9c546a456a5b50841a61d0134fb02e20e
7
- data.tar.gz: e09afaf475dc7791afa6406c4b063c28e995e691751ec1c7fa69dc0e3c61439ef76b71f0075690cd350ebd0f03142bda6d195b82f9a5b7c53d0fd214cb49f78b
6
+ metadata.gz: 153c8d0c9290de93b4e3d453e2bb2c3bafe24f805df11e06e347034adef7d81749fd74198d2b76a90bcb983401381bf7bac902ea64578e296f60f06a151518c9
7
+ data.tar.gz: 87079c1602dca343cea8498a1a215bdb512e6beb9f30f989bc30061bcfbc39f079c78038a65c0785672bcdeea228c8c825ad8e082d84a389a728e62ba97a0167
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2beta
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
 
@@ -2669,12 +2669,13 @@ module Google
2669
2669
  # @return [String]
2670
2670
  attr_accessor :title
2671
2671
 
2672
- # Input only. The TTL (time to live) of the product. If it is set, expire_time
2673
- # is set as current timestamp plus ttl. The derived expire_time is returned in
2674
- # the output and ttl is left blank when retrieving the Product. If it is set,
2675
- # the product is not available for SearchService.Search after current timestamp
2676
- # plus ttl. However, the product can still be retrieved by ProductService.
2677
- # GetProduct and ProductService.ListProducts.
2672
+ # Input only. The TTL (time to live) of the product. If it is set, it must be a
2673
+ # non-negative value, and expire_time is set as current timestamp plus ttl. The
2674
+ # derived expire_time is returned in the output and ttl is left blank when
2675
+ # retrieving the Product. If it is set, the product is not available for
2676
+ # SearchService.Search after current timestamp plus ttl. However, the product
2677
+ # can still be retrieved by ProductService.GetProduct and ProductService.
2678
+ # ListProducts.
2678
2679
  # Corresponds to the JSON property `ttl`
2679
2680
  # @return [String]
2680
2681
  attr_accessor :ttl
@@ -3290,6 +3291,12 @@ module Google
3290
3291
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec]
3291
3292
  attr_accessor :query_expansion_spec
3292
3293
 
3294
+ # The search mode of the search request. If not specified, a single search
3295
+ # request triggers both product search and faceted search.
3296
+ # Corresponds to the JSON property `searchMode`
3297
+ # @return [String]
3298
+ attr_accessor :search_mode
3299
+
3293
3300
  # Information of an end user.
3294
3301
  # Corresponds to the JSON property `userInfo`
3295
3302
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo]
@@ -3352,6 +3359,7 @@ module Google
3352
3359
  @page_token = args[:page_token] if args.key?(:page_token)
3353
3360
  @query = args[:query] if args.key?(:query)
3354
3361
  @query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
3362
+ @search_mode = args[:search_mode] if args.key?(:search_mode)
3355
3363
  @user_info = args[:user_info] if args.key?(:user_info)
3356
3364
  @variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
3357
3365
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2beta
18
18
  # Version of the google-apis-retail_v2beta 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
@@ -1648,6 +1648,7 @@ module Google
1648
1648
  property :query, as: 'query'
1649
1649
  property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec::Representation
1650
1650
 
1651
+ property :search_mode, as: 'searchMode'
1651
1652
  property :user_info, as: 'userInfo', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo::Representation
1652
1653
 
1653
1654
  collection :variant_rollup_keys, as: 'variantRollupKeys'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2beta
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_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.18.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2beta
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.19.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: