google-apis-retail_v2beta 0.63.0 → 0.64.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: '09cea47bef9e9dc688b360a14bcff089f9ba4783c6c8a437ccaa8d4105de8e6b'
4
- data.tar.gz: 53e77c6e06ab693f53bc3eeea4a15543584c457b4a1474da776307a7f5178c6d
3
+ metadata.gz: b8c44bb2d24a3ddd2c330d2b1db4afde219d82f543b434e402a91c300d6f3fdd
4
+ data.tar.gz: dbc5a39112e74a2d34af2f92ac6654dd71421c3b992f1b8c8126bf187ff95d3c
5
5
  SHA512:
6
- metadata.gz: 8afb7fe57b0c4624a744e80135de380bd52df22760aefe5bab82a5dc2a0d350ab56e46cc2e8bc9f9d0f7e661dffcb7e5276df9f690f8e64cbfa07216b25febf5
7
- data.tar.gz: e1eca2a908c013f21f350504dc6fe801ecb070789d9871c717ab58c3e39ebbd53e9d4519b17b33c5509ad7fb25cfdcb880f76cfe0bdb90c121189f8c62b92a8d
6
+ metadata.gz: c17f36eeadf84d524ce059061ca3365f6e5835dc6e4434ea0254dbd27e0526db285a57f200b59b7ceebcbfdb7e3cdf7e6b3aef34c62aa207c9b12b09f6658bcd
7
+ data.tar.gz: 19dd47f80460329f33fee9bd5a835e6a4ea5ea7e1dba34a1305d145236c5886202cda20aa24c2d11836de6bfd2e0d0f41fd4bc2f47590df22a50aeeae052ec0a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.64.0 (2023-01-29)
4
+
5
+ * Regenerated from discovery document revision 20230119
6
+
3
7
  ### v0.63.0 (2023-01-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20230117
@@ -339,6 +339,27 @@ module Google
339
339
  end
340
340
  end
341
341
 
342
+ # Metadata associated with a create operation.
343
+ class GoogleCloudRetailV2CreateModelMetadata
344
+ include Google::Apis::Core::Hashable
345
+
346
+ # The resource name of the model that this create applies to. Format: `projects/`
347
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
348
+ # `
349
+ # Corresponds to the JSON property `model`
350
+ # @return [String]
351
+ attr_accessor :model
352
+
353
+ def initialize(**args)
354
+ update!(**args)
355
+ end
356
+
357
+ # Update properties of this object
358
+ def update!(**args)
359
+ @model = args[:model] if args.key?(:model)
360
+ end
361
+ end
362
+
342
363
  # Response of the ImportCompletionDataRequest. If the long running operation is
343
364
  # done, this message is returned by the google.longrunning.Operations.response
344
365
  # field if the operation is successful.
@@ -496,6 +517,166 @@ module Google
496
517
  end
497
518
  end
498
519
 
520
+ # Metadata that describes the training and serving parameters of a Model. A
521
+ # Model can be associated with a ServingConfig and then queried through the
522
+ # Predict API.
523
+ class GoogleCloudRetailV2Model
524
+ include Google::Apis::Core::Hashable
525
+
526
+ # Output only. Timestamp the Recommendation Model was created at.
527
+ # Corresponds to the JSON property `createTime`
528
+ # @return [String]
529
+ attr_accessor :create_time
530
+
531
+ # Output only. The state of data requirements for this model: `DATA_OK` and `
532
+ # DATA_ERROR`. Recommendation model cannot be trained if the data is in `
533
+ # DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if
534
+ # serving state is `ACTIVE`: models were trained successfully before, but cannot
535
+ # be refreshed because model no longer has sufficient data for training.
536
+ # Corresponds to the JSON property `dataState`
537
+ # @return [String]
538
+ attr_accessor :data_state
539
+
540
+ # Required. The display name of the model. Should be human readable, used to
541
+ # display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8
542
+ # encoded string with limit of 1024 characters.
543
+ # Corresponds to the JSON property `displayName`
544
+ # @return [String]
545
+ attr_accessor :display_name
546
+
547
+ # Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by
548
+ # attributes is enabled for the model.
549
+ # Corresponds to the JSON property `filteringOption`
550
+ # @return [String]
551
+ attr_accessor :filtering_option
552
+
553
+ # Output only. The timestamp when the latest successful tune finished.
554
+ # Corresponds to the JSON property `lastTuneTime`
555
+ # @return [String]
556
+ attr_accessor :last_tune_time
557
+
558
+ # Required. The fully qualified resource name of the model. Format: `projects/`
559
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
560
+ # ` catalog_id has char limit of 50. recommendation_model_id has char limit of
561
+ # 40.
562
+ # Corresponds to the JSON property `name`
563
+ # @return [String]
564
+ attr_accessor :name
565
+
566
+ # Optional. The optimization objective e.g. `cvr`. Currently supported values: `
567
+ # ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on
568
+ # model type. Default depends on type of recommendation: `recommended-for-you` =>
569
+ # `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `
570
+ # revenue_per_order` This field together with optimization_objective describe
571
+ # model metadata to use to control model training and serving. See https://cloud.
572
+ # google.com/retail/docs/models for more details on what the model metadata
573
+ # control and which combination of parameters are valid. For invalid
574
+ # combinations of parameters (e.g. type = `frequently-bought-together` and
575
+ # optimization_objective = `ctr`), you receive an error 400 if you try to create/
576
+ # update a recommendation with this set of knobs.
577
+ # Corresponds to the JSON property `optimizationObjective`
578
+ # @return [String]
579
+ attr_accessor :optimization_objective
580
+
581
+ # Optional. The state of periodic tuning. The period we use is 3 months - to do
582
+ # a one-off tune earlier use the `TuneModel` method. Default value is `
583
+ # PERIODIC_TUNING_ENABLED`.
584
+ # Corresponds to the JSON property `periodicTuningState`
585
+ # @return [String]
586
+ attr_accessor :periodic_tuning_state
587
+
588
+ # Output only. The list of valid serving configs associated with the
589
+ # PageOptimizationConfig.
590
+ # Corresponds to the JSON property `servingConfigLists`
591
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2ModelServingConfigList>]
592
+ attr_accessor :serving_config_lists
593
+
594
+ # Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.
595
+ # Corresponds to the JSON property `servingState`
596
+ # @return [String]
597
+ attr_accessor :serving_state
598
+
599
+ # Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`)
600
+ # . Since part of the cost of running the service is frequency of training -
601
+ # this can be used to determine when to train model in order to control cost. If
602
+ # not specified: the default value for `CreateModel` method is `TRAINING`. The
603
+ # default value for `UpdateModel` method is to keep the state the same as before.
604
+ # Corresponds to the JSON property `trainingState`
605
+ # @return [String]
606
+ attr_accessor :training_state
607
+
608
+ # Output only. The tune operation associated with the model. Can be used to
609
+ # determine if there is an ongoing tune for this recommendation. Empty field
610
+ # implies no tune is goig on.
611
+ # Corresponds to the JSON property `tuningOperation`
612
+ # @return [String]
613
+ attr_accessor :tuning_operation
614
+
615
+ # Required. The type of model e.g. `home-page`. Currently supported values: `
616
+ # recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
617
+ # page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `
618
+ # recently-viewed`(readonly value). This field together with
619
+ # optimization_objective describe model metadata to use to control model
620
+ # training and serving. See https://cloud.google.com/retail/docs/models for more
621
+ # details on what the model metadata control and which combination of parameters
622
+ # are valid. For invalid combinations of parameters (e.g. type = `frequently-
623
+ # bought-together` and optimization_objective = `ctr`), you receive an error 400
624
+ # if you try to create/update a recommendation with this set of knobs.
625
+ # Corresponds to the JSON property `type`
626
+ # @return [String]
627
+ attr_accessor :type
628
+
629
+ # Output only. Timestamp the Recommendation Model was last updated. E.g. if a
630
+ # Recommendation Model was paused - this would be the time the pause was
631
+ # initiated.
632
+ # Corresponds to the JSON property `updateTime`
633
+ # @return [String]
634
+ attr_accessor :update_time
635
+
636
+ def initialize(**args)
637
+ update!(**args)
638
+ end
639
+
640
+ # Update properties of this object
641
+ def update!(**args)
642
+ @create_time = args[:create_time] if args.key?(:create_time)
643
+ @data_state = args[:data_state] if args.key?(:data_state)
644
+ @display_name = args[:display_name] if args.key?(:display_name)
645
+ @filtering_option = args[:filtering_option] if args.key?(:filtering_option)
646
+ @last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
647
+ @name = args[:name] if args.key?(:name)
648
+ @optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
649
+ @periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
650
+ @serving_config_lists = args[:serving_config_lists] if args.key?(:serving_config_lists)
651
+ @serving_state = args[:serving_state] if args.key?(:serving_state)
652
+ @training_state = args[:training_state] if args.key?(:training_state)
653
+ @tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
654
+ @type = args[:type] if args.key?(:type)
655
+ @update_time = args[:update_time] if args.key?(:update_time)
656
+ end
657
+ end
658
+
659
+ # Represents an ordered combination of valid serving configs, which can be used
660
+ # for `PAGE_OPTIMIZATION` recommendations.
661
+ class GoogleCloudRetailV2ModelServingConfigList
662
+ include Google::Apis::Core::Hashable
663
+
664
+ # Optional. A set of valid serving configs that may be used for `
665
+ # PAGE_OPTIMIZATION`.
666
+ # Corresponds to the JSON property `servingConfigIds`
667
+ # @return [Array<String>]
668
+ attr_accessor :serving_config_ids
669
+
670
+ def initialize(**args)
671
+ update!(**args)
672
+ end
673
+
674
+ # Update properties of this object
675
+ def update!(**args)
676
+ @serving_config_ids = args[:serving_config_ids] if args.key?(:serving_config_ids)
677
+ end
678
+ end
679
+
499
680
  # Metadata related to the progress of the Purge operation. This will be returned
