google-apis-retail_v2beta 0.55.0 → 0.56.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: 798d9ec10798bfda967bf696ec3e07c2a59c6b16cf6ac7e2d584e70f668ed943
|
4
|
+
data.tar.gz: c3797cf568d5ce50ea3762a489b01f340598f9249d91065c084fbf34c6c329a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '020395333939f48e165b9c376a0282aba35f7063e97fe89c4ebeddc596ee8761ca40b55bc13b38169a654e4d1fa7b93dad31d07bba7d613ac3843c545f166bc0'
|
7
|
+
data.tar.gz: 234c28d8769919f4f71a18802bd07a0750a58e20ebb70a7ba45c17ef25e0ebaf8d91db851f829f9532cd913276df7f6bfe3a4f5d56ee7427aafbf4fea0de81d5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-retail_v2beta
|
2
2
|
|
3
|
+
### v0.56.0 (2022-09-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220917
|
6
|
+
* Regenerated using generator version 0.10.0
|
7
|
+
|
3
8
|
### v0.55.0 (2022-09-10)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220901
|
@@ -1280,7 +1280,7 @@ module Google
|
|
1280
1280
|
class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
|
1281
1281
|
include Google::Apis::Core::Hashable
|
1282
1282
|
|
1283
|
-
# Required. The candidates to consider on the panel.
|
1283
|
+
# Required. The candidates to consider on the panel.
|
1284
1284
|
# Corresponds to the JSON property `candidates`
|
1285
1285
|
# @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate>]
|
1286
1286
|
attr_accessor :candidates
|
@@ -2655,6 +2655,27 @@ module Google
|
|
2655
2655
|
end
|
2656
2656
|
end
|
2657
2657
|
|
2658
|
+
# Metadata associated with a create operation.
|
2659
|
+
class GoogleCloudRetailV2betaCreateModelMetadata
|
2660
|
+
include Google::Apis::Core::Hashable
|
2661
|
+
|
2662
|
+
# The resource name of the model that this create applies to. Format: `projects/`
|
2663
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
2664
|
+
# `
|
2665
|
+
# Corresponds to the JSON property `model`
|
2666
|
+
# @return [String]
|
2667
|
+
attr_accessor :model
|
2668
|
+
|
2669
|
+
def initialize(**args)
|
2670
|
+
update!(**args)
|
2671
|
+
end
|
2672
|
+
|
2673
|
+
# Update properties of this object
|
2674
|
+
def update!(**args)
|
2675
|
+
@model = args[:model] if args.key?(:model)
|
2676
|
+
end
|
2677
|
+
end
|
2678
|
+
|
2658
2679
|
# A custom attribute that is not explicitly modeled in Product.
|
2659
2680
|
class GoogleCloudRetailV2betaCustomAttribute
|
2660
2681
|
include Google::Apis::Core::Hashable
|
@@ -3458,6 +3479,32 @@ module Google
|
|
3458
3479
|
end
|
3459
3480
|
end
|
3460
3481
|
|
3482
|
+
# Merchant Center Feed filter criterrion.
|
3483
|
+
class GoogleCloudRetailV2betaMerchantCenterFeedFilter
|
3484
|
+
include Google::Apis::Core::Hashable
|
3485
|
+
|
3486
|
+
# Merchant Center primary feed id.
|
3487
|
+
# Corresponds to the JSON property `primaryFeedId`
|
3488
|
+
# @return [Fixnum]
|
3489
|
+
attr_accessor :primary_feed_id
|
3490
|
+
|
3491
|
+
# Merchant Center primary feed name. The name is used for the display purposes
|
3492
|
+
# only.
|
3493
|
+
# Corresponds to the JSON property `primaryFeedName`
|
3494
|
+
# @return [String]
|
3495
|
+
attr_accessor :primary_feed_name
|
3496
|
+
|
3497
|
+
def initialize(**args)
|
3498
|
+
update!(**args)
|
3499
|
+
end
|
3500
|
+
|
3501
|
+
# Update properties of this object
|
3502
|
+
def update!(**args)
|
3503
|
+
@primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
|
3504
|
+
@primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
|
3505
|
+
end
|
3506
|
+
end
|
3507
|
+
|
3461
3508
|
# Represents a link between a Merchant Center account and a branch. Once a link
|
3462
3509
|
# is established, products from the linked merchant center account will be
|
3463
3510
|
# streamed to the linked branch.
|
@@ -3482,6 +3529,13 @@ module Google
|
|
3482
3529
|
# @return [Array<String>]
|
3483
3530
|
attr_accessor :destinations
|
3484
3531
|
|
3532
|
+
# Criteria for the Merchant Center feeds to be ingested via the link. All offers
|
3533
|
+
# will be ingested if the list is empty. Otherwise the offers will be ingested
|
3534
|
+
# from selected feeds.
|
3535
|
+
# Corresponds to the JSON property `feeds`
|
3536
|
+
# @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterFeedFilter>]
|
3537
|
+
attr_accessor :feeds
|
3538
|
+
|
3485
3539
|
# Language of the title/description and other string attributes. Use language
|
3486
3540
|
# tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
|
3487
3541
|
# 639-1. This specifies the language of offers in Merchant Center that will be
|
@@ -3514,6 +3568,7 @@ module Google
|
|
3514
3568
|
def update!(**args)
|
3515
3569
|
@branch_id = args[:branch_id] if args.key?(:branch_id)
|
3516
3570
|
@destinations = args[:destinations] if args.key?(:destinations)
|
3571
|
+
@feeds = args[:feeds] if args.key?(:feeds)
|
3517
3572
|
@language_code = args[:language_code] if args.key?(:language_code)
|
3518
3573
|
@merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
|
3519
3574
|
@region_code = args[:region_code] if args.key?(:region_code)
|
@@ -3748,15 +3803,15 @@ module Google
|
|
3748
3803
|
# do not have a stockState value of OUT_OF_STOCK. Examples: * tag=("Red" OR "
|
3749
3804
|
# Blue") tag="New-Arrival" tag=(NOT "promotional") * filterOutOfStockItems tag=(-
|
3750
3805
|
# "promotional") * filterOutOfStockItems If your filter blocks all prediction
|
3751
|
-
# results, the API will return
|
3752
|
-
#
|
3753
|
-
# in `PredictRequest.params
|
3754
|
-
#
|
3755
|
-
#
|
3756
|
-
#
|
3757
|
-
#
|
3758
|
-
#
|
3759
|
-
#
|
3806
|
+
# results, the API will return *no* results. If instead you want empty result
|
3807
|
+
# sets to return generic (unfiltered) popular products, set `strictFiltering` to
|
3808
|
+
# False in `PredictRequest.params`. Note that the API will never return items
|
3809
|
+
# with storageStatus of "EXPIRED" or "DELETED" regardless of filter choices. If `
|
3810
|
+
# filterSyntaxV2` is set to true under the `params` field, then attribute-based
|
3811
|
+
# expressions are expected instead of the above described tag-based syntax.
|
3812
|
+
# Examples: * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) *
|
3813
|
+
# (availability: ANY("IN_STOCK")) AND (colors: ANY("Red") OR categories: ANY("
|
3814
|
+
# Phones"))
|
3760
3815
|
# Corresponds to the JSON property `filter`
|
3761
3816
|
# @return [String]
|
3762
3817
|
attr_accessor :filter
|
@@ -6431,6 +6486,27 @@ module Google
|
|
6431
6486
|
end
|
6432
6487
|
end
|
6433
6488
|
|
6489
|
+
# Metadata associated with a tune operation.
|
6490
|
+
class GoogleCloudRetailV2betaTuneModelMetadata
|
6491
|
+
include Google::Apis::Core::Hashable
|
6492
|
+
|
6493
|
+
# The resource name of the model that this tune applies to. Format: `projects/`
|
6494
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
6495
|
+
# `
|
6496
|
+
# Corresponds to the JSON property `model`
|
6497
|
+
# @return [String]
|
6498
|
+
attr_accessor :model
|
6499
|
+
|
6500
|
+
def initialize(**args)
|
6501
|
+
update!(**args)
|
6502
|
+
end
|
6503
|
+
|
6504
|
+
# Update properties of this object
|
6505
|
+
def update!(**args)
|
6506
|
+
@model = args[:model] if args.key?(:model)
|
6507
|
+
end
|
6508
|
+
end
|
6509
|
+
|
6434
6510
|
# Request to manually start a tuning process now (instead of waiting for the
|
6435
6511
|
# periodically scheduled tuning to happen).
|
6436
6512
|
class GoogleCloudRetailV2betaTuneModelRequest
|
@@ -6445,6 +6521,19 @@ module Google
|
|
6445
6521
|
end
|
6446
6522
|
end
|
6447
6523
|
|
6524
|
+
# Response associated with a tune operation.
|
6525
|
+
class GoogleCloudRetailV2betaTuneModelResponse
|
6526
|
+
include Google::Apis::Core::Hashable
|
6527
|
+
|
6528
|
+
def initialize(**args)
|
6529
|
+
update!(**args)
|
6530
|
+
end
|
6531
|
+
|
6532
|
+
# Update properties of this object
|
6533
|
+
def update!(**args)
|
6534
|
+
end
|
6535
|
+
end
|
6536
|
+
|
6448
6537
|
# UserEvent captures all metadata information Retail API needs to know about how
|
6449
6538
|
# end users interact with customers' website.
|
6450
6539
|
class GoogleCloudRetailV2betaUserEvent
|
@@ -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.56.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220917"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -568,6 +568,12 @@ module Google
|
|
568
568
|
include Google::Apis::Core::JsonObjectSupport
|
569
569
|
end
|
570
570
|
|
571
|
+
class GoogleCloudRetailV2betaCreateModelMetadata
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
571
577
|
class GoogleCloudRetailV2betaCustomAttribute
|
572
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
579
|
|
@@ -712,6 +718,12 @@ module Google
|
|
712
718
|
include Google::Apis::Core::JsonObjectSupport
|
713
719
|
end
|
714
720
|
|
721
|
+
class GoogleCloudRetailV2betaMerchantCenterFeedFilter
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
715
727
|
class GoogleCloudRetailV2betaMerchantCenterLink
|
716
728
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
729
|
|
@@ -1090,12 +1102,24 @@ module Google
|
|
1090
1102
|
include Google::Apis::Core::JsonObjectSupport
|
1091
1103
|
end
|
1092
1104
|
|
1105
|
+
class GoogleCloudRetailV2betaTuneModelMetadata
|
1106
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1107
|
+
|
1108
|
+
include Google::Apis::Core::JsonObjectSupport
|
1109
|
+
end
|
1110
|
+
|
1093
1111
|
class GoogleCloudRetailV2betaTuneModelRequest
|
1094
1112
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1095
1113
|
|
1096
1114
|
include Google::Apis::Core::JsonObjectSupport
|
1097
1115
|
end
|
1098
1116
|
|
1117
|
+
class GoogleCloudRetailV2betaTuneModelResponse
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1119
|
+
|
1120
|
+
include Google::Apis::Core::JsonObjectSupport
|
1121
|
+
end
|
1122
|
+
|
1099
1123
|
class GoogleCloudRetailV2betaUserEvent
|
1100
1124
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1101
1125
|
|
@@ -1925,6 +1949,13 @@ module Google
|
|
1925
1949
|
end
|
1926
1950
|
end
|
1927
1951
|
|
1952
|
+
class GoogleCloudRetailV2betaCreateModelMetadata
|
1953
|
+
# @private
|
1954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1955
|
+
property :model, as: 'model'
|
1956
|
+
end
|
1957
|
+
end
|
1958
|
+
|
1928
1959
|
class GoogleCloudRetailV2betaCustomAttribute
|
1929
1960
|
# @private
|
1930
1961
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2157,11 +2188,21 @@ module Google
|
|
2157
2188
|
end
|
2158
2189
|
end
|
2159
2190
|
|
2191
|
+
class GoogleCloudRetailV2betaMerchantCenterFeedFilter
|
2192
|
+
# @private
|
2193
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2194
|
+
property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
|
2195
|
+
property :primary_feed_name, as: 'primaryFeedName'
|
2196
|
+
end
|
2197
|
+
end
|
2198
|
+
|
2160
2199
|
class GoogleCloudRetailV2betaMerchantCenterLink
|
2161
2200
|
# @private
|
2162
2201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2163
2202
|
property :branch_id, as: 'branchId'
|
2164
2203
|
collection :destinations, as: 'destinations'
|
2204
|
+
collection :feeds, as: 'feeds', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterFeedFilter::Representation
|
2205
|
+
|
2165
2206
|
property :language_code, as: 'languageCode'
|
2166
2207
|
property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
|
2167
2208
|
property :region_code, as: 'regionCode'
|
@@ -2817,12 +2858,25 @@ module Google
|
|
2817
2858
|
end
|
2818
2859
|
end
|
2819
2860
|
|
2861
|
+
class GoogleCloudRetailV2betaTuneModelMetadata
|
2862
|
+
# @private
|
2863
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2864
|
+
property :model, as: 'model'
|
2865
|
+
end
|
2866
|
+
end
|
2867
|
+
|
2820
2868
|
class GoogleCloudRetailV2betaTuneModelRequest
|
2821
2869
|
# @private
|
2822
2870
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2823
2871
|
end
|
2824
2872
|
end
|
2825
2873
|
|
2874
|
+
class GoogleCloudRetailV2betaTuneModelResponse
|
2875
|
+
# @private
|
2876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2877
|
+
end
|
2878
|
+
end
|
2879
|
+
|
2826
2880
|
class GoogleCloudRetailV2betaUserEvent
|
2827
2881
|
# @private
|
2828
2882
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.56.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-09-
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.9.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.56.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: []
|