google-apis-retail_v2beta 0.49.0 → 0.52.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: 5265670b3734d1129a54f2dbf21193ecbe1066ae8dcecf2c887d01d2b8910817
4
- data.tar.gz: 41d5d92c45012e20c7b0d8a6da3232fc5eb32432f81e1c2b6f471d90888c9510
3
+ metadata.gz: 62c5559b761e0f6763e50d8ba4e26f997c73bba6c905b1371c9486293fb761e1
4
+ data.tar.gz: 6b3220a80a77f005943c38ada331dbe2886fc61321249fd4ee5041e818feed37
5
5
  SHA512:
6
- metadata.gz: 44cb9c41e347cc9841f3e66914fc2b1d1fd2faaa65e880e92bea54f215b815eeaab8330a97c200cae70abd80759c7ae62ed416c255c13e3b9ec07c0874097b6a
7
- data.tar.gz: 933f2fc5231ec1bd62af1c5c96713b2f73a670ea962984fc1de585a2fb42bba85cde6889984e2878e1a4353e06dce2048793a55e74ceee81ea7f32a357719a02
6
+ metadata.gz: bd7aaa8fbeb426371b33a217805bfe63206324db935103e48178c548eafda3820214b54d583c1874cec372ff28bc003668d31fe20f1580e2d1d52e4599ef77f0
7
+ data.tar.gz: e8022ddce410eed1c5bd21f39efd376caf57a89e774c24d4ecc6ae4cedb25ebb1f4482db35b32aff68de9a90cda410c11c166074efcc7ed52fd630e864371cf6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.52.0 (2022-08-21)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.51.0 (2022-08-12)
8
+
9
+ * Regenerated from discovery document revision 20220811
10
+
11
+ ### v0.50.0 (2022-08-03)
12
+
13
+ * Regenerated from discovery document revision 20220729
14
+
3
15
  ### v0.49.0 (2022-07-26)
4
16
 
5
17
  * Regenerated from discovery document revision 20220722
@@ -365,8 +365,8 @@ module Google
365
365
  include Google::Apis::Core::Hashable
366
366
 
367
367
  # Google Cloud Storage prefix for import errors. This must be an empty, existing
368
- # Cloud Storage directory. Import errors will be written to sharded files in
369
- # this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
368
+ # Cloud Storage directory. Import errors are written to sharded files in this
369
+ # directory, one per line, as a JSON-encoded `google.rpc.Status` message.
370
370
  # Corresponds to the JSON property `gcsPrefix`
371
371
  # @return [String]
372
372
  attr_accessor :gcs_prefix
@@ -381,8 +381,8 @@ module Google
381
381
  end
382
382
  end
383
383
 
384
- # Metadata related to the progress of the Import operation. This will be
385
- # returned by the google.longrunning.Operation.metadata field.
384
+ # Metadata related to the progress of the Import operation. This is returned by
385
+ # the google.longrunning.Operation.metadata field.
386
386
  class GoogleCloudRetailV2ImportMetadata
387
387
  include Google::Apis::Core::Hashable
388
388
 
@@ -397,9 +397,9 @@ module Google
397
397
  attr_accessor :failure_count
398
398
 
399
399
  # Pub/Sub topic for receiving notification. If this field is set, when the
400
- # import is finished, a notification will be sent to specified Pub/Sub topic.
401
- # The message data will be JSON string of a Operation. Format of the Pub/Sub
402
- # topic is `projects/`project`/topics/`topic``.
400
+ # import is finished, a notification is sent to specified Pub/Sub topic. The
401
+ # message data is JSON string of a Operation. Format of the Pub/Sub topic is `
402
+ # projects/`project`/topics/`topic``.
403
403
  # Corresponds to the JSON property `notificationPubsubTopic`
404
404
  # @return [String]
405
405
  attr_accessor :notification_pubsub_topic
@@ -924,8 +924,8 @@ module Google
924
924
  include Google::Apis::Core::Hashable
925
925
 
926
926
  # Google Cloud Storage prefix for import errors. This must be an empty, existing
927
- # Cloud Storage directory. Import errors will be written to sharded files in
928
- # this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
927
+ # Cloud Storage directory. Import errors are written to sharded files in this
928
+ # directory, one per line, as a JSON-encoded `google.rpc.Status` message.
929
929
  # Corresponds to the JSON property `gcsPrefix`
930
930
  # @return [String]
931
931
  attr_accessor :gcs_prefix
@@ -940,8 +940,8 @@ module Google
940
940
  end
941
941
  end
942
942
 
943
- # Metadata related to the progress of the Import operation. This will be
944
- # returned by the google.longrunning.Operation.metadata field.
943
+ # Metadata related to the progress of the Import operation. This is returned by
944
+ # the google.longrunning.Operation.metadata field.
945
945
  class GoogleCloudRetailV2alphaImportMetadata
946
946
  include Google::Apis::Core::Hashable
947
947
 
@@ -956,9 +956,9 @@ module Google
956
956
  attr_accessor :failure_count
957
957
 
958
958
  # Pub/Sub topic for receiving notification. If this field is set, when the
959
- # import is finished, a notification will be sent to specified Pub/Sub topic.
960
- # The message data will be JSON string of a Operation. Format of the Pub/Sub
961
- # topic is `projects/`project`/topics/`topic``.
959
+ # import is finished, a notification is sent to specified Pub/Sub topic. The
960
+ # message data is JSON string of a Operation. Format of the Pub/Sub topic is `
961
+ # projects/`project`/topics/`topic``.
962
962
  # Corresponds to the JSON property `notificationPubsubTopic`
963
963
  # @return [String]
964
964
  attr_accessor :notification_pubsub_topic
@@ -973,6 +973,11 @@ module Google
973
973
  # @return [Fixnum]
974
974
  attr_accessor :success_count
975
975
 
976
+ # Metadata related to transform user events operation.
977
+ # Corresponds to the JSON property `transformedUserEventsMetadata`
978
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaTransformedUserEventsMetadata]
979
+ attr_accessor :transformed_user_events_metadata
980
+
976
981
  # Operation last update time. If the operation is done, this is also the finish