500
681
  # by the google.longrunning.Operation.metadata field.
501
682
  class GoogleCloudRetailV2PurgeMetadata
@@ -652,6 +833,40 @@ module Google
652
833
  end
653
834
  end
654
835
 
836
+ # Metadata associated with a tune operation.
837
+ class GoogleCloudRetailV2TuneModelMetadata
838
+ include Google::Apis::Core::Hashable
839
+
840
+ # The resource name of the model that this tune applies to. Format: `projects/`
841
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
842
+ # `
843
+ # Corresponds to the JSON property `model`
844
+ # @return [String]
845
+ attr_accessor :model
846
+
847
+ def initialize(**args)
848
+ update!(**args)
849
+ end
850
+
851
+ # Update properties of this object
852
+ def update!(**args)
853
+ @model = args[:model] if args.key?(:model)
854
+ end
855
+ end
856
+
857
+ # Response associated with a tune operation.
858
+ class GoogleCloudRetailV2TuneModelResponse
859
+ include Google::Apis::Core::Hashable
860
+
861
+ def initialize(**args)
862
+ update!(**args)
863
+ end
864
+
865
+ # Update properties of this object
866
+ def update!(**args)
867
+ end
868
+ end
869
+
655
870
  # A summary of import result. The UserEventImportSummary summarizes the import
656
871
  # status for user events.
657
872
  class GoogleCloudRetailV2UserEventImportSummary
@@ -2774,6 +2989,62 @@ module Google
2774
2989
  end
2775
2990
  end
2776
2991
 
