google-apis-retail_v2alpha 0.48.0 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2alpha
18
18
  # Version of the google-apis-retail_v2alpha gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220707"
25
+ REVISION = "20220729"
26
26
  end
27
27
  end
28
28
  end
@@ -244,6 +244,24 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
247
265
  class GoogleCloudRetailV2alphaBigQuerySource
248
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
267
 
@@ -328,6 +346,12 @@ module Google
328
346
  include Google::Apis::Core::JsonObjectSupport
329
347
  end
330
348
 
349
+ class GoogleCloudRetailV2alphaCreateModelMetadata
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
331
355
  class GoogleCloudRetailV2alphaCustomAttribute
332
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
357
 
@@ -448,6 +472,12 @@ module Google
448
472
  include Google::Apis::Core::JsonObjectSupport
449
473
  end
450
474
 
475
+ class GoogleCloudRetailV2alphaListModelsResponse
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
451
481
  class GoogleCloudRetailV2alphaListProductsResponse
452
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
483
 
@@ -478,6 +508,48 @@ module Google
478
508
  include Google::Apis::Core::JsonObjectSupport
479
509
  end
480
510
 
511
+ class GoogleCloudRetailV2alphaModel
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class GoogleCloudRetailV2alphaModelServingConfigList
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class GoogleCloudRetailV2alphaOutputResult
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
547
+ class GoogleCloudRetailV2alphaPauseModelRequest
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
481
553
  class GoogleCloudRetailV2alphaPredictRequest
482
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
555
 
@@ -664,6 +736,12 @@ module Google
664
736
  include Google::Apis::Core::JsonObjectSupport
665
737
  end
666
738
 
739
+ class GoogleCloudRetailV2alphaResumeModelRequest
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
667
745
  class GoogleCloudRetailV2alphaRule
668
746
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
747
 
@@ -832,6 +910,30 @@ module Google
832
910
  include Google::Apis::Core::JsonObjectSupport
833
911
  end
834
912
 
913
+ class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
919
+ class GoogleCloudRetailV2alphaTuneModelMetadata
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
925
+ class GoogleCloudRetailV2alphaTuneModelRequest
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
931
+ class GoogleCloudRetailV2alphaTuneModelResponse
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
835
937
  class GoogleCloudRetailV2alphaUserEvent
836
938
  class Representation < Google::Apis::Core::JsonRepresentation; end
837
939
 
@@ -886,6 +988,12 @@ module Google
886
988
  include Google::Apis::Core::JsonObjectSupport
887
989
  end
888
990
 
991
+ class GoogleCloudRetailV2betaBigQueryOutputResult
992
+ class Representation < Google::Apis::Core::JsonRepresentation; end
993
+
994
+ include Google::Apis::Core::JsonObjectSupport
995
+ end
996
+
889
997
  class GoogleCloudRetailV2betaExportErrorsConfig
890
998
  class Representation < Google::Apis::Core::JsonRepresentation; end
891
999
 
@@ -940,6 +1048,12 @@ module Google
940
1048
  include Google::Apis::Core::JsonObjectSupport
941
1049
  end
942
1050
 
1051
+ class GoogleCloudRetailV2betaOutputResult
1052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1053
+
1054
+ include Google::Apis::Core::JsonObjectSupport
1055
+ end
1056
+
943
1057
  class GoogleCloudRetailV2betaPurgeMetadata
944
1058
  class Representation < Google::Apis::Core::JsonRepresentation; end
945
1059
 
@@ -1326,6 +1440,29 @@ module Google
1326
1440
  end
1327
1441
  end
1328
1442
 
1443
+ class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
1444
+ # @private
1445
+ class Representation < Google::Apis::Core::JsonRepresentation
1446
+ collection :attribute_keys, as: 'attributeKeys'
1447
+ end
1448
+ end
1449
+
1450
+ class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
1451
+ # @private
1452
+ class Representation < Google::Apis::Core::JsonRepresentation
1453
+ collection :deleted_catalog_attributes, as: 'deletedCatalogAttributes'
1454
+ collection :reset_catalog_attributes, as: 'resetCatalogAttributes'
1455
+ end
1456
+ end
1457
+
1458
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
1459
+ # @private
1460
+ class Representation < Google::Apis::Core::JsonRepresentation
1461
+ property :dataset_id, as: 'datasetId'
1462
+ property :table_id, as: 'tableId'
1463
+ end
1464
+ end
1465
+
1329
1466
  class GoogleCloudRetailV2alphaBigQuerySource
1330
1467
  # @private
1331
1468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1355,6 +1492,7 @@ module Google
1355
1492
  # @private
1356
1493
  class Representation < Google::Apis::Core::JsonRepresentation
1357
1494
  property :dynamic_facetable_option, as: 'dynamicFacetableOption'
1495
+ property :exact_searchable_option, as: 'exactSearchableOption'
1358
1496
  property :in_use, as: 'inUse'
