google-apis-retail_v2alpha 0.78.0 → 0.80.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: 94bb380f43c357170f8d6cebf27b348fdb5f01bdc2619c153be9add41bce0924
4
- data.tar.gz: 63f3d05e780893a1b8a5bc097b28cf2aa4c19144a439bd83ebe3de4845738e5e
3
+ metadata.gz: 4c8d9cad20049aec00d3a9ccdf255423db226e4b07733b05636ef0b6c3dcefda
4
+ data.tar.gz: 6fe18f7334623366806864fe5beafb4987aa4091f9915a9bb272d6a93f5e8cc7
5
5
  SHA512:
6
- metadata.gz: 3fe087f0c7534890c0e4e29f30be1816d0d9236a9ea14348a1236ddd496baaf1f1375ed2f39422d118a815157d46c51e8a03ebf401eb08f42d0ce38c868396b9
7
- data.tar.gz: 6a81ed8aa44cefb4ee016617f4ed84fb273b6a966138355c305de8ba5d69976825c2e5f3e50a673802bff767f078ef16b07b57c223fd0416a3067b7a26097221
6
+ metadata.gz: 3843344510923268c46fe4408bcc5bd4cc8cdd9ff601c91affe93309b92002b127ee701599fb44a6caba86eeb0a562a948cb7aea50deb68032a444260e28fa35
7
+ data.tar.gz: 3a96d30197a15e0ac03401def4fe0920622a176e4290c129abbd11ac56ce77af5287e68659a62b144dfee701a66fcc149e78d80ca3e0219ab6b9cea36638b185
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.80.0 (2023-07-02)
4
+
5
+ * Regenerated from discovery document revision 20230622
6
+
7
+ ### v0.79.0 (2023-06-18)
8
+
9
+ * Regenerated from discovery document revision 20230609
10
+
3
11
  ### v0.78.0 (2023-06-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20230525
@@ -737,6 +737,74 @@ module Google
737
737
  end
738
738
  end
739
739
 
740
+ # Metadata related to the progress of the PurgeProducts operation. This will be
741
+ # returned by the google.longrunning.Operation.metadata field.
742
+ class GoogleCloudRetailV2PurgeProductsMetadata
743
+ include Google::Apis::Core::Hashable
744
+
745
+ # Operation create time.
746
+ # Corresponds to the JSON property `createTime`
747
+ # @return [String]
748
+ attr_accessor :create_time
749
+
750
+ # Count of entries that encountered errors while processing.
751
+ # Corresponds to the JSON property `failureCount`
752
+ # @return [Fixnum]
753
+ attr_accessor :failure_count
754
+
755
+ # Count of entries that were deleted successfully.
756
+ # Corresponds to the JSON property `successCount`
757
+ # @return [Fixnum]
758
+ attr_accessor :success_count
759
+
760
+ # Operation last update time. If the operation is done, this is also the finish
761
+ # time.
762
+ # Corresponds to the JSON property `updateTime`
763
+ # @return [String]
764
+ attr_accessor :update_time
765
+
766
+ def initialize(**args)
767
+ update!(**args)
768
+ end
769
+
770
+ # Update properties of this object
771
+ def update!(**args)
772
+ @create_time = args[:create_time] if args.key?(:create_time)
773
+ @failure_count = args[:failure_count] if args.key?(:failure_count)
774
+ @success_count = args[:success_count] if args.key?(:success_count)
775
+ @update_time = args[:update_time] if args.key?(:update_time)
776
+ end
777
+ end
778
+
779
+ # Response of the PurgeProductsRequest. If the long running operation is
780
+ # successfully done, then this message is returned by the google.longrunning.
781
+ # Operations.response field.
782
+ class GoogleCloudRetailV2PurgeProductsResponse
783
+ include Google::Apis::Core::Hashable
784
+
785
+ # The total count of products purged as a result of the operation.
786
+ # Corresponds to the JSON property `purgeCount`
787
+ # @return [Fixnum]
788
+ attr_accessor :purge_count
789
+
790
+ # A sample of the product names that will be deleted. Only populated if `force`
791
+ # is set to false. A max of 100 names will be returned and the names are chosen
792
+ # at random.
793
+ # Corresponds to the JSON property `purgeSample`
794
+ # @return [Array<String>]
795
+ attr_accessor :purge_sample
796
+
797
+ def initialize(**args)
798
+ update!(**args)
799
+ end
800
+
801
+ # Update properties of this object
802
+ def update!(**args)
803
+ @purge_count = args[:purge_count] if args.key?(:purge_count)
804
+ @purge_sample = args[:purge_sample] if args.key?(:purge_sample)
805
+ end
806
+ end
807
+
740
808
  # Response of the PurgeUserEventsRequest. If the long running operation is
