google-apis-merchantapi_accounts_v1beta 0.28.0 → 0.29.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: 8675a6b966175e6701a7e24b09bc8b7f4ccaf491c9ec8c079b5bde397ea9ad3e
4
- data.tar.gz: 60a55528b97fb0fa5d3cf1493c3297f1b3c0f6d6b26ce0672b7bc63e0ad0fbed
3
+ metadata.gz: b081d89451bff1bceebb2ab6d2eac834bad0ed4832a00c56904db57ac1501701
4
+ data.tar.gz: 8453d6e2bc9c326ed1bec14235e8efc65f0cbefffadcc03492e9ebfe9bfa094e
5
5
  SHA512:
6
- metadata.gz: d963a5182f1711f3e29229e54170e61b87548e9fcaadb43ca2f4164433118ee944ee7431951b2e485ecf9dc3463cd9e26897915d165f200aac4013410af92a7d
7
- data.tar.gz: 25e1c7847c3da2220d1112c50656a32a4cf28bd3ba08adc5216d03d57161939344973eb138326bee969d097a38e5dde87ecdf05bfffca280d88e761983a0a221
6
+ metadata.gz: c9a1ddc6cfa9a0ef547f3f9ce9d586bab8b7ddf9ab73c4a2303f5dc1a5d337d74809c3b54191d0f4f56a630643bc0a2516e28a8c91ef91f3144e6e7163a1c5a2
7
+ data.tar.gz: 0a0865b6733b01958348032d39962d4db8471b9a9d145aeb2c528916f87554351f458c0f3eac16d6d6725d4ae1a4ed325db6f95ab8a161d18473ade696e36bac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-merchantapi_accounts_v1beta
2
2
 
3
+ ### v0.29.0 (2025-11-30)
4
+
5
+ * Regenerated from discovery document revision 20251120
6
+
3
7
  ### v0.28.0 (2025-11-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20251115
@@ -2052,6 +2052,34 @@ module Google
2052
2052
  end
2053
2053
  end
2054
2054
 
2055
+ # An object that represents a latitude/longitude pair. This is expressed as a
2056
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
2057
+ # specified otherwise, this object must conform to the WGS84 standard. Values
2058
+ # must be within normalized ranges.
2059
+ class LatLng
2060
+ include Google::Apis::Core::Hashable
2061
+
2062
+ # The latitude in degrees. It must be in the range [-90.0, +90.0].
2063
+ # Corresponds to the JSON property `latitude`
2064
+ # @return [Float]
2065
+ attr_accessor :latitude
2066
+
2067
+ # The longitude in degrees. It must be in the range [-180.0, +180.0].
2068
+ # Corresponds to the JSON property `longitude`
2069
+ # @return [Float]
2070
+ attr_accessor :longitude
2071
+
2072
+ def initialize(**args)
2073
+ update!(**args)
2074
+ end
2075
+
2076
+ # Update properties of this object
2077
+ def update!(**args)
2078
+ @latitude = args[:latitude] if args.key?(:latitude)
2079
+ @longitude = args[:longitude] if args.key?(:longitude)
2080
+ end
2081
+ end
2082
+
2055
2083
  # Collection of information related to the LFP link.
2056
2084
  class LfpLink
2057
2085
  include Google::Apis::Core::Hashable
@@ -3412,6 +3440,47 @@ module Google
3412
3440
  end
3413
3441
  end
3414
3442
 
3443
+ # A radius area that defines the region area.
3444
+ class RadiusArea
3445
+ include Google::Apis::Core::Hashable
3446
+
3447
+ # An object that represents a latitude/longitude pair. This is expressed as a
3448
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
3449
+ # specified otherwise, this object must conform to the WGS84 standard. Values
3450
+ # must be within normalized ranges.
3451
+ # Corresponds to the JSON property `latLng`
3452
+ # @return [Google::Apis::MerchantapiAccountsV1beta::LatLng]
3453
+ attr_accessor :lat_lng
3454
+
3455
+ # Required. The radius distance of the area.
3456
+ # Corresponds to the JSON property `radius`
3457
+ # @return [Float]
3458
+ attr_accessor :radius
3459
+
3460
+ # Optional. The unit of the radius.
3461
+ # Corresponds to the JSON property `radiusUnits`
3462
+ # @return [String]
3463
+ attr_accessor :radius_units
3464
+
3465
+ # Required. [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/
3466
+ # common/main/en.xml) or the country the radius area applies to.
3467
+ # Corresponds to the JSON property `regionCode`
3468
+ # @return [String]
3469
+ attr_accessor :region_code
3470
+
3471
+ def initialize(**args)
3472
+ update!(**args)
3473
+ end
3474
+
3475
+ # Update properties of this object
3476
+ def update!(**args)
3477
+ @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
3478
+ @radius = args[:radius] if args.key?(:radius)
3479
+ @radius_units = args[:radius_units] if args.key?(:radius_units)
3480
+ @region_code = args[:region_code] if args.key?(:region_code)
3481
+ end
3482
+ end
3483
+
3415
3484
  # Shipping rate group definitions. Only the last one is allowed to have an empty
