google-apis-retail_v2 0.84.0 → 0.86.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/retail_v2/classes.rb +57 -22
- data/lib/google/apis/retail_v2/gem_version.rb +2 -2
- data/lib/google/apis/retail_v2/representations.rb +18 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2920399c40dd26d4ea6f6a67bd93caba16a9fcaf9187278aea07110f0cb6c205
|
4
|
+
data.tar.gz: 7e163b4ffcdd4a12e1fc7edee43aa8b31fe8debb0a6de6cac8beb430a7c83c8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d0fe6d6f53a54c92816a6f949c8f6d09f0035f6aa401d03561a0b3a25b38c3e379f2263bf42235be07cfe9cea9ee85caff842b6b958b81a2f8c01190d9a1c31
|
7
|
+
data.tar.gz: fc5c6b52f0049808284181de53f390d15ed8d213600119effb2a4a2b7caab5081cf100140bcab8e5695968451013047cdfd22b5acb560d37526d47fddba65a80
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.86.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231130
|
6
|
+
|
7
|
+
### v0.85.0 (2023-11-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231109
|
10
|
+
|
3
11
|
### v0.84.0 (2023-11-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231102
|
@@ -2662,13 +2662,13 @@ module Google
|
|
2662
2662
|
# Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "
|
2663
2663
|
# categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic
|
2664
2664
|
# Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an
|
2665
|
-
# INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product
|
2666
|
-
# Empty values are not allowed. Each value
|
2667
|
-
# a length limit of 5,000 characters.
|
2668
|
-
# returned. Corresponding properties:
|
2669
|
-
# google_product_category. Schema.org property [
|
2670
|
-
# schema.org/category). [mc_google_product_category]:
|
2671
|
-
# merchants/answer/6324436
|
2665
|
+
# INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product
|
2666
|
+
# unless overridden via pantheon UI. Empty values are not allowed. Each value
|
2667
|
+
# must be a UTF-8 encoded string with a length limit of 5,000 characters.
|
2668
|
+
# Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties:
|
2669
|
+
# Google Merchant Center property google_product_category. Schema.org property [
|
2670
|
+
# Product.category] (https://schema.org/category). [mc_google_product_category]:
|
2671
|
+
# https://support.google.com/merchants/answer/6324436
|
2672
2672
|
# Corresponds to the JSON property `categories`
|
2673
2673
|
# @return [Array<String>]
|
2674
2674
|
attr_accessor :categories
|
@@ -2707,16 +2707,16 @@ module Google
|
|
2707
2707
|
# @return [String]
|
2708
2708
|
attr_accessor :description
|
2709
2709
|
|
2710
|
-
#
|
2711
|
-
#
|
2712
|
-
#
|
2713
|
-
#
|
2714
|
-
#
|
2715
|
-
#
|
2716
|
-
#
|
2717
|
-
#
|
2718
|
-
#
|
2719
|
-
#
|
2710
|
+
# Note that this field is applied in the following ways: * If the Product is
|
2711
|
+
# already expired when it is uploaded, this product is not indexed for search. *
|
2712
|
+
# If the Product is not expired when it is uploaded, only the Type.PRIMARY's and
|
2713
|
+
# Type.COLLECTION's expireTime is respected, and Type.VARIANT's expireTime is
|
2714
|
+
# not used. In general, we suggest the users to delete the stale products
|
2715
|
+
# explicitly, instead of using this field to determine staleness. expire_time
|
2716
|
+
# must be later than available_time and publish_time, otherwise an
|
2717
|
+
# INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant
|
2718
|
+
# Center property [expiration_date](https://support.google.com/merchants/answer/
|
2719
|
+
# 6324499).
|
2720
2720
|
# Corresponds to the JSON property `expireTime`
|
2721
2721
|
# @return [String]
|
2722
2722
|
attr_accessor :expire_time
|
@@ -4144,11 +4144,12 @@ module Google
|
|
4144
4144
|
|
4145
4145
|
# The default filter that is applied when a user performs a search without
|
4146
4146
|
# checking any filters on the search page. The filter applied to every search
|
4147
|
-
# request when quality improvement such as query expansion is needed.
|
4148
|
-
#
|
4149
|
-
#
|
4150
|
-
#
|
4151
|
-
#
|
4147
|
+
# request when quality improvement such as query expansion is needed. In the
|
4148
|
+
# case a query does not have a sufficient amount of results this filter will be
|
4149
|
+
# used to determine whether or not to enable the query expansion flow. The
|
4150
|
+
# original filter will still be used for the query expanded search. This field
|
4151
|
+
# is strongly recommended to achieve high search quality. For more information
|
4152
|
+
# about filter syntax, see SearchRequest.filter.
|
4152
4153
|
# Corresponds to the JSON property `canonicalFilter`
|
4153
4154
|
# @return [String]
|
4154
4155
|
attr_accessor :canonical_filter
|
@@ -5844,6 +5845,40 @@ module Google
|
|
5844
5845
|
end
|
5845
5846
|
end
|
5846
5847
|
|
5848
|
+
# Response of the ExportAnalyticsMetricsRequest. If the long running operation
|
5849
|
+
# was successful, then this message is returned by the google.longrunning.
|
5850
|
+
# Operations.response field if the operation was successful.
|
5851
|
+
class GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse
|
5852
|
+
include Google::Apis::Core::Hashable
|
5853
|
+
|
5854
|
+
# A sample of errors encountered while processing the request.
|
5855
|
+
# Corresponds to the JSON property `errorSamples`
|
5856
|
+
# @return [Array<Google::Apis::RetailV2::GoogleRpcStatus>]
|
5857
|
+
attr_accessor :error_samples
|
5858
|
+
|
5859
|
+
# Configuration of destination for Export related errors.
|
5860
|
+
# Corresponds to the JSON property `errorsConfig`
|
5861
|
+
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig]
|
5862
|
+
attr_accessor :errors_config
|
5863
|
+
|
5864
|
+
# Output result that stores the information about where the exported data is
|
5865
|
+
# stored.
|
5866
|
+
# Corresponds to the JSON property `outputResult`
|
5867
|
+
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult]
|
5868
|
+
attr_accessor :output_result
|
5869
|
+
|
5870
|
+
def initialize(**args)
|
5871
|
+
update!(**args)
|
5872
|
+
end
|
5873
|
+
|
5874
|
+
# Update properties of this object
|
5875
|
+
def update!(**args)
|
5876
|
+
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
5877
|
+
@errors_config = args[:errors_config] if args.key?(:errors_config)
|
5878
|
+
@output_result = args[:output_result] if args.key?(:output_result)
|
5879
|
+
end
|
5880
|
+
end
|
5881
|
+
|
5847
5882
|
# Configuration of destination for Export related errors.
|
5848
5883
|
class GoogleCloudRetailV2alphaExportErrorsConfig
|
5849
5884
|
include Google::Apis::Core::Hashable
|
@@ -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.86.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231130"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -874,6 +874,12 @@ module Google
|
|
874
874
|
include Google::Apis::Core::JsonObjectSupport
|
875
875
|
end
|
876
876
|
|
877
|
+
class GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
877
883
|
class GoogleCloudRetailV2alphaExportErrorsConfig
|
878
884
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
885
|
|
@@ -2753,6 +2759,18 @@ module Google
|
|
2753
2759
|
end
|
2754
2760
|
end
|
2755
2761
|
|
2762
|
+
class GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse
|
2763
|
+
# @private
|
2764
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2765
|
+
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
|
2766
|
+
|
2767
|
+
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
|
2768
|
+
|
2769
|
+
property :output_result, as: 'outputResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult::Representation
|
2770
|
+
|
2771
|
+
end
|
2772
|
+
end
|
2773
|
+
|
2756
2774
|
class GoogleCloudRetailV2alphaExportErrorsConfig
|
2757
2775
|
# @private
|
2758
2776
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.86.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: 2023-
|
11
|
+
date: 2023-12-10 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.86.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: []
|