google-apis-walletobjects_v1 0.17.0 → 0.19.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: 24ebeb4effe136c1b6f4a8b9b80ed116a9c65c56616ebc9d708d101f62da23cf
4
- data.tar.gz: 9daa798a7b307aaced886e766b0afe05ccb5e60c17fb9f4ac8155849d88b2f0c
3
+ metadata.gz: ca42f6166628e2eccee3d7ced2959d813743cc60bede6289d2ae3f0e5057e10a
4
+ data.tar.gz: 3eb7b4d44788a7b7f522d563b90349b26c7e43b3643e0e49368808a2633de7f6
5
5
  SHA512:
6
- metadata.gz: 8a72105e23abbb76b8639e767cae93e4308cdece7e5725beccd3a1c9c66dbbd4fba03dc1558e403a75bbd2291ce5a17d58818eedd4c58478e3ebbed4667ee0ff
7
- data.tar.gz: 1b3498beec7b298e79c9861f9cc64248281486250d848c39d7f2852eb7acc7f9895397c21c479a895d2853666b00157d900cbe0fe2844701560ac7981219128a
6
+ metadata.gz: f68685cddddbd33ff3912eb7c8fd0f210384505e798ffa79a8c1d7b3029f8b37065a6f095470dc480f02c74fce79b503d41ed9a5cccc2094cb0f0d743f7fe414
7
+ data.tar.gz: b8ad9643347fe4b0fb11f599460fcbb3798c5d672e39adededfb45035904720acea0d3fc66735ef04a190db01255449d59e3e88daf5799b6be552cbaaf017754
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-walletobjects_v1
2
2
 
3
+ ### v0.19.0 (2024-12-08)
4
+
5
+ * Regenerated from discovery document revision 20241203
6
+
7
+ ### v0.18.0 (2024-11-24)
8
+
9
+ * Regenerated from discovery document revision 20241119
10
+
3
11
  ### v0.17.0 (2024-10-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20241017
@@ -151,6 +151,11 @@ module Google
151
151
  # @return [Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo]
152
152
  attr_accessor :android_app_link_info
153
153
 
154
+ # Optional display text for the app link button. Character limit is 30.
155
+ # Corresponds to the JSON property `displayText`
156
+ # @return [Google::Apis::WalletobjectsV1::LocalizedString]
157
+ attr_accessor :display_text
158
+
154
159
  # Deprecated. Links to open iOS apps are not supported.
155
160
  # Corresponds to the JSON property `iosAppLinkInfo`
156
161
  # @return [Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo]
@@ -168,6 +173,7 @@ module Google
168
173
  # Update properties of this object
169
174
  def update!(**args)
170
175
  @android_app_link_info = args[:android_app_link_info] if args.key?(:android_app_link_info)
176
+ @display_text = args[:display_text] if args.key?(:display_text)
171
177
  @ios_app_link_info = args[:ios_app_link_info] if args.key?(:ios_app_link_info)
172
178
  @web_app_link_info = args[:web_app_link_info] if args.key?(:web_app_link_info)
173
179
  end
@@ -1148,7 +1154,7 @@ module Google
1148
1154
  end
1149
1155
 
1150
1156
  # Information about how a class may be discovered and instantiated from within
1151
- # the Android Pay app. This is done by searching for a loyalty or gift card
1157
+ # the Google Wallet app. This is done by searching for a loyalty or gift card
1152
1158
  # program and scanning or manually entering.
1153
1159
  class DiscoverableProgram
1154
1160
  include Google::Apis::Core::Hashable
@@ -1668,6 +1674,14 @@ module Google
1668
1674
  # @return [Google::Apis::WalletobjectsV1::Image]
1669
1675
  attr_accessor :logo
1670
1676
 
1677
+ # Merchant locations. There is a maximum of ten on the class. Any additional
1678
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
1679
+ # trigger a notification when a user enters within a Google-set radius of the
1680
+ # point. This field replaces the deprecated LatLongPoints.
1681
+ # Corresponds to the JSON property `merchantLocations`
1682
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
1683
+ attr_accessor :merchant_locations
1684
+
1671
1685
  # An array of messages displayed in the app. All users of this object will