3416
3485
  # `applicable_shipping_labels`, which means "everything else". The other `
3417
3486
  # applicable_shipping_labels` must not overlap.
@@ -3503,6 +3572,11 @@ module Google
3503
3572
  # @return [Google::Apis::MerchantapiAccountsV1beta::PostalCodeArea]
3504
3573
  attr_accessor :postal_code_area
3505
3574
 
3575
+ # A radius area that defines the region area.
3576
+ # Corresponds to the JSON property `radiusArea`
3577
+ # @return [Google::Apis::MerchantapiAccountsV1beta::RadiusArea]
3578
+ attr_accessor :radius_area
3579
+
3506
3580
  # Output only. Indicates if the region is eligible for use in the Regional
3507
3581
  # Inventory configuration.
3508
3582
  # Corresponds to the JSON property `regionalInventoryEligible`
@@ -3527,6 +3601,7 @@ module Google
3527
3601
  @geotarget_area = args[:geotarget_area] if args.key?(:geotarget_area)
3528
3602
  @name = args[:name] if args.key?(:name)
3529
3603
  @postal_code_area = args[:postal_code_area] if args.key?(:postal_code_area)
3604
+ @radius_area = args[:radius_area] if args.key?(:radius_area)
3530
3605
  @regional_inventory_eligible = args[:regional_inventory_eligible] if args.key?(:regional_inventory_eligible)
3531
3606
  @shipping_eligible = args[:shipping_eligible] if args.key?(:shipping_eligible)
3532
3607
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MerchantapiAccountsV1beta
18
18
  # Version of the google-apis-merchantapi_accounts_v1beta gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251115"
25
+ REVISION = "20251120"
26
26
  end
27
27
  end
28
28
  end
@@ -340,6 +340,12 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class LatLng
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
343
349
  class LfpLink
344
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
351
 
@@ -568,6 +574,12 @@ module Google
568
574
  include Google::Apis::Core::JsonObjectSupport
569
575
  end
570
576
 
577
+ class RadiusArea
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
571
583
  class RateGroup
572
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
585
 
@@ -1318,6 +1330,14 @@ module Google
1318
1330
  end
1319
1331
  end
1320
1332
 
1333
+ class LatLng
1334
+ # @private
1335
+ class Representation < Google::Apis::Core::JsonRepresentation
1336
+ property :latitude, as: 'latitude'
1337
+ property :longitude, as: 'longitude'
1338
+ end
1339
+ end
1340
+
1321
1341
  class LfpLink
1322
1342
  # @private
1323
1343
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1685,6 +1705,17 @@ module Google
1685
1705
  end
1686
1706
  end
1687
1707
 
1708
+ class RadiusArea
1709
+ # @private
1710
+ class Representation < Google::Apis::Core::JsonRepresentation
1711
+ property :lat_lng, as: 'latLng', class: Google::Apis::MerchantapiAccountsV1beta::LatLng, decorator: Google::Apis::MerchantapiAccountsV1beta::LatLng::Representation
1712
+
1713
+ property :radius, as: 'radius'
1714
+ property :radius_units, as: 'radiusUnits'
1715
+ property :region_code, as: 'regionCode'
1716
+ end
1717
+ end
1718
+
1688
1719
  class RateGroup
1689
1720
  # @private
1690
1721
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1710,6 +1741,8 @@ module Google
1710
1741
  property :name, as: 'name'
1711
1742
  property :postal_code_area, as: 'postalCodeArea', class: Google::Apis::MerchantapiAccountsV1beta::PostalCodeArea, decorator: Google::Apis::MerchantapiAccountsV1beta::PostalCodeArea::Representation
1712
1743
 
1744
+ property :radius_area, as: 'radiusArea', class: Google::Apis::MerchantapiAccountsV1beta::RadiusArea, decorator: Google::Apis::MerchantapiAccountsV1beta::RadiusArea::Representation
1745
+
1713
1746
  property :regional_inventory_eligible, as: 'regionalInventoryEligible'
1714
1747
  property :shipping_eligible, as: 'shippingEligible'
1715
1748
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-merchantapi_accounts_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_accounts_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_accounts_v1beta/v0.28.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_accounts_v1beta/v0.29.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_accounts_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: