google-apis-walletobjects_v1 0.16.0 → 0.18.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: 9d4df56cdd992f7f909d554eea593634be9d615f57d8f5110d46693d8c0053ed
4
- data.tar.gz: ff23b04ad174f8c6e6e91261a27b43e505dafc53ff4fc5b497e4049594f6422a
3
+ metadata.gz: 563eef279c9a6c2c05d67ed80a4557d5e4f803c41184e773e7b21286bbb42384
4
+ data.tar.gz: 8c6c5a36b3dd1be1257dcf46922d5a8cee40fee09bfc32f2b42d21937b4ed41d
5
5
  SHA512:
6
- metadata.gz: e5e000e1e6b01a95e605fa092284a75be32cefc538586779a7799768c94822eeaf5e51b8f4e7a0c7611b942d2326e0d1c694265da3d2ac160fa7cca752aa9467
7
- data.tar.gz: ec6d2ad5e9ca7e6b9ac84980110270213699610d88cdf1d1de32e4163ddd21906656250f8ebb5d8e65a3087581fe1aecd7cb2e29c87cb0660a41c4304597e727
6
+ metadata.gz: d83a26d39529b0971af137cc8bdc585deb8632beacde28c9835a29888506d92c245d595068b437d8f61896700d99bac41f61cb83d77d0522c52c9989d9e0942e
7
+ data.tar.gz: 92678a29fc390c67b04b4db8a011d7e6ccf5cf53e9c830060798510eb1364d8153f171582846d2b6af532cc42bbac5c76c5d2dcb1b60f3519f496f79f2c82e6d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-walletobjects_v1
2
2
 
3
+ ### v0.18.0 (2024-11-24)
4
+
5
+ * Regenerated from discovery document revision 20241119
6
+
7
+ ### v0.17.0 (2024-10-20)
8
+
9
+ * Regenerated from discovery document revision 20241017
10
+
3
11
  ### v0.16.0 (2024-09-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20240927
