google-apis-retail_v2alpha 0.93.0 → 0.95.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: f72c46d59fc5a2b4da11c33098fe456bd7f5214e0315f2ef29105ddc31c8449e
4
- data.tar.gz: 18137f2cf36548d29ae2c71ec651e584667f02b1cf3ecc0d3c961bd6241a10fb
3
+ metadata.gz: ae6485dd06395768dab840e17dcfcb972a44a8572b03e23e6dbb3465725df683
4
+ data.tar.gz: e1c3c065d719ebfeb9c20493534cfe07f6694ab1a7975eac01c76212e6dd764f
5
5
  SHA512:
6
- metadata.gz: a8856b56ce308c11d4221d832ee67a1840407b22693644264f87f3819acee37fa0c4c66793b2e174c30b9b85e4b006ae28f43c2c510b1fbd52ffa4ecc8ce4cef
7
- data.tar.gz: c12299eca858a1f485f96fe88289e75a362a66008d30def649a542f48e9b5c2c03931fe6a8826d77ff0ec34db48bb8f9030421e817ead84128281ef6182473e0
6
+ metadata.gz: 7dc60403000aa8d240b9392bf53c4b87a4197a371d023646c39367a0af86165212cf0f6fd8931b3837c11280397c75529b8cf65bbff208fdcc449855c2a5fcd5
7
+ data.tar.gz: 2feea4a0f6773468a2ab8b60ae491bdbf415bed316e05733d5dbeafca0fae63eec21dfdf2bced1c44f9c36192e9d113e6f567a97261add5cb7f0ce04008e30b5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.95.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240212
6
+
7
+ ### v0.94.0 (2024-02-11)
8
+
9
+ * Regenerated from discovery document revision 20240205
10
+
3
11
  ### v0.93.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 V2alpha of the Retail API
1
+ # Simple REST client for version V2alpha of the Vertex AI Search for Retail API
2
2
 
3
- This is a simple client library for version V2alpha of the Retail API. It provides:
3
+ This is a simple client library for version V2alpha 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::RetailV2alpha::CloudRetailService class reference docs}.
68
+ For reference information on specific calls in the Vertex AI Search for Retail API, see the {Google::Apis::RetailV2alpha::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::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
+ # 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::RetailV2alpha::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::RetailV2alpha::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 RetailV2alpha
18
18
  # Version of the google-apis-retail_v2alpha gem
19
- GEM_VERSION = "0.93.0"
19
+ GEM_VERSION = "0.95.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
 
@@ -1579,6 +1615,14 @@ module Google
1579
1615
  end
1580
1616
  end
1581
1617
 
1618
+ class GoogleCloudRetailV2BigQueryOutputResult
1619
+ # @private
1620
+ class Representation < Google::Apis::Core::JsonRepresentation
1621
+ property :dataset_id, as: 'datasetId'
1622
+ property :table_id, as: 'tableId'
1623
+ end
1624
+ end
1625
+
1582
1626
  class GoogleCloudRetailV2CreateModelMetadata
1583
1627
  # @private
1584
1628
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1586,6 +1630,40 @@ module Google
1586
1630
  end
1587
1631
  end
1588
1632
 
1633
+ class GoogleCloudRetailV2ExportAnalyticsMetricsResponse
1634
+ # @private
1635
+ class Representation < Google::Apis::Core::JsonRepresentation
1636
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
1637
+
1638
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ExportErrorsConfig::Representation
1639
+
1640
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2OutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2OutputResult::Representation
1641
+
1642
+ end
1643
+ end
1644
+
1645
+ class GoogleCloudRetailV2ExportErrorsConfig
1646
+ # @private
1647
+ class Representation < Google::Apis::Core::JsonRepresentation
1648
+ property :gcs_prefix, as: 'gcsPrefix'
1649
+ end
1650
+ end
1651
+
1652
+ class GoogleCloudRetailV2ExportMetadata
1653
+ # @private
1654
+ class Representation < Google::Apis::Core::JsonRepresentation
1655
+ property :create_time, as: 'createTime'
1656
+ property :update_time, as: 'updateTime'
1657
+ end
1658
+ end
1659
+
1660
+ class GoogleCloudRetailV2GcsOutputResult
1661
+ # @private
1662
+ class Representation < Google::Apis::Core::JsonRepresentation
1663
+ property :output_uri, as: 'outputUri'
1664
+ end
1665
+ end
1666
+
1589
1667
  class GoogleCloudRetailV2ImportCompletionDataResponse
1590
1668
  # @private
1591
1669
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1680,6 +1758,16 @@ module Google
1680
1758
  end
1681
1759
  end
1682
1760
 
1761
+ class GoogleCloudRetailV2OutputResult
1762
+ # @private
1763
+ class Representation < Google::Apis::Core::JsonRepresentation
1764
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2BigQueryOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2BigQueryOutputResult::Representation
1765
+
1766
+ collection :gcs_result, as: 'gcsResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2GcsOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2GcsOutputResult::Representation
1767
+
1768
+ end
1769
+ end
1770
+
1683
1771
  class GoogleCloudRetailV2PurgeMetadata
1684
1772
  # @private
1685
1773
  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 RetailV2alpha
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_v2alpha'
@@ -19,15 +19,16 @@ require 'google/apis/retail_v2alpha/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 RetailV2alpha
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 = 'V2alpha'
33
34
 
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.93.0
4
+ version: 0.95.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 V2alpha. 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 V2alpha.
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_v2alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.93.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.95.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: []
@@ -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 V2alpha
81
+ summary: Simple REST client for Vertex AI Search for Retail API V2alpha
82
82
  test_files: []