1359
1497
  property :indexable_option, as: 'indexableOption'
1360
1498
  property :key, as: 'key'
@@ -1476,6 +1614,13 @@ module Google
1476
1614
  end
1477
1615
  end
1478
1616
 
1617
+ class GoogleCloudRetailV2alphaCreateModelMetadata
1618
+ # @private
1619
+ class Representation < Google::Apis::Core::JsonRepresentation
1620
+ property :model, as: 'model'
1621
+ end
1622
+ end
1623
+
1479
1624
  class GoogleCloudRetailV2alphaCustomAttribute
1480
1625
  # @private
1481
1626
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1508,6 +1653,8 @@ module Google
1508
1653
 
1509
1654
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
1510
1655
 
1656
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult::Representation
1657
+
1511
1658
  end
1512
1659
  end
1513
1660
 
@@ -1518,6 +1665,8 @@ module Google
1518
1665
 
1519
1666
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
1520
1667
 
1668
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult::Representation
1669
+
1521
1670
  end
1522
1671
  end
1523
1672
 
@@ -1587,6 +1736,8 @@ module Google
1587
1736
  property :notification_pubsub_topic, as: 'notificationPubsubTopic'
1588
1737
  property :request_id, as: 'requestId'
1589
1738
  property :success_count, :numeric_string => true, as: 'successCount'
1739
+ property :transformed_user_events_metadata, as: 'transformedUserEventsMetadata', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTransformedUserEventsMetadata, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTransformedUserEventsMetadata::Representation
1740
+
1590
1741
  property :update_time, as: 'updateTime'
1591
1742
  end
1592
1743
  end
@@ -1666,6 +1817,15 @@ module Google
1666
1817
  end
1667
1818
  end
1668
1819
 
1820
+ class GoogleCloudRetailV2alphaListModelsResponse
1821
+ # @private
1822
+ class Representation < Google::Apis::Core::JsonRepresentation
1823
+ collection :models, as: 'models', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel::Representation
1824
+
1825
+ property :next_page_token, as: 'nextPageToken'
1826
+ end
1827
+ end
1828
+
1669
1829
  class GoogleCloudRetailV2alphaListProductsResponse
1670
1830
  # @private
1671
1831
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1716,6 +1876,78 @@ module Google
1716
1876
  end
1717
1877
  end
1718
1878
 
1879
+ class GoogleCloudRetailV2alphaModel
1880
+ # @private
1881
+ class Representation < Google::Apis::Core::JsonRepresentation
1882
+ property :create_time, as: 'createTime'
1883
+ property :data_state, as: 'dataState'
1884
+ property :display_name, as: 'displayName'
1885
+ property :filtering_option, as: 'filteringOption'
1886
+ property :last_tune_time, as: 'lastTuneTime'
1887
+ property :name, as: 'name'
1888
+ property :optimization_objective, as: 'optimizationObjective'
1889
+ property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
1890
+
1891
+ property :periodic_tuning_state, as: 'periodicTuningState'
1892
+ collection :serving_config_lists, as: 'servingConfigLists', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelServingConfigList, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelServingConfigList::Representation
1893
+
1894
+ property :serving_state, as: 'servingState'
1895
+ property :training_state, as: 'trainingState'
1896
+ property :tuning_operation, as: 'tuningOperation'
1897
+ property :type, as: 'type'
1898
+ property :update_time, as: 'updateTime'
1899
+ end
1900
+ end
1901
+
1902
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
1903
+ # @private
1904
+ class Representation < Google::Apis::Core::JsonRepresentation
1905
+ property :page_optimization_event_type, as: 'pageOptimizationEventType'
1906
+ collection :panels, as: 'panels', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel::Representation
1907
+
1908
+ property :restriction, as: 'restriction'
1909
+ end
1910
+ end
1911
+
1912
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
1913
+ # @private
1914
+ class Representation < Google::Apis::Core::JsonRepresentation
1915
+ property :serving_config_id, as: 'servingConfigId'
1916
+ end
1917
+ end
1918
+
1919
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
1920
+ # @private
1921
+ class Representation < Google::Apis::Core::JsonRepresentation
1922
+ collection :candidates, as: 'candidates', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
1923
+
1924
+ property :default_candidate, as: 'defaultCandidate', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
1925
+
1926
+ property :display_name, as: 'displayName'
1927
+ end
1928
+ end
1929
+
1930
+ class GoogleCloudRetailV2alphaModelServingConfigList
1931
+ # @private
1932
+ class Representation < Google::Apis::Core::JsonRepresentation
1933
+ collection :serving_config_ids, as: 'servingConfigIds'
1934
+ end
1935
+ end
1936
+
1937
+ class GoogleCloudRetailV2alphaOutputResult
1938
+ # @private
1939
+ class Representation < Google::Apis::Core::JsonRepresentation
1940
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQueryOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQueryOutputResult::Representation
1941
+
1942
+ end
1943
+ end
1944
+
1945
+ class GoogleCloudRetailV2alphaPauseModelRequest
1946
+ # @private
1947
+ class Representation < Google::Apis::Core::JsonRepresentation
1948
+ end
1949
+ end
1950
+
1719
1951
  class GoogleCloudRetailV2alphaPredictRequest
