google-apis-retail_v2 0.88.0 → 0.89.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: 54582d1dd8e8e04af512667e123c5a7df6631974c494529d5542f36cfab3045d
4
- data.tar.gz: be0c929e09d1ea3dfd09e732325b0425944fe263fff97833e9a24071c39663bc
3
+ metadata.gz: b5afe8ba40c38222eed4bca1d27f3ee9c9db1ef56c9c566eabd84b2f6fbe4c77
4
+ data.tar.gz: d2c5fb5c82b21f617f30afe3b118db31ad4d44c6cb5f919d19c137c6f04d850b
5
5
  SHA512:
6
- metadata.gz: a6f128948a79c7b84aaa1c4bd46c23e7da46a53c2873aedbb47ecf3de12d1760a42349b6eea77a979f9e23ec5942428067a66a0d711406ab63626a401c1514f8
7
- data.tar.gz: df5a674f409a6708444a8f2a01dc5c274545c7d7110a39f3ec2ef84cd6612968d463d4fdca76646941db32a2e7756ba1a264c3608c4365ad1f9b7ce2f2db2163
6
+ metadata.gz: f3dfa09013c2e0b02b8971a2851a88880bd8f982b4e7547250115f523dd6bb36b3a1aae7b9b01d4ba8bd562a77186f4a3fce994886d3ce70c2eb18d9e0266d62
7
+ data.tar.gz: 359736fc92f917bc890b36da4cb8958b38dbe1eabc68f2165899724cd2f432c311b9d3e644d5c22265d2c8c9a1e295c498ef81e90d219fea5d9d2a88aca21d58
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.89.0 (2024-02-11)
4
+
5
+ * Regenerated from discovery document revision 20240205
6
+
3
7
  ### v0.88.0 (2024-02-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20240129
@@ -560,6 +560,31 @@ module Google
560
560
  end
561
561
  end
562
562
 
563
+ # A BigQuery output result.
564
+ class GoogleCloudRetailV2BigQueryOutputResult
565
+ include Google::Apis::Core::Hashable
566
+
567
+ # The ID of a BigQuery Dataset.
568
+ # Corresponds to the JSON property `datasetId`
569
+ # @return [String]
570
+ attr_accessor :dataset_id
571
+
572
+ # The ID of a BigQuery Table.
573
+ # Corresponds to the JSON property `tableId`
574
+ # @return [String]
575
+ attr_accessor :table_id
576
+
577
+ def initialize(**args)
578
+ update!(**args)
579
+ end
580
+
581
+ # Update properties of this object
582
+ def update!(**args)
583
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
584
+ @table_id = args[:table_id] if args.key?(:table_id)
585
+ end
586
+ end
587
+
563
588
  # BigQuery source import data from.
564
589
  class GoogleCloudRetailV2BigQuerySource
565
590
  include Google::Apis::Core::Hashable
@@ -1551,6 +1576,94 @@ module Google
1551
1576
  end
1552
1577
  end
1553
1578
 