1672
1686
  # receive its associated messages. The maximum number of these fields is 10.
1673
1687
  # Corresponds to the JSON property `messages`
@@ -1826,6 +1840,7 @@ module Google
1826
1840
  @localized_issuer_name = args[:localized_issuer_name] if args.key?(:localized_issuer_name)
1827
1841
  @locations = args[:locations] if args.key?(:locations)
1828
1842
  @logo = args[:logo] if args.key?(:logo)
1843
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
1829
1844
  @messages = args[:messages] if args.key?(:messages)
1830
1845
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
1831
1846
  @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
@@ -2029,6 +2044,14 @@ module Google
2029
2044
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
2030
2045
  attr_accessor :locations
2031
2046
 
2047
+ # Merchant locations. There is a maximum of ten on the object. Any additional
2048
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
2049
+ # trigger a notification when a user enters within a Google-set radius of the
2050
+ # point. This field replaces the deprecated LatLongPoints.
2051
+ # Corresponds to the JSON property `merchantLocations`
2052
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
2053
+ attr_accessor :merchant_locations
2054
+
2032
2055
  # An array of messages displayed in the app. All users of this object will
2033
2056
  # receive its associated messages. The maximum number of these fields is 10.
2034
2057
  # Corresponds to the JSON property `messages`
@@ -2154,6 +2177,7 @@ module Google
2154
2177
  @linked_offer_ids = args[:linked_offer_ids] if args.key?(:linked_offer_ids)
2155
2178
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
2156
2179
  @locations = args[:locations] if args.key?(:locations)
2180
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
2157
2181
  @messages = args[:messages] if args.key?(:messages)
2158
2182
  @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
2159
2183
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
@@ -2626,6 +2650,14 @@ module Google
2626
2650
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
2627
2651
  attr_accessor :locations
2628
2652
 
2653
+ # Merchant locations. There is a maximum of ten on the class. Any additional
2654
+ # MerchantLocations added beyond the 10 will be rejected by the validator. These
2655
+ # locations will trigger a notification when a user enters within a Google-set
2656
+ # radius of the point. This field replaces the deprecated LatLongPoints.
2657
+ # Corresponds to the JSON property `merchantLocations`
2658
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
2659
+ attr_accessor :merchant_locations
2660
+
2629
2661
  # An array of messages displayed in the app. All users of this object will
2630
2662
  # receive its associated messages. The maximum number of these fields is 10.
2631
2663
  # Corresponds to the JSON property `messages`
@@ -2749,6 +2781,7 @@ module Google
2749
2781
  @local_scheduled_departure_date_time = args[:local_scheduled_departure_date_time] if args.key?(:local_scheduled_departure_date_time)
2750
2782
  @localized_issuer_name = args[:localized_issuer_name] if args.key?(:localized_issuer_name)
2751
2783
  @locations = args[:locations] if args.key?(:locations)
2784
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
2752
2785
  @messages = args[:messages] if args.key?(:messages)
2753
2786
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
2754
2787
  @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
@@ -2996,6 +3029,14 @@ module Google
2996
3029
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
2997
3030
  attr_accessor :locations
2998
3031
 
3032
+ # Merchant locations. There is a maximum of ten on the object. Any additional
3033
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
3034
+ # trigger a notification when a user enters within a Google-set radius of the
3035
+ # point. This field replaces the deprecated LatLongPoints.
3036
+ # Corresponds to the JSON property `merchantLocations`
3037
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
3038
+ attr_accessor :merchant_locations
3039
+
2999
3040
  # An array of messages displayed in the app. All users of this object will
3000
3041
  # receive its associated messages. The maximum number of these fields is 10.
3001
3042
  # Corresponds to the JSON property `messages`
