google-apis-retail_v2beta 0.48.0 → 0.49.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: db793e92a01d652adbcc15c48098a430659fc3b12e192b93d2469410f6950c46
4
- data.tar.gz: 5e2ec82bdff8cee71cc4e7d04f797be372d66127d71cce2876fe0daa96c46980
3
+ metadata.gz: 5265670b3734d1129a54f2dbf21193ecbe1066ae8dcecf2c887d01d2b8910817
4
+ data.tar.gz: 41d5d92c45012e20c7b0d8a6da3232fc5eb32432f81e1c2b6f471d90888c9510
5
5
  SHA512:
6
- metadata.gz: 57c3e8c7c580660a79bf8bbcf6ac487273c0a4ffbf209ced0f6b34022cee4fefc04fa8bbe6a8f9c07adefc7c302f50ada420f07ab7cff67217084dcdc2fa23fd
7
- data.tar.gz: e46335c5a6eafd152f006ee6804ecc040541eb0c36711d19f196d9f9fb1570e484d237a6141fd3b8af753db0a990b56ae1e5d8bbf8a028bd95b52a1a3f87a06e
6
+ metadata.gz: 44cb9c41e347cc9841f3e66914fc2b1d1fd2faaa65e880e92bea54f215b815eeaab8330a97c200cae70abd80759c7ae62ed416c255c13e3b9ec07c0874097b6a
7
+ data.tar.gz: 933f2fc5231ec1bd62af1c5c96713b2f73a670ea962984fc1de585a2fb42bba85cde6889984e2878e1a4353e06dce2048793a55e74ceee81ea7f32a357719a02
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.49.0 (2022-07-26)
4
+
5
+ * Regenerated from discovery document revision 20220722
6
+
3
7
  ### v0.48.0 (2022-07-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20220716
@@ -739,6 +739,31 @@ module Google
739
739
  end
740
740
  end
741
741
 
742
+ # A BigQuery output result.
743
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
744
+ include Google::Apis::Core::Hashable
745
+
746
+ # The ID of a BigQuery Dataset.
747
+ # Corresponds to the JSON property `datasetId`
748
+ # @return [String]
749
+ attr_accessor :dataset_id
750
+
751
+ # The ID of a BigQuery Table.
752
+ # Corresponds to the JSON property `tableId`
753
+ # @return [String]
754
+ attr_accessor :table_id
755
+
756
+ def initialize(**args)
757
+ update!(**args)
758
+ end
759
+
760
+ # Update properties of this object
761
+ def update!(**args)
762
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
763
+ @table_id = args[:table_id] if args.key?(:table_id)
764
+ end
765
+ end
766
+
742
767
  # Metadata associated with a create operation.
743
768
  class GoogleCloudRetailV2alphaCreateModelMetadata
744
769
  include Google::Apis::Core::Hashable
@@ -823,6 +848,11 @@ module Google
823
848
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig]
824
849
  attr_accessor :errors_config
825
850
 
851
+ # Output result.
852
+ # Corresponds to the JSON property `outputResult`
853
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult]
854
+ attr_accessor :output_result
855
+
826
856
  def initialize(**args)
827
857
  update!(**args)
828
858
  end
@@ -831,6 +861,7 @@ module Google
831
861
  def update!(**args)
832
862
  @error_samples = args[:error_samples] if args.key?(:error_samples)
833
863
  @errors_config = args[:errors_config] if args.key?(:errors_config)
864
+ @output_result = args[:output_result] if args.key?(:output_result)
834
865
  end
835
866
  end
836
867
 
@@ -850,6 +881,11 @@ module Google
850
881
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig]
851
882
  attr_accessor :errors_config
852
883
 
884
+ # Output result.
885
+ # Corresponds to the JSON property `outputResult`
886
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult]
887
+ attr_accessor :output_result
888
+
853
889
  def initialize(**args)
854
890
  update!(**args)
855
891
  end
@@ -858,6 +894,7 @@ module Google
858
894
  def update!(**args)
