google-apis-retail_v2alpha 0.92.0 → 0.94.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: 46555d9c3925ce385c8c0e219f0e9d6d95d4c9d414041b46b8932c832cfbd892
4
- data.tar.gz: 870edb9419f1d567857fbd4fd91b31d10ca1a6d4acc650f5b9f3005ab48eaf36
3
+ metadata.gz: 7dd49f5603cb2b82f3eb980d6ef3e7ced3d3e62c5b70b164b33f275deffa2c74
4
+ data.tar.gz: dce5e3f86f9a234f52d3305e1cb6752086bdcdf18edc289924ed62dc1b4397fd
5
5
  SHA512:
6
- metadata.gz: 71e65b2227e5e3d0500d69393ae70560577410ceea4de7897a4f96ac6757adc1623d101eeb113c9c965f82a11e61e5a55beef376c1117f524ec0bc3126dc6759
7
- data.tar.gz: 662974493814bf52ba311d64e250d4976966385fbfedb97357e2600a33235023e7c4d48166e5aa7218b9b98d67f194ae9d86583713f10733d38ded7d5aa12bbc
6
+ metadata.gz: 4dc61334bd1216fc830073569aa181bfb574a8ebfa2f67f2542e5e2db40ec82dba63cb290ff56b6c093e24b2815fdd8a97cd20b2a5145eece88e55fddbf869f9
7
+ data.tar.gz: 3b709183505792ab071ce3bdaf00511a9544eab808559a5c1e66c8aade051f7138df8f39e7ecede1f4fc82f67302a486af8fe579198fc2a5b5311faa77213423
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.94.0 (2024-02-11)
4
+
5
+ * Regenerated from discovery document revision 20240205
6
+
7
+ ### v0.93.0 (2024-02-04)
8
+
9
+ * Regenerated from discovery document revision 20240129
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.92.0 (2024-01-22)
4
13
 
5
14
  * Regenerated from discovery document revision 20240118
@@ -339,6 +339,31 @@ module Google
339
339
  end
340
340
  end
341
341
 
342
+ # A BigQuery output result.
343
+ class GoogleCloudRetailV2BigQueryOutputResult
344
+ include Google::Apis::Core::Hashable
345
+
346
+ # The ID of a BigQuery Dataset.
347
+ # Corresponds to the JSON property `datasetId`
348
+ # @return [String]
349
+ attr_accessor :dataset_id
350
+
351
+ # The ID of a BigQuery Table.
352
+ # Corresponds to the JSON property `tableId`
353
+ # @return [String]
354
+ attr_accessor :table_id
355
+
356
+ def initialize(**args)
357
+ update!(**args)
358
+ end
359
+
360
+ # Update properties of this object
361
+ def update!(**args)
362
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
363
+ @table_id = args[:table_id] if args.key?(:table_id)
364
+ end
365
+ end
366
+
342
367
  # Metadata associated with a create operation.
343
368
  class GoogleCloudRetailV2CreateModelMetadata
344
369
  include Google::Apis::Core::Hashable
@@ -360,6 +385,80 @@ module Google
360
385
  end
361
386
  end
362
387
 
