google-apis-retail_v2beta 0.41.0 → 0.42.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: 2f919f603d43ceba126323d4a9e7d43ce80466efc533892c4d330e5f26b6179d
|
4
|
+
data.tar.gz: eb325c5661f1903ba772de0457063c8000a9fd3ac6c4e17b6e297dadf9a48f1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a90b6993ba6132e9fc3fd4e73540aff764d15aeba3e85e1c1f375a7aeaff8854bae3a7f77533814c00d8449e0e19779e8407be6f8d5c274b5833a8e1780caeb
|
7
|
+
data.tar.gz: 07a95cb8b509ba2baad13f301c6a2d9a2bb18436e712f1fd19fa65f6901b8eb10b5d38ca5938f777315dff72946d9ddfb93297117182a206de8da6ab780976c0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-retail_v2beta
|
2
2
|
|
3
|
+
### v0.42.0 (2022-06-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220602
|
6
|
+
* Regenerated using generator version 0.5.0
|
7
|
+
|
3
8
|
### v0.41.0 (2022-05-26)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220519
|
@@ -2102,8 +2102,8 @@ module Google
|
|
2102
2102
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec]
|
2103
2103
|
attr_accessor :facet_spec
|
2104
2104
|
|
2105
|
-
# Immutable. Fully qualified name projects/*/locations/global/catalogs/*/
|
2106
|
-
# controls
|
2105
|
+
# Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/
|
2106
|
+
# controls/*`
|
2107
2107
|
# Corresponds to the JSON property `name`
|
2108
2108
|
# @return [String]
|
2109
2109
|
attr_accessor :name
|
@@ -3756,15 +3756,17 @@ module Google
|
|
3756
3756
|
end
|
3757
3757
|
end
|
3758
3758
|
|
3759
|
-
# Promotion
|
3759
|
+
# Promotion specification.
|
3760
3760
|
class GoogleCloudRetailV2betaPromotion
|
3761
3761
|
include Google::Apis::Core::Hashable
|
3762
3762
|
|
3763
|
-
#
|
3764
|
-
#
|
3765
|
-
#
|
3766
|
-
#
|
3767
|
-
#
|
3763
|
+
# Promotion identifier, which is the final component of name. For example, this
|
3764
|
+
# field is "free_gift", if name is `projects/*/locations/global/catalogs/
|
3765
|
+
# default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded
|
3766
|
+
# string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`.
|
3767
|
+
# For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT
|
3768
|
+
# error is returned. Corresponds to Google Merchant Center property [
|
3769
|
+
# promotion_id](https://support.google.com/merchants/answer/7050148).
|
3768
3770
|
# Corresponds to the JSON property `promotionId`
|
3769
3771
|
# @return [String]
|
3770
3772
|
attr_accessor :promotion_id
|
@@ -4908,6 +4910,13 @@ module Google
|
|
4908
4910
|
class GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey
|
4909
4911
|
include Google::Apis::Core::Hashable
|
4910
4912
|
|
4913
|
+
# Whether to make facet keys case insensitive when getting faceting values with
|
4914
|
+
# prefixes or contains.
|
4915
|
+
# Corresponds to the JSON property `caseInsensitive`
|
4916
|
+
# @return [Boolean]
|
4917
|
+
attr_accessor :case_insensitive
|
4918
|
+
alias_method :case_insensitive?, :case_insensitive
|
4919
|
+
|
4911
4920
|
# Only get facet values that contains the given strings. For example, suppose "
|
4912
4921
|
# categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe".
|
4913
4922
|
# If set "contains" to "Shoe", the "categories" facet will give only "Women >
|
@@ -4990,6 +4999,7 @@ module Google
|
|
4990
4999
|
|
4991
5000
|
# Update properties of this object
|
4992
5001
|
def update!(**args)
|
5002
|
+
@case_insensitive = args[:case_insensitive] if args.key?(:case_insensitive)
|
4993
5003
|
@contains = args[:contains] if args.key?(:contains)
|
4994
5004
|
@intervals = args[:intervals] if args.key?(:intervals)
|
4995
5005
|
@key = args[:key] if args.key?(:key)
|
@@ -5399,8 +5409,8 @@ module Google
|
|
5399
5409
|
# @return [String]
|
5400
5410
|
attr_accessor :model_id
|
5401
5411
|
|
5402
|
-
# Immutable. Fully qualified name projects/*/locations/global/catalogs/*/
|
5403
|
-
# servingConfig
|
5412
|
+
# Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/
|
5413
|
+
# servingConfig/*`
|
5404
5414
|
# Corresponds to the JSON property `name`
|
5405
5415
|
# @return [String]
|
5406
5416
|
attr_accessor :name
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2beta
|
18
18
|
# Version of the google-apis-retail_v2beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.42.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
|
@@ -2337,6 +2337,7 @@ module Google
|
|
2337
2337
|
class GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey
|
2338
2338
|
# @private
|
2339
2339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2340
|
+
property :case_insensitive, as: 'caseInsensitive'
|
2340
2341
|
collection :contains, as: 'contains'
|
2341
2342
|
collection :intervals, as: 'intervals', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval::Representation
|
2342
2343
|
|
@@ -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::RetailV2beta::GoogleCloudRetailV2betaAddCatalogAttributeRequest] google_cloud_retail_v2beta_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::RetailV2beta::GoogleCloudRetailV2betaRemoveCatalogAttributeRequest] google_cloud_retail_v2beta_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::RetailV2beta::GoogleCloudRetailV2betaReplaceCatalogAttributeRequest] google_cloud_retail_v2beta_replace_catalog_attribute_request_object
|
516
516
|
# @param [String] fields
|
517
517
|
# Selector specifying which fields to include in a partial response.
|
@@ -1106,8 +1106,8 @@ module Google
|
|
1106
1106
|
# Creates a Control. If the Control to create already exists, an ALREADY_EXISTS
|
1107
1107
|
# error is returned.
|
1108
1108
|
# @param [String] parent
|
1109
|
-
# Required. Full resource name of parent catalog. Format: projects/`
|
1110
|
-
# project_number`/locations/`location_id`/catalogs/`catalog_id
|
1109
|
+
# Required. Full resource name of parent catalog. Format: `projects/`
|
1110
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id``
|
1111
1111
|
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaControl] google_cloud_retail_v2beta_control_object
|
1112
1112
|
# @param [String] control_id
|
1113
1113
|
# Required. The ID to use for the Control, which will become the final component
|
@@ -1146,9 +1146,9 @@ module Google
|
|
1146
1146
|
# Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error
|
1147
1147
|
# is returned.
|
1148
1148
|
# @param [String] name
|
1149
|
-
# Required. The resource name of the Control to delete. Format: projects/`
|
1149
|
+
# Required. The resource name of the Control to delete. Format: `projects/`
|
1150
1150
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/controls/`
|
1151
|
-
# control_id
|
1151
|
+
# control_id``
|
1152
1152
|
# @param [String] fields
|
1153
1153
|
# Selector specifying which fields to include in a partial response.
|
1154
1154
|
# @param [String] quota_user
|
@@ -1178,9 +1178,9 @@ module Google
|
|
1178
1178
|
|
1179
1179
|
# Gets a Control.
|
1180
1180
|
# @param [String] name
|
1181
|
-
# Required. The resource name of the Control to delete. Format: projects/`
|
1181
|
+
# Required. The resource name of the Control to delete. Format: `projects/`
|
1182
1182
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/controls/`
|
1183
|
-
# control_id
|
1183
|
+
# control_id``
|
1184
1184
|
# @param [String] fields
|
1185
1185
|
# Selector specifying which fields to include in a partial response.
|
1186
1186
|
# @param [String] quota_user
|
@@ -1210,8 +1210,8 @@ module Google
|
|
1210
1210
|
|
1211
1211
|
# Lists all Controls linked to this catalog.
|
1212
1212
|
# @param [String] parent
|
1213
|
-
# Required. The catalog resource name. Format: projects/`project_number`/
|
1214
|
-
# locations/`location_id`/catalogs/`catalog_id
|
1213
|
+
# Required. The catalog resource name. Format: `projects/`project_number`/
|
1214
|
+
# locations/`location_id`/catalogs/`catalog_id``
|
1215
1215
|
# @param [String] filter
|
1216
1216
|
# Optional. A filter to apply on the list results. Supported features: * List
|
1217
1217
|
# all the products under the parent branch if filter is unset. * List controls
|
@@ -1257,8 +1257,8 @@ module Google
|
|
1257
1257
|
# INVALID_ARGUMENT is returned. If the Control to delete does not exist, a
|
1258
1258
|
# NOT_FOUND error is returned.
|
1259
1259
|
# @param [String] name
|
1260
|
-
# Immutable. Fully qualified name projects/*/locations/global/catalogs/*/
|
1261
|
-
# controls
|
1260
|
+
# Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/
|
1261
|
+
# controls/*`
|
1262
1262
|
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaControl] google_cloud_retail_v2beta_control_object
|
1263
1263
|
# @param [String] update_mask
|
1264
1264
|
# Indicates which fields in the provided Control to update. The following are
|
@@ -1373,8 +1373,8 @@ module Google
|
|
1373
1373
|
|
1374
1374
|
# Makes a recommendation prediction.
|
1375
1375
|
# @param [String] placement
|
1376
|
-
# Required. Full resource name of the format:
|
1377
|
-
# catalogs/default_catalog/placements
|
1376
|
+
# Required. Full resource name of the format: ``name=projects/*/locations/global/
|
1377
|
+
# catalogs/default_catalog/placements/*`` The ID of the Recommendations AI
|
1378
1378
|
# placement. Before you can request predictions from your model, you must create
|
1379
1379
|
# at least one placement for it. For more information, see [Managing placements](
|
1380
1380
|
# https://cloud.google.com/retail/recommendations-ai/docs/manage-placements).
|
@@ -1491,8 +1491,8 @@ module Google
|
|
1491
1491
|
# Creates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a
|
1492
1492
|
# Catalog, otherwise a FAILED_PRECONDITION error is returned.
|
1493
1493
|
# @param [String] parent
|
1494
|
-
# Required. Full resource name of parent. Format: projects/`project_number`/
|
1495
|
-
# locations/`location_id`/catalogs/`catalog_id
|
1494
|
+
# Required. Full resource name of parent. Format: `projects/`project_number`/
|
1495
|
+
# locations/`location_id`/catalogs/`catalog_id``
|
1496
1496
|
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaServingConfig] google_cloud_retail_v2beta_serving_config_object
|
1497
1497
|
# @param [String] serving_config_id
|
1498
1498
|
# Required. The ID to use for the ServingConfig, which will become the final
|
@@ -1635,8 +1635,8 @@ module Google
|
|
1635
1635
|
|
1636
1636
|
# Updates a ServingConfig.
|
1637
1637
|
# @param [String] name
|
1638
|
-
# Immutable. Fully qualified name projects/*/locations/global/catalogs/*/
|
1639
|
-
# servingConfig
|
1638
|
+
# Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/
|
1639
|
+
# servingConfig/*`
|
1640
1640
|
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaServingConfig] google_cloud_retail_v2beta_serving_config_object
|
1641
1641
|
# @param [String] update_mask
|
1642
1642
|
# 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_v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.42.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_v2beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.42.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|