google-apis-retail_v2alpha 0.52.0 → 0.53.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21b93df1e143e62ad68aaf507f3bd12656e2a5db1f4cc5a9fda9ee3e03cc2bb7
|
4
|
+
data.tar.gz: 809c137f35f36feae0a9e988caa7518399a4aa5bfe9009dab87c78a1a6babdb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d513e46213cdc51515262aaf664e9319d97ad4cdd49fb3afd517572138f2559a6428c2e2eb13ca1b6d9b12a88fbf1037d0df81264d5005a1b22c6f8c5998d476
|
7
|
+
data.tar.gz: 5ae30acff83cfd78f4b6eb545e75ae0867c50e08db663dffa294a7da0c5e46aa4342427a47cdc07aee12ab1680bf0a7770abaa8678362d4f11a39c39670fb2b0
|
data/CHANGELOG.md
CHANGED
@@ -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
|
369
|
-
#
|
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
|
385
|
-
#
|
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
|
401
|
-
#
|
402
|
-
#
|
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
|
@@ -1892,7 +1892,7 @@ module Google
|
|
1892
1892
|
end
|
1893
1893
|
end
|
1894
1894
|
|
1895
|
-
# Google Cloud Storage location for input content.
|
1895
|
+
# Google Cloud Storage location for input content.
|
1896
1896
|
class GoogleCloudRetailV2alphaGcsSource
|
1897
1897
|
include Google::Apis::Core::Hashable
|
1898
1898
|
|
@@ -1903,8 +1903,8 @@ module Google
|
|
1903
1903
|
# recommendations-ai/docs/upload-catalog#mc). Supported values for user events
|
1904
1904
|
# imports: * `user_event` (default): One JSON UserEvent per line. * `
|
1905
1905
|
# user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.
|
1906
|
-
# Supported values for control imports: *
|
1907
|
-
# per line. Supported values for catalog attribute imports: *
|
1906
|
+
# Supported values for control imports: * `control` (default): One JSON Control
|
1907
|
+
# per line. Supported values for catalog attribute imports: * `catalog_attribute`
|
1908
1908
|
# (default): One CSV CatalogAttribute per line.
|
1909
1909
|
# Corresponds to the JSON property `dataSchema`
|
1910
1910
|
# @return [String]
|
@@ -2014,9 +2014,9 @@ module Google
|
|
2014
2014
|
attr_accessor :input_config
|
2015
2015
|
|
2016
2016
|
# Pub/Sub topic for receiving notification. If this field is set, when the
|
2017
|
-
# import is finished, a notification
|
2018
|
-
#
|
2019
|
-
#
|
2017
|
+
# import is finished, a notification is sent to specified Pub/Sub topic. The
|
2018
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
2019
|
+
# projects/`project`/topics/`topic``.
|
2020
2020
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
2021
2021
|
# @return [String]
|
2022
2022
|
attr_accessor :notification_pubsub_topic
|
@@ -2058,8 +2058,8 @@ module Google
|
|
2058
2058
|
include Google::Apis::Core::Hashable
|
2059
2059
|
|
2060
2060
|
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
2061
|
-
# Cloud Storage directory. Import errors
|
2062
|
-
#
|
2061
|
+
# Cloud Storage directory. Import errors are written to sharded files in this
|
2062
|
+
# directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
2063
2063
|
# Corresponds to the JSON property `gcsPrefix`
|
2064
2064
|
# @return [String]
|
2065
2065
|
attr_accessor :gcs_prefix
|
@@ -2074,8 +2074,8 @@ module Google
|
|
2074
2074
|
end
|
2075
2075
|
end
|
2076
2076
|
|
2077
|
-
# Metadata related to the progress of the Import operation. This
|
2078
|
-
#
|
2077
|
+
# Metadata related to the progress of the Import operation. This is returned by
|
2078
|
+
# the google.longrunning.Operation.metadata field.
|
2079
2079
|
class GoogleCloudRetailV2alphaImportMetadata
|
2080
2080
|
include Google::Apis::Core::Hashable
|
2081
2081
|
|
@@ -2090,9 +2090,9 @@ module Google
|
|
2090
2090
|
attr_accessor :failure_count
|
2091
2091
|
|
2092
2092
|
# Pub/Sub topic for receiving notification. If this field is set, when the
|
2093
|
-
# import is finished, a notification
|
2094
|
-
#
|
2095
|
-
#
|
2093
|
+
# import is finished, a notification is sent to specified Pub/Sub topic. The
|
2094
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
2095
|
+
# projects/`project`/topics/`topic``.
|
2096
2096
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
2097
2097
|
# @return [String]
|
2098
2098
|
attr_accessor :notification_pubsub_topic
|
@@ -2149,12 +2149,12 @@ module Google
|
|
2149
2149
|
attr_accessor :input_config
|
2150
2150
|
|
2151
2151
|
# Full Pub/Sub topic name for receiving notification. If this field is set, when
|
2152
|
-
# the import is finished, a notification
|
2153
|
-
#
|
2154
|
-
#
|
2155
|
-
#
|
2156
|
-
#
|
2157
|
-
#
|
2152
|
+
# the import is finished, a notification is sent to specified Pub/Sub topic. The
|
2153
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
2154
|
+
# projects/`project`/topics/`topic``. It has to be within the same project as
|
2155
|
+
# ImportProductsRequest.parent. Make sure that `service-@gcp-sa-retail.iam.
|
2156
|
+
# gserviceaccount.com` has the `pubsub.topics.publish` IAM permission on the
|
2157
|
+
# topic.
|
2158
2158
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
2159
2159
|
# @return [String]
|
2160
2160
|
attr_accessor :notification_pubsub_topic
|
@@ -2170,7 +2170,7 @@ module Google
|
|
2170
2170
|
# @return [String]
|
2171
2171
|
attr_accessor :request_id
|
2172
2172
|
|
2173
|
-
# If true,
|
2173
|
+
# If true, this performs the FULL import even if it would delete a large
|
2174
2174
|
# proportion of the products in the default branch, which could potentially
|
2175
2175
|
# cause outages if you have live predict/search traffic. Only supported when
|
2176
2176
|
# ImportProductsRequest.reconciliation_mode is set to `FULL`.
|
@@ -2179,8 +2179,8 @@ module Google
|
|
2179
2179
|
attr_accessor :skip_default_branch_protection
|
2180
2180
|
alias_method :skip_default_branch_protection?, :skip_default_branch_protection
|
2181
2181
|
|
2182
|
-
# Indicates which fields in the provided imported
|
2183
|
-
# set,
|
2182
|
+
# Indicates which fields in the provided imported `products` to update. If not
|
2183
|
+
# set, all fields are updated.
|
2184
2184
|
# Corresponds to the JSON property `updateMask`
|
2185
2185
|
# @return [String]
|
2186
2186
|
attr_accessor :update_mask
|
@@ -2597,7 +2597,7 @@ module Google
|
|
2597
2597
|
|
2598
2598
|
# Metadata that describes the training and serving parameters of a Model. A
|
2599
2599
|
# Model can be associated with a ServingConfig and then queried through the
|
2600
|
-
# Predict
|
2600
|
+
# Predict API.
|
2601
2601
|
class GoogleCloudRetailV2alphaModel
|
2602
2602
|
include Google::Apis::Core::Hashable
|
2603
2603
|
|
@@ -2606,23 +2606,23 @@ module Google
|
|
2606
2606
|
# @return [String]
|
2607
2607
|
attr_accessor :create_time
|
2608
2608
|
|
2609
|
-
# Output only. The state of data requirements for this model: DATA_OK and
|
2610
|
-
# DATA_ERROR
|
2611
|
-
# DATA_ERROR state. Recommendation model can have DATA_ERROR state even if
|
2612
|
-
# serving state is ACTIVE
|
2609
|
+
# Output only. The state of data requirements for this model: `DATA_OK` and `
|
2610
|
+
# DATA_ERROR`. Recommendation model cannot be trained if the data is in `
|
2611
|
+
# DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if
|
2612
|
+
# serving state is `ACTIVE`: models were trained successfully before, but cannot
|
2613
2613
|
# be refreshed because model no longer has sufficient data for training.
|
2614
2614
|
# Corresponds to the JSON property `dataState`
|
2615
2615
|
# @return [String]
|
2616
2616
|
attr_accessor :data_state
|
2617
2617
|
|
2618
2618
|
# Required. The display name of the model. Should be human readable, used to
|
2619
|
-
# display Recommendation Models in the Retail Cloud
|
2619
|
+
# display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8
|
2620
2620
|
# encoded string with limit of 1024 characters.
|
2621
2621
|
# Corresponds to the JSON property `displayName`
|
2622
2622
|
# @return [String]
|
2623
2623
|
attr_accessor :display_name
|
2624
2624
|
|
2625
|
-
# Optional. If RECOMMENDATIONS_FILTERING_ENABLED
|
2625
|
+
# Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by
|
2626
2626
|
# attributes is enabled for the model.
|
2627
2627
|
# Corresponds to the JSON property `filteringOption`
|
2628
2628
|
# @return [String]
|
@@ -2633,9 +2633,10 @@ module Google
|
|
2633
2633
|
# @return [String]
|
2634
2634
|
attr_accessor :last_tune_time
|
2635
2635
|
|
2636
|
-
# Required. The fully qualified resource name of the model. Format: projects/`
|
2636
|
+
# Required. The fully qualified resource name of the model. Format: `projects/`
|
2637
2637
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
2638
|
-
# catalog_id has char limit of 50. recommendation_model_id has char limit of
|
2638
|
+
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
2639
|
+
# 40.
|
2639
2640
|
# Corresponds to the JSON property `name`
|
2640
2641
|
# @return [String]
|
2641
2642
|
attr_accessor :name
|
@@ -2658,8 +2659,8 @@ module Google
|
|
2658
2659
|
attr_accessor :page_optimization_config
|
2659
2660
|
|
2660
2661
|
# Optional. The state of periodic tuning. The period we use is 3 months - to do
|
2661
|
-
# a one-off tune earlier use the TuneModel method. Default value is
|
2662
|
-
# PERIODIC_TUNING_ENABLED
|
2662
|
+
# a one-off tune earlier use the `TuneModel` method. Default value is `
|
2663
|
+
# PERIODIC_TUNING_ENABLED`.
|
2663
2664
|
# Corresponds to the JSON property `periodicTuningState`
|
2664
2665
|
# @return [String]
|
2665
2666
|
attr_accessor :periodic_tuning_state
|
@@ -2670,16 +2671,16 @@ module Google
|
|
2670
2671
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelServingConfigList>]
|
2671
2672
|
attr_accessor :serving_config_lists
|
2672
2673
|
|
2673
|
-
# Output only. The serving state of the model: ACTIVE
|
2674
|
+
# Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.
|
2674
2675
|
# Corresponds to the JSON property `servingState`
|
2675
2676
|
# @return [String]
|
2676
2677
|
attr_accessor :serving_state
|
2677
2678
|
|
2678
|
-
# Optional. The training state that the model is in (e.g. TRAINING or PAUSED)
|
2679
|
-
# Since part of the cost of running the service is frequency of training -
|
2680
|
-
# can be used to determine when to train model in order to control cost. If
|
2681
|
-
# specified: the default value for CreateModel method is TRAINING
|
2682
|
-
# value for UpdateModel method is to keep the state the same as before.
|
2679
|
+
# Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`)
|
2680
|
+
# . Since part of the cost of running the service is frequency of training -
|
2681
|
+
# this can be used to determine when to train model in order to control cost. If
|
2682
|
+
# not specified: the default value for `CreateModel` method is `TRAINING`. The
|
2683
|
+
# default value for `UpdateModel` method is to keep the state the same as before.
|
2683
2684
|
# Corresponds to the JSON property `trainingState`
|
2684
2685
|
# @return [String]
|
2685
2686
|
attr_accessor :training_state
|
@@ -2693,7 +2694,7 @@ module Google
|
|
2693
2694
|
|
2694
2695
|
# Required. The type of model e.g. `home-page`. Currently supported values: `
|
2695
2696
|
# recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
|
2696
|
-
# page-optimization`,
|
2697
|
+
# page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(
|
2697
2698
|
# readonly value).
|
2698
2699
|
# Corresponds to the JSON property `type`
|
2699
2700
|
# @return [String]
|
@@ -2778,9 +2779,10 @@ module Google
|
|
2778
2779
|
class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
|
2779
2780
|
include Google::Apis::Core::Hashable
|
2780
2781
|
|
2781
|
-
# This has to be a valid ServingConfig identifier.
|
2782
|
-
# full name: `projects/*/locations/global/catalogs/
|
2783
|
-
# servingConfigs/my_candidate_config
|
2782
|
+
# This has to be a valid ServingConfig identifier. For example, for a
|
2783
|
+
# ServingConfig with full name: `projects/*/locations/global/catalogs/
|
2784
|
+
# default_catalog/servingConfigs/my_candidate_config`, this would be `
|
2785
|
+
# my_candidate_config`.
|
2784
2786
|
# Corresponds to the JSON property `servingConfigId`
|
2785
2787
|
# @return [String]
|
2786
2788
|
attr_accessor :serving_config_id
|
@@ -2827,13 +2829,13 @@ module Google
|
|
2827
2829
|
end
|
2828
2830
|
end
|
2829
2831
|
|
2830
|
-
# Represents an ordered combination of valid serving configs, which
|
2831
|
-
#
|
2832
|
+
# Represents an ordered combination of valid serving configs, which can be used
|
2833
|
+
# for `PAGE_OPTIMIZATION` recommendations.
|
2832
2834
|
class GoogleCloudRetailV2alphaModelServingConfigList
|
2833
2835
|
include Google::Apis::Core::Hashable
|
2834
2836
|
|
2835
|
-
# Optional. A set of valid serving configs that may be used for
|
2836
|
-
# PAGE_OPTIMIZATION
|
2837
|
+
# Optional. A set of valid serving configs that may be used for `
|
2838
|
+
# PAGE_OPTIMIZATION`.
|
2837
2839
|
# Corresponds to the JSON property `servingConfigIds`
|
2838
2840
|
# @return [Array<String>]
|
2839
2841
|
attr_accessor :serving_config_ids
|
@@ -3588,7 +3590,7 @@ module Google
|
|
3588
3590
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource]
|
3589
3591
|
attr_accessor :big_query_source
|
3590
3592
|
|
3591
|
-
# Google Cloud Storage location for input content.
|
3593
|
+
# Google Cloud Storage location for input content.
|
3592
3594
|
# Corresponds to the JSON property `gcsSource`
|
3593
3595
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource]
|
3594
3596
|
attr_accessor :gcs_source
|
@@ -6025,7 +6027,7 @@ module Google
|
|
6025
6027
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource]
|
6026
6028
|
attr_accessor :big_query_source
|
6027
6029
|
|
6028
|
-
# Google Cloud Storage location for input content.
|
6030
|
+
# Google Cloud Storage location for input content.
|
6029
6031
|
# Corresponds to the JSON property `gcsSource`
|
6030
6032
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource]
|
6031
6033
|
attr_accessor :gcs_source
|
@@ -6330,8 +6332,8 @@ module Google
|
|
6330
6332
|
include Google::Apis::Core::Hashable
|
6331
6333
|
|
6332
6334
|
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
6333
|
-
# Cloud Storage directory. Import errors
|
6334
|
-
#
|
6335
|
+
# Cloud Storage directory. Import errors are written to sharded files in this
|
6336
|
+
# directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
6335
6337
|
# Corresponds to the JSON property `gcsPrefix`
|
6336
6338
|
# @return [String]
|
6337
6339
|
attr_accessor :gcs_prefix
|
@@ -6346,8 +6348,8 @@ module Google
|
|
6346
6348
|
end
|
6347
6349
|
end
|
6348
6350
|
|
6349
|
-
# Metadata related to the progress of the Import operation. This
|
6350
|
-
#
|
6351
|
+
# Metadata related to the progress of the Import operation. This is returned by
|
6352
|
+
# the google.longrunning.Operation.metadata field.
|
6351
6353
|
class GoogleCloudRetailV2betaImportMetadata
|
6352
6354
|
include Google::Apis::Core::Hashable
|
6353
6355
|
|
@@ -6362,9 +6364,9 @@ module Google
|
|
6362
6364
|
attr_accessor :failure_count
|
6363
6365
|
|
6364
6366
|
# Pub/Sub topic for receiving notification. If this field is set, when the
|
6365
|
-
# import is finished, a notification
|
6366
|
-
#
|
6367
|
-
#
|
6367
|
+
# import is finished, a notification is sent to specified Pub/Sub topic. The
|
6368
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
6369
|
+
# projects/`project`/topics/`topic``.
|
6368
6370
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
6369
6371
|
# @return [String]
|
6370
6372
|
attr_accessor :notification_pubsub_topic
|
@@ -614,9 +614,13 @@ module Google
|
|
614
614
|
# updating fulfillment information. If the request is valid, the update will be
|
615
615
|
# enqueued and processed downstream. As a consequence, when a response is
|
616
616
|
# returned, the added place IDs are not immediately manifested in the Product
|
617
|
-
# queried by ProductService.GetProduct or ProductService.ListProducts.
|
618
|
-
#
|
619
|
-
#
|
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.
|
620
624
|
# @param [String] product
|
621
625
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
622
626
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -661,9 +665,12 @@ module Google
|
|
661
665
|
# ProductService.GetProduct or ProductService.ListProducts. Local inventory
|
662
666
|
# information can only be modified using this method. ProductService.
|
663
667
|
# CreateProduct and ProductService.UpdateProduct has no effect on local
|
664
|
-
# inventories.
|
665
|
-
#
|
666
|
-
#
|
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.
|
667
674
|
# @param [String] product
|
668
675
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
669
676
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -1016,9 +1023,13 @@ module Google
|
|
1016
1023
|
# updating fulfillment information. If the request is valid, the update will be
|
1017
1024
|
# enqueued and processed downstream. As a consequence, when a response is
|
1018
1025
|
# returned, the removed place IDs are not immediately manifested in the Product
|
1019
|
-
# queried by ProductService.GetProduct or ProductService.ListProducts.
|
1020
|
-
#
|
1021
|
-
#
|
1026
|
+
# queried by ProductService.GetProduct or ProductService.ListProducts. The
|
1027
|
+
# returned Operations will be obsolete after 1 day, and GetOperation API will
|
1028
|
+
# return NOT_FOUND afterwards. If conflicting updates are issued, the Operations
|
1029
|
+
# associated with the stale updates will not be marked as done until being
|
1030
|
+
# obsolete. This feature is only available for users who have Retail Search
|
1031
|
+
# enabled. Please enable Retail Search on Cloud Console before using this
|
1032
|
+
# feature.
|
1022
1033
|
# @param [String] product
|
1023
1034
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
1024
1035
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -1061,9 +1072,12 @@ module Google
|
|
1061
1072
|
# queried by ProductService.GetProduct or ProductService.ListProducts. Local
|
1062
1073
|
# inventory information can only be removed using this method. ProductService.
|
1063
1074
|
# CreateProduct and ProductService.UpdateProduct has no effect on local
|
1064
|
-
# inventories.
|
1065
|
-
#
|
1066
|
-
#
|
1075
|
+
# inventories. The returned Operations will be obsolete after 1 day, and
|
1076
|
+
# GetOperation API will return NOT_FOUND afterwards. If conflicting updates are
|
1077
|
+
# issued, the Operations associated with the stale updates will not be marked as
|
1078
|
+
# done until being obsolete. This feature is only available for users who have
|
1079
|
+
# Retail Search enabled. Please enable Retail Search on Cloud Console before
|
1080
|
+
# using this feature.
|
1067
1081
|
# @param [String] product
|
1068
1082
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
1069
1083
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -1116,9 +1130,12 @@ module Google
|
|
1116
1130
|
# SetInventoryRequest.set_mask, then any existing inventory information will be
|
1117
1131
|
# preserved. Pre-existing inventory information can only be updated with
|
1118
1132
|
# ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and
|
1119
|
-
# ProductService.RemoveFulfillmentPlaces.
|
1120
|
-
#
|
1121
|
-
#
|
1133
|
+
# ProductService.RemoveFulfillmentPlaces. The returned Operations will be
|
1134
|
+
# obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards.
|
1135
|
+
# If conflicting updates are issued, the Operations associated with the stale
|
1136
|
+
# updates will not be marked as done until being obsolete. This feature is only
|
1137
|
+
# available for users who have Retail Search enabled. Please enable Retail
|
1138
|
+
# Search on Cloud Console before using this feature.
|
1122
1139
|
# @param [String] name
|
1123
1140
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
1124
1141
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
@@ -1388,7 +1405,7 @@ module Google
|
|
1388
1405
|
# projects/`project_number`/locations/`location_id`/catalogs/`catalog_id`
|
1389
1406
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel] google_cloud_retail_v2alpha_model_object
|
1390
1407
|
# @param [Boolean] dry_run
|
1391
|
-
# Optional. Whether to run a
|
1408
|
+
# Optional. Whether to run a dry run to validate the request (without actually
|
1392
1409
|
# creating the model).
|
1393
1410
|
# @param [String] fields
|
1394
1411
|
# Selector specifying which fields to include in a partial response.
|
@@ -1422,7 +1439,7 @@ module Google
|
|
1422
1439
|
|
1423
1440
|
# Deletes an existing model.
|
1424
1441
|
# @param [String] name
|
1425
|
-
# Required. The resource name of the
|
1442
|
+
# Required. The resource name of the Model to delete. Format: projects/`
|
1426
1443
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
1427
1444
|
# @param [String] fields
|
1428
1445
|
# Selector specifying which fields to include in a partial response.
|
@@ -1490,17 +1507,18 @@ module Google
|
|
1490
1507
|
execute_or_queue_command(command, &block)
|
1491
1508
|
end
|
1492
1509
|
|
1493
|
-
# Update of model metadata. Only fields that currently can be updated are:
|
1494
|
-
# filtering_option
|
1495
|
-
# API method
|
1510
|
+
# Update of model metadata. Only fields that currently can be updated are: `
|
1511
|
+
# filtering_option` and `periodic_tuning_state`. If other values are provided,
|
1512
|
+
# this API method ignores them.
|
1496
1513
|
# @param [String] name
|
1497
|
-
# Required. The fully qualified resource name of the model. Format: projects/`
|
1514
|
+
# Required. The fully qualified resource name of the model. Format: `projects/`
|
1498
1515
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
1499
|
-
# catalog_id has char limit of 50. recommendation_model_id has char limit of
|
1516
|
+
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
1517
|
+
# 40.
|
1500
1518
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel] google_cloud_retail_v2alpha_model_object
|
1501
1519
|
# @param [String] update_mask
|
1502
1520
|
# Optional. Indicates which fields in the provided 'model' to update. If not set,
|
1503
|
-
#
|
1521
|
+
# by default updates all fields.
|
1504
1522
|
# @param [String] fields
|
1505
1523
|
# Selector specifying which fields to include in a partial response.
|
1506
1524
|
# @param [String] quota_user
|
@@ -2185,9 +2203,9 @@ module Google
|
|
2185
2203
|
|
2186
2204
|
# Bulk import of User events. Request processing might be synchronous. Events
|
2187
2205
|
# that already exist are skipped. Use this method for backfilling historical
|
2188
|
-
# user events. Operation.response is of type ImportResponse
|
2189
|
-
# possible for a subset of the items to be successfully inserted. Operation.
|
2190
|
-
# metadata is of type ImportMetadata
|
2206
|
+
# user events. `Operation.response` is of type `ImportResponse`. Note that it is
|
2207
|
+
# possible for a subset of the items to be successfully inserted. `Operation.
|
2208
|
+
# metadata` is of type `ImportMetadata`.
|
2191
2209
|
# @param [String] parent
|
2192
2210
|
# Required. `projects/1234/locations/global/catalogs/default_catalog`
|
2193
2211
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportUserEventsRequest] google_cloud_retail_v2alpha_import_user_events_request_object
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.53.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_v2alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.53.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|