388
+ # Response of the ExportAnalyticsMetricsRequest. If the long running operation
389
+ # was successful, then this message is returned by the google.longrunning.
390
+ # Operations.response field if the operation was successful.
391
+ class GoogleCloudRetailV2ExportAnalyticsMetricsResponse
392
+ include Google::Apis::Core::Hashable
393
+
394
+ # A sample of errors encountered while processing the request.
395
+ # Corresponds to the JSON property `errorSamples`
396
+ # @return [Array<Google::Apis::RetailV2alpha::GoogleRpcStatus>]
397
+ attr_accessor :error_samples
398
+
399
+ # Configuration of destination for Export related errors.
400
+ # Corresponds to the JSON property `errorsConfig`
401
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2ExportErrorsConfig]
402
+ attr_accessor :errors_config
403
+
404
+ # Output result that stores the information about where the exported data is
405
+ # stored.
406
+ # Corresponds to the JSON property `outputResult`
407
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2OutputResult]
408
+ attr_accessor :output_result
409
+
410
+ def initialize(**args)
411
+ update!(**args)
412
+ end
413
+
414
+ # Update properties of this object
415
+ def update!(**args)
416
+ @error_samples = args[:error_samples] if args.key?(:error_samples)
417
+ @errors_config = args[:errors_config] if args.key?(:errors_config)
418
+ @output_result = args[:output_result] if args.key?(:output_result)
419
+ end
420
+ end
421
+
422
+ # Configuration of destination for Export related errors.
423
+ class GoogleCloudRetailV2ExportErrorsConfig
424
+ include Google::Apis::Core::Hashable
425
+
426
+ # Google Cloud Storage path for import errors. This must be an empty, existing
427
+ # Cloud Storage bucket. Export errors will be written to a file in this bucket,
428
+ # one per line, as a JSON-encoded `google.rpc.Status` message.
429
+ # Corresponds to the JSON property `gcsPrefix`
430
+ # @return [String]
431
+ attr_accessor :gcs_prefix
432
+
433
+ def initialize(**args)
434
+ update!(**args)
435
+ end
436
+
437
+ # Update properties of this object
438
+ def update!(**args)
439
+ @gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
440
+ end
441
+ end
442
+
443
+ # A Gcs output result.
444
+ class GoogleCloudRetailV2GcsOutputResult
445
+ include Google::Apis::Core::Hashable
446
+
447
+ # The uri of Gcs output
448
+ # Corresponds to the JSON property `outputUri`
449
+ # @return [String]
450
+ attr_accessor :output_uri
451
+
452
+ def initialize(**args)
453
+ update!(**args)
454
+ end
455
+
456
+ # Update properties of this object
457
+ def update!(**args)
458
+ @output_uri = args[:output_uri] if args.key?(:output_uri)
459
+ end
460
+ end
461
+
363
462
  # Response of the ImportCompletionDataRequest. If the long running operation is
364
463
  # done, this message is returned by the google.longrunning.Operations.response
365
464
  # field if the operation is successful.
@@ -723,6 +822,32 @@ module Google
723
822
  end
724
823
  end
725
824
 
825
+ # Output result that stores the information about where the exported data is
826
+ # stored.
827
+ class GoogleCloudRetailV2OutputResult
828
+ include Google::Apis::Core::Hashable
829
+
830
+ # The BigQuery location where the result is stored.
831
+ # Corresponds to the JSON property `bigqueryResult`
832
+ # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2BigQueryOutputResult>]
833
+ attr_accessor :bigquery_result
834
+
835
+ # The Google Cloud Storage location where the result is stored.
836
+ # Corresponds to the JSON property `gcsResult`
837
+ # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2GcsOutputResult>]
838
+ attr_accessor :gcs_result
839
+
840
+ def initialize(**args)
841
+ update!(**args)
842
+ end
843
+
844
+ # Update properties of this object
845
+ def update!(**args)
846
+ @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
847
+ @gcs_result = args[:gcs_result] if args.key?(:gcs_result)
848
+ end
849
+ end
850
+
726
851
  # Metadata related to the progress of the Purge operation. This will be returned
727
852
  # by the google.longrunning.Operation.metadata field.
728
853
  class GoogleCloudRetailV2PurgeMetadata
@@ -1626,6 +1751,14 @@ module Google
1626
1751
  # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues>]
1627
1752
  attr_accessor :ignored_facet_values
1628
1753
 
1754
+ # The current facet key (i.e. attribute config) maps into the merged_facet_key.
1755
+ # A facet key can have at most one child. The current facet key and the merged
1756
+ # facet key need both to be textual custom attributes or both numerical custom
1757
+ # attributes (same type).
1758
+ # Corresponds to the JSON property `mergedFacet`
1759
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet]
1760
+ attr_accessor :merged_facet
1761
+
1629
1762
  # Each instance replaces a list of facet values by a merged facet value. If a
