google-apis-retail_v2alpha 0.49.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 802ded10d047540ace34c876a963280595ec2f08b87da93fa0f6b0e7c00e653c
4
- data.tar.gz: b4d92fdaeb95f1ea9894874a18530a5de1ccd8e6fb95796335c2440f8e27272a
3
+ metadata.gz: d890c1a65e53a027afcd59800f3d47e4e6f818ca8dede7f80961898a042b4a23
4
+ data.tar.gz: e8f78f4aae8cb0f748030884adabdff2ada82bfbfa145733481925c417dc05ec
5
5
  SHA512:
6
- metadata.gz: d9df881c0b9bcf4bafdf505a132192e00e73389a1610894fbf403826d9ed23c838bf101e2a42ca8529e51cf9fc6dd69b319e6fbadff604a5abfaf2b89b651d2b
7
- data.tar.gz: 9944516c716b1e1b0240680c11c6793f97b83882d9497811ca5662dd198064369ed1360ef3b6a027267ae264ce2e0e28c9a8ef96ca04f0786c0006ad1eddf3fe
6
+ metadata.gz: 771439e5fb82eed062625e28f92ecfc434ef8098a9f2d4605b6dfc4ced62a9a22375079195dee54dacdb7aa04d75de17f9e48b50bbe5a1edeca063fe00a48029
7
+ data.tar.gz: aee7cf4032cc22d6adf63b4feb85cd1af4336143b1a68e630342908e760d4f0b04f929c489a6d7b35a2295290d73e9b7756075b60f67960bf26f06761d338332
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.50.0 (2022-07-26)
4
+
5
+ * Regenerated from discovery document revision 20220722
6
+
3
7
  ### v0.49.0 (2022-07-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20220716
@@ -960,6 +960,31 @@ module Google
960
960
  end
961
961
  end
962
962
 
963
+ # A BigQuery output result.
964
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
965
+ include Google::Apis::Core::Hashable
966
+
967
+ # The ID of a BigQuery Dataset.
968
+ # Corresponds to the JSON property `datasetId`
969
+ # @return [String]
970
+ attr_accessor :dataset_id
971
+
972
+ # The ID of a BigQuery Table.
973
+ # Corresponds to the JSON property `tableId`
974
+ # @return [String]
975
+ attr_accessor :table_id
976
+
977
+ def initialize(**args)
978
+ update!(**args)
979
+ end
980
+
981
+ # Update properties of this object
982
+ def update!(**args)
983
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
984
+ @table_id = args[:table_id] if args.key?(:table_id)
985
+ end
986
+ end
987
+
963
988
  # BigQuery source import data from.
964
989
  class GoogleCloudRetailV2alphaBigQuerySource
965
990
  include Google::Apis::Core::Hashable
@@ -1726,6 +1751,11 @@ module Google
1726
1751
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig]
1727
1752
  attr_accessor :errors_config
1728
1753
 
1754
+ # Output result.
1755
+ # Corresponds to the JSON property `outputResult`
1756
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult]
1757
+ attr_accessor :output_result
1758
+
1729
1759
  def initialize(**args)
1730
1760
  update!(**args)
1731
1761
  end
@@ -1734,6 +1764,7 @@ module Google
1734
1764
  def update!(**args)
1735
1765
  @error_samples = args[:error_samples] if args.key?(:error_samples)
1736
1766
  @errors_config = args[:errors_config] if args.key?(:errors_config)
1767
+ @output_result = args[:output_result] if args.key?(:output_result)
1737
1768
  end
1738
1769
  end
1739
1770
 
@@ -1753,6 +1784,11 @@ module Google
1753
1784
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig]
1754
1785
  attr_accessor :errors_config
1755
1786
 
1787
+ # Output result.
1788
+ # Corresponds to the JSON property `outputResult`
1789
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult]
1790
+ attr_accessor :output_result
1791
+
1756
1792
  def initialize(**args)
1757
1793
  update!(**args)
1758
1794
  end
@@ -1761,6 +1797,7 @@ module Google
1761
1797
  def update!(**args)
1762
1798
  @error_samples = args[:error_samples] if args.key?(:error_samples)