741
809
  # successfully done, then this message is returned by the google.longrunning.
742
810
  # Operations.response field.
@@ -3888,11 +3956,12 @@ module Google
3888
3956
  # @return [String]
3889
3957
  attr_accessor :available_time
3890
3958
 
3891
- # The brands of the product. A maximum of 30 brands are allowed. Each brand must
3892
- # be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise,
3893
- # an INVALID_ARGUMENT error is returned. Corresponding properties: Google
3894
- # Merchant Center property [brand](https://support.google.com/merchants/answer/
3895
- # 6324351). Schema.org property [Product.brand](https://schema.org/brand).
3959
+ # The brands of the product. A maximum of 30 brands are allowed unless
3960
+ # overridden via pantheon UI. Each brand must be a UTF-8 encoded string with a
3961
+ # length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is
3962
+ # returned. Corresponding properties: Google Merchant Center property [brand](
3963
+ # https://support.google.com/merchants/answer/6324351). Schema.org property [
3964
+ # Product.brand](https://schema.org/brand).
3896
3965
  # Corresponds to the JSON property `brands`
3897
3966
  # @return [Array<String>]
3898
3967
  attr_accessor :brands
@@ -7633,6 +7702,74 @@ module Google
7633
7702
  end
7634
7703
  end
7635
7704
 
7705
+ # Metadata related to the progress of the PurgeProducts operation. This will be
7706
+ # returned by the google.longrunning.Operation.metadata field.
7707
+ class GoogleCloudRetailV2betaPurgeProductsMetadata
7708
+ include Google::Apis::Core::Hashable
7709
+
7710
+ # Operation create time.
7711
+ # Corresponds to the JSON property `createTime`
7712
+ # @return [String]
7713
+ attr_accessor :create_time
7714
+
7715
+ # Count of entries that encountered errors while processing.
7716
+ # Corresponds to the JSON property `failureCount`
7717
+ # @return [Fixnum]
7718
+ attr_accessor :failure_count
7719
+
7720
+ # Count of entries that were deleted successfully.
7721
+ # Corresponds to the JSON property `successCount`
7722
+ # @return [Fixnum]
7723
+ attr_accessor :success_count
7724
+
7725
+ # Operation last update time. If the operation is done, this is also the finish
7726
+ # time.
7727
+ # Corresponds to the JSON property `updateTime`
7728
+ # @return [String]
7729
+ attr_accessor :update_time
7730
+
7731
+ def initialize(**args)
7732
+ update!(**args)
7733
+ end
7734
+
7735
+ # Update properties of this object
7736
+ def update!(**args)
7737
+ @create_time = args[:create_time] if args.key?(:create_time)
7738
+ @failure_count = args[:failure_count] if args.key?(:failure_count)
7739
+ @success_count = args[:success_count] if args.key?(:success_count)
7740
+ @update_time = args[:update_time] if args.key?(:update_time)
7741
+ end
7742
+ end
7743
+
7744
+ # Response of the PurgeProductsRequest. If the long running operation is
7745
+ # successfully done, then this message is returned by the google.longrunning.
7746
+ # Operations.response field.
7747
+ class GoogleCloudRetailV2betaPurgeProductsResponse
7748
+ include Google::Apis::Core::Hashable
7749
+
7750
+ # The total count of products purged as a result of the operation.
7751
+ # Corresponds to the JSON property `purgeCount`
7752
+ # @return [Fixnum]
7753
+ attr_accessor :purge_count
7754
+
7755
+ # A sample of the product names that will be deleted. Only populated if `force`
7756
+ # is set to false. A max of 100 names will be returned and the names are chosen
7757
+ # at random.
7758
+ # Corresponds to the JSON property `purgeSample`
7759
+ # @return [Array<String>]
7760
+ attr_accessor :purge_sample
7761
+
7762
+ def initialize(**args)
7763
+ update!(**args)
7764
+ end
7765
+
7766
+ # Update properties of this object
7767
+ def update!(**args)
7768
+ @purge_count = args[:purge_count] if args.key?(:purge_count)
7769
+ @purge_sample = args[:purge_sample] if args.key?(:purge_sample)
7770
+ end
7771
+ end
7772
+
7636
7773
  # Response of the PurgeUserEventsRequest. If the long running operation is
