google-apis-retail_v2beta 0.90.0 → 0.92.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: 4727b4e317bee8270f99d6328a70540bba14e1a52ecfb91bc5c0abe878af3fa6
4
- data.tar.gz: 8f1e76be367781c595c9a81fc85e4e958d48ccf0a8858f0b8bd663464c310953
3
+ metadata.gz: 5f989d7106f20371414f6ec8b008d07dbb8ebc8a3dcc36b34343d8f7c6e3c65e
4
+ data.tar.gz: d899fd2123f350af32fa810effb6921f5db8b73faa18533b022e6bd9ef9a9d07
5
5
  SHA512:
6
- metadata.gz: 35c0bf672a44a6ffb23a3d912152e7f7cc2a31f88d879316fbdfd3dba00bc988f71008a31147a32f8b2db2263d31b45bcd52ffa27c7ca606244e22ed1ca6af1e
7
- data.tar.gz: 01bf16ff49f36a81dccc8c18708e5b19b6a2168ec64164d66359f3d6887a102a1c9fd58fc2fd56165aa95f87d2f6c27e3675e2f72b8133420368ac3c36b7d1e5
6
+ metadata.gz: 953b22989edcce7e3624817fa393b72e8495cf77d6eece88c1d47667ad92c98f121fa8e6b72e6fe455c4a7e30fcaa3ec7e22ff8a9ff71448bbd8e68b88a59e7a
7
+ data.tar.gz: 23550ffa8434401befc3ae1bb2365bebc08e21fb5f07f86062c98cee800de4786fceb88df96e044c7391e62a77ed492c54c7d2c94a80d467381ec7dde49cee4c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.92.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240212
6
+
7
+ ### v0.91.0 (2024-02-11)
8
+
9
+ * Regenerated from discovery document revision 20240205
10
+
3
11
  ### v0.90.0 (2024-02-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20240129
data/OVERVIEW.md CHANGED
@@ -1,6 +1,6 @@
1
- # Simple REST client for version V2beta of the Retail API
1
+ # Simple REST client for version V2beta of the Vertex AI Search for Retail API
2
2
 
3
- This is a simple client library for version V2beta of the Retail API. It provides:
3
+ This is a simple client library for version V2beta of the Vertex AI Search for Retail API. It provides:
4
4
 
5
5
  * A client object that connects to the HTTP/JSON REST endpoint for the service.
6
6
  * Ruby objects for data structures related to the service.
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Retail service in particular.)
67
67
 
68
- For reference information on specific calls in the Retail API, see the {Google::Apis::RetailV2beta::CloudRetailService class reference docs}.
68
+ For reference information on specific calls in the Vertex AI Search for Retail API, see the {Google::Apis::RetailV2beta::CloudRetailService class reference docs}.
69
69
 
70
70
  ## Which client should I use?
71
71
 
@@ -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,107 @@ 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
+ # Metadata related to the progress of the Export operation. This is returned by
444
+ # the google.longrunning.Operation.metadata field.
445
+ class GoogleCloudRetailV2ExportMetadata
446
+ include Google::Apis::Core::Hashable
447
+
448
+ # Operation create time.
449
+ # Corresponds to the JSON property `createTime`
450
+ # @return [String]
451
+ attr_accessor :create_time
452
+
453
+ # Operation last update time. If the operation is done, this is also the finish
454
+ # time.
455
+ # Corresponds to the JSON property `updateTime`
456
+ # @return [String]
457
+ attr_accessor :update_time
458
+
459
+ def initialize(**args)
460
+ update!(**args)
461
+ end
462
+
463
+ # Update properties of this object
464
+ def update!(**args)
465
+ @create_time = args[:create_time] if args.key?(:create_time)
466
+ @update_time = args[:update_time] if args.key?(:update_time)
467
+ end
468
+ end
469
+
470
+ # A Gcs output result.
471
+ class GoogleCloudRetailV2GcsOutputResult
472
+ include Google::Apis::Core::Hashable
473
+
474
+ # The uri of Gcs output
475
+ # Corresponds to the JSON property `outputUri`
476
+ # @return [String]
477
+ attr_accessor :output_uri
478
+
479
+ def initialize(**args)
480
+ update!(**args)
481
+ end
482
+
483
+ # Update properties of this object
484
+ def update!(**args)
485
+ @output_uri = args[:output_uri] if args.key?(:output_uri)
486
+ end
487
+ end
488
+
363
489
  # Response of the ImportCompletionDataRequest. If the long running operation is
