google-shopping-type 0.4.0 → 0.5.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: 11bbc26346b0c0f536a147c02536f081ca345b2eb4f3e655d0f5b688aa03264d
4
- data.tar.gz: 67fc9b4db799edb23eb1dfba1fba275224a191e3c1997bce4ab93bfae222cc71
3
+ metadata.gz: 50ae0fe4fc48e24c3b51224fcc902a38841abfc39d98a1a48db64b9ba956f66e
4
+ data.tar.gz: 7c2b30485ebde90ea8228fd7aa4e6bb798229f15da7bcff337683f98025c36b9
5
5
  SHA512:
6
- metadata.gz: '088ebcbded88020e2b59ec890de2148f410dd924871f8cce2dfd5a009e51e55a00bc5b655c2a391aac6f44a82bc269ce2bd496aeb580917a299fb9f3ea700016'
7
- data.tar.gz: 6d075a91b2380d2e217036fc9bf87917d74aef9ec4cc051d09b790e7fd1c71b923dfcbb1f1ea26f8b5389122bd1c700af7c2fa04e0f655787b9c3436ec5fe8f2
6
+ metadata.gz: d39d5013795ded8980b58f7926c17ca181d750ea09790f0fbdfb27a463948220059181440c73b21f06193934fb556410d355d91cbff7b888637ef29f6e94d9f3
7
+ data.tar.gz: 3c3c61f4eca5220c5963cf40ad9bc0f8dba1f913682ef809a4b78f40f5cfa3cbf50dce9591e137e1dc1c6e60017258d1ef6198a4fe4e6de9fd680b6c8800c10f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ### 0.5.0 (2024-05-20)
4
+
5
+ #### Features
6
+
7
+ * Added Google::Shopping::Type::Weight
8
+
3
9
  ### 0.4.0 (2024-04-14)
4
10
 
5
11
  #### Features
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n google/shopping/type/types.proto\x12\x14google.shopping.type\"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\"\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"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -34,6 +34,8 @@ end
34
34
  module Google
35
35
  module Shopping
36
36
  module Type
37
+ Weight = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.type.Weight").msgclass
38
+ Weight::WeightUnit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.type.Weight.WeightUnit").enummodule
37
39
  Price = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.type.Price").msgclass
38
40
  CustomAttribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.type.CustomAttribute").msgclass
39
41
  Destination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.type.Destination").msgclass
@@ -48,7 +50,7 @@ end
48
50
 
49
51
  #### Source proto file: google/shopping/type/types.proto ####
50
52
  #
51
- # // Copyright 2023 Google LLC
53
+ # // Copyright 2024 Google LLC
52
54
  # //
53
55
  # // Licensed under the Apache License, Version 2.0 (the "License");
54
56
  # // you may not use this file except in compliance with the License.
@@ -72,13 +74,37 @@ end
72
74
  # option java_outer_classname = "TypesProto";
73
75
  # option java_package = "com.google.shopping.type";
74
76
  #
77
+ # // The weight represented as the value in string and the unit.
78
+ # message Weight {
79
+ # // The weight unit.
80
+ # enum WeightUnit {
81
+ # // unit unspecified
82
+ # WEIGHT_UNIT_UNSPECIFIED = 0;
83
+ #
84
+ # // lb unit.
85
+ # POUND = 1;
86
+ #
87
+ # // kg unit.
88
+ # KILOGRAM = 2;
89
+ # }
90
+ #
91
+ # // Required. The weight represented as a number in micros (1 million micros is
92
+ # // an equivalent to one's currency standard unit, for example, 1 kg = 1000000
93
+ # // micros).
94
+ # // This field can also be set as infinity by setting to -1.
95
+ # // This field only support -1 and positive value.
96
+ # optional int64 amount_micros = 1;
97
+ #
98
+ # // Required. The weight unit.
99
+ # // Acceptable values are: kg and lb
100
+ # WeightUnit unit = 2;
101
+ # }
102
+ #
75
103
  # // The price represented as a number and currency.
76
104
  # message Price {
77
105
  # // The price represented as a number in micros (1 million micros is an
78
106
  # // equivalent to one's currency standard unit, for example, 1 USD = 1000000
79
107
  # // micros).
80
- # // This field can also be set as infinity by setting to -1.
81
- # // This field only support -1 and positive value.
82
108
  # optional int64 amount_micros = 1;
83
109
  #
84
110
  # // The currency of the price using three-letter acronyms according to [ISO
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module Shopping
19
19
  module Type
20
- VERSION = "0.4.0".freeze
20
+ VERSION = "0.5.0".freeze
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-type
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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: 2024-04-19 00:00:00.000000000 Z
11
+ date: 2024-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf