google-shopping-type 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fff10fcbf60d6f46ec2cdc80177d398e14d520d24cb8b34ac9c965dbc901ae5
4
- data.tar.gz: 6762d83579aacaf060bc90706ba62ad65c4a82e0662b3752120bdad1f487ea9a
3
+ metadata.gz: e9de64149e71f46aae9d35283579853e44c2f1086d40404bd582c3ca2e54be53
4
+ data.tar.gz: 1e04bc18dc0e093b2ec3bdac1a8cf35932da7f451b29b81ffb7990bc5c103546
5
5
  SHA512:
6
- metadata.gz: 33d6e7f4481d0c44cabc6e8c11a06a11e86529d2380b42da90ba39a56d08544ede1026b6878abe965ead432ac3d73fa89fd00b131430e7414de228c5a6df4c6b
7
- data.tar.gz: a406fea43d0dd3f186ca0dddf1a5242eb97a621c6c3348a2389bd7ebfb997de5da5118c17ba4ab45b8d6d8976bd4d8f136402b90ea5d33d42803cc1ad2d16cbb
6
+ metadata.gz: 3bd3ee1cac3f9a8722f0307349d26c9a3b6b24c892c5af9b3dd2dcd184c284f7b13b460f0e9c9f9e7fde2efb5ac9a50ab4e3e4a4b6e040fc4be44b23271df483
7
+ data.tar.gz: 5e6f808266a22ccdfb1460b9d5a89deec8d5ba9c83627b19eeef4e18964b6ffbe42cc4a0f35c88dbc5c671ec4c6d9f74e3e263fb96c4259c76e0f52188d67cea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.2.0 (2026-05-19)
4
+
5
+ #### Features
6
+
7
+ * Regenerate protos and support Ruby min_version 3.2 ([#412](https://github.com/googleapis/common-protos-ruby/issues/412))
8
+
3
9
  ### 1.1.0 (2025-04-29)
4
10
 
5
11
  #### Features
@@ -5,31 +5,10 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n google/shopping/type/types.proto\x12\x14google.shopping.type\"\xb1\x01\n\x06Weight\x12\x1a\n\ramount_micros\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x35\n\x04unit\x18\x02 \x01(\x0e\x32\'.google.shopping.type.Weight.WeightUnit\"B\n\nWeightUnit\x12\x1b\n\x17WEIGHT_UNIT_UNSPECIFIED\x10\x00\x12\t\n\x05POUND\x10\x01\x12\x0c\n\x08KILOGRAM\x10\x02\x42\x10\n\x0e_amount_micros\"c\n\x05Price\x12\x1a\n\ramount_micros\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcurrency_code\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x10\n\x0e_amount_microsB\x10\n\x0e_currency_code\"\x88\x01\n\x0f\x43ustomAttribute\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05value\x18\x02 \x01(\tH\x01\x88\x01\x01\x12;\n\x0cgroup_values\x18\x03 \x03(\x0b\x32%.google.shopping.type.CustomAttributeB\x07\n\x05_nameB\x08\n\x06_value\"\xc1\x01\n\x0b\x44\x65stination\"\xb1\x01\n\x0f\x44\x65stinationEnum\x12 \n\x1c\x44\x45STINATION_ENUM_UNSPECIFIED\x10\x00\x12\x10\n\x0cSHOPPING_ADS\x10\x01\x12\x0f\n\x0b\x44ISPLAY_ADS\x10\x02\x12\x17\n\x13LOCAL_INVENTORY_ADS\x10\x03\x12\x11\n\rFREE_LISTINGS\x10\x04\x12\x17\n\x13\x46REE_LOCAL_LISTINGS\x10\x05\x12\x14\n\x10YOUTUBE_SHOPPING\x10\x06\"\x96\x03\n\x10ReportingContext\"\x81\x03\n\x14ReportingContextEnum\x12&\n\"REPORTING_CONTEXT_ENUM_UNSPECIFIED\x10\x00\x12\x10\n\x0cSHOPPING_ADS\x10\x01\x12\x15\n\rDISCOVERY_ADS\x10\x02\x1a\x02\x08\x01\x12\x12\n\x0e\x44\x45MAND_GEN_ADS\x10\r\x12#\n\x1f\x44\x45MAND_GEN_ADS_DISCOVER_SURFACE\x10\x0e\x12\r\n\tVIDEO_ADS\x10\x03\x12\x0f\n\x0b\x44ISPLAY_ADS\x10\x04\x12\x17\n\x13LOCAL_INVENTORY_ADS\x10\x05\x12\x19\n\x15VEHICLE_INVENTORY_ADS\x10\x06\x12\x11\n\rFREE_LISTINGS\x10\x07\x12\x17\n\x13\x46REE_LOCAL_LISTINGS\x10\x08\x12\x1f\n\x1b\x46REE_LOCAL_VEHICLE_LISTINGS\x10\t\x12\x14\n\x10YOUTUBE_SHOPPING\x10\n\x12\x10\n\x0c\x43LOUD_RETAIL\x10\x0b\x12\x16\n\x12LOCAL_CLOUD_RETAIL\x10\x0c\"M\n\x07\x43hannel\"B\n\x0b\x43hannelEnum\x12\x1c\n\x18\x43HANNEL_ENUM_UNSPECIFIED\x10\x00\x12\n\n\x06ONLINE\x10\x01\x12\t\n\x05LOCAL\x10\x02\x42p\n\x18\x63om.google.shopping.typeB\nTypesProtoP\x01Z/cloud.google.com/go/shopping/type/typepb;typepb\xaa\x02\x14Google.Shopping.Typeb\x06proto3"
8
+ descriptor_data = "\n google/shopping/type/types.proto\x12\x14google.shopping.type\"\xb1\x01\n\x06Weight\x12\x1a\n\ramount_micros\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x35\n\x04unit\x18\x02 \x01(\x0e\x32\'.google.shopping.type.Weight.WeightUnit\"B\n\nWeightUnit\x12\x1b\n\x17WEIGHT_UNIT_UNSPECIFIED\x10\x00\x12\t\n\x05POUND\x10\x01\x12\x0c\n\x08KILOGRAM\x10\x02\x42\x10\n\x0e_amount_micros\"c\n\x05Price\x12\x1a\n\ramount_micros\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcurrency_code\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x10\n\x0e_amount_microsB\x10\n\x0e_currency_code\"\x88\x01\n\x0f\x43ustomAttribute\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05value\x18\x02 \x01(\tH\x01\x88\x01\x01\x12;\n\x0cgroup_values\x18\x03 \x03(\x0b\x32%.google.shopping.type.CustomAttributeB\x07\n\x05_nameB\x08\n\x06_value\"\xcd\x02\n\x0b\x44\x65stination\"\xbd\x02\n\x0f\x44\x65stinationEnum\x12 \n\x1c\x44\x45STINATION_ENUM_UNSPECIFIED\x10\x00\x12\x10\n\x0cSHOPPING_ADS\x10\x01\x12\x0f\n\x0b\x44ISPLAY_ADS\x10\x02\x12\x17\n\x13LOCAL_INVENTORY_ADS\x10\x03\x12\x11\n\rFREE_LISTINGS\x10\x04\x12\x17\n\x13\x46REE_LOCAL_LISTINGS\x10\x05\x12\x14\n\x10YOUTUBE_SHOPPING\x10\x06\x12\x1d\n\x19YOUTUBE_SHOPPING_CHECKOUT\x10\x07\x12\x15\n\x11YOUTUBE_AFFILIATE\x10\x08\x12\x19\n\x15\x46REE_VEHICLE_LISTINGS\x10\t\x12\x0f\n\x0bVEHICLE_ADS\x10\n\x12\x10\n\x0c\x43LOUD_RETAIL\x10\x0b\x12\x16\n\x12LOCAL_CLOUD_RETAIL\x10\x0c\"\x8e\x04\n\x10ReportingContext\"\xf9\x03\n\x14ReportingContextEnum\x12&\n\"REPORTING_CONTEXT_ENUM_UNSPECIFIED\x10\x00\x12\x10\n\x0cSHOPPING_ADS\x10\x01\x12\x15\n\rDISCOVERY_ADS\x10\x02\x1a\x02\x08\x01\x12\x12\n\x0e\x44\x45MAND_GEN_ADS\x10\r\x12#\n\x1f\x44\x45MAND_GEN_ADS_DISCOVER_SURFACE\x10\x0e\x12\r\n\tVIDEO_ADS\x10\x03\x12\x0f\n\x0b\x44ISPLAY_ADS\x10\x04\x12\x17\n\x13LOCAL_INVENTORY_ADS\x10\x05\x12\x19\n\x15VEHICLE_INVENTORY_ADS\x10\x06\x12\x11\n\rFREE_LISTINGS\x10\x07\x12\x1e\n\x1a\x46REE_LISTINGS_UCP_CHECKOUT\x10\x13\x12\x17\n\x13\x46REE_LOCAL_LISTINGS\x10\x08\x12\x1f\n\x1b\x46REE_LOCAL_VEHICLE_LISTINGS\x10\t\x12\x15\n\x11YOUTUBE_AFFILIATE\x10\x12\x12\x14\n\x10YOUTUBE_SHOPPING\x10\n\x12\x10\n\x0c\x43LOUD_RETAIL\x10\x0b\x12\x16\n\x12LOCAL_CLOUD_RETAIL\x10\x0c\x12\x13\n\x0fPRODUCT_REVIEWS\x10\x0f\x12\x14\n\x10MERCHANT_REVIEWS\x10\x10\x12\x14\n\x10YOUTUBE_CHECKOUT\x10\x11\"M\n\x07\x43hannel\"B\n\x0b\x43hannelEnum\x12\x1c\n\x18\x43HANNEL_ENUM_UNSPECIFIED\x10\x00\x12\n\n\x06ONLINE\x10\x01\x12\t\n\x05LOCAL\x10\x02\x42p\n\x18\x63om.google.shopping.typeB\nTypesProtoP\x01Z/cloud.google.com/go/shopping/type/typepb;typepb\xaa\x02\x14Google.Shopping.Typeb\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Shopping
@@ -50,7 +29,7 @@ end
50
29
 
51
30
  #### Source proto file: google/shopping/type/types.proto ####
52
31
  #
53
- # // Copyright 2025 Google LLC
32
+ # // Copyright 2026 Google LLC
54
33
  # //
55
34
  # // Licensed under the Apache License, Version 2.0 (the "License");
56
35
  # // you may not use this file except in compliance with the License.
@@ -131,7 +110,6 @@ end
131
110
  # //
132
111
  # // Destinations are used in Merchant Center to allow you to control where the
133
112
  # // products from your data feed should be displayed.
134
- # //
135
113
  # message Destination {
136
114
  # // Destination values.
137
115
  # enum DestinationEnum {
@@ -157,6 +135,25 @@ end
157
135
  #
158
136
  # // [YouTube Shopping](https://support.google.com/merchants/answer/12362804).
159
137
  # YOUTUBE_SHOPPING = 6;
138
+ #
139
+ # // Youtube shopping checkout.
140
+ # YOUTUBE_SHOPPING_CHECKOUT = 7;
141
+ #
142
+ # // [Youtube Affiliate](https://support.google.com/youtube/answer/13376398).
143
+ # YOUTUBE_AFFILIATE = 8;
144
+ #
145
+ # // [Free vehicle
146
+ # // listings](https://support.google.com/merchants/answer/11189169).
147
+ # FREE_VEHICLE_LISTINGS = 9;
148
+ #
149
+ # // [Vehicle ads](https://support.google.com/merchants/answer/11189169).
150
+ # VEHICLE_ADS = 10;
151
+ #
152
+ # // [Cloud retail](https://cloud.google.com/solutions/retail).
153
+ # CLOUD_RETAIL = 11;
154
+ #
155
+ # // [Local cloud retail](https://cloud.google.com/solutions/retail).
156
+ # LOCAL_CLOUD_RETAIL = 12;
160
157
  # }
161
158
  # }
162
159
  #
@@ -167,7 +164,6 @@ end
167
164
  # // ads](https://support.google.com/merchants/answer/6149970)) or a subset of
168
165
  # // formats within a destination (for example, [Demand Gen
169
166
  # // ads](https://support.google.com/merchants/answer/13389785)).
170
- # //
171
167
  # message ReportingContext {
172
168
  # // Reporting context values.
173
169
  # enum ReportingContextEnum {
@@ -207,6 +203,10 @@ end
207
203
  # // listings](https://support.google.com/merchants/answer/9199328).
208
204
  # FREE_LISTINGS = 7;
209
205
  #
206
+ # // [Free product listings on UCP
207
+ # // checkout](https://developers.google.com/merchant/ucp).
208
+ # FREE_LISTINGS_UCP_CHECKOUT = 19;
209
+ #
210
210
  # // [Free local product
211
211
  # // listings](https://support.google.com/merchants/answer/9825611).
212
212
  # FREE_LOCAL_LISTINGS = 8;
@@ -215,6 +215,9 @@ end
215
215
  # // listings](https://support.google.com/merchants/answer/11544533).
216
216
  # FREE_LOCAL_VEHICLE_LISTINGS = 9;
217
217
  #
218
+ # // [Youtube Affiliate](https://support.google.com/youtube/answer/13376398).
219
+ # YOUTUBE_AFFILIATE = 18;
220
+ #
218
221
  # // [YouTube
219
222
  # // Shopping](https://support.google.com/merchants/answer/13478370).
220
223
  # YOUTUBE_SHOPPING = 10;
@@ -224,6 +227,18 @@ end
224
227
  #
225
228
  # // [Local cloud retail](https://cloud.google.com/solutions/retail).
226
229
  # LOCAL_CLOUD_RETAIL = 12;
230
+ #
231
+ # // [Product
232
+ # // Reviews](https://support.google.com/merchants/answer/14620732).
233
+ # PRODUCT_REVIEWS = 15;
234
+ #
235
+ # // [Merchant
236
+ # // Reviews](https://developers.google.com/merchant-review-feeds).
237
+ # MERCHANT_REVIEWS = 16;
238
+ #
239
+ # // YouTube Checkout
240
+ # // .
241
+ # YOUTUBE_CHECKOUT = 17;
227
242
  # }
228
243
  # }
229
244
  #
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module Shopping
19
19
  module Type
20
- VERSION = "1.1.0".freeze
20
+ VERSION = "1.2.0".freeze
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-type
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -51,14 +51,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '3.1'
54
+ version: '3.2'
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  requirements: []
61
- rubygems_version: 3.6.8
61
+ rubygems_version: 3.6.9
62
62
  specification_version: 4
63
63
  summary: Common protocol buffer types used by Google Shopping related client libraries
64
64
  test_files: []