google-apis-retail_v2 0.68.0 → 0.70.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: df11aab75082f77bca06d97bb654a36d867ec9b8b548487d958ede800e9931d2
|
4
|
+
data.tar.gz: 71746b24b8604e58342ce6529bc85d88628159da75221f8321dc48b2fe32c931
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3593693dccb0fca8c6cd85151ab97d0b51894c76e7d5eb5ed7eae1786b7ffed13355a00757f2cee4f0e8143a038b709f057d23ce8d70a1d810136a1e377b6ea0
|
7
|
+
data.tar.gz: 1a91555e35ad4f4ac489c49b52a42edcb1598c1b5c113bf296f11bb452e06afd6326a3b431cccad3c217fd5e3cf0a84548bd199418ced7adf4bc273b8078540e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.70.0 (2023-04-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230413
|
6
|
+
|
7
|
+
### v0.69.0 (2023-03-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230321
|
10
|
+
|
3
11
|
### v0.68.0 (2023-03-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230309
|
@@ -1278,9 +1278,9 @@ module Google
|
|
1278
1278
|
# The fully qualified resource name of the experiment that provides the serving
|
1279
1279
|
# config under test, should an active experiment exist. For example: `projects/*/
|
1280
1280
|
# locations/global/catalogs/default_catalog/experiments/experiment_id`
|
1281
|
-
# Corresponds to the JSON property `
|
1281
|
+
# Corresponds to the JSON property `experiment`
|
1282
1282
|
# @return [String]
|
1283
|
-
attr_accessor :
|
1283
|
+
attr_accessor :experiment
|
1284
1284
|
|
1285
1285
|
# Metadata for active serving config A/B tests.
|
1286
1286
|
# Corresponds to the JSON property `servingConfigExperiment`
|
@@ -1293,7 +1293,7 @@ module Google
|
|
1293
1293
|
|
1294
1294
|
# Update properties of this object
|
1295
1295
|
def update!(**args)
|
1296
|
-
@
|
1296
|
+
@experiment = args[:experiment] if args.key?(:experiment)
|
1297
1297
|
@serving_config_experiment = args[:serving_config_experiment] if args.key?(:serving_config_experiment)
|
1298
1298
|
end
|
1299
1299
|
end
|
@@ -2155,9 +2155,9 @@ module Google
|
|
2155
2155
|
# filterSyntaxV2` is set to true under the `params` field, then attribute-based
|
2156
2156
|
# expressions are expected instead of the above described tag-based syntax.
|
2157
2157
|
# Examples: * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) *
|
2158
|
-
# (
|
2159
|
-
# For more information, see [Filter recommendations](https://cloud.
|
2160
|
-
# retail/docs/filter-recs).
|
2158
|
+
# (availability: ANY("IN_STOCK")) AND (colors: ANY("Red") OR categories: ANY("
|
2159
|
+
# Phones")) For more information, see [Filter recommendations](https://cloud.
|
2160
|
+
# google.com/retail/docs/filter-recs).
|
2161
2161
|
# Corresponds to the JSON property `filter`
|
2162
2162
|
# @return [String]
|
2163
2163
|
attr_accessor :filter
|
@@ -3752,8 +3752,16 @@ module Google
|
|
3752
3752
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestDynamicFacetSpec]
|
3753
3753
|
attr_accessor :dynamic_facet_spec
|
3754
3754
|
|
3755
|
+
# The entity for customers that may run multiple different entities, domains,
|
3756
|
+
# sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`
|
3757
|
+
# , `youtube.com`, etc. If this is set, it should be exactly matched with
|
3758
|
+
# UserEvent.entity to get search results boosted by entity.
|
3759
|
+
# Corresponds to the JSON property `entity`
|
3760
|
+
# @return [String]
|
3761
|
+
attr_accessor :entity
|
3762
|
+
|
3755
3763
|
# Facet specifications for faceted search. If empty, no facets are returned. A
|
3756
|
-
# maximum of
|
3764
|
+
# maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error is
|
3757
3765
|
# returned.
|
3758
3766
|
# Corresponds to the JSON property `facetSpecs`
|
3759
3767
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestFacetSpec>]
|
@@ -3800,7 +3808,7 @@ module Google
|
|
3800
3808
|
# @return [String]
|
3801
3809
|
attr_accessor :order_by
|
3802
3810
|
|
3803
|
-
# The categories associated with a category page.
|
3811
|
+
# The categories associated with a category page. Must be set for category
|
3804
3812
|
# navigation queries to achieve good search quality. The format should be the
|
3805
3813
|
# same as UserEvent.page_categories; To represent full path of category, use '>'
|
3806
3814
|
# sign to separate different hierarchies. If '>' is part of the category name,
|
@@ -3909,6 +3917,7 @@ module Google
|
|
3909
3917
|
@branch = args[:branch] if args.key?(:branch)
|
3910
3918
|
@canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
|
3911
3919
|
@dynamic_facet_spec = args[:dynamic_facet_spec] if args.key?(:dynamic_facet_spec)
|
3920
|
+
@entity = args[:entity] if args.key?(:entity)
|
3912
3921
|
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
|
3913
3922
|
@filter = args[:filter] if args.key?(:filter)
|
3914
3923
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -4108,13 +4117,15 @@ module Google
|
|
4108
4117
|
# @return [Array<String>]
|
4109
4118
|
attr_accessor :contains
|
4110
4119
|
|
4111
|
-
#
|
4112
|
-
#
|
4113
|
-
#
|
4114
|
-
#
|
4115
|
-
#
|
4116
|
-
#
|
4117
|
-
#
|
4120
|
+
# Set only if values should be bucketized into intervals. Must be set for facets
|
4121
|
+
# with numerical values. Must not be set for facet with text values. Maximum
|
4122
|
+
# number of intervals is 40. For all numerical facet keys that appear in the
|
4123
|
+
# list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90 and
|
4124
|
+
# 100 are computed from their distribution weekly. If the model assigns a high
|
4125
|
+
# score to a numerical facet key and its intervals are not specified in the
|
4126
|
+
# search request, these percentiles will become the bounds for its intervals and
|
4127
|
+
# will be returned in the response. If the facet key intervals are specified in
|
4128
|
+
# the request, then the specified intervals will be returned instead.
|
4118
4129
|
# Corresponds to the JSON property `intervals`
|
4119
4130
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2Interval>]
|
4120
4131
|
attr_accessor :intervals
|
@@ -4945,12 +4956,13 @@ module Google
|
|
4945
4956
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2CompletionDetail]
|
4946
4957
|
attr_accessor :completion_detail
|
4947
4958
|
|
4948
|
-
#
|
4949
|
-
#
|
4950
|
-
#
|
4951
|
-
#
|
4959
|
+
# The entity for customers that may run multiple different entities, domains,
|
4960
|
+
# sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`
|
4961
|
+
# , `youtube.com`, etc. It is recommended to set this field to get better per-
|
4962
|
+
# entity search, completion and prediction results.
|
4963
|
+
# Corresponds to the JSON property `entity`
|
4952
4964
|
# @return [String]
|
4953
|
-
attr_accessor :
|
4965
|
+
attr_accessor :entity
|
4954
4966
|
|
4955
4967
|
# Only required for UserEventService.ImportUserEvents method. Timestamp of when
|
4956
4968
|
# the user event happened.
|
@@ -5107,7 +5119,7 @@ module Google
|
|
5107
5119
|
@attribution_token = args[:attribution_token] if args.key?(:attribution_token)
|
5108
5120
|
@cart_id = args[:cart_id] if args.key?(:cart_id)
|
5109
5121
|
@completion_detail = args[:completion_detail] if args.key?(:completion_detail)
|
5110
|
-
@
|
5122
|
+
@entity = args[:entity] if args.key?(:entity)
|
5111
5123
|
@event_time = args[:event_time] if args.key?(:event_time)
|
5112
5124
|
@event_type = args[:event_type] if args.key?(:event_type)
|
5113
5125
|
@experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids)
|
@@ -5347,6 +5359,32 @@ module Google
|
|
5347
5359
|
end
|
5348
5360
|
end
|
5349
5361
|
|
5362
|
+
# Common metadata related to the progress of the operations.
|
5363
|
+
class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
|
5364
|
+
include Google::Apis::Core::Hashable
|
5365
|
+
|
5366
|
+
# Operation create time.
|
5367
|
+
# Corresponds to the JSON property `createTime`
|
5368
|
+
# @return [String]
|
5369
|
+
attr_accessor :create_time
|
5370
|
+
|
5371
|
+
# Operation last update time. If the operation is done, this is also the finish
|
5372
|
+
# time.
|
5373
|
+
# Corresponds to the JSON property `updateTime`
|
5374
|
+
# @return [String]
|
5375
|
+
attr_accessor :update_time
|
5376
|
+
|
5377
|
+
def initialize(**args)
|
5378
|
+
update!(**args)
|
5379
|
+
end
|
5380
|
+
|
5381
|
+
# Update properties of this object
|
5382
|
+
def update!(**args)
|
5383
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5384
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
5385
|
+
end
|
5386
|
+
end
|
5387
|
+
|
5350
5388
|
# Metadata associated with a create operation.
|
5351
5389
|
class GoogleCloudRetailV2alphaCreateModelMetadata
|
5352
5390
|
include Google::Apis::Core::Hashable
|
@@ -5666,6 +5704,120 @@ module Google
|
|
5666
5704
|
end
|
5667
5705
|
end
|
5668
5706
|
|
5707
|
+
# Represents a link between a Merchant Center account and a branch. Once a link
|
5708
|
+
# is established, products from the linked merchant center account will be
|
5709
|
+
# streamed to the linked branch.
|
5710
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLink
|
5711
|
+
include Google::Apis::Core::Hashable
|
5712
|
+
|
5713
|
+
# Required. The branch id (e.g. 0/1/2) within the catalog that products from
|
5714
|
+
# merchant_center_account_id are streamed to. When updating this field, an empty
|
5715
|
+
# value will use the currently configured default branch. However, changing the
|
5716
|
+
# default branch later on won't change the linked branch here. A single branch
|
5717
|
+
# id can only have one linked merchant center account id.
|
5718
|
+
# Corresponds to the JSON property `branchId`
|
5719
|
+
# @return [String]
|
5720
|
+
attr_accessor :branch_id
|
5721
|
+
|
5722
|
+
# Criteria for the Merchant Center feeds to be ingested via the link. All offers
|
5723
|
+
# will be ingested if the list is empty. Otherwise the offers will be ingested
|
5724
|
+
# from selected feeds.
|
5725
|
+
# Corresponds to the JSON property `feedFilters`
|
5726
|
+
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
|
5727
|
+
attr_accessor :feed_filters
|
5728
|
+
|
5729
|
+
# The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
|
5730
|
+
# //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
|
5731
|
+
# FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
|
5732
|
+
# Corresponds to the JSON property `feedLabel`
|
5733
|
+
# @return [String]
|
5734
|
+
attr_accessor :feed_label
|
5735
|
+
|
5736
|
+
# Output only. Immutable. MerchantCenterAccountLink identifier, which is the
|
5737
|
+
# final component of name. This field is auto generated and follows the
|
5738
|
+
# convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
|
5739
|
+
# catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
|
5740
|
+
# Corresponds to the JSON property `id`
|
5741
|
+
# @return [String]
|
5742
|
+
attr_accessor :id
|
5743
|
+
|
5744
|
+
# Language of the title/description and other string attributes. Use language
|
5745
|
+
# tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
|
5746
|
+
# 639-1. This specifies the language of offers in Merchant Center that will be
|
5747
|
+
# accepted. If empty, no language filtering will be performed. Example value: `
|
5748
|
+
# en`.
|
5749
|
+
# Corresponds to the JSON property `languageCode`
|
5750
|
+
# @return [String]
|
5751
|
+
attr_accessor :language_code
|
5752
|
+
|
5753
|
+
# Required. The linked [Merchant center account id](https://developers.google.
|
5754
|
+
# com/shopping-content/guides/accountstatuses). The account must be a standalone
|
5755
|
+
# account or a sub-account of a MCA.
|
5756
|
+
# Corresponds to the JSON property `merchantCenterAccountId`
|
5757
|
+
# @return [Fixnum]
|
5758
|
+
attr_accessor :merchant_center_account_id
|
5759
|
+
|
5760
|
+
# Output only. Immutable. Full resource name of the Merchant Center Account Link,
|
5761
|
+
# such as `projects/*/locations/global/catalogs/default_catalog/
|
5762
|
+
# merchantCenterAccountLinks/merchant_center_account_link`.
|
5763
|
+
# Corresponds to the JSON property `name`
|
5764
|
+
# @return [String]
|
5765
|
+
attr_accessor :name
|
5766
|
+
|
5767
|
+
# Output only. Google Cloud project ID.
|
5768
|
+
# Corresponds to the JSON property `projectId`
|
5769
|
+
# @return [String]
|
5770
|
+
attr_accessor :project_id
|
5771
|
+
|
5772
|
+
# Output only. Represents the state of the link.
|
5773
|
+
# Corresponds to the JSON property `state`
|
5774
|
+
# @return [String]
|
5775
|
+
attr_accessor :state
|
5776
|
+
|
5777
|
+
def initialize(**args)
|
5778
|
+
update!(**args)
|
5779
|
+
end
|
5780
|
+
|
5781
|
+
# Update properties of this object
|
5782
|
+
def update!(**args)
|
5783
|
+
@branch_id = args[:branch_id] if args.key?(:branch_id)
|
5784
|
+
@feed_filters = args[:feed_filters] if args.key?(:feed_filters)
|
5785
|
+
@feed_label = args[:feed_label] if args.key?(:feed_label)
|
5786
|
+
@id = args[:id] if args.key?(:id)
|
5787
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
5788
|
+
@merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
|
5789
|
+
@name = args[:name] if args.key?(:name)
|
5790
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
5791
|
+
@state = args[:state] if args.key?(:state)
|
5792
|
+
end
|
5793
|
+
end
|
5794
|
+
|
5795
|
+
# Merchant Center Feed filter criterion.
|
5796
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
5797
|
+
include Google::Apis::Core::Hashable
|
5798
|
+
|
5799
|
+
# Merchant Center primary feed ID.
|
5800
|
+
# Corresponds to the JSON property `primaryFeedId`
|
5801
|
+
# @return [Fixnum]
|
5802
|
+
attr_accessor :primary_feed_id
|
5803
|
+
|
5804
|
+
# Merchant Center primary feed name. The name is used for the display purposes
|
5805
|
+
# only.
|
5806
|
+
# Corresponds to the JSON property `primaryFeedName`
|
5807
|
+
# @return [String]
|
5808
|
+
attr_accessor :primary_feed_name
|
5809
|
+
|
5810
|
+
def initialize(**args)
|
5811
|
+
update!(**args)
|
5812
|
+
end
|
5813
|
+
|
5814
|
+
# Update properties of this object
|
5815
|
+
def update!(**args)
|
5816
|
+
@primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
|
5817
|
+
@primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
|
5818
|
+
end
|
5819
|
+
end
|
5820
|
+
|
5669
5821
|
# Metadata that describes the training and serving parameters of a Model. A
|
5670
5822
|
# Model can be associated with a ServingConfig and then queried through the
|
5671
5823
|
# Predict API.
|
@@ -6355,6 +6507,32 @@ module Google
|
|
6355
6507
|
end
|
6356
6508
|
end
|
6357
6509
|
|
6510
|
+
# Common metadata related to the progress of the operations.
|
6511
|
+
class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
|
6512
|
+
include Google::Apis::Core::Hashable
|
6513
|
+
|
6514
|
+
# Operation create time.
|
6515
|
+
# Corresponds to the JSON property `createTime`
|
6516
|
+
# @return [String]
|
6517
|
+
attr_accessor :create_time
|
6518
|
+
|
6519
|
+
# Operation last update time. If the operation is done, this is also the finish
|
6520
|
+
# time.
|
6521
|
+
# Corresponds to the JSON property `updateTime`
|
6522
|
+
# @return [String]
|
6523
|
+
attr_accessor :update_time
|
6524
|
+
|
6525
|
+
def initialize(**args)
|
6526
|
+
update!(**args)
|
6527
|
+
end
|
6528
|
+
|
6529
|
+
# Update properties of this object
|
6530
|
+
def update!(**args)
|
6531
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6532
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6533
|
+
end
|
6534
|
+
end
|
6535
|
+
|
6358
6536
|
# Metadata associated with a create operation.
|
6359
6537
|
class GoogleCloudRetailV2betaCreateModelMetadata
|
6360
6538
|
include Google::Apis::Core::Hashable
|
@@ -6668,6 +6846,120 @@ module Google
|
|
6668
6846
|
end
|
6669
6847
|
end
|
6670
6848
|
|
6849
|
+
# Represents a link between a Merchant Center account and a branch. Once a link
|
6850
|
+
# is established, products from the linked merchant center account will be
|
6851
|
+
# streamed to the linked branch.
|
6852
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLink
|
6853
|
+
include Google::Apis::Core::Hashable
|
6854
|
+
|
6855
|
+
# Required. The branch id (e.g. 0/1/2) within the catalog that products from
|
6856
|
+
# merchant_center_account_id are streamed to. When updating this field, an empty
|
6857
|
+
# value will use the currently configured default branch. However, changing the
|
6858
|
+
# default branch later on won't change the linked branch here. A single branch
|
6859
|
+
# id can only have one linked merchant center account id.
|
6860
|
+
# Corresponds to the JSON property `branchId`
|
6861
|
+
# @return [String]
|
6862
|
+
attr_accessor :branch_id
|
6863
|
+
|
6864
|
+
# Criteria for the Merchant Center feeds to be ingested via the link. All offers
|
6865
|
+
# will be ingested if the list is empty. Otherwise the offers will be ingested
|
6866
|
+
# from selected feeds.
|
6867
|
+
# Corresponds to the JSON property `feedFilters`
|
6868
|
+
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
|
6869
|
+
attr_accessor :feed_filters
|
6870
|
+
|
6871
|
+
# The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
|
6872
|
+
# //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
|
6873
|
+
# FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
|
6874
|
+
# Corresponds to the JSON property `feedLabel`
|
6875
|
+
# @return [String]
|
6876
|
+
attr_accessor :feed_label
|
6877
|
+
|
6878
|
+
# Output only. Immutable. MerchantCenterAccountLink identifier, which is the
|
6879
|
+
# final component of name. This field is auto generated and follows the
|
6880
|
+
# convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
|
6881
|
+
# catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
|
6882
|
+
# Corresponds to the JSON property `id`
|
6883
|
+
# @return [String]
|
6884
|
+
attr_accessor :id
|
6885
|
+
|
6886
|
+
# Language of the title/description and other string attributes. Use language
|
6887
|
+
# tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
|
6888
|
+
# 639-1. This specifies the language of offers in Merchant Center that will be
|
6889
|
+
# accepted. If empty, no language filtering will be performed. Example value: `
|
6890
|
+
# en`.
|
6891
|
+
# Corresponds to the JSON property `languageCode`
|
6892
|
+
# @return [String]
|
6893
|
+
attr_accessor :language_code
|
6894
|
+
|
6895
|
+
# Required. The linked [Merchant center account id](https://developers.google.
|
6896
|
+
# com/shopping-content/guides/accountstatuses). The account must be a standalone
|
6897
|
+
# account or a sub-account of a MCA.
|
6898
|
+
# Corresponds to the JSON property `merchantCenterAccountId`
|
6899
|
+
# @return [Fixnum]
|
6900
|
+
attr_accessor :merchant_center_account_id
|
6901
|
+
|
6902
|
+
# Output only. Immutable. Full resource name of the Merchant Center Account Link,
|
6903
|
+
# such as `projects/*/locations/global/catalogs/default_catalog/
|
6904
|
+
# merchantCenterAccountLinks/merchant_center_account_link`.
|
6905
|
+
# Corresponds to the JSON property `name`
|
6906
|
+
# @return [String]
|
6907
|
+
attr_accessor :name
|
6908
|
+
|
6909
|
+
# Output only. Google Cloud project ID.
|
6910
|
+
# Corresponds to the JSON property `projectId`
|
6911
|
+
# @return [String]
|
6912
|
+
attr_accessor :project_id
|
6913
|
+
|
6914
|
+
# Output only. Represents the state of the link.
|
6915
|
+
# Corresponds to the JSON property `state`
|
6916
|
+
# @return [String]
|
6917
|
+
attr_accessor :state
|
6918
|
+
|
6919
|
+
def initialize(**args)
|
6920
|
+
update!(**args)
|
6921
|
+
end
|
6922
|
+
|
6923
|
+
# Update properties of this object
|
6924
|
+
def update!(**args)
|
6925
|
+
@branch_id = args[:branch_id] if args.key?(:branch_id)
|
6926
|
+
@feed_filters = args[:feed_filters] if args.key?(:feed_filters)
|
6927
|
+
@feed_label = args[:feed_label] if args.key?(:feed_label)
|
6928
|
+
@id = args[:id] if args.key?(:id)
|
6929
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
6930
|
+
@merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
|
6931
|
+
@name = args[:name] if args.key?(:name)
|
6932
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
6933
|
+
@state = args[:state] if args.key?(:state)
|
6934
|
+
end
|
6935
|
+
end
|
6936
|
+
|
6937
|
+
# Merchant Center Feed filter criterion.
|
6938
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
6939
|
+
include Google::Apis::Core::Hashable
|
6940
|
+
|
6941
|
+
# Merchant Center primary feed ID.
|
6942
|
+
# Corresponds to the JSON property `primaryFeedId`
|
6943
|
+
# @return [Fixnum]
|
6944
|
+
attr_accessor :primary_feed_id
|
6945
|
+
|
6946
|
+
# Merchant Center primary feed name. The name is used for the display purposes
|
6947
|
+
# only.
|
6948
|
+
# Corresponds to the JSON property `primaryFeedName`
|
6949
|
+
# @return [String]
|
6950
|
+
attr_accessor :primary_feed_name
|
6951
|
+
|
6952
|
+
def initialize(**args)
|
6953
|
+
update!(**args)
|
6954
|
+
end
|
6955
|
+
|
6956
|
+
# Update properties of this object
|
6957
|
+
def update!(**args)
|
6958
|
+
@primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
|
6959
|
+
@primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
|
6960
|
+
end
|
6961
|
+
end
|
6962
|
+
|
6671
6963
|
# Metadata that describes the training and serving parameters of a Model. A
|
6672
6964
|
# Model can be associated with a ServingConfig and then queried through the
|
6673
6965
|
# Predict API.
|
@@ -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.70.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 = "20230413"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -784,6 +784,12 @@ module Google
|
|
784
784
|
include Google::Apis::Core::JsonObjectSupport
|
785
785
|
end
|
786
786
|
|
787
|
+
class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
|
788
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
789
|
+
|
790
|
+
include Google::Apis::Core::JsonObjectSupport
|
791
|
+
end
|
792
|
+
|
787
793
|
class GoogleCloudRetailV2alphaCreateModelMetadata
|
788
794
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
789
795
|
|
@@ -850,6 +856,18 @@ module Google
|
|
850
856
|
include Google::Apis::Core::JsonObjectSupport
|
851
857
|
end
|
852
858
|
|
859
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLink
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
861
|
+
|
862
|
+
include Google::Apis::Core::JsonObjectSupport
|
863
|
+
end
|
864
|
+
|
865
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
853
871
|
class GoogleCloudRetailV2alphaModel
|
854
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
855
873
|
|
@@ -1012,6 +1030,12 @@ module Google
|
|
1012
1030
|
include Google::Apis::Core::JsonObjectSupport
|
1013
1031
|
end
|
1014
1032
|
|
1033
|
+
class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
|
1034
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1035
|
+
|
1036
|
+
include Google::Apis::Core::JsonObjectSupport
|
1037
|
+
end
|
1038
|
+
|
1015
1039
|
class GoogleCloudRetailV2betaCreateModelMetadata
|
1016
1040
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1017
1041
|
|
@@ -1078,6 +1102,18 @@ module Google
|
|
1078
1102
|
include Google::Apis::Core::JsonObjectSupport
|
1079
1103
|
end
|
1080
1104
|
|
1105
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLink
|
1106
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1107
|
+
|
1108
|
+
include Google::Apis::Core::JsonObjectSupport
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
1112
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1113
|
+
|
1114
|
+
include Google::Apis::Core::JsonObjectSupport
|
1115
|
+
end
|
1116
|
+
|
1081
1117
|
class GoogleCloudRetailV2betaModel
|
1082
1118
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1083
1119
|
|
@@ -1519,7 +1555,7 @@ module Google
|
|
1519
1555
|
class GoogleCloudRetailV2ExperimentInfo
|
1520
1556
|
# @private
|
1521
1557
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1522
|
-
property :
|
1558
|
+
property :experiment, as: 'experiment'
|
1523
1559
|
property :serving_config_experiment, as: 'servingConfigExperiment', class: Google::Apis::RetailV2::GoogleCloudRetailV2ExperimentInfoServingConfigExperiment, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ExperimentInfoServingConfigExperiment::Representation
|
1524
1560
|
|
1525
1561
|
end
|
@@ -2130,6 +2166,7 @@ module Google
|
|
2130
2166
|
property :canonical_filter, as: 'canonicalFilter'
|
2131
2167
|
property :dynamic_facet_spec, as: 'dynamicFacetSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestDynamicFacetSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestDynamicFacetSpec::Representation
|
2132
2168
|
|
2169
|
+
property :entity, as: 'entity'
|
2133
2170
|
collection :facet_specs, as: 'facetSpecs', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestFacetSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestFacetSpec::Representation
|
2134
2171
|
|
2135
2172
|
property :filter, as: 'filter'
|
@@ -2379,7 +2416,7 @@ module Google
|
|
2379
2416
|
property :cart_id, as: 'cartId'
|
2380
2417
|
property :completion_detail, as: 'completionDetail', class: Google::Apis::RetailV2::GoogleCloudRetailV2CompletionDetail, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CompletionDetail::Representation
|
2381
2418
|
|
2382
|
-
property :
|
2419
|
+
property :entity, as: 'entity'
|
2383
2420
|
property :event_time, as: 'eventTime'
|
2384
2421
|
property :event_type, as: 'eventType'
|
2385
2422
|
collection :experiment_ids, as: 'experimentIds'
|
@@ -2472,6 +2509,14 @@ module Google
|
|
2472
2509
|
end
|
2473
2510
|
end
|
2474
2511
|
|
2512
|
+
class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
|
2513
|
+
# @private
|
2514
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2515
|
+
property :create_time, as: 'createTime'
|
2516
|
+
property :update_time, as: 'updateTime'
|
2517
|
+
end
|
2518
|
+
end
|
2519
|
+
|
2475
2520
|
class GoogleCloudRetailV2alphaCreateModelMetadata
|
2476
2521
|
# @private
|
2477
2522
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2576,6 +2621,30 @@ module Google
|
|
2576
2621
|
end
|
2577
2622
|
end
|
2578
2623
|
|
2624
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLink
|
2625
|
+
# @private
|
2626
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2627
|
+
property :branch_id, as: 'branchId'
|
2628
|
+
collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
|
2629
|
+
|
2630
|
+
property :feed_label, as: 'feedLabel'
|
2631
|
+
property :id, as: 'id'
|
2632
|
+
property :language_code, as: 'languageCode'
|
2633
|
+
property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
|
2634
|
+
property :name, as: 'name'
|
2635
|
+
property :project_id, as: 'projectId'
|
2636
|
+
property :state, as: 'state'
|
2637
|
+
end
|
2638
|
+
end
|
2639
|
+
|
2640
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
2641
|
+
# @private
|
2642
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2643
|
+
property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
|
2644
|
+
property :primary_feed_name, as: 'primaryFeedName'
|
2645
|
+
end
|
2646
|
+
end
|
2647
|
+
|
2579
2648
|
class GoogleCloudRetailV2alphaModel
|
2580
2649
|
# @private
|
2581
2650
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2785,6 +2854,14 @@ module Google
|
|
2785
2854
|
end
|
2786
2855
|
end
|
2787
2856
|
|
2857
|
+
class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
|
2858
|
+
# @private
|
2859
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2860
|
+
property :create_time, as: 'createTime'
|
2861
|
+
property :update_time, as: 'updateTime'
|
2862
|
+
end
|
2863
|
+
end
|
2864
|
+
|
2788
2865
|
class GoogleCloudRetailV2betaCreateModelMetadata
|
2789
2866
|
# @private
|
2790
2867
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2887,6 +2964,30 @@ module Google
|
|
2887
2964
|
end
|
2888
2965
|
end
|
2889
2966
|
|
2967
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLink
|
2968
|
+
# @private
|
2969
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2970
|
+
property :branch_id, as: 'branchId'
|
2971
|
+
collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
|
2972
|
+
|
2973
|
+
property :feed_label, as: 'feedLabel'
|
2974
|
+
property :id, as: 'id'
|
2975
|
+
property :language_code, as: 'languageCode'
|
2976
|
+
property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
|
2977
|
+
property :name, as: 'name'
|
2978
|
+
property :project_id, as: 'projectId'
|
2979
|
+
property :state, as: 'state'
|
2980
|
+
end
|
2981
|
+
end
|
2982
|
+
|
2983
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
2984
|
+
# @private
|
2985
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2986
|
+
property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
|
2987
|
+
property :primary_feed_name, as: 'primaryFeedName'
|
2988
|
+
end
|
2989
|
+
end
|
2990
|
+
|
2890
2991
|
class GoogleCloudRetailV2betaModel
|
2891
2992
|
# @private
|
2892
2993
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -71,6 +71,11 @@ module Google
|
|
71
71
|
# types, e.g. `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across
|
72
72
|
# all device types. Supported formats: * `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `
|
73
73
|
# MOBILE` * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
|
74
|
+
# @param [String] entity
|
75
|
+
# The entity for customers that may run multiple different entities, domains,
|
76
|
+
# sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`
|
77
|
+
# , `youtube.com`, etc. If this is set, it should be exactly matched with
|
78
|
+
# UserEvent.entity to get per-entity autocomplete results.
|
74
79
|
# @param [Array<String>, String] language_codes
|
75
80
|
# Note that this field applies for `user-data` dataset only. For requests with `
|
76
81
|
# cloud-retail` dataset, setting this field has no effect. The language filters
|
@@ -110,13 +115,14 @@ module Google
|
|
110
115
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
111
116
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
112
117
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
113
|
-
def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
118
|
+
def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, entity: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
114
119
|
command = make_simple_command(:get, 'v2/{+catalog}:completeQuery', options)
|
115
120
|
command.response_representation = Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponse::Representation
|
116
121
|
command.response_class = Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponse
|
117
122
|
command.params['catalog'] = catalog unless catalog.nil?
|
118
123
|
command.query['dataset'] = dataset unless dataset.nil?
|
119
124
|
command.query['deviceType'] = device_type unless device_type.nil?
|
125
|
+
command.query['entity'] = entity unless entity.nil?
|
120
126
|
command.query['languageCodes'] = language_codes unless language_codes.nil?
|
121
127
|
command.query['maxSuggestions'] = max_suggestions unless max_suggestions.nil?
|
122
128
|
command.query['query'] = query unless query.nil?
|
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.70.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-04-23 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.70.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: []
|