Skip to content

Commit 357d394

Browse files
feat: Automated regeneration of merchantapi products_v1beta client (googleapis#26273)
Auto-created at 2026-04-26 10:33:25 +0000 using the toys pull request generator.
1 parent d827b6e commit 357d394

5 files changed

Lines changed: 27 additions & 3 deletions

File tree

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313958,6 +313958,8 @@
313958313958
"/merchantapi:products_v1beta/Shipping/handlingCutoffTimezone": handling_cutoff_timezone
313959313959
"/merchantapi:products_v1beta/Shipping/locationGroupName": location_group_name
313960313960
"/merchantapi:products_v1beta/Shipping/locationId": location_id
313961+
"/merchantapi:products_v1beta/Shipping/loyaltyProgramLabel": loyalty_program_label
313962+
"/merchantapi:products_v1beta/Shipping/loyaltyTierLabel": loyalty_tier_label
313961313963
"/merchantapi:products_v1beta/Shipping/maxHandlingTime": max_handling_time
313962313964
"/merchantapi:products_v1beta/Shipping/maxTransitTime": max_transit_time
313963313965
"/merchantapi:products_v1beta/Shipping/minHandlingTime": min_handling_time

generated/google-apis-merchantapi_products_v1beta/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-merchantapi_products_v1beta
22

3-
### v0.27.0 (2026-04-19)
3+
### v0.27.0 (2026-04-26)
44

5-
* Regenerated from discovery document revision 20260415
5+
* Regenerated from discovery document revision 20260419
66

77
### v0.26.0 (2026-03-01)
88

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1900,6 +1900,24 @@ class Shipping
19001900
# @return [Fixnum]
19011901
attr_accessor :location_id
19021902

1903+
# Optional. The label of the [loyalty program](https://support.google.com/
1904+
# merchants/answer/6324484). Must match one of the program labels set in
1905+
# loyalty_programs. When set (in combination with [loyalty_tier_label](https://
1906+
# support.google.com/merchants/answer/6324484)), this shipping option is only
1907+
# applicable to loyalty program members of the specified tier.
1908+
# Corresponds to the JSON property `loyaltyProgramLabel`
1909+
# @return [String]
1910+
attr_accessor :loyalty_program_label
1911+
1912+
# Optional. The label of the [loyalty tier](https://support.google.com/merchants/
1913+
# answer/6324484) within the loyalty program. Must match one of the tiers set in
1914+
# the loyalty_programs. When set (in combination with [loyalty_program_label](
1915+
# https://support.google.com/merchants/answer/6324484)), this shipping option is
1916+
# only applicable to loyalty program members of the specified tier.
1917+
# Corresponds to the JSON property `loyaltyTierLabel`
1918+
# @return [String]
1919+
attr_accessor :loyalty_tier_label
1920+
19031921
# Maximum handling time (inclusive) between when the order is received and
19041922
# shipped in business days. 0 means that the order is shipped on the same day as
19051923
# it is received if it happens before the cut-off time. Both maxHandlingTime and
@@ -1969,6 +1987,8 @@ def update!(**args)
19691987
@handling_cutoff_timezone = args[:handling_cutoff_timezone] if args.key?(:handling_cutoff_timezone)
19701988
@location_group_name = args[:location_group_name] if args.key?(:location_group_name)
19711989
@location_id = args[:location_id] if args.key?(:location_id)
1990+
@loyalty_program_label = args[:loyalty_program_label] if args.key?(:loyalty_program_label)
1991+
@loyalty_tier_label = args[:loyalty_tier_label] if args.key?(:loyalty_tier_label)
19721992
@max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
19731993
@max_transit_time = args[:max_transit_time] if args.key?(:max_transit_time)
19741994
@min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module MerchantapiProductsV1beta
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
637637
property :handling_cutoff_timezone, as: 'handlingCutoffTimezone'
638638
property :location_group_name, as: 'locationGroupName'
639639
property :location_id, :numeric_string => true, as: 'locationId'
640+
property :loyalty_program_label, as: 'loyaltyProgramLabel'
641+
property :loyalty_tier_label, as: 'loyaltyTierLabel'
640642
property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime'
641643
property :max_transit_time, :numeric_string => true, as: 'maxTransitTime'
642644
property :min_handling_time, :numeric_string => true, as: 'minHandlingTime'

0 commit comments

Comments
 (0)