364
490
  # done, this message is returned by the google.longrunning.Operations.response
365
491
  # field if the operation is successful.
@@ -723,6 +849,32 @@ module Google
723
849
  end
724
850
  end
725
851
 
852
+ # Output result that stores the information about where the exported data is
853
+ # stored.
854
+ class GoogleCloudRetailV2OutputResult
855
+ include Google::Apis::Core::Hashable
856
+
857
+ # The BigQuery location where the result is stored.
858
+ # Corresponds to the JSON property `bigqueryResult`
859
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2BigQueryOutputResult>]
860
+ attr_accessor :bigquery_result
861
+
862
+ # The Google Cloud Storage location where the result is stored.
863
+ # Corresponds to the JSON property `gcsResult`
864
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2GcsOutputResult>]
865
+ attr_accessor :gcs_result
866
+
867
+ def initialize(**args)
868
+ update!(**args)
869
+ end
870
+
871
+ # Update properties of this object
872
+ def update!(**args)
873
+ @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
874
+ @gcs_result = args[:gcs_result] if args.key?(:gcs_result)
875
+ end
876
+ end
877
+
726
878
  # Metadata related to the progress of the Purge operation. This will be returned
727
879
  # by the google.longrunning.Operation.metadata field.
728
880
  class GoogleCloudRetailV2PurgeMetadata
@@ -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.90.0"
19
+ GEM_VERSION = "0.92.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240129"
25
+ REVISION = "20240212"
26
26
  end
27
27
  end
28
28
  end
@@ -88,12 +88,42 @@ 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 GoogleCloudRetailV2ExportMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudRetailV2GcsOutputResult
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
97
127
  class GoogleCloudRetailV2ImportCompletionDataResponse
98
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
129
 
@@ -148,6 +178,12 @@ module Google
148
178
  include Google::Apis::Core::JsonObjectSupport
149
179
  end
150
180
 
181
+ class GoogleCloudRetailV2OutputResult
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
151
187
  class GoogleCloudRetailV2PurgeMetadata
152
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
189
 
@@ -1525,6 +1561,14 @@ module Google
1525
1561
  end
1526
1562
  end
1527
1563
 
1564
+ class GoogleCloudRetailV2BigQueryOutputResult
1565
+ # @private
1566
+ class Representation < Google::Apis::Core::JsonRepresentation
1567
+ property :dataset_id, as: 'datasetId'
1568
+ property :table_id, as: 'tableId'
1569
+ end
1570
+ end
1571
+
1528
1572
  class GoogleCloudRetailV2CreateModelMetadata
1529
1573
  # @private
1530
1574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1532,6 +1576,40 @@ module Google
1532
1576
  end
1533
1577
  end
1534
1578
 
1579
+ class GoogleCloudRetailV2ExportAnalyticsMetricsResponse
1580
+ # @private
1581
+ class Representation < Google::Apis::Core::JsonRepresentation
1582
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
1583
+
1584
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2ExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2ExportErrorsConfig::Representation
1585
+
1586
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2OutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2OutputResult::Representation
1587
+
1588
+ end
1589
+ end
1590
+
1591
+ class GoogleCloudRetailV2ExportErrorsConfig
1592
+ # @private
1593
+ class Representation < Google::Apis::Core::JsonRepresentation
1594
+ property :gcs_prefix, as: 'gcsPrefix'
1595
+ end
1596
+ end
1597
+
1598
+ class GoogleCloudRetailV2ExportMetadata
1599
+ # @private
1600
+ class Representation < Google::Apis::Core::JsonRepresentation
1601
+ property :create_time, as: 'createTime'
1602
+ property :update_time, as: 'updateTime'
1603
+ end
1604
+ end
1605
+
1606
+ class GoogleCloudRetailV2GcsOutputResult
1607
+ # @private
1608
+ class Representation < Google::Apis::Core::JsonRepresentation
1609
+ property :output_uri, as: 'outputUri'
1610
+ end
1611
+ end
1612
+
1535
1613
  class GoogleCloudRetailV2ImportCompletionDataResponse
1536
1614
  # @private
1537
1615
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1626,6 +1704,16 @@ module Google
1626
1704
  end
1627
1705
  end
1628
1706
 
1707
+ class GoogleCloudRetailV2OutputResult
1708
+ # @private
1709
+ class Representation < Google::Apis::Core::JsonRepresentation
1710
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2BigQueryOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2BigQueryOutputResult::Representation
1711
+
1712
+ collection :gcs_result, as: 'gcsResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2GcsOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2GcsOutputResult::Representation
1713
+
1714
+ end
1715
+ end
1716
+
1629
1717
  class GoogleCloudRetailV2PurgeMetadata
1630
1718
  # @private
1631
1719
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20,11 +20,12 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module RetailV2beta
23
- # Retail API
23
+ # Vertex AI Search for Retail API
24
24
  #
25
- # Cloud Retail service enables customers to build end-to-end personalized
26
- # recommendation systems without requiring a high level of expertise in machine
27
- # learning, recommendation system, or Google Cloud.
25
+ # Vertex AI Search for Retail API is made up of Retail Search, Browse and
26
+ # Recommendations. These discovery AI solutions help you implement personalized
27
+ # search, browse and recommendations, based on machine learning models, across
28
+ # your websites and mobile applications.
28
29
  #
29
30
  # @example
30
31
  # require 'google/apis/retail_v2beta'
@@ -19,15 +19,16 @@ require 'google/apis/retail_v2beta/gem_version.rb'
19
19
 
20
20
  module Google
21
21
  module Apis
22
- # Retail API
22
+ # Vertex AI Search for Retail API
23
23
  #
24
- # Cloud Retail service enables customers to build end-to-end personalized
25
- # recommendation systems without requiring a high level of expertise in machine
26
- # learning, recommendation system, or Google Cloud.
24
+ # Vertex AI Search for Retail API is made up of Retail Search, Browse and
25
+ # Recommendations. These discovery AI solutions help you implement personalized
26
+ # search, browse and recommendations, based on machine learning models, across
27
+ # your websites and mobile applications.
27
28
  #
28
29
  # @see https://cloud.google.com/recommendations
29
30
  module RetailV2beta
30
- # Version of the Retail API this client connects to.
31
+ # Version of the Vertex AI Search for Retail API this client connects to.
31
32
  # This is NOT the gem version.
32
33
  VERSION = 'V2beta'
33
34
 
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.90.0
4
+ version: 0.92.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-02-04 00:00:00.000000000 Z
11
+ date: 2024-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -30,13 +30,13 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
33
- description: This is the simple REST client for Retail API V2beta. Simple REST clients
34
- are Ruby client libraries that provide access to Google services via their HTTP
35
- REST API endpoints. These libraries are generated and updated automatically based
36
- on the discovery documents published by the service, and they handle most concerns
37
- such as authentication, pagination, retry, timeouts, and logging. You can use this
38
- client to access the Retail API, but note that some services may provide a separate
39
- modern client that is easier to use.
33
+ description: This is the simple REST client for Vertex AI Search for Retail API V2beta.
34
+ Simple REST clients are Ruby client libraries that provide access to Google services
35
+ via their HTTP REST API endpoints. These libraries are generated and updated automatically
36
+ based on the discovery documents published by the service, and they handle most
37
+ concerns such as authentication, pagination, retry, timeouts, and logging. You can
38
+ use this client to access the Vertex AI Search for Retail API, but note that some
39
+ services may provide a separate modern client that is easier to use.
40
40
  email: googleapis-packages@google.com
41
41
  executables: []
42
42
  extensions: []
@@ -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.90.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.92.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: []
@@ -78,5 +78,5 @@ requirements: []
78
78
  rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
- summary: Simple REST client for Retail API V2beta
81
+ summary: Simple REST client for Vertex AI Search for Retail API V2beta
82
82
  test_files: []