@@ -3107,6 +3148,7 @@ module Google
3107
3148
  @linked_object_ids = args[:linked_object_ids] if args.key?(:linked_object_ids)
3108
3149
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
3109
3150
  @locations = args[:locations] if args.key?(:locations)
3151
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
3110
3152
  @messages = args[:messages] if args.key?(:messages)
3111
3153
  @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
3112
3154
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
@@ -3254,6 +3296,14 @@ module Google
3254
3296
  # @return [Google::Apis::WalletobjectsV1::LinksModuleData]
3255
3297
  attr_accessor :links_module_data
3256
3298
 
3299
+ # Merchant locations. There is a maximum of ten on the class. Any additional
3300
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
3301
+ # trigger a notification when a user enters within a Google-set radius of the
3302
+ # point. This field replaces the deprecated LatLongPoints.
3303
+ # Corresponds to the JSON property `merchantLocations`
3304
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
3305
+ attr_accessor :merchant_locations
3306
+
3257
3307
  # An array of messages displayed in the app. All users of this object will
3258
3308
  # receive its associated messages. The maximum number of these fields is 10.
3259
3309
  # Corresponds to the JSON property `messages`
@@ -3312,6 +3362,7 @@ module Google
3312
3362
  @id = args[:id] if args.key?(:id)
3313
3363
  @image_modules_data = args[:image_modules_data] if args.key?(:image_modules_data)
3314
3364
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
3365
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
3315
3366
  @messages = args[:messages] if args.key?(:messages)
3316
3367
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
3317
3368
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
@@ -3478,6 +3529,14 @@ module Google
3478
3529
  # @return [Google::Apis::WalletobjectsV1::Image]
3479
3530
  attr_accessor :logo
3480
3531
 
3532
+ # Merchant locations. There is a maximum of ten on the object. Any additional
3533
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
3534
+ # trigger a notification when a user enters within a Google-set radius of the
3535
+ # point. This field replaces the deprecated LatLongPoints.
3536
+ # Corresponds to the JSON property `merchantLocations`
3537
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
3538
+ attr_accessor :merchant_locations
3539
+
3481
3540
  # An array of messages displayed in the app. All users of this object will
3482
3541
  # receive its associated messages. The maximum number of these fields is 10.
3483
3542
  # Corresponds to the JSON property `messages`
@@ -3575,6 +3634,7 @@ module Google
3575
3634
  @linked_object_ids = args[:linked_object_ids] if args.key?(:linked_object_ids)
3576
3635
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
3577
3636
  @logo = args[:logo] if args.key?(:logo)
3637
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
3578
3638
  @messages = args[:messages] if args.key?(:messages)
3579
3639
  @notifications = args[:notifications] if args.key?(:notifications)
3580
3640
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
@@ -3792,6 +3852,14 @@ module Google
3792
3852
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
3793
3853
  attr_accessor :locations
3794
3854
 
3855
+ # Merchant locations. There is a maximum of ten on the class. Any additional
3856
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
3857
+ # trigger a notification when a user enters within a Google-set radius of the
3858
+ # point. This field replaces the deprecated LatLongPoints.
3859
+ # Corresponds to the JSON property `merchantLocations`
3860
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
3861
+ attr_accessor :merchant_locations
3862
+
3795
3863
  # Merchant name, such as "Adam's Apparel". The app may display an ellipsis after
3796
3864
  # the first 20 characters to ensure full string is displayed on smaller screens.
3797
3865
  # Corresponds to the JSON property `merchantName`
@@ -3927,6 +3995,7 @@ module Google
3927
3995
  @localized_merchant_name = args[:localized_merchant_name] if args.key?(:localized_merchant_name)
3928
3996
  @localized_pin_label = args[:localized_pin_label] if args.key?(:localized_pin_label)
3929
3997
  @locations = args[:locations] if args.key?(:locations)
3998
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
3930
3999
  @merchant_name = args[:merchant_name] if args.key?(:merchant_name)
