google-apis-retail_v2beta 0.45.0 → 0.48.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: f05a11bd21474caa0b330347bbf902a828e44fd6baa1178894a4725add222bbf
4
- data.tar.gz: 75d0bb9f99b205498f908d76afb91feedfc6f5fbc9f3410e96400c9cadfba175
3
+ metadata.gz: db793e92a01d652adbcc15c48098a430659fc3b12e192b93d2469410f6950c46
4
+ data.tar.gz: 5e2ec82bdff8cee71cc4e7d04f797be372d66127d71cce2876fe0daa96c46980
5
5
  SHA512:
6
- metadata.gz: 224f9910897cb1ff2ba3100dd2970691240338280df5474c19d45288c692328b395b8d3ea11bbf8651bd54bfcf1fd880e280cdf2d8a9222bd0f8194ed3d3bcc0
7
- data.tar.gz: e0ade45afb115fd2e1d2794a547f116a59a02c91aedaeb23739fca29dfe6ee21089479a3a1031b4046d3647d8ff0fd5ed8f401dc33ba81d9d996b087f5eed261
6
+ metadata.gz: 57c3e8c7c580660a79bf8bbcf6ac487273c0a4ffbf209ced0f6b34022cee4fefc04fa8bbe6a8f9c07adefc7c302f50ada420f07ab7cff67217084dcdc2fa23fd
7
+ data.tar.gz: e46335c5a6eafd152f006ee6804ecc040541eb0c36711d19f196d9f9fb1570e484d237a6141fd3b8af753db0a990b56ae1e5d8bbf8a028bd95b52a1a3f87a06e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.48.0 (2022-07-19)
4
+
5
+ * Regenerated from discovery document revision 20220716
6
+
7
+ ### v0.47.0 (2022-07-12)
8
+
9
+ * Regenerated from discovery document revision 20220707
10
+
11
+ ### v0.46.0 (2022-07-08)
12
+
13
+ * Regenerated from discovery document revision 20220630
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.45.0 (2022-06-30)
4
17
 
5
18
  * Regenerated from discovery document revision 20220623
@@ -565,7 +565,7 @@ module Google
565
565
 
566
566
  # Metadata related to the progress of the RemoveFulfillmentPlaces operation.
567
567
  # Currently empty because there is no meaningful metadata populated from the
568
- # RemoveFulfillmentPlaces method.
568
+ # ProductService.RemoveFulfillmentPlaces method.
569
569
  class GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata
570
570
  include Google::Apis::Core::Hashable
571
571
 
@@ -579,7 +579,8 @@ module Google
579
579
  end
580
580
 
581
581
  # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
582
- # is no meaningful response populated from the RemoveFulfillmentPlaces method.
582
+ # is no meaningful response populated from the ProductService.
583
+ # RemoveFulfillmentPlaces method.
583
584
  class GoogleCloudRetailV2RemoveFulfillmentPlacesResponse
584
585
  include Google::Apis::Core::Hashable
585
586
 
@@ -594,7 +595,7 @@ module Google
594
595
 
595
596
  # Metadata related to the progress of the RemoveLocalInventories operation.
596
597
  # Currently empty because there is no meaningful metadata populated from the
597
- # RemoveLocalInventories method.
598
+ # ProductService.RemoveLocalInventories method.
598
599
  class GoogleCloudRetailV2RemoveLocalInventoriesMetadata
599
600
  include Google::Apis::Core::Hashable
600
601
 
@@ -607,8 +608,9 @@ module Google
607
608
  end
608
609
  end
609
610
 
610
- # Response of the RemoveLocalInventories API. Currently empty because there is
611
- # no meaningful response populated from the RemoveLocalInventories method.
611
+ # Response of the ProductService.RemoveLocalInventories API. Currently empty
612
+ # because there is no meaningful response populated from the ProductService.
613
+ # RemoveLocalInventories method.
612
614
  class GoogleCloudRetailV2RemoveLocalInventoriesResponse
613
615
  include Google::Apis::Core::Hashable
614
616
 
@@ -622,8 +624,8 @@ module Google
622
624
  end
623
625
 
624
626
  # Metadata related to the progress of the SetInventory operation. Currently
625
- # empty because there is no meaningful metadata populated from the SetInventory
626
- # method.
627
+ # empty because there is no meaningful metadata populated from the
628
+ # ProductService.SetInventory method.
627
629
  class GoogleCloudRetailV2SetInventoryMetadata
628
630
  include Google::Apis::Core::Hashable
629
631
 
@@ -637,7 +639,7 @@ module Google
637
639
  end
638
640
 
639
641
  # Response of the SetInventoryRequest. Currently empty because there is no
640
- # meaningful response populated from the SetInventory method.
642
+ # meaningful response populated from the ProductService.SetInventory method.
641
643
  class GoogleCloudRetailV2SetInventoryResponse
642
644
  include Google::Apis::Core::Hashable
643
645
 
@@ -737,6 +739,26 @@ module Google
737
739
  end
738
740
  end
739
741
 
742
+ # Metadata associated with a create operation.
743
+ class GoogleCloudRetailV2alphaCreateModelMetadata
744
+ include Google::Apis::Core::Hashable
745
+
746
+ # The resource name of the model that this create applies to. Format: projects/`
747
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
748
+ # Corresponds to the JSON property `model`
749
+ # @return [String]
750
+ attr_accessor :model
751
+
752
+ def initialize(**args)
753
+ update!(**args)
754
+ end
755
+
756
+ # Update properties of this object
757
+ def update!(**args)
758
+ @model = args[:model] if args.key?(:model)
759
+ end
760
+ end
761
+
740
762
  # Configuration of destination for Export related errors.
741
763
  class GoogleCloudRetailV2alphaExportErrorsConfig
742
764
  include Google::Apis::Core::Hashable
@@ -996,6 +1018,231 @@ module Google
996
1018
  end
997
1019
  end
998
1020
 