1763
1799
  @errors_config = args[:errors_config] if args.key?(:errors_config)
1800
+ @output_result = args[:output_result] if args.key?(:output_result)
1764
1801
  end
1765
1802
  end
1766
1803
 
@@ -2568,6 +2605,12 @@ module Google
2568
2605
  # @return [String]
2569
2606
  attr_accessor :periodic_tuning_state
2570
2607
 
2608
+ # Output only. The list of valid serving configs associated with the
2609
+ # PageOptimizationConfig.
2610
+ # Corresponds to the JSON property `servingConfigLists`
2611
+ # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelServingConfigList>]
2612
+ attr_accessor :serving_config_lists
2613
+
2571
2614
  # Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.
2572
2615
  # Corresponds to the JSON property `servingState`
2573
2616
  # @return [String]
@@ -2619,6 +2662,7 @@ module Google
2619
2662
  @optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
2620
2663
  @page_optimization_config = args[:page_optimization_config] if args.key?(:page_optimization_config)
2621
2664
  @periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
2665
+ @serving_config_lists = args[:serving_config_lists] if args.key?(:serving_config_lists)
2622
2666
  @serving_state = args[:serving_state] if args.key?(:serving_state)
2623
2667
  @training_state = args[:training_state] if args.key?(:training_state)
2624
2668
  @tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
@@ -2724,6 +2768,46 @@ module Google
2724
2768
  end
2725
2769
  end
2726
2770
 
2771
+ # Represents an ordered combination of valid serving configs, which / may be
2772
+ # used for PAGE_OPTIMIZATION recommendations.
2773
+ class GoogleCloudRetailV2alphaModelServingConfigList
2774
+ include Google::Apis::Core::Hashable
2775
+
2776
+ # Optional. A set of valid serving configs that may be used for
2777
+ # PAGE_OPTIMIZATION.
2778
+ # Corresponds to the JSON property `servingConfigIds`
2779
+ # @return [Array<String>]
2780
+ attr_accessor :serving_config_ids
2781
+
2782
+ def initialize(**args)
2783
+ update!(**args)
2784
+ end
2785
+
2786
+ # Update properties of this object
2787
+ def update!(**args)
2788
+ @serving_config_ids = args[:serving_config_ids] if args.key?(:serving_config_ids)
2789
+ end
2790
+ end
2791
+
2792
+ # Output result.
2793
+ class GoogleCloudRetailV2alphaOutputResult
2794
+ include Google::Apis::Core::Hashable
2795
+
2796
+ # Export result in BigQuery.
2797
+ # Corresponds to the JSON property `bigqueryResult`
2798
+ # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQueryOutputResult>]
2799
+ attr_accessor :bigquery_result
2800
+
2801
+ def initialize(**args)
2802
+ update!(**args)
2803
+ end
2804
+
2805
+ # Update properties of this object
2806
+ def update!(**args)
2807
+ @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
2808
+ end
2809
+ end
2810
+
2727
2811
  # Request for pausing training of a model.
2728
2812
  class GoogleCloudRetailV2alphaPauseModelRequest
2729
2813
  include Google::Apis::Core::Hashable
@@ -5964,6 +6048,31 @@ module Google
5964
6048
  end
5965
6049
  end
5966
6050
 
6051
+ # A BigQuery output result.
6052
+ class GoogleCloudRetailV2betaBigQueryOutputResult
6053
+ include Google::Apis::Core::Hashable
6054
+
6055
+ # The ID of a BigQuery Dataset.
6056
+ # Corresponds to the JSON property `datasetId`
6057
+ # @return [String]
6058
+ attr_accessor :dataset_id
6059
+
6060
+ # The ID of a BigQuery Table.
6061
+ # Corresponds to the JSON property `tableId`
6062
+ # @return [String]
6063
+ attr_accessor :table_id
6064
+
6065
+ def initialize(**args)
6066
+ update!(**args)
6067
+ end
6068
+
6069
+ # Update properties of this object
6070
+ def update!(**args)
6071
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
6072
+ @table_id = args[:table_id] if args.key?(:table_id)
6073
+ end
6074
+ end
6075
+
5967
6076
  # Configuration of destination for Export related errors.
