google-apis-retail_v2beta 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42180bdb12b8db55ddd6a7b1448d9f9e85262bf60efea9db77fb7bfc116453f1
|
4
|
+
data.tar.gz: 1c6ed7f9a3ad401dea2beca1e389e828bb7b2b24722cc2e192516e985e59b37d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea9722b184c76ec2ce747acad0249a7ec9681f90716e7c3e0635b7ada9eda8646186e0bf2a404266dbeecce18ff1cabc65b7602aa83beddfb04bd4f4611445f2
|
7
|
+
data.tar.gz: bf81c2f5c6083069c34413297befb0fd97c57e0a4184cc142855b03154462fcefdb99d01f22eed2be6e9223a96604db886d45c5ed8560eb765f8c1d5958fef69
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-retail_v2beta
|
2
2
|
|
3
|
+
### v0.89.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240118
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
3
8
|
### v0.88.0 (2023-12-10)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20231130
|
@@ -2892,6 +2892,18 @@ module Google
|
|
2892
2892
|
# @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue>]
|
2893
2893
|
attr_accessor :merged_facet_values
|
2894
2894
|
|
2895
|
+
# Options to rerank based on facet values engaged by the user for the current
|
2896
|
+
# key. That key needs to be a custom textual key and facetable. To use this
|
2897
|
+
# control, you also need to pass all the facet keys engaged by the user in the
|
2898
|
+
# request using the field [SearchRequest.FacetSpec]. In particular, if you don't
|
2899
|
+
# pass the facet keys engaged that you want to rerank on, this control won't be
|
2900
|
+
# effective. Moreover, to obtain better results, the facet values that you want
|
2901
|
+
# to rerank on should be close to English (ideally made of words, underscores,
|
2902
|
+
# and spaces).
|
2903
|
+
# Corresponds to the JSON property `rerankConfig`
|
2904
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig]
|
2905
|
+
attr_accessor :rerank_config
|
2906
|
+
|
2895
2907
|
def initialize(**args)
|
2896
2908
|
update!(**args)
|
2897
2909
|
end
|
@@ -2901,6 +2913,7 @@ module Google
|
|
2901
2913
|
@facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
|
2902
2914
|
@ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
|
2903
2915
|
@merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
|
2916
|
+
@rerank_config = args[:rerank_config] if args.key?(:rerank_config)
|
2904
2917
|
end
|
2905
2918
|
end
|
2906
2919
|
|
@@ -2973,6 +2986,41 @@ module Google
|
|
2973
2986
|
end
|
2974
2987
|
end
|
2975
2988
|
|
2989
|
+
# Options to rerank based on facet values engaged by the user for the current
|
2990
|
+
# key. That key needs to be a custom textual key and facetable. To use this
|
2991
|
+
# control, you also need to pass all the facet keys engaged by the user in the
|
2992
|
+
# request using the field [SearchRequest.FacetSpec]. In particular, if you don't
|
2993
|
+
# pass the facet keys engaged that you want to rerank on, this control won't be
|
2994
|
+
# effective. Moreover, to obtain better results, the facet values that you want
|
2995
|
+
# to rerank on should be close to English (ideally made of words, underscores,
|
2996
|
+
# and spaces).
|
2997
|
+
class GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig
|
2998
|
+
include Google::Apis::Core::Hashable
|
2999
|
+
|
3000
|
+
# If empty, rerank on all facet values for the current key. Otherwise, will
|
3001
|
+
# rerank on the facet values from this list only.
|
3002
|
+
# Corresponds to the JSON property `facetValues`
|
3003
|
+
# @return [Array<String>]
|
3004
|
+
attr_accessor :facet_values
|
3005
|
+
|
3006
|
+
# If set to true, then we also rerank the dynamic facets based on the facet
|
3007
|
+
# values engaged by the user for the current attribute key during serving.
|
3008
|
+
# Corresponds to the JSON property `rerankFacet`
|
3009
|
+
# @return [Boolean]
|
3010
|
+
attr_accessor :rerank_facet
|
3011
|
+
alias_method :rerank_facet?, :rerank_facet
|
3012
|
+
|
3013
|
+
def initialize(**args)
|
3014
|
+
update!(**args)
|
3015
|
+
end
|
3016
|
+
|
3017
|
+
# Update properties of this object
|
3018
|
+
def update!(**args)
|
3019
|
+
@facet_values = args[:facet_values] if args.key?(:facet_values)
|
3020
|
+
@rerank_facet = args[:rerank_facet] if args.key?(:rerank_facet)
|
3021
|
+
end
|
3022
|
+
end
|
3023
|
+
|
2976
3024
|
# The color information of a Product.
|
2977
3025
|
class GoogleCloudRetailV2betaColorInfo
|
2978
3026
|
include Google::Apis::Core::Hashable
|
@@ -3577,6 +3625,73 @@ module Google
|
|
3577
3625
|
end
|
3578
3626
|
end
|
3579
3627
|
|
3628
|
+
# Request message for the `ExportAnalyticsMetrics` method.
|
3629
|
+
class GoogleCloudRetailV2betaExportAnalyticsMetricsRequest
|
3630
|
+
include Google::Apis::Core::Hashable
|
3631
|
+
|
3632
|
+
# A filtering expression to specify restrictions on returned metrics. The
|
3633
|
+
# expression is a sequence of terms. Each term applies a restriction to the
|
3634
|
+
# returned metrics. Use this expression to restrict results to a specific time
|
3635
|
+
# range. Currently we expect only one types of fields: * `timestamp`: This can
|
3636
|
+
# be specified twice, once with a less than operator and once with a greater
|
3637
|
+
# than operator. The `timestamp` restriction should result in one, contiguous,
|
3638
|
+
# valid, `timestamp` range. Some examples of valid filters expressions: *
|
3639
|
+
# Example 1: `timestamp > "2012-04-23T18:25:43.511Z" timestamp < "2012-04-23T18:
|
3640
|
+
# 30:43.511Z"` * Example 2: `timestamp > "2012-04-23T18:25:43.511Z"`
|
3641
|
+
# Corresponds to the JSON property `filter`
|
3642
|
+
# @return [String]
|
3643
|
+
attr_accessor :filter
|
3644
|
+
|
3645
|
+
# The output configuration setting.
|
3646
|
+
# Corresponds to the JSON property `outputConfig`
|
3647
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfig]
|
3648
|
+
attr_accessor :output_config
|
3649
|
+
|
3650
|
+
def initialize(**args)
|
3651
|
+
update!(**args)
|
3652
|
+
end
|
3653
|
+
|
3654
|
+
# Update properties of this object
|
3655
|
+
def update!(**args)
|
3656
|
+
@filter = args[:filter] if args.key?(:filter)
|
3657
|
+
@output_config = args[:output_config] if args.key?(:output_config)
|
3658
|
+
end
|
3659
|
+
end
|
3660
|
+
|
3661
|
+
# Response of the ExportAnalyticsMetricsRequest. If the long running operation
|
3662
|
+
# was successful, then this message is returned by the google.longrunning.
|
3663
|
+
# Operations.response field if the operation was successful.
|
3664
|
+
class GoogleCloudRetailV2betaExportAnalyticsMetricsResponse
|
3665
|
+
include Google::Apis::Core::Hashable
|
3666
|
+
|
3667
|
+
# A sample of errors encountered while processing the request.
|
3668
|
+
# Corresponds to the JSON property `errorSamples`
|
3669
|
+
# @return [Array<Google::Apis::RetailV2beta::GoogleRpcStatus>]
|
3670
|
+
attr_accessor :error_samples
|
3671
|
+
|
3672
|
+
# Configuration of destination for Export related errors.
|
3673
|
+
# Corresponds to the JSON property `errorsConfig`
|
3674
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig]
|
3675
|
+
attr_accessor :errors_config
|
3676
|
+
|
3677
|
+
# Output result that stores the information about where the exported data is
|
3678
|
+
# stored.
|
3679
|
+
# Corresponds to the JSON property `outputResult`
|
3680
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult]
|
3681
|
+
attr_accessor :output_result
|
3682
|
+
|
3683
|
+
def initialize(**args)
|
3684
|
+
update!(**args)
|
3685
|
+
end
|
3686
|
+
|
3687
|
+
# Update properties of this object
|
3688
|
+
def update!(**args)
|
3689
|
+
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
3690
|
+
@errors_config = args[:errors_config] if args.key?(:errors_config)
|
3691
|
+
@output_result = args[:output_result] if args.key?(:output_result)
|
3692
|
+
end
|
3693
|
+
end
|
3694
|
+
|
3580
3695
|
# Configuration of destination for Export related errors.
|
3581
3696
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
3582
3697
|
include Google::Apis::Core::Hashable
|
@@ -4789,6 +4904,87 @@ module Google
|
|
4789
4904
|
end
|
4790
4905
|
end
|
4791
4906
|
|
4907
|
+
# The output configuration setting.
|
4908
|
+
class GoogleCloudRetailV2betaOutputConfig
|
4909
|
+
include Google::Apis::Core::Hashable
|
4910
|
+
|
4911
|
+
# The BigQuery output destination configuration.
|
4912
|
+
# Corresponds to the JSON property `bigqueryDestination`
|
4913
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfigBigQueryDestination]
|
4914
|
+
attr_accessor :bigquery_destination
|
4915
|
+
|
4916
|
+
# The Google Cloud Storage output destination configuration.
|
4917
|
+
# Corresponds to the JSON property `gcsDestination`
|
4918
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfigGcsDestination]
|
4919
|
+
attr_accessor :gcs_destination
|
4920
|
+
|
4921
|
+
def initialize(**args)
|
4922
|
+
update!(**args)
|
4923
|
+
end
|
4924
|
+
|
4925
|
+
# Update properties of this object
|
4926
|
+
def update!(**args)
|
4927
|
+
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
|
4928
|
+
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
4929
|
+
end
|
4930
|
+
end
|
4931
|
+
|
4932
|
+
# The BigQuery output destination configuration.
|
4933
|
+
class GoogleCloudRetailV2betaOutputConfigBigQueryDestination
|
4934
|
+
include Google::Apis::Core::Hashable
|
4935
|
+
|
4936
|
+
# Required. The ID of a BigQuery Dataset.
|
4937
|
+
# Corresponds to the JSON property `datasetId`
|
4938
|
+
# @return [String]
|
4939
|
+
attr_accessor :dataset_id
|
4940
|
+
|
4941
|
+
# Required. The prefix of exported BigQuery tables.
|
4942
|
+
# Corresponds to the JSON property `tableIdPrefix`
|
4943
|
+
# @return [String]
|
4944
|
+
attr_accessor :table_id_prefix
|
4945
|
+
|
4946
|
+
# Required. Describes the table type. The following values are supported: * `
|
4947
|
+
# table`: A BigQuery native table. * `view`: A virtual table defined by a SQL
|
4948
|
+
# query.
|
4949
|
+
# Corresponds to the JSON property `tableType`
|
4950
|
+
# @return [String]
|
4951
|
+
attr_accessor :table_type
|
4952
|
+
|
4953
|
+
def initialize(**args)
|
4954
|
+
update!(**args)
|
4955
|
+
end
|
4956
|
+
|
4957
|
+
# Update properties of this object
|
4958
|
+
def update!(**args)
|
4959
|
+
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
4960
|
+
@table_id_prefix = args[:table_id_prefix] if args.key?(:table_id_prefix)
|
4961
|
+
@table_type = args[:table_type] if args.key?(:table_type)
|
4962
|
+
end
|
4963
|
+
end
|
4964
|
+
|
4965
|
+
# The Google Cloud Storage output destination configuration.
|
4966
|
+
class GoogleCloudRetailV2betaOutputConfigGcsDestination
|
4967
|
+
include Google::Apis::Core::Hashable
|
4968
|
+
|
4969
|
+
# Required. The output uri prefix for saving output data to json files. Some
|
4970
|
+
# mapping examples are as follows: output_uri_prefix sample output(assuming the
|
4971
|
+
# object is foo.json) ======================== ==================================
|
4972
|
+
# =========== gs://bucket/ gs://bucket/foo.json gs://bucket/folder/ gs://bucket/
|
4973
|
+
# folder/foo.json gs://bucket/folder/item_ gs://bucket/folder/item_foo.json
|
4974
|
+
# Corresponds to the JSON property `outputUriPrefix`
|
4975
|
+
# @return [String]
|
4976
|
+
attr_accessor :output_uri_prefix
|
4977
|
+
|
4978
|
+
def initialize(**args)
|
4979
|
+
update!(**args)
|
4980
|
+
end
|
4981
|
+
|
4982
|
+
# Update properties of this object
|
4983
|
+
def update!(**args)
|
4984
|
+
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
|
4985
|
+
end
|
4986
|
+
end
|
4987
|
+
|
4792
4988
|
# Output result that stores the information about where the exported data is
|
4793
4989
|
# stored.
|
4794
4990
|
class GoogleCloudRetailV2betaOutputResult
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.89.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240118"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -628,6 +628,12 @@ module Google
|
|
628
628
|
include Google::Apis::Core::JsonObjectSupport
|
629
629
|
end
|
630
630
|
|
631
|
+
class GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
|
+
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
635
|
+
end
|
636
|
+
|
631
637
|
class GoogleCloudRetailV2betaColorInfo
|
632
638
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
639
|
|
@@ -724,6 +730,18 @@ module Google
|
|
724
730
|
include Google::Apis::Core::JsonObjectSupport
|
725
731
|
end
|
726
732
|
|
733
|
+
class GoogleCloudRetailV2betaExportAnalyticsMetricsRequest
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
|
+
|
736
|
+
include Google::Apis::Core::JsonObjectSupport
|
737
|
+
end
|
738
|
+
|
739
|
+
class GoogleCloudRetailV2betaExportAnalyticsMetricsResponse
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
741
|
+
|
742
|
+
include Google::Apis::Core::JsonObjectSupport
|
743
|
+
end
|
744
|
+
|
727
745
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
728
746
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
729
747
|
|
@@ -922,6 +940,24 @@ module Google
|
|
922
940
|
include Google::Apis::Core::JsonObjectSupport
|
923
941
|
end
|
924
942
|
|
943
|
+
class GoogleCloudRetailV2betaOutputConfig
|
944
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
945
|
+
|
946
|
+
include Google::Apis::Core::JsonObjectSupport
|
947
|
+
end
|
948
|
+
|
949
|
+
class GoogleCloudRetailV2betaOutputConfigBigQueryDestination
|
950
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
951
|
+
|
952
|
+
include Google::Apis::Core::JsonObjectSupport
|
953
|
+
end
|
954
|
+
|
955
|
+
class GoogleCloudRetailV2betaOutputConfigGcsDestination
|
956
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
957
|
+
|
958
|
+
include Google::Apis::Core::JsonObjectSupport
|
959
|
+
end
|
960
|
+
|
925
961
|
class GoogleCloudRetailV2betaOutputResult
|
926
962
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
927
963
|
|
@@ -2225,6 +2261,8 @@ module Google
|
|
2225
2261
|
|
2226
2262
|
collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue::Representation
|
2227
2263
|
|
2264
|
+
property :rerank_config, as: 'rerankConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig::Representation
|
2265
|
+
|
2228
2266
|
end
|
2229
2267
|
end
|
2230
2268
|
|
@@ -2245,6 +2283,14 @@ module Google
|
|
2245
2283
|
end
|
2246
2284
|
end
|
2247
2285
|
|
2286
|
+
class GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig
|
2287
|
+
# @private
|
2288
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2289
|
+
collection :facet_values, as: 'facetValues'
|
2290
|
+
property :rerank_facet, as: 'rerankFacet'
|
2291
|
+
end
|
2292
|
+
end
|
2293
|
+
|
2248
2294
|
class GoogleCloudRetailV2betaColorInfo
|
2249
2295
|
# @private
|
2250
2296
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2401,6 +2447,27 @@ module Google
|
|
2401
2447
|
end
|
2402
2448
|
end
|
2403
2449
|
|
2450
|
+
class GoogleCloudRetailV2betaExportAnalyticsMetricsRequest
|
2451
|
+
# @private
|
2452
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2453
|
+
property :filter, as: 'filter'
|
2454
|
+
property :output_config, as: 'outputConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfig::Representation
|
2455
|
+
|
2456
|
+
end
|
2457
|
+
end
|
2458
|
+
|
2459
|
+
class GoogleCloudRetailV2betaExportAnalyticsMetricsResponse
|
2460
|
+
# @private
|
2461
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2462
|
+
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
|
2463
|
+
|
2464
|
+
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig::Representation
|
2465
|
+
|
2466
|
+
property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult::Representation
|
2467
|
+
|
2468
|
+
end
|
2469
|
+
end
|
2470
|
+
|
2404
2471
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
2405
2472
|
# @private
|
2406
2473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2729,6 +2796,32 @@ module Google
|
|
2729
2796
|
end
|
2730
2797
|
end
|
2731
2798
|
|
2799
|
+
class GoogleCloudRetailV2betaOutputConfig
|
2800
|
+
# @private
|
2801
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2802
|
+
property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfigBigQueryDestination, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfigBigQueryDestination::Representation
|
2803
|
+
|
2804
|
+
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfigGcsDestination, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfigGcsDestination::Representation
|
2805
|
+
|
2806
|
+
end
|
2807
|
+
end
|
2808
|
+
|
2809
|
+
class GoogleCloudRetailV2betaOutputConfigBigQueryDestination
|
2810
|
+
# @private
|
2811
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2812
|
+
property :dataset_id, as: 'datasetId'
|
2813
|
+
property :table_id_prefix, as: 'tableIdPrefix'
|
2814
|
+
property :table_type, as: 'tableType'
|
2815
|
+
end
|
2816
|
+
end
|
2817
|
+
|
2818
|
+
class GoogleCloudRetailV2betaOutputConfigGcsDestination
|
2819
|
+
# @private
|
2820
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2821
|
+
property :output_uri_prefix, as: 'outputUriPrefix'
|
2822
|
+
end
|
2823
|
+
end
|
2824
|
+
|
2732
2825
|
class GoogleCloudRetailV2betaOutputResult
|
2733
2826
|
# @private
|
2734
2827
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -34,6 +34,8 @@ module Google
|
|
34
34
|
#
|
35
35
|
# @see https://cloud.google.com/recommendations
|
36
36
|
class CloudRetailService < Google::Apis::Core::BaseService
|
37
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://retail.$UNIVERSE_DOMAIN$/"
|
38
|
+
|
37
39
|
# @return [String]
|
38
40
|
# API key. Your API key identifies your project and provides you with API access,
|
39
41
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -45,7 +47,7 @@ module Google
|
|
45
47
|
attr_accessor :quota_user
|
46
48
|
|
47
49
|
def initialize
|
48
|
-
super(
|
50
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
49
51
|
client_name: 'google-apis-retail_v2beta',
|
50
52
|
client_version: Google::Apis::RetailV2beta::GEM_VERSION)
|
51
53
|
@batch_path = 'batch'
|
@@ -132,6 +134,42 @@ module Google
|
|
132
134
|
execute_or_queue_command(command, &block)
|
133
135
|
end
|
134
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::RetailV2beta::GoogleCloudRetailV2betaExportAnalyticsMetricsRequest] google_cloud_retail_v2beta_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::RetailV2beta::GoogleLongrunningOperation] parsed result object
|
154
|
+
# @yieldparam err [StandardError] error object if request failed
|
155
|
+
#
|
156
|
+
# @return [Google::Apis::RetailV2beta::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_v2beta_export_analytics_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
162
|
+
command = make_simple_command(:post, 'v2beta/{+catalog}:exportAnalyticsMetrics', options)
|
163
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportAnalyticsMetricsRequest::Representation
|
164
|
+
command.request_object = google_cloud_retail_v2beta_export_analytics_metrics_request_object
|
165
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleLongrunningOperation::Representation
|
166
|
+
command.response_class = Google::Apis::RetailV2beta::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
|
+
|
135
173
|
# Gets an AttributesConfig.
|
136
174
|
# @param [String] name
|
137
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_v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.89.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Retail API V2beta
|