google-apis-retail_v2 0.47.0 → 0.48.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: c09cea59f0e218ebdd11c839834e82295d3a45fd248a8babc8f75714cb705ac4
4
- data.tar.gz: a2a2fcaee18b8271e0f47474168a1992cc3056006f93cd7519614c14e23346d1
3
+ metadata.gz: 68adfb51d3ea366a8d6819e8038ffd3a3bd66141d1c7a24416d15bda3b5a5654
4
+ data.tar.gz: 4f2e5a1206ca69a01f954c12fb04cb02bb49211dd45acf1477d26121dea65a94
5
5
  SHA512:
6
- metadata.gz: 7ed356c9d8a968f2c609dd836d0540b2cca6dc1817a0a2394b138cde4ab3edece4b7fce3766fdb228a4e297b8c17143b47cebd73bc45a2b23e264140c928bd1c
7
- data.tar.gz: 05412fac6d26e5cff7450480c54d1b99e1e298de1e02f78d43e2cee1854678708746c292d00191a190cb17a93c9981806f8604447a87735a78f0b0416f73e2e9
6
+ metadata.gz: 3e6641d0fe66b67ccfc9aa086772d11f8698b46d393b5b38eed79e9f51d2db705b57228b9685070d795f6bb8878ddc510f232589b02a68bb1dd87fd4ae77e4e7
7
+ data.tar.gz: 5974cf3ba4623eaf226d097c1d4a1020c409245dceb1380a4322e76e65528bf7c3f6ba64f4506bae235fe55cba86d24e86924064a00e5cd6b50f1e23b4f2fe65
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.48.0 (2022-07-26)
4
+
5
+ * Regenerated from discovery document revision 20220722
6
+
3
7
  ### v0.47.0 (2022-07-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20220716
@@ -3867,6 +3867,31 @@ module Google
3867
3867
  end
3868
3868
  end
3869
3869
 
3870
+ # A BigQuery output result.
3871
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
3872
+ include Google::Apis::Core::Hashable
3873
+
3874
+ # The ID of a BigQuery Dataset.
3875
+ # Corresponds to the JSON property `datasetId`
3876
+ # @return [String]
3877
+ attr_accessor :dataset_id
3878
+
3879
+ # The ID of a BigQuery Table.
3880
+ # Corresponds to the JSON property `tableId`
3881
+ # @return [String]
3882
+ attr_accessor :table_id
3883
+
3884
+ def initialize(**args)
3885
+ update!(**args)
3886
+ end
3887
+
3888
+ # Update properties of this object
3889
+ def update!(**args)
3890
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
3891
+ @table_id = args[:table_id] if args.key?(:table_id)
3892
+ end
3893
+ end
3894
+
3870
3895
  # Metadata associated with a create operation.
3871
3896
  class GoogleCloudRetailV2alphaCreateModelMetadata
3872
3897
  include Google::Apis::Core::Hashable
@@ -3951,6 +3976,11 @@ module Google
3951
3976
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig]
3952
3977
  attr_accessor :errors_config
3953
3978
 
3979
+ # Output result.
3980
+ # Corresponds to the JSON property `outputResult`
3981
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult]
3982
+ attr_accessor :output_result
3983
+
3954
3984
  def initialize(**args)
3955
3985
  update!(**args)
3956
3986
  end
@@ -3959,6 +3989,7 @@ module Google
3959
3989
  def update!(**args)
3960
3990
  @error_samples = args[:error_samples] if args.key?(:error_samples)
3961
3991
  @errors_config = args[:errors_config] if args.key?(:errors_config)
3992
+ @output_result = args[:output_result] if args.key?(:output_result)
3962
3993
  end
3963
3994
  end
3964
3995
 
@@ -3978,6 +4009,11 @@ module Google
3978
4009
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig]
3979
4010
  attr_accessor :errors_config
3980
4011
 
4012
+ # Output result.
4013
+ # Corresponds to the JSON property `outputResult`
4014
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult]
4015
+ attr_accessor :output_result
4016
+
3981
4017
  def initialize(**args)
3982
4018
  update!(**args)
3983
4019
  end
@@ -3986,6 +4022,7 @@ module Google
3986
4022
  def update!(**args)