1720
1952
  # @private
1721
1953
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2018,6 +2250,12 @@ module Google
2018
2250
  end
2019
2251
  end
2020
2252
 
2253
+ class GoogleCloudRetailV2alphaResumeModelRequest
2254
+ # @private
2255
+ class Representation < Google::Apis::Core::JsonRepresentation
2256
+ end
2257
+ end
2258
+
2021
2259
  class GoogleCloudRetailV2alphaRule
2022
2260
  # @private
2023
2261
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2186,6 +2424,7 @@ module Google
2186
2424
  collection :prefixes, as: 'prefixes'
2187
2425
  property :query, as: 'query'
2188
2426
  collection :restricted_values, as: 'restrictedValues'
2427
+ property :return_min_max, as: 'returnMinMax'
2189
2428
  end
2190
2429
  end
2191
2430
 
@@ -2247,6 +2486,8 @@ module Google
2247
2486
  property :count, :numeric_string => true, as: 'count'
2248
2487
  property :interval, as: 'interval', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval::Representation
2249
2488
 
2489
+ property :max_value, as: 'maxValue'
2490
+ property :min_value, as: 'minValue'
2250
2491
  property :value, as: 'value'
2251
2492
  end
2252
2493
  end
@@ -2265,6 +2506,7 @@ module Google
2265
2506
  property :id, as: 'id'
2266
2507
  property :matching_variant_count, as: 'matchingVariantCount'
2267
2508
  hash :matching_variant_fields, as: 'matchingVariantFields'
2509
+ collection :personal_labels, as: 'personalLabels'
2268
2510
  property :product, as: 'product', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct::Representation
2269
2511
 
2270
2512
  hash :variant_rollup_values, as: 'variantRollupValues'
@@ -2327,6 +2569,33 @@ module Google
2327
2569
  end
2328
2570
  end
2329
2571
 
2572
+ class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
2573
+ # @private
2574
+ class Representation < Google::Apis::Core::JsonRepresentation
2575
+ property :source_events_count, :numeric_string => true, as: 'sourceEventsCount'
2576
+ property :transformed_events_count, :numeric_string => true, as: 'transformedEventsCount'
2577
+ end
2578
+ end
2579
+
2580
+ class GoogleCloudRetailV2alphaTuneModelMetadata
2581
+ # @private
2582
+ class Representation < Google::Apis::Core::JsonRepresentation
2583
+ property :model, as: 'model'
2584
+ end
2585
+ end
2586
+
2587
+ class GoogleCloudRetailV2alphaTuneModelRequest
2588
+ # @private
2589
+ class Representation < Google::Apis::Core::JsonRepresentation
2590
+ end
2591
+ end
2592
+
2593
+ class GoogleCloudRetailV2alphaTuneModelResponse
2594
+ # @private
2595
+ class Representation < Google::Apis::Core::JsonRepresentation
2596
+ end
2597
+ end
2598
+
2330
2599
  class GoogleCloudRetailV2alphaUserEvent
2331
2600
  # @private
2332
2601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2420,6 +2689,14 @@ module Google
2420
2689
  end
2421
2690
  end
2422
2691
 
2692
+ class GoogleCloudRetailV2betaBigQueryOutputResult
2693
+ # @private
2694
+ class Representation < Google::Apis::Core::JsonRepresentation
2695
+ property :dataset_id, as: 'datasetId'
2696
+ property :table_id, as: 'tableId'
2697
+ end
2698
+ end
2699
+
2423
2700
  class GoogleCloudRetailV2betaExportErrorsConfig
2424
2701
  # @private
2425
2702
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2442,6 +2719,8 @@ module Google
2442
2719
 
2443
2720
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig::Representation
2444
2721
 
2722
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult::Representation
2723
+
2445
2724
  end
2446
2725
  end
2447
2726
 
@@ -2452,6 +2731,8 @@ module Google
2452
2731
 
2453
2732
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig::Representation
2454
2733
 
2734
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult::Representation
2735
+
2455
2736
  end
2456
2737
  end
2457
2738
 
@@ -2504,6 +2785,14 @@ module Google
2504
2785
  end
2505
2786
  end
2506
2787
 
2788
+ class GoogleCloudRetailV2betaOutputResult
2789
+ # @private
2790
+ class Representation < Google::Apis::Core::JsonRepresentation
2791
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaBigQueryOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaBigQueryOutputResult::Representation
2792
+
2793
+ end
2794
+ end
2795
+
2507
2796
  class GoogleCloudRetailV2betaPurgeMetadata
2508
2797
  # @private
2509
2798
  class Representation < Google::Apis::Core::JsonRepresentation