google-apis-retail_v2alpha 0.74.0 → 0.75.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: 0237f5dcb44c07260da0a482c5e89f8120c0ce1453bd0c793f67cf781d9ce991
|
4
|
+
data.tar.gz: 742eec2214ef8ff8e6fdd6d7dc1196b827bda6da0aa3bcc7401e40b9b2a4abae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27fba2e143c88afb3f993b7d0268e3d3e599c29f562169ef579be20750372c4957b4d0e37b30d48e539ad67348cab1b21ee972ef207b2f0d8b2adeebd3c79dcb
|
7
|
+
data.tar.gz: 75eb0701b172d4aac1f20d2b8c2a0a8619b15f1d04df6b018246822b3e4813630ac1075ee8b0c1d8ea4f40ab3ed6a72f2734fbe2c0bea6bfbbda1a65f310da88
|
data/CHANGELOG.md
CHANGED
@@ -662,13 +662,13 @@ module Google
|
|
662
662
|
end
|
663
663
|
end
|
664
664
|
|
665
|
-
#
|
665
|
+
# Additional configs for the frequently-bought-together model type.
|
666
666
|
class GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig
|
667
667
|
include Google::Apis::Core::Hashable
|
668
668
|
|
669
|
-
# Optional. Specifies the context of the model when used in predict
|
670
|
-
#
|
671
|
-
#
|
669
|
+
# Optional. Specifies the context of the model when it is used in predict
|
670
|
+
# requests. Can only be set for the `frequently-bought-together` type. If it isn'
|
671
|
+
# t specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
|
672
672
|
# Corresponds to the JSON property `contextProductsType`
|
673
673
|
# @return [String]
|
674
674
|
attr_accessor :context_products_type
|
@@ -687,7 +687,7 @@ module Google
|
|
687
687
|
class GoogleCloudRetailV2ModelModelFeaturesConfig
|
688
688
|
include Google::Apis::Core::Hashable
|
689
689
|
|
690
|
-
#
|
690
|
+
# Additional configs for the frequently-bought-together model type.
|
691
691
|
# Corresponds to the JSON property `frequentlyBoughtTogetherConfig`
|
692
692
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig]
|
693
693
|
attr_accessor :frequently_bought_together_config
|
@@ -1429,25 +1429,6 @@ module Google
|
|
1429
1429
|
# @return [String]
|
1430
1430
|
attr_accessor :exact_searchable_option
|
1431
1431
|
|
1432
|
-
# Set manually for numerical attributes only. If the facet SearchResponse.
|
1433
|
-
# FacetSpec.intervals are not set by the customer for a numerical attribute,
|
1434
|
-
# then a weekly pipeline will calculate some intervals using some percentiles on
|
1435
|
-
# the distribution of all its product numerical attribute values. The latter
|
1436
|
-
# computed intervals might not be ideal for the use case of that attribute. For
|
1437
|
-
# this reason, the customer can set them manually. As another option, for any
|
1438
|
-
# numerical attribute that is passed as a facet key in the request along with
|
1439
|
-
# some given intervals, then these given intervals will be the facet intervals
|
1440
|
-
# returned in the response.
|
1441
|
-
# Corresponds to the JSON property `facetIntervals`
|
1442
|
-
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval>]
|
1443
|
-
attr_accessor :facet_intervals
|
1444
|
-
|
1445
|
-
# Each instance represents a list of attribute values to ignore as facet values
|
1446
|
-
# for a specific time range.
|
1447
|
-
# Corresponds to the JSON property `ignoredFacetValues`
|
1448
|
-
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues>]
|
1449
|
-
attr_accessor :ignored_facet_values
|
1450
|
-
|
1451
1432
|
# Output only. Indicates whether this attribute has been used by any products. `
|
1452
1433
|
# True` if at least one Product is using this attribute in Product.attributes.
|
1453
1434
|
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
@@ -1521,8 +1502,6 @@ module Google
|
|
1521
1502
|
def update!(**args)
|
1522
1503
|
@dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
|
1523
1504
|
@exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
|
1524
|
-
@facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
|
1525
|
-
@ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
|
1526
1505
|
@in_use = args[:in_use] if args.key?(:in_use)
|
1527
1506
|
@indexable_option = args[:indexable_option] if args.key?(:indexable_option)
|
1528
1507
|
@key = args[:key] if args.key?(:key)
|
@@ -1533,44 +1512,6 @@ module Google
|
|
1533
1512
|
end
|
1534
1513
|
end
|
1535
1514
|
|
1536
|
-
# Facet values to ignore on facets during the specified time range for the given
|
1537
|
-
# SearchResponse.Facet.key attribute.
|
1538
|
-
class GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues
|
1539
|
-
include Google::Apis::Core::Hashable
|
1540
|
-
|
1541
|
-
# If start time is empty and end time is not empty, then ignore these facet
|
1542
|
-
# values before end time.
|
1543
|
-
# Corresponds to the JSON property `endTime`
|
1544
|
-
# @return [String]
|
1545
|
-
attr_accessor :end_time
|
1546
|
-
|
1547
|
-
# Time range for the current list of facet values to ignore. If multiple time
|
1548
|
-
# ranges are specified for an facet value for the current attribute, consider
|
1549
|
-
# all of them. If both are empty, ignore always. If start time and end time are
|
1550
|
-
# set, then start time must be before end time. If start time is not empty and
|
1551
|
-
# end time is empty, then will ignore these facet values after the start time.
|
1552
|
-
# Corresponds to the JSON property `startTime`
|
1553
|
-
# @return [String]
|
1554
|
-
attr_accessor :start_time
|
1555
|
-
|
1556
|
-
# List of facet values to ignore for the following time range. The facet values
|
1557
|
-
# are the same as the attribute values.
|
1558
|
-
# Corresponds to the JSON property `values`
|
1559
|
-
# @return [Array<String>]
|
1560
|
-
attr_accessor :values
|
1561
|
-
|
1562
|
-
def initialize(**args)
|
1563
|
-
update!(**args)
|
1564
|
-
end
|
1565
|
-
|
1566
|
-
# Update properties of this object
|
1567
|
-
def update!(**args)
|
1568
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1569
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
1570
|
-
@values = args[:values] if args.key?(:values)
|
1571
|
-
end
|
1572
|
-
end
|
1573
|
-
|
1574
1515
|
# The color information of a Product.
|
1575
1516
|
class GoogleCloudRetailV2alphaColorInfo
|
1576
1517
|
include Google::Apis::Core::Hashable
|
@@ -3025,17 +2966,17 @@ module Google
|
|
3025
2966
|
end
|
3026
2967
|
end
|
3027
2968
|
|
3028
|
-
# Represents a link between a Merchant Center account and a branch.
|
3029
|
-
# is established, products from the linked
|
3030
|
-
#
|
2969
|
+
# Represents a link between a Merchant Center account and a branch. After a link
|
2970
|
+
# is established, products from the linked Merchant Center account are streamed
|
2971
|
+
# to the linked branch.
|
3031
2972
|
class GoogleCloudRetailV2alphaMerchantCenterAccountLink
|
3032
2973
|
include Google::Apis::Core::Hashable
|
3033
2974
|
|
3034
|
-
# Required. The branch
|
2975
|
+
# Required. The branch ID (e.g. 0/1/2) within the catalog that products from
|
3035
2976
|
# merchant_center_account_id are streamed to. When updating this field, an empty
|
3036
2977
|
# value will use the currently configured default branch. However, changing the
|
3037
2978
|
# default branch later on won't change the linked branch here. A single branch
|
3038
|
-
#
|
2979
|
+
# ID can only have one linked Merchant Center account ID.
|
3039
2980
|
# Corresponds to the JSON property `branchId`
|
3040
2981
|
# @return [String]
|
3041
2982
|
attr_accessor :branch_id
|
@@ -3165,9 +3106,9 @@ module Google
|
|
3165
3106
|
end
|
3166
3107
|
end
|
3167
3108
|
|
3168
|
-
# Represents a link between a Merchant Center account and a branch.
|
3169
|
-
# is established, products from the linked
|
3170
|
-
#
|
3109
|
+
# Represents a link between a Merchant Center account and a branch. After a link
|
3110
|
+
# is established, products from the linked Merchant Center account are streamed
|
3111
|
+
# to the linked branch.
|
3171
3112
|
class GoogleCloudRetailV2alphaMerchantCenterLink
|
3172
3113
|
include Google::Apis::Core::Hashable
|
3173
3114
|
|
@@ -3175,7 +3116,7 @@ module Google
|
|
3175
3116
|
# merchant_center_account_id are streamed to. When updating this field, an empty
|
3176
3117
|
# value will use the currently configured default branch. However, changing the
|
3177
3118
|
# default branch later on won't change the linked branch here. A single branch
|
3178
|
-
# ID can only have one linked
|
3119
|
+
# ID can only have one linked Merchant Center account ID.
|
3179
3120
|
# Corresponds to the JSON property `branchId`
|
3180
3121
|
# @return [String]
|
3181
3122
|
attr_accessor :branch_id
|
@@ -3205,7 +3146,7 @@ module Google
|
|
3205
3146
|
# @return [String]
|
3206
3147
|
attr_accessor :language_code
|
3207
3148
|
|
3208
|
-
# Required. The linked [Merchant
|
3149
|
+
# Required. The linked [Merchant Center account ID](https://developers.google.
|
3209
3150
|
# com/shopping-content/guides/accountstatuses). The account must be a standalone
|
3210
3151
|
# account or a sub-account of a MCA.
|
3211
3152
|
# Corresponds to the JSON property `merchantCenterAccountId`
|
@@ -3409,13 +3350,13 @@ module Google
|
|
3409
3350
|
end
|
3410
3351
|
end
|
3411
3352
|
|
3412
|
-
#
|
3353
|
+
# Additional configs for the frequently-bought-together model type.
|
3413
3354
|
class GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig
|
3414
3355
|
include Google::Apis::Core::Hashable
|
3415
3356
|
|
3416
|
-
# Optional. Specifies the context of the model when used in predict
|
3417
|
-
#
|
3418
|
-
#
|
3357
|
+
# Optional. Specifies the context of the model when it is used in predict
|
3358
|
+
# requests. Can only be set for the `frequently-bought-together` type. If it isn'
|
3359
|
+
# t specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
|
3419
3360
|
# Corresponds to the JSON property `contextProductsType`
|
3420
3361
|
# @return [String]
|
3421
3362
|
attr_accessor :context_products_type
|
@@ -3434,7 +3375,7 @@ module Google
|
|
3434
3375
|
class GoogleCloudRetailV2alphaModelModelFeaturesConfig
|
3435
3376
|
include Google::Apis::Core::Hashable
|
3436
3377
|
|
3437
|
-
#
|
3378
|
+
# Additional configs for the frequently-bought-together model type.
|
3438
3379
|
# Corresponds to the JSON property `frequentlyBoughtTogetherConfig`
|
3439
3380
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig]
|
3440
3381
|
attr_accessor :frequently_bought_together_config
|
@@ -7316,17 +7257,17 @@ module Google
|
|
7316
7257
|
end
|
7317
7258
|
end
|
7318
7259
|
|
7319
|
-
# Represents a link between a Merchant Center account and a branch.
|
7320
|
-
# is established, products from the linked
|
7321
|
-
#
|
7260
|
+
# Represents a link between a Merchant Center account and a branch. After a link
|
7261
|
+
# is established, products from the linked Merchant Center account are streamed
|
7262
|
+
# to the linked branch.
|
7322
7263
|
class GoogleCloudRetailV2betaMerchantCenterAccountLink
|
7323
7264
|
include Google::Apis::Core::Hashable
|
7324
7265
|
|
7325
|
-
# Required. The branch
|
7266
|
+
# Required. The branch ID (e.g. 0/1/2) within the catalog that products from
|
7326
7267
|
# merchant_center_account_id are streamed to. When updating this field, an empty
|
7327
7268
|
# value will use the currently configured default branch. However, changing the
|
7328
7269
|
# default branch later on won't change the linked branch here. A single branch
|
7329
|
-
#
|
7270
|
+
# ID can only have one linked Merchant Center account ID.
|
7330
7271
|
# Corresponds to the JSON property `branchId`
|
7331
7272
|
# @return [String]
|
7332
7273
|
attr_accessor :branch_id
|
@@ -7575,13 +7516,13 @@ module Google
|
|
7575
7516
|
end
|
7576
7517
|
end
|
7577
7518
|
|
7578
|
-
#
|
7519
|
+
# Additional configs for the frequently-bought-together model type.
|
7579
7520
|
class GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig
|
7580
7521
|
include Google::Apis::Core::Hashable
|
7581
7522
|
|
7582
|
-
# Optional. Specifies the context of the model when used in predict
|
7583
|
-
#
|
7584
|
-
#
|
7523
|
+
# Optional. Specifies the context of the model when it is used in predict
|
7524
|
+
# requests. Can only be set for the `frequently-bought-together` type. If it isn'
|
7525
|
+
# t specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
|
7585
7526
|
# Corresponds to the JSON property `contextProductsType`
|
7586
7527
|
# @return [String]
|
7587
7528
|
attr_accessor :context_products_type
|
@@ -7600,7 +7541,7 @@ module Google
|
|
7600
7541
|
class GoogleCloudRetailV2betaModelModelFeaturesConfig
|
7601
7542
|
include Google::Apis::Core::Hashable
|
7602
7543
|
|
7603
|
-
#
|
7544
|
+
# Additional configs for the frequently-bought-together model type.
|
7604
7545
|
# Corresponds to the JSON property `frequentlyBoughtTogetherConfig`
|
7605
7546
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig]
|
7606
7547
|
attr_accessor :frequently_bought_together_config
|
@@ -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.75.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 = "20230504"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -322,12 +322,6 @@ module Google
|
|
322
322
|
include Google::Apis::Core::JsonObjectSupport
|
323
323
|
end
|
324
324
|
|
325
|
-
class GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues
|
326
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
-
|
328
|
-
include Google::Apis::Core::JsonObjectSupport
|
329
|
-
end
|
330
|
-
|
331
325
|
class GoogleCloudRetailV2alphaColorInfo
|
332
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
327
|
|
@@ -1738,10 +1732,6 @@ module Google
|
|
1738
1732
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1739
1733
|
property :dynamic_facetable_option, as: 'dynamicFacetableOption'
|
1740
1734
|
property :exact_searchable_option, as: 'exactSearchableOption'
|
1741
|
-
collection :facet_intervals, as: 'facetIntervals', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval::Representation
|
1742
|
-
|
1743
|
-
collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues::Representation
|
1744
|
-
|
1745
1735
|
property :in_use, as: 'inUse'
|
1746
1736
|
property :indexable_option, as: 'indexableOption'
|
1747
1737
|
property :key, as: 'key'
|
@@ -1752,15 +1742,6 @@ module Google
|
|
1752
1742
|
end
|
1753
1743
|
end
|
1754
1744
|
|
1755
|
-
class GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues
|
1756
|
-
# @private
|
1757
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1758
|
-
property :end_time, as: 'endTime'
|
1759
|
-
property :start_time, as: 'startTime'
|
1760
|
-
collection :values, as: 'values'
|
1761
|
-
end
|
1762
|
-
end
|
1763
|
-
|
1764
1745
|
class GoogleCloudRetailV2alphaColorInfo
|
1765
1746
|
# @private
|
1766
1747
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1447,7 +1447,7 @@ module Google
|
|
1447
1447
|
# Creates a MerchantCenterAccountLink.
|
1448
1448
|
# @param [String] parent
|
1449
1449
|
# Required. The branch resource where this MerchantCenterAccountLink will be
|
1450
|
-
# created. Format: projects/`PROJECT_NUMBER`/locations/global/catalogs/`
|
1450
|
+
# created. Format: `projects/`PROJECT_NUMBER`/locations/global/catalogs/`
|
1451
1451
|
# CATALOG_ID``
|
1452
1452
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLink] google_cloud_retail_v2alpha_merchant_center_account_link_object
|
1453
1453
|
# @param [String] fields
|
@@ -1482,9 +1482,9 @@ module Google
|
|
1482
1482
|
# Deletes a MerchantCenterAccountLink. If the MerchantCenterAccountLink to
|
1483
1483
|
# delete does not exist, a NOT_FOUND error is returned.
|
1484
1484
|
# @param [String] name
|
1485
|
-
# Required. Full resource name. Format: projects/`project_number`/locations/`
|
1485
|
+
# Required. Full resource name. Format: `projects/`project_number`/locations/`
|
1486
1486
|
# location_id`/catalogs/`catalog_id`/merchantCenterAccountLinks/`
|
1487
|
-
# merchant_center_account_link_id
|
1487
|
+
# merchant_center_account_link_id``
|
1488
1488
|
# @param [String] fields
|
1489
1489
|
# Selector specifying which fields to include in a partial response.
|
1490
1490
|
# @param [String] quota_user
|
@@ -1514,8 +1514,8 @@ module Google
|
|
1514
1514
|
|
1515
1515
|
# Lists all MerchantCenterAccountLinks under the specified parent Catalog.
|
1516
1516
|
# @param [String] parent
|
1517
|
-
# Required. The parent Catalog of the resource. It must match this format:
|
1518
|
-
# projects/`PROJECT_NUMBER`/locations/global/catalogs/`CATALOG_ID
|
1517
|
+
# Required. The parent Catalog of the resource. It must match this format: `
|
1518
|
+
# projects/`PROJECT_NUMBER`/locations/global/catalogs/`CATALOG_ID``
|
1519
1519
|
# @param [String] fields
|
1520
1520
|
# Selector specifying which fields to include in a partial response.
|
1521
1521
|
# @param [String] quota_user
|
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.75.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-05-14 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.75.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: []
|