3987
4023
  @error_samples = args[:error_samples] if args.key?(:error_samples)
3988
4024
  @errors_config = args[:errors_config] if args.key?(:errors_config)
4025
+ @output_result = args[:output_result] if args.key?(:output_result)
3989
4026
  end
3990
4027
  end
3991
4028
 
@@ -4215,6 +4252,12 @@ module Google
4215
4252
  # @return [String]
4216
4253
  attr_accessor :periodic_tuning_state
4217
4254
 
4255
+ # Output only. The list of valid serving configs associated with the
4256
+ # PageOptimizationConfig.
4257
+ # Corresponds to the JSON property `servingConfigLists`
4258
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelServingConfigList>]
4259
+ attr_accessor :serving_config_lists
4260
+
4218
4261
  # Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.
4219
4262
  # Corresponds to the JSON property `servingState`
4220
4263
  # @return [String]
@@ -4266,6 +4309,7 @@ module Google
4266
4309
  @optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
4267
4310
  @page_optimization_config = args[:page_optimization_config] if args.key?(:page_optimization_config)
4268
4311
  @periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
4312
+ @serving_config_lists = args[:serving_config_lists] if args.key?(:serving_config_lists)
4269
4313
  @serving_state = args[:serving_state] if args.key?(:serving_state)
4270
4314
  @training_state = args[:training_state] if args.key?(:training_state)
4271
4315
  @tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
@@ -4371,6 +4415,46 @@ module Google
4371
4415
  end
4372
4416
  end
4373
4417
 
4418
+ # Represents an ordered combination of valid serving configs, which / may be
4419
+ # used for PAGE_OPTIMIZATION recommendations.
4420
+ class GoogleCloudRetailV2alphaModelServingConfigList
4421
+ include Google::Apis::Core::Hashable
4422
+
4423
+ # Optional. A set of valid serving configs that may be used for
4424
+ # PAGE_OPTIMIZATION.
4425
+ # Corresponds to the JSON property `servingConfigIds`
4426
+ # @return [Array<String>]
4427
+ attr_accessor :serving_config_ids
4428
+
4429
+ def initialize(**args)
4430
+ update!(**args)
4431
+ end
4432
+
4433
+ # Update properties of this object
4434
+ def update!(**args)
4435
+ @serving_config_ids = args[:serving_config_ids] if args.key?(:serving_config_ids)
4436
+ end
4437
+ end
4438
+
4439
+ # Output result.
4440
+ class GoogleCloudRetailV2alphaOutputResult
4441
+ include Google::Apis::Core::Hashable
4442
+
4443
+ # Export result in BigQuery.
4444
+ # Corresponds to the JSON property `bigqueryResult`
4445
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2alphaBigQueryOutputResult>]
4446
+ attr_accessor :bigquery_result
4447
+
4448
+ def initialize(**args)
4449
+ update!(**args)
4450
+ end
4451
+
4452
+ # Update properties of this object
4453
+ def update!(**args)
4454
+ @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
4455
+ end
4456
+ end
4457
+
4374
4458
  # Metadata related to the progress of the Purge operation. This will be returned
4375
4459
  # by the google.longrunning.Operation.metadata field.
4376
4460
  class GoogleCloudRetailV2alphaPurgeMetadata
@@ -4715,6 +4799,31 @@ module Google
4715
4799
  end
4716
4800
  end
4717
4801
 
4802
+ # A BigQuery output result.
4803
+ class GoogleCloudRetailV2betaBigQueryOutputResult
4804
+ include Google::Apis::Core::Hashable
4805
+
4806
+ # The ID of a BigQuery Dataset.
4807
+ # Corresponds to the JSON property `datasetId`
4808
+ # @return [String]
4809
+ attr_accessor :dataset_id
4810
+
4811
+ # The ID of a BigQuery Table.
4812
+ # Corresponds to the JSON property `tableId`
4813
+ # @return [String]
4814
+ attr_accessor :table_id
4815
+
4816
+ def initialize(**args)
4817
+ update!(**args)
4818
+ end
4819
+
4820
+ # Update properties of this object
4821
+ def update!(**args)
4822
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
4823
+ @table_id = args[:table_id] if args.key?(:table_id)
4824
+ end
4825
+ end
4826
+
4718
4827
  # Configuration of destination for Export related errors.
