google-apis-retail_v2alpha 0.42.0 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11d9d8cdfedc9dac5ab682e091678633706bd1f238ed7552272d156037f38411
|
4
|
+
data.tar.gz: e8783a3ce3702a4074f13e2ae9fdcc483744d24880c3e3d5f8707c391cb67d41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4960907a05097a6e1a44904d97c5b51e4ad02edefada1b0da53bfa50ece6919c679c44214c3bea4ed74335d446170079e53f1d29b3cd64f69a9822270a94b77e
|
7
|
+
data.tar.gz: 1b2e6093e79495fc1004ce53df173c2df605201f72d05bfd945cc7f9d2803fa3f8d42d93eecf5e3077da9317474f510902a5ad96bb79c7a4b7d1e5008048dab7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.43.0 (2022-06-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220602
|
6
|
+
* Regenerated using generator version 0.5.0
|
7
|
+
|
3
8
|
### v0.42.0 (2022-05-26)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220519
|
@@ -1534,8 +1534,8 @@ module Google
|
|
1534
1534
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec]
|
1535
1535
|
attr_accessor :facet_spec
|
1536
1536
|
|
1537
|
-
# Immutable. Fully qualified name projects/*/locations/global/catalogs/*/
|
1538
|
-
# controls
|
1537
|
+
# Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/
|
1538
|
+
# controls/*`
|
1539
1539
|
# Corresponds to the JSON property `name`
|
1540
1540
|
# @return [String]
|
1541
1541
|
attr_accessor :name
|
@@ -3207,15 +3207,17 @@ module Google
|
|
3207
3207
|
end
|
3208
3208
|
end
|
3209
3209
|
|
3210
|
-
# Promotion
|
3210
|
+
# Promotion specification.
|
3211
3211
|
class GoogleCloudRetailV2alphaPromotion
|
3212
3212
|
include Google::Apis::Core::Hashable
|
3213
3213
|
|
3214
|
-
#
|
3215
|
-
#
|
3216
|
-
#
|
3217
|
-
#
|
3218
|
-
#
|
3214
|
+
# Promotion identifier, which is the final component of name. For example, this
|
3215
|
+
# field is "free_gift", if name is `projects/*/locations/global/catalogs/
|
3216
|
+
# default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded
|
3217
|
+
# string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`.
|
3218
|
+
# For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT
|
3219
|
+
# error is returned. Corresponds to Google Merchant Center property [
|
3220
|
+
# promotion_id](https://support.google.com/merchants/answer/7050148).
|
3219
3221
|
# Corresponds to the JSON property `promotionId`
|
3220
3222
|
# @return [String]
|
3221
3223
|
attr_accessor :promotion_id
|
@@ -4477,6 +4479,13 @@ module Google
|
|
4477
4479
|
class GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey
|
4478
4480
|
include Google::Apis::Core::Hashable
|
4479
4481
|
|
4482
|
+
# Whether to make facet keys case insensitive when getting faceting values with
|
4483
|
+
# prefixes or contains.
|
4484
|
+
# Corresponds to the JSON property `caseInsensitive`
|
4485
|
+
# @return [Boolean]
|
4486
|
+
attr_accessor :case_insensitive
|
4487
|
+
alias_method :case_insensitive?, :case_insensitive
|
4488
|
+
|
4480
4489
|
# Only get facet values that contains the given strings. For example, suppose "
|
4481
4490
|
# categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe".
|
4482
4491
|
# If set "contains" to "Shoe", the "categories" facet will give only "Women >
|
@@ -4559,6 +4568,7 @@ module Google
|
|
4559
4568
|
|
4560
4569
|
# Update properties of this object
|
4561
4570
|
def update!(**args)
|
4571
|
+
@case_insensitive = args[:case_insensitive] if args.key?(:case_insensitive)
|
4562
4572
|
@contains = args[:contains] if args.key?(:contains)
|
4563
4573
|
@intervals = args[:intervals] if args.key?(:intervals)
|
4564
4574
|
@key = args[:key] if args.key?(:key)
|
@@ -4968,8 +4978,8 @@ module Google
|
|
4968
4978
|
# @return [String]
|
4969
4979
|
attr_accessor :model_id
|
4970
4980
|
|
4971
|
-
# Immutable. Fully qualified name projects/*/locations/global/catalogs/*/
|
4972
|
-
# servingConfig
|
4981
|
+
# Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/
|
4982
|
+
# servingConfig/*`
|
4973
4983
|
# Corresponds to the JSON property `name`
|
4974
4984
|
# @return [String]
|
4975
4985
|
attr_accessor :name
|
@@ -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.43.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220602"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2176,6 +2176,7 @@ module Google
|
|
2176
2176
|
class GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey
|
2177
2177
|
# @private
|
2178
2178
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2179
|
+
property :case_insensitive, as: 'caseInsensitive'
|
2179
2180
|
collection :contains, as: 'contains'
|
2180
2181
|
collection :intervals, as: 'intervals', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval::Representation
|
2181
2182
|
|
@@ -127,8 +127,8 @@ module Google
|
|
127
127
|
|
128
128
|
# Gets an AttributesConfig.
|
129
129
|
# @param [String] name
|
130
|
-
# Required. Full AttributesConfig resource name. Format: projects/`
|
131
|
-
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig
|
130
|
+
# Required. Full AttributesConfig resource name. Format: `projects/`
|
131
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig`
|
132
132
|
# @param [String] fields
|
133
133
|
# Selector specifying which fields to include in a partial response.
|
134
134
|
# @param [String] quota_user
|
@@ -439,8 +439,8 @@ module Google
|
|
439
439
|
# Adds the specified CatalogAttribute to the AttributesConfig. If the
|
440
440
|
# CatalogAttribute to add already exists, an ALREADY_EXISTS error is returned.
|
441
441
|
# @param [String] attributes_config
|
442
|
-
# Required. Full AttributesConfig resource name. Format: projects/`
|
443
|
-
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig
|
442
|
+
# Required. Full AttributesConfig resource name. Format: `projects/`
|
443
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig`
|
444
444
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaAddCatalogAttributeRequest] google_cloud_retail_v2alpha_add_catalog_attribute_request_object
|
445
445
|
# @param [String] fields
|
446
446
|
# Selector specifying which fields to include in a partial response.
|
@@ -474,8 +474,8 @@ module Google
|
|
474
474
|
# Removes the specified CatalogAttribute from the AttributesConfig. If the
|
475
475
|
# CatalogAttribute to remove does not exist, a NOT_FOUND error is returned.
|
476
476
|
# @param [String] attributes_config
|
477
|
-
# Required. Full AttributesConfig resource name. Format: projects/`
|
478
|
-
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig
|
477
|
+
# Required. Full AttributesConfig resource name. Format: `projects/`
|
478
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig`
|
479
479
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest] google_cloud_retail_v2alpha_remove_catalog_attribute_request_object
|
480
480
|
# @param [String] fields
|
481
481
|
# Selector specifying which fields to include in a partial response.
|
@@ -510,8 +510,8 @@ module Google
|
|
510
510
|
# the catalog attribute with the same CatalogAttribute.key. If the
|
511
511
|
# CatalogAttribute to replace does not exist, a NOT_FOUND error is returned.
|
512
512
|
# @param [String] attributes_config
|
513
|
-
# Required. Full AttributesConfig resource name. Format: projects/`
|
514
|
-
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig
|
513
|
+
# Required. Full AttributesConfig resource name. Format: `projects/`
|
514
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/attributesConfig`
|
515
515
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaReplaceCatalogAttributeRequest] google_cloud_retail_v2alpha_replace_catalog_attribute_request_object
|
516
516
|
# @param [String] fields
|
517
517
|
# Selector specifying which fields to include in a partial response.
|
@@ -1152,8 +1152,8 @@ module Google
|
|
1152
1152
|
# Creates a Control. If the Control to create already exists, an ALREADY_EXISTS
|
1153
1153
|
# error is returned.
|
1154
1154
|
# @param [String] parent
|
1155
|
-
# Required. Full resource name of parent catalog. Format: projects/`
|
1156
|
-
# project_number`/locations/`location_id`/catalogs/`catalog_id
|
1155
|
+
# Required. Full resource name of parent catalog. Format: `projects/`
|
1156
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id``
|
1157
1157
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaControl] google_cloud_retail_v2alpha_control_object
|
1158
1158
|
# @param [String] control_id
|
1159
1159
|
# Required. The ID to use for the Control, which will become the final component
|
@@ -1192,9 +1192,9 @@ module Google
|
|
1192
1192
|
# Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error
|
1193
1193
|
# is returned.
|
1194
1194
|
# @param [String] name
|
1195
|
-
# Required. The resource name of the Control to delete. Format: projects/`
|
1195
|
+
# Required. The resource name of the Control to delete. Format: `projects/`
|
1196
1196
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/controls/`
|
1197
|
-
# control_id
|
1197
|
+
# control_id``
|
1198
1198
|
# @param [String] fields
|
1199
1199
|
# Selector specifying which fields to include in a partial response.
|
1200
1200
|
# @param [String] quota_user
|
@@ -1224,9 +1224,9 @@ module Google
|
|
1224
1224
|
|
1225
1225
|
# Gets a Control.
|
1226
1226
|
# @param [String] name
|
1227
|
-
# Required. The resource name of the Control to delete. Format: projects/`
|
1227
|
+
# Required. The resource name of the Control to delete. Format: `projects/`
|
1228
1228
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/controls/`
|
1229
|
-
# control_id
|
1229
|
+
# control_id``
|
1230
1230
|
# @param [String] fields
|
1231
1231
|
# Selector specifying which fields to include in a partial response.
|
1232
1232
|
# @param [String] quota_user
|
@@ -1256,8 +1256,8 @@ module Google
|
|
1256
1256
|
|
1257
1257
|
# Lists all Controls linked to this catalog.
|
1258
1258
|
# @param [String] parent
|
1259
|
-
# Required. The catalog resource name. Format: projects/`project_number`/
|
1260
|
-
# locations/`location_id`/catalogs/`catalog_id
|
1259
|
+
# Required. The catalog resource name. Format: `projects/`project_number`/
|
1260
|
+
# locations/`location_id`/catalogs/`catalog_id``
|
1261
1261
|
# @param [String] filter
|
1262
1262
|
# Optional. A filter to apply on the list results. Supported features: * List
|
1263
1263
|
# all the products under the parent branch if filter is unset. * List controls
|
@@ -1303,8 +1303,8 @@ module Google
|
|
1303
1303
|
# INVALID_ARGUMENT is returned. If the Control to delete does not exist, a
|
1304
1304
|
# NOT_FOUND error is returned.
|
1305
1305
|
# @param [String] name
|
1306
|
-
# Immutable. Fully qualified name projects/*/locations/global/catalogs/*/
|
1307
|
-
# controls
|
1306
|
+
# Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/
|
1307
|
+
# controls/*`
|
1308
1308
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaControl] google_cloud_retail_v2alpha_control_object
|
1309
1309
|
# @param [String] update_mask
|
1310
1310
|
# Indicates which fields in the provided Control to update. The following are
|
@@ -1419,8 +1419,8 @@ module Google
|
|
1419
1419
|
|
1420
1420
|
# Makes a recommendation prediction.
|
1421
1421
|
# @param [String] placement
|
1422
|
-
# Required. Full resource name of the format:
|
1423
|
-
# catalogs/default_catalog/placements
|
1422
|
+
# Required. Full resource name of the format: ``name=projects/*/locations/global/
|
1423
|
+
# catalogs/default_catalog/placements/*`` The ID of the Recommendations AI
|
1424
1424
|
# placement. Before you can request predictions from your model, you must create
|
1425
1425
|
# at least one placement for it. For more information, see [Managing placements](
|
1426
1426
|
# https://cloud.google.com/retail/recommendations-ai/docs/manage-placements).
|
@@ -1537,8 +1537,8 @@ module Google
|
|
1537
1537
|
# Creates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a
|
1538
1538
|
# Catalog, otherwise a FAILED_PRECONDITION error is returned.
|
1539
1539
|
# @param [String] parent
|
1540
|
-
# Required. Full resource name of parent. Format: projects/`project_number`/
|
1541
|
-
# locations/`location_id`/catalogs/`catalog_id
|
1540
|
+
# Required. Full resource name of parent. Format: `projects/`project_number`/
|
1541
|
+
# locations/`location_id`/catalogs/`catalog_id``
|
1542
1542
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaServingConfig] google_cloud_retail_v2alpha_serving_config_object
|
1543
1543
|
# @param [String] serving_config_id
|
1544
1544
|
# Required. The ID to use for the ServingConfig, which will become the final
|
@@ -1681,8 +1681,8 @@ module Google
|
|
1681
1681
|
|
1682
1682
|
# Updates a ServingConfig.
|
1683
1683
|
# @param [String] name
|
1684
|
-
# Immutable. Fully qualified name projects/*/locations/global/catalogs/*/
|
1685
|
-
# servingConfig
|
1684
|
+
# Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/
|
1685
|
+
# servingConfig/*`
|
1686
1686
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaServingConfig] google_cloud_retail_v2alpha_serving_config_object
|
1687
1687
|
# @param [String] update_mask
|
1688
1688
|
# Indicates which fields in the provided ServingConfig to update. The following
|
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.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_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.43.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: []
|