Skip to content

Commit 7c6f2d3

Browse files
feat: Automated regeneration of merchantapi accounts_v1beta client (googleapis#25076)
Auto-created at 2025-11-30 09:44:08 +0000 using the toys pull request generator.
1 parent a452bf6 commit 7c6f2d3

File tree

5 files changed

+123
-2
lines changed

5 files changed

+123
-2
lines changed

api_names_out.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296784,6 +296784,9 @@
296784296784
"/merchantapi:accounts_v1beta/ItemUpdatesAccountLevelSettings/allowConditionUpdates": allow_condition_updates
296785296785
"/merchantapi:accounts_v1beta/ItemUpdatesAccountLevelSettings/allowPriceUpdates": allow_price_updates
296786296786
"/merchantapi:accounts_v1beta/ItemUpdatesAccountLevelSettings/allowStrictAvailabilityUpdates": allow_strict_availability_updates
296787+
"/merchantapi:accounts_v1beta/LatLng": lat_lng
296788+
"/merchantapi:accounts_v1beta/LatLng/latitude": latitude
296789+
"/merchantapi:accounts_v1beta/LatLng/longitude": longitude
296787296790
"/merchantapi:accounts_v1beta/LfpLink": lfp_link
296788296791
"/merchantapi:accounts_v1beta/LfpLink/externalAccountId": external_account_id
296789296792
"/merchantapi:accounts_v1beta/LfpLink/lfpProvider": lfp_provider
@@ -296959,6 +296962,11 @@
296959296962
"/merchantapi:accounts_v1beta/ProposeAccountServiceRequest": propose_account_service_request
296960296963
"/merchantapi:accounts_v1beta/ProposeAccountServiceRequest/accountService": account_service
296961296964
"/merchantapi:accounts_v1beta/ProposeAccountServiceRequest/provider": provider
296965+
"/merchantapi:accounts_v1beta/RadiusArea": radius_area
296966+
"/merchantapi:accounts_v1beta/RadiusArea/latLng": lat_lng
296967+
"/merchantapi:accounts_v1beta/RadiusArea/radius": radius
296968+
"/merchantapi:accounts_v1beta/RadiusArea/radiusUnits": radius_units
296969+
"/merchantapi:accounts_v1beta/RadiusArea/regionCode": region_code
296962296970
"/merchantapi:accounts_v1beta/RateGroup": rate_group
296963296971
"/merchantapi:accounts_v1beta/RateGroup/applicableShippingLabels": applicable_shipping_labels
296964296972
"/merchantapi:accounts_v1beta/RateGroup/applicableShippingLabels/applicable_shipping_label": applicable_shipping_label
@@ -296974,6 +296982,7 @@
296974296982
"/merchantapi:accounts_v1beta/Region/geotargetArea": geotarget_area
296975296983
"/merchantapi:accounts_v1beta/Region/name": name
296976296984
"/merchantapi:accounts_v1beta/Region/postalCodeArea": postal_code_area
296985+
"/merchantapi:accounts_v1beta/Region/radiusArea": radius_area
296977296986
"/merchantapi:accounts_v1beta/Region/regionalInventoryEligible": regional_inventory_eligible
296978296987
"/merchantapi:accounts_v1beta/Region/shippingEligible": shipping_eligible
296979296988
"/merchantapi:accounts_v1beta/RegisterGCPRequest": register_gcp_request

generated/google-apis-merchantapi_accounts_v1beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-merchantapi_accounts_v1beta
22

3+
### v0.29.0 (2025-11-30)
4+
5+
* Regenerated from discovery document revision 20251120
6+
37
### v0.28.0 (2025-11-23)
48

59
* Regenerated from discovery document revision 20251115

generated/google-apis-merchantapi_accounts_v1beta/lib/google/apis/merchantapi_accounts_v1beta/classes.rb

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2052,6 +2052,34 @@ def update!(**args)
20522052
end
20532053
end
20542054

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+
20552083
# Collection of information related to the LFP link.
20562084
class LfpLink
20572085
include Google::Apis::Core::Hashable
@@ -3412,6 +3440,47 @@ def update!(**args)
34123440
end
34133441
end
34143442

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+
34153484
# Shipping rate group definitions. Only the last one is allowed to have an empty
34163485
# `applicable_shipping_labels`, which means "everything else". The other `
34173486
# applicable_shipping_labels` must not overlap.
@@ -3503,6 +3572,11 @@ class Region
35033572
# @return [Google::Apis::MerchantapiAccountsV1beta::PostalCodeArea]
35043573
attr_accessor :postal_code_area
35053574

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+
35063580
# Output only. Indicates if the region is eligible for use in the Regional
35073581
# Inventory configuration.
35083582
# Corresponds to the JSON property `regionalInventoryEligible`
@@ -3527,6 +3601,7 @@ def update!(**args)
35273601
@geotarget_area = args[:geotarget_area] if args.key?(:geotarget_area)
35283602
@name = args[:name] if args.key?(:name)
35293603
@postal_code_area = args[:postal_code_area] if args.key?(:postal_code_area)
3604+
@radius_area = args[:radius_area] if args.key?(:radius_area)
35303605
@regional_inventory_eligible = args[:regional_inventory_eligible] if args.key?(:regional_inventory_eligible)
35313606
@shipping_eligible = args[:shipping_eligible] if args.key?(:shipping_eligible)
35323607
end

generated/google-apis-merchantapi_accounts_v1beta/lib/google/apis/merchantapi_accounts_v1beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module MerchantapiAccountsV1beta
1818
# Version of the google-apis-merchantapi_accounts_v1beta gem
19-
GEM_VERSION = "0.28.0"
19+
GEM_VERSION = "0.29.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251115"
25+
REVISION = "20251120"
2626
end
2727
end
2828
end

generated/google-apis-merchantapi_accounts_v1beta/lib/google/apis/merchantapi_accounts_v1beta/representations.rb

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
340340
include Google::Apis::Core::JsonObjectSupport
341341
end
342342

343+
class LatLng
344+
class Representation < Google::Apis::Core::JsonRepresentation; end
345+
346+
include Google::Apis::Core::JsonObjectSupport
347+
end
348+
343349
class LfpLink
344350
class Representation < Google::Apis::Core::JsonRepresentation; end
345351

@@ -568,6 +574,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
568574
include Google::Apis::Core::JsonObjectSupport
569575
end
570576

577+
class RadiusArea
578+
class Representation < Google::Apis::Core::JsonRepresentation; end
579+
580+
include Google::Apis::Core::JsonObjectSupport
581+
end
582+
571583
class RateGroup
572584
class Representation < Google::Apis::Core::JsonRepresentation; end
573585

@@ -1318,6 +1330,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
13181330
end
13191331
end
13201332

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+
13211341
class LfpLink
13221342
# @private
13231343
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1685,6 +1705,17 @@ class Representation < Google::Apis::Core::JsonRepresentation
16851705
end
16861706
end
16871707

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+
16881719
class RateGroup
16891720
# @private
16901721
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1710,6 +1741,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
17101741
property :name, as: 'name'
17111742
property :postal_code_area, as: 'postalCodeArea', class: Google::Apis::MerchantapiAccountsV1beta::PostalCodeArea, decorator: Google::Apis::MerchantapiAccountsV1beta::PostalCodeArea::Representation
17121743

1744+
property :radius_area, as: 'radiusArea', class: Google::Apis::MerchantapiAccountsV1beta::RadiusArea, decorator: Google::Apis::MerchantapiAccountsV1beta::RadiusArea::Representation
1745+
17131746
property :regional_inventory_eligible, as: 'regionalInventoryEligible'
17141747
property :shipping_eligible, as: 'shippingEligible'
17151748
end

0 commit comments

Comments
 (0)