977
982
  # time.
978
983
  # Corresponds to the JSON property `updateTime`
@@ -990,6 +995,7 @@ module Google
990
995
  @notification_pubsub_topic = args[:notification_pubsub_topic] if args.key?(:notification_pubsub_topic)
991
996
  @request_id = args[:request_id] if args.key?(:request_id)
992
997
  @success_count = args[:success_count] if args.key?(:success_count)
998
+ @transformed_user_events_metadata = args[:transformed_user_events_metadata] if args.key?(:transformed_user_events_metadata)
993
999
  @update_time = args[:update_time] if args.key?(:update_time)
994
1000
  end
995
1001
  end
@@ -1057,7 +1063,7 @@ module Google
1057
1063
 
1058
1064
  # Metadata that describes the training and serving parameters of a Model. A
1059
1065
  # Model can be associated with a ServingConfig and then queried through the
1060
- # Predict api.
1066
+ # Predict API.
1061
1067
  class GoogleCloudRetailV2alphaModel
1062
1068
  include Google::Apis::Core::Hashable
1063
1069
 
@@ -1066,23 +1072,23 @@ module Google
1066
1072
  # @return [String]
1067
1073
  attr_accessor :create_time
1068
1074
 
1069
- # Output only. The state of data requirements for this model: DATA_OK and
1070
- # DATA_ERROR. Recommendation model cannot be trained if the data is in
1071
- # DATA_ERROR state. Recommendation model can have DATA_ERROR state even if
1072
- # serving state is ACTIVE: models were trained successfully before, but cannot
1075
+ # Output only. The state of data requirements for this model: `DATA_OK` and `
1076
+ # DATA_ERROR`. Recommendation model cannot be trained if the data is in `
1077
+ # DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if
1078
+ # serving state is `ACTIVE`: models were trained successfully before, but cannot
1073
1079
  # be refreshed because model no longer has sufficient data for training.
1074
1080
  # Corresponds to the JSON property `dataState`
1075
1081
  # @return [String]
1076
1082
  attr_accessor :data_state
1077
1083
 
1078
1084
  # Required. The display name of the model. Should be human readable, used to
1079
- # display Recommendation Models in the Retail Pantheon Dashboard. UTF-8 encoded
1080
- # string with limit of 1024 characters.
1085
+ # display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8
1086
+ # encoded string with limit of 1024 characters.
1081
1087
  # Corresponds to the JSON property `displayName`
1082
1088
  # @return [String]
1083
1089
  attr_accessor :display_name
1084
1090
 
1085
- # Optional. If RECOMMENDATIONS_FILTERING_ENABLED, recommendation filtering by
1091
+ # Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by
1086
1092
  # attributes is enabled for the model.
1087
1093
  # Corresponds to the JSON property `filteringOption`
1088
1094
  # @return [String]
@@ -1093,9 +1099,10 @@ module Google
1093
1099
  # @return [String]
1094
1100
  attr_accessor :last_tune_time
1095
1101
 
1096
- # Required. The fully qualified resource name of the model. Format: projects/`
1102
+ # Required. The fully qualified resource name of the model. Format: `projects/`
1097
1103
  # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
1098
- # catalog_id has char limit of 50. recommendation_model_id has char limit of 40.
1104
+ # ` catalog_id has char limit of 50. recommendation_model_id has char limit of
1105
+ # 40.
1099
1106
  # Corresponds to the JSON property `name`
1100
1107
  # @return [String]
1101
1108
  attr_accessor :name
@@ -1118,8 +1125,8 @@ module Google
1118
1125
  attr_accessor :page_optimization_config
1119
1126
 
1120
1127
  # Optional. The state of periodic tuning. The period we use is 3 months - to do
1121
- # a one-off tune earlier use the TuneModel method. Default value is
1122
- # PERIODIC_TUNING_ENABLED.
1128
+ # a one-off tune earlier use the `TuneModel` method. Default value is `
1129
+ # PERIODIC_TUNING_ENABLED`.
1123
1130
  # Corresponds to the JSON property `periodicTuningState`
1124
1131
  # @return [String]
1125
1132
  attr_accessor :periodic_tuning_state
@@ -1130,16 +1137,16 @@ module Google
1130
1137
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList>]
1131
1138
  attr_accessor :serving_config_lists
1132
1139
 
1133
- # Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.
1140
+ # Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.
1134
1141
  # Corresponds to the JSON property `servingState`
1135
1142
  # @return [String]
1136
1143
  attr_accessor :serving_state
1137
1144
 
1138
- # Optional. The training state that the model is in (e.g. TRAINING or PAUSED).
1139
- # Since part of the cost of running the service is frequency of training - this
1140
- # can be used to determine when to train model in order to control cost. If not
1141
- # specified: the default value for CreateModel method is TRAINING. the default
1142
- # value for UpdateModel method is to keep the state the same as before.
1145
+ # Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`)
1146
+ # . Since part of the cost of running the service is frequency of training -
1147
+ # this can be used to determine when to train model in order to control cost. If
1148
+ # not specified: the default value for `CreateModel` method is `TRAINING`. The
1149
+ # default value for `UpdateModel` method is to keep the state the same as before.
1143
1150
  # Corresponds to the JSON property `trainingState`
1144
1151
  # @return [String]
1145
1152
  attr_accessor :training_state
@@ -1153,7 +1160,7 @@ module Google
1153
1160
 
1154
1161
  # Required. The type of model e.g. `home-page`. Currently supported values: `
1155
1162
  # recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
1156
- # page-optimization`, 'similar-items', 'buy-it-again', `recently-viewed`(
1163
+ # page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(
1157
1164
  # readonly value).
1158
1165
  # Corresponds to the JSON property `type`
1159
1166
  # @return [String]
@@ -1238,9 +1245,10 @@ module Google
1238
1245
  class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
1239
1246
  include Google::Apis::Core::Hashable
1240
1247
 
1241
- # This has to be a valid ServingConfig identifier. e.g. for a ServingConfig with
1242
- # full name: `projects/*/locations/global/catalogs/default_catalog/
1243
- # servingConfigs/my_candidate_config` this would be 'my_candidate_config'
1248
+ # This has to be a valid ServingConfig identifier. For example, for a
1249
+ # ServingConfig with full name: `projects/*/locations/global/catalogs/
1250
+ # default_catalog/servingConfigs/my_candidate_config`, this would be `
1251
+ # my_candidate_config`.
1244
1252
  # Corresponds to the JSON property `servingConfigId`
1245
1253
  # @return [String]
1246
1254
  attr_accessor :serving_config_id
@@ -1287,13 +1295,13 @@ module Google
1287
1295
  end
1288
1296
  end
1289
1297
 
1290
- # Represents an ordered combination of valid serving configs, which / may be
1291
- # used for PAGE_OPTIMIZATION recommendations.
1298
+ # Represents an ordered combination of valid serving configs, which can be used
1299
+ # for `PAGE_OPTIMIZATION` recommendations.
1292
1300
  class GoogleCloudRetailV2alphaModelServingConfigList
1293
1301
  include Google::Apis::Core::Hashable
1294
1302
 
1295
- # Optional. A set of valid serving configs that may be used for
1296
- # PAGE_OPTIMIZATION.
1303
+ # Optional. A set of valid serving configs that may be used for `
1304
+ # PAGE_OPTIMIZATION`.
1297
1305
  # Corresponds to the JSON property `servingConfigIds`
1298
1306
  # @return [Array<String>]
1299
1307
  attr_accessor :serving_config_ids
@@ -1551,6 +1559,32 @@ module Google
1551
1559
  end
1552
1560
  end
1553
1561
 
1562
+ # Metadata related to transform user events operation.
1563
+ class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
1564
+ include Google::Apis::Core::Hashable
1565
+
1566
+ # Count of entries in the source user events BigQuery table.
1567
+ # Corresponds to the JSON property `sourceEventsCount`
1568
+ # @return [Fixnum]
1569
+ attr_accessor :source_events_count
1570
+
1571
+ # Count of entries in the transformed user events BigQuery table, which could be
1572
+ # different from the actually imported number of user events.
1573
+ # Corresponds to the JSON property `transformedEventsCount`
1574
+ # @return [Fixnum]
1575
+ attr_accessor :transformed_events_count
1576
+
1577
+ def initialize(**args)
1578
+ update!(**args)
1579
+ end
1580
+
1581
+ # Update properties of this object
1582
+ def update!(**args)
1583
+ @source_events_count = args[:source_events_count] if args.key?(:source_events_count)
1584
+ @transformed_events_count = args[:transformed_events_count] if args.key?(:transformed_events_count)
1585
+ end
1586
+ end
1587
+
1554
1588
  # Metadata associated with a tune operation.
1555
1589
  class GoogleCloudRetailV2alphaTuneModelMetadata
1556
1590
  include Google::Apis::Core::Hashable
@@ -1892,6 +1926,54 @@ module Google
1892
1926
  end
1893
1927
  end
1894
1928
 
1929
+ # Request for CatalogService.BatchRemoveCatalogAttributes method.
1930
+ class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest
1931
+ include Google::Apis::Core::Hashable
1932
+
1933
+ # Required. The attribute name keys of the CatalogAttributes to delete. A
1934
+ # maximum of 1000 catalog attributes can be deleted in a batch.
1935
+ # Corresponds to the JSON property `attributeKeys`
1936
+ # @return [Array<String>]
1937
+ attr_accessor :attribute_keys
1938
+
1939
+ def initialize(**args)
1940
+ update!(**args)
1941
+ end
1942
+
1943
+ # Update properties of this object
1944
+ def update!(**args)
1945
+ @attribute_keys = args[:attribute_keys] if args.key?(:attribute_keys)
1946
+ end
1947
+ end
1948
+
1949
+ # Response of the CatalogService.BatchRemoveCatalogAttributes.
1950
+ class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
1951
+ include Google::Apis::Core::Hashable
1952
+
1953
+ # Catalog attributes that were deleted. Only attributes that are not in use by
1954
+ # products can be deleted.
1955
+ # Corresponds to the JSON property `deletedCatalogAttributes`
1956
+ # @return [Array<String>]
1957
+ attr_accessor :deleted_catalog_attributes
1958
+
1959
+ # Catalog attributes that were reset. Attributes that are in use by products
1960
+ # cannot be deleted, however their configuration properties will reset to
1961
+ # default values upon removal request.
1962
+ # Corresponds to the JSON property `resetCatalogAttributes`
1963
+ # @return [Array<String>]
1964
+ attr_accessor :reset_catalog_attributes
1965
+
1966
+ def initialize(**args)
1967
+ update!(**args)
1968
+ end
1969
+
1970
+ # Update properties of this object
1971
+ def update!(**args)
1972
+ @deleted_catalog_attributes = args[:deleted_catalog_attributes] if args.key?(:deleted_catalog_attributes)
1973
+ @reset_catalog_attributes = args[:reset_catalog_attributes] if args.key?(:reset_catalog_attributes)
1974
+ end
1975
+ end
1976
+
1895
1977
  # A BigQuery output result.
1896
1978
  class GoogleCloudRetailV2betaBigQueryOutputResult
1897
1979
  include Google::Apis::Core::Hashable
@@ -1928,12 +2010,11 @@ module Google
1928
2010
  # recommendations-ai/docs/upload-catalog#mc). Supported values for user events
1929
2011
  # imports: * `user_event` (default): One JSON UserEvent per line. * `
1930
2012
  # user_event_ga360`: The schema is available here: https://support.google.com/
1931
- # analytics/answer/3437719. * `user_event_ga4`: This feature is in private
1932
- # preview. Please contact the support team for importing Google Analytics 4
1933
- # events. The schema is available here: https://support.google.com/analytics/
1934
- # answer/7029846. Supported values for auto-completion imports: * `suggestions` (
1935
- # default): One JSON completion suggestion per line. * `denylist`: One JSON deny
1936
- # suggestion per line. * `allowlist`: One JSON allow suggestion per line.
2013
+ # analytics/answer/3437719. * `user_event_ga4`: The schema is available here:
2014
+ # https://support.google.com/analytics/answer/7029846. Supported values for auto-
2015
+ # completion imports: * `suggestions` (default): One JSON completion suggestion
2016
+ # per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One
2017
+ # JSON allow suggestion per line.
1937
2018
  # Corresponds to the JSON property `dataSchema`
1938
2019
  # @return [String]
1939
2020
  attr_accessor :data_schema
@@ -2044,6 +2125,13 @@ module Google
2044
2125
  # @return [String]
2045
2126
  attr_accessor :dynamic_facetable_option
2046
2127
 
2128
+ # If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This
2129
+ # property only applies to textual custom attributes and requires indexable set
2130
+ # to enabled to enable exact-searchable.
2131
+ # Corresponds to the JSON property `exactSearchableOption`
2132
+ # @return [String]
2133
+ attr_accessor :exact_searchable_option
2134
+
2047
2135
  # Output only. Indicates whether this attribute has been used by any products. `
2048
2136
  # True` if at least one Product is using this attribute in Product.attributes.
2049
2137
  # Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
@@ -2105,6 +2193,7 @@ module Google
2105
2193
  # Update properties of this object
2106
2194
  def update!(**args)
2107
2195
  @dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
2196
+ @exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
2108
2197
  @in_use = args[:in_use] if args.key?(:in_use)
2109
2198
  @indexable_option = args[:indexable_option] if args.key?(:indexable_option)
2110
2199
  @key = args[:key] if args.key?(:key)
@@ -2177,7 +2266,7 @@ module Google
2177
2266
  # CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The
2178
2267
  # recent searches satisfy the follow rules: * They are ordered from latest to
2179
2268
  # oldest. * They are matched with CompleteQueryRequest.query case insensitively.
2180
- # * They are transformed to lower cases. * They are UTF-8 safe. Recent searches
2269
+ # * They are transformed to lower case. * They are UTF-8 safe. Recent searches
2181
2270
  # are deduplicated. More recent searches will be reserved when duplication
2182
2271
  # happens.
2183
2272
  # Corresponds to the JSON property `recentSearchResults`
@@ -2297,16 +2386,16 @@ module Google
2297
2386
  # @return [String]
2298
2387
  attr_accessor :matching_order
2299
2388
 
2300
- # The maximum number of autocomplete suggestions returned per term. The maximum
2301
- # allowed max suggestions is 20. Default value is 20. If left unset or set to 0,
2302
- # then will fallback to default value.
2389
+ # The maximum number of autocomplete suggestions returned per term. Default
2390
+ # value is 20. If left unset or set to 0, then will fallback to default value.
2391
+ # Value range is 1 to 20.
2303
2392
  # Corresponds to the JSON property `maxSuggestions`
2304
2393
  # @return [Fixnum]
2305
2394
  attr_accessor :max_suggestions
2306
2395
 
2307
2396
  # The minimum number of characters needed to be typed in order to get
2308
2397
  # suggestions. Default value is 2. If left unset or set to 0, then will fallback
2309
- # to default value.
2398
+ # to default value. Value range is 1 to 20.
2310
2399
  # Corresponds to the JSON property `minPrefixLength`
2311
2400
  # @return [Fixnum]
2312
2401
  attr_accessor :min_prefix_length
@@ -2749,7 +2838,7 @@ module Google
2749
2838
  end
2750
2839
  end
2751
2840
 
2752
- # Google Cloud Storage location for input content. format.
2841
+ # Google Cloud Storage location for input content.
2753
2842
  class GoogleCloudRetailV2betaGcsSource
2754
2843
  include Google::Apis::Core::Hashable
2755
2844
 
@@ -2760,8 +2849,8 @@ module Google
2760
2849
  # recommendations-ai/docs/upload-catalog#mc). Supported values for user events
2761
2850
  # imports: * `user_event` (default): One JSON UserEvent per line. * `
2762
2851
  # user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.
2763
- # Supported values for control imports: * 'control' (default): One JSON Control
2764
- # per line. Supported values for catalog attribute imports: * 'catalog_attribute'
2852
+ # Supported values for control imports: * `control` (default): One JSON Control
2853
+ # per line. Supported values for catalog attribute imports: * `catalog_attribute`
2765
2854
  # (default): One CSV CatalogAttribute per line.
2766
2855
  # Corresponds to the JSON property `dataSchema`
2767
2856
  # @return [String]
@@ -2871,9 +2960,9 @@ module Google
2871
2960
  attr_accessor :input_config
2872
2961
 
2873
2962
  # Pub/Sub topic for receiving notification. If this field is set, when the
2874
- # import is finished, a notification will be sent to specified Pub/Sub topic.
2875
- # The message data will be JSON string of a Operation. Format of the Pub/Sub
2876
- # topic is `projects/`project`/topics/`topic``.
2963
+ # import is finished, a notification is sent to specified Pub/Sub topic. The
2964
+ # message data is JSON string of a Operation. Format of the Pub/Sub topic is `
2965
+ # projects/`project`/topics/`topic``.
2877
2966
  # Corresponds to the JSON property `notificationPubsubTopic`
2878
2967
  # @return [String]
2879
2968
  attr_accessor :notification_pubsub_topic
@@ -2915,8 +3004,8 @@ module Google
2915
3004
  include Google::Apis::Core::Hashable
2916
3005
 
2917
3006
  # Google Cloud Storage prefix for import errors. This must be an empty, existing
2918
- # Cloud Storage directory. Import errors will be written to sharded files in
2919
- # this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
3007
+ # Cloud Storage directory. Import errors are written to sharded files in this
3008
+ # directory, one per line, as a JSON-encoded `google.rpc.Status` message.
2920
3009
  # Corresponds to the JSON property `gcsPrefix`
2921
3010
  # @return [String]
2922
3011
  attr_accessor :gcs_prefix
@@ -2931,8 +3020,8 @@ module Google
2931
3020
  end
2932
3021
  end
2933
3022
 
2934
- # Metadata related to the progress of the Import operation. This will be
2935
- # returned by the google.longrunning.Operation.metadata field.
3023
+ # Metadata related to the progress of the Import operation. This is returned by
3024
+ # the google.longrunning.Operation.metadata field.
2936
3025
  class GoogleCloudRetailV2betaImportMetadata
2937
3026
  include Google::Apis::Core::Hashable
2938
3027
 
@@ -2947,9 +3036,9 @@ module Google
2947
3036
  attr_accessor :failure_count
2948
3037
 
2949
3038
  # Pub/Sub topic for receiving notification. If this field is set, when the
2950
- # import is finished, a notification will be sent to specified Pub/Sub topic.
2951
- # The message data will be JSON string of a Operation. Format of the Pub/Sub
2952
- # topic is `projects/`project`/topics/`topic``.
3039
+ # import is finished, a notification is sent to specified Pub/Sub topic. The
3040
+ # message data is JSON string of a Operation. Format of the Pub/Sub topic is `
3041
+ # projects/`project`/topics/`topic``.
2953
3042
  # Corresponds to the JSON property `notificationPubsubTopic`
2954
3043
  # @return [String]
2955
3044
  attr_accessor :notification_pubsub_topic
@@ -3000,14 +3089,12 @@ module Google
3000
3089
  attr_accessor :input_config
3001
3090
 
3002
3091
  # Full Pub/Sub topic name for receiving notification. If this field is set, when
3003
- # the import is finished, a notification will be sent to specified Pub/Sub topic.
3004
- # The message data will be JSON string of a Operation. Format of the Pub/Sub
3005
- # topic is `projects/`project`/topics/`topic``. It has to be within the same
3006
- # project as ImportProductsRequest.parent. Make sure that both `cloud-retail-
3007
- # customer-data-access@system.gserviceaccount.com` and `service-@gcp-sa-retail.
3008
- # iam.gserviceaccount.com` have the `pubsub.topics.publish` IAM permission on
3009
- # the topic. Only supported when ImportProductsRequest.reconciliation_mode is
3010
- # set to `FULL`.
3092
+ # the import is finished, a notification is sent to specified Pub/Sub topic. The
3093
+ # message data is JSON string of a Operation. Format of the Pub/Sub topic is `
3094
+ # projects/`project`/topics/`topic``. It has to be within the same project as
3095
+ # ImportProductsRequest.parent. Make sure that `service-@gcp-sa-retail.iam.
3096
+ # gserviceaccount.com` has the `pubsub.topics.publish` IAM permission on the
3097
+ # topic.
3011
3098
  # Corresponds to the JSON property `notificationPubsubTopic`
3012
3099
  # @return [String]
3013
3100
  attr_accessor :notification_pubsub_topic
@@ -3023,8 +3110,8 @@ module Google
3023
3110
  # @return [String]
3024
3111
  attr_accessor :request_id
3025
3112
 
3026
- # Indicates which fields in the provided imported 'products' to update. If not
3027
- # set, will by default update all fields.
3113
+ # Indicates which fields in the provided imported `products` to update. If not
3114
+ # set, all fields are updated.
3028
3115
  # Corresponds to the JSON property `updateMask`
3029
3116
  # @return [String]
3030
3117
  attr_accessor :update_mask
@@ -3338,8 +3425,8 @@ module Google
3338
3425
  attr_accessor :branch_id
3339
3426
 
3340
3427
  # String representing the destination to import for, all if left empty. List of
3341
- # possible values can be found here. [https://support.google.com/merchants/
3342
- # answer/7501026] List of allowed string values: "Shopping_ads", "
3428
+ # possible values is given in [Included destination](https://support.google.com/
3429
+ # merchants/answer/7501026). List of allowed string values: "Shopping_ads", "
3343
3430
  # Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings"
3344
3431
  # , "Free_local_listings" NOTE: The string values are case sensitive.
3345
3432
  # Corresponds to the JSON property `destinations`
@@ -3467,15 +3554,15 @@ module Google
3467
3554
  # @return [Hash<String,String>]
3468
3555
  attr_accessor :labels
3469
3556
 
3470
- # Maximum number of results to return per page. Set this property to the number
3471
- # of prediction results needed. If zero, the service will choose a reasonable
3557
+ # Maximum number of results to return. Set this property to the number of
3558
+ # prediction results needed. If zero, the service will choose a reasonable
3472
3559
  # default. The maximum allowed value is 100. Values above 100 will be coerced to
3473
3560
  # 100.
3474
3561
  # Corresponds to the JSON property `pageSize`
3475
3562
  # @return [Fixnum]
3476
3563
  attr_accessor :page_size
3477
3564
 
3478
- # This field is not used for now, leave it unset.
3565
+ # This field is not used; leave it unset.
3479
3566
  # Corresponds to the JSON property `pageToken`
3480
3567
  # @return [String]
3481
3568
  attr_accessor :page_token
@@ -3782,7 +3869,7 @@ module Google
3782
3869
 
3783
3870
  # The id of the collection members when type is Type.COLLECTION. Non-existent
3784
3871
  # product ids are allowed. The type of the members must be either Type.PRIMARY
3785
- # or Type.VARIANT otherwise and INVALID_ARGUMENT error is thrown. Should not set
3872
+ # or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set
3786
3873
  # it for other types. A maximum of 1000 values are allowed. Otherwise, an
3787
3874
  # INVALID_ARGUMENT error is return.
3788
3875
  # Corresponds to the JSON property `collectionMemberIds`
@@ -4131,7 +4218,7 @@ module Google
4131
4218
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQuerySource]
4132
4219
  attr_accessor :big_query_source
