google-apis-retail_v2 0.50.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/retail_v2/classes.rb +64 -62
- data/lib/google/apis/retail_v2/gem_version.rb +1 -1
- data/lib/google/apis/retail_v2/service.rb +35 -18
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6708b55caac9e78939317b808b232c5ab2f6811e8e8b1613128ead69ae97bc6d
|
4
|
+
data.tar.gz: e31b5c96b7034af6615b9b6b6f0491f25b9b4662835727ed1acd872bc15b4190
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85ceb1824c06e3b1d21f3e0c41adc6d7237419a72e71b09563c02e29c752ec1ccd3fba4782169e10e1cd56bf690d857c5e75db820a1a734ab014504ce70bde41
|
7
|
+
data.tar.gz: 9537b376e53d690e982b3814e97915b07e062742874a8f0edb668bc6c5075d4ffe2970335780dbe49120024a4ee4e31abf6f95bee912a48298d7a577cde67146
|
data/CHANGELOG.md
CHANGED
@@ -1093,7 +1093,7 @@ module Google
|
|
1093
1093
|
end
|
1094
1094
|
end
|
1095
1095
|
|
1096
|
-
# Google Cloud Storage location for input content.
|
1096
|
+
# Google Cloud Storage location for input content.
|
1097
1097
|
class GoogleCloudRetailV2GcsSource
|
1098
1098
|
include Google::Apis::Core::Hashable
|
1099
1099
|
|
@@ -1104,8 +1104,8 @@ module Google
|
|
1104
1104
|
# recommendations-ai/docs/upload-catalog#mc). Supported values for user events
|
1105
1105
|
# imports: * `user_event` (default): One JSON UserEvent per line. * `
|
1106
1106
|
# user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.
|
1107
|
-
# Supported values for control imports: *
|
1108
|
-
# per line. Supported values for catalog attribute imports: *
|
1107
|
+
# Supported values for control imports: * `control` (default): One JSON Control
|
1108
|
+
# per line. Supported values for catalog attribute imports: * `catalog_attribute`
|
1109
1109
|
# (default): One CSV CatalogAttribute per line.
|
1110
1110
|
# Corresponds to the JSON property `dataSchema`
|
1111
1111
|
# @return [String]
|
@@ -1215,9 +1215,9 @@ module Google
|
|
1215
1215
|
attr_accessor :input_config
|
1216
1216
|
|
1217
1217
|
# Pub/Sub topic for receiving notification. If this field is set, when the
|
1218
|
-
# import is finished, a notification
|
1219
|
-
#
|
1220
|
-
#
|
1218
|
+
# import is finished, a notification is sent to specified Pub/Sub topic. The
|
1219
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
1220
|
+
# projects/`project`/topics/`topic``.
|
1221
1221
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
1222
1222
|
# @return [String]
|
1223
1223
|
attr_accessor :notification_pubsub_topic
|
@@ -1259,8 +1259,8 @@ module Google
|
|
1259
1259
|
include Google::Apis::Core::Hashable
|
1260
1260
|
|
1261
1261
|
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
1262
|
-
# Cloud Storage directory. Import errors
|
1263
|
-
#
|
1262
|
+
# Cloud Storage directory. Import errors are written to sharded files in this
|
1263
|
+
# directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
1264
1264
|
# Corresponds to the JSON property `gcsPrefix`
|
1265
1265
|
# @return [String]
|
1266
1266
|
attr_accessor :gcs_prefix
|
@@ -1275,8 +1275,8 @@ module Google
|
|
1275
1275
|
end
|
1276
1276
|
end
|
1277
1277
|
|
1278
|
-
# Metadata related to the progress of the Import operation. This
|
1279
|
-
#
|
1278
|
+
# Metadata related to the progress of the Import operation. This is returned by
|
1279
|
+
# the google.longrunning.Operation.metadata field.
|
1280
1280
|
class GoogleCloudRetailV2ImportMetadata
|
1281
1281
|
include Google::Apis::Core::Hashable
|
1282
1282
|
|
@@ -1291,9 +1291,9 @@ module Google
|
|
1291
1291
|
attr_accessor :failure_count
|
1292
1292
|
|
1293
1293
|
# Pub/Sub topic for receiving notification. If this field is set, when the
|
1294
|
-
# import is finished, a notification
|
1295
|
-
#
|
1296
|
-
#
|
1294
|
+
# import is finished, a notification is sent to specified Pub/Sub topic. The
|
1295
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
1296
|
+
# projects/`project`/topics/`topic``.
|
1297
1297
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
1298
1298
|
# @return [String]
|
1299
1299
|
attr_accessor :notification_pubsub_topic
|
@@ -1344,12 +1344,12 @@ module Google
|
|
1344
1344
|
attr_accessor :input_config
|
1345
1345
|
|
1346
1346
|
# Full Pub/Sub topic name for receiving notification. If this field is set, when
|
1347
|
-
# the import is finished, a notification
|
1348
|
-
#
|
1349
|
-
#
|
1350
|
-
#
|
1351
|
-
#
|
1352
|
-
#
|
1347
|
+
# the import is finished, a notification is sent to specified Pub/Sub topic. The
|
1348
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
1349
|
+
# projects/`project`/topics/`topic``. It has to be within the same project as
|
1350
|
+
# ImportProductsRequest.parent. Make sure that `service-@gcp-sa-retail.iam.
|
1351
|
+
# gserviceaccount.com` has the `pubsub.topics.publish` IAM permission on the
|
1352
|
+
# topic.
|
1353
1353
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
1354
1354
|
# @return [String]
|
1355
1355
|
attr_accessor :notification_pubsub_topic
|
@@ -1365,8 +1365,8 @@ module Google
|
|
1365
1365
|
# @return [String]
|
1366
1366
|
attr_accessor :request_id
|
1367
1367
|
|
1368
|
-
# Indicates which fields in the provided imported
|
1369
|
-
# set,
|
1368
|
+
# Indicates which fields in the provided imported `products` to update. If not
|
1369
|
+
# set, all fields are updated.
|
1370
1370
|
# Corresponds to the JSON property `updateMask`
|
1371
1371
|
# @return [String]
|
1372
1372
|
attr_accessor :update_mask
|
@@ -2322,7 +2322,7 @@ module Google
|
|
2322
2322
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2BigQuerySource]
|
2323
2323
|
attr_accessor :big_query_source
|
2324
2324
|
|
2325
|
-
# Google Cloud Storage location for input content.
|
2325
|
+
# Google Cloud Storage location for input content.
|
2326
2326
|
# Corresponds to the JSON property `gcsSource`
|
2327
2327
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2GcsSource]
|
2328
2328
|
attr_accessor :gcs_source
|
@@ -4003,7 +4003,7 @@ module Google
|
|
4003
4003
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2BigQuerySource]
|
4004
4004
|
attr_accessor :big_query_source
|
4005
4005
|
|
4006
|
-
# Google Cloud Storage location for input content.
|
4006
|
+
# Google Cloud Storage location for input content.
|
4007
4007
|
# Corresponds to the JSON property `gcsSource`
|
4008
4008
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2GcsSource]
|
4009
4009
|
attr_accessor :gcs_source
|
@@ -4328,8 +4328,8 @@ module Google
|
|
4328
4328
|
include Google::Apis::Core::Hashable
|
4329
4329
|
|
4330
4330
|
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
4331
|
-
# Cloud Storage directory. Import errors
|
4332
|
-
#
|
4331
|
+
# Cloud Storage directory. Import errors are written to sharded files in this
|
4332
|
+
# directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
4333
4333
|
# Corresponds to the JSON property `gcsPrefix`
|
4334
4334
|
# @return [String]
|
4335
4335
|
attr_accessor :gcs_prefix
|
@@ -4344,8 +4344,8 @@ module Google
|
|
4344
4344
|
end
|
4345
4345
|
end
|
4346
4346
|
|
4347
|
-
# Metadata related to the progress of the Import operation. This
|
4348
|
-
#
|
4347
|
+
# Metadata related to the progress of the Import operation. This is returned by
|
4348
|
+
# the google.longrunning.Operation.metadata field.
|
4349
4349
|
class GoogleCloudRetailV2alphaImportMetadata
|
4350
4350
|
include Google::Apis::Core::Hashable
|
4351
4351
|
|
@@ -4360,9 +4360,9 @@ module Google
|
|
4360
4360
|
attr_accessor :failure_count
|
4361
4361
|
|
4362
4362
|
# Pub/Sub topic for receiving notification. If this field is set, when the
|
4363
|
-
# import is finished, a notification
|
4364
|
-
#
|
4365
|
-
#
|
4363
|
+
# import is finished, a notification is sent to specified Pub/Sub topic. The
|
4364
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
4365
|
+
# projects/`project`/topics/`topic``.
|
4366
4366
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
4367
4367
|
# @return [String]
|
4368
4368
|
attr_accessor :notification_pubsub_topic
|
@@ -4467,7 +4467,7 @@ module Google
|
|
4467
4467
|
|
4468
4468
|
# Metadata that describes the training and serving parameters of a Model. A
|
4469
4469
|
# Model can be associated with a ServingConfig and then queried through the
|
4470
|
-
# Predict
|
4470
|
+
# Predict API.
|
4471
4471
|
class GoogleCloudRetailV2alphaModel
|
4472
4472
|
include Google::Apis::Core::Hashable
|
4473
4473
|
|
@@ -4476,23 +4476,23 @@ module Google
|
|
4476
4476
|
# @return [String]
|
4477
4477
|
attr_accessor :create_time
|
4478
4478
|
|
4479
|
-
# Output only. The state of data requirements for this model: DATA_OK and
|
4480
|
-
# DATA_ERROR
|
4481
|
-
# DATA_ERROR state. Recommendation model can have DATA_ERROR state even if
|
4482
|
-
# serving state is ACTIVE
|
4479
|
+
# Output only. The state of data requirements for this model: `DATA_OK` and `
|
4480
|
+
# DATA_ERROR`. Recommendation model cannot be trained if the data is in `
|
4481
|
+
# DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if
|
4482
|
+
# serving state is `ACTIVE`: models were trained successfully before, but cannot
|
4483
4483
|
# be refreshed because model no longer has sufficient data for training.
|
4484
4484
|
# Corresponds to the JSON property `dataState`
|
4485
4485
|
# @return [String]
|
4486
4486
|
attr_accessor :data_state
|
4487
4487
|
|
4488
4488
|
# Required. The display name of the model. Should be human readable, used to
|
4489
|
-
# display Recommendation Models in the Retail Cloud
|
4489
|
+
# display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8
|
4490
4490
|
# encoded string with limit of 1024 characters.
|
4491
4491
|
# Corresponds to the JSON property `displayName`
|
4492
4492
|
# @return [String]
|
4493
4493
|
attr_accessor :display_name
|
4494
4494
|
|
4495
|
-
# Optional. If RECOMMENDATIONS_FILTERING_ENABLED
|
4495
|
+
# Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by
|
4496
4496
|
# attributes is enabled for the model.
|
4497
4497
|
# Corresponds to the JSON property `filteringOption`
|
4498
4498
|
# @return [String]
|
@@ -4503,9 +4503,10 @@ module Google
|
|
4503
4503
|
# @return [String]
|
4504
4504
|
attr_accessor :last_tune_time
|
4505
4505
|
|
4506
|
-
# Required. The fully qualified resource name of the model. Format: projects/`
|
4506
|
+
# Required. The fully qualified resource name of the model. Format: `projects/`
|
4507
4507
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
4508
|
-
# catalog_id has char limit of 50. recommendation_model_id has char limit of
|
4508
|
+
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
4509
|
+
# 40.
|
4509
4510
|
# Corresponds to the JSON property `name`
|
4510
4511
|
# @return [String]
|
4511
4512
|
attr_accessor :name
|
@@ -4528,8 +4529,8 @@ module Google
|
|
4528
4529
|
attr_accessor :page_optimization_config
|
4529
4530
|
|
4530
4531
|
# Optional. The state of periodic tuning. The period we use is 3 months - to do
|
4531
|
-
# a one-off tune earlier use the TuneModel method. Default value is
|
4532
|
-
# PERIODIC_TUNING_ENABLED
|
4532
|
+
# a one-off tune earlier use the `TuneModel` method. Default value is `
|
4533
|
+
# PERIODIC_TUNING_ENABLED`.
|
4533
4534
|
# Corresponds to the JSON property `periodicTuningState`
|
4534
4535
|
# @return [String]
|
4535
4536
|
attr_accessor :periodic_tuning_state
|
@@ -4540,16 +4541,16 @@ module Google
|
|
4540
4541
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelServingConfigList>]
|
4541
4542
|
attr_accessor :serving_config_lists
|
4542
4543
|
|
4543
|
-
# Output only. The serving state of the model: ACTIVE
|
4544
|
+
# Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.
|
4544
4545
|
# Corresponds to the JSON property `servingState`
|
4545
4546
|
# @return [String]
|
4546
4547
|
attr_accessor :serving_state
|
4547
4548
|
|
4548
|
-
# Optional. The training state that the model is in (e.g. TRAINING or PAUSED)
|
4549
|
-
# Since part of the cost of running the service is frequency of training -
|
4550
|
-
# can be used to determine when to train model in order to control cost. If
|
4551
|
-
# specified: the default value for CreateModel method is TRAINING
|
4552
|
-
# value for UpdateModel method is to keep the state the same as before.
|
4549
|
+
# Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`)
|
4550
|
+
# . Since part of the cost of running the service is frequency of training -
|
4551
|
+
# this can be used to determine when to train model in order to control cost. If
|
4552
|
+
# not specified: the default value for `CreateModel` method is `TRAINING`. The
|
4553
|
+
# default value for `UpdateModel` method is to keep the state the same as before.
|
4553
4554
|
# Corresponds to the JSON property `trainingState`
|
4554
4555
|
# @return [String]
|
4555
4556
|
attr_accessor :training_state
|
@@ -4563,7 +4564,7 @@ module Google
|
|
4563
4564
|
|
4564
4565
|
# Required. The type of model e.g. `home-page`. Currently supported values: `
|
4565
4566
|
# recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
|
4566
|
-
# page-optimization`,
|
4567
|
+
# page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(
|
4567
4568
|
# readonly value).
|
4568
4569
|
# Corresponds to the JSON property `type`
|
4569
4570
|
# @return [String]
|
@@ -4648,9 +4649,10 @@ module Google
|
|
4648
4649
|
class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
|
4649
4650
|
include Google::Apis::Core::Hashable
|
4650
4651
|
|
4651
|
-
# This has to be a valid ServingConfig identifier.
|
4652
|
-
# full name: `projects/*/locations/global/catalogs/
|
4653
|
-
# servingConfigs/my_candidate_config
|
4652
|
+
# This has to be a valid ServingConfig identifier. For example, for a
|
4653
|
+
# ServingConfig with full name: `projects/*/locations/global/catalogs/
|
4654
|
+
# default_catalog/servingConfigs/my_candidate_config`, this would be `
|
4655
|
+
# my_candidate_config`.
|
4654
4656
|
# Corresponds to the JSON property `servingConfigId`
|
4655
4657
|
# @return [String]
|
4656
4658
|
attr_accessor :serving_config_id
|
@@ -4697,13 +4699,13 @@ module Google
|
|
4697
4699
|
end
|
4698
4700
|
end
|
4699
4701
|
|
4700
|
-
# Represents an ordered combination of valid serving configs, which
|
4701
|
-
#
|
4702
|
+
# Represents an ordered combination of valid serving configs, which can be used
|
4703
|
+
# for `PAGE_OPTIMIZATION` recommendations.
|
4702
4704
|
class GoogleCloudRetailV2alphaModelServingConfigList
|
4703
4705
|
include Google::Apis::Core::Hashable
|
4704
4706
|
|
4705
|
-
# Optional. A set of valid serving configs that may be used for
|
4706
|
-
# PAGE_OPTIMIZATION
|
4707
|
+
# Optional. A set of valid serving configs that may be used for `
|
4708
|
+
# PAGE_OPTIMIZATION`.
|
4707
4709
|
# Corresponds to the JSON property `servingConfigIds`
|
4708
4710
|
# @return [Array<String>]
|
4709
4711
|
attr_accessor :serving_config_ids
|
@@ -5272,8 +5274,8 @@ module Google
|
|
5272
5274
|
include Google::Apis::Core::Hashable
|
5273
5275
|
|
5274
5276
|
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
5275
|
-
# Cloud Storage directory. Import errors
|
5276
|
-
#
|
5277
|
+
# Cloud Storage directory. Import errors are written to sharded files in this
|
5278
|
+
# directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
5277
5279
|
# Corresponds to the JSON property `gcsPrefix`
|
5278
5280
|
# @return [String]
|
5279
5281
|
attr_accessor :gcs_prefix
|
@@ -5288,8 +5290,8 @@ module Google
|
|
5288
5290
|
end
|
5289
5291
|
end
|
5290
5292
|
|
5291
|
-
# Metadata related to the progress of the Import operation. This
|
5292
|
-
#
|
5293
|
+
# Metadata related to the progress of the Import operation. This is returned by
|
5294
|
+
# the google.longrunning.Operation.metadata field.
|
5293
5295
|
class GoogleCloudRetailV2betaImportMetadata
|
5294
5296
|
include Google::Apis::Core::Hashable
|
5295
5297
|
|
@@ -5304,9 +5306,9 @@ module Google
|
|
5304
5306
|
attr_accessor :failure_count
|
5305
5307
|
|
5306
5308
|
# Pub/Sub topic for receiving notification. If this field is set, when the
|
5307
|
-
# import is finished, a notification
|
5308
|
-
#
|
5309
|
-
#
|
5309
|
+
# import is finished, a notification is sent to specified Pub/Sub topic. The
|
5310
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
5311
|
+
# projects/`project`/topics/`topic``.
|
5310
5312
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
5311
5313
|
# @return [String]
|
5312
5314
|
attr_accessor :notification_pubsub_topic
|
@@ -543,9 +543,13 @@ module Google
|
|
543
543
|
# updating fulfillment information. If the request is valid, the update will be
|
544
544
|
# enqueued and processed downstream. As a consequence, when a response is
|
545
545
|
# returned, the added place IDs are not immediately manifested in the Product
|
546
|
-
# queried by ProductService.GetProduct or ProductService.ListProducts.
|
547
|
-
#
|
548
|
-
#
|
546
|
+
# queried by ProductService.GetProduct or ProductService.ListProducts. The
|
547
|
+
# returned Operations will be obsolete after 1 day, and GetOperation API will
|
548
|
+
# return NOT_FOUND afterwards. If conflicting updates are issued, the Operations
|
549
|
+
# associated with the stale updates will not be marked as done until being
|
550
|
+
# obsolete. This feature is only available for users who have Retail Search
|
551
|
+
# enabled. Please enable Retail Search on Cloud Console before using this
|
552
|
+
# feature.
|
549
553
|
# @param [String] product
|
550
554
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
551
555
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -590,9 +594,12 @@ module Google
|
|
590
594
|
# ProductService.GetProduct or ProductService.ListProducts. Local inventory
|
591
595
|
# information can only be modified using this method. ProductService.
|
592
596
|
# CreateProduct and ProductService.UpdateProduct has no effect on local
|
593
|
-
# inventories.
|
594
|
-
#
|
595
|
-
#
|
597
|
+
# inventories. The returned Operations will be obsolete after 1 day, and
|
598
|
+
# GetOperation API will return NOT_FOUND afterwards. If conflicting updates are
|
599
|
+
# issued, the Operations associated with the stale updates will not be marked as
|
600
|
+
# done until being obsolete. This feature is only available for users who have
|
601
|
+
# Retail Search enabled. Please enable Retail Search on Cloud Console before
|
602
|
+
# using this feature.
|
596
603
|
# @param [String] product
|
597
604
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
598
605
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -898,9 +905,13 @@ module Google
|
|
898
905
|
# updating fulfillment information. If the request is valid, the update will be
|
899
906
|
# enqueued and processed downstream. As a consequence, when a response is
|
900
907
|
# returned, the removed place IDs are not immediately manifested in the Product
|
901
|
-
# queried by ProductService.GetProduct or ProductService.ListProducts.
|
902
|
-
#
|
903
|
-
#
|
908
|
+
# queried by ProductService.GetProduct or ProductService.ListProducts. The
|
909
|
+
# returned Operations will be obsolete after 1 day, and GetOperation API will
|
910
|
+
# return NOT_FOUND afterwards. If conflicting updates are issued, the Operations
|
911
|
+
# associated with the stale updates will not be marked as done until being
|
912
|
+
# obsolete. This feature is only available for users who have Retail Search
|
913
|
+
# enabled. Please enable Retail Search on Cloud Console before using this
|
914
|
+
# feature.
|
904
915
|
# @param [String] product
|
905
916
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
906
917
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -943,9 +954,12 @@ module Google
|
|
943
954
|
# queried by ProductService.GetProduct or ProductService.ListProducts. Local
|
944
955
|
# inventory information can only be removed using this method. ProductService.
|
945
956
|
# CreateProduct and ProductService.UpdateProduct has no effect on local
|
946
|
-
# inventories.
|
947
|
-
#
|
948
|
-
#
|
957
|
+
# inventories. The returned Operations will be obsolete after 1 day, and
|
958
|
+
# GetOperation API will return NOT_FOUND afterwards. If conflicting updates are
|
959
|
+
# issued, the Operations associated with the stale updates will not be marked as
|
960
|
+
# done until being obsolete. This feature is only available for users who have
|
961
|
+
# Retail Search enabled. Please enable Retail Search on Cloud Console before
|
962
|
+
# using this feature.
|
949
963
|
# @param [String] product
|
950
964
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
951
965
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -998,9 +1012,12 @@ module Google
|
|
998
1012
|
# SetInventoryRequest.set_mask, then any existing inventory information will be
|
999
1013
|
# preserved. Pre-existing inventory information can only be updated with
|
1000
1014
|
# ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and
|
1001
|
-
# ProductService.RemoveFulfillmentPlaces.
|
1002
|
-
#
|
1003
|
-
#
|
1015
|
+
# ProductService.RemoveFulfillmentPlaces. The returned Operations will be
|
1016
|
+
# obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards.
|
1017
|
+
# If conflicting updates are issued, the Operations associated with the stale
|
1018
|
+
# updates will not be marked as done until being obsolete. This feature is only
|
1019
|
+
# available for users who have Retail Search enabled. Please enable Retail
|
1020
|
+
# Search on Cloud Console before using this feature.
|
1004
1021
|
# @param [String] name
|
1005
1022
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
1006
1023
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
@@ -1364,9 +1381,9 @@ module Google
|
|
1364
1381
|
|
1365
1382
|
# Bulk import of User events. Request processing might be synchronous. Events
|
1366
1383
|
# that already exist are skipped. Use this method for backfilling historical
|
1367
|
-
# user events. Operation.response is of type ImportResponse
|
1368
|
-
# possible for a subset of the items to be successfully inserted. Operation.
|
1369
|
-
# metadata is of type ImportMetadata
|
1384
|
+
# user events. `Operation.response` is of type `ImportResponse`. Note that it is
|
1385
|
+
# possible for a subset of the items to be successfully inserted. `Operation.
|
1386
|
+
# metadata` is of type `ImportMetadata`.
|
1370
1387
|
# @param [String] parent
|
1371
1388
|
# Required. `projects/1234/locations/global/catalogs/default_catalog`
|
1372
1389
|
# @param [Google::Apis::RetailV2::GoogleCloudRetailV2ImportUserEventsRequest] google_cloud_retail_v2_import_user_events_request_object
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.51.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-
|
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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.51.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|