1021
+ # Metadata that describes the training and serving parameters of a Model. A
1022
+ # Model can be associated with a ServingConfig and then queried through the
1023
+ # Predict api.
1024
+ class GoogleCloudRetailV2alphaModel
1025
+ include Google::Apis::Core::Hashable
1026
+
1027
+ # Output only. Timestamp the Recommendation Model was created at.
1028
+ # Corresponds to the JSON property `createTime`
1029
+ # @return [String]
1030
+ attr_accessor :create_time
1031
+
1032
+ # Output only. The state of data requirements for this model: DATA_OK and
1033
+ # DATA_ERROR. Recommendation model cannot be trained if the data is in
1034
+ # DATA_ERROR state. Recommendation model can have DATA_ERROR state even if
1035
+ # serving state is ACTIVE: models were trained successfully before, but cannot
1036
+ # be refreshed because model no longer has sufficient data for training.
1037
+ # Corresponds to the JSON property `dataState`
1038
+ # @return [String]
1039
+ attr_accessor :data_state
1040
+
1041
+ # Required. The display name of the model. Should be human readable, used to
1042
+ # display Recommendation Models in the Retail Pantheon Dashboard. UTF-8 encoded
1043
+ # string with limit of 1024 characters.
1044
+ # Corresponds to the JSON property `displayName`
1045
+ # @return [String]
1046
+ attr_accessor :display_name
1047
+
1048
+ # Optional. If RECOMMENDATIONS_FILTERING_ENABLED, recommendation filtering by
1049
+ # attributes is enabled for the model.
1050
+ # Corresponds to the JSON property `filteringOption`
1051
+ # @return [String]
1052
+ attr_accessor :filtering_option
1053
+
1054
+ # Output only. The timestamp when the latest successful tune finished.
1055
+ # Corresponds to the JSON property `lastTuneTime`
1056
+ # @return [String]
1057
+ attr_accessor :last_tune_time
1058
+
1059
+ # Required. The fully qualified resource name of the model. Format: projects/`
1060
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
1061
+ # catalog_id has char limit of 50. recommendation_model_id has char limit of 40.
1062
+ # Corresponds to the JSON property `name`
1063
+ # @return [String]
1064
+ attr_accessor :name
1065
+
1066
+ # Optional. The optimization objective e.g. `cvr`. Currently supported values: `
1067
+ # ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on
1068
+ # model type. Default depends on type of recommendation: `recommended-for-you` =>
1069
+ # `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `
1070
+ # revenue_per_order`
1071
+ # Corresponds to the JSON property `optimizationObjective`
1072
+ # @return [String]
1073
+ attr_accessor :optimization_objective
1074
+
1075
+ # The PageOptimizationConfig for model training. This determines how many panels
1076
+ # to optimize for, and which serving configurations to consider for each panel.
1077
+ # The purpose of this model is to optimize which ServingConfig to show on which
1078
+ # panels in way that optimizes the visitors shopping journey.
1079
+ # Corresponds to the JSON property `pageOptimizationConfig`
1080
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig]
1081
+ attr_accessor :page_optimization_config
1082
+
1083
+ # Optional. The state of periodic tuning. The period we use is 3 months - to do
1084
+ # a one-off tune earlier use the TuneModel method. Default value is
1085
+ # PERIODIC_TUNING_ENABLED.
1086
+ # Corresponds to the JSON property `periodicTuningState`
1087
+ # @return [String]
1088
+ attr_accessor :periodic_tuning_state
1089
+
1090
+ # Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.
1091
+ # Corresponds to the JSON property `servingState`
1092
+ # @return [String]
1093
+ attr_accessor :serving_state
1094
+
1095
+ # Optional. The training state that the model is in (e.g. TRAINING or PAUSED).
1096
+ # Since part of the cost of running the service is frequency of training - this
1097
+ # can be used to determine when to train model in order to control cost. If not
1098
+ # specified: the default value for CreateModel method is TRAINING. the default
1099
+ # value for UpdateModel method is to keep the state the same as before.
1100
+ # Corresponds to the JSON property `trainingState`
1101
+ # @return [String]
1102
+ attr_accessor :training_state
1103
+
1104
+ # Output only. The tune operation associated with the model. Can be used to
1105
+ # determine if there is an ongoing tune for this recommendation. Empty field
1106
+ # implies no tune is goig on.
1107
+ # Corresponds to the JSON property `tuningOperation`
1108
+ # @return [String]
1109
+ attr_accessor :tuning_operation
1110
+
1111
+ # Required. The type of model e.g. `home-page`. Currently supported values: `
1112
+ # recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
1113
+ # page-optimization`, 'similar-items', 'buy-it-again', `recently-viewed`(
1114
+ # readonly value).
1115
+ # Corresponds to the JSON property `type`
1116
+ # @return [String]
1117
+ attr_accessor :type
1118
+
1119
+ # Output only. Timestamp the Recommendation Model was last updated. E.g. if a
1120
+ # Recommendation Model was paused - this would be the time the pause was
1121
+ # initiated.
1122
+ # Corresponds to the JSON property `updateTime`
1123
+ # @return [String]
1124
+ attr_accessor :update_time
1125
+
1126
+ def initialize(**args)
1127
+ update!(**args)
1128
+ end
1129
+
1130
+ # Update properties of this object
1131
+ def update!(**args)
1132
+ @create_time = args[:create_time] if args.key?(:create_time)
1133
+ @data_state = args[:data_state] if args.key?(:data_state)
1134
+ @display_name = args[:display_name] if args.key?(:display_name)
1135
+ @filtering_option = args[:filtering_option] if args.key?(:filtering_option)
1136
+ @last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
1137
+ @name = args[:name] if args.key?(:name)
1138
+ @optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
1139
+ @page_optimization_config = args[:page_optimization_config] if args.key?(:page_optimization_config)
1140
+ @periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
1141
+ @serving_state = args[:serving_state] if args.key?(:serving_state)
1142
+ @training_state = args[:training_state] if args.key?(:training_state)
1143
+ @tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
1144
+ @type = args[:type] if args.key?(:type)
1145
+ @update_time = args[:update_time] if args.key?(:update_time)
1146
+ end
1147
+ end
1148
+
1149
+ # The PageOptimizationConfig for model training. This determines how many panels
1150
+ # to optimize for, and which serving configurations to consider for each panel.
1151
+ # The purpose of this model is to optimize which ServingConfig to show on which
1152
+ # panels in way that optimizes the visitors shopping journey.
1153
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
1154
+ include Google::Apis::Core::Hashable
1155
+
1156
+ # Required. The type of UserEvent this page optimization is shown for. Each page
1157
+ # has an associated event type - this will be the corresponding event type for
1158
+ # the page that the page optimization model is used on. Supported types: * `add-
1159
+ # to-cart`: Products being added to cart. * `detail-page-view`: Products detail
1160
+ # page viewed. * `home-page-view`: Homepage viewed * `category-page-view`:
1161
+ # Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `
1162
+ # home-page-view` only allows models with type `recommended-for-you`. All other
1163
+ # page_optimization_event_type allow all Model.types.
1164
+ # Corresponds to the JSON property `pageOptimizationEventType`
1165
+ # @return [String]
1166
+ attr_accessor :page_optimization_event_type
1167
+
1168
+ # Required. A list of panel configurations. Limit = 5.
1169
+ # Corresponds to the JSON property `panels`
1170
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel>]
1171
+ attr_accessor :panels
1172
+
1173
+ # Optional. How to restrict results across panels e.g. can the same
1174
+ # ServingConfig be shown on multiple panels at once. If unspecified, default to `
1175
+ # UNIQUE_MODEL_RESTRICTION`.
1176
+ # Corresponds to the JSON property `restriction`
1177
+ # @return [String]
1178
+ attr_accessor :restriction
1179
+
1180
+ def initialize(**args)
1181
+ update!(**args)
1182
+ end
1183
+
1184
+ # Update properties of this object
1185
+ def update!(**args)
1186
+ @page_optimization_event_type = args[:page_optimization_event_type] if args.key?(:page_optimization_event_type)
1187
+ @panels = args[:panels] if args.key?(:panels)
1188
+ @restriction = args[:restriction] if args.key?(:restriction)
1189
+ end
1190
+ end
1191
+
1192
+ # A candidate to consider for a given panel. Currently only ServingConfig are
1193
+ # valid candidates.
1194
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
1195
+ include Google::Apis::Core::Hashable
1196
+
1197
+ # This has to be a valid ServingConfig identifier. e.g. for a ServingConfig with
1198
+ # full name: `projects/*/locations/global/catalogs/default_catalog/
1199
+ # servingConfigs/my_candidate_config` this would be 'my_candidate_config'
1200
+ # Corresponds to the JSON property `servingConfigId`
1201
+ # @return [String]
1202
+ attr_accessor :serving_config_id
1203
+
1204
+ def initialize(**args)
1205
+ update!(**args)
1206
+ end
1207
+
1208
+ # Update properties of this object
1209
+ def update!(**args)
1210
+ @serving_config_id = args[:serving_config_id] if args.key?(:serving_config_id)
1211
+ end
1212
+ end
1213
+
1214
+ # An individual panel with a list of ServingConfigs to consider for it.
1215
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
1216
+ include Google::Apis::Core::Hashable
1217
+
1218
+ # Required. The candidates to consider on the panel. Limit = 10.
1219
+ # Corresponds to the JSON property `candidates`
1220
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate>]
1221
+ attr_accessor :candidates
1222
+
1223
+ # A candidate to consider for a given panel. Currently only ServingConfig are
1224
+ # valid candidates.
1225
+ # Corresponds to the JSON property `defaultCandidate`
1226
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate]
1227
+ attr_accessor :default_candidate
1228
+
1229
+ # Optional. The name to display for the panel.
1230
+ # Corresponds to the JSON property `displayName`
1231
+ # @return [String]
1232
+ attr_accessor :display_name
1233
+
1234
+ def initialize(**args)
1235
+ update!(**args)
1236
+ end
1237
+
1238
+ # Update properties of this object
1239
+ def update!(**args)
1240
+ @candidates = args[:candidates] if args.key?(:candidates)
1241
+ @default_candidate = args[:default_candidate] if args.key?(:default_candidate)
1242
+ @display_name = args[:display_name] if args.key?(:display_name)
1243
+ end
1244
+ end
1245
+
999
1246
  # Metadata related to the progress of the Purge operation. This will be returned