5968
6077
  class GoogleCloudRetailV2betaExportErrorsConfig
5969
6078
  include Google::Apis::Core::Hashable
@@ -6028,6 +6137,11 @@ module Google
6028
6137
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig]
6029
6138
  attr_accessor :errors_config
6030
6139
 
6140
+ # Output result.
6141
+ # Corresponds to the JSON property `outputResult`
6142
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult]
6143
+ attr_accessor :output_result
6144
+
6031
6145
  def initialize(**args)
6032
6146
  update!(**args)
6033
6147
  end
@@ -6036,6 +6150,7 @@ module Google
6036
6150
  def update!(**args)
6037
6151
  @error_samples = args[:error_samples] if args.key?(:error_samples)
6038
6152
  @errors_config = args[:errors_config] if args.key?(:errors_config)
6153
+ @output_result = args[:output_result] if args.key?(:output_result)
6039
6154
  end
6040
6155
  end
6041
6156
 
@@ -6055,6 +6170,11 @@ module Google
6055
6170
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig]
6056
6171
  attr_accessor :errors_config
6057
6172
 
6173
+ # Output result.
6174
+ # Corresponds to the JSON property `outputResult`
6175
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult]
6176
+ attr_accessor :output_result
6177
+
6058
6178
  def initialize(**args)
6059
6179
  update!(**args)
6060
6180
  end
@@ -6063,6 +6183,7 @@ module Google
6063
6183
  def update!(**args)
6064
6184
  @error_samples = args[:error_samples] if args.key?(:error_samples)
6065
6185
  @errors_config = args[:errors_config] if args.key?(:errors_config)
6186
+ @output_result = args[:output_result] if args.key?(:output_result)
6066
6187
  end
6067
6188
  end
6068
6189
 
@@ -6223,6 +6344,25 @@ module Google
6223
6344
  end
6224
6345
  end
6225
6346
 
6347
+ # Output result.
6348
+ class GoogleCloudRetailV2betaOutputResult
6349
+ include Google::Apis::Core::Hashable
6350
+
6351
+ # Export result in BigQuery.
6352
+ # Corresponds to the JSON property `bigqueryResult`
6353
+ # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaBigQueryOutputResult>]
6354
+ attr_accessor :bigquery_result
6355
+
6356
+ def initialize(**args)
6357
+ update!(**args)
6358
+ end
6359
+
6360
+ # Update properties of this object
6361
+ def update!(**args)
6362
+ @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
6363
+ end
6364
+ end
6365
+
6226
6366
  # Metadata related to the progress of the Purge operation. This will be returned
6227
6367
  # by the google.longrunning.Operation.metadata field.
6228
6368
  class GoogleCloudRetailV2betaPurgeMetadata
@@ -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.49.0"
19
+ GEM_VERSION = "0.50.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 = "20220716"
25
+ REVISION = "20220722"
26
26
  end
27
27
  end
28
28
  end
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class GoogleCloudRetailV2alphaBigQuerySource
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -514,6 +520,18 @@ module Google
514
520
  include Google::Apis::Core::JsonObjectSupport
515
521
  end
516
522
 
523
+ class GoogleCloudRetailV2alphaModelServingConfigList
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class GoogleCloudRetailV2alphaOutputResult
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
517
535
  class GoogleCloudRetailV2alphaPauseModelRequest
518
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
537
 
@@ -952,6 +970,12 @@ module Google
952
970
  include Google::Apis::Core::JsonObjectSupport
953
971
  end
954
972
 
973
+ class GoogleCloudRetailV2betaBigQueryOutputResult
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
955
979
  class GoogleCloudRetailV2betaExportErrorsConfig
956
980
  class Representation < Google::Apis::Core::JsonRepresentation; end
957
981
 
@@ -1006,6 +1030,12 @@ module Google
1006
1030
  include Google::Apis::Core::JsonObjectSupport
1007
1031
  end
1008
1032
 
1033
+ class GoogleCloudRetailV2betaOutputResult
1034
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1035
+
1036
+ include Google::Apis::Core::JsonObjectSupport
1037
+ end
1038
+
1009
1039
  class GoogleCloudRetailV2betaPurgeMetadata