859
895
  @error_samples = args[:error_samples] if args.key?(:error_samples)
860
896
  @errors_config = args[:errors_config] if args.key?(:errors_config)
897
+ @output_result = args[:output_result] if args.key?(:output_result)
861
898
  end
862
899
  end
863
900
 
@@ -1087,6 +1124,12 @@ module Google
1087
1124
  # @return [String]
1088
1125
  attr_accessor :periodic_tuning_state
1089
1126
 
1127
+ # Output only. The list of valid serving configs associated with the
1128
+ # PageOptimizationConfig.
1129
+ # Corresponds to the JSON property `servingConfigLists`
1130
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList>]
1131
+ attr_accessor :serving_config_lists
1132
+
1090
1133
  # Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.
1091
1134
  # Corresponds to the JSON property `servingState`
1092
1135
  # @return [String]
@@ -1138,6 +1181,7 @@ module Google
1138
1181
  @optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
1139
1182
  @page_optimization_config = args[:page_optimization_config] if args.key?(:page_optimization_config)
1140
1183
  @periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
1184
+ @serving_config_lists = args[:serving_config_lists] if args.key?(:serving_config_lists)
1141
1185
  @serving_state = args[:serving_state] if args.key?(:serving_state)
1142
1186
  @training_state = args[:training_state] if args.key?(:training_state)
1143
1187
  @tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
@@ -1243,6 +1287,46 @@ module Google
1243
1287
  end
1244
1288
  end
1245
1289
 
1290
+ # Represents an ordered combination of valid serving configs, which / may be
1291
+ # used for PAGE_OPTIMIZATION recommendations.
1292
+ class GoogleCloudRetailV2alphaModelServingConfigList
1293
+ include Google::Apis::Core::Hashable
1294
+
1295
+ # Optional. A set of valid serving configs that may be used for
1296
+ # PAGE_OPTIMIZATION.
1297
+ # Corresponds to the JSON property `servingConfigIds`
1298
+ # @return [Array<String>]
1299
+ attr_accessor :serving_config_ids
1300
+
1301
+ def initialize(**args)
1302
+ update!(**args)
1303
+ end
1304
+
1305
+ # Update properties of this object
1306
+ def update!(**args)
1307
+ @serving_config_ids = args[:serving_config_ids] if args.key?(:serving_config_ids)
1308
+ end
1309
+ end
1310
+
1311
+ # Output result.
1312
+ class GoogleCloudRetailV2alphaOutputResult
1313
+ include Google::Apis::Core::Hashable
1314
+
1315
+ # Export result in BigQuery.
1316
+ # Corresponds to the JSON property `bigqueryResult`
1317
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaBigQueryOutputResult>]
1318
+ attr_accessor :bigquery_result
1319
+
1320
+ def initialize(**args)
1321
+ update!(**args)
1322
+ end
1323
+
1324
+ # Update properties of this object
1325
+ def update!(**args)
1326
+ @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
1327
+ end
1328
+ end
1329
+
1246
1330
  # Metadata related to the progress of the Purge operation. This will be returned
1247
1331
  # by the google.longrunning.Operation.metadata field.
1248
1332
  class GoogleCloudRetailV2alphaPurgeMetadata
@@ -1808,6 +1892,31 @@ module Google
1808
1892
  end
1809
1893
  end
1810
1894
 
1895
+ # A BigQuery output result.
1896
+ class GoogleCloudRetailV2betaBigQueryOutputResult
1897
+ include Google::Apis::Core::Hashable
1898
+
1899
+ # The ID of a BigQuery Dataset.
1900
+ # Corresponds to the JSON property `datasetId`
1901
+ # @return [String]
1902
+ attr_accessor :dataset_id
1903
+
1904
+ # The ID of a BigQuery Table.
1905
+ # Corresponds to the JSON property `tableId`
1906
+ # @return [String]
1907
+ attr_accessor :table_id
1908
+
1909
+ def initialize(**args)
1910
+ update!(**args)
1911
+ end
1912
+
1913
+ # Update properties of this object
1914
+ def update!(**args)
1915
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
1916
+ @table_id = args[:table_id] if args.key?(:table_id)
1917
+ end
1918
+ end
1919
+
1811
1920
  # BigQuery source import data from.
1812
1921
  class GoogleCloudRetailV2betaBigQuerySource
1813
1922
  include Google::Apis::Core::Hashable
@@ -2554,6 +2663,11 @@ module Google
2554
2663
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig]
2555
2664
  attr_accessor :errors_config
2556
2665
 
2666
+ # Output result.
2667
+ # Corresponds to the JSON property `outputResult`
2668
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult]
2669
+ attr_accessor :output_result
2670
+
2557
2671
  def initialize(**args)
2558
2672
  update!(**args)
2559
2673
  end
@@ -2562,6 +2676,7 @@ module Google
2562
2676
  def update!(**args)
2563
2677
  @error_samples = args[:error_samples] if args.key?(:error_samples)
2564
2678
  @errors_config = args[:errors_config] if args.key?(:errors_config)
2679
+ @output_result = args[:output_result] if args.key?(:output_result)
2565
2680
  end
2566
2681
  end
2567
2682
 
@@ -2581,6 +2696,11 @@ module Google
2581
2696
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig]
2582
2697
  attr_accessor :errors_config
2583
2698
 
2699
+ # Output result.
2700
+ # Corresponds to the JSON property `outputResult`
2701
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult]
2702
+ attr_accessor :output_result
2703
+
2584
2704
  def initialize(**args)
2585
2705
  update!(**args)
2586
2706
  end
@@ -2589,6 +2709,7 @@ module Google
2589
2709
  def update!(**args)
2590
2710
  @error_samples = args[:error_samples] if args.key?(:error_samples)
2591
2711
  @errors_config = args[:errors_config] if args.key?(:errors_config)
2712
+ @output_result = args[:output_result] if args.key?(:output_result)
2592
2713
  end
2593
2714
  end
2594
2715
 
@@ -3283,6 +3404,25 @@ module Google
3283
3404
  end
3284
3405
  end
3285
3406
 
3407
+ # Output result.
3408
+ class GoogleCloudRetailV2betaOutputResult
3409
+ include Google::Apis::Core::Hashable
3410
+
3411
+ # Export result in BigQuery.
3412
+ # Corresponds to the JSON property `bigqueryResult`
3413
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQueryOutputResult>]
3414
+ attr_accessor :bigquery_result
3415
+
3416
+ def initialize(**args)
3417
+ update!(**args)
3418
+ end
3419
+
3420
+ # Update properties of this object
3421
+ def update!(**args)
3422
+ @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
3423
+ end
3424
+ end
3425
+
3286
3426
  # Request message for Predict method.
3287
3427
  class GoogleCloudRetailV2betaPredictRequest
3288
3428
  include Google::Apis::Core::Hashable
@@ -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.48.0"
19
+ GEM_VERSION = "0.49.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
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class GoogleCloudRetailV2alphaCreateModelMetadata
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -292,6 +298,18 @@ module Google
292
298
  include Google::Apis::Core::JsonObjectSupport
293
299
  end
294
300
 
301
+ class GoogleCloudRetailV2alphaModelServingConfigList
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudRetailV2alphaOutputResult
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
295
313
  class GoogleCloudRetailV2alphaPurgeMetadata
296
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
315
 
@@ -442,6 +460,12 @@ module Google
442
460
  include Google::Apis::Core::JsonObjectSupport
443
461
  end
444
462
 
463
+ class GoogleCloudRetailV2betaBigQueryOutputResult
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
445
469
  class GoogleCloudRetailV2betaBigQuerySource
446
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
471
 
@@ -676,6 +700,12 @@ module Google
676
700
  include Google::Apis::Core::JsonObjectSupport
677
701
  end
678
702
 
703
+ class GoogleCloudRetailV2betaOutputResult
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
679
709
  class GoogleCloudRetailV2betaPredictRequest
