google-apis-retail_v2alpha 0.71.0 → 0.73.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: f4154c9d6ff1dd3590856310016be05564b099e9f3005f898b0b563b695270e6
|
4
|
+
data.tar.gz: f4442c982ac8612523538ca476b06f85f21e08fc9ad9aa30d9e2ebf133e6111c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6ba8a7044e5ff19f5055f60e5256d1e93338778ed15c7d3cbf948324c7545cf2619715ae6f135a848d6a2ca60f7302bfddea45c73577229ee91ebe5512687f4
|
7
|
+
data.tar.gz: 11489b01710879077251c914ba43838331c11d986a6f140b3567f7a701309d07267e2e7e667a55e81e7fe7456e5b1971e579b634c89ecb7ee0e5e8986ab76c9b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.73.0 (2023-04-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230413
|
6
|
+
|
7
|
+
### v0.72.0 (2023-03-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230321
|
10
|
+
|
3
11
|
### v0.71.0 (2023-03-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230306
|
@@ -1586,11 +1586,26 @@ module Google
|
|
1586
1586
|
# @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute>]
|
1587
1587
|
attr_accessor :attributes
|
1588
1588
|
|
1589
|
+
# Facet information for the suggestion term. Gives the number of items resulting
|
1590
|
+
# from a search with this suggestion term for each facet. This is an
|
1591
|
+
# experimental feature for limited customers. If you want to receive this facet
|
1592
|
+
# information, reach out to the Retail support team.
|
1593
|
+
# Corresponds to the JSON property `facets`
|
1594
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchResponseFacet>]
|
1595
|
+
attr_accessor :facets
|
1596
|
+
|
1589
1597
|
# The suggestion for the query.
|
1590
1598
|
# Corresponds to the JSON property `suggestion`
|
1591
1599
|
# @return [String]
|
1592
1600
|
attr_accessor :suggestion
|
1593
1601
|
|
1602
|
+
# Total number of products associated with a search with this suggestion. This
|
1603
|
+
# is an experimental feature for limited customers. If you want to receive this
|
1604
|
+
# product count information, reach out to the Retail support team.
|
1605
|
+
# Corresponds to the JSON property `totalProductCount`
|
1606
|
+
# @return [Fixnum]
|
1607
|
+
attr_accessor :total_product_count
|
1608
|
+
|
1594
1609
|
def initialize(**args)
|
1595
1610
|
update!(**args)
|
1596
1611
|
end
|
@@ -1598,7 +1613,9 @@ module Google
|
|
1598
1613
|
# Update properties of this object
|
1599
1614
|
def update!(**args)
|
1600
1615
|
@attributes = args[:attributes] if args.key?(:attributes)
|
1616
|
+
@facets = args[:facets] if args.key?(:facets)
|
1601
1617
|
@suggestion = args[:suggestion] if args.key?(:suggestion)
|
1618
|
+
@total_product_count = args[:total_product_count] if args.key?(:total_product_count)
|
1602
1619
|
end
|
1603
1620
|
end
|
1604
1621
|
|
@@ -1929,6 +1946,32 @@ module Google
|
|
1929
1946
|
end
|
1930
1947
|
end
|
1931
1948
|
|
1949
|
+
# Common metadata related to the progress of the operations.
|
1950
|
+
class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
|
1951
|
+
include Google::Apis::Core::Hashable
|
1952
|
+
|
1953
|
+
# Operation create time.
|
1954
|
+
# Corresponds to the JSON property `createTime`
|
1955
|
+
# @return [String]
|
1956
|
+
attr_accessor :create_time
|
1957
|
+
|
1958
|
+
# Operation last update time. If the operation is done, this is also the finish
|
1959
|
+
# time.
|
1960
|
+
# Corresponds to the JSON property `updateTime`
|
1961
|
+
# @return [String]
|
1962
|
+
attr_accessor :update_time
|
1963
|
+
|
1964
|
+
def initialize(**args)
|
1965
|
+
update!(**args)
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
# Update properties of this object
|
1969
|
+
def update!(**args)
|
1970
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1971
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1972
|
+
end
|
1973
|
+
end
|
1974
|
+
|
1932
1975
|
# Metadata associated with a create operation.
|
1933
1976
|
class GoogleCloudRetailV2alphaCreateModelMetadata
|
1934
1977
|
include Google::Apis::Core::Hashable
|
@@ -2014,9 +2057,9 @@ module Google
|
|
2014
2057
|
# The fully qualified resource name of the experiment that provides the serving
|
2015
2058
|
# config under test, should an active experiment exist. For example: `projects/*/
|
2016
2059
|
# locations/global/catalogs/default_catalog/experiments/experiment_id`
|
2017
|
-
# Corresponds to the JSON property `
|
2060
|
+
# Corresponds to the JSON property `experiment`
|
2018
2061
|
# @return [String]
|
2019
|
-
attr_accessor :
|
2062
|
+
attr_accessor :experiment
|
2020
2063
|
|
2021
2064
|
# Metadata for active serving config A/B tests.
|
2022
2065
|
# Corresponds to the JSON property `servingConfigExperiment`
|
@@ -2029,7 +2072,7 @@ module Google
|
|
2029
2072
|
|
2030
2073
|
# Update properties of this object
|
2031
2074
|
def update!(**args)
|
2032
|
-
@
|
2075
|
+
@experiment = args[:experiment] if args.key?(:experiment)
|
2033
2076
|
@serving_config_experiment = args[:serving_config_experiment] if args.key?(:serving_config_experiment)
|
2034
2077
|
end
|
2035
2078
|
end
|
@@ -2717,6 +2760,26 @@ module Google
|
|
2717
2760
|
end
|
2718
2761
|
end
|
2719
2762
|
|
2763
|
+
# Response for MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks
|
2764
|
+
# method.
|
2765
|
+
class GoogleCloudRetailV2alphaListMerchantCenterAccountLinksResponse
|
2766
|
+
include Google::Apis::Core::Hashable
|
2767
|
+
|
2768
|
+
# The links.
|
2769
|
+
# Corresponds to the JSON property `merchantCenterAccountLinks`
|
2770
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLink>]
|
2771
|
+
attr_accessor :merchant_center_account_links
|
2772
|
+
|
2773
|
+
def initialize(**args)
|
2774
|
+
update!(**args)
|
2775
|
+
end
|
2776
|
+
|
2777
|
+
# Update properties of this object
|
2778
|
+
def update!(**args)
|
2779
|
+
@merchant_center_account_links = args[:merchant_center_account_links] if args.key?(:merchant_center_account_links)
|
2780
|
+
end
|
2781
|
+
end
|
2782
|
+
|
2720
2783
|
# Response to a ListModelRequest.
|
2721
2784
|
class GoogleCloudRetailV2alphaListModelsResponse
|
2722
2785
|
include Google::Apis::Core::Hashable
|
@@ -2855,6 +2918,120 @@ module Google
|
|
2855
2918
|
end
|
2856
2919
|
end
|
2857
2920
|
|
2921
|
+
# Represents a link between a Merchant Center account and a branch. Once a link
|
2922
|
+
# is established, products from the linked merchant center account will be
|
2923
|
+
# streamed to the linked branch.
|
2924
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLink
|
2925
|
+
include Google::Apis::Core::Hashable
|
2926
|
+
|
2927
|
+
# Required. The branch id (e.g. 0/1/2) within the catalog that products from
|
2928
|
+
# merchant_center_account_id are streamed to. When updating this field, an empty
|
2929
|
+
# value will use the currently configured default branch. However, changing the
|
2930
|
+
# default branch later on won't change the linked branch here. A single branch
|
2931
|
+
# id can only have one linked merchant center account id.
|
2932
|
+
# Corresponds to the JSON property `branchId`
|
2933
|
+
# @return [String]
|
2934
|
+
attr_accessor :branch_id
|
2935
|
+
|
2936
|
+
# Criteria for the Merchant Center feeds to be ingested via the link. All offers
|
2937
|
+
# will be ingested if the list is empty. Otherwise the offers will be ingested
|
2938
|
+
# from selected feeds.
|
2939
|
+
# Corresponds to the JSON property `feedFilters`
|
2940
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
|
2941
|
+
attr_accessor :feed_filters
|
2942
|
+
|
2943
|
+
# The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
|
2944
|
+
# //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
|
2945
|
+
# FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
|
2946
|
+
# Corresponds to the JSON property `feedLabel`
|
2947
|
+
# @return [String]
|
2948
|
+
attr_accessor :feed_label
|
2949
|
+
|
2950
|
+
# Output only. Immutable. MerchantCenterAccountLink identifier, which is the
|
2951
|
+
# final component of name. This field is auto generated and follows the
|
2952
|
+
# convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
|
2953
|
+
# catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
|
2954
|
+
# Corresponds to the JSON property `id`
|
2955
|
+
# @return [String]
|
2956
|
+
attr_accessor :id
|
2957
|
+
|
2958
|
+
# Language of the title/description and other string attributes. Use language
|
2959
|
+
# tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
|
2960
|
+
# 639-1. This specifies the language of offers in Merchant Center that will be
|
2961
|
+
# accepted. If empty, no language filtering will be performed. Example value: `
|
2962
|
+
# en`.
|
2963
|
+
# Corresponds to the JSON property `languageCode`
|
2964
|
+
# @return [String]
|
2965
|
+
attr_accessor :language_code
|
2966
|
+
|
2967
|
+
# Required. The linked [Merchant center account id](https://developers.google.
|
2968
|
+
# com/shopping-content/guides/accountstatuses). The account must be a standalone
|
2969
|
+
# account or a sub-account of a MCA.
|
2970
|
+
# Corresponds to the JSON property `merchantCenterAccountId`
|
2971
|
+
# @return [Fixnum]
|
2972
|
+
attr_accessor :merchant_center_account_id
|
2973
|
+
|
2974
|
+
# Output only. Immutable. Full resource name of the Merchant Center Account Link,
|
2975
|
+
# such as `projects/*/locations/global/catalogs/default_catalog/
|
2976
|
+
# merchantCenterAccountLinks/merchant_center_account_link`.
|
2977
|
+
# Corresponds to the JSON property `name`
|
2978
|
+
# @return [String]
|
2979
|
+
attr_accessor :name
|
2980
|
+
|
2981
|
+
# Output only. Google Cloud project ID.
|
2982
|
+
# Corresponds to the JSON property `projectId`
|
2983
|
+
# @return [String]
|
2984
|
+
attr_accessor :project_id
|
2985
|
+
|
2986
|
+
# Output only. Represents the state of the link.
|
2987
|
+
# Corresponds to the JSON property `state`
|
2988
|
+
# @return [String]
|
2989
|
+
attr_accessor :state
|
2990
|
+
|
2991
|
+
def initialize(**args)
|
2992
|
+
update!(**args)
|
2993
|
+
end
|
2994
|
+
|
2995
|
+
# Update properties of this object
|
2996
|
+
def update!(**args)
|
2997
|
+
@branch_id = args[:branch_id] if args.key?(:branch_id)
|
2998
|
+
@feed_filters = args[:feed_filters] if args.key?(:feed_filters)
|
2999
|
+
@feed_label = args[:feed_label] if args.key?(:feed_label)
|
3000
|
+
@id = args[:id] if args.key?(:id)
|
3001
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
3002
|
+
@merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
|
3003
|
+
@name = args[:name] if args.key?(:name)
|
3004
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
3005
|
+
@state = args[:state] if args.key?(:state)
|
3006
|
+
end
|
3007
|
+
end
|
3008
|
+
|
3009
|
+
# Merchant Center Feed filter criterion.
|
3010
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
3011
|
+
include Google::Apis::Core::Hashable
|
3012
|
+
|
3013
|
+
# Merchant Center primary feed ID.
|
3014
|
+
# Corresponds to the JSON property `primaryFeedId`
|
3015
|
+
# @return [Fixnum]
|
3016
|
+
attr_accessor :primary_feed_id
|
3017
|
+
|
3018
|
+
# Merchant Center primary feed name. The name is used for the display purposes
|
3019
|
+
# only.
|
3020
|
+
# Corresponds to the JSON property `primaryFeedName`
|
3021
|
+
# @return [String]
|
3022
|
+
attr_accessor :primary_feed_name
|
3023
|
+
|
3024
|
+
def initialize(**args)
|
3025
|
+
update!(**args)
|
3026
|
+
end
|
3027
|
+
|
3028
|
+
# Update properties of this object
|
3029
|
+
def update!(**args)
|
3030
|
+
@primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
|
3031
|
+
@primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
|
3032
|
+
end
|
3033
|
+
end
|
3034
|
+
|
2858
3035
|
# Merchant Center Feed filter criterion.
|
2859
3036
|
class GoogleCloudRetailV2alphaMerchantCenterFeedFilter
|
2860
3037
|
include Google::Apis::Core::Hashable
|
@@ -3300,9 +3477,9 @@ module Google
|
|
3300
3477
|
# filterSyntaxV2` is set to true under the `params` field, then attribute-based
|
3301
3478
|
# expressions are expected instead of the above described tag-based syntax.
|
3302
3479
|
# Examples: * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) *
|
3303
|
-
# (
|
3304
|
-
# For more information, see [Filter recommendations](https://cloud.
|
3305
|
-
# retail/docs/filter-recs).
|
3480
|
+
# (availability: ANY("IN_STOCK")) AND (colors: ANY("Red") OR categories: ANY("
|
3481
|
+
# Phones")) For more information, see [Filter recommendations](https://cloud.
|
3482
|
+
# google.com/retail/docs/filter-recs).
|
3306
3483
|
# Corresponds to the JSON property `filter`
|
3307
3484
|
# @return [String]
|
3308
3485
|
attr_accessor :filter
|
@@ -5006,8 +5183,16 @@ module Google
|
|
5006
5183
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec]
|
5007
5184
|
attr_accessor :dynamic_facet_spec
|
5008
5185
|
|
5186
|
+
# The entity for customers that may run multiple different entities, domains,
|
5187
|
+
# sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`
|
5188
|
+
# , `youtube.com`, etc. If this is set, it should be exactly matched with
|
5189
|
+
# UserEvent.entity to get search results boosted by entity.
|
5190
|
+
# Corresponds to the JSON property `entity`
|
5191
|
+
# @return [String]
|
5192
|
+
attr_accessor :entity
|
5193
|
+
|
5009
5194
|
# Facet specifications for faceted search. If empty, no facets are returned. A
|
5010
|
-
# maximum of
|
5195
|
+
# maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error is
|
5011
5196
|
# returned.
|
5012
5197
|
# Corresponds to the JSON property `facetSpecs`
|
5013
5198
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec>]
|
@@ -5054,7 +5239,7 @@ module Google
|
|
5054
5239
|
# @return [String]
|
5055
5240
|
attr_accessor :order_by
|
5056
5241
|
|
5057
|
-
# The categories associated with a category page.
|
5242
|
+
# The categories associated with a category page. Must be set for category
|
5058
5243
|
# navigation queries to achieve good search quality. The format should be the
|
5059
5244
|
# same as UserEvent.page_categories; To represent full path of category, use '>'
|
5060
5245
|
# sign to separate different hierarchies. If '>' is part of the category name,
|
@@ -5171,6 +5356,7 @@ module Google
|
|
5171
5356
|
@branch = args[:branch] if args.key?(:branch)
|
5172
5357
|
@canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
|
5173
5358
|
@dynamic_facet_spec = args[:dynamic_facet_spec] if args.key?(:dynamic_facet_spec)
|
5359
|
+
@entity = args[:entity] if args.key?(:entity)
|
5174
5360
|
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
|
5175
5361
|
@filter = args[:filter] if args.key?(:filter)
|
5176
5362
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -5373,7 +5559,13 @@ module Google
|
|
5373
5559
|
|
5374
5560
|
# Set only if values should be bucketized into intervals. Must be set for facets
|
5375
5561
|
# with numerical values. Must not be set for facet with text values. Maximum
|
5376
|
-
# number of intervals is
|
5562
|
+
# number of intervals is 40. For all numerical facet keys that appear in the
|
5563
|
+
# list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90 and
|
5564
|
+
# 100 are computed from their distribution weekly. If the model assigns a high
|
5565
|
+
# score to a numerical facet key and its intervals are not specified in the
|
5566
|
+
# search request, these percentiles will become the bounds for its intervals and
|
5567
|
+
# will be returned in the response. If the facet key intervals are specified in
|
5568
|
+
# the request, then the specified intervals will be returned instead.
|
5377
5569
|
# Corresponds to the JSON property `intervals`
|
5378
5570
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval>]
|
5379
5571
|
attr_accessor :intervals
|
@@ -6230,12 +6422,13 @@ module Google
|
|
6230
6422
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompletionDetail]
|
6231
6423
|
attr_accessor :completion_detail
|
6232
6424
|
|
6233
|
-
#
|
6234
|
-
#
|
6235
|
-
#
|
6236
|
-
#
|
6425
|
+
# The entity for customers that may run multiple different entities, domains,
|
6426
|
+
# sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`
|
6427
|
+
# , `youtube.com`, etc. It is recommended to set this field to get better per-
|
6428
|
+
# entity search, completion and prediction results.
|
6429
|
+
# Corresponds to the JSON property `entity`
|
6237
6430
|
# @return [String]
|
6238
|
-
attr_accessor :
|
6431
|
+
attr_accessor :entity
|
6239
6432
|
|
6240
6433
|
# Only required for UserEventService.ImportUserEvents method. Timestamp of when
|
6241
6434
|
# the user event happened.
|
@@ -6392,7 +6585,7 @@ module Google
|
|
6392
6585
|
@attribution_token = args[:attribution_token] if args.key?(:attribution_token)
|
6393
6586
|
@cart_id = args[:cart_id] if args.key?(:cart_id)
|
6394
6587
|
@completion_detail = args[:completion_detail] if args.key?(:completion_detail)
|
6395
|
-
@
|
6588
|
+
@entity = args[:entity] if args.key?(:entity)
|
6396
6589
|
@event_time = args[:event_time] if args.key?(:event_time)
|
6397
6590
|
@event_type = args[:event_type] if args.key?(:event_type)
|
6398
6591
|
@experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids)
|
@@ -6632,6 +6825,32 @@ module Google
|
|
6632
6825
|
end
|
6633
6826
|
end
|
6634
6827
|
|
6828
|
+
# Common metadata related to the progress of the operations.
|
6829
|
+
class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
|
6830
|
+
include Google::Apis::Core::Hashable
|
6831
|
+
|
6832
|
+
# Operation create time.
|
6833
|
+
# Corresponds to the JSON property `createTime`
|
6834
|
+
# @return [String]
|
6835
|
+
attr_accessor :create_time
|
6836
|
+
|
6837
|
+
# Operation last update time. If the operation is done, this is also the finish
|
6838
|
+
# time.
|
6839
|
+
# Corresponds to the JSON property `updateTime`
|
6840
|
+
# @return [String]
|
6841
|
+
attr_accessor :update_time
|
6842
|
+
|
6843
|
+
def initialize(**args)
|
6844
|
+
update!(**args)
|
6845
|
+
end
|
6846
|
+
|
6847
|
+
# Update properties of this object
|
6848
|
+
def update!(**args)
|
6849
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6850
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6851
|
+
end
|
6852
|
+
end
|
6853
|
+
|
6635
6854
|
# Metadata associated with a create operation.
|
6636
6855
|
class GoogleCloudRetailV2betaCreateModelMetadata
|
6637
6856
|
include Google::Apis::Core::Hashable
|
@@ -6945,6 +7164,120 @@ module Google
|
|
6945
7164
|
end
|
6946
7165
|
end
|
6947
7166
|
|
7167
|
+
# Represents a link between a Merchant Center account and a branch. Once a link
|
7168
|
+
# is established, products from the linked merchant center account will be
|
7169
|
+
# streamed to the linked branch.
|
7170
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLink
|
7171
|
+
include Google::Apis::Core::Hashable
|
7172
|
+
|
7173
|
+
# Required. The branch id (e.g. 0/1/2) within the catalog that products from
|
7174
|
+
# merchant_center_account_id are streamed to. When updating this field, an empty
|
7175
|
+
# value will use the currently configured default branch. However, changing the
|
7176
|
+
# default branch later on won't change the linked branch here. A single branch
|
7177
|
+
# id can only have one linked merchant center account id.
|
7178
|
+
# Corresponds to the JSON property `branchId`
|
7179
|
+
# @return [String]
|
7180
|
+
attr_accessor :branch_id
|
7181
|
+
|
7182
|
+
# Criteria for the Merchant Center feeds to be ingested via the link. All offers
|
7183
|
+
# will be ingested if the list is empty. Otherwise the offers will be ingested
|
7184
|
+
# from selected feeds.
|
7185
|
+
# Corresponds to the JSON property `feedFilters`
|
7186
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
|
7187
|
+
attr_accessor :feed_filters
|
7188
|
+
|
7189
|
+
# The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
|
7190
|
+
# //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
|
7191
|
+
# FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
|
7192
|
+
# Corresponds to the JSON property `feedLabel`
|
7193
|
+
# @return [String]
|
7194
|
+
attr_accessor :feed_label
|
7195
|
+
|
7196
|
+
# Output only. Immutable. MerchantCenterAccountLink identifier, which is the
|
7197
|
+
# final component of name. This field is auto generated and follows the
|
7198
|
+
# convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
|
7199
|
+
# catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
|
7200
|
+
# Corresponds to the JSON property `id`
|
7201
|
+
# @return [String]
|
7202
|
+
attr_accessor :id
|
7203
|
+
|
7204
|
+
# Language of the title/description and other string attributes. Use language
|
7205
|
+
# tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
|
7206
|
+
# 639-1. This specifies the language of offers in Merchant Center that will be
|
7207
|
+
# accepted. If empty, no language filtering will be performed. Example value: `
|
7208
|
+
# en`.
|
7209
|
+
# Corresponds to the JSON property `languageCode`
|
7210
|
+
# @return [String]
|
7211
|
+
attr_accessor :language_code
|
7212
|
+
|
7213
|
+
# Required. The linked [Merchant center account id](https://developers.google.
|
7214
|
+
# com/shopping-content/guides/accountstatuses). The account must be a standalone
|
7215
|
+
# account or a sub-account of a MCA.
|
7216
|
+
# Corresponds to the JSON property `merchantCenterAccountId`
|
7217
|
+
# @return [Fixnum]
|
7218
|
+
attr_accessor :merchant_center_account_id
|
7219
|
+
|
7220
|
+
# Output only. Immutable. Full resource name of the Merchant Center Account Link,
|
7221
|
+
# such as `projects/*/locations/global/catalogs/default_catalog/
|
7222
|
+
# merchantCenterAccountLinks/merchant_center_account_link`.
|
7223
|
+
# Corresponds to the JSON property `name`
|
7224
|
+
# @return [String]
|
7225
|
+
attr_accessor :name
|
7226
|
+
|
7227
|
+
# Output only. Google Cloud project ID.
|
7228
|
+
# Corresponds to the JSON property `projectId`
|
7229
|
+
# @return [String]
|
7230
|
+
attr_accessor :project_id
|
7231
|
+
|
7232
|
+
# Output only. Represents the state of the link.
|
7233
|
+
# Corresponds to the JSON property `state`
|
7234
|
+
# @return [String]
|
7235
|
+
attr_accessor :state
|
7236
|
+
|
7237
|
+
def initialize(**args)
|
7238
|
+
update!(**args)
|
7239
|
+
end
|
7240
|
+
|
7241
|
+
# Update properties of this object
|
7242
|
+
def update!(**args)
|
7243
|
+
@branch_id = args[:branch_id] if args.key?(:branch_id)
|
7244
|
+
@feed_filters = args[:feed_filters] if args.key?(:feed_filters)
|
7245
|
+
@feed_label = args[:feed_label] if args.key?(:feed_label)
|
7246
|
+
@id = args[:id] if args.key?(:id)
|
7247
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
7248
|
+
@merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
|
7249
|
+
@name = args[:name] if args.key?(:name)
|
7250
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
7251
|
+
@state = args[:state] if args.key?(:state)
|
7252
|
+
end
|
7253
|
+
end
|
7254
|
+
|
7255
|
+
# Merchant Center Feed filter criterion.
|
7256
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
7257
|
+
include Google::Apis::Core::Hashable
|
7258
|
+
|
7259
|
+
# Merchant Center primary feed ID.
|
7260
|
+
# Corresponds to the JSON property `primaryFeedId`
|
7261
|
+
# @return [Fixnum]
|
7262
|
+
attr_accessor :primary_feed_id
|
7263
|
+
|
7264
|
+
# Merchant Center primary feed name. The name is used for the display purposes
|
7265
|
+
# only.
|
7266
|
+
# Corresponds to the JSON property `primaryFeedName`
|
7267
|
+
# @return [String]
|
7268
|
+
attr_accessor :primary_feed_name
|
7269
|
+
|
7270
|
+
def initialize(**args)
|
7271
|
+
update!(**args)
|
7272
|
+
end
|
7273
|
+
|
7274
|
+
# Update properties of this object
|
7275
|
+
def update!(**args)
|
7276
|
+
@primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
|
7277
|
+
@primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
|
7278
|
+
end
|
7279
|
+
end
|
7280
|
+
|
6948
7281
|
# Metadata that describes the training and serving parameters of a Model. A
|
6949
7282
|
# Model can be associated with a ServingConfig and then queried through the
|
6950
7283
|
# Predict API.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2alpha
|
18
18
|
# Version of the google-apis-retail_v2alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.73.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
|
@@ -382,6 +382,12 @@ module Google
|
|
382
382
|
include Google::Apis::Core::JsonObjectSupport
|
383
383
|
end
|
384
384
|
|
385
|
+
class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
385
391
|
class GoogleCloudRetailV2alphaCreateModelMetadata
|
386
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
393
|
|
@@ -526,6 +532,12 @@ module Google
|
|
526
532
|
include Google::Apis::Core::JsonObjectSupport
|
527
533
|
end
|
528
534
|
|
535
|
+
class GoogleCloudRetailV2alphaListMerchantCenterAccountLinksResponse
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
529
541
|
class GoogleCloudRetailV2alphaListModelsResponse
|
530
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
543
|
|
@@ -550,6 +562,18 @@ module Google
|
|
550
562
|
include Google::Apis::Core::JsonObjectSupport
|
551
563
|
end
|
552
564
|
|
565
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLink
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
|
+
|
568
|
+
include Google::Apis::Core::JsonObjectSupport
|
569
|
+
end
|
570
|
+
|
571
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
553
577
|
class GoogleCloudRetailV2alphaMerchantCenterFeedFilter
|
554
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
579
|
|
@@ -1054,6 +1078,12 @@ module Google
|
|
1054
1078
|
include Google::Apis::Core::JsonObjectSupport
|
1055
1079
|
end
|
1056
1080
|
|
1081
|
+
class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
|
1082
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1083
|
+
|
1084
|
+
include Google::Apis::Core::JsonObjectSupport
|
1085
|
+
end
|
1086
|
+
|
1057
1087
|
class GoogleCloudRetailV2betaCreateModelMetadata
|
1058
1088
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1059
1089
|
|
@@ -1120,6 +1150,18 @@ module Google
|
|
1120
1150
|
include Google::Apis::Core::JsonObjectSupport
|
1121
1151
|
end
|
1122
1152
|
|
1153
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLink
|
1154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1155
|
+
|
1156
|
+
include Google::Apis::Core::JsonObjectSupport
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
1160
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1161
|
+
|
1162
|
+
include Google::Apis::Core::JsonObjectSupport
|
1163
|
+
end
|
1164
|
+
|
1123
1165
|
class GoogleCloudRetailV2betaModel
|
1124
1166
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1125
1167
|
|
@@ -1680,7 +1722,10 @@ module Google
|
|
1680
1722
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1681
1723
|
hash :attributes, as: 'attributes', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute::Representation
|
1682
1724
|
|
1725
|
+
collection :facets, as: 'facets', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchResponseFacet, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchResponseFacet::Representation
|
1726
|
+
|
1683
1727
|
property :suggestion, as: 'suggestion'
|
1728
|
+
property :total_product_count, as: 'totalProductCount'
|
1684
1729
|
end
|
1685
1730
|
end
|
1686
1731
|
|
@@ -1769,6 +1814,14 @@ module Google
|
|
1769
1814
|
end
|
1770
1815
|
end
|
1771
1816
|
|
1817
|
+
class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
|
1818
|
+
# @private
|
1819
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1820
|
+
property :create_time, as: 'createTime'
|
1821
|
+
property :update_time, as: 'updateTime'
|
1822
|
+
end
|
1823
|
+
end
|
1824
|
+
|
1772
1825
|
class GoogleCloudRetailV2alphaCreateModelMetadata
|
1773
1826
|
# @private
|
1774
1827
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1789,7 +1842,7 @@ module Google
|
|
1789
1842
|
class GoogleCloudRetailV2alphaExperimentInfo
|
1790
1843
|
# @private
|
1791
1844
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1792
|
-
property :
|
1845
|
+
property :experiment, as: 'experiment'
|
1793
1846
|
property :serving_config_experiment, as: 'servingConfigExperiment', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment::Representation
|
1794
1847
|
|
1795
1848
|
end
|
@@ -1996,6 +2049,14 @@ module Google
|
|
1996
2049
|
end
|
1997
2050
|
end
|
1998
2051
|
|
2052
|
+
class GoogleCloudRetailV2alphaListMerchantCenterAccountLinksResponse
|
2053
|
+
# @private
|
2054
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2055
|
+
collection :merchant_center_account_links, as: 'merchantCenterAccountLinks', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLink, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLink::Representation
|
2056
|
+
|
2057
|
+
end
|
2058
|
+
end
|
2059
|
+
|
1999
2060
|
class GoogleCloudRetailV2alphaListModelsResponse
|
2000
2061
|
# @private
|
2001
2062
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2036,6 +2097,30 @@ module Google
|
|
2036
2097
|
end
|
2037
2098
|
end
|
2038
2099
|
|
2100
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLink
|
2101
|
+
# @private
|
2102
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2103
|
+
property :branch_id, as: 'branchId'
|
2104
|
+
collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
|
2105
|
+
|
2106
|
+
property :feed_label, as: 'feedLabel'
|
2107
|
+
property :id, as: 'id'
|
2108
|
+
property :language_code, as: 'languageCode'
|
2109
|
+
property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
|
2110
|
+
property :name, as: 'name'
|
2111
|
+
property :project_id, as: 'projectId'
|
2112
|
+
property :state, as: 'state'
|
2113
|
+
end
|
2114
|
+
end
|
2115
|
+
|
2116
|
+
class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
2117
|
+
# @private
|
2118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2119
|
+
property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
|
2120
|
+
property :primary_feed_name, as: 'primaryFeedName'
|
2121
|
+
end
|
2122
|
+
end
|
2123
|
+
|
2039
2124
|
class GoogleCloudRetailV2alphaMerchantCenterFeedFilter
|
2040
2125
|
# @private
|
2041
2126
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2545,6 +2630,7 @@ module Google
|
|
2545
2630
|
property :canonical_filter, as: 'canonicalFilter'
|
2546
2631
|
property :dynamic_facet_spec, as: 'dynamicFacetSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec::Representation
|
2547
2632
|
|
2633
|
+
property :entity, as: 'entity'
|
2548
2634
|
collection :facet_specs, as: 'facetSpecs', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec::Representation
|
2549
2635
|
|
2550
2636
|
property :filter, as: 'filter'
|
@@ -2803,7 +2889,7 @@ module Google
|
|
2803
2889
|
property :cart_id, as: 'cartId'
|
2804
2890
|
property :completion_detail, as: 'completionDetail', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompletionDetail, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompletionDetail::Representation
|
2805
2891
|
|
2806
|
-
property :
|
2892
|
+
property :entity, as: 'entity'
|
2807
2893
|
property :event_time, as: 'eventTime'
|
2808
2894
|
property :event_type, as: 'eventType'
|
2809
2895
|
collection :experiment_ids, as: 'experimentIds'
|
@@ -2896,6 +2982,14 @@ module Google
|
|
2896
2982
|
end
|
2897
2983
|
end
|
2898
2984
|
|
2985
|
+
class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
|
2986
|
+
# @private
|
2987
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2988
|
+
property :create_time, as: 'createTime'
|
2989
|
+
property :update_time, as: 'updateTime'
|
2990
|
+
end
|
2991
|
+
end
|
2992
|
+
|
2899
2993
|
class GoogleCloudRetailV2betaCreateModelMetadata
|
2900
2994
|
# @private
|
2901
2995
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2998,6 +3092,30 @@ module Google
|
|
2998
3092
|
end
|
2999
3093
|
end
|
3000
3094
|
|
3095
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLink
|
3096
|
+
# @private
|
3097
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3098
|
+
property :branch_id, as: 'branchId'
|
3099
|
+
collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
|
3100
|
+
|
3101
|
+
property :feed_label, as: 'feedLabel'
|
3102
|
+
property :id, as: 'id'
|
3103
|
+
property :language_code, as: 'languageCode'
|
3104
|
+
property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
|
3105
|
+
property :name, as: 'name'
|
3106
|
+
property :project_id, as: 'projectId'
|
3107
|
+
property :state, as: 'state'
|
3108
|
+
end
|
3109
|
+
end
|
3110
|
+
|
3111
|
+
class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
|
3112
|
+
# @private
|
3113
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3114
|
+
property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
|
3115
|
+
property :primary_feed_name, as: 'primaryFeedName'
|
3116
|
+
end
|
3117
|
+
end
|
3118
|
+
|
3001
3119
|
class GoogleCloudRetailV2betaModel
|
3002
3120
|
# @private
|
3003
3121
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -74,6 +74,11 @@ module Google
|
|
74
74
|
# @param [Boolean] enable_attribute_suggestions
|
75
75
|
# If true, attribute suggestions are enabled and provided in response. This
|
76
76
|
# field is only available for "cloud-retail" dataset.
|
77
|
+
# @param [String] entity
|
78
|
+
# The entity for customers that may run multiple different entities, domains,
|
79
|
+
# sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`
|
80
|
+
# , `youtube.com`, etc. If this is set, it should be exactly matched with
|
81
|
+
# UserEvent.entity to get per-entity autocomplete results.
|
77
82
|
# @param [Array<String>, String] language_codes
|
78
83
|
# Note that this field applies for `user-data` dataset only. For requests with `
|
79
84
|
# cloud-retail` dataset, setting this field has no effect. The language filters
|
@@ -113,7 +118,7 @@ module Google
|
|
113
118
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
119
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
120
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
-
def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, enable_attribute_suggestions: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
121
|
+
def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, enable_attribute_suggestions: nil, entity: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
122
|
command = make_simple_command(:get, 'v2alpha/{+catalog}:completeQuery', options)
|
118
123
|
command.response_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponse::Representation
|
119
124
|
command.response_class = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponse
|
@@ -121,6 +126,7 @@ module Google
|
|
121
126
|
command.query['dataset'] = dataset unless dataset.nil?
|
122
127
|
command.query['deviceType'] = device_type unless device_type.nil?
|
123
128
|
command.query['enableAttributeSuggestions'] = enable_attribute_suggestions unless enable_attribute_suggestions.nil?
|
129
|
+
command.query['entity'] = entity unless entity.nil?
|
124
130
|
command.query['languageCodes'] = language_codes unless language_codes.nil?
|
125
131
|
command.query['maxSuggestions'] = max_suggestions unless max_suggestions.nil?
|
126
132
|
command.query['query'] = query unless query.nil?
|
@@ -794,7 +800,7 @@ module Google
|
|
794
800
|
# Product.Type.PRIMARY Product with more than one variants. Otherwise, an
|
795
801
|
# INVALID_ARGUMENT error is returned. All inventory information for the named
|
796
802
|
# Product will be deleted.
|
797
|
-
# @param [Boolean]
|
803
|
+
# @param [Boolean] force
|
798
804
|
# This value only applies to the case when the target product is of type PRIMARY.
|
799
805
|
# When deleting a product of VARIANT/COLLECTION type, this value will be
|
800
806
|
# ignored. When set to true, the subsequent variant products will be deleted.
|
@@ -817,12 +823,12 @@ module Google
|
|
817
823
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
818
824
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
819
825
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
820
|
-
def delete_project_location_catalog_branch_product(name,
|
826
|
+
def delete_project_location_catalog_branch_product(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
821
827
|
command = make_simple_command(:delete, 'v2alpha/{+name}', options)
|
822
828
|
command.response_representation = Google::Apis::RetailV2alpha::GoogleProtobufEmpty::Representation
|
823
829
|
command.response_class = Google::Apis::RetailV2alpha::GoogleProtobufEmpty
|
824
830
|
command.params['name'] = name unless name.nil?
|
825
|
-
command.query['
|
831
|
+
command.query['force'] = force unless force.nil?
|
826
832
|
command.query['fields'] = fields unless fields.nil?
|
827
833
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
828
834
|
execute_or_queue_command(command, &block)
|
@@ -1438,6 +1444,111 @@ module Google
|
|
1438
1444
|
execute_or_queue_command(command, &block)
|
1439
1445
|
end
|
1440
1446
|
|
1447
|
+
# Creates a MerchantCenterAccountLink. MerchantCenterAccountLink cannot be set
|
1448
|
+
# to a different oneof field, if so an INVALID_ARGUMENT is returned.
|
1449
|
+
# @param [String] name
|
1450
|
+
# Output only. Immutable. Full resource name of the Merchant Center Account Link,
|
1451
|
+
# such as `projects/*/locations/global/catalogs/default_catalog/
|
1452
|
+
# merchantCenterAccountLinks/merchant_center_account_link`.
|
1453
|
+
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLink] google_cloud_retail_v2alpha_merchant_center_account_link_object
|
1454
|
+
# @param [String] parent
|
1455
|
+
# Required. The branch resource where this MerchantCenterAccountLink will be
|
1456
|
+
# created. Format: projects/`PROJECT_NUMBER`/locations/global/catalogs/`
|
1457
|
+
# CATALOG_ID``
|
1458
|
+
# @param [String] fields
|
1459
|
+
# Selector specifying which fields to include in a partial response.
|
1460
|
+
# @param [String] quota_user
|
1461
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1462
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1463
|
+
# @param [Google::Apis::RequestOptions] options
|
1464
|
+
# Request-specific options
|
1465
|
+
#
|
1466
|
+
# @yield [result, err] Result & error if block supplied
|
1467
|
+
# @yieldparam result [Google::Apis::RetailV2alpha::GoogleLongrunningOperation] parsed result object
|
1468
|
+
# @yieldparam err [StandardError] error object if request failed
|
1469
|
+
#
|
1470
|
+
# @return [Google::Apis::RetailV2alpha::GoogleLongrunningOperation]
|
1471
|
+
#
|
1472
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1473
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1474
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1475
|
+
def create_project_location_catalog_merchant_center_account_link_merchant_center_account_link(name, google_cloud_retail_v2alpha_merchant_center_account_link_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1476
|
+
command = make_simple_command(:post, 'v2alpha/{+name}', options)
|
1477
|
+
command.request_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLink::Representation
|
1478
|
+
command.request_object = google_cloud_retail_v2alpha_merchant_center_account_link_object
|
1479
|
+
command.response_representation = Google::Apis::RetailV2alpha::GoogleLongrunningOperation::Representation
|
1480
|
+
command.response_class = Google::Apis::RetailV2alpha::GoogleLongrunningOperation
|
1481
|
+
command.params['name'] = name unless name.nil?
|
1482
|
+
command.query['parent'] = parent unless parent.nil?
|
1483
|
+
command.query['fields'] = fields unless fields.nil?
|
1484
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1485
|
+
execute_or_queue_command(command, &block)
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
# Deletes a MerchantCenterAccountLink. If the MerchantCenterAccountLink to
|
1489
|
+
# delete does not exist, a NOT_FOUND error is returned.
|
1490
|
+
# @param [String] name
|
1491
|
+
# Required. Full resource name. Format: projects/`project_number`/locations/`
|
1492
|
+
# location_id`/catalogs/`catalog_id`/merchantCenterAccountLinks/`
|
1493
|
+
# merchant_center_account_link_id`
|
1494
|
+
# @param [String] fields
|
1495
|
+
# Selector specifying which fields to include in a partial response.
|
1496
|
+
# @param [String] quota_user
|
1497
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1498
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1499
|
+
# @param [Google::Apis::RequestOptions] options
|
1500
|
+
# Request-specific options
|
1501
|
+
#
|
1502
|
+
# @yield [result, err] Result & error if block supplied
|
1503
|
+
# @yieldparam result [Google::Apis::RetailV2alpha::GoogleProtobufEmpty] parsed result object
|
1504
|
+
# @yieldparam err [StandardError] error object if request failed
|
1505
|
+
#
|
1506
|
+
# @return [Google::Apis::RetailV2alpha::GoogleProtobufEmpty]
|
1507
|
+
#
|
1508
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1509
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1510
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1511
|
+
def delete_project_location_catalog_merchant_center_account_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
1512
|
+
command = make_simple_command(:delete, 'v2alpha/{+name}', options)
|
1513
|
+
command.response_representation = Google::Apis::RetailV2alpha::GoogleProtobufEmpty::Representation
|
1514
|
+
command.response_class = Google::Apis::RetailV2alpha::GoogleProtobufEmpty
|
1515
|
+
command.params['name'] = name unless name.nil?
|
1516
|
+
command.query['fields'] = fields unless fields.nil?
|
1517
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1518
|
+
execute_or_queue_command(command, &block)
|
1519
|
+
end
|
1520
|
+
|
1521
|
+
# Lists all MerchantCenterAccountLinks under the specified parent Catalog.
|
1522
|
+
# @param [String] parent
|
1523
|
+
# Required. The parent Catalog of the resource. It must match this format:
|
1524
|
+
# projects/`PROJECT_NUMBER`/locations/global/catalogs/`CATALOG_ID`
|
1525
|
+
# @param [String] fields
|
1526
|
+
# Selector specifying which fields to include in a partial response.
|
1527
|
+
# @param [String] quota_user
|
1528
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1529
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1530
|
+
# @param [Google::Apis::RequestOptions] options
|
1531
|
+
# Request-specific options
|
1532
|
+
#
|
1533
|
+
# @yield [result, err] Result & error if block supplied
|
1534
|
+
# @yieldparam result [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaListMerchantCenterAccountLinksResponse] parsed result object
|
1535
|
+
# @yieldparam err [StandardError] error object if request failed
|
1536
|
+
#
|
1537
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaListMerchantCenterAccountLinksResponse]
|
1538
|
+
#
|
1539
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1540
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1541
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1542
|
+
def list_project_location_catalog_merchant_center_account_links(parent, fields: nil, quota_user: nil, options: nil, &block)
|
1543
|
+
command = make_simple_command(:get, 'v2alpha/{+parent}/merchantCenterAccountLinks', options)
|
1544
|
+
command.response_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaListMerchantCenterAccountLinksResponse::Representation
|
1545
|
+
command.response_class = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaListMerchantCenterAccountLinksResponse
|
1546
|
+
command.params['parent'] = parent unless parent.nil?
|
1547
|
+
command.query['fields'] = fields unless fields.nil?
|
1548
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1549
|
+
execute_or_queue_command(command, &block)
|
1550
|
+
end
|
1551
|
+
|
1441
1552
|
# Creates a new model.
|
1442
1553
|
# @param [String] parent
|
1443
1554
|
# Required. The parent resource under which to create the model. Format: `
|
@@ -1755,13 +1866,7 @@ module Google
|
|
1755
1866
|
end
|
1756
1867
|
|
1757
1868
|
# Lists operations that match the specified filter in the request. If the server
|
1758
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1759
|
-
# binding allows API services to override the binding to use different resource
|
1760
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
1761
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1762
|
-
# service configuration. For backwards compatibility, the default name includes
|
1763
|
-
# the operations collection id, however overriding users must ensure the name
|
1764
|
-
# binding is the parent resource, without the operations collection id.
|
1869
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1765
1870
|
# @param [String] name
|
1766
1871
|
# The name of the operation's parent resource.
|
1767
1872
|
# @param [String] filter
|
@@ -2470,13 +2575,7 @@ module Google
|
|
2470
2575
|
end
|
2471
2576
|
|
2472
2577
|
# Lists operations that match the specified filter in the request. If the server
|
2473
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
2474
|
-
# binding allows API services to override the binding to use different resource
|
2475
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
2476
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
2477
|
-
# service configuration. For backwards compatibility, the default name includes
|
2478
|
-
# the operations collection id, however overriding users must ensure the name
|
2479
|
-
# binding is the parent resource, without the operations collection id.
|
2578
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
2480
2579
|
# @param [String] name
|
2481
2580
|
# The name of the operation's parent resource.
|
2482
2581
|
# @param [String] filter
|
@@ -2547,13 +2646,7 @@ module Google
|
|
2547
2646
|
end
|
2548
2647
|
|
2549
2648
|
# Lists operations that match the specified filter in the request. If the server
|
2550
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
2551
|
-
# binding allows API services to override the binding to use different resource
|
2552
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
2553
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
2554
|
-
# service configuration. For backwards compatibility, the default name includes
|
2555
|
-
# the operations collection id, however overriding users must ensure the name
|
2556
|
-
# binding is the parent resource, without the operations collection id.
|
2649
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
2557
2650
|
# @param [String] name
|
2558
2651
|
# The name of the operation's parent resource.
|
2559
2652
|
# @param [String] filter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.73.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_v2alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.73.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|