4133
4220
 
4134
- # Google Cloud Storage location for input content. format.
4221
+ # Google Cloud Storage location for input content.
4135
4222
  # Corresponds to the JSON property `gcsSource`
4136
4223
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGcsSource]
4137
4224
  attr_accessor :gcs_source
@@ -4681,7 +4768,7 @@ module Google
4681
4768
  attr_accessor :do_not_associate_action
4682
4769
 
4683
4770
  # * Rule Condition: - No Condition.query_terms provided is a global match. - 1
4684
- # or more Condition.query_terms provided is combined with OR operator. * Action
4771
+ # or more Condition.query_terms provided are combined with OR operator. * Action
4685
4772
  # Input: The request query and filter that are applied to the retrieved products,
4686
4773
  # in addition to any filters already provided with the SearchRequest. The AND
4687
4774
  # operator is used to combine the query's existing filters with the filter rule(
@@ -4818,7 +4905,7 @@ module Google
4818
4905
  end
4819
4906
 
4820
4907
  # * Rule Condition: - No Condition.query_terms provided is a global match. - 1
4821
- # or more Condition.query_terms provided is combined with OR operator. * Action
4908
+ # or more Condition.query_terms provided are combined with OR operator. * Action
4822
4909
  # Input: The request query and filter that are applied to the retrieved products,
4823
4910
  # in addition to any filters already provided with the SearchRequest. The AND
4824
4911
  # operator is used to combine the query's existing filters with the filter rule(
@@ -5438,6 +5525,13 @@ module Google
5438
5525
  # @return [Array<String>]
5439
5526
  attr_accessor :restricted_values
5440
5527
 
5528
+ # Returns the min and max value for each numerical facet intervals. Ignored for
5529
+ # textual facets.
5530
+ # Corresponds to the JSON property `returnMinMax`
5531
+ # @return [Boolean]
5532
+ attr_accessor :return_min_max
5533
+ alias_method :return_min_max?, :return_min_max
5534
+
5441
5535
  def initialize(**args)
5442
5536
  update!(**args)
5443
5537
  end
@@ -5452,6 +5546,7 @@ module Google
5452
5546
  @prefixes = args[:prefixes] if args.key?(:prefixes)
5453
5547
  @query = args[:query] if args.key?(:query)
5454
5548
  @restricted_values = args[:restricted_values] if args.key?(:restricted_values)
5549
+ @return_min_max = args[:return_min_max] if args.key?(:return_min_max)
5455
5550
  end
5456
5551
  end
5457
5552
 
@@ -5654,6 +5749,18 @@ module Google
5654
5749
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval]
5655
5750
  attr_accessor :interval
5656
5751
 
5752
+ # The maximum value in the FacetValue.interval. Only supported on numerical
5753
+ # facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.
5754
+ # Corresponds to the JSON property `maxValue`
5755
+ # @return [Float]
5756
+ attr_accessor :max_value
5757
+
5758
+ # The minimum value in the FacetValue.interval. Only supported on numerical
5759
+ # facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.
5760
+ # Corresponds to the JSON property `minValue`
5761
+ # @return [Float]
5762
+ attr_accessor :min_value
5763
+
5657
5764
  # Text value of a facet, such as "Black" for facet "colorFamilies".
5658
5765
  # Corresponds to the JSON property `value`
5659
5766
  # @return [String]
@@ -5667,6 +5774,8 @@ module Google
5667
5774
  def update!(**args)
5668
5775
  @count = args[:count] if args.key?(:count)
5669
5776
  @interval = args[:interval] if args.key?(:interval)
5777
+ @max_value = args[:max_value] if args.key?(:max_value)
5778
+ @min_value = args[:min_value] if args.key?(:min_value)
5670
5779
  @value = args[:value] if args.key?(:value)
5671
5780
  end
5672
5781
  end
@@ -5722,6 +5831,15 @@ module Google
5722
5831
  # @return [Hash<String,String>]
5723
5832
  attr_accessor :matching_variant_fields
5724
5833
 
5834
+ # Specifies previous events related to this product for this user based on
5835
+ # UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set
5836
+ # only when SearchRequest.PersonalizationSpec.mode is SearchRequest.
5837
+ # PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that
5838
+ # this product has been purchased before.
5839
+ # Corresponds to the JSON property `personalLabels`
5840
+ # @return [Array<String>]
5841
+ attr_accessor :personal_labels
5842
+
5725
5843
  # Product captures all metadata information of items to be recommended or
5726
5844
  # searched.
5727
5845
  # Corresponds to the JSON property `product`
@@ -5754,6 +5872,7 @@ module Google
5754
5872
  @id = args[:id] if args.key?(:id)
5755
5873
  @matching_variant_count = args[:matching_variant_count] if args.key?(:matching_variant_count)
5756
5874
  @matching_variant_fields = args[:matching_variant_fields] if args.key?(:matching_variant_fields)
5875
+ @personal_labels = args[:personal_labels] if args.key?(:personal_labels)
5757
5876
  @product = args[:product] if args.key?(:product)
5758
5877
  @variant_rollup_values = args[:variant_rollup_values] if args.key?(:variant_rollup_values)
5759
5878
  end
@@ -6332,7 +6451,7 @@ module Google
6332
6451
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQuerySource]
6333
6452
  attr_accessor :big_query_source
6334
6453
 
6335
- # Google Cloud Storage location for input content. format.
6454
+ # Google Cloud Storage location for input content.
6336
6455
  # Corresponds to the JSON property `gcsSource`
6337
6456
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGcsSource]
6338
6457
  attr_accessor :gcs_source
@@ -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.49.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220722"
25
+ REVISION = "20220811"
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 GoogleCloudRetailV2alphaTransformedUserEventsMetadata
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
385
391
  class GoogleCloudRetailV2alphaTuneModelMetadata
386
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
393
 
@@ -460,6 +466,18 @@ module Google
460
466
  include Google::Apis::Core::JsonObjectSupport