2992
+ # Metadata for active A/B testing Experiments.
2993
+ class GoogleCloudRetailV2betaExperimentInfo
2994
+ include Google::Apis::Core::Hashable
2995
+
2996
+ # The fully qualified resource name of the experiment that provides the serving
2997
+ # config under test, should an active experiment exist. For example: `projects/*/
2998
+ # locations/global/catalogs/default_catalog/experiments/experiment_id`
2999
+ # Corresponds to the JSON property `experimentName`
3000
+ # @return [String]
3001
+ attr_accessor :experiment_name
3002
+
3003
+ # Metadata for active serving config A/B tests.
3004
+ # Corresponds to the JSON property `servingConfigExperiment`
3005
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment]
3006
+ attr_accessor :serving_config_experiment
3007
+
3008
+ def initialize(**args)
3009
+ update!(**args)
3010
+ end
3011
+
3012
+ # Update properties of this object
3013
+ def update!(**args)
3014
+ @experiment_name = args[:experiment_name] if args.key?(:experiment_name)
3015
+ @serving_config_experiment = args[:serving_config_experiment] if args.key?(:serving_config_experiment)
3016
+ end
3017
+ end
3018
+
3019
+ # Metadata for active serving config A/B tests.
3020
+ class GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment
3021
+ include Google::Apis::Core::Hashable
3022
+
3023
+ # The fully qualified resource name of the serving config VariantArm.
3024
+ # serving_config_id responsible for generating the search response. For example:
3025
+ # `projects/*/locations/*/catalogs/*/servingConfigs/*`.
3026
+ # Corresponds to the JSON property `experimentServingConfig`
3027
+ # @return [String]
3028
+ attr_accessor :experiment_serving_config
3029
+
3030
+ # The fully qualified resource name of the original SearchRequest.placement in
3031
+ # the search request prior to reassignment by experiment API. For example: `
3032
+ # projects/*/locations/*/catalogs/*/servingConfigs/*`.
3033
+ # Corresponds to the JSON property `originalServingConfig`
3034
+ # @return [String]
3035
+ attr_accessor :original_serving_config
3036
+
3037
+ def initialize(**args)
3038
+ update!(**args)
3039
+ end
3040
+
3041
+ # Update properties of this object
3042
+ def update!(**args)
3043
+ @experiment_serving_config = args[:experiment_serving_config] if args.key?(:experiment_serving_config)
3044
+ @original_serving_config = args[:original_serving_config] if args.key?(:original_serving_config)
3045
+ end
3046
+ end
3047
+
2777
3048
  # Configuration of destination for Export related errors.
2778
3049
  class GoogleCloudRetailV2betaExportErrorsConfig
2779
3050
  include Google::Apis::Core::Hashable
@@ -6019,6 +6290,12 @@ module Google
6019
6290
  # @return [String]
6020
6291
  attr_accessor :corrected_query
6021
6292
 
6293
+ # Metadata related to A/B testing Experiment associated with this response. Only
6294
+ # exists when an experiment is triggered.
6295
+ # Corresponds to the JSON property `experimentInfo`
6296
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExperimentInfo>]
6297
+ attr_accessor :experiment_info
6298
+
6022
6299
  # Results of facets requested by user.
6023
6300
  # Corresponds to the JSON property `facets`
6024
6301
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchResponseFacet>]
@@ -6070,6 +6347,7 @@ module Google
6070
6347
  @applied_controls = args[:applied_controls] if args.key?(:applied_controls)
6071
6348
  @attribution_token = args[:attribution_token] if args.key?(:attribution_token)
6072
6349
  @corrected_query = args[:corrected_query] if args.key?(:corrected_query)
6350
+ @experiment_info = args[:experiment_info] if args.key?(:experiment_info)
6073
6351
  @facets = args[:facets] if args.key?(:facets)
6074
6352
  @invalid_condition_boost_specs = args[:invalid_condition_boost_specs] if args.key?(:invalid_condition_boost_specs)
6075
6353
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@@ -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.63.0"
19
+ GEM_VERSION = "0.64.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230117"
25
+ REVISION = "20230119"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class GoogleCloudRetailV2CreateModelMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class GoogleCloudRetailV2ImportCompletionDataResponse
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -118,6 +124,18 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class GoogleCloudRetailV2Model
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudRetailV2ModelServingConfigList
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
121
139
  class GoogleCloudRetailV2PurgeMetadata
122
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
141
 
@@ -178,6 +196,18 @@ module Google
178
196
  include Google::Apis::Core::JsonObjectSupport
