google-apis-retail_v2beta 0.35.0 → 0.36.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44cf423c7ab4fde9b6f15c075befe8dc7fa579383879e5143d796c1fdfcd6125
|
4
|
+
data.tar.gz: 1f4e0fe60920a8d21aef45e1e3d7357cfd214c98ac8d8e8122d093bfec6a9358
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 410497307d187e4d7eb7d2efa3a0ec793f700cbba51726b51fc592306e5cec7cd76bc57c9db3c12523c9f2cde5186464f8c79d5beb68292c748741add9bd5ec7
|
7
|
+
data.tar.gz: eecbab370046cdec13c99420007858c108bd6fb36bba852b6795404f25114dedff8bf74ae11bfde5d0fce3aaa1dbd0611d0d646f00ec3d9809a89fe892f49ca8
|
data/CHANGELOG.md
CHANGED
@@ -2570,11 +2570,15 @@ module Google
|
|
2570
2570
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductInputConfig]
|
2571
2571
|
attr_accessor :input_config
|
2572
2572
|
|
2573
|
-
# Pub/Sub topic for receiving notification. If this field is set, when
|
2574
|
-
# import is finished, a notification will be sent to specified Pub/Sub topic.
|
2573
|
+
# Full Pub/Sub topic name for receiving notification. If this field is set, when
|
2574
|
+
# the import is finished, a notification will be sent to specified Pub/Sub topic.
|
2575
2575
|
# The message data will be JSON string of a Operation. Format of the Pub/Sub
|
2576
|
-
# topic is `projects/`project`/topics/`topic``.
|
2577
|
-
# ImportProductsRequest.
|
2576
|
+
# topic is `projects/`project`/topics/`topic``. It has to be within the same
|
2577
|
+
# project as ImportProductsRequest.parent. Make sure that both `cloud-retail-
|
2578
|
+
# customer-data-access@system.gserviceaccount.com` and `service-@gcp-sa-retail.
|
2579
|
+
# iam.gserviceaccount.com` have the `pubsub.topics.publish` IAM permission on
|
2580
|
+
# the topic. Only supported when ImportProductsRequest.reconciliation_mode is
|
2581
|
+
# set to `FULL`.
|
2578
2582
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
2579
2583
|
# @return [String]
|
2580
2584
|
attr_accessor :notification_pubsub_topic
|
@@ -3166,7 +3170,8 @@ module Google
|
|
3166
3170
|
attr_accessor :currency_code
|
3167
3171
|
|
3168
3172
|
# Price of the product without any discount. If zero, by default set to be the
|
3169
|
-
# price.
|
3173
|
+
# price. If set, original_price should be greater than or equal to price,
|
3174
|
+
# otherwise an INVALID_ARGUMENT error is thrown.
|
3170
3175
|
# Corresponds to the JSON property `originalPrice`
|
3171
3176
|
# @return [Float]
|
3172
3177
|
attr_accessor :original_price
|
@@ -4565,6 +4570,21 @@ module Google
|
|
4565
4570
|
# @return [String]
|
4566
4571
|
attr_accessor :filter
|
4567
4572
|
|
4573
|
+
# The labels applied to a resource must meet the following requirements: * Each
|
4574
|
+
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
4575
|
+
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
4576
|
+
# length of 63 characters, and cannot be empty. Values can be empty, and have a
|
4577
|
+
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
4578
|
+
# letters, numeric characters, underscores, and dashes. All characters must use
|
4579
|
+
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
4580
|
+
# a label must be unique. However, you can use the same key with multiple
|
4581
|
+
# resources. * Keys must start with a lowercase letter or international
|
4582
|
+
# character. See [Google Cloud Document](https://cloud.google.com/resource-
|
4583
|
+
# manager/docs/creating-managing-labels#requirements) for more details.
|
4584
|
+
# Corresponds to the JSON property `labels`
|
4585
|
+
# @return [Hash<String,String>]
|
4586
|
+
attr_accessor :labels
|
4587
|
+
|
4568
4588
|
# A 0-indexed integer that specifies the current offset (that is, starting
|
4569
4589
|
# result location, amongst the Products deemed by the API as relevant) in search
|
4570
4590
|
# results. This field is only considered if page_token is unset. If this field
|
@@ -4688,6 +4708,7 @@ module Google
|
|
4688
4708
|
@dynamic_facet_spec = args[:dynamic_facet_spec] if args.key?(:dynamic_facet_spec)
|
4689
4709
|
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
|
4690
4710
|
@filter = args[:filter] if args.key?(:filter)
|
4711
|
+
@labels = args[:labels] if args.key?(:labels)
|
4691
4712
|
@offset = args[:offset] if args.key?(:offset)
|
4692
4713
|
@order_by = args[:order_by] if args.key?(:order_by)
|
4693
4714
|
@page_categories = args[:page_categories] if args.key?(:page_categories)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220414"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2272,6 +2272,7 @@ module Google
|
|
2272
2272
|
collection :facet_specs, as: 'facetSpecs', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec::Representation
|
2273
2273
|
|
2274
2274
|
property :filter, as: 'filter'
|
2275
|
+
hash :labels, as: 'labels'
|
2275
2276
|
property :offset, as: 'offset'
|
2276
2277
|
property :order_by, as: 'orderBy'
|
2277
2278
|
collection :page_categories, as: 'pageCategories'
|
@@ -1378,8 +1378,8 @@ module Google
|
|
1378
1378
|
# servingConfigs` resource. `placements` is a legacy resource. The ID of the
|
1379
1379
|
# Recommendations AI serving config or placement. Before you can request
|
1380
1380
|
# predictions from your model, you must create at least one serving config or
|
1381
|
-
# placement for it. For more information, see [Managing serving configurations]
|
1382
|
-
#
|
1381
|
+
# placement for it. For more information, see [Managing serving configurations] (
|
1382
|
+
# https://cloud.google.com/retail/docs/manage-configs). The full list of
|
1383
1383
|
# available serving configs can be seen at https://console.cloud.google.com/ai/
|
1384
1384
|
# retail/catalogs/default_catalog/configs
|
1385
1385
|
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPredictRequest] google_cloud_retail_v2beta_predict_request_object
|
@@ -1684,8 +1684,8 @@ module Google
|
|
1684
1684
|
# servingConfigs` resource. `placements` is a legacy resource. The ID of the
|
1685
1685
|
# Recommendations AI serving config or placement. Before you can request
|
1686
1686
|
# predictions from your model, you must create at least one serving config or
|
1687
|
-
# placement for it. For more information, see [Managing serving configurations]
|
1688
|
-
#
|
1687
|
+
# placement for it. For more information, see [Managing serving configurations] (
|
1688
|
+
# https://cloud.google.com/retail/docs/manage-configs). The full list of
|
1689
1689
|
# available serving configs can be seen at https://console.cloud.google.com/ai/
|
1690
1690
|
# retail/catalogs/default_catalog/configs
|
1691
1691
|
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPredictRequest] google_cloud_retail_v2beta_predict_request_object
|
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.
|
4
|
+
version: 0.36.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: 2022-04-
|
11
|
+
date: 2022-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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/main/generated/google-apis-retail_v2beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.36.0
|
62
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: []
|