1000
1247
  # by the google.longrunning.Operation.metadata field.
1001
1248
  class GoogleCloudRetailV2alphaPurgeMetadata
@@ -1133,7 +1380,7 @@ module Google
1133
1380
 
1134
1381
  # Metadata related to the progress of the RemoveFulfillmentPlaces operation.
1135
1382
  # Currently empty because there is no meaningful metadata populated from the
1136
- # RemoveFulfillmentPlaces method.
1383
+ # ProductService.RemoveFulfillmentPlaces method.
1137
1384
  class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata
1138
1385
  include Google::Apis::Core::Hashable
1139
1386
 
@@ -1147,7 +1394,8 @@ module Google
1147
1394
  end
1148
1395
 
1149
1396
  # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
1150
- # is no meaningful response populated from the RemoveFulfillmentPlaces method.
1397
+ # is no meaningful response populated from the ProductService.
1398
+ # RemoveFulfillmentPlaces method.
1151
1399
  class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse
1152
1400
  include Google::Apis::Core::Hashable
1153
1401
 
@@ -1162,7 +1410,7 @@ module Google
1162
1410
 
1163
1411
  # Metadata related to the progress of the RemoveLocalInventories operation.
1164
1412
  # Currently empty because there is no meaningful metadata populated from the
1165
- # RemoveLocalInventories method.
1413
+ # ProductService.RemoveLocalInventories method.
1166
1414
  class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
1167
1415
  include Google::Apis::Core::Hashable
1168
1416
 
@@ -1175,8 +1423,9 @@ module Google
1175
1423
  end