1579
+ # Request message for the `ExportAnalyticsMetrics` method.
1580
+ class GoogleCloudRetailV2ExportAnalyticsMetricsRequest
1581
+ include Google::Apis::Core::Hashable
1582
+
1583
+ # A filtering expression to specify restrictions on returned metrics. The
1584
+ # expression is a sequence of terms. Each term applies a restriction to the
1585
+ # returned metrics. Use this expression to restrict results to a specific time
1586
+ # range. Currently we expect only one types of fields: * `timestamp`: This can
1587
+ # be specified twice, once with a less than operator and once with a greater
1588
+ # than operator. The `timestamp` restriction should result in one, contiguous,
1589
+ # valid, `timestamp` range. Some examples of valid filters expressions: *
1590
+ # Example 1: `timestamp > "2012-04-23T18:25:43.511Z" timestamp < "2012-04-23T18:
1591
+ # 30:43.511Z"` * Example 2: `timestamp > "2012-04-23T18:25:43.511Z"`
1592
+ # Corresponds to the JSON property `filter`
1593
+ # @return [String]
1594
+ attr_accessor :filter
1595
+
1596
+ # The output configuration setting.
1597
+ # Corresponds to the JSON property `outputConfig`
1598
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2OutputConfig]
1599
+ attr_accessor :output_config
1600
+
1601
+ def initialize(**args)
1602
+ update!(**args)
1603
+ end
1604
+
1605
+ # Update properties of this object
1606
+ def update!(**args)
1607
+ @filter = args[:filter] if args.key?(:filter)
1608
+ @output_config = args[:output_config] if args.key?(:output_config)
1609
+ end
1610
+ end
1611
+
1612
+ # Response of the ExportAnalyticsMetricsRequest. If the long running operation
1613
+ # was successful, then this message is returned by the google.longrunning.
1614
+ # Operations.response field if the operation was successful.
1615
+ class GoogleCloudRetailV2ExportAnalyticsMetricsResponse
1616
+ include Google::Apis::Core::Hashable
1617
+
1618
+ # A sample of errors encountered while processing the request.
1619
+ # Corresponds to the JSON property `errorSamples`
1620
+ # @return [Array<Google::Apis::RetailV2::GoogleRpcStatus>]
1621
+ attr_accessor :error_samples
1622
+
1623
+ # Configuration of destination for Export related errors.
1624
+ # Corresponds to the JSON property `errorsConfig`
1625
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2ExportErrorsConfig]
1626
+ attr_accessor :errors_config
1627
+
1628
+ # Output result that stores the information about where the exported data is
1629
+ # stored.
1630
+ # Corresponds to the JSON property `outputResult`
1631
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2OutputResult]
1632
+ attr_accessor :output_result
1633
+
1634
+ def initialize(**args)
1635
+ update!(**args)
1636
+ end
1637
+
1638
+ # Update properties of this object
1639
+ def update!(**args)
1640
+ @error_samples = args[:error_samples] if args.key?(:error_samples)
1641
+ @errors_config = args[:errors_config] if args.key?(:errors_config)
1642
+ @output_result = args[:output_result] if args.key?(:output_result)
1643
+ end
1644
+ end
1645
+
1646
+ # Configuration of destination for Export related errors.
1647
+ class GoogleCloudRetailV2ExportErrorsConfig
1648
+ include Google::Apis::Core::Hashable
1649
+
1650
+ # Google Cloud Storage path for import errors. This must be an empty, existing
1651
+ # Cloud Storage bucket. Export errors will be written to a file in this bucket,
1652
+ # one per line, as a JSON-encoded `google.rpc.Status` message.
1653
+ # Corresponds to the JSON property `gcsPrefix`
1654
+ # @return [String]
1655
+ attr_accessor :gcs_prefix
1656
+
1657
+ def initialize(**args)
1658
+ update!(**args)
1659
+ end
1660
+
1661
+ # Update properties of this object
1662
+ def update!(**args)
1663
+ @gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
1664
+ end
1665
+ end
1666
+
1554
1667
  # Fulfillment information, such as the store IDs for in-store pickup or region
1555
1668
  # IDs for different shipping methods.
1556
1669
  class GoogleCloudRetailV2FulfillmentInfo
@@ -1587,6 +1700,25 @@ module Google
1587
1700
  end
1588
1701
  end
1589
1702
 
1703
+ # A Gcs output result.
1704
+ class GoogleCloudRetailV2GcsOutputResult
1705
+ include Google::Apis::Core::Hashable
1706
+
1707
+ # The uri of Gcs output
1708
+ # Corresponds to the JSON property `outputUri`
1709
+ # @return [String]
1710
+ attr_accessor :output_uri
1711
+
1712
+ def initialize(**args)
1713
+ update!(**args)
1714
+ end
1715
+
1716
+ # Update properties of this object
1717
+ def update!(**args)
1718
+ @output_uri = args[:output_uri] if args.key?(:output_uri)
1719
+ end
1720
+ end
1721
+
1590
1722
  # Google Cloud Storage location for input content.
1591
1723
  class GoogleCloudRetailV2GcsSource
1592
1724
  include Google::Apis::Core::Hashable
@@ -2392,6 +2524,113 @@ module Google
2392
2524
  end
2393
2525
  end
2394
2526
 
