google-shopping-merchant-accounts-v1 0.3.2 → 0.4.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: d331420fb4e6be12d22966e2d9d1fdac7a7e306cdab2d779be77ab943de0c183
4
- data.tar.gz: 87e71f2775f94c3031d35939dfc9a765d0344421b2deef0356c95f4cf4f968c1
3
+ metadata.gz: 710538a889881d3d2e5c50c121985a493ec5ec660c6bc56b29df8f669e2ab910
4
+ data.tar.gz: d64a5fc85322c46ae47b9176e13aa0ecb46318f6ea789e36721d64828dca968e
5
5
  SHA512:
6
- metadata.gz: cd0a3a1572d09bc4ce1a94d19747a040837eb1d103de76664bcf27fbe9679450248f494847c8203c918d6817fba707f2abbbfc317f5ec6dd238010a966502682
7
- data.tar.gz: b6d9e8c8be0cbec17b0c43d1bca0bb989069d3dc4e81dd5629d7317f10cb8095f630b84124e96d881c44c6057b14a7bb69787d1642213c09fd9c4e1a699b439b
6
+ metadata.gz: ae5b0ae1d9ed807f82b41630338544b1e7b5db0f394058ebb151edba9c9d3adc7905fd82c3b373197756b9a86b85f00020df4abaad18d32a856d0834a7f78966
7
+ data.tar.gz: baeaf6b48665c543e9c47abc9f8bab4344699b8c39b828f7ebd52037a1520fc8560ffe2b21f629adf2a7486f9ccc4dc8b16b8fde9a518aaad1f277f32a2213d2
@@ -11,9 +11,10 @@ require 'google/api/resource_pb'
11
11
  require 'google/protobuf/empty_pb'
12
12
  require 'google/protobuf/field_mask_pb'
13
13
  require 'google/protobuf/wrappers_pb'
14
+ require 'google/type/latlng_pb'
14
15
 
15
16
 