1630
1763
  # facet value is not in any list, then it will stay the same. To avoid conflicts,
1631
1764
  # only paths of length 1 are accepted. In other words, if "dark_blue" merged
@@ -1657,6 +1790,7 @@ module Google
1657
1790
  def update!(**args)
1658
1791
  @facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
1659
1792
  @ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
1793
+ @merged_facet = args[:merged_facet] if args.key?(:merged_facet)
1660
1794
  @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
1661
1795
  @rerank_config = args[:rerank_config] if args.key?(:rerank_config)
1662
1796
  end
@@ -1701,6 +1835,41 @@ module Google
1701
1835
  end
1702
1836
  end
1703
1837
 
1838
+ # The current facet key (i.e. attribute config) maps into the merged_facet_key.
1839
+ # A facet key can have at most one child. The current facet key and the merged
1840
+ # facet key need both to be textual custom attributes or both numerical custom
1841
+ # attributes (same type).
1842
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet
1843
+ include Google::Apis::Core::Hashable
1844
+
1845
+ # The merged facet key should be a valid facet key that is different than the
1846
+ # facet key of the current catalog attribute. We refer this is merged facet key
1847
+ # as the child of the current catalog attribute. This merged facet key can't be
1848
+ # a parent of another facet key (i.e. no directed path of length 2). This merged
1849
+ # facet key needs to be either a textual custom attribute or a numerical custom
1850
+ # attribute.
1851
+ # Corresponds to the JSON property `mergedFacetKey`
1852
+ # @return [String]
1853
+ attr_accessor :merged_facet_key
1854
+
1855
+ # Each instance is a list of facet values that map into the same (possibly
1856
+ # different) merged facet value. For the current attribute config, each facet
1857
+ # value should map to at most one merged facet value.
1858
+ # Corresponds to the JSON property `mergedFacetValues`
1859
+ # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue>]
1860
+ attr_accessor :merged_facet_values
1861
+
1862
+ def initialize(**args)
1863
+ update!(**args)
1864
+ end
1865
+
1866
+ # Update properties of this object
1867
+ def update!(**args)
1868
+ @merged_facet_key = args[:merged_facet_key] if args.key?(:merged_facet_key)
1869
+ @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
1870
+ end
1871
+ end
1872
+
1704
1873
  # Replaces a set of textual facet values by the same (possibly different) merged
1705
1874
  # facet value. Each facet value should appear at most once as a value per
1706
1875
  # CatalogAttribute. This feature is available only for textual custom attributes.
@@ -2993,7 +3162,8 @@ module Google
2993
3162
  alias_method :skip_default_branch_protection?, :skip_default_branch_protection
2994
3163
 
2995
3164
  # Indicates which fields in the provided imported `products` to update. If not
2996
- # set, all fields are updated.
3165
+ # set, all fields are updated. If provided, only the existing product fields are
3166
+ # updated. Missing products will not be created.
2997
3167
  # Corresponds to the JSON property `updateMask`
2998
3168
  # @return [String]
2999
3169
  attr_accessor :update_mask
@@ -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.92.0"
19
+ GEM_VERSION = "0.94.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240118"
25
+ REVISION = "20240205"
26
26
  end
27
27
  end
28
28
  end
@@ -88,12 +88,36 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class GoogleCloudRetailV2BigQueryOutputResult
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class GoogleCloudRetailV2CreateModelMetadata
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
94
100
  include Google::Apis::Core::JsonObjectSupport
95
101
  end
96
102
 
103
+ class GoogleCloudRetailV2ExportAnalyticsMetricsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudRetailV2ExportErrorsConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudRetailV2GcsOutputResult
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
97
121
  class GoogleCloudRetailV2ImportCompletionDataResponse