3931
4000
  @messages = args[:messages] if args.key?(:messages)
3932
4001
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
@@ -4129,6 +4198,14 @@ module Google
4129
4198
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
4130
4199
  attr_accessor :locations
4131
4200
 
4201
+ # Merchant locations. There is a maximum of ten on the object. Any additional
4202
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
4203
+ # trigger a notification when a user enters within a Google-set radius of the
4204
+ # point. This field replaces the deprecated LatLongPoints.
4205
+ # Corresponds to the JSON property `merchantLocations`
4206
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
4207
+ attr_accessor :merchant_locations
4208
+
4132
4209
  # An array of messages displayed in the app. All users of this object will
4133
4210
  # receive its associated messages. The maximum number of these fields is 10.
4134
4211
  # Corresponds to the JSON property `messages`
@@ -4231,6 +4308,7 @@ module Google
4231
4308
  @linked_object_ids = args[:linked_object_ids] if args.key?(:linked_object_ids)
4232
4309
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
4233
4310
  @locations = args[:locations] if args.key?(:locations)
4311
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
4234
4312
  @messages = args[:messages] if args.key?(:messages)
4235
4313
  @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
4236
4314
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
@@ -4860,7 +4938,7 @@ module Google
4860
4938
  attr_accessor :country_code
4861
4939
 
4862
4940
  # Information about how a class may be discovered and instantiated from within
4863
- # the Android Pay app. This is done by searching for a loyalty or gift card
4941
+ # the Google Wallet app. This is done by searching for a loyalty or gift card
4864
4942
  # program and scanning or manually entering.
4865
4943
  # Corresponds to the JSON property `discoverableProgram`
4866
4944
  # @return [Google::Apis::WalletobjectsV1::DiscoverableProgram]
@@ -4985,6 +5063,14 @@ module Google
4985
5063
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
4986
5064
  attr_accessor :locations
4987
5065
 
5066
+ # Merchant locations. There is a maximum of ten on the class. Any additional
5067
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
5068
+ # trigger a notification when a user enters within a Google-set radius of the
5069
+ # point. This field replaces the deprecated LatLongPoints.
5070
+ # Corresponds to the JSON property `merchantLocations`
5071
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
5072
+ attr_accessor :merchant_locations
5073
+
4988
5074
  # An array of messages displayed in the app. All users of this object will
4989
5075
  # receive its associated messages. The maximum number of these fields is 10.
4990
5076
  # Corresponds to the JSON property `messages`
@@ -5141,6 +5227,7 @@ module Google
5141
5227
  @localized_secondary_rewards_tier = args[:localized_secondary_rewards_tier] if args.key?(:localized_secondary_rewards_tier)
5142
5228
  @localized_secondary_rewards_tier_label = args[:localized_secondary_rewards_tier_label] if args.key?(:localized_secondary_rewards_tier_label)
5143
5229
  @locations = args[:locations] if args.key?(:locations)
5230
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
5144
5231
  @messages = args[:messages] if args.key?(:messages)
5145
5232
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
5146
5233
  @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
@@ -5347,6 +5434,14 @@ module Google
5347
5434
  # @return [Google::Apis::WalletobjectsV1::LoyaltyPoints]
5348
5435
  attr_accessor :loyalty_points
5349
5436
 
5437
+ # Merchant locations. There is a maximum of ten on the object. Any additional
5438
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
5439
+ # trigger a notification when a user enters within a Google-set radius of the
5440
+ # point. This field replaces the deprecated LatLongPoints.
5441
+ # Corresponds to the JSON property `merchantLocations`
5442
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
5443
+ attr_accessor :merchant_locations
5444
+
5350
5445
  # An array of messages displayed in the app. All users of this object will
5351
5446
  # receive its associated messages. The maximum number of these fields is 10.
5352
5447
  # Corresponds to the JSON property `messages`
@@ -5453,6 +5548,7 @@ module Google
5453
5548
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
5454
5549
  @locations = args[:locations] if args.key?(:locations)