@@ -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
@@ -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`
@@ -1680,6 +1694,16 @@ module Google
1680
1694
  # @return [String]
1681
1695
  attr_accessor :multiple_devices_and_holders_allowed_status
1682
1696
 
1697
+ # Whether or not field updates to this class should trigger notifications. When
1698
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
1699
+ # These notifications will only be sent to users if the field is part of an
1700
+ # allowlist. If not specified, no notification will be triggered. This setting
1701
+ # is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise
1702
+ # a notification will not be triggered.
1703
+ # Corresponds to the JSON property `notifyPreference`
1704
+ # @return [String]
1705
+ attr_accessor :notify_preference
1706
+
1683
1707
  # Identifies which redemption issuers can redeem the pass over Smart Tap.
1684
1708
  # Redemption issuers are identified by their issuer ID. Redemption issuers must
1685
1709
  # have at least one Smart Tap key configured. The `enableSmartTap` and object
@@ -1816,8 +1840,10 @@ module Google
1816
1840
  @localized_issuer_name = args[:localized_issuer_name] if args.key?(:localized_issuer_name)
1817
1841
  @locations = args[:locations] if args.key?(:locations)
1818
1842
  @logo = args[:logo] if args.key?(:logo)
1843
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
1819
1844
  @messages = args[:messages] if args.key?(:messages)
1820
1845
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
1846
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
1821
1847
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
1822
1848
  @review = args[:review] if args.key?(:review)
1823
1849
  @review_status = args[:review_status] if args.key?(:review_status)
@@ -2018,12 +2044,31 @@ module Google
2018
2044
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
2019
2045
  attr_accessor :locations
2020
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
+
2021
2055
  # An array of messages displayed in the app. All users of this object will
2022
2056
  # receive its associated messages. The maximum number of these fields is 10.
2023
2057
  # Corresponds to the JSON property `messages`
2024
2058
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
2025
2059
  attr_accessor :messages
2026
2060
 
2061
+ # Whether or not field updates to this object should trigger notifications. When
2062
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
2063
+ # These notifications will only be sent to users if the field is part of an
2064
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
2065
+ # notification will be triggered. This setting is ephemeral and needs to be set
2066
+ # with each PATCH or UPDATE request, otherwise a notification will not be
2067
+ # triggered.
2068
+ # Corresponds to the JSON property `notifyPreference`
2069
+ # @return [String]
2070
+ attr_accessor :notify_preference
2071
+
2027
2072
  # Container for any constraints that may be placed on passes.
2028
2073
  # Corresponds to the JSON property `passConstraints`
2029
2074
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -2132,7 +2177,9 @@ module Google
2132
2177
  @linked_offer_ids = args[:linked_offer_ids] if args.key?(:linked_offer_ids)
2133
2178
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
2134
2179
  @locations = args[:locations] if args.key?(:locations)
2180
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
2135
2181
  @messages = args[:messages] if args.key?(:messages)
2182
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
2136
2183
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
2137
2184
  @reservation_info = args[:reservation_info] if args.key?(:reservation_info)
2138
2185
  @rotating_barcode = args[:rotating_barcode] if args.key?(:rotating_barcode)
@@ -2603,6 +2650,14 @@ module Google
2603
2650
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
2604
2651
  attr_accessor :locations
2605
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
+
2606
2661
  # An array of messages displayed in the app. All users of this object will
2607
2662
  # receive its associated messages. The maximum number of these fields is 10.
2608
2663
  # Corresponds to the JSON property `messages`
@@ -2615,6 +2670,16 @@ module Google
2615
2670
  # @return [String]
2616
2671
  attr_accessor :multiple_devices_and_holders_allowed_status
2617
2672
 
2673
+ # Whether or not field updates to this class should trigger notifications. When
2674
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
2675
+ # These notifications will only be sent to users if the field is part of an
2676
+ # allowlist. If not specified, no notification will be triggered. This setting
2677
+ # is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise
2678
+ # a notification will not be triggered.
2679
+ # Corresponds to the JSON property `notifyPreference`
2680
+ # @return [String]
2681
+ attr_accessor :notify_preference
2682
+
2618
2683
  # Required. Origin airport.
2619
2684
  # Corresponds to the JSON property `origin`
2620
2685
  # @return [Google::Apis::WalletobjectsV1::AirportInfo]
@@ -2716,8 +2781,10 @@ module Google
2716
2781
  @local_scheduled_departure_date_time = args[:local_scheduled_departure_date_time] if args.key?(:local_scheduled_departure_date_time)
2717
2782
  @localized_issuer_name = args[:localized_issuer_name] if args.key?(:localized_issuer_name)
2718
2783
  @locations = args[:locations] if args.key?(:locations)
2784
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
2719
2785
  @messages = args[:messages] if args.key?(:messages)
2720
2786
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
2787
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
2721
2788
  @origin = args[:origin] if args.key?(:origin)
2722
2789
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
2723
2790
  @review = args[:review] if args.key?(:review)
@@ -2962,12 +3029,31 @@ module Google
2962
3029
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
2963
3030
  attr_accessor :locations
2964
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
+
2965
3040
  # An array of messages displayed in the app. All users of this object will
2966
3041
  # receive its associated messages. The maximum number of these fields is 10.
2967
3042
  # Corresponds to the JSON property `messages`
2968
3043
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
2969
3044
  attr_accessor :messages
2970
3045
 
3046
+ # Whether or not field updates to this object should trigger notifications. When
3047
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
3048
+ # These notifications will only be sent to users if the field is part of an
3049
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
3050
+ # notification will be triggered. This setting is ephemeral and needs to be set
3051
+ # with each PATCH or UPDATE request, otherwise a notification will not be
3052
+ # triggered.
3053
+ # Corresponds to the JSON property `notifyPreference`
3054
+ # @return [String]
3055
+ attr_accessor :notify_preference
3056
+
2971
3057
  # Container for any constraints that may be placed on passes.
2972
3058
  # Corresponds to the JSON property `passConstraints`
2973
3059
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -3062,7 +3148,9 @@ module Google
3062
3148
  @linked_object_ids = args[:linked_object_ids] if args.key?(:linked_object_ids)
3063
3149
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
3064
3150
  @locations = args[:locations] if args.key?(:locations)
3151
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
3065
3152
  @messages = args[:messages] if args.key?(:messages)
3153
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
3066
3154
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
3067
3155
  @passenger_name = args[:passenger_name] if args.key?(:passenger_name)
3068
3156
  @reservation_info = args[:reservation_info] if args.key?(:reservation_info)
@@ -3208,6 +3296,14 @@ module Google
3208
3296
  # @return [Google::Apis::WalletobjectsV1::LinksModuleData]
3209
3297
  attr_accessor :links_module_data
3210
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
+
3211
3307
  # An array of messages displayed in the app. All users of this object will
3212
3308
  # receive its associated messages. The maximum number of these fields is 10.
3213
3309
  # Corresponds to the JSON property `messages`
@@ -3266,6 +3362,7 @@ module Google
3266
3362
  @id = args[:id] if args.key?(:id)
3267
3363
  @image_modules_data = args[:image_modules_data] if args.key?(:image_modules_data)
3268
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)
3269
3366
  @messages = args[:messages] if args.key?(:messages)
3270
3367
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
3271
3368
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
@@ -3432,6 +3529,14 @@ module Google
3432
3529
  # @return [Google::Apis::WalletobjectsV1::Image]
3433
3530
  attr_accessor :logo
3434
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
+
3435
3540
  # An array of messages displayed in the app. All users of this object will
3436
3541
  # receive its associated messages. The maximum number of these fields is 10.
3437
3542
  # Corresponds to the JSON property `messages`
@@ -3529,6 +3634,7 @@ module Google
3529
3634
  @linked_object_ids = args[:linked_object_ids] if args.key?(:linked_object_ids)
3530
3635
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
3531
3636
  @logo = args[:logo] if args.key?(:logo)
3637
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
3532
3638
  @messages = args[:messages] if args.key?(:messages)
3533
3639
  @notifications = args[:notifications] if args.key?(:notifications)
3534
3640
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
@@ -3746,6 +3852,14 @@ module Google
3746
3852
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
3747
3853
  attr_accessor :locations
3748
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
+
3749
3863
  # Merchant name, such as "Adam's Apparel". The app may display an ellipsis after
3750
3864
  # the first 20 characters to ensure full string is displayed on smaller screens.
3751
3865
  # Corresponds to the JSON property `merchantName`
@@ -3764,6 +3878,16 @@ module Google
3764
3878
  # @return [String]
3765
3879
  attr_accessor :multiple_devices_and_holders_allowed_status
3766
3880
 
3881
+ # Whether or not field updates to this class should trigger notifications. When
3882
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
3883
+ # These notifications will only be sent to users if the field is part of an
3884
+ # allowlist. If not specified, no notification will be triggered. This setting
3885
+ # is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise
3886
+ # a notification will not be triggered.
3887
+ # Corresponds to the JSON property `notifyPreference`
3888
+ # @return [String]
3889
+ attr_accessor :notify_preference
3890
+
3767
3891
  # The label to display for the PIN, such as "4-digit PIN".
3768
3892
  # Corresponds to the JSON property `pinLabel`
3769
3893
  # @return [String]
@@ -3871,9 +3995,11 @@ module Google
3871
3995
  @localized_merchant_name = args[:localized_merchant_name] if args.key?(:localized_merchant_name)
3872
3996
  @localized_pin_label = args[:localized_pin_label] if args.key?(:localized_pin_label)
3873
3997
  @locations = args[:locations] if args.key?(:locations)
3998
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
3874
3999
  @merchant_name = args[:merchant_name] if args.key?(:merchant_name)
3875
4000
  @messages = args[:messages] if args.key?(:messages)
3876
4001
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
4002
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
3877
4003
  @pin_label = args[:pin_label] if args.key?(:pin_label)
3878
4004
  @program_logo = args[:program_logo] if args.key?(:program_logo)
3879
4005
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
@@ -4072,12 +4198,31 @@ module Google
4072
4198
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
4073
4199
  attr_accessor :locations
4074
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
+
4075
4209
  # An array of messages displayed in the app. All users of this object will
4076
4210
  # receive its associated messages. The maximum number of these fields is 10.
4077
4211
  # Corresponds to the JSON property `messages`
4078
4212
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
4079
4213
  attr_accessor :messages
4080
4214
 
4215
+ # Whether or not field updates to this object should trigger notifications. When
4216
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
4217
+ # These notifications will only be sent to users if the field is part of an
4218
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
4219
+ # notification will be triggered. This setting is ephemeral and needs to be set
4220
+ # with each PATCH or UPDATE request, otherwise a notification will not be
4221
+ # triggered.
4222
+ # Corresponds to the JSON property `notifyPreference`
4223
+ # @return [String]
4224
+ attr_accessor :notify_preference
4225
+
4081
4226
  # Container for any constraints that may be placed on passes.
4082
4227
  # Corresponds to the JSON property `passConstraints`
4083
4228
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -4163,7 +4308,9 @@ module Google
4163
4308
  @linked_object_ids = args[:linked_object_ids] if args.key?(:linked_object_ids)
4164
4309
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
4165
4310
  @locations = args[:locations] if args.key?(:locations)
4311
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
4166
4312
  @messages = args[:messages] if args.key?(:messages)
4313
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
4167
4314
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
4168
4315
  @pin = args[:pin] if args.key?(:pin)
4169
4316
  @rotating_barcode = args[:rotating_barcode] if args.key?(:rotating_barcode)
@@ -4916,6 +5063,14 @@ module Google
4916
5063
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
4917
5064
  attr_accessor :locations
4918
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
+
4919
5074
  # An array of messages displayed in the app. All users of this object will
4920
5075
  # receive its associated messages. The maximum number of these fields is 10.
4921
5076
  # Corresponds to the JSON property `messages`
@@ -4928,6 +5083,16 @@ module Google
4928
5083
  # @return [String]
4929
5084
  attr_accessor :multiple_devices_and_holders_allowed_status
4930
5085
 
5086
+ # Whether or not field updates to this class should trigger notifications. When
5087
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
5088
+ # These notifications will only be sent to users if the field is part of an
5089
+ # allowlist. If not specified, no notification will be triggered. This setting
5090
+ # is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise
5091
+ # a notification will not be triggered.
5092
+ # Corresponds to the JSON property `notifyPreference`
5093
+ # @return [String]
5094
+ attr_accessor :notify_preference
5095
+
4931
5096
  # Wrapping type for Google hosted images. Next ID: 7
4932
5097
  # Corresponds to the JSON property `programLogo`
4933
5098
  # @return [Google::Apis::WalletobjectsV1::Image]
@@ -5062,8 +5227,10 @@ module Google
5062
5227
  @localized_secondary_rewards_tier = args[:localized_secondary_rewards_tier] if args.key?(:localized_secondary_rewards_tier)
5063
5228
  @localized_secondary_rewards_tier_label = args[:localized_secondary_rewards_tier_label] if args.key?(:localized_secondary_rewards_tier_label)
5064
5229
  @locations = args[:locations] if args.key?(:locations)
5230
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
5065
5231
  @messages = args[:messages] if args.key?(:messages)
5066
5232
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
5233
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
5067
5234
  @program_logo = args[:program_logo] if args.key?(:program_logo)
5068
5235
  @program_name = args[:program_name] if args.key?(:program_name)
5069
5236
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
@@ -5267,12 +5434,31 @@ module Google
5267
5434
  # @return [Google::Apis::WalletobjectsV1::LoyaltyPoints]
5268
5435
  attr_accessor :loyalty_points
5269
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
+
5270
5445
  # An array of messages displayed in the app. All users of this object will
5271
5446
  # receive its associated messages. The maximum number of these fields is 10.
5272
5447
  # Corresponds to the JSON property `messages`
5273
5448
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
5274
5449
  attr_accessor :messages
5275
5450
 
5451
+ # Whether or not field updates to this object should trigger notifications. When
5452
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
5453
+ # These notifications will only be sent to users if the field is part of an
5454
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
5455
+ # notification will be triggered. This setting is ephemeral and needs to be set
5456
+ # with each PATCH or UPDATE request, otherwise a notification will not be
5457
+ # triggered.
5458
+ # Corresponds to the JSON property `notifyPreference`
5459
+ # @return [String]
5460
+ attr_accessor :notify_preference
5461
+
5276
5462
  # Container for any constraints that may be placed on passes.
5277
5463
  # Corresponds to the JSON property `passConstraints`
5278
5464
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -5362,7 +5548,9 @@ module Google
5362
5548
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
5363
5549
  @locations = args[:locations] if args.key?(:locations)
5364
5550
  @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
5551
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
5365
5552
  @messages = args[:messages] if args.key?(:messages)
5553
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
5366
5554
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
5367
5555
  @rotating_barcode = args[:rotating_barcode] if args.key?(:rotating_barcode)
5368
5556
  @save_restrictions = args[:save_restrictions] if args.key?(:save_restrictions)
@@ -5818,6 +6006,36 @@ module Google
5818
6006
  end
5819
6007
  end
5820
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
+
5821
6039
  # A message that will be displayed with a Valuable
5822
6040
  class Message
5823
6041
  include Google::Apis::Core::Hashable
@@ -6212,6 +6430,14 @@ module Google
6212
6430
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
6213
6431
  attr_accessor :locations
6214
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
+
6215
6441
  # An array of messages displayed in the app. All users of this object will
6216
6442
  # receive its associated messages. The maximum number of these fields is 10.
6217
6443
  # Corresponds to the JSON property `messages`
@@ -6224,6 +6450,16 @@ module Google
6224
6450
  # @return [String]
6225
6451
  attr_accessor :multiple_devices_and_holders_allowed_status
6226
6452
 
6453
+ # Whether or not field updates to this class should trigger notifications. When
6454
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
6455
+ # These notifications will only be sent to users if the field is part of an
6456
+ # allowlist. If not specified, no notification will be triggered. This setting
6457
+ # is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise
6458
+ # a notification will not be triggered.
6459
+ # Corresponds to the JSON property `notifyPreference`
6460
+ # @return [String]
6461
+ attr_accessor :notify_preference
6462
+
6227
6463
  # Required. The offer provider (either the aggregator name or merchant name).
6228
6464
  # Recommended maximum length is 12 characters to ensure full string is displayed
6229
6465
  # on smaller screens.
@@ -6354,8 +6590,10 @@ module Google
6354
6590
  @localized_short_title = args[:localized_short_title] if args.key?(:localized_short_title)
6355
6591
  @localized_title = args[:localized_title] if args.key?(:localized_title)
6356
6592
  @locations = args[:locations] if args.key?(:locations)
6593
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
6357
6594
  @messages = args[:messages] if args.key?(:messages)
6358
6595
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
6596
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
6359
6597
  @provider = args[:provider] if args.key?(:provider)
6360
6598
  @redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
6361
6599
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
@@ -6535,12 +6773,31 @@ module Google
6535
6773
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
6536
6774
  attr_accessor :locations
6537
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
+
6538
6784
  # An array of messages displayed in the app. All users of this object will
6539
6785
  # receive its associated messages. The maximum number of these fields is 10.
6540
6786
  # Corresponds to the JSON property `messages`
6541
6787
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
6542
6788
  attr_accessor :messages
6543
6789
 
6790
+ # Whether or not field updates to this object should trigger notifications. When
6791
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
6792
+ # These notifications will only be sent to users if the field is part of an
6793
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
6794
+ # notification will be triggered. This setting is ephemeral and needs to be set
6795
+ # with each PATCH or UPDATE request, otherwise a notification will not be
6796
+ # triggered.
6797
+ # Corresponds to the JSON property `notifyPreference`
6798
+ # @return [String]
6799
+ attr_accessor :notify_preference
6800
+
6544
6801
  # Container for any constraints that may be placed on passes.
6545
6802
  # Corresponds to the JSON property `passConstraints`
6546
6803
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -6617,7 +6874,9 @@ module Google
6617
6874
  @linked_object_ids = args[:linked_object_ids] if args.key?(:linked_object_ids)
6618
6875
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
6619
6876
  @locations = args[:locations] if args.key?(:locations)
6877
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
6620
6878
  @messages = args[:messages] if args.key?(:messages)
6879
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
6621
6880
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
6622
6881
  @rotating_barcode = args[:rotating_barcode] if args.key?(:rotating_barcode)
6623
6882
  @save_restrictions = args[:save_restrictions] if args.key?(:save_restrictions)
@@ -7924,6 +8183,14 @@ module Google
7924
8183
  # @return [Google::Apis::WalletobjectsV1::Image]
7925
8184
  attr_accessor :logo
7926
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
+
7927
8194
  # An array of messages displayed in the app. All users of this object will
7928
8195
  # receive its associated messages. The maximum number of these fields is 10.
7929
8196
  # Corresponds to the JSON property `messages`
@@ -7936,6 +8203,17 @@ module Google
7936
8203
  # @return [String]
7937
8204
  attr_accessor :multiple_devices_and_holders_allowed_status
7938
8205
 
8206
+ # Whether or not field updates to this class should trigger notifications. When
8207
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
8208
+ # These notifications will only be sent to users if the field is part of an
8209
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
8210
+ # notification will be triggered. This setting is ephemeral and needs to be set
8211
+ # with each PATCH or UPDATE request, otherwise a notification will not be
8212
+ # triggered.
8213
+ # Corresponds to the JSON property `notifyPreference`
8214
+ # @return [String]
8215
+ attr_accessor :notify_preference
8216
+
7939
8217
  # Identifies which redemption issuers can redeem the pass over Smart Tap.
7940
8218
  # Redemption issuers are identified by their issuer ID. Redemption issuers must
7941
8219
  # have at least one Smart Tap key configured. The `enableSmartTap` and object
@@ -8063,8 +8341,10 @@ module Google
8063
8341
  @localized_issuer_name = args[:localized_issuer_name] if args.key?(:localized_issuer_name)
8064
8342
  @locations = args[:locations] if args.key?(:locations)
8065
8343
  @logo = args[:logo] if args.key?(:logo)
8344
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
8066
8345
  @messages = args[:messages] if args.key?(:messages)
8067
8346
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
8347
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
8068
8348
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
8069
8349
  @review = args[:review] if args.key?(:review)
8070
8350
  @review_status = args[:review_status] if args.key?(:review_status)
@@ -8275,12 +8555,31 @@ module Google
8275
8555
  # @return [Array<Google::Apis::WalletobjectsV1::LatLongPoint>]
8276
8556
  attr_accessor :locations
8277
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
+
8278
8566
  # An array of messages displayed in the app. All users of this object will
8279
8567
  # receive its associated messages. The maximum number of these fields is 10.
8280
8568
  # Corresponds to the JSON property `messages`
8281
8569
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
8282
8570
  attr_accessor :messages
8283
8571
 
8572
+ # Whether or not field updates to this object should trigger notifications. When
8573
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
8574
+ # These notifications will only be sent to users if the field is part of an
8575
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
8576
+ # notification will be triggered. This setting is ephemeral and needs to be set
8577
+ # with each PATCH or UPDATE request, otherwise a notification will not be
8578
+ # triggered.
8579
+ # Corresponds to the JSON property `notifyPreference`
8580
+ # @return [String]
8581
+ attr_accessor :notify_preference
8582
+
8284
8583
  # Container for any constraints that may be placed on passes.
8285
8584
  # Corresponds to the JSON property `passConstraints`
8286
8585
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -8425,7 +8724,9 @@ module Google
8425
8724
  @linked_object_ids = args[:linked_object_ids] if args.key?(:linked_object_ids)
8426
8725
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
8427
8726
  @locations = args[:locations] if args.key?(:locations)
8727
+ @merchant_locations = args[:merchant_locations] if args.key?(:merchant_locations)
8428
8728
  @messages = args[:messages] if args.key?(:messages)
8729
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
8429
8730
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
8430
8731
  @passenger_names = args[:passenger_names] if args.key?(:passenger_names)
8431
8732
  @passenger_type = args[:passenger_type] if args.key?(:passenger_type)
@@ -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.16.0"
19
+ GEM_VERSION = "0.18.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 = "20240927"
25
+ REVISION = "20241119"
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,9 +1364,12 @@ 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'
1372
+ property :notify_preference, as: 'notifyPreference'
1362
1373
  collection :redemption_issuers, as: 'redemptionIssuers'
1363
1374
  property :review, as: 'review', class: Google::Apis::WalletobjectsV1::Review, decorator: Google::Apis::WalletobjectsV1::Review::Representation
1364
1375
 
@@ -1433,8 +1444,11 @@ module Google
1433
1444
 
1434
1445
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
1435
1446
 
1447
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1448
+
1436
1449
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1437
1450
 
1451
+ property :notify_preference, as: 'notifyPreference'
1438
1452
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
1439
1453
 
1440
1454
  property :reservation_info, as: 'reservationInfo', class: Google::Apis::WalletobjectsV1::EventReservationInfo, decorator: Google::Apis::WalletobjectsV1::EventReservationInfo::Representation
@@ -1583,9 +1597,12 @@ module Google
1583
1597
 
1584
1598
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
1585
1599
 
1600
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1601
+
1586
1602
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1587
1603
 
1588
1604
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
1605
+ property :notify_preference, as: 'notifyPreference'
1589
1606
  property :origin, as: 'origin', class: Google::Apis::WalletobjectsV1::AirportInfo, decorator: Google::Apis::WalletobjectsV1::AirportInfo::Representation
1590
1607
 
1591
1608
  collection :redemption_issuers, as: 'redemptionIssuers'
@@ -1668,8 +1685,11 @@ module Google
1668
1685
 
1669
1686
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
1670
1687
 
1688
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1689
+
1671
1690
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1672
1691
 
1692
+ property :notify_preference, as: 'notifyPreference'
1673
1693
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
1674
1694
 
1675
1695
  property :passenger_name, as: 'passengerName'
@@ -1736,6 +1756,8 @@ module Google
1736
1756
 
1737
1757
  property :links_module_data, as: 'linksModuleData', class: Google::Apis::WalletobjectsV1::LinksModuleData, decorator: Google::Apis::WalletobjectsV1::LinksModuleData::Representation
1738
1758
 
1759
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1760
+
1739
1761
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1740
1762
 
1741
1763
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
@@ -1795,6 +1817,8 @@ module Google
1795
1817
 
1796
1818
  property :logo, as: 'logo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
1797
1819
 
1820
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1821
+
1798
1822
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1799
1823
 
1800
1824
  property :notifications, as: 'notifications', class: Google::Apis::WalletobjectsV1::Notifications, decorator: Google::Apis::WalletobjectsV1::Notifications::Representation
@@ -1879,10 +1903,13 @@ module Google
1879
1903
 
1880
1904
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
1881
1905
 
1906
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1907
+
1882
1908
  property :merchant_name, as: 'merchantName'
1883
1909
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1884
1910
 
1885
1911
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
1912
+ property :notify_preference, as: 'notifyPreference'
1886
1913
  property :pin_label, as: 'pinLabel'
1887
1914
  property :program_logo, as: 'programLogo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
1888
1915
 
@@ -1957,8 +1984,11 @@ module Google
1957
1984
 
1958
1985
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
1959
1986
 
1987
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
1988
+
1960
1989
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1961
1990
 
1991
+ property :notify_preference, as: 'notifyPreference'
1962
1992
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
1963
1993
 
1964
1994
  property :pin, as: 'pin'
@@ -2211,9 +2241,12 @@ module Google
2211
2241
 
2212
2242
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
2213
2243
 
2244
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
2245
+
2214
2246
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2215
2247
 
2216
2248
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
2249
+ property :notify_preference, as: 'notifyPreference'
2217
2250
  property :program_logo, as: 'programLogo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
2218
2251
 
2219
2252
  property :program_name, as: 'programName'
@@ -2291,8 +2324,11 @@ module Google
2291
2324
 
2292
2325
  property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::WalletobjectsV1::LoyaltyPoints, decorator: Google::Apis::WalletobjectsV1::LoyaltyPoints::Representation
2293
2326
 
2327
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
2328
+
2294
2329
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2295
2330
 
2331
+ property :notify_preference, as: 'notifyPreference'
2296
2332
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
2297
2333
 
2298
2334
  property :rotating_barcode, as: 'rotatingBarcode', class: Google::Apis::WalletobjectsV1::RotatingBarcode, decorator: Google::Apis::WalletobjectsV1::RotatingBarcode::Representation
@@ -2414,6 +2450,14 @@ module Google
2414
2450
  end
2415
2451
  end
2416
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
+
2417
2461
  class Message
2418
2462
  # @private
2419
2463
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2527,9 +2571,12 @@ module Google
2527
2571
 
2528
2572
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
2529
2573
 
2574
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
2575
+
2530
2576
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2531
2577
 
2532
2578
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
2579
+ property :notify_preference, as: 'notifyPreference'
2533
2580
  property :provider, as: 'provider'
2534
2581
  property :redemption_channel, as: 'redemptionChannel'
2535
2582
  collection :redemption_issuers, as: 'redemptionIssuers'
@@ -2601,8 +2648,11 @@ module Google
2601
2648
 
2602
2649
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
2603
2650
 
2651
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
2652
+
2604
2653
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2605
2654
 
2655
+ property :notify_preference, as: 'notifyPreference'
2606
2656
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
2607
2657
 
2608
2658
  property :rotating_barcode, as: 'rotatingBarcode', class: Google::Apis::WalletobjectsV1::RotatingBarcode, decorator: Google::Apis::WalletobjectsV1::RotatingBarcode::Representation
@@ -2995,9 +3045,12 @@ module Google
2995
3045
 
2996
3046
  property :logo, as: 'logo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
2997
3047
 
3048
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
3049
+
2998
3050
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2999
3051
 
3000
3052
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
3053
+ property :notify_preference, as: 'notifyPreference'
3001
3054
  collection :redemption_issuers, as: 'redemptionIssuers'
3002
3055
  property :review, as: 'review', class: Google::Apis::WalletobjectsV1::Review, decorator: Google::Apis::WalletobjectsV1::Review::Representation
3003
3056
 
@@ -3077,8 +3130,11 @@ module Google
3077
3130
 
3078
3131
  collection :locations, as: 'locations', class: Google::Apis::WalletobjectsV1::LatLongPoint, decorator: Google::Apis::WalletobjectsV1::LatLongPoint::Representation
3079
3132
 
3133
+ collection :merchant_locations, as: 'merchantLocations', class: Google::Apis::WalletobjectsV1::MerchantLocation, decorator: Google::Apis::WalletobjectsV1::MerchantLocation::Representation
3134
+
3080
3135
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
3081
3136
 
3137
+ property :notify_preference, as: 'notifyPreference'
3082
3138
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
3083
3139
 
3084
3140
  property :passenger_names, as: 'passengerNames'
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.16.0
4
+ version: 0.18.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-09-29 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-walletobjects_v1/v0.18.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.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Wallet API V1