2527
+ # The output configuration setting.
2528
+ class GoogleCloudRetailV2OutputConfig
2529
+ include Google::Apis::Core::Hashable
2530
+
2531
+ # The BigQuery output destination configuration.
2532
+ # Corresponds to the JSON property `bigqueryDestination`
2533
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2OutputConfigBigQueryDestination]
2534
+ attr_accessor :bigquery_destination
2535
+
2536
+ # The Google Cloud Storage output destination configuration.
2537
+ # Corresponds to the JSON property `gcsDestination`
2538
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2OutputConfigGcsDestination]
2539
+ attr_accessor :gcs_destination
2540
+
2541
+ def initialize(**args)
2542
+ update!(**args)
2543
+ end
2544
+
2545
+ # Update properties of this object
2546
+ def update!(**args)
2547
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
2548
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
2549
+ end
2550
+ end
2551
+
2552
+ # The BigQuery output destination configuration.
2553
+ class GoogleCloudRetailV2OutputConfigBigQueryDestination
2554
+ include Google::Apis::Core::Hashable
2555
+
2556
+ # Required. The ID of a BigQuery Dataset.
2557
+ # Corresponds to the JSON property `datasetId`
2558
+ # @return [String]
2559
+ attr_accessor :dataset_id
2560
+
2561
+ # Required. The prefix of exported BigQuery tables.
2562
+ # Corresponds to the JSON property `tableIdPrefix`
2563
+ # @return [String]
2564
+ attr_accessor :table_id_prefix
2565
+
2566
+ # Required. Describes the table type. The following values are supported: * `
2567
+ # table`: A BigQuery native table. * `view`: A virtual table defined by a SQL
2568
+ # query.
2569
+ # Corresponds to the JSON property `tableType`
2570
+ # @return [String]
2571
+ attr_accessor :table_type
2572
+
2573
+ def initialize(**args)
2574
+ update!(**args)
2575
+ end
2576
+
2577
+ # Update properties of this object
2578
+ def update!(**args)
2579
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
2580
+ @table_id_prefix = args[:table_id_prefix] if args.key?(:table_id_prefix)
2581
+ @table_type = args[:table_type] if args.key?(:table_type)
2582
+ end
2583
+ end
2584
+
2585
+ # The Google Cloud Storage output destination configuration.
2586
+ class GoogleCloudRetailV2OutputConfigGcsDestination
2587
+ include Google::Apis::Core::Hashable
2588
+
2589
+ # Required. The output uri prefix for saving output data to json files. Some
2590
+ # mapping examples are as follows: output_uri_prefix sample output(assuming the
2591
+ # object is foo.json) ======================== ==================================
2592
+ # =========== gs://bucket/ gs://bucket/foo.json gs://bucket/folder/ gs://bucket/
2593
+ # folder/foo.json gs://bucket/folder/item_ gs://bucket/folder/item_foo.json
2594
+ # Corresponds to the JSON property `outputUriPrefix`
2595
+ # @return [String]
2596
+ attr_accessor :output_uri_prefix
2597
+
2598
+ def initialize(**args)
2599
+ update!(**args)
2600
+ end
2601
+
2602
+ # Update properties of this object
2603
+ def update!(**args)
2604
+ @output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
2605
+ end
2606
+ end
2607
+
2608
+ # Output result that stores the information about where the exported data is
2609
+ # stored.
2610
+ class GoogleCloudRetailV2OutputResult
2611
+ include Google::Apis::Core::Hashable
2612
+
2613
+ # The BigQuery location where the result is stored.
2614
+ # Corresponds to the JSON property `bigqueryResult`
2615
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2BigQueryOutputResult>]
2616
+ attr_accessor :bigquery_result
2617
+
2618
+ # The Google Cloud Storage location where the result is stored.
2619
+ # Corresponds to the JSON property `gcsResult`
2620
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2GcsOutputResult>]
2621
+ attr_accessor :gcs_result
2622
+
2623
+ def initialize(**args)
2624
+ update!(**args)
2625
+ end
2626
+
2627
+ # Update properties of this object
2628
+ def update!(**args)
2629
+ @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
2630
+ @gcs_result = args[:gcs_result] if args.key?(:gcs_result)
2631
+ end
2632
+ end
2633
+
2395
2634
  # Request for pausing training of a model.