5455
5550
  @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
5551
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
5456
5552
  @messages = args[:messages] if args.key?(:messages)
5457
5553
  @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
5458
5554
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
@@ -5910,6 +6006,36 @@ module Google
5910
6006
  end
5911
6007
  end
5912
6008
 
6009
+ # Locations of interest for this class or object. Currently, this location is
6010
+ # used for geofenced notifications. When a user is within a set radius of this
6011
+ # lat/long, and dwells there, Google will trigger a notification. When a user
6012
+ # exits this radius, the notification will be hidden.
6013
+ class MerchantLocation
6014
+ include Google::Apis::Core::Hashable
6015
+
6016
+ # The latitude specified as any value in the range of -90.0 through +90.0, both
6017
+ # inclusive. Values outside these bounds will be rejected.
6018
+ # Corresponds to the JSON property `latitude`
6019
+ # @return [Float]
6020
+ attr_accessor :latitude
6021
+
6022
+ # The longitude specified in the range -180.0 through +180.0, both inclusive.
6023
+ # Values outside these bounds will be rejected.
6024
+ # Corresponds to the JSON property `longitude`
6025
+ # @return [Float]
6026
+ attr_accessor :longitude
6027
+
6028
+ def initialize(**args)
6029
+ update!(**args)
6030
+ end
6031
+
6032
+ # Update properties of this object
6033
+ def update!(**args)
6034
+ @latitude = args[:latitude] if args.key?(:latitude)
6035
+ @longitude = args[:longitude] if args.key?(:longitude)
6036
+ end
6037
+ end
6038
+
5913
6039
  # A message that will be displayed with a Valuable
5914
6040
  class Message
5915
6041
  include Google::Apis::Core::Hashable
@@ -6304,6 +6430,14 @@ module Google
6304
6430
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
6305
6431
  attr_accessor :locations
6306
6432
 
6433
+ # Merchant locations. There is a maximum of ten on the class. Any additional
6434
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
6435
+ # trigger a notification when a user enters within a Google-set radius of the
6436
+ # point. This field replaces the deprecated LatLongPoints.
6437
+ # Corresponds to the JSON property `merchantLocations`
6438
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
6439
+ attr_accessor :merchant_locations
6440
+
6307
6441
  # An array of messages displayed in the app. All users of this object will
6308
6442
  # receive its associated messages. The maximum number of these fields is 10.
6309
6443
  # Corresponds to the JSON property `messages`
@@ -6456,6 +6590,7 @@ module Google
6456
6590
  @localized_short_title = args[:localized_short_title] if args.key?(:localized_short_title)
6457
6591
  @localized_title = args[:localized_title] if args.key?(:localized_title)
6458
6592
  @locations = args[:locations] if args.key?(:locations)
6593
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
6459
6594
  @messages = args[:messages] if args.key?(:messages)
6460
6595
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
6461
6596
  @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
@@ -6638,6 +6773,14 @@ module Google
6638
6773
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
6639
6774
  attr_accessor :locations
6640
6775
 
6776
+ # Merchant locations. There is a maximum of ten on the object. Any additional
6777
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
6778
+ # trigger a notification when a user enters within a Google-set radius of the
6779
+ # point. This field replaces the deprecated LatLongPoints.
6780
+ # Corresponds to the JSON property `merchantLocations`
6781
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
6782
+ attr_accessor :merchant_locations
6783
+
6641
6784
  # An array of messages displayed in the app. All users of this object will
6642
6785
  # receive its associated messages. The maximum number of these fields is 10.
6643
6786
  # Corresponds to the JSON property `messages`
@@ -6731,6 +6874,7 @@ module Google
6731
6874
  @linked_object_ids = args[:linked_object_ids] if args.key?(:linked_object_ids)
6732
6875
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
6733
6876
  @locations = args[:locations] if args.key?(:locations)
6877
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
6734
6878
  @messages = args[:messages] if args.key?(:messages)
