google-apis-retail_v2alpha 0.78.0 → 0.79.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: 2fceed8300d3fcb7212c2c016b146ab7b42e50136fbf7b401813ffb85619e4ed
4
+ data.tar.gz: 4de45325724e372473411b138e8bdc95795cc6d550b4d109830f2339ba5cd2d0
5
5
  SHA512:
6
- metadata.gz: 3fe087f0c7534890c0e4e29f30be1816d0d9236a9ea14348a1236ddd496baaf1f1375ed2f39422d118a815157d46c51e8a03ebf401eb08f42d0ce38c868396b9
7
- data.tar.gz: 6a81ed8aa44cefb4ee016617f4ed84fb273b6a966138355c305de8ba5d69976825c2e5f3e50a673802bff767f078ef16b07b57c223fd0416a3067b7a26097221
6
+ metadata.gz: b416dc9af5409c870408fcc3df89402a1d6a04fa27953185f0a8e57be4c40406cc7312399f47105b6e4ba0f506b90dd8ebb3472a6824176d0857a3efb22df9a8
7
+ data.tar.gz: 4340a4370501127eb855959ea4255a2e397300ad43aa94d4f6ccbac9e37947b3016d3832be491366fa97a3a2c242dc8fcc412054cccc9691eea6bfdb68673e98
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.79.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230609
6
+
3
7
  ### v0.78.0 (2023-06-04)
4
8
 
5
9
  * 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.
@@ -7633,6 +7701,74 @@ module Google
7633
7701
  end
7634
7702
  end
7635
7703
 
7704
+ # Metadata related to the progress of the PurgeProducts operation. This will be
7705
+ # returned by the google.longrunning.Operation.metadata field.
7706
+ class GoogleCloudRetailV2betaPurgeProductsMetadata
7707
+ include Google::Apis::Core::Hashable
7708
+
7709
+ # Operation create time.
7710
+ # Corresponds to the JSON property `createTime`
7711
+ # @return [String]
7712
+ attr_accessor :create_time
7713
+
7714
+ # Count of entries that encountered errors while processing.
7715
+ # Corresponds to the JSON property `failureCount`
7716
+ # @return [Fixnum]
7717
+ attr_accessor :failure_count
7718
+
7719
+ # Count of entries that were deleted successfully.
7720
+ # Corresponds to the JSON property `successCount`
7721
+ # @return [Fixnum]
7722
+ attr_accessor :success_count
7723
+
7724
+ # Operation last update time. If the operation is done, this is also the finish
7725
+ # time.
7726
+ # Corresponds to the JSON property `updateTime`
7727
+ # @return [String]
7728
+ attr_accessor :update_time
7729
+
7730
+ def initialize(**args)
7731
+ update!(**args)
7732
+ end
7733
+
7734
+ # Update properties of this object
7735
+ def update!(**args)
7736
+ @create_time = args[:create_time] if args.key?(:create_time)
7737
+ @failure_count = args[:failure_count] if args.key?(:failure_count)
7738
+ @success_count = args[:success_count] if args.key?(:success_count)
7739
+ @update_time = args[:update_time] if args.key?(:update_time)
7740
+ end
7741
+ end
7742
+
7743
+ # Response of the PurgeProductsRequest. If the long running operation is
7744
+ # successfully done, then this message is returned by the google.longrunning.
7745
+ # Operations.response field.
7746
+ class GoogleCloudRetailV2betaPurgeProductsResponse
7747
+ include Google::Apis::Core::Hashable
7748
+
7749
+ # The total count of products purged as a result of the operation.
7750
+ # Corresponds to the JSON property `purgeCount`
7751
+ # @return [Fixnum]
7752
+ attr_accessor :purge_count
7753
+
7754
+ # A sample of the product names that will be deleted. Only populated if `force`
7755
+ # is set to false. A max of 100 names will be returned and the names are chosen
7756
+ # at random.
7757
+ # Corresponds to the JSON property `purgeSample`
7758
+ # @return [Array<String>]
7759
+ attr_accessor :purge_sample
7760
+
7761
+ def initialize(**args)
7762
+ update!(**args)
7763
+ end
7764
+
7765
+ # Update properties of this object
7766
+ def update!(**args)
7767
+ @purge_count = args[:purge_count] if args.key?(:purge_count)
7768
+ @purge_sample = args[:purge_sample] if args.key?(:purge_sample)
7769
+ end
7770
+ end
7771
+
7636
7772
  # Response of the PurgeUserEventsRequest. If the long running operation is
7637
7773
  # successfully done, then this message is returned by the google.longrunning.
7638
7774
  # 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.79.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 = "20230609"
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.79.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-06-18 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.79.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: []