1176
1424
  end
1177
1425
 
1178
- # Response of the RemoveLocalInventories API. Currently empty because there is
1179
- # no meaningful response populated from the RemoveLocalInventories method.
1426
+ # Response of the ProductService.RemoveLocalInventories API. Currently empty
1427
+ # because there is no meaningful response populated from the ProductService.
1428
+ # RemoveLocalInventories method.
1180
1429
  class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
1181
1430
  include Google::Apis::Core::Hashable
1182
1431
 
@@ -1190,8 +1439,8 @@ module Google
1190
1439
  end
1191
1440
 
1192
1441
  # Metadata related to the progress of the SetInventory operation. Currently
1193
- # empty because there is no meaningful metadata populated from the SetInventory
1194
- # method.
1442
+ # empty because there is no meaningful metadata populated from the
1443
+ # ProductService.SetInventory method.
1195
1444
  class GoogleCloudRetailV2alphaSetInventoryMetadata
1196
1445
  include Google::Apis::Core::Hashable
1197
1446
 
@@ -1205,7 +1454,7 @@ module Google
1205
1454
  end
1206
1455
 
1207
1456
  # Response of the SetInventoryRequest. Currently empty because there is no
1208
- # meaningful response populated from the SetInventory method.
1457
+ # meaningful response populated from the ProductService.SetInventory method.
1209
1458
  class GoogleCloudRetailV2alphaSetInventoryResponse
1210
1459
  include Google::Apis::Core::Hashable
1211
1460
 
@@ -1218,6 +1467,39 @@ module Google
1218
1467
  end
1219
1468
  end
1220
1469
 
1470
+ # Metadata associated with a tune operation.
1471
+ class GoogleCloudRetailV2alphaTuneModelMetadata
1472
+ include Google::Apis::Core::Hashable
1473
+
1474
+ # The resource name of the model that this tune applies to. Format: projects/`
1475
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
1476
+ # Corresponds to the JSON property `model`
1477
+ # @return [String]
1478
+ attr_accessor :model
1479
+
1480
+ def initialize(**args)
1481
+ update!(**args)
1482
+ end
1483
+
1484
+ # Update properties of this object
1485
+ def update!(**args)
1486
+ @model = args[:model] if args.key?(:model)
1487
+ end
1488
+ end
1489
+
1490
+ # Response associated with a tune operation.
1491
+ class GoogleCloudRetailV2alphaTuneModelResponse
1492
+ include Google::Apis::Core::Hashable
1493
+
1494
+ def initialize(**args)
1495
+ update!(**args)
1496
+ end
1497
+
1498
+ # Update properties of this object
1499
+ def update!(**args)
1500
+ end
1501
+ end
1502
+
1221
1503
  # A summary of import result. The UserEventImportSummary summarizes the import
1222
1504
  # status for user events.
1223
1505
  class GoogleCloudRetailV2alphaUserEventImportSummary
@@ -1658,11 +1940,11 @@ module Google
1658
1940
  # Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
1659
1941
  # CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or
1660
1942
  # CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-
1661
- # loaded CatalogAttributes. Only CatalogAttributes that are not in use by
1662
- # products can be deleted. CatalogAttributes that are in use by products cannot
1663
- # be deleted; however, their configuration properties will reset to default
1664
- # values upon removal request. After catalog changes, it takes about 10 minutes
1665
- # for this field to update.
1943
+ # loaded CatalogAttributes. Only pre-loaded CatalogAttributes that are neither
1944
+ # in use by products nor predefined can be deleted. CatalogAttributes that are
1945
+ # either in use by products or are predefined cannot be deleted; however, their
1946
+ # configuration properties will reset to default values upon removal request.
1947
+ # After catalog changes, it takes about 10 minutes for this field to update.
1666
1948
  # Corresponds to the JSON property `inUse`
1667
1949
  # @return [Boolean]
1668
1950
  attr_accessor :in_use
@@ -1811,9 +2093,8 @@ module Google
1811
2093
 
1812
2094
  # Custom attributes for the suggestion term. * For "user-data", the attributes
1813
2095
  # are additional custom attributes ingested through BigQuery. * For "cloud-
1814
- # retail", the attributes are product attributes generated by Cloud Retail. This
1815
- # is an experimental feature. Contact Retail Search support team if you are
1816
- # interested in enabling it.
2096
+ # retail", the attributes are product attributes generated by Cloud Retail. It
2097
+ # requires UserEvent.product_details is imported properly.
1817
2098
  # Corresponds to the JSON property `attributes`
1818
2099
  # @return [Hash<String,Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute>]
1819
2100
  attr_accessor :attributes
@@ -3023,7 +3304,7 @@ module Google
3023
3304
  # in `PredictRequest.params` to receive empty results instead. Note that the API
3024
3305
  # will never return items with storageStatus of "EXPIRED" or "DELETED"
3025
3306
  # regardless of filter choices. If `filterSyntaxV2` is set to true under the `
3026
- # params` field, then attribute based expressions are expected instead of the
3307
+ # params` field, then attribute-based expressions are expected instead of the
3027
3308
  # above described tag-based syntax. Examples: * (colors: ANY("Red", "Blue")) AND
3028
3309
  # NOT (categories: ANY("Phones")) * (availability: ANY("IN_STOCK")) AND (colors:
3029
3310
  # ANY("Red") OR categories: ANY("Phones"))
@@ -3054,7 +3335,7 @@ module Google
3054
3335
  # @return [Fixnum]
3055
3336
  attr_accessor :page_size
3056
3337
 
3057
- # The previous PredictResponse.next_page_token.
3338
+ # This field is not used for now, leave it unset.
3058
3339
  # Corresponds to the JSON property `pageToken`
3059
3340
  # @return [String]
3060
3341
  attr_accessor :page_token
@@ -3076,8 +3357,8 @@ module Google
3076
3357
  # it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
3077
3358
  # high-diversity', 'auto-diversity'`. This gives request-level control and