6735
6879
  @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
6736
6880
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
@@ -8039,6 +8183,14 @@ module Google
8039
8183
  # @return [Google::Apis::WalletobjectsV1::Image]
8040
8184
  attr_accessor :logo
8041
8185
 
8186
+ # Merchant locations. There is a maximum of ten on the class. Any additional
8187
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
8188
+ # trigger a notification when a user enters within a Google-set radius of the
8189
+ # point. This field replaces the deprecated LatLongPoints.
8190
+ # Corresponds to the JSON property `merchantLocations`
8191
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
8192
+ attr_accessor :merchant_locations
8193
+
8042
8194
  # An array of messages displayed in the app. All users of this object will
8043
8195
  # receive its associated messages. The maximum number of these fields is 10.
8044
8196
  # Corresponds to the JSON property `messages`
@@ -8189,6 +8341,7 @@ module Google
8189
8341
  @localized_issuer_name = args[:localized_issuer_name] if args.key?(:localized_issuer_name)
8190
8342
  @locations = args[:locations] if args.key?(:locations)
8191
8343
  @logo = args[:logo] if args.key?(:logo)
8344
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
8192
8345
  @messages = args[:messages] if args.key?(:messages)
8193
8346
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
8194
8347
  @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
@@ -8402,6 +8555,14 @@ module Google
8402
8555
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
8403
8556
  attr_accessor :locations
8404
8557
 
8558
+ # Merchant locations. There is a maximum of ten on the object. Any additional
8559
+ # MerchantLocations added beyond the 10 will be rejected. These locations will
8560
+ # trigger a notification when a user enters within a Google-set radius of the
8561
+ # point. This field replaces the deprecated LatLongPoints.
8562
+ # Corresponds to the JSON property `merchantLocations`
8563
+ # @return [Array<Google::Apis::WalletobjectsV1::MerchantLocation>]
8564
+ attr_accessor :merchant_locations
8565
+
8405
8566
  # An array of messages displayed in the app. All users of this object will
8406
8567
  # receive its associated messages. The maximum number of these fields is 10.
8407
8568
  # Corresponds to the JSON property `messages`
@@ -8563,6 +8724,7 @@ module Google
8563
8724
  @linked_object_ids = args[:linked_object_ids] if args.key?(:linked_object_ids)
8564
8725
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
8565
8726
  @locations = args[:locations] if args.key?(:locations)
8727
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
8566
8728
  @messages = args[:messages] if args.key?(:messages)
8567
8729
  @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
8568
8730
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WalletobjectsV1
18
18
  # Version of the google-apis-walletobjects_v1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241017"
25
+ REVISION = "20241203"
26
26
  end
27
27
  end
28
28
  end
@@ -610,6 +610,12 @@ module Google
610
610
  include Google::Apis::Core::JsonObjectSupport
611
611
  end
612
612
 
613
+ class MerchantLocation
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
613
619
  class Message
614
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
621
 
@@ -944,6 +950,8 @@ module Google
944
950
  class Representation < Google::Apis::Core::JsonRepresentation
945
951
  property :android_app_link_info, as: 'androidAppLinkInfo', class: Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo, decorator: Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo::Representation
946
952
 
953
+ property :display_text, as: 'displayText', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
954
+
947
955
  property :ios_app_link_info, as: 'iosAppLinkInfo', class: Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo, decorator: Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo::Representation
948
956
 
949
957
  property :web_app_link_info, as: 'webAppLinkInfo', class: Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo, decorator: Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo::Representation
@@ -1356,6 +1364,8 @@ module Google
1356
1364
 
1357
1365
  property :logo, as: 'logo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
1358
1366
 
1367
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1368
+
1359
1369
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1360
1370
 
1361
1371
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
@@ -1434,6 +1444,8 @@ module Google
1434
1444
 
1435
1445
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
1436
1446
 
1447
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1448
+
1437
1449
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1438
1450
 
1439
1451
  property :notify_preference, as: 'notifyPreference'
