google-apis-retail_v2 0.34.0 → 0.35.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 530f53f799eda6665eb83ac1b7e46cad9132092a5beaf31a8efd981ca78d55e0
|
4
|
+
data.tar.gz: 0d5c6a488b5f2e3c9bafec0af8a1e72075aa0cb098b7597a40f5ab7000522891
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f3e416aaf3950c7426053919eb5c9bd38622a339992059bd058e897007d714e2ba8ec91b0acc64310ac3ec311e8944afa82852ae7d3e0557162dc31fc179c35
|
7
|
+
data.tar.gz: 78d37620b41ee26b09aaf923fba197ebde44380e26853e939d9759009732d9cc2d17cda1b2150ac037b8f41e43b040a1379b46ea9101d8dd9bfd8d804e9d595b
|
data/CHANGELOG.md
CHANGED
@@ -1109,11 +1109,15 @@ module Google
|
|
1109
1109
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2ProductInputConfig]
|
1110
1110
|
attr_accessor :input_config
|
1111
1111
|
|
1112
|
-
# Pub/Sub topic for receiving notification. If this field is set, when
|
1113
|
-
# import is finished, a notification will be sent to specified Pub/Sub topic.
|
1112
|
+
# Full Pub/Sub topic name for receiving notification. If this field is set, when
|
1113
|
+
# the import is finished, a notification will be sent to specified Pub/Sub topic.
|
1114
1114
|
# The message data will be JSON string of a Operation. Format of the Pub/Sub
|
1115
|
-
# topic is `projects/`project`/topics/`topic``.
|
1116
|
-
# ImportProductsRequest.
|
1115
|
+
# topic is `projects/`project`/topics/`topic``. It has to be within the same
|
1116
|
+
# project as ImportProductsRequest.parent. Make sure that both `cloud-retail-
|
1117
|
+
# customer-data-access@system.gserviceaccount.com` and `service-@gcp-sa-retail.
|
1118
|
+
# iam.gserviceaccount.com` have the `pubsub.topics.publish` IAM permission on
|
1119
|
+
# the topic. Only supported when ImportProductsRequest.reconciliation_mode is
|
1120
|
+
# set to `FULL`.
|
1117
1121
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
1118
1122
|
# @return [String]
|
1119
1123
|
attr_accessor :notification_pubsub_topic
|
@@ -1573,7 +1577,8 @@ module Google
|
|
1573
1577
|
attr_accessor :currency_code
|
1574
1578
|
|
1575
1579
|
# Price of the product without any discount. If zero, by default set to be the
|
1576
|
-
# price.
|
1580
|
+
# price. If set, original_price should be greater than or equal to price,
|
1581
|
+
# otherwise an INVALID_ARGUMENT error is thrown.
|
1577
1582
|
# Corresponds to the JSON property `originalPrice`
|
1578
1583
|
# @return [Float]
|
1579
1584
|
attr_accessor :original_price
|
@@ -2578,6 +2583,21 @@ module Google
|
|
2578
2583
|
# @return [String]
|
2579
2584
|
attr_accessor :filter
|
2580
2585
|
|
2586
|
+
# The labels applied to a resource must meet the following requirements: * Each
|
2587
|
+
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
2588
|
+
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
2589
|
+
# length of 63 characters, and cannot be empty. Values can be empty, and have a
|
2590
|
+
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
2591
|
+
# letters, numeric characters, underscores, and dashes. All characters must use
|
2592
|
+
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
2593
|
+
# a label must be unique. However, you can use the same key with multiple
|
2594
|
+
# resources. * Keys must start with a lowercase letter or international
|
2595
|
+
# character. See [Google Cloud Document](https://cloud.google.com/resource-
|
2596
|
+
# manager/docs/creating-managing-labels#requirements) for more details.
|
2597
|
+
# Corresponds to the JSON property `labels`
|
2598
|
+
# @return [Hash<String,String>]
|
2599
|
+
attr_accessor :labels
|
2600
|
+
|
2581
2601
|
# A 0-indexed integer that specifies the current offset (that is, starting
|
2582
2602
|
# result location, amongst the Products deemed by the API as relevant) in search
|
2583
2603
|
# results. This field is only considered if page_token is unset. If this field
|
@@ -2701,6 +2721,7 @@ module Google
|
|
2701
2721
|
@dynamic_facet_spec = args[:dynamic_facet_spec] if args.key?(:dynamic_facet_spec)
|
2702
2722
|
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
|
2703
2723
|
@filter = args[:filter] if args.key?(:filter)
|
2724
|
+
@labels = args[:labels] if args.key?(:labels)
|
2704
2725
|
@offset = args[:offset] if args.key?(:offset)
|
2705
2726
|
@order_by = args[:order_by] if args.key?(:order_by)
|
2706
2727
|
@page_categories = args[:page_categories] if args.key?(:page_categories)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.35.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
|
@@ -1496,6 +1496,7 @@ module Google
|
|
1496
1496
|
collection :facet_specs, as: 'facetSpecs', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestFacetSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestFacetSpec::Representation
|
1497
1497
|
|
1498
1498
|
property :filter, as: 'filter'
|
1499
|
+
hash :labels, as: 'labels'
|
1499
1500
|
property :offset, as: 'offset'
|
1500
1501
|
property :order_by, as: 'orderBy'
|
1501
1502
|
collection :page_categories, as: 'pageCategories'
|
@@ -934,8 +934,8 @@ module Google
|
|
934
934
|
# servingConfigs` resource. `placements` is a legacy resource. The ID of the
|
935
935
|
# Recommendations AI serving config or placement. Before you can request
|
936
936
|
# predictions from your model, you must create at least one serving config or
|
937
|
-
# placement for it. For more information, see [Managing serving configurations]
|
938
|
-
#
|
937
|
+
# placement for it. For more information, see [Managing serving configurations] (
|
938
|
+
# https://cloud.google.com/retail/docs/manage-configs). The full list of
|
939
939
|
# available serving configs can be seen at https://console.cloud.google.com/ai/
|
940
940
|
# retail/catalogs/default_catalog/configs
|
941
941
|
# @param [Google::Apis::RetailV2::GoogleCloudRetailV2PredictRequest] google_cloud_retail_v2_predict_request_object
|
@@ -1016,8 +1016,8 @@ module Google
|
|
1016
1016
|
# servingConfigs` resource. `placements` is a legacy resource. The ID of the
|
1017
1017
|
# Recommendations AI serving config or placement. Before you can request
|
1018
1018
|
# predictions from your model, you must create at least one serving config or
|
1019
|
-
# placement for it. For more information, see [Managing serving configurations]
|
1020
|
-
#
|
1019
|
+
# placement for it. For more information, see [Managing serving configurations] (
|
1020
|
+
# https://cloud.google.com/retail/docs/manage-configs). The full list of
|
1021
1021
|
# available serving configs can be seen at https://console.cloud.google.com/ai/
|
1022
1022
|
# retail/catalogs/default_catalog/configs
|
1023
1023
|
# @param [Google::Apis::RetailV2::GoogleCloudRetailV2PredictRequest] google_cloud_retail_v2_predict_request_object
|
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.
|
4
|
+
version: 0.35.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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.35.0
|
62
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: []
|