2396
2635
  class GoogleCloudRetailV2PauseModelRequest
2397
2636
  include Google::Apis::Core::Hashable
@@ -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.88.0"
19
+ GEM_VERSION = "0.89.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 = "20240205"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class GoogleCloudRetailV2BigQueryOutputResult
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class GoogleCloudRetailV2BigQuerySource
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -262,12 +268,36 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
271
+ class GoogleCloudRetailV2ExportAnalyticsMetricsRequest
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudRetailV2ExportAnalyticsMetricsResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudRetailV2ExportErrorsConfig
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
265
289
  class GoogleCloudRetailV2FulfillmentInfo
266
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
291
 
268
292
  include Google::Apis::Core::JsonObjectSupport
269
293
  end
270
294
 
295
+ class GoogleCloudRetailV2GcsOutputResult
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
271
301
  class GoogleCloudRetailV2GcsSource
272
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
303
 
@@ -400,6 +430,30 @@ module Google
400
430
  include Google::Apis::Core::JsonObjectSupport
401
431
  end
402
432
 
433
+ class GoogleCloudRetailV2OutputConfig
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleCloudRetailV2OutputConfigBigQueryDestination
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class GoogleCloudRetailV2OutputConfigGcsDestination
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class GoogleCloudRetailV2OutputResult
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
403
457
  class GoogleCloudRetailV2PauseModelRequest
404
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
459
 
@@ -1525,6 +1579,14 @@ module Google
1525
1579
  end
1526
1580
  end
1527
1581
 
1582
+ class GoogleCloudRetailV2BigQueryOutputResult
1583
+ # @private
1584
+ class Representation < Google::Apis::Core::JsonRepresentation
1585
+ property :dataset_id, as: 'datasetId'
1586
+ property :table_id, as: 'tableId'
1587
+ end
1588
+ end
1589
+
1528
1590
  class GoogleCloudRetailV2BigQuerySource
1529
1591
  # @private
1530
1592
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1760,6 +1822,34 @@ module Google
1760
1822
  end
1761
1823
  end
1762
1824
 
1825
+ class GoogleCloudRetailV2ExportAnalyticsMetricsRequest
1826
+ # @private
1827
+ class Representation < Google::Apis::Core::JsonRepresentation
1828
+ property :filter, as: 'filter'
1829
+ property :output_config, as: 'outputConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2OutputConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2OutputConfig::Representation
1830
+
1831
+ end
1832
+ end
1833
+
1834
+ class GoogleCloudRetailV2ExportAnalyticsMetricsResponse
1835
+ # @private
1836
+ class Representation < Google::Apis::Core::JsonRepresentation
1837
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
1838
+
1839
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ExportErrorsConfig::Representation
1840
+
1841
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2OutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2OutputResult::Representation
1842
+
1843
+ end
1844
+ end
1845
+
1846
+ class GoogleCloudRetailV2ExportErrorsConfig
1847
+ # @private
1848
+ class Representation < Google::Apis::Core::JsonRepresentation
1849
+ property :gcs_prefix, as: 'gcsPrefix'
1850
+ end
1851
+ end
1852
+
1763
1853
  class GoogleCloudRetailV2FulfillmentInfo
1764
1854
  # @private
1765
1855
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1768,6 +1858,13 @@ module Google
1768
1858
  end
1769
1859
  end
1770
1860
 
1861
+ class GoogleCloudRetailV2GcsOutputResult
1862
+ # @private
1863
+ class Representation < Google::Apis::Core::JsonRepresentation
1864
+ property :output_uri, as: 'outputUri'
1865
+ end
1866
+ end
1867
+
1771
1868
  class GoogleCloudRetailV2GcsSource
1772
1869
  # @private
1773
1870
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1988,6 +2085,42 @@ module Google
1988
2085
  end
1989
2086
  end
1990
2087
 