3078
3359
  # adjusts prediction results based on product category. * `filterSyntaxV2`:
3079
- # Boolean. False by default. If set to true, the `filter` field will be
3080
- # interpreteted according to the new, attribute-based syntax.
3360
+ # Boolean. False by default. If set to true, the `filter` field is interpreteted
3361
+ # according to the new, attribute-based syntax.
3081
3362
  # Corresponds to the JSON property `params`
3082
3363
  # @return [Hash<String,Object>]
3083
3364
  attr_accessor :params
@@ -4054,7 +4335,7 @@ module Google
4054
4335
 
4055
4336
  # Metadata related to the progress of the RemoveFulfillmentPlaces operation.
4056
4337
  # Currently empty because there is no meaningful metadata populated from the
4057
- # RemoveFulfillmentPlaces method.
4338
+ # ProductService.RemoveFulfillmentPlaces method.
4058
4339
  class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata
4059
4340
  include Google::Apis::Core::Hashable
4060
4341
 
@@ -4067,7 +4348,7 @@ module Google
4067
4348
  end
4068
4349
  end
4069
4350
 
4070
- # Request message for RemoveFulfillmentPlaces method.
4351
+ # Request message for ProductService.RemoveFulfillmentPlaces method.
4071
4352
  class GoogleCloudRetailV2betaRemoveFulfillmentPlacesRequest
4072
4353
  include Google::Apis::Core::Hashable
4073
4354
 
@@ -4122,7 +4403,8 @@ module Google
4122
4403
  end
4123
4404
 
4124
4405
  # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
4125
- # is no meaningful response populated from the RemoveFulfillmentPlaces method.
4406
+ # is no meaningful response populated from the ProductService.
4407
+ # RemoveFulfillmentPlaces method.
4126
4408
  class GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse
4127
4409
  include Google::Apis::Core::Hashable
4128
4410
 
@@ -4137,7 +4419,7 @@ module Google
4137
4419
 
4138
4420
  # Metadata related to the progress of the RemoveLocalInventories operation.
4139
4421
  # Currently empty because there is no meaningful metadata populated from the
4140
- # RemoveLocalInventories method.
4422
+ # ProductService.RemoveLocalInventories method.
4141
4423
  class GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata
4142
4424
  include Google::Apis::Core::Hashable
4143
4425
 
@@ -4150,7 +4432,7 @@ module Google
4150
4432
  end
4151
4433
  end
4152
4434
 
4153
- # Request message for RemoveLocalInventories method.
4435
+ # Request message for ProductService.RemoveLocalInventories method.
4154
4436
  class GoogleCloudRetailV2betaRemoveLocalInventoriesRequest
4155
4437
  include Google::Apis::Core::Hashable
4156
4438
 
@@ -4188,8 +4470,9 @@ module Google
4188
4470
  end
4189
4471
  end
4190
4472
 
4191
- # Response of the RemoveLocalInventories API. Currently empty because there is
4192
- # no meaningful response populated from the RemoveLocalInventories method.
4473
+ # Response of the ProductService.RemoveLocalInventories API. Currently empty
4474
+ # because there is no meaningful response populated from the ProductService.
4475
+ # RemoveLocalInventories method.
4193
4476
  class GoogleCloudRetailV2betaRemoveLocalInventoriesResponse
4194
4477
  include Google::Apis::Core::Hashable
4195
4478
 
@@ -4257,13 +4540,13 @@ module Google
4257
4540
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleDoNotAssociateAction]
4258
4541
  attr_accessor :do_not_associate_action
4259
4542
 
4260
- # * Rule Condition: - No Condition provided is a global match. - 1 or more
4261
- # Condition provided is combined with OR operator. * Action Input: The request
4262
- # query and filter that will be applied to the retrieved products, in addition
4263
- # to any filters already provided with the SearchRequest. The AND operator is
4264
- # used to combine the query's existing filters with the filter rule(s). NOTE:
4265
- # May result in 0 results when filters conflict. * Action Result: Filters the
4266
- # returned objects to be ONLY those that passed the filter.
4543
+ # * Rule Condition: - No Condition.query_terms provided is a global match. - 1
4544
+ # or more Condition.query_terms provided is combined with OR operator. * Action
4545
+ # Input: The request query and filter that are applied to the retrieved products,
4546
+ # in addition to any filters already provided with the SearchRequest. The AND
4547
+ # operator is used to combine the query's existing filters with the filter rule(
4548
+ # s). NOTE: May result in 0 results when filters conflict. * Action Result:
4549
+ # Filters the returned objects to be ONLY those that passed the filter.
4267
4550
  # Corresponds to the JSON property `filterAction`
4268
4551
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleFilterAction]
4269
4552
  attr_accessor :filter_action
@@ -4283,8 +4566,8 @@ module Google
4283
4566
  attr_accessor :oneway_synonyms_action
4284
4567
 
4285
4568
  # Redirects a shopper to a specific page. * Rule Condition: - Must specify
4286
- # Condition. * Action Input: Request Query * Action Result: Redirects shopper to
4287
- # provided uri.
4569
+ # Condition.query_terms. * Action Input: Request Query * Action Result:
4570
+ # Redirects shopper to provided uri.
4288
4571
  # Corresponds to the JSON property `redirectAction`
4289
4572
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRedirectAction]
4290
4573
  attr_accessor :redirect_action
@@ -4394,13 +4677,13 @@ module Google
4394
4677
  end
4395
4678
  end
4396
4679
 
4397
- # * Rule Condition: - No Condition provided is a global match. - 1 or more
4398
- # Condition provided is combined with OR operator. * Action Input: The request
4399
- # query and filter that will be applied to the retrieved products, in addition
4400
- # to any filters already provided with the SearchRequest. The AND operator is
4401
- # used to combine the query's existing filters with the filter rule(s). NOTE:
4402
- # May result in 0 results when filters conflict. * Action Result: Filters the
4403
- # returned objects to be ONLY those that passed the filter.
4680
+ # * Rule Condition: - No Condition.query_terms provided is a global match. - 1
4681
+ # or more Condition.query_terms provided is combined with OR operator. * Action
4682
+ # Input: The request query and filter that are applied to the retrieved products,
4683
+ # in addition to any filters already provided with the SearchRequest. The AND
4684
+ # operator is used to combine the query's existing filters with the filter rule(
4685
+ # s). NOTE: May result in 0 results when filters conflict. * Action Result:
4686
+ # Filters the returned objects to be ONLY those that passed the filter.
4404
4687
  class GoogleCloudRetailV2betaRuleFilterAction
