google-apis-retail_v2beta 0.89.0 → 0.91.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: 42180bdb12b8db55ddd6a7b1448d9f9e85262bf60efea9db77fb7bfc116453f1
4
- data.tar.gz: 1c6ed7f9a3ad401dea2beca1e389e828bb7b2b24722cc2e192516e985e59b37d
3
+ metadata.gz: d20c11a2a7197e87360c1762e34eea5ec1218c8c844bc44aa0a5a3e5b2f0eb8d
4
+ data.tar.gz: de025aaf0aec97aad8033e9b6cb4c5b952bbf29759ca53caca5b44a249207aa4
5
5
  SHA512:
6
- metadata.gz: ea9722b184c76ec2ce747acad0249a7ec9681f90716e7c3e0635b7ada9eda8646186e0bf2a404266dbeecce18ff1cabc65b7602aa83beddfb04bd4f4611445f2
7
- data.tar.gz: bf81c2f5c6083069c34413297befb0fd97c57e0a4184cc142855b03154462fcefdb99d01f22eed2be6e9223a96604db886d45c5ed8560eb765f8c1d5958fef69
6
+ metadata.gz: 69500bc0f1a554ab7522e323643c67c97c520d82b470185190e239eb68e45a0de1be1c9ca908c7bee7bd2ec2c6021e0072547611c3a93c9ac847a98c5910e7a7
7
+ data.tar.gz: 6b69b62587295dc16db24b07d0e9da8efefa703bc1081c9f4b5379898eff78a8f0da3a2003bdf02bd7a35d57c969754da99e45f73d0aa1c4b5d22b6e87c8b24f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.91.0 (2024-02-11)
4
+
5
+ * Regenerated from discovery document revision 20240205
6
+
7
+ ### v0.90.0 (2024-02-04)
8
+
9
+ * Regenerated from discovery document revision 20240129
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.89.0 (2024-01-23)
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::RetailV2beta::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::RetailV2beta::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::RetailV2beta::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::RetailV2beta::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::RetailV2beta::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
@@ -2881,6 +3006,14 @@ module Google
2881
3006
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues>]
2882
3007
  attr_accessor :ignored_facet_values
2883
3008
 
3009
+ # The current facet key (i.e. attribute config) maps into the merged_facet_key.
3010
+ # A facet key can have at most one child. The current facet key and the merged
3011
+ # facet key need both to be textual custom attributes or both numerical custom
3012
+ # attributes (same type).
3013
+ # Corresponds to the JSON property `mergedFacet`
3014
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet]
3015
+ attr_accessor :merged_facet
3016
+
2884
3017
  # Each instance replaces a list of facet values by a merged facet value. If a
2885
3018
  # facet value is not in any list, then it will stay the same. To avoid conflicts,
2886
3019
  # only paths of length 1 are accepted. In other words, if "dark_blue" merged
@@ -2912,6 +3045,7 @@ module Google
2912
3045
  def update!(**args)
2913
3046
  @facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
2914
3047
  @ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
3048
+ @merged_facet = args[:merged_facet] if args.key?(:merged_facet)
2915
3049
  @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
2916
3050
  @rerank_config = args[:rerank_config] if args.key?(:rerank_config)
2917
3051
  end
@@ -2956,6 +3090,41 @@ module Google
2956
3090
  end
2957
3091
  end
2958
3092
 
3093
+ # The current facet key (i.e. attribute config) maps into the merged_facet_key.
3094
+ # A facet key can have at most one child. The current facet key and the merged
3095
+ # facet key need both to be textual custom attributes or both numerical custom
3096
+ # attributes (same type).
3097
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet
3098
+ include Google::Apis::Core::Hashable
3099
+
3100
+ # The merged facet key should be a valid facet key that is different than the
3101
+ # facet key of the current catalog attribute. We refer this is merged facet key
3102
+ # as the child of the current catalog attribute. This merged facet key can't be
3103
+ # a parent of another facet key (i.e. no directed path of length 2). This merged
3104
+ # facet key needs to be either a textual custom attribute or a numerical custom
3105
+ # attribute.
3106
+ # Corresponds to the JSON property `mergedFacetKey`
3107
+ # @return [String]
3108
+ attr_accessor :merged_facet_key
3109
+
3110
+ # Each instance is a list of facet values that map into the same (possibly
3111
+ # different) merged facet value. For the current attribute config, each facet
3112
+ # value should map to at most one merged facet value.
3113
+ # Corresponds to the JSON property `mergedFacetValues`
3114
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue>]
3115
+ attr_accessor :merged_facet_values
3116
+
3117
+ def initialize(**args)
3118
+ update!(**args)
3119
+ end
3120
+
3121
+ # Update properties of this object
3122
+ def update!(**args)
3123
+ @merged_facet_key = args[:merged_facet_key] if args.key?(:merged_facet_key)
3124
+ @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
3125
+ end
3126
+ end
3127
+
2959
3128
  # Replaces a set of textual facet values by the same (possibly different) merged
2960
3129
  # facet value. Each facet value should appear at most once as a value per
2961
3130
  # CatalogAttribute. This feature is available only for textual custom attributes.
@@ -4138,7 +4307,8 @@ module Google
4138
4307
  attr_accessor :request_id
4139
4308
 
4140
4309
  # Indicates which fields in the provided imported `products` to update. If not
4141
- # set, all fields are updated.
4310
+ # set, all fields are updated. If provided, only the existing product fields are
4311
+ # updated. Missing products will not be created.
4142
4312
  # Corresponds to the JSON property `updateMask`
4143
4313
  # @return [String]
4144
4314
  attr_accessor :update_mask
@@ -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.89.0"
19
+ GEM_VERSION = "0.91.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
 
@@ -622,6 +652,12 @@ module Google
622
652
  include Google::Apis::Core::JsonObjectSupport
623
653
  end
624
654
 
655
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
625
661
  class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue
626
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
663
 
@@ -1519,6 +1555,14 @@ module Google
1519
1555
  end
1520
1556
  end
1521
1557
 
1558
+ class GoogleCloudRetailV2BigQueryOutputResult
1559
+ # @private
1560
+ class Representation < Google::Apis::Core::JsonRepresentation
1561
+ property :dataset_id, as: 'datasetId'
1562
+ property :table_id, as: 'tableId'
1563
+ end
1564
+ end
1565
+
1522
1566
  class GoogleCloudRetailV2CreateModelMetadata
1523
1567
  # @private
1524
1568
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1526,6 +1570,32 @@ module Google
1526
1570
  end
1527
1571
  end
1528
1572
 
1573
+ class GoogleCloudRetailV2ExportAnalyticsMetricsResponse
1574
+ # @private
1575
+ class Representation < Google::Apis::Core::JsonRepresentation
1576
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
1577
+
1578
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2ExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2ExportErrorsConfig::Representation
1579
+
1580
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2OutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2OutputResult::Representation
1581
+
1582
+ end
1583
+ end
1584
+
1585
+ class GoogleCloudRetailV2ExportErrorsConfig
1586
+ # @private
1587
+ class Representation < Google::Apis::Core::JsonRepresentation
1588
+ property :gcs_prefix, as: 'gcsPrefix'
1589
+ end
1590
+ end
1591
+
1592
+ class GoogleCloudRetailV2GcsOutputResult
1593
+ # @private
1594
+ class Representation < Google::Apis::Core::JsonRepresentation
1595
+ property :output_uri, as: 'outputUri'
1596
+ end
1597
+ end
1598
+
1529
1599
  class GoogleCloudRetailV2ImportCompletionDataResponse
1530
1600
  # @private
1531
1601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1620,6 +1690,16 @@ module Google
1620
1690
  end
1621
1691
  end
1622
1692
 
1693
+ class GoogleCloudRetailV2OutputResult
1694
+ # @private
1695
+ class Representation < Google::Apis::Core::JsonRepresentation
1696
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2BigQueryOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2BigQueryOutputResult::Representation
1697
+
1698
+ collection :gcs_result, as: 'gcsResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2GcsOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2GcsOutputResult::Representation
1699
+
1700
+ end
1701
+ end
1702
+
1623
1703
  class GoogleCloudRetailV2PurgeMetadata
1624
1704
  # @private
1625
1705
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2259,6 +2339,8 @@ module Google
2259
2339
 
2260
2340
  collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues::Representation
2261
2341
 
2342
+ property :merged_facet, as: 'mergedFacet', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet::Representation
2343
+
2262
2344
  collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue::Representation
2263
2345
 
2264
2346
  property :rerank_config, as: 'rerankConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig::Representation
@@ -2275,6 +2357,15 @@ module Google
2275
2357
  end
2276
2358
  end
2277
2359
 
2360
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet
2361
+ # @private
2362
+ class Representation < Google::Apis::Core::JsonRepresentation
2363
+ property :merged_facet_key, as: 'mergedFacetKey'
2364
+ collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue::Representation
2365
+
2366
+ end
2367
+ end
2368
+
2278
2369
  class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue
2279
2370
  # @private
2280
2371
  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.89.0
4
+ version: 0.91.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_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.89.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.91.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: []