7637
7774
  # successfully done, then this message is returned by the google.longrunning.
7638
7775
  # Operations.response field.
@@ -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.78.0"
19
+ GEM_VERSION = "0.80.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 = "20230525"
25
+ REVISION = "20230622"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,18 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class GoogleCloudRetailV2PurgeProductsMetadata
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudRetailV2PurgeProductsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
157
169
  class GoogleCloudRetailV2PurgeUserEventsResponse
158
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
171
 
@@ -1222,6 +1234,18 @@ module Google
1222
1234
  include Google::Apis::Core::JsonObjectSupport
1223
1235
  end
1224
1236
 
1237
+ class GoogleCloudRetailV2betaPurgeProductsMetadata
1238
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1239
+
1240
+ include Google::Apis::Core::JsonObjectSupport
1241
+ end
1242
+
1243
+ class GoogleCloudRetailV2betaPurgeProductsResponse
1244
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1245
+
1246
+ include Google::Apis::Core::JsonObjectSupport
1247
+ end
1248
+
1225
1249
  class GoogleCloudRetailV2betaPurgeUserEventsResponse
1226
1250
  class Representation < Google::Apis::Core::JsonRepresentation; end
1227
1251
 
@@ -1524,6 +1548,24 @@ module Google
1524
1548
  end
1525
1549
  end
1526
1550
 
1551
+ class GoogleCloudRetailV2PurgeProductsMetadata
1552
+ # @private
1553
+ class Representation < Google::Apis::Core::JsonRepresentation
1554
+ property :create_time, as: 'createTime'
1555
+ property :failure_count, :numeric_string => true, as: 'failureCount'
1556
+ property :success_count, :numeric_string => true, as: 'successCount'
1557
+ property :update_time, as: 'updateTime'
1558
+ end
1559
+ end
1560
+
1561
+ class GoogleCloudRetailV2PurgeProductsResponse
1562
+ # @private
1563
+ class Representation < Google::Apis::Core::JsonRepresentation
1564
+ property :purge_count, :numeric_string => true, as: 'purgeCount'
1565
+ collection :purge_sample, as: 'purgeSample'
1566
+ end
1567
+ end
1568
+
1527
1569
  class GoogleCloudRetailV2PurgeUserEventsResponse
1528
1570
  # @private
1529
1571
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3249,6 +3291,24 @@ module Google
3249
3291
  end
3250
3292
  end
3251
3293
 
3294
+ class GoogleCloudRetailV2betaPurgeProductsMetadata
3295
+ # @private
3296
+ class Representation < Google::Apis::Core::JsonRepresentation
3297
+ property :create_time, as: 'createTime'
3298
+ property :failure_count, :numeric_string => true, as: 'failureCount'
3299
+ property :success_count, :numeric_string => true, as: 'successCount'
3300
+ property :update_time, as: 'updateTime'
3301
+ end
3302
+ end
3303
+
3304
+ class GoogleCloudRetailV2betaPurgeProductsResponse
3305
+ # @private
3306
+ class Representation < Google::Apis::Core::JsonRepresentation
3307
+ property :purge_count, :numeric_string => true, as: 'purgeCount'
3308
+ collection :purge_sample, as: 'purgeSample'
3309
+ end
3310
+ end
3311
+
3252
3312
  class GoogleCloudRetailV2betaPurgeUserEventsResponse
3253
3313
  # @private
3254
3314
  class Representation < Google::Apis::Core::JsonRepresentation
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.78.0
4
+ version: 0.80.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-06-04 00:00:00.000000000 Z
11
+ date: 2023-07-02 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_v2alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.78.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.80.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: []