680
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
681
711
 
@@ -1308,6 +1338,14 @@ module Google
1308
1338
  end
1309
1339
  end
1310
1340
 
1341
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
1342
+ # @private
1343
+ class Representation < Google::Apis::Core::JsonRepresentation
1344
+ property :dataset_id, as: 'datasetId'
1345
+ property :table_id, as: 'tableId'
1346
+ end
1347
+ end
1348
+
1311
1349
  class GoogleCloudRetailV2alphaCreateModelMetadata
1312
1350
  # @private
1313
1351
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1337,6 +1375,8 @@ module Google
1337
1375
 
1338
1376
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
1339
1377
 
1378
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult::Representation
1379
+
1340
1380
  end
1341
1381
  end
1342
1382
 
@@ -1347,6 +1387,8 @@ module Google
1347
1387
 
1348
1388
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
1349
1389
 
1390
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult::Representation
1391
+
1350
1392
  end
1351
1393
  end
1352
1394
 
@@ -1412,6 +1454,8 @@ module Google
1412
1454
  property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
1413
1455
 
1414
1456
  property :periodic_tuning_state, as: 'periodicTuningState'
1457
+ collection :serving_config_lists, as: 'servingConfigLists', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList::Representation
1458
+
1415
1459
  property :serving_state, as: 'servingState'
1416
1460
  property :training_state, as: 'trainingState'
1417
1461
  property :tuning_operation, as: 'tuningOperation'
@@ -1448,6 +1492,21 @@ module Google
1448
1492
  end
1449
1493
  end
1450
1494
 
1495
+ class GoogleCloudRetailV2alphaModelServingConfigList
1496
+ # @private
1497
+ class Representation < Google::Apis::Core::JsonRepresentation
1498
+ collection :serving_config_ids, as: 'servingConfigIds'
1499
+ end
1500
+ end
1501
+
1502
+ class GoogleCloudRetailV2alphaOutputResult
1503
+ # @private
1504
+ class Representation < Google::Apis::Core::JsonRepresentation
1505
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaBigQueryOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaBigQueryOutputResult::Representation
1506
+
1507
+ end
1508
+ end
1509
+
1451
1510
  class GoogleCloudRetailV2alphaPurgeMetadata
1452
1511
  # @private
1453
1512
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1627,6 +1686,14 @@ module Google
1627
1686
  end
1628
1687
  end
1629
1688
 
1689
+ class GoogleCloudRetailV2betaBigQueryOutputResult
1690
+ # @private
1691
+ class Representation < Google::Apis::Core::JsonRepresentation
1692
+ property :dataset_id, as: 'datasetId'
1693
+ property :table_id, as: 'tableId'
1694
+ end
1695
+ end
1696
+
1630
1697
  class GoogleCloudRetailV2betaBigQuerySource
1631
1698
  # @private
1632
1699
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1809,6 +1876,8 @@ module Google
1809
1876
 
1810
1877
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig::Representation
1811
1878
 
1879
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult::Representation
1880
+
1812
1881
  end
1813
1882
  end
1814
1883
 
@@ -1819,6 +1888,8 @@ module Google
1819
1888
 
1820
1889
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig::Representation
1821
1890
 
1891
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult::Representation
1892
+
1822
1893
  end
1823
1894
  end
1824
1895
 
@@ -2015,6 +2086,14 @@ module Google
2015
2086
  end
2016
2087
  end
2017
2088
 
2089
+ class GoogleCloudRetailV2betaOutputResult
2090
+ # @private
2091
+ class Representation < Google::Apis::Core::JsonRepresentation
2092
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQueryOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQueryOutputResult::Representation
2093
+
2094
+ end
2095
+ end
2096
+
2018
2097
  class GoogleCloudRetailV2betaPredictRequest
2019
2098
  # @private
2020
2099
  class Representation < Google::Apis::Core::JsonRepresentation
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.48.0
4
+ version: 0.49.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_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.49.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: []