2088
+ class GoogleCloudRetailV2OutputConfig
2089
+ # @private
2090
+ class Representation < Google::Apis::Core::JsonRepresentation
2091
+ property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::RetailV2::GoogleCloudRetailV2OutputConfigBigQueryDestination, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2OutputConfigBigQueryDestination::Representation
2092
+
2093
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::RetailV2::GoogleCloudRetailV2OutputConfigGcsDestination, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2OutputConfigGcsDestination::Representation
2094
+
2095
+ end
2096
+ end
2097
+
2098
+ class GoogleCloudRetailV2OutputConfigBigQueryDestination
2099
+ # @private
2100
+ class Representation < Google::Apis::Core::JsonRepresentation
2101
+ property :dataset_id, as: 'datasetId'
2102
+ property :table_id_prefix, as: 'tableIdPrefix'
2103
+ property :table_type, as: 'tableType'
2104
+ end
2105
+ end
2106
+
2107
+ class GoogleCloudRetailV2OutputConfigGcsDestination
2108
+ # @private
2109
+ class Representation < Google::Apis::Core::JsonRepresentation
2110
+ property :output_uri_prefix, as: 'outputUriPrefix'
2111
+ end
2112
+ end
2113
+
2114
+ class GoogleCloudRetailV2OutputResult
2115
+ # @private
2116
+ class Representation < Google::Apis::Core::JsonRepresentation
2117
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2BigQueryOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2BigQueryOutputResult::Representation
2118
+
2119
+ collection :gcs_result, as: 'gcsResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2GcsOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2GcsOutputResult::Representation
2120
+
2121
+ end
2122
+ end
2123
+
1991
2124
  class GoogleCloudRetailV2PauseModelRequest
1992
2125
  # @private
1993
2126
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -134,6 +134,42 @@ module Google
134
134
  execute_or_queue_command(command, &block)
135
135
  end
136
136
 
137
+ # Exports analytics metrics. `Operation.response` is of type `
138
+ # ExportAnalyticsMetricsResponse`. `Operation.metadata` is of type `
139
+ # ExportMetadata`.
140
+ # @param [String] catalog
141
+ # Required. Full resource name of the parent catalog. Expected format: `projects/
142
+ # */locations/*/catalogs/*`
143
+ # @param [Google::Apis::RetailV2::GoogleCloudRetailV2ExportAnalyticsMetricsRequest] google_cloud_retail_v2_export_analytics_metrics_request_object
144
+ # @param [String] fields
145
+ # Selector specifying which fields to include in a partial response.
146
+ # @param [String] quota_user
147
+ # Available to use for quota purposes for server-side applications. Can be any
148
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
149
+ # @param [Google::Apis::RequestOptions] options
150
+ # Request-specific options
151
+ #
152
+ # @yield [result, err] Result & error if block supplied
153
+ # @yieldparam result [Google::Apis::RetailV2::GoogleLongrunningOperation] parsed result object
154
+ # @yieldparam err [StandardError] error object if request failed
155
+ #
156
+ # @return [Google::Apis::RetailV2::GoogleLongrunningOperation]
157
+ #
158
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
159
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
160
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
161
+ def export_project_location_catalog_analytics_metrics(catalog, google_cloud_retail_v2_export_analytics_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
162
+ command = make_simple_command(:post, 'v2/{+catalog}:exportAnalyticsMetrics', options)
163
+ command.request_representation = Google::Apis::RetailV2::GoogleCloudRetailV2ExportAnalyticsMetricsRequest::Representation
164
+ command.request_object = google_cloud_retail_v2_export_analytics_metrics_request_object
165
+ command.response_representation = Google::Apis::RetailV2::GoogleLongrunningOperation::Representation
166
+ command.response_class = Google::Apis::RetailV2::GoogleLongrunningOperation
167
+ command.params['catalog'] = catalog unless catalog.nil?
168
+ command.query['fields'] = fields unless fields.nil?
169
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
170
+ execute_or_queue_command(command, &block)
171
+ end
172
+
137
173
  # Gets an AttributesConfig.
138
174
  # @param [String] name
139
175
  # Required. Full AttributesConfig resource name. Format: `projects/`
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.88.0
4
+ version: 0.89.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-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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.88.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.89.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: []