google-apis-retail_v2 0.85.0 → 0.86.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: '083ac8a5ae6c70975c2e7f567130a7634d6879604908eb7b3aa9a364149e2fa2'
4
- data.tar.gz: 43270701f88c2ee681de3180eac511ae238de28efc51d1a21195516899c1b125
3
+ metadata.gz: 2920399c40dd26d4ea6f6a67bd93caba16a9fcaf9187278aea07110f0cb6c205
4
+ data.tar.gz: 7e163b4ffcdd4a12e1fc7edee43aa8b31fe8debb0a6de6cac8beb430a7c83c8f
5
5
  SHA512:
6
- metadata.gz: 776ce228a4f7c9e8ae52c961729f89681164526c4d70c721d612a704665846856380ebf5c00ddc401be66d7d6e7736161168c4a3828087ef59323efe53afefce
7
- data.tar.gz: 7dcfae679d606fa3bf6ade22a51989362ecd6f310aae07539b0ced1ef8eefe164277fc17ca51915364d43d33f2a519c2047d18a7b22dcddf55dc83506e5ce6a7
6
+ metadata.gz: 0d0fe6d6f53a54c92816a6f949c8f6d09f0035f6aa401d03561a0b3a25b38c3e379f2263bf42235be07cfe9cea9ee85caff842b6b958b81a2f8c01190d9a1c31
7
+ data.tar.gz: fc5c6b52f0049808284181de53f390d15ed8d213600119effb2a4a2b7caab5081cf100140bcab8e5695968451013047cdfd22b5acb560d37526d47fddba65a80
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.86.0 (2023-12-10)
4
+
5
+ * Regenerated from discovery document revision 20231130
6
+
3
7
  ### v0.85.0 (2023-11-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20231109
@@ -2662,13 +2662,13 @@ module Google
2662
2662
  # Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "
2663
2663
  # categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic
2664
2664
  # Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an
2665
- # INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product.
2666
- # Empty values are not allowed. Each value must be a UTF-8 encoded string with
2667
- # a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is
2668
- # returned. Corresponding properties: Google Merchant Center property
2669
- # google_product_category. Schema.org property [Product.category] (https://
2670
- # schema.org/category). [mc_google_product_category]: https://support.google.com/
2671
- # merchants/answer/6324436
2665
+ # INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product
2666
+ # unless overridden via pantheon UI. Empty values are not allowed. Each value
2667
+ # must be a UTF-8 encoded string with a length limit of 5,000 characters.
2668
+ # Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties:
2669
+ # Google Merchant Center property google_product_category. Schema.org property [
2670
+ # Product.category] (https://schema.org/category). [mc_google_product_category]:
2671
+ # https://support.google.com/merchants/answer/6324436
2672
2672
  # Corresponds to the JSON property `categories`
2673
2673
  # @return [Array<String>]
2674
2674
  attr_accessor :categories
@@ -2707,16 +2707,16 @@ module Google
2707
2707
  # @return [String]
2708
2708
  attr_accessor :description
2709
2709
 
2710
- # The timestamp when this product becomes unavailable for SearchService.Search.
2711
- # Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and
2712
- # ignored for Type.VARIANT. In general, we suggest the users to delete the stale
2713
- # products explicitly, instead of using this field to determine staleness. If it
2714
- # is set, the Product is not available for SearchService.Search after
2715
- # expire_time. However, the product can still be retrieved by ProductService.
2716
- # GetProduct and ProductService.ListProducts. expire_time must be later than
2717
- # available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown.
2718
- # Corresponding properties: Google Merchant Center property [expiration_date](
2719
- # https://support.google.com/merchants/answer/6324499).
2710
+ # Note that this field is applied in the following ways: * If the Product is
2711
+ # already expired when it is uploaded, this product is not indexed for search. *
2712
+ # If the Product is not expired when it is uploaded, only the Type.PRIMARY's and
2713
+ # Type.COLLECTION's expireTime is respected, and Type.VARIANT's expireTime is
2714
+ # not used. In general, we suggest the users to delete the stale products
2715
+ # explicitly, instead of using this field to determine staleness. expire_time
2716
+ # must be later than available_time and publish_time, otherwise an
2717
+ # INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant
2718
+ # Center property [expiration_date](https://support.google.com/merchants/answer/
2719
+ # 6324499).
2720
2720
  # Corresponds to the JSON property `expireTime`
2721
2721
  # @return [String]
2722
2722
  attr_accessor :expire_time
@@ -5845,6 +5845,40 @@ module Google
5845
5845
  end
5846
5846
  end
5847
5847
 
5848
+ # Response of the ExportAnalyticsMetricsRequest. If the long running operation
5849
+ # was successful, then this message is returned by the google.longrunning.
5850
+ # Operations.response field if the operation was successful.
5851
+ class GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse
5852
+ include Google::Apis::Core::Hashable
5853
+
5854
+ # A sample of errors encountered while processing the request.
5855
+ # Corresponds to the JSON property `errorSamples`
5856
+ # @return [Array<Google::Apis::RetailV2::GoogleRpcStatus>]
5857
+ attr_accessor :error_samples
5858
+
5859
+ # Configuration of destination for Export related errors.
5860
+ # Corresponds to the JSON property `errorsConfig`
5861
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig]
5862
+ attr_accessor :errors_config
5863
+
5864
+ # Output result that stores the information about where the exported data is
5865
+ # stored.
5866
+ # Corresponds to the JSON property `outputResult`
5867
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult]
5868
+ attr_accessor :output_result
5869
+
5870
+ def initialize(**args)
5871
+ update!(**args)
5872
+ end
5873
+
5874
+ # Update properties of this object
5875
+ def update!(**args)
5876
+ @error_samples = args[:error_samples] if args.key?(:error_samples)
5877
+ @errors_config = args[:errors_config] if args.key?(:errors_config)
5878
+ @output_result = args[:output_result] if args.key?(:output_result)
5879
+ end
5880
+ end
5881
+
5848
5882
  # Configuration of destination for Export related errors.
5849
5883
  class GoogleCloudRetailV2alphaExportErrorsConfig
5850
5884
  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.85.0"
19
+ GEM_VERSION = "0.86.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231109"
25
+ REVISION = "20231130"
26
26
  end
27
27
  end
28
28
  end
@@ -874,6 +874,12 @@ module Google
874
874
  include Google::Apis::Core::JsonObjectSupport
875
875
  end
876
876
 
877
+ class GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
877
883
  class GoogleCloudRetailV2alphaExportErrorsConfig
878
884
  class Representation < Google::Apis::Core::JsonRepresentation; end
879
885
 
@@ -2753,6 +2759,18 @@ module Google
2753
2759
  end
2754
2760
  end
2755
2761
 
2762
+ class GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse
2763
+ # @private
2764
+ class Representation < Google::Apis::Core::JsonRepresentation
2765
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
2766
+
2767
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
2768
+
2769
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult::Representation
2770
+
2771
+ end
2772
+ end
2773
+
2756
2774
  class GoogleCloudRetailV2alphaExportErrorsConfig
2757
2775
  # @private
2758
2776
  class Representation < Google::Apis::Core::JsonRepresentation
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.85.0
4
+ version: 0.86.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: 2023-11-19 00:00:00.000000000 Z
11
+ date: 2023-12-10 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.85.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.86.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: []