4405
4688
  include Google::Apis::Core::Hashable
4406
4689
 
@@ -4481,8 +4764,8 @@ module Google
4481
4764
  end
4482
4765
 
4483
4766
  # Redirects a shopper to a specific page. * Rule Condition: - Must specify
4484
- # Condition. * Action Input: Request Query * Action Result: Redirects shopper to
4485
- # provided uri.
4767
+ # Condition.query_terms. * Action Input: Request Query * Action Result:
4768
+ # Redirects shopper to provided uri.
4486
4769
  class GoogleCloudRetailV2betaRuleRedirectAction
4487
4770
  include Google::Apis::Core::Hashable
4488
4771
 
@@ -4967,13 +5250,14 @@ module Google
4967
5250
  # @return [String]
4968
5251
  attr_accessor :key
4969
5252
 
4970
- # The order in which Facet.values are returned. Allowed values are: * "count
4971
- # desc", which means order by Facet.FacetValue.count descending. * "value desc",
4972
- # which means order by Facet.FacetValue.value descending. Only applies to
4973
- # textual facets. If not set, textual values are sorted in [natural order](https:
4974
- # //en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in
4975
- # the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are
4976
- # sorted in the order given by FacetSpec.FacetKey.restricted_values.
5253
+ # The order in which SearchResponse.Facet.values are returned. Allowed values
5254
+ # are: * "count desc", which means order by SearchResponse.Facet.values.count
5255
+ # descending. * "value desc", which means order by SearchResponse.Facet.values.
5256
+ # value descending. Only applies to textual facets. If not set, textual values
5257
+ # are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order)
5258
+ # ; numerical intervals are sorted in the order given by FacetSpec.FacetKey.
5259
+ # intervals; FulfillmentInfo.place_ids are sorted in the order given by
5260
+ # FacetSpec.FacetKey.restricted_values.
4977
5261
  # Corresponds to the JSON property `orderBy`
4978
5262
  # @return [String]
4979
5263
  attr_accessor :order_by
@@ -4991,12 +5275,13 @@ module Google
4991
5275
  # it will override the default behavior of facet computation. The query syntax
4992
5276
  # is the same as a filter expression. See SearchRequest.filter for detail syntax
4993
5277
  # and limitations. Notice that there is no limitation on FacetKey.key when query
4994
- # is specified. In the response, FacetValue.value will be always "1" and
4995
- # FacetValue.count will be the number of results that matches the query. For
4996
- # example, you can set a customized facet for "shipToStore", where FacetKey.key
4997
- # is "customizedShipToStore", and FacetKey.query is "availability: ANY(\"
4998
- # IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet will count the
4999
- # products that are both in stock and ship to store "123".
5278
+ # is specified. In the response, SearchResponse.Facet.values.value will be
5279
+ # always "1" and SearchResponse.Facet.values.count will be the number of results
5280
+ # that match the query. For example, you can set a customized facet for "
5281
+ # shipToStore", where FacetKey.key is "customizedShipToStore", and FacetKey.
5282
+ # query is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then
5283
+ # the facet will count the products that are both in stock and ship to store "
5284
+ # 123".
5000
5285
  # Corresponds to the JSON property `query`
5001
5286
  # @return [String]
5002
5287
  attr_accessor :query
@@ -5117,7 +5402,7 @@ module Google
5117
5402
 
5118
5403
  # Contains the spell corrected query, if found. If the spell correction type is
5119
5404
  # AUTOMATIC, then the search results are based on corrected_query. Otherwise the
5120
- # original query will be used for search.
5405
+ # original query is used for search.
5121
5406
  # Corresponds to the JSON property `correctedQuery`
5122
5407
  # @return [String]
5123
5408
  attr_accessor :corrected_query
@@ -5551,8 +5836,8 @@ module Google
5551
5836
  end
5552
5837
 
5553
5838
  # Metadata related to the progress of the SetInventory operation. Currently
5554
- # empty because there is no meaningful metadata populated from the SetInventory
5555
- # method.
5839
+ # empty because there is no meaningful metadata populated from the
5840
+ # ProductService.SetInventory method.
5556
5841
  class GoogleCloudRetailV2betaSetInventoryMetadata
5557
5842
  include Google::Apis::Core::Hashable
5558
5843
 
@@ -5565,7 +5850,7 @@ module Google
5565
5850
  end
5566
5851
  end
5567
5852
 
5568
- # Request message for SetInventory method.
5853
+ # Request message for ProductService.SetInventory method.
5569
5854
  class GoogleCloudRetailV2betaSetInventoryRequest
5570
5855
  include Google::Apis::Core::Hashable
5571
5856
 
@@ -5612,7 +5897,7 @@ module Google
5612
5897
  end
5613
5898
 
5614
5899
  # Response of the SetInventoryRequest. Currently empty because there is no
5615
- # meaningful response populated from the SetInventory method.
5900
+ # meaningful response populated from the ProductService.SetInventory method.
5616
5901
  class GoogleCloudRetailV2betaSetInventoryResponse
5617
5902
  include Google::Apis::Core::Hashable
5618
5903
 
@@ -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.45.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220623"
25
+ REVISION = "20220716"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class GoogleCloudRetailV2alphaCreateModelMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class GoogleCloudRetailV2alphaExportErrorsConfig
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -262,6 +268,30 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
271
+ class GoogleCloudRetailV2alphaModel
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
265
295
  class GoogleCloudRetailV2alphaPurgeMetadata