16
- descriptor_data = "\n2google/shopping/merchant/accounts/v1/regions.proto\x12$google.shopping.merchant.accounts.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\"K\n\x10GetRegionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!merchantapi.googleapis.com/Region\"\xac\x01\n\x13\x43reateRegionRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x16\n\tregion_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x06region\x18\x03 \x01(\x0b\x32,.google.shopping.merchant.accounts.v1.RegionB\x03\xe0\x41\x02\"\xa9\x01\n\x19\x42\x61tchCreateRegionsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12P\n\x08requests\x18\x02 \x03(\x0b\x32\x39.google.shopping.merchant.accounts.v1.CreateRegionRequestB\x03\xe0\x41\x02\"[\n\x1a\x42\x61tchCreateRegionsResponse\x12=\n\x07regions\x18\x01 \x03(\x0b\x32,.google.shopping.merchant.accounts.v1.Region\"\x8e\x01\n\x13UpdateRegionRequest\x12\x41\n\x06region\x18\x01 \x01(\x0b\x32,.google.shopping.merchant.accounts.v1.RegionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xa9\x01\n\x19\x42\x61tchUpdateRegionsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12P\n\x08requests\x18\x02 \x03(\x0b\x32\x39.google.shopping.merchant.accounts.v1.UpdateRegionRequestB\x03\xe0\x41\x02\"[\n\x1a\x42\x61tchUpdateRegionsResponse\x12=\n\x07regions\x18\x01 \x03(\x0b\x32,.google.shopping.merchant.accounts.v1.Region\"N\n\x13\x44\x65leteRegionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!merchantapi.googleapis.com/Region\"\xa9\x01\n\x19\x42\x61tchDeleteRegionsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12P\n\x08requests\x18\x02 \x03(\x0b\x32\x39.google.shopping.merchant.accounts.v1.DeleteRegionRequestB\x03\xe0\x41\x02\"\x81\x01\n\x12ListRegionsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x13ListRegionsResponse\x12=\n\x07regions\x18\x01 \x03(\x0b\x32,.google.shopping.merchant.accounts.v1.Region\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe5\x05\n\x06Region\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1e\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12Z\n\x10postal_code_area\x18\x03 \x01(\x0b\x32;.google.shopping.merchant.accounts.v1.Region.PostalCodeAreaB\x03\xe0\x41\x01\x12W\n\x0egeotarget_area\x18\x04 \x01(\x0b\x32:.google.shopping.merchant.accounts.v1.Region.GeoTargetAreaB\x03\xe0\x41\x01\x12\x44\n\x1bregional_inventory_eligible\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12:\n\x11shipping_eligible\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x1a\xcb\x01\n\x0ePostalCodeArea\x12\x18\n\x0bregion_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x66\n\x0cpostal_codes\x18\x02 \x03(\x0b\x32K.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeB\x03\xe0\x41\x02\x1a\x37\n\x0fPostalCodeRange\x12\x12\n\x05\x62\x65gin\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03\x65nd\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a\x34\n\rGeoTargetArea\x12#\n\x16geotarget_criteria_ids\x18\x01 \x03(\x03\x42\x03\xe0\x41\x02:\\\xea\x41Y\n!merchantapi.googleapis.com/Region\x12#accounts/{account}/regions/{region}*\x07regions2\x06regionB\x0f\n\r_display_name2\xe8\x0c\n\x0eRegionsService\x12\xaa\x01\n\tGetRegion\x12\x36.google.shopping.merchant.accounts.v1.GetRegionRequest\x1a,.google.shopping.merchant.accounts.v1.Region\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02*\x12(/accounts/v1/{name=accounts/*/regions/*}\x12\xcb\x01\n\x0c\x43reateRegion\x12\x39.google.shopping.merchant.accounts.v1.CreateRegionRequest\x1a,.google.shopping.merchant.accounts.v1.Region\"R\xda\x41\x17parent,region,region_id\x82\xd3\xe4\x93\x02\x32\"(/accounts/v1/{parent=accounts/*}/regions:\x06region\x12\xd8\x01\n\x12\x42\x61tchCreateRegions\x12?.google.shopping.merchant.accounts.v1.BatchCreateRegionsRequest\x1a@.google.shopping.merchant.accounts.v1.BatchCreateRegionsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/accounts/v1/{parent=accounts/*}/regions:batchCreate:\x01*\x12\xcd\x01\n\x0cUpdateRegion\x12\x39.google.shopping.merchant.accounts.v1.UpdateRegionRequest\x1a,.google.shopping.merchant.accounts.v1.Region\"T\xda\x41\x12region,update_mask\x82\xd3\xe4\x93\x02\x39\x32//accounts/v1/{region.name=accounts/*/regions/*}:\x06region\x12\xd8\x01\n\x12\x42\x61tchUpdateRegions\x12?.google.shopping.merchant.accounts.v1.BatchUpdateRegionsRequest\x1a@.google.shopping.merchant.accounts.v1.BatchUpdateRegionsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/accounts/v1/{parent=accounts/*}/regions:batchUpdate:\x01*\x12\x9a\x01\n\x0c\x44\x65leteRegion\x12\x39.google.shopping.merchant.accounts.v1.DeleteRegionRequest\x1a\x16.google.protobuf.Empty\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02**(/accounts/v1/{name=accounts/*/regions/*}\x12\xae\x01\n\x12\x42\x61tchDeleteRegions\x12?.google.shopping.merchant.accounts.v1.BatchDeleteRegionsRequest\x1a\x16.google.protobuf.Empty\"?\x82\xd3\xe4\x93\x02\x39\"4/accounts/v1/{parent=accounts/*}/regions:batchDelete:\x01*\x12\xbd\x01\n\x0bListRegions\x12\x38.google.shopping.merchant.accounts.v1.ListRegionsRequest\x1a\x39.google.shopping.merchant.accounts.v1.ListRegionsResponse\"9\xda\x41\x06parent\x82\xd3\xe4\x93\x02*\x12(/accounts/v1/{parent=accounts/*}/regions\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\xff\x01\n(com.google.shopping.merchant.accounts.v1B\x0cRegionsProtoP\x01ZJcloud.google.com/go/shopping/merchant/accounts/apiv1/accountspb;accountspb\xaa\x02$Google.Shopping.Merchant.Accounts.V1\xca\x02$Google\\Shopping\\Merchant\\Accounts\\V1\xea\x02(Google::Shopping::Merchant::Accounts::V1b\x06proto3"
17
+ descriptor_data = "\n2google/shopping/merchant/accounts/v1/regions.proto\x12$google.shopping.merchant.accounts.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"K\n\x10GetRegionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!merchantapi.googleapis.com/Region\"\xac\x01\n\x13\x43reateRegionRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x16\n\tregion_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x06region\x18\x03 \x01(\x0b\x32,.google.shopping.merchant.accounts.v1.RegionB\x03\xe0\x41\x02\"\xa9\x01\n\x19\x42\x61tchCreateRegionsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12P\n\x08requests\x18\x02 \x03(\x0b\x32\x39.google.shopping.merchant.accounts.v1.CreateRegionRequestB\x03\xe0\x41\x02\"[\n\x1a\x42\x61tchCreateRegionsResponse\x12=\n\x07regions\x18\x01 \x03(\x0b\x32,.google.shopping.merchant.accounts.v1.Region\"\x8e\x01\n\x13UpdateRegionRequest\x12\x41\n\x06region\x18\x01 \x01(\x0b\x32,.google.shopping.merchant.accounts.v1.RegionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xa9\x01\n\x19\x42\x61tchUpdateRegionsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12P\n\x08requests\x18\x02 \x03(\x0b\x32\x39.google.shopping.merchant.accounts.v1.UpdateRegionRequestB\x03\xe0\x41\x02\"[\n\x1a\x42\x61tchUpdateRegionsResponse\x12=\n\x07regions\x18\x01 \x03(\x0b\x32,.google.shopping.merchant.accounts.v1.Region\"N\n\x13\x44\x65leteRegionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!merchantapi.googleapis.com/Region\"\xa9\x01\n\x19\x42\x61tchDeleteRegionsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12P\n\x08requests\x18\x02 \x03(\x0b\x32\x39.google.shopping.merchant.accounts.v1.DeleteRegionRequestB\x03\xe0\x41\x02\"\x81\x01\n\x12ListRegionsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"merchantapi.googleapis.com/Account\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x13ListRegionsResponse\x12=\n\x07regions\x18\x01 \x03(\x0b\x32,.google.shopping.merchant.accounts.v1.Region\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc9\x08\n\x06Region\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1e\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12Z\n\x10postal_code_area\x18\x03 \x01(\x0b\x32;.google.shopping.merchant.accounts.v1.Region.PostalCodeAreaB\x03\xe0\x41\x01\x12W\n\x0egeotarget_area\x18\x04 \x01(\x0b\x32:.google.shopping.merchant.accounts.v1.Region.GeoTargetAreaB\x03\xe0\x41\x01\x12\x44\n\x1bregional_inventory_eligible\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12:\n\x11shipping_eligible\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12Q\n\x0bradius_area\x18\x07 \x01(\x0b\x32\x37.google.shopping.merchant.accounts.v1.Region.RadiusAreaB\x03\xe0\x41\x01\x1a\xcb\x01\n\x0ePostalCodeArea\x12\x18\n\x0bregion_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x66\n\x0cpostal_codes\x18\x02 \x03(\x0b\x32K.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeB\x03\xe0\x41\x02\x1a\x37\n\x0fPostalCodeRange\x12\x12\n\x05\x62\x65gin\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03\x65nd\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a\x34\n\rGeoTargetArea\x12#\n\x16geotarget_criteria_ids\x18\x01 \x03(\x03\x42\x03\xe0\x41\x02\x1a\x8e\x02\n\nRadiusArea\x12\x18\n\x0bregion_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12)\n\x07lat_lng\x18\x02 \x01(\x0b\x32\x13.google.type.LatLngB\x03\xe0\x41\x02\x12\x13\n\x06radius\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12^\n\x0cradius_units\x18\x04 \x01(\x0e\x32\x43.google.shopping.merchant.accounts.v1.Region.RadiusArea.RadiusUnitsB\x03\xe0\x41\x01\"F\n\x0bRadiusUnits\x12\x1c\n\x18RADIUS_UNITS_UNSPECIFIED\x10\x00\x12\t\n\x05MILES\x10\x01\x12\x0e\n\nKILOMETERS\x10\x02:\\\xea\x41Y\n!merchantapi.googleapis.com/Region\x12#accounts/{account}/regions/{region}*\x07regions2\x06regionB\x0f\n\r_display_name2\xe8\x0c\n\x0eRegionsService\x12\xaa\x01\n\tGetRegion\x12\x36.google.shopping.merchant.accounts.v1.GetRegionRequest\x1a,.google.shopping.merchant.accounts.v1.Region\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02*\x12(/accounts/v1/{name=accounts/*/regions/*}\x12\xcb\x01\n\x0c\x43reateRegion\x12\x39.google.shopping.merchant.accounts.v1.CreateRegionRequest\x1a,.google.shopping.merchant.accounts.v1.Region\"R\xda\x41\x17parent,region,region_id\x82\xd3\xe4\x93\x02\x32\"(/accounts/v1/{parent=accounts/*}/regions:\x06region\x12\xd8\x01\n\x12\x42\x61tchCreateRegions\x12?.google.shopping.merchant.accounts.v1.BatchCreateRegionsRequest\x1a@.google.shopping.merchant.accounts.v1.BatchCreateRegionsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/accounts/v1/{parent=accounts/*}/regions:batchCreate:\x01*\x12\xcd\x01\n\x0cUpdateRegion\x12\x39.google.shopping.merchant.accounts.v1.UpdateRegionRequest\x1a,.google.shopping.merchant.accounts.v1.Region\"T\xda\x41\x12region,update_mask\x82\xd3\xe4\x93\x02\x39\x32//accounts/v1/{region.name=accounts/*/regions/*}:\x06region\x12\xd8\x01\n\x12\x42\x61tchUpdateRegions\x12?.google.shopping.merchant.accounts.v1.BatchUpdateRegionsRequest\x1a@.google.shopping.merchant.accounts.v1.BatchUpdateRegionsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/accounts/v1/{parent=accounts/*}/regions:batchUpdate:\x01*\x12\x9a\x01\n\x0c\x44\x65leteRegion\x12\x39.google.shopping.merchant.accounts.v1.DeleteRegionRequest\x1a\x16.google.protobuf.Empty\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02**(/accounts/v1/{name=accounts/*/regions/*}\x12\xae\x01\n\x12\x42\x61tchDeleteRegions\x12?.google.shopping.merchant.accounts.v1.BatchDeleteRegionsRequest\x1a\x16.google.protobuf.Empty\"?\x82\xd3\xe4\x93\x02\x39\"4/accounts/v1/{parent=accounts/*}/regions:batchDelete:\x01*\x12\xbd\x01\n\x0bListRegions\x12\x38.google.shopping.merchant.accounts.v1.ListRegionsRequest\x1a\x39.google.shopping.merchant.accounts.v1.ListRegionsResponse\"9\xda\x41\x06parent\x82\xd3\xe4\x93\x02*\x12(/accounts/v1/{parent=accounts/*}/regions\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\xff\x01\n(com.google.shopping.merchant.accounts.v1B\x0cRegionsProtoP\x01ZJcloud.google.com/go/shopping/merchant/accounts/apiv1/accountspb;accountspb\xaa\x02$Google.Shopping.Merchant.Accounts.V1\xca\x02$Google\\Shopping\\Merchant\\Accounts\\V1\xea\x02(Google::Shopping::Merchant::Accounts::V1b\x06proto3"
17
18
 
18
19
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
20
 
@@ -30,6 +31,7 @@ rescue TypeError
30
31
  imports = [
31
32
  ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
32
33
  ["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
34
+ ["google.type.LatLng", "google/type/latlng.proto"],
33
35
  ]
34
36
  imports.each do |type_name, expected_filename|
35
37
  import_file = pool.lookup(type_name).file_descriptor
@@ -61,6 +63,8 @@ module Google
61
63
  Region::PostalCodeArea = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.Region.PostalCodeArea").msgclass
62
64
  Region::PostalCodeArea::PostalCodeRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRange").msgclass
63
65
  Region::GeoTargetArea = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.Region.GeoTargetArea").msgclass
66
+ Region::RadiusArea = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.Region.RadiusArea").msgclass
67
+ Region::RadiusArea::RadiusUnits = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.accounts.v1.Region.RadiusArea.RadiusUnits").enummodule
64
68
  end
65
69
  end
66
70
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Accounts
24
24
  module V1
25
- VERSION = "0.3.2"
25
+ VERSION = "0.4.0"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,9 @@ module Google
196
196
  # @return [::Google::Protobuf::BoolValue]
197
197
  # Output only. Indicates if the region is eligible for use in the Shipping
198
198
  # Services configuration.
199
+ # @!attribute [rw] radius_area
200
+ # @return [::Google::Shopping::Merchant::Accounts::V1::Region::RadiusArea]
201
+ # Optional. A radius area that defines the region area.
199
202
  class Region
200
203
  include ::Google::Protobuf::MessageExts
201
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -247,6 +250,39 @@ module Google
247
250
  include ::Google::Protobuf::MessageExts
248
251
  extend ::Google::Protobuf::MessageExts::ClassMethods
249
252
  end
253
+
254
+ # A radius area that defines the region area.
255
+ # @!attribute [rw] region_code
256
+ # @return [::String]
257
+ # Required. [CLDR territory
258
+ # code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
259
+ # or the country the radius area applies to.
260
+ # @!attribute [rw] lat_lng
261
+ # @return [::Google::Type::LatLng]
262
+ # Required. The center of the radius area. It represents a
263
+ # latitude/longitude pair in decimal degrees format.
264
+ # @!attribute [rw] radius
265
+ # @return [::Float]
266
+ # Required. The radius distance of the area.
267
+ # @!attribute [rw] radius_units
268
+ # @return [::Google::Shopping::Merchant::Accounts::V1::Region::RadiusArea::RadiusUnits]
269
+ # Optional. The unit of the radius.
270
+ class RadiusArea
271
+ include ::Google::Protobuf::MessageExts
272
+ extend ::Google::Protobuf::MessageExts::ClassMethods
273
+
274
+ # The unit of measurement of the radius. Default is KILOMETERS.
275
+ module RadiusUnits
276
+ # Unused default value
277
+ RADIUS_UNITS_UNSPECIFIED = 0
278
+
279
+ # The distance is measured in miles.
280
+ MILES = 1
281
+
282
+ # The distance is measured in kilometers.
283
+ KILOMETERS = 2
284
+ end
285
+ end
250
286
  end
251
287
  end
252
288
  end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Type
22
+ # An object that represents a latitude/longitude pair. This is expressed as a
23
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
24
+ # specified otherwise, this must conform to the
25
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
26
+ # standard</a>. Values must be within normalized ranges.
27
+ # @!attribute [rw] latitude
28
+ # @return [::Float]
29
+ # The latitude in degrees. It must be in the range [-90.0, +90.0].
30
+ # @!attribute [rw] longitude
31
+ # @return [::Float]
32
+ # The longitude in degrees. It must be in the range [-180.0, +180.0].
33
+ class LatLng
34
+ include ::Google::Protobuf::MessageExts
35
+ extend ::Google::Protobuf::MessageExts::ClassMethods
36
+ end
37
+ end
38
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-accounts-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -322,6 +322,7 @@ files:
322
322
  - proto_docs/google/shopping/type/types.rb
323
323
  - proto_docs/google/type/date.rb
324
324
  - proto_docs/google/type/datetime.rb
325
+ - proto_docs/google/type/latlng.rb
325
326
  - proto_docs/google/type/phone_number.rb
326
327
  - proto_docs/google/type/postal_address.rb
327
328
  homepage: https://github.com/googleapis/google-cloud-ruby