1010
1040
  class Representation < Google::Apis::Core::JsonRepresentation; end
1011
1041
 
@@ -1392,6 +1422,14 @@ module Google
1392
1422
  end
1393
1423
  end
1394
1424
 
1425
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
1426
+ # @private
1427
+ class Representation < Google::Apis::Core::JsonRepresentation
1428
+ property :dataset_id, as: 'datasetId'
1429
+ property :table_id, as: 'tableId'
1430
+ end
1431
+ end
1432
+
1395
1433
  class GoogleCloudRetailV2alphaBigQuerySource
1396
1434
  # @private
1397
1435
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1581,6 +1619,8 @@ module Google
1581
1619
 
1582
1620
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
1583
1621
 
1622
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult::Representation
1623
+
1584
1624
  end
1585
1625
  end
1586
1626
 
@@ -1591,6 +1631,8 @@ module Google
1591
1631
 
1592
1632
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
1593
1633
 
1634
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult::Representation
1635
+
1594
1636
  end
1595
1637
  end
1596
1638
 
@@ -1811,6 +1853,8 @@ module Google
1811
1853
  property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
1812
1854
 
1813
1855
  property :periodic_tuning_state, as: 'periodicTuningState'
1856
+ collection :serving_config_lists, as: 'servingConfigLists', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelServingConfigList, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelServingConfigList::Representation
1857
+
1814
1858
  property :serving_state, as: 'servingState'
1815
1859
  property :training_state, as: 'trainingState'
1816
1860
  property :tuning_operation, as: 'tuningOperation'
@@ -1847,6 +1891,21 @@ module Google
1847
1891
  end
1848
1892
  end
1849
1893
 
1894
+ class GoogleCloudRetailV2alphaModelServingConfigList
1895
+ # @private
1896
+ class Representation < Google::Apis::Core::JsonRepresentation
1897
+ collection :serving_config_ids, as: 'servingConfigIds'
1898
+ end
1899
+ end
1900
+
1901
+ class GoogleCloudRetailV2alphaOutputResult
1902
+ # @private
1903
+ class Representation < Google::Apis::Core::JsonRepresentation
1904
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQueryOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQueryOutputResult::Representation
1905
+
1906
+ end
1907
+ end
1908
+
1850
1909
  class GoogleCloudRetailV2alphaPauseModelRequest
1851
1910
  # @private
1852
1911
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2582,6 +2641,14 @@ module Google
2582
2641
  end
2583
2642
  end
2584
2643
 
2644
+ class GoogleCloudRetailV2betaBigQueryOutputResult
2645
+ # @private
2646
+ class Representation < Google::Apis::Core::JsonRepresentation
2647
+ property :dataset_id, as: 'datasetId'
2648
+ property :table_id, as: 'tableId'
2649
+ end
2650
+ end
2651
+
2585
2652
  class GoogleCloudRetailV2betaExportErrorsConfig
2586
2653
  # @private
2587
2654
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2604,6 +2671,8 @@ module Google
2604
2671
 
2605
2672
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig::Representation
2606
2673
 
2674
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult::Representation
2675
+
2607
2676
  end
2608
2677
  end
2609
2678
 
@@ -2614,6 +2683,8 @@ module Google
2614
2683
 
2615
2684
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig::Representation
2616
2685
 
2686
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult::Representation
2687
+
2617
2688
  end
2618
2689
  end
2619
2690
 
@@ -2666,6 +2737,14 @@ module Google
2666
2737
  end
2667
2738
  end
2668
2739
 
2740
+ class GoogleCloudRetailV2betaOutputResult
2741
+ # @private
2742
+ class Representation < Google::Apis::Core::JsonRepresentation
2743
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaBigQueryOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaBigQueryOutputResult::Representation
2744
+
2745
+ end
2746
+ end
2747
+
2669
2748
  class GoogleCloudRetailV2betaPurgeMetadata
2670
2749
  # @private
2671
2750
  class Representation < Google::Apis::Core::JsonRepresentation
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.49.0
4
+ version: 0.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2022-08-01 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.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.50.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: []