266
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
297
 
@@ -334,6 +364,18 @@ module Google
334
364
  include Google::Apis::Core::JsonObjectSupport
335
365
  end
336
366
 
367
+ class GoogleCloudRetailV2alphaTuneModelMetadata
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class GoogleCloudRetailV2alphaTuneModelResponse
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
337
379
  class GoogleCloudRetailV2alphaUserEventImportSummary
338
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
381
 
@@ -1266,6 +1308,13 @@ module Google
1266
1308
  end
1267
1309
  end
1268
1310
 
1311
+ class GoogleCloudRetailV2alphaCreateModelMetadata
1312
+ # @private
1313
+ class Representation < Google::Apis::Core::JsonRepresentation
1314
+ property :model, as: 'model'
1315
+ end
1316
+ end
1317
+
1269
1318
  class GoogleCloudRetailV2alphaExportErrorsConfig
1270
1319
  # @private
1271
1320
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1350,6 +1399,55 @@ module Google
1350
1399
  end
1351
1400
  end
1352
1401
 
1402
+ class GoogleCloudRetailV2alphaModel
1403
+ # @private
1404
+ class Representation < Google::Apis::Core::JsonRepresentation
1405
+ property :create_time, as: 'createTime'
1406
+ property :data_state, as: 'dataState'
1407
+ property :display_name, as: 'displayName'
1408
+ property :filtering_option, as: 'filteringOption'
1409
+ property :last_tune_time, as: 'lastTuneTime'
1410
+ property :name, as: 'name'
1411
+ property :optimization_objective, as: 'optimizationObjective'
1412
+ property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
1413
+
1414
+ property :periodic_tuning_state, as: 'periodicTuningState'
1415
+ property :serving_state, as: 'servingState'
1416
+ property :training_state, as: 'trainingState'
1417
+ property :tuning_operation, as: 'tuningOperation'
1418
+ property :type, as: 'type'
1419
+ property :update_time, as: 'updateTime'
1420
+ end
1421
+ end
1422
+
1423
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
1424
+ # @private
1425
+ class Representation < Google::Apis::Core::JsonRepresentation
1426
+ property :page_optimization_event_type, as: 'pageOptimizationEventType'
1427
+ collection :panels, as: 'panels', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel::Representation
1428
+
1429
+ property :restriction, as: 'restriction'
1430
+ end
1431
+ end
1432
+
1433
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
1434
+ # @private
1435
+ class Representation < Google::Apis::Core::JsonRepresentation
1436
+ property :serving_config_id, as: 'servingConfigId'
1437
+ end
1438
+ end
1439
+
1440
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
1441
+ # @private
1442
+ class Representation < Google::Apis::Core::JsonRepresentation
1443
+ collection :candidates, as: 'candidates', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
1444
+
1445
+ property :default_candidate, as: 'defaultCandidate', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
1446
+
1447
+ property :display_name, as: 'displayName'
1448
+ end
1449
+ end
1450
+
1353
1451
  class GoogleCloudRetailV2alphaPurgeMetadata
1354
1452
  # @private
1355
1453
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1430,6 +1528,19 @@ module Google
1430
1528
  end
1431
1529
  end
1432
1530
 
1531
+ class GoogleCloudRetailV2alphaTuneModelMetadata
1532
+ # @private
1533
+ class Representation < Google::Apis::Core::JsonRepresentation
1534
+ property :model, as: 'model'
1535
+ end
1536
+ end
1537
+
1538
+ class GoogleCloudRetailV2alphaTuneModelResponse
1539
+ # @private
1540
+ class Representation < Google::Apis::Core::JsonRepresentation
1541
+ end
1542
+ end
1543
+
1433
1544
  class GoogleCloudRetailV2alphaUserEventImportSummary
1434
1545
  # @private
1435
1546
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -72,12 +72,13 @@ module Google
72
72
  # `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with
73
73
  # `OTHER_`, e.g. `OTHER_IPHONE`.
74
74
  # @param [Array<String>, String] language_codes
75
- # The language filters applied to the output suggestions. If set, it should
76
- # contain the language of the query. If not set, suggestions are returned
77
- # without considering language restrictions. This is the BCP-47 language code,
78
- # such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying
79
- # Languages](https://tools.ietf.org/html/bcp47). The maximum number of language
80
- # codes is 3.
75
+ # Note that this field applies for `user-data` dataset only. For requests with `
76
+ # cloud-retail` dataset, setting this field has no effect. The language filters
77
+ # applied to the output suggestions. If set, it should contain the language of
78
+ # the query. If not set, suggestions are returned without considering language
79
+ # restrictions. This is the BCP-47 language code, such as "en-US" or "sr-Latn".
80
+ # For more information, see [Tags for Identifying Languages](https://tools.ietf.
81
+ # org/html/bcp47). The maximum number of language codes is 3.
81
82
  # @param [Fixnum] max_suggestions
82
83
  # Completion max suggestions. If left unset or set to 0, then will fallback to
83
84
  # the configured value CompletionConfig.max_suggestions. The maximum allowed max
@@ -578,9 +579,9 @@ module Google
578
579
  # updating fulfillment information. If the request is valid, the update will be
579
580
  # enqueued and processed downstream. As a consequence, when a response is
580
581
  # returned, the added place IDs are not immediately manifested in the Product
581
- # queried by GetProduct or ListProducts. This feature is only available for
582
- # users who have Retail Search enabled. Please enable Retail Search on Cloud
583
- # Console before using this feature.
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.
584
585
  # @param [String] product
585
586
  # Required. Full resource name of Product, such as `projects/*/locations/global/
586
587
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -621,11 +622,13 @@ module Google
621
622
  # asynchronous and does not require the Product to exist before updating
622
623
  # inventory information. If the request is valid, the update will be enqueued
623
624
  # and processed downstream. As a consequence, when a response is returned,
624
- # updates are not immediately manifested in the Product queried by GetProduct or
625
- # ListProducts. Local inventory information can only be modified using this
626
- # method. CreateProduct and UpdateProduct has no effect on local inventories.
627
- # This feature is only available for users who have Retail Search enabled.
628
- # Please enable Retail Search on Cloud Console before using this feature.
625
+ # updates are not immediately manifested in the Product queried by
626
+ # ProductService.GetProduct or ProductService.ListProducts. Local inventory
627
+ # information can only be modified using this method. ProductService.
628
+ # 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.
629
632
  # @param [String] product
630
633
  # Required. Full resource name of Product, such as `projects/*/locations/global/
631
634
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -931,9 +934,9 @@ module Google
931
934
  # updating fulfillment information. If the request is valid, the update will be
932
935
  # enqueued and processed downstream. As a consequence, when a response is
933
936
  # returned, the removed place IDs are not immediately manifested in the Product
934
- # queried by GetProduct or ListProducts. This feature is only available for
935
- # users who have Retail Search enabled. Please enable Retail Search on Cloud
936
- # Console before using this feature.
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.
937
940
  # @param [String] product
938
941
  # Required. Full resource name of Product, such as `projects/*/locations/global/
939
942
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -973,10 +976,11 @@ module Google
973
976
  # removal timestamp. This process is asynchronous. If the request is valid, the
974
977
  # removal will be enqueued and processed downstream. As a consequence, when a
975
978
  # response is returned, removals are not immediately manifested in the Product
976
- # queried by GetProduct or ListProducts. Local inventory information can only be
977
- # removed using this method. CreateProduct and UpdateProduct has no effect on
978
- # local inventories. This feature is only available for users who have Retail
979
- # Search enabled. Please enable Retail Search on Cloud Console before using this
979
+ # queried by ProductService.GetProduct or ProductService.ListProducts. Local
980
+ # inventory information can only be removed using this method. ProductService.
981
+ # 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
980
984
  # feature.
981
985
  # @param [String] product
982
986
  # Required. Full resource name of Product, such as `projects/*/locations/global/
@@ -1018,19 +1022,21 @@ module Google
1018
1022
  # require the Product to exist before updating fulfillment information. If the
1019
1023
  # request is valid, the update will be enqueued and processed downstream. As a
1020
1024
  # consequence, when a response is returned, updates are not immediately
1021
- # manifested in the Product queried by GetProduct or ListProducts. When
1022
- # inventory is updated with CreateProduct and UpdateProduct, the specified
1023
- # inventory field value(s) will overwrite any existing value(s) while ignoring
1024
- # the last update time for this field. Furthermore, the last update time for the
1025
- # specified inventory fields will be overwritten to the time of the
1026
- # CreateProduct or UpdateProduct request. If no inventory fields are set in
1027
- # CreateProductRequest.product, then any pre-existing inventory information for
1028
- # this product will be used. If no inventory fields are set in
1025
+ # manifested in the Product queried by ProductService.GetProduct or
1026
+ # ProductService.ListProducts. When inventory is updated with ProductService.
1027
+ # CreateProduct and ProductService.UpdateProduct, the specified inventory field
1028
+ # value(s) will overwrite any existing value(s) while ignoring the last update
1029
+ # time for this field. Furthermore, the last update time for the specified
1030
+ # inventory fields will be overwritten to the time of the ProductService.
1031
+ # CreateProduct or ProductService.UpdateProduct request. If no inventory fields
1032
+ # are set in CreateProductRequest.product, then any pre-existing inventory
1033
+ # information for this product will be used. If no inventory fields are set in
1029
1034
  # SetInventoryRequest.set_mask, then any existing inventory information will be
1030
1035
  # preserved. Pre-existing inventory information can only be updated with
1031
- # SetInventory, ProductService.AddFulfillmentPlaces, and RemoveFulfillmentPlaces.
1032
- # This feature is only available for users who have Retail Search enabled.
1033
- # Please enable Retail Search on Cloud Console before using this feature.
1036
+ # 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.
1034
1040
  # @param [String] name
1035
1041
  # Immutable. Full resource name of the product, such as `projects/*/locations/
1036
1042
  # global/catalogs/default_catalog/branches/default_branch/products/product_id`.
@@ -1373,9 +1379,9 @@ module Google
1373
1379
 
1374
1380
  # Makes a recommendation prediction.
1375
1381
  # @param [String] placement
1376
- # Required. Full resource name of the format: `placement=projects/*/locations/
1377
- # global/catalogs/default_catalog/servingConfigs/*` or `placement=projects/*/
1378
- # locations/global/catalogs/default_catalog/placements/*`. We recommend using
1382
+ # Required. Full resource name of the format: ``placement=projects/*/locations/
1383
+ # global/catalogs/default_catalog/servingConfigs/*`` or ``placement=projects/*/
1384
+ # locations/global/catalogs/default_catalog/placements/*``. We recommend using
1379
1385
  # the `servingConfigs` resource. `placements` is a legacy resource. The ID of
1380
1386
  # the Recommendations AI serving config or placement. Before you can request
1381
1387
  # predictions from your model, you must create at least one serving config or
@@ -1679,9 +1685,9 @@ module Google
1679
1685
 
1680
1686
  # Makes a recommendation prediction.
1681
1687
  # @param [String] placement
1682
- # Required. Full resource name of the format: `placement=projects/*/locations/
1683
- # global/catalogs/default_catalog/servingConfigs/*` or `placement=projects/*/
1684
- # locations/global/catalogs/default_catalog/placements/*`. We recommend using
1688
+ # Required. Full resource name of the format: ``placement=projects/*/locations/
1689
+ # global/catalogs/default_catalog/servingConfigs/*`` or ``placement=projects/*/
1690
+ # locations/global/catalogs/default_catalog/placements/*``. We recommend using
1685
1691
  # the `servingConfigs` resource. `placements` is a legacy resource. The ID of
1686
1692
  # the Recommendations AI serving config or placement. Before you can request
1687
1693
  # predictions from your model, you must create at least one serving config or
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.45.0
4
+ version: 0.48.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-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-25 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.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.48.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: []