4719
4828
  class GoogleCloudRetailV2betaExportErrorsConfig
4720
4829
  include Google::Apis::Core::Hashable
@@ -4779,6 +4888,11 @@ module Google
4779
4888
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig]
4780
4889
  attr_accessor :errors_config
4781
4890
 
4891
+ # Output result.
4892
+ # Corresponds to the JSON property `outputResult`
4893
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult]
4894
+ attr_accessor :output_result
4895
+
4782
4896
  def initialize(**args)
4783
4897
  update!(**args)
4784
4898
  end
@@ -4787,6 +4901,7 @@ module Google
4787
4901
  def update!(**args)
4788
4902
  @error_samples = args[:error_samples] if args.key?(:error_samples)
4789
4903
  @errors_config = args[:errors_config] if args.key?(:errors_config)
4904
+ @output_result = args[:output_result] if args.key?(:output_result)
4790
4905
  end
4791
4906
  end
4792
4907
 
@@ -4806,6 +4921,11 @@ module Google
4806
4921
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig]
4807
4922
  attr_accessor :errors_config
4808
4923
 
4924
+ # Output result.
4925
+ # Corresponds to the JSON property `outputResult`
4926
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult]
4927
+ attr_accessor :output_result
4928
+
4809
4929
  def initialize(**args)
4810
4930
  update!(**args)
4811
4931
  end
@@ -4814,6 +4934,7 @@ module Google
4814
4934
  def update!(**args)
4815
4935
  @error_samples = args[:error_samples] if args.key?(:error_samples)
4816
4936
  @errors_config = args[:errors_config] if args.key?(:errors_config)
4937
+ @output_result = args[:output_result] if args.key?(:output_result)
4817
4938
  end
4818
4939
  end
4819
4940
 
@@ -4974,6 +5095,25 @@ module Google
4974
5095
  end
4975
5096
  end
4976
5097
 
5098
+ # Output result.
5099
+ class GoogleCloudRetailV2betaOutputResult
5100
+ include Google::Apis::Core::Hashable
5101
+
5102
+ # Export result in BigQuery.
5103
+ # Corresponds to the JSON property `bigqueryResult`
5104
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2betaBigQueryOutputResult>]
5105
+ attr_accessor :bigquery_result
5106
+
5107
+ def initialize(**args)
5108
+ update!(**args)
5109
+ end
5110
+
5111
+ # Update properties of this object
5112
+ def update!(**args)
5113
+ @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
5114
+ end
5115
+ end
5116
+
4977
5117
  # Metadata related to the progress of the Purge operation. This will be returned
4978
5118
  # by the google.longrunning.Operation.metadata field.
4979
5119
  class GoogleCloudRetailV2betaPurgeMetadata
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2
18
18
  # Version of the google-apis-retail_v2 gem
19
- GEM_VERSION = "0.47.0"
19
+ GEM_VERSION = "0.48.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
@@ -568,6 +568,12 @@ module Google
568
568
  include Google::Apis::Core::JsonObjectSupport
569
569
  end
570
570
 
571
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
571
577
  class GoogleCloudRetailV2alphaCreateModelMetadata
572
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
579
 
@@ -652,6 +658,18 @@ module Google
652
658
  include Google::Apis::Core::JsonObjectSupport
653
659
  end
654
660
 
661
+ class GoogleCloudRetailV2alphaModelServingConfigList
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class GoogleCloudRetailV2alphaOutputResult
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
655
673
  class GoogleCloudRetailV2alphaPurgeMetadata
656
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
657
675
 
@@ -766,6 +784,12 @@ module Google
766
784
  include Google::Apis::Core::JsonObjectSupport
767
785
  end
768
786
 
787
+ class GoogleCloudRetailV2betaBigQueryOutputResult
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
769
793
  class GoogleCloudRetailV2betaExportErrorsConfig
770
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
795
 
@@ -820,6 +844,12 @@ module Google
820
844
  include Google::Apis::Core::JsonObjectSupport
821
845
  end
822
846
 