461
467
  end
462
468
 
469
+ class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
463
481
  class GoogleCloudRetailV2betaBigQueryOutputResult
464
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
483
 
@@ -1415,6 +1433,8 @@ module Google
1415
1433
  property :notification_pubsub_topic, as: 'notificationPubsubTopic'
1416
1434
  property :request_id, as: 'requestId'
1417
1435
  property :success_count, :numeric_string => true, as: 'successCount'
1436
+ property :transformed_user_events_metadata, as: 'transformedUserEventsMetadata', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaTransformedUserEventsMetadata, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaTransformedUserEventsMetadata::Representation
1437
+
1418
1438
  property :update_time, as: 'updateTime'
1419
1439
  end
1420
1440
  end
@@ -1587,6 +1607,14 @@ module Google
1587
1607
  end
1588
1608
  end
1589
1609
 
1610
+ class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
1611
+ # @private
1612
+ class Representation < Google::Apis::Core::JsonRepresentation
1613
+ property :source_events_count, :numeric_string => true, as: 'sourceEventsCount'
1614
+ property :transformed_events_count, :numeric_string => true, as: 'transformedEventsCount'
1615
+ end
1616
+ end
1617
+
1590
1618
  class GoogleCloudRetailV2alphaTuneModelMetadata
1591
1619
  # @private
1592
1620
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1686,6 +1714,21 @@ module Google
1686
1714
  end
1687
1715
  end
1688
1716
 
1717
+ class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest
1718
+ # @private
1719
+ class Representation < Google::Apis::Core::JsonRepresentation
1720
+ collection :attribute_keys, as: 'attributeKeys'
1721
+ end
1722
+ end
1723
+
1724
+ class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
1725
+ # @private
1726
+ class Representation < Google::Apis::Core::JsonRepresentation
1727
+ collection :deleted_catalog_attributes, as: 'deletedCatalogAttributes'
1728
+ collection :reset_catalog_attributes, as: 'resetCatalogAttributes'
1729
+ end
1730
+ end
1731
+
1689
1732
  class GoogleCloudRetailV2betaBigQueryOutputResult
1690
1733
  # @private
1691
1734
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1723,6 +1766,7 @@ module Google
1723
1766
  # @private
1724
1767
  class Representation < Google::Apis::Core::JsonRepresentation
1725
1768
  property :dynamic_facetable_option, as: 'dynamicFacetableOption'
1769
+ property :exact_searchable_option, as: 'exactSearchableOption'
1726
1770
  property :in_use, as: 'inUse'
1727
1771
  property :indexable_option, as: 'indexableOption'
1728
1772
  property :key, as: 'key'
@@ -2537,6 +2581,7 @@ module Google
2537
2581
  collection :prefixes, as: 'prefixes'
2538
2582
  property :query, as: 'query'
2539
2583
  collection :restricted_values, as: 'restrictedValues'
2584
+ property :return_min_max, as: 'returnMinMax'
2540
2585
  end
2541
2586
  end
2542
2587
 
@@ -2598,6 +2643,8 @@ module Google
2598
2643
  property :count, :numeric_string => true, as: 'count'
2599
2644
  property :interval, as: 'interval', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval::Representation
2600
2645
 
2646
+ property :max_value, as: 'maxValue'
2647
+ property :min_value, as: 'minValue'
2601
2648
  property :value, as: 'value'
2602
2649
  end
2603
2650
  end
@@ -2616,6 +2663,7 @@ module Google
2616
2663
  property :id, as: 'id'
2617
2664
  property :matching_variant_count, as: 'matchingVariantCount'
2618
2665
  hash :matching_variant_fields, as: 'matchingVariantFields'
2666
+ collection :personal_labels, as: 'personalLabels'
2619
2667
  property :product, as: 'product', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct::Representation
2620
2668
 
2621
2669
  hash :variant_rollup_values, as: 'variantRollupValues'
@@ -472,6 +472,41 @@ module Google
472
472
  execute_or_queue_command(command, &block)
473
473
  end
474
474
 