98
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
123
 
@@ -148,6 +172,12 @@ module Google
148
172
  include Google::Apis::Core::JsonObjectSupport
149
173
  end
150
174
 
175
+ class GoogleCloudRetailV2OutputResult
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
151
181
  class GoogleCloudRetailV2PurgeMetadata
152
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
183
 
@@ -352,6 +382,12 @@ module Google
352
382
  include Google::Apis::Core::JsonObjectSupport
353
383
  end
354
384
 
385
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
355
391
  class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue
356
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
393
 
@@ -1573,6 +1609,14 @@ module Google
1573
1609
  end
1574
1610
  end
1575
1611
 
1612
+ class GoogleCloudRetailV2BigQueryOutputResult
1613
+ # @private
1614
+ class Representation < Google::Apis::Core::JsonRepresentation
1615
+ property :dataset_id, as: 'datasetId'
1616
+ property :table_id, as: 'tableId'
1617
+ end
1618
+ end
1619
+
1576
1620
  class GoogleCloudRetailV2CreateModelMetadata
1577
1621
  # @private
1578
1622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1580,6 +1624,32 @@ module Google
1580
1624
  end
1581
1625
  end
1582
1626
 
1627
+ class GoogleCloudRetailV2ExportAnalyticsMetricsResponse
1628
+ # @private
1629
+ class Representation < Google::Apis::Core::JsonRepresentation
1630
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
1631
+
1632
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ExportErrorsConfig::Representation
1633
+
1634
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2OutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2OutputResult::Representation
1635
+
1636
+ end
1637
+ end
1638
+
1639
+ class GoogleCloudRetailV2ExportErrorsConfig
1640
+ # @private
1641
+ class Representation < Google::Apis::Core::JsonRepresentation
1642
+ property :gcs_prefix, as: 'gcsPrefix'
1643
+ end
1644
+ end
1645
+
1646
+ class GoogleCloudRetailV2GcsOutputResult
1647
+ # @private
1648
+ class Representation < Google::Apis::Core::JsonRepresentation
1649
+ property :output_uri, as: 'outputUri'
1650
+ end
1651
+ end
1652
+
1583
1653
  class GoogleCloudRetailV2ImportCompletionDataResponse
1584
1654
  # @private
1585
1655
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1674,6 +1744,16 @@ module Google
1674
1744
  end
1675
1745
  end
1676
1746
 
1747
+ class GoogleCloudRetailV2OutputResult
1748
+ # @private
1749
+ class Representation < Google::Apis::Core::JsonRepresentation
1750
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2BigQueryOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2BigQueryOutputResult::Representation
1751
+
1752
+ collection :gcs_result, as: 'gcsResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2GcsOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2GcsOutputResult::Representation
1753
+
1754
+ end
1755
+ end
1756
+
1677
1757
  class GoogleCloudRetailV2PurgeMetadata
1678
1758
  # @private
1679
1759
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1931,6 +2011,8 @@ module Google
1931
2011
 
1932
2012
  collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues::Representation
1933
2013
 
2014
+ property :merged_facet, as: 'mergedFacet', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet::Representation
2015
+
1934
2016
  collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue::Representation
1935
2017
 
1936
2018
  property :rerank_config, as: 'rerankConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigRerankConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigRerankConfig::Representation
@@ -1947,6 +2029,15 @@ module Google
1947
2029
  end
1948
2030
  end
1949
2031
 
2032
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet
2033
+ # @private
2034
+ class Representation < Google::Apis::Core::JsonRepresentation
2035
+ property :merged_facet_key, as: 'mergedFacetKey'
2036
+ collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue::Representation
2037
+
2038
+ end
2039
+ end
2040
+
1950
2041
  class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue
1951
2042
  # @private
1952
2043
  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.92.0
4
+ version: 0.94.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: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-11 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.92.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.94.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: []