google-apis-retail_v2alpha 0.44.0 → 0.45.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: d0501411f8392c47a42cde2e731fe7ed38f1ecadb5932140e73faf75cdeaf9b6
4
- data.tar.gz: 55736739a79b6da3399587347b790893f467d1f1fda00baa7669e06574161d29
3
+ metadata.gz: f422425497e654cb3ecc0fdcba5eab497498948d6be0b26770c95c9d337dfd35
4
+ data.tar.gz: d9f6a20337dc857c3dbb75ce98db986ec3c8191f070052d825d3674fc800e4f9
5
5
  SHA512:
6
- metadata.gz: 8f5f8596cbd6a51d121cec9041473fdf45d9bbcabe20832b486e0354ca72d3f39173ee2100d48cb2a8c53da2c2d53cf2c425d38ca852680baf011b9166e1780a
7
- data.tar.gz: f0158d3ab733de0c6df0df577dfa81ae45ff42013fef3563ed39e77612ec3dc08cd4bff869e5aec0f6b463939127f6c13121db7849bded9fcc2ff150046d76fe
6
+ metadata.gz: 1143e904c0468f38564e8f34bfe7f41ef985012d059be6dbef6441dbc91e5d4e03d8d4b7dec6ec58a3890a0c2fafc8bd005553cbbb21a2070b2e0c9ad61f3fb5
7
+ data.tar.gz: fdb438745b12d9918c08a9262c1288ffc47e037f43b0a6cdcb35332fdf9e3b6e73c72ea4ae1bfc4b33677aa05beca7ab7503e05097e19edf1f2bb0666397b5cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.45.0 (2022-06-23)
4
+
5
+ * Regenerated from discovery document revision 20220617
6
+ * Regenerated using generator version 0.7.0
7
+
3
8
  ### v0.44.0 (2022-06-14)
4
9
 
5
10
  * Regenerated from discovery document revision 20220609
@@ -1113,6 +1113,14 @@ module Google
1113
1113
  # @return [String]
1114
1114
  attr_accessor :key
1115
1115
 
1116
+ # When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
1117
+ # if RECOMMENDATIONS_FILTERING_ENABLED, attribute values are filterable for
1118
+ # recommendations. This option works for categorical features only, does not
1119
+ # work for numerical features, inventory filtering.
1120
+ # Corresponds to the JSON property `recommendationsFilteringOption`
1121
+ # @return [String]
1122
+ attr_accessor :recommendations_filtering_option
1123
+
1116
1124
  # When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
1117
1125
  # if SEARCHABLE_ENABLED, attribute values are searchable by text queries in
1118
1126
  # SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical,
@@ -1138,6 +1146,7 @@ module Google
1138
1146
  @in_use = args[:in_use] if args.key?(:in_use)
1139
1147
  @indexable_option = args[:indexable_option] if args.key?(:indexable_option)
1140
1148
  @key = args[:key] if args.key?(:key)
1149
+ @recommendations_filtering_option = args[:recommendations_filtering_option] if args.key?(:recommendations_filtering_option)
1141
1150
  @searchable_option = args[:searchable_option] if args.key?(:searchable_option)
1142
1151
  @type = args[:type] if args.key?(:type)
1143
1152
  end
@@ -1297,14 +1306,16 @@ module Google
1297
1306
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompletionDataInputConfig]
1298
1307
  attr_accessor :denylist_input_config
1299
1308
 
1300
- # Output only. LRO corresponding to the latest allowlist import. Can use
1301
- # GetOperation API to retrieve the latest state of the Long Running Operation.
1309
+ # Output only. Name of the LRO corresponding to the latest allowlist import. Can
1310
+ # use GetOperation API to retrieve the latest state of the Long Running
1311
+ # Operation.
1302
1312
  # Corresponds to the JSON property `lastAllowlistImportOperation`
1303
1313
  # @return [String]
1304
1314
  attr_accessor :last_allowlist_import_operation
1305
1315
 
1306
- # Output only. LRO corresponding to the latest denylist import. Can use
1307
- # GetOperation API to retrieve the latest state of the Long Running Operation.
1316
+ # Output only. Name of the LRO corresponding to the latest denylist import. Can
1317
+ # use GetOperation API to retrieve the latest state of the Long Running
1318
+ # Operation.
1308
1319
  # Corresponds to the JSON property `lastDenylistImportOperation`
1309
1320
  # @return [String]
1310
1321
  attr_accessor :last_denylist_import_operation
@@ -2459,7 +2470,11 @@ module Google
2459
2470
  # only want results strictly matching the filters, set `strictFiltering` to True
2460
2471
  # in `PredictRequest.params` to receive empty results instead. Note that the API
2461
2472
  # will never return items with storageStatus of "EXPIRED" or "DELETED"
2462
- # regardless of filter choices.
2473
+ # regardless of filter choices. If `filterSyntaxV2` is set to true under the `
2474
+ # params` field, then attribute based expressions are expected instead of the
2475
+ # above described tag-based syntax. Examples: * (colors: ANY("Red", "Blue")) AND
2476
+ # NOT (categories: ANY("Phones")) * (availability: ANY("IN_STOCK")) AND (colors:
2477
+ # ANY("Red") OR categories: ANY("Phones"))
2463
2478
  # Corresponds to the JSON property `filter`
2464
2479
  # @return [String]
2465
2480
  attr_accessor :filter
@@ -2508,7 +2523,9 @@ module Google
2508
2523
  # price. * `diversityLevel`: String. Default empty. If set to be non-empty, then
2509
2524
  # it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
2510
2525
  # high-diversity', 'auto-diversity'`. This gives request-level control and
2511
- # adjusts prediction results based on product category.
2526
+ # adjusts prediction results based on product category. * `filterSyntaxV2`:
2527
+ # Boolean. False by default. If set to true, the `filter` field will be
2528
+ # interpreteted according to the new, attribute-based syntax.
2512
2529
  # Corresponds to the JSON property `params`
2513
2530
  # @return [Hash<String,Object>]
2514
2531
  attr_accessor :params
@@ -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.44.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.6.0"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220609"
25
+ REVISION = "20220617"
26
26
  end
27
27
  end
28
28
  end
@@ -1358,6 +1358,7 @@ module Google
1358
1358
  property :in_use, as: 'inUse'
1359
1359
  property :indexable_option, as: 'indexableOption'
1360
1360
  property :key, as: 'key'
1361
+ property :recommendations_filtering_option, as: 'recommendationsFilteringOption'
1361
1362
  property :searchable_option, as: 'searchableOption'
1362
1363
  property :type, as: 'type'
1363
1364
  end
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.44.0
4
+ version: 0.45.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-06-20 00:00:00.000000000 Z
11
+ date: 2022-06-27 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.5'
19
+ version: '0.6'
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.5'
29
+ version: '0.6'
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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.45.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: []