847
+ class GoogleCloudRetailV2betaOutputResult
848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
849
+
850
+ include Google::Apis::Core::JsonObjectSupport
851
+ end
852
+
823
853
  class GoogleCloudRetailV2betaPurgeMetadata
824
854
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
855
 
@@ -1822,6 +1852,14 @@ module Google
1822
1852
  end
1823
1853
  end
1824
1854
 
1855
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
1856
+ # @private
1857
+ class Representation < Google::Apis::Core::JsonRepresentation
1858
+ property :dataset_id, as: 'datasetId'
1859
+ property :table_id, as: 'tableId'
1860
+ end
1861
+ end
1862
+
1825
1863
  class GoogleCloudRetailV2alphaCreateModelMetadata
1826
1864
  # @private
1827
1865
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1851,6 +1889,8 @@ module Google
1851
1889
 
1852
1890
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
1853
1891
 
1892
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult::Representation
1893
+
1854
1894
  end
1855
1895
  end
1856
1896
 
@@ -1861,6 +1901,8 @@ module Google
1861
1901
 
1862
1902
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
1863
1903
 
1904
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult::Representation
1905
+
1864
1906
  end
1865
1907
  end
1866
1908
 
@@ -1926,6 +1968,8 @@ module Google
1926
1968
  property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
1927
1969
 
1928
1970
  property :periodic_tuning_state, as: 'periodicTuningState'
1971
+ collection :serving_config_lists, as: 'servingConfigLists', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelServingConfigList, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelServingConfigList::Representation
1972
+
1929
1973
  property :serving_state, as: 'servingState'
1930
1974
  property :training_state, as: 'trainingState'
1931
1975
  property :tuning_operation, as: 'tuningOperation'
@@ -1962,6 +2006,21 @@ module Google
1962
2006
  end
1963
2007
  end
1964
2008
 
2009
+ class GoogleCloudRetailV2alphaModelServingConfigList
2010
+ # @private
2011
+ class Representation < Google::Apis::Core::JsonRepresentation
2012
+ collection :serving_config_ids, as: 'servingConfigIds'
2013
+ end
2014
+ end
2015
+
2016
+ class GoogleCloudRetailV2alphaOutputResult
2017
+ # @private
2018
+ class Representation < Google::Apis::Core::JsonRepresentation
2019
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaBigQueryOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaBigQueryOutputResult::Representation
2020
+
2021
+ end
2022
+ end
2023
+
1965
2024
  class GoogleCloudRetailV2alphaPurgeMetadata
1966
2025
  # @private
1967
2026
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2087,6 +2146,14 @@ module Google
2087
2146
  end
2088
2147
  end
2089
2148
 
2149
+ class GoogleCloudRetailV2betaBigQueryOutputResult
2150
+ # @private
2151
+ class Representation < Google::Apis::Core::JsonRepresentation
2152
+ property :dataset_id, as: 'datasetId'
2153
+ property :table_id, as: 'tableId'
2154
+ end
2155
+ end
2156
+
2090
2157
  class GoogleCloudRetailV2betaExportErrorsConfig
2091
2158
  # @private
2092
2159
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2109,6 +2176,8 @@ module Google
2109
2176
 
2110
2177
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig::Representation
2111
2178
 
2179
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult::Representation
2180
+
2112
2181
  end
2113
2182
  end
2114
2183
 
@@ -2119,6 +2188,8 @@ module Google
2119
2188
 
2120
2189
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig::Representation
2121
2190
 
2191
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult::Representation
2192
+
2122
2193
  end
2123
2194
  end
2124
2195
 
@@ -2171,6 +2242,14 @@ module Google
2171
2242
  end
2172
2243
  end
2173
2244
 
2245
+ class GoogleCloudRetailV2betaOutputResult
2246
+ # @private
2247
+ class Representation < Google::Apis::Core::JsonRepresentation
2248
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaBigQueryOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaBigQueryOutputResult::Representation
2249
+
2250
+ end
2251
+ end
2252
+
2174
2253
  class GoogleCloudRetailV2betaPurgeMetadata
2175
2254
  # @private
2176
2255
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.48.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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
63
63
  post_install_message:
64
64
  rdoc_options: []