475
+ # Removes all specified CatalogAttributes from the AttributesConfig.
476
+ # @param [String] attributes_config
477
+ # Required. The attributes config resource shared by all catalog attributes
478
+ # being deleted. Format: `projects/`project_number`/locations/`location_id`/
479
+ # catalogs/`catalog_id`/attributesConfig`
480
+ # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest] google_cloud_retail_v2beta_batch_remove_catalog_attributes_request_object
481
+ # @param [String] fields
482
+ # Selector specifying which fields to include in a partial response.
483
+ # @param [String] quota_user
484
+ # Available to use for quota purposes for server-side applications. Can be any
485
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
486
+ # @param [Google::Apis::RequestOptions] options
487
+ # Request-specific options
488
+ #
489
+ # @yield [result, err] Result & error if block supplied
490
+ # @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse] parsed result object
491
+ # @yieldparam err [StandardError] error object if request failed
492
+ #
493
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse]
494
+ #
495
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
496
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
497
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
498
+ def batch_project_location_catalog_attributes_config_remove_catalog_attributes(attributes_config, google_cloud_retail_v2beta_batch_remove_catalog_attributes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
499
+ command = make_simple_command(:post, 'v2beta/{+attributesConfig}:batchRemoveCatalogAttributes', options)
500
+ command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest::Representation
501
+ command.request_object = google_cloud_retail_v2beta_batch_remove_catalog_attributes_request_object
502
+ command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse::Representation
503
+ command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
504
+ command.params['attributesConfig'] = attributes_config unless attributes_config.nil?
505
+ command.query['fields'] = fields unless fields.nil?
506
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
507
+ execute_or_queue_command(command, &block)
508
+ end
509
+
475
510
  # Removes the specified CatalogAttribute from the AttributesConfig. If the
476
511
  # CatalogAttribute to remove does not exist, a NOT_FOUND error is returned.
477
512
  # @param [String] attributes_config
@@ -579,9 +614,13 @@ module Google
579
614
  # updating fulfillment information. If the request is valid, the update will be
580
615
  # enqueued and processed downstream. As a consequence, when a response is
581
616
  # returned, the added place IDs are not immediately manifested in the Product
582
- # queried by ProductService.GetProduct or ProductService.ListProducts. This
583
- # feature is only available for users who have Retail Search enabled. Please
584
- # enable Retail Search on Cloud Console before using this feature.
617
+ # queried by ProductService.GetProduct or ProductService.ListProducts. The
618
+ # returned Operations will be obsolete after 1 day, and GetOperation API will
619
+ # return NOT_FOUND afterwards. If conflicting updates are issued, the Operations
620
+ # associated with the stale updates will not be marked as done until being
621
+ # obsolete. This feature is only available for users who have Retail Search
622
+ # enabled. Please enable Retail Search on Cloud Console before using this
623
+ # feature.
585
624
  # @param [String] product
586
625
  # Required. Full resource name of Product, such as `projects/*/locations/global/
587
626
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -626,9 +665,12 @@ module Google
626
665
  # ProductService.GetProduct or ProductService.ListProducts. Local inventory
627
666
  # information can only be modified using this method. ProductService.
628
667
  # CreateProduct and ProductService.UpdateProduct has no effect on local
629
- # inventories. This feature is only available for users who have Retail Search
630
- # enabled. Please enable Retail Search on Cloud Console before using this
631
- # feature.
668
+ # inventories. The returned Operations will be obsolete after 1 day, and
669
+ # GetOperation API will return NOT_FOUND afterwards. If conflicting updates are
670
+ # issued, the Operations associated with the stale updates will not be marked as
671
+ # done until being obsolete. This feature is only available for users who have
672
+ # Retail Search enabled. Please enable Retail Search on Cloud Console before
673
+ # using this feature.
632
674
  # @param [String] product
633
675
  # Required. Full resource name of Product, such as `projects/*/locations/global/
634
676
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -934,9 +976,13 @@ module Google
934
976
  # updating fulfillment information. If the request is valid, the update will be
935
977
  # enqueued and processed downstream. As a consequence, when a response is
936
978
  # returned, the removed place IDs are not immediately manifested in the Product
937
- # queried by ProductService.GetProduct or ProductService.ListProducts. This
938
- # feature is only available for users who have Retail Search enabled. Please
939
- # enable Retail Search on Cloud Console before using this feature.
979
+ # queried by ProductService.GetProduct or ProductService.ListProducts. The
980
+ # returned Operations will be obsolete after 1 day, and GetOperation API will
981
+ # return NOT_FOUND afterwards. If conflicting updates are issued, the Operations
982
+ # associated with the stale updates will not be marked as done until being
983
+ # obsolete. This feature is only available for users who have Retail Search
984
+ # enabled. Please enable Retail Search on Cloud Console before using this
985
+ # feature.
940
986
  # @param [String] product
941
987
  # Required. Full resource name of Product, such as `projects/*/locations/global/
942
988
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -979,9 +1025,12 @@ module Google
979
1025
  # queried by ProductService.GetProduct or ProductService.ListProducts. Local
980
1026
  # inventory information can only be removed using this method. ProductService.
981
1027
  # CreateProduct and ProductService.UpdateProduct has no effect on local
982
- # inventories. This feature is only available for users who have Retail Search
983
- # enabled. Please enable Retail Search on Cloud Console before using this
984
- # feature.
1028
+ # inventories. The returned Operations will be obsolete after 1 day, and
1029
+ # GetOperation API will return NOT_FOUND afterwards. If conflicting updates are
1030
+ # issued, the Operations associated with the stale updates will not be marked as
1031
+ # done until being obsolete. This feature is only available for users who have
1032
+ # Retail Search enabled. Please enable Retail Search on Cloud Console before
1033
+ # using this feature.
985
1034
  # @param [String] product
986
1035
  # Required. Full resource name of Product, such as `projects/*/locations/global/
987
1036
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -1034,9 +1083,12 @@ module Google
1034
1083
  # SetInventoryRequest.set_mask, then any existing inventory information will be
1035
1084
  # preserved. Pre-existing inventory information can only be updated with
1036
1085
  # ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and
1037
- # ProductService.RemoveFulfillmentPlaces. This feature is only available for
1038
- # users who have Retail Search enabled. Please enable Retail Search on Cloud
1039
- # Console before using this feature.
1086
+ # ProductService.RemoveFulfillmentPlaces. The returned Operations will be
1087
+ # obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards.
1088
+ # If conflicting updates are issued, the Operations associated with the stale
1089
+ # updates will not be marked as done until being obsolete. This feature is only
1090
+ # available for users who have Retail Search enabled. Please enable Retail
1091
+ # Search on Cloud Console before using this feature.
1040
1092
  # @param [String] name
1041
1093
  # Immutable. Full resource name of the product, such as `projects/*/locations/
1042
1094
  # global/catalogs/default_catalog/branches/default_branch/products/product_id`.
@@ -1852,9 +1904,9 @@ module Google
1852
1904
 
1853
1905
  # Bulk import of User events. Request processing might be synchronous. Events
1854
1906
  # that already exist are skipped. Use this method for backfilling historical
1855
- # user events. Operation.response is of type ImportResponse. Note that it is
1856
- # possible for a subset of the items to be successfully inserted. Operation.
1857
- # metadata is of type ImportMetadata.
1907
+ # user events. `Operation.response` is of type `ImportResponse`. Note that it is
1908
+ # possible for a subset of the items to be successfully inserted. `Operation.
1909
+ # metadata` is of type `ImportMetadata`.
1858
1910
  # @param [String] parent
1859
1911
  # Required. `projects/1234/locations/global/catalogs/default_catalog`
1860
1912
  # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportUserEventsRequest] google_cloud_retail_v2beta_import_user_events_request_object
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.49.0
4
+ version: 0.52.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-08-01 00:00:00.000000000 Z
11
+ date: 2022-08-22 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_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.52.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: []