@@ -1585,6 +1597,8 @@ module Google
1585
1597
 
1586
1598
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
1587
1599
 
1600
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1601
+
1588
1602
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1589
1603
 
1590
1604
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
@@ -1671,6 +1685,8 @@ module Google
1671
1685
 
1672
1686
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
1673
1687
 
1688
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1689
+
1674
1690
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1675
1691
 
1676
1692
  property :notify_preference, as: 'notifyPreference'
@@ -1740,6 +1756,8 @@ module Google
1740
1756
 
1741
1757
  property :links_module_data, as: 'linksModuleData', class: Google::Apis::WalletobjectsV1::LinksModuleData, decorator: Google::Apis::WalletobjectsV1::LinksModuleData::Representation
1742
1758
 
1759
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1760
+
1743
1761
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1744
1762
 
1745
1763
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
@@ -1799,6 +1817,8 @@ module Google
1799
1817
 
1800
1818
  property :logo, as: 'logo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
1801
1819
 
1820
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1821
+
1802
1822
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1803
1823
 
1804
1824
  property :notifications, as: 'notifications', class: Google::Apis::WalletobjectsV1::Notifications, decorator: Google::Apis::WalletobjectsV1::Notifications::Representation
@@ -1883,6 +1903,8 @@ module Google
1883
1903
 
1884
1904
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
1885
1905
 
1906
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1907
+
1886
1908
  property :merchant_name, as: 'merchantName'
1887
1909
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1888
1910
 
@@ -1962,6 +1984,8 @@ module Google
1962
1984
 
1963
1985
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
1964
1986
 
1987
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1988
+
1965
1989
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1966
1990
 
1967
1991
  property :notify_preference, as: 'notifyPreference'
@@ -2217,6 +2241,8 @@ module Google
2217
2241
 
2218
2242
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
2219
2243
 
2244
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
2245
+
2220
2246
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2221
2247
 
2222
2248
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
@@ -2298,6 +2324,8 @@ module Google
2298
2324
 
2299
2325
  property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::WalletobjectsV1::LoyaltyPoints, decorator: Google::Apis::WalletobjectsV1::LoyaltyPoints::Representation
2300
2326
 
2327
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
2328
+
2301
2329
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2302
2330
 
2303
2331
  property :notify_preference, as: 'notifyPreference'
@@ -2422,6 +2450,14 @@ module Google
2422
2450
  end
2423
2451
  end
2424
2452
 
2453
+ class MerchantLocation
2454
+ # @private
2455
+ class Representation < Google::Apis::Core::JsonRepresentation
2456
+ property :latitude, as: 'latitude'
2457
+ property :longitude, as: 'longitude'
2458
+ end
2459
+ end
2460
+
2425
2461
  class Message
2426
2462
  # @private
2427
2463
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2535,6 +2571,8 @@ module Google
2535
2571
 
2536
2572
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
2537
2573
 
2574
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
2575
+
2538
2576
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2539
2577
 
2540
2578
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
@@ -2610,6 +2648,8 @@ module Google
2610
2648
 
2611
2649
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
2612
2650
 
2651
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
2652
+
2613
2653
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2614
2654
 
2615
2655
  property :notify_preference, as: 'notifyPreference'
@@ -3005,6 +3045,8 @@ module Google
3005
3045
 
3006
3046
  property :logo, as: 'logo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
3007
3047
 
3048
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
3049
+
3008
3050
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
3009
3051
 
3010
3052
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
@@ -3088,6 +3130,8 @@ module Google
3088
3130
 
3089
3131
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
3090
3132
 
3133
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
3134
+
3091
3135
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
3092
3136
 
3093
3137
  property :notify_preference, as: 'notifyPreference'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-walletobjects_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.19.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-10-27 00:00:00.000000000 Z
11
+ date: 2024-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-walletobjects_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-walletobjects_v1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-walletobjects_v1/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-walletobjects_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.21
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Wallet API V1