179
197
  end
180
198
 
199
+ class GoogleCloudRetailV2TuneModelMetadata
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudRetailV2TuneModelResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
181
211
  class GoogleCloudRetailV2UserEventImportSummary
182
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
213
 
@@ -586,6 +616,18 @@ module Google
586
616
  include Google::Apis::Core::JsonObjectSupport
587
617
  end
588
618
 
619
+ class GoogleCloudRetailV2betaExperimentInfo
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
589
631
  class GoogleCloudRetailV2betaExportErrorsConfig
590
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
633
 
@@ -1285,6 +1327,13 @@ module Google
1285
1327
  end
1286
1328
  end
1287
1329
 
1330
+ class GoogleCloudRetailV2CreateModelMetadata
1331
+ # @private
1332
+ class Representation < Google::Apis::Core::JsonRepresentation
1333
+ property :model, as: 'model'
1334
+ end
1335
+ end
1336
+
1288
1337
  class GoogleCloudRetailV2ImportCompletionDataResponse
1289
1338
  # @private
1290
1339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1334,6 +1383,34 @@ module Google
1334
1383
  end
1335
1384
  end
1336
1385
 
1386
+ class GoogleCloudRetailV2Model
1387
+ # @private
1388
+ class Representation < Google::Apis::Core::JsonRepresentation
1389
+ property :create_time, as: 'createTime'
1390
+ property :data_state, as: 'dataState'
1391
+ property :display_name, as: 'displayName'
1392
+ property :filtering_option, as: 'filteringOption'
1393
+ property :last_tune_time, as: 'lastTuneTime'
1394
+ property :name, as: 'name'
1395
+ property :optimization_objective, as: 'optimizationObjective'
1396
+ property :periodic_tuning_state, as: 'periodicTuningState'
1397
+ collection :serving_config_lists, as: 'servingConfigLists', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2ModelServingConfigList, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2ModelServingConfigList::Representation
1398
+
1399
+ property :serving_state, as: 'servingState'
1400
+ property :training_state, as: 'trainingState'
1401
+ property :tuning_operation, as: 'tuningOperation'
1402
+ property :type, as: 'type'
1403
+ property :update_time, as: 'updateTime'
1404
+ end
1405
+ end
1406
+
1407
+ class GoogleCloudRetailV2ModelServingConfigList
1408
+ # @private
1409
+ class Representation < Google::Apis::Core::JsonRepresentation
1410
+ collection :serving_config_ids, as: 'servingConfigIds'
1411
+ end
1412
+ end
1413
+
1337
1414
  class GoogleCloudRetailV2PurgeMetadata
1338
1415
  # @private
1339
1416
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1396,6 +1473,19 @@ module Google
1396
1473
  end
1397
1474
  end
1398
1475
 
1476
+ class GoogleCloudRetailV2TuneModelMetadata
1477
+ # @private
1478
+ class Representation < Google::Apis::Core::JsonRepresentation
1479
+ property :model, as: 'model'
1480
+ end
1481
+ end
1482
+
1483
+ class GoogleCloudRetailV2TuneModelResponse
1484
+ # @private
1485
+ class Representation < Google::Apis::Core::JsonRepresentation
1486
+ end
1487
+ end
1488
+
1399
1489
  class GoogleCloudRetailV2UserEventImportSummary
1400
1490
  # @private
1401
1491
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1988,6 +2078,23 @@ module Google
1988
2078
  end
1989
2079
  end
1990
2080
 
2081
+ class GoogleCloudRetailV2betaExperimentInfo
2082
+ # @private
2083
+ class Representation < Google::Apis::Core::JsonRepresentation
2084
+ property :experiment_name, as: 'experimentName'
2085
+ property :serving_config_experiment, as: 'servingConfigExperiment', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment::Representation
2086
+
2087
+ end
2088
+ end
2089
+
2090
+ class GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment
2091
+ # @private
2092
+ class Representation < Google::Apis::Core::JsonRepresentation
2093
+ property :experiment_serving_config, as: 'experimentServingConfig'
2094
+ property :original_serving_config, as: 'originalServingConfig'
2095
+ end
2096
+ end
2097
+
1991
2098
  class GoogleCloudRetailV2betaExportErrorsConfig
1992
2099
  # @private
1993
2100
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2773,6 +2880,8 @@ module Google
2773
2880
  collection :applied_controls, as: 'appliedControls'
2774
2881
  property :attribution_token, as: 'attributionToken'
2775
2882
  property :corrected_query, as: 'correctedQuery'
2883
+ collection :experiment_info, as: 'experimentInfo', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExperimentInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExperimentInfo::Representation
2884
+
2776
2885
  collection :facets, as: 'facets', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchResponseFacet, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchResponseFacet::Representation
2777
2886
 
2778
2887
  collection :invalid_condition_boost_specs, as: 'invalidConditionBoostSpecs', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec::Representation
@@ -618,8 +618,7 @@ module Google
618
618
  # returned Operations will be obsolete after 1 day, and GetOperation API will
619
619
  # return NOT_FOUND afterwards. If conflicting updates are issued, the Operations
620
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. Enable Retail Search on Cloud Console before using this feature.
621
+ # obsolete.
623
622
  # @param [String] product
624
623
  # Required. Full resource name of Product, such as `projects/*/locations/global/
625
624
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -667,9 +666,7 @@ module Google
667
666
  # inventories. The returned Operations will be obsolete after 1 day, and
668
667
  # GetOperation API will return NOT_FOUND afterwards. If conflicting updates are
669
668
  # issued, the Operations associated with the stale updates will not be marked as
670
- # done until being obsolete. This feature is only available for users who have
671
- # Retail Search enabled. Enable Retail Search on Cloud Console before using this
672
- # feature.
669
+ # done until being obsolete.
673
670
  # @param [String] product
674
671
  # Required. Full resource name of Product, such as `projects/*/locations/global/
675
672
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -979,8 +976,7 @@ module Google
979
976
  # returned Operations will be obsolete after 1 day, and GetOperation API will
980
977
  # return NOT_FOUND afterwards. If conflicting updates are issued, the Operations
981
978
  # associated with the stale updates will not be marked as done until being
982
- # obsolete. This feature is only available for users who have Retail Search
983
- # enabled. Enable Retail Search on Cloud Console before using this feature.
979
+ # obsolete.
984
980
  # @param [String] product
985
981
  # Required. Full resource name of Product, such as `projects/*/locations/global/
986
982
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -1026,9 +1022,7 @@ module Google
1026
1022
  # inventories. The returned Operations will be obsolete after 1 day, and
1027
1023
  # GetOperation API will return NOT_FOUND afterwards. If conflicting updates are
1028
1024
  # issued, the Operations associated with the stale updates will not be marked as
1029
- # done until being obsolete. This feature is only available for users who have
1030
- # Retail Search enabled. Enable Retail Search on Cloud Console before using this
1031
- # feature.
1025
+ # done until being obsolete.
1032
1026
  # @param [String] product
1033
1027
  # Required. Full resource name of Product, such as `projects/*/locations/global/
1034
1028
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -1084,9 +1078,7 @@ module Google
1084
1078
  # RemoveFulfillmentPlaces. The returned Operations is obsolete after one day,
1085
1079
  # and the GetOperation API returns `NOT_FOUND` afterwards. If conflicting
1086
1080
  # updates are issued, the Operations associated with the stale updates are not
1087
- # marked as done until they are obsolete. This feature is only available for
1088
- # users who have Retail Search enabled. Enable Retail Search on Cloud Console
1089
- # before using this feature.
1081
+ # marked as done until they are obsolete.
1090
1082
  # @param [String] name
1091
1083
  # Immutable. Full resource name of the product, such as `projects/*/locations/
1092
1084
  # global/catalogs/default_catalog/branches/default_branch/products/product_id`.
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.63.0
4
+ version: 0.64.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: 2023-01-22 00:00:00.000000000 Z
11
+ date: 2023-01-29 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.63.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.64.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: []