google-apis-walletobjects_v1 0.15.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25b794b7620227fa754d449e92a808fe49f7a80972cc51a8331704693894ada8
4
- data.tar.gz: ae7879c900e6dbd53082c2b1c9aae37f385ee543e196f7b0281573f814d36212
3
+ metadata.gz: 24ebeb4effe136c1b6f4a8b9b80ed116a9c65c56616ebc9d708d101f62da23cf
4
+ data.tar.gz: 9daa798a7b307aaced886e766b0afe05ccb5e60c17fb9f4ac8155849d88b2f0c
5
5
  SHA512:
6
- metadata.gz: dec8b245e74559088b1882f3442fa023345da3be77eca987bdd9d881d084a564bbccdd5a1fa690137d7cbaebeddb1e63fd0acb959df806bf99bf0a0f5e6a7052
7
- data.tar.gz: b86fcd5a32c768b28daf9631b362f63b518eae5c0683c5d7ef821915a57e27e74e3669f8b11b86858f80b60eaedf311b2992bf0fdef052c51abd26668d27887a
6
+ metadata.gz: 8a72105e23abbb76b8639e767cae93e4308cdece7e5725beccd3a1c9c66dbbd4fba03dc1558e403a75bbd2291ce5a17d58818eedd4c58478e3ebbed4667ee0ff
7
+ data.tar.gz: 1b3498beec7b298e79c9861f9cc64248281486250d848c39d7f2852eb7acc7f9895397c21c479a895d2853666b00157d900cbe0fe2844701560ac7981219128a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-walletobjects_v1
2
2
 
3
+ ### v0.17.0 (2024-10-20)
4
+
5
+ * Regenerated from discovery document revision 20241017
6
+
7
+ ### v0.16.0 (2024-09-29)
8
+
9
+ * Regenerated from discovery document revision 20240927
10
+
3
11
  ### v0.15.0 (2024-08-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20240809
@@ -1680,6 +1680,16 @@ module Google
1680
1680
  # @return [String]
1681
1681
  attr_accessor :multiple_devices_and_holders_allowed_status
1682
1682
 
1683
+ # Whether or not field updates to this class should trigger notifications. When
1684
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
1685
+ # These notifications will only be sent to users if the field is part of an
1686
+ # allowlist. If not specified, no notification will be triggered. This setting
1687
+ # is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise
1688
+ # a notification will not be triggered.
1689
+ # Corresponds to the JSON property `notifyPreference`
1690
+ # @return [String]
1691
+ attr_accessor :notify_preference
1692
+
1683
1693
  # Identifies which redemption issuers can redeem the pass over Smart Tap.
1684
1694
  # Redemption issuers are identified by their issuer ID. Redemption issuers must
1685
1695
  # have at least one Smart Tap key configured. The `enableSmartTap` and object
@@ -1750,6 +1760,12 @@ module Google
1750
1760
  # @return [Array<Google::Apis::WalletobjectsV1::TextModuleData>]
1751
1761
  attr_accessor :text_modules_data
1752
1762
 
1763
+ # Optional value added module data. Maximum of ten on the class. For a pass only
1764
+ # ten will be displayed, prioritizing those from the object.
1765
+ # Corresponds to the JSON property `valueAddedModuleData`
1766
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
1767
+ attr_accessor :value_added_module_data
1768
+
1753
1769
  # Event venue details.
1754
1770
  # Corresponds to the JSON property `venue`
1755
1771
  # @return [Google::Apis::WalletobjectsV1::EventVenue]
@@ -1812,6 +1828,7 @@ module Google
1812
1828
  @logo = args[:logo] if args.key?(:logo)
1813
1829
  @messages = args[:messages] if args.key?(:messages)
1814
1830
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
1831
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
1815
1832
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
1816
1833
  @review = args[:review] if args.key?(:review)
1817
1834
  @review_status = args[:review_status] if args.key?(:review_status)
@@ -1820,6 +1837,7 @@ module Google
1820
1837
  @section_label = args[:section_label] if args.key?(:section_label)
1821
1838
  @security_animation = args[:security_animation] if args.key?(:security_animation)
1822
1839
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
1840
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
1823
1841
  @venue = args[:venue] if args.key?(:venue)
1824
1842
  @version = args[:version] if args.key?(:version)
1825
1843
  @view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
@@ -2017,6 +2035,17 @@ module Google
2017
2035
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
2018
2036
  attr_accessor :messages
2019
2037
 
2038
+ # Whether or not field updates to this object should trigger notifications. When
2039
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
2040
+ # These notifications will only be sent to users if the field is part of an
2041
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
2042
+ # notification will be triggered. This setting is ephemeral and needs to be set
2043
+ # with each PATCH or UPDATE request, otherwise a notification will not be
2044
+ # triggered.
2045
+ # Corresponds to the JSON property `notifyPreference`
2046
+ # @return [String]
2047
+ attr_accessor :notify_preference
2048
+
2020
2049
  # Container for any constraints that may be placed on passes.
2021
2050
  # Corresponds to the JSON property `passConstraints`
2022
2051
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -2090,6 +2119,11 @@ module Google
2090
2119
  # @return [Google::Apis::WalletobjectsV1::TimeInterval]
2091
2120
  attr_accessor :valid_time_interval
2092
2121
 
2122
+ # Optional value added module data. Maximum of ten on the object.
2123
+ # Corresponds to the JSON property `valueAddedModuleData`
2124
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
2125
+ attr_accessor :value_added_module_data
2126
+
2093
2127
  # Deprecated
2094
2128
  # Corresponds to the JSON property `version`
2095
2129
  # @return [Fixnum]
@@ -2121,6 +2155,7 @@ module Google
2121
2155
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
2122
2156
  @locations = args[:locations] if args.key?(:locations)
2123
2157
  @messages = args[:messages] if args.key?(:messages)
2158
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
2124
2159
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
2125
2160
  @reservation_info = args[:reservation_info] if args.key?(:reservation_info)
2126
2161
  @rotating_barcode = args[:rotating_barcode] if args.key?(:rotating_barcode)
@@ -2133,6 +2168,7 @@ module Google
2133
2168
  @ticket_number = args[:ticket_number] if args.key?(:ticket_number)
2134
2169
  @ticket_type = args[:ticket_type] if args.key?(:ticket_type)
2135
2170
  @valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
2171
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
2136
2172
  @version = args[:version] if args.key?(:version)
2137
2173
  end
2138
2174
  end
@@ -2602,6 +2638,16 @@ module Google
2602
2638
  # @return [String]
2603
2639
  attr_accessor :multiple_devices_and_holders_allowed_status
2604
2640
 
2641
+ # Whether or not field updates to this class should trigger notifications. When
2642
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
2643
+ # These notifications will only be sent to users if the field is part of an
2644
+ # allowlist. If not specified, no notification will be triggered. This setting
2645
+ # is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise
2646
+ # a notification will not be triggered.
2647
+ # Corresponds to the JSON property `notifyPreference`
2648
+ # @return [String]
2649
+ attr_accessor :notify_preference
2650
+
2605
2651
  # Required. Origin airport.
2606
2652
  # Corresponds to the JSON property `origin`
2607
2653
  # @return [Google::Apis::WalletobjectsV1::AirportInfo]
@@ -2648,6 +2694,12 @@ module Google
2648
2694
  # @return [Array<Google::Apis::WalletobjectsV1::TextModuleData>]
2649
2695
  attr_accessor :text_modules_data
2650
2696
 
2697
+ # Optional value added module data. Maximum of ten on the class. For a pass only
2698
+ # ten will be displayed, prioritizing those from the object.
2699
+ # Corresponds to the JSON property `valueAddedModuleData`
2700
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
2701
+ attr_accessor :value_added_module_data
2702
+
2651
2703
  # Deprecated
2652
2704
  # Corresponds to the JSON property `version`
2653
2705
  # @return [Fixnum]
@@ -2699,12 +2751,14 @@ module Google
2699
2751
  @locations = args[:locations] if args.key?(:locations)
2700
2752
  @messages = args[:messages] if args.key?(:messages)
2701
2753
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
2754
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
2702
2755
  @origin = args[:origin] if args.key?(:origin)
2703
2756
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
2704
2757
  @review = args[:review] if args.key?(:review)
2705
2758
  @review_status = args[:review_status] if args.key?(:review_status)
2706
2759
  @security_animation = args[:security_animation] if args.key?(:security_animation)
2707
2760
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
2761
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
2708
2762
  @version = args[:version] if args.key?(:version)
2709
2763
  @view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
2710
2764
  @word_mark = args[:word_mark] if args.key?(:word_mark)
@@ -2948,6 +3002,17 @@ module Google
2948
3002
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
2949
3003
  attr_accessor :messages
2950
3004
 
3005
+ # Whether or not field updates to this object should trigger notifications. When
3006
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
3007
+ # These notifications will only be sent to users if the field is part of an
3008
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
3009
+ # notification will be triggered. This setting is ephemeral and needs to be set
3010
+ # with each PATCH or UPDATE request, otherwise a notification will not be
3011
+ # triggered.
3012
+ # Corresponds to the JSON property `notifyPreference`
3013
+ # @return [String]
3014
+ attr_accessor :notify_preference
3015
+
2951
3016
  # Container for any constraints that may be placed on passes.
2952
3017
  # Corresponds to the JSON property `passConstraints`
2953
3018
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -3008,6 +3073,11 @@ module Google
3008
3073
  # @return [Google::Apis::WalletobjectsV1::TimeInterval]
3009
3074
  attr_accessor :valid_time_interval
3010
3075
 
3076
+ # Optional value added module data. Maximum of ten on the object.
3077
+ # Corresponds to the JSON property `valueAddedModuleData`
3078
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
3079
+ attr_accessor :value_added_module_data
3080
+
3011
3081
  # Deprecated
3012
3082
  # Corresponds to the JSON property `version`
3013
3083
  # @return [Fixnum]
@@ -3038,6 +3108,7 @@ module Google
3038
3108
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
3039
3109
  @locations = args[:locations] if args.key?(:locations)
3040
3110
  @messages = args[:messages] if args.key?(:messages)
3111
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
3041
3112
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
3042
3113
  @passenger_name = args[:passenger_name] if args.key?(:passenger_name)
3043
3114
  @reservation_info = args[:reservation_info] if args.key?(:reservation_info)
@@ -3048,6 +3119,7 @@ module Google
3048
3119
  @state = args[:state] if args.key?(:state)
3049
3120
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
3050
3121
  @valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
3122
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
3051
3123
  @version = args[:version] if args.key?(:version)
3052
3124
  end
3053
3125
  end
@@ -3216,6 +3288,12 @@ module Google
3216
3288
  # @return [Array<Google::Apis::WalletobjectsV1::TextModuleData>]
3217
3289
  attr_accessor :text_modules_data
3218
3290
 
3291
+ # Optional value added module data. Maximum of ten on the class. For a pass only
3292
+ # ten will be displayed, prioritizing those from the object.
3293
+ # Corresponds to the JSON property `valueAddedModuleData`
3294
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
3295
+ attr_accessor :value_added_module_data
3296
+
3219
3297
  # View Unlock Requirement options for the generic pass.
3220
3298
  # Corresponds to the JSON property `viewUnlockRequirement`
3221
3299
  # @return [String]
@@ -3239,6 +3317,7 @@ module Google
3239
3317
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
3240
3318
  @security_animation = args[:security_animation] if args.key?(:security_animation)
3241
3319
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
3320
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
3242
3321
  @view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
3243
3322
  end
3244
3323
  end
@@ -3465,6 +3544,11 @@ module Google
3465
3544
  # @return [Google::Apis::WalletobjectsV1::TimeInterval]
3466
3545
  attr_accessor :valid_time_interval
3467
3546
 
3547
+ # Optional value added module data. Maximum of ten on the object.
3548
+ # Corresponds to the JSON property `valueAddedModuleData`
3549
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
3550
+ attr_accessor :value_added_module_data
3551
+
3468
3552
  # Wrapping type for Google hosted images. Next ID: 7
3469
3553
  # Corresponds to the JSON property `wideLogo`
3470
3554
  # @return [Google::Apis::WalletobjectsV1::Image]
@@ -3501,6 +3585,7 @@ module Google
3501
3585
  @subheader = args[:subheader] if args.key?(:subheader)
3502
3586
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
3503
3587
  @valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
3588
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
3504
3589
  @wide_logo = args[:wide_logo] if args.key?(:wide_logo)
3505
3590
  end
3506
3591
  end
@@ -3725,6 +3810,16 @@ module Google
3725
3810
  # @return [String]
3726
3811
  attr_accessor :multiple_devices_and_holders_allowed_status
3727
3812
 
3813
+ # Whether or not field updates to this class should trigger notifications. When
3814
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
3815
+ # These notifications will only be sent to users if the field is part of an
3816
+ # allowlist. If not specified, no notification will be triggered. This setting
3817
+ # is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise
3818
+ # a notification will not be triggered.
3819
+ # Corresponds to the JSON property `notifyPreference`
3820
+ # @return [String]
3821
+ attr_accessor :notify_preference
3822
+
3728
3823
  # The label to display for the PIN, such as "4-digit PIN".
3729
3824
  # Corresponds to the JSON property `pinLabel`
3730
3825
  # @return [String]
@@ -3776,6 +3871,12 @@ module Google
3776
3871
  # @return [Array<Google::Apis::WalletobjectsV1::TextModuleData>]
3777
3872
  attr_accessor :text_modules_data
3778
3873
 
3874
+ # Optional value added module data. Maximum of ten on the class. For a pass only
3875
+ # ten will be displayed, prioritizing those from the object.
3876
+ # Corresponds to the JSON property `valueAddedModuleData`
3877
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
3878
+ attr_accessor :value_added_module_data
3879
+
3779
3880
  # Deprecated
3780
3881
  # Corresponds to the JSON property `version`
3781
3882
  # @return [Fixnum]
@@ -3829,6 +3930,7 @@ module Google
3829
3930
  @merchant_name = args[:merchant_name] if args.key?(:merchant_name)
3830
3931
  @messages = args[:messages] if args.key?(:messages)
3831
3932
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
3933
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
3832
3934
  @pin_label = args[:pin_label] if args.key?(:pin_label)
3833
3935
  @program_logo = args[:program_logo] if args.key?(:program_logo)
3834
3936
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
@@ -3836,6 +3938,7 @@ module Google
3836
3938
  @review_status = args[:review_status] if args.key?(:review_status)
3837
3939
  @security_animation = args[:security_animation] if args.key?(:security_animation)
3838
3940
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
3941
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
3839
3942
  @version = args[:version] if args.key?(:version)
3840
3943
  @view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
3841
3944
  @wide_program_logo = args[:wide_program_logo] if args.key?(:wide_program_logo)
@@ -4032,6 +4135,17 @@ module Google
4032
4135
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
4033
4136
  attr_accessor :messages
4034
4137
 
4138
+ # Whether or not field updates to this object should trigger notifications. When
4139
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
4140
+ # These notifications will only be sent to users if the field is part of an
4141
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
4142
+ # notification will be triggered. This setting is ephemeral and needs to be set
4143
+ # with each PATCH or UPDATE request, otherwise a notification will not be
4144
+ # triggered.
4145
+ # Corresponds to the JSON property `notifyPreference`
4146
+ # @return [String]
4147
+ attr_accessor :notify_preference
4148
+
4035
4149
  # Container for any constraints that may be placed on passes.
4036
4150
  # Corresponds to the JSON property `passConstraints`
4037
4151
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -4081,6 +4195,11 @@ module Google
4081
4195
  # @return [Google::Apis::WalletobjectsV1::TimeInterval]
4082
4196
  attr_accessor :valid_time_interval
4083
4197
 
4198
+ # Optional value added module data. Maximum of ten on the object.
4199
+ # Corresponds to the JSON property `valueAddedModuleData`
4200
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
4201
+ attr_accessor :value_added_module_data
4202
+
4084
4203
  # Deprecated
4085
4204
  # Corresponds to the JSON property `version`
4086
4205
  # @return [Fixnum]
@@ -4113,6 +4232,7 @@ module Google
4113
4232
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
4114
4233
  @locations = args[:locations] if args.key?(:locations)
4115
4234
  @messages = args[:messages] if args.key?(:messages)
4235
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
4116
4236
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
4117
4237
  @pin = args[:pin] if args.key?(:pin)
4118
4238
  @rotating_barcode = args[:rotating_barcode] if args.key?(:rotating_barcode)
@@ -4121,6 +4241,7 @@ module Google
4121
4241
  @state = args[:state] if args.key?(:state)
4122
4242
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
4123
4243
  @valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
4244
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
4124
4245
  @version = args[:version] if args.key?(:version)
4125
4246
  end
4126
4247
  end
@@ -4876,6 +4997,16 @@ module Google
4876
4997
  # @return [String]
4877
4998
  attr_accessor :multiple_devices_and_holders_allowed_status
4878
4999
 
5000
+ # Whether or not field updates to this class should trigger notifications. When
5001
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
5002
+ # These notifications will only be sent to users if the field is part of an
5003
+ # allowlist. If not specified, no notification will be triggered. This setting
5004
+ # is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise
5005
+ # a notification will not be triggered.
5006
+ # Corresponds to the JSON property `notifyPreference`
5007
+ # @return [String]
5008
+ attr_accessor :notify_preference
5009
+
4879
5010
  # Wrapping type for Google hosted images. Next ID: 7
4880
5011
  # Corresponds to the JSON property `programLogo`
4881
5012
  # @return [Google::Apis::WalletobjectsV1::Image]
@@ -4951,6 +5082,12 @@ module Google
4951
5082
  # @return [Array<Google::Apis::WalletobjectsV1::TextModuleData>]
4952
5083
  attr_accessor :text_modules_data
4953
5084
 
5085
+ # Optional value added module data. Maximum of ten on the class. For a pass only
5086
+ # ten will be displayed, prioritizing those from the object.
5087
+ # Corresponds to the JSON property `valueAddedModuleData`
5088
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
5089
+ attr_accessor :value_added_module_data
5090
+
4954
5091
  # Deprecated
4955
5092
  # Corresponds to the JSON property `version`
4956
5093
  # @return [Fixnum]
@@ -5006,6 +5143,7 @@ module Google
5006
5143
  @locations = args[:locations] if args.key?(:locations)
5007
5144
  @messages = args[:messages] if args.key?(:messages)
5008
5145
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
5146
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
5009
5147
  @program_logo = args[:program_logo] if args.key?(:program_logo)
5010
5148
  @program_name = args[:program_name] if args.key?(:program_name)
5011
5149
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
@@ -5017,6 +5155,7 @@ module Google
5017
5155
  @secondary_rewards_tier_label = args[:secondary_rewards_tier_label] if args.key?(:secondary_rewards_tier_label)
5018
5156
  @security_animation = args[:security_animation] if args.key?(:security_animation)
5019
5157
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
5158
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
5020
5159
  @version = args[:version] if args.key?(:version)
5021
5160
  @view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
5022
5161
  @wide_program_logo = args[:wide_program_logo] if args.key?(:wide_program_logo)
@@ -5214,6 +5353,17 @@ module Google
5214
5353
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
5215
5354
  attr_accessor :messages
5216
5355
 
5356
+ # Whether or not field updates to this object should trigger notifications. When
5357
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
5358
+ # These notifications will only be sent to users if the field is part of an
5359
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
5360
+ # notification will be triggered. This setting is ephemeral and needs to be set
5361
+ # with each PATCH or UPDATE request, otherwise a notification will not be
5362
+ # triggered.
5363
+ # Corresponds to the JSON property `notifyPreference`
5364
+ # @return [String]
5365
+ attr_accessor :notify_preference
5366
+
5217
5367
  # Container for any constraints that may be placed on passes.
5218
5368
  # Corresponds to the JSON property `passConstraints`
5219
5369
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -5267,6 +5417,11 @@ module Google
5267
5417
  # @return [Google::Apis::WalletobjectsV1::TimeInterval]
5268
5418
  attr_accessor :valid_time_interval
5269
5419
 
5420
+ # Optional value added module data. Maximum of ten on the object.
5421
+ # Corresponds to the JSON property `valueAddedModuleData`
5422
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
5423
+ attr_accessor :value_added_module_data
5424
+
5270
5425
  # Deprecated
5271
5426
  # Corresponds to the JSON property `version`
5272
5427
  # @return [Fixnum]
@@ -5299,6 +5454,7 @@ module Google
5299
5454
  @locations = args[:locations] if args.key?(:locations)
5300
5455
  @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
5301
5456
  @messages = args[:messages] if args.key?(:messages)
5457
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
5302
5458
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
5303
5459
  @rotating_barcode = args[:rotating_barcode] if args.key?(:rotating_barcode)
5304
5460
  @save_restrictions = args[:save_restrictions] if args.key?(:save_restrictions)
@@ -5307,6 +5463,7 @@ module Google
5307
5463
  @state = args[:state] if args.key?(:state)
5308
5464
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
5309
5465
  @valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
5466
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
5310
5467
  @version = args[:version] if args.key?(:version)
5311
5468
  end
5312
5469
  end
@@ -5866,6 +6023,28 @@ module Google
5866
6023
  end
5867
6024
  end
5868
6025
 
6026
+ # Constraints that all must be met for the module to be shown.
6027
+ class ModuleViewConstraints
6028
+ include Google::Apis::Core::Hashable
6029
+
6030
+ # The period of time that the module will be displayed to users. Can define both
6031
+ # a `startTime` and `endTime`. The module is displayed immediately after
6032
+ # insertion unless a `startTime` is set. The module is displayed indefinitely if
6033
+ # `endTime` is not set.
6034
+ # Corresponds to the JSON property `displayInterval`
6035
+ # @return [Google::Apis::WalletobjectsV1::TimeInterval]
6036
+ attr_accessor :display_interval
6037
+
6038
+ def initialize(**args)
6039
+ update!(**args)
6040
+ end
6041
+
6042
+ # Update properties of this object
6043
+ def update!(**args)
6044
+ @display_interval = args[:display_interval] if args.key?(:display_interval)
6045
+ end
6046
+ end
6047
+
5869
6048
  #
5870
6049
  class Money
5871
6050
  include Google::Apis::Core::Hashable
@@ -6137,6 +6316,16 @@ module Google
6137
6316
  # @return [String]
6138
6317
  attr_accessor :multiple_devices_and_holders_allowed_status
6139
6318
 
6319
+ # Whether or not field updates to this class should trigger notifications. When
6320
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
6321
+ # These notifications will only be sent to users if the field is part of an
6322
+ # allowlist. If not specified, no notification will be triggered. This setting
6323
+ # is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise
6324
+ # a notification will not be triggered.
6325
+ # Corresponds to the JSON property `notifyPreference`
6326
+ # @return [String]
6327
+ attr_accessor :notify_preference
6328
+
6140
6329
  # Required. The offer provider (either the aggregator name or merchant name).
6141
6330
  # Recommended maximum length is 12 characters to ensure full string is displayed
6142
6331
  # on smaller screens.
@@ -6210,6 +6399,12 @@ module Google
6210
6399
  # @return [Google::Apis::WalletobjectsV1::Image]
6211
6400
  attr_accessor :title_image
6212
6401
 
6402
+ # Optional value added module data. Maximum of ten on the class. For a pass only
6403
+ # ten will be displayed, prioritizing those from the object.
6404
+ # Corresponds to the JSON property `valueAddedModuleData`
6405
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
6406
+ attr_accessor :value_added_module_data
6407
+
6213
6408
  # Deprecated
6214
6409
  # Corresponds to the JSON property `version`
6215
6410
  # @return [Fixnum]
@@ -6263,6 +6458,7 @@ module Google
6263
6458
  @locations = args[:locations] if args.key?(:locations)
6264
6459
  @messages = args[:messages] if args.key?(:messages)
6265
6460
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
6461
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
6266
6462
  @provider = args[:provider] if args.key?(:provider)
6267
6463
  @redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
6268
6464
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
@@ -6273,6 +6469,7 @@ module Google
6273
6469
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
6274
6470
  @title = args[:title] if args.key?(:title)
6275
6471
  @title_image = args[:title_image] if args.key?(:title_image)
6472
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
6276
6473
  @version = args[:version] if args.key?(:version)
6277
6474
  @view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
6278
6475
  @wide_title_image = args[:wide_title_image] if args.key?(:wide_title_image)
@@ -6447,6 +6644,17 @@ module Google
6447
6644
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
6448
6645
  attr_accessor :messages
6449
6646
 
6647
+ # Whether or not field updates to this object should trigger notifications. When
6648
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
6649
+ # These notifications will only be sent to users if the field is part of an
6650
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
6651
+ # notification will be triggered. This setting is ephemeral and needs to be set
6652
+ # with each PATCH or UPDATE request, otherwise a notification will not be
6653
+ # triggered.
6654
+ # Corresponds to the JSON property `notifyPreference`
6655
+ # @return [String]
6656
+ attr_accessor :notify_preference
6657
+
6450
6658
  # Container for any constraints that may be placed on passes.
6451
6659
  # Corresponds to the JSON property `passConstraints`
6452
6660
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -6491,6 +6699,11 @@ module Google
6491
6699
  # @return [Google::Apis::WalletobjectsV1::TimeInterval]
6492
6700
  attr_accessor :valid_time_interval
6493
6701
 
6702
+ # Optional value added module data. Maximum of ten on the object.
6703
+ # Corresponds to the JSON property `valueAddedModuleData`
6704
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
6705
+ attr_accessor :value_added_module_data
6706
+
6494
6707
  # Deprecated
6495
6708
  # Corresponds to the JSON property `version`
6496
6709
  # @return [Fixnum]
@@ -6519,6 +6732,7 @@ module Google
6519
6732
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
6520
6733
  @locations = args[:locations] if args.key?(:locations)
6521
6734
  @messages = args[:messages] if args.key?(:messages)
6735
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
6522
6736
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
6523
6737
  @rotating_barcode = args[:rotating_barcode] if args.key?(:rotating_barcode)
6524
6738
  @save_restrictions = args[:save_restrictions] if args.key?(:save_restrictions)
@@ -6526,6 +6740,7 @@ module Google
6526
6740
  @state = args[:state] if args.key?(:state)
6527
6741
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
6528
6742
  @valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
6743
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
6529
6744
  @version = args[:version] if args.key?(:version)
6530
6745
  end
6531
6746
  end
@@ -7836,6 +8051,17 @@ module Google
7836
8051
  # @return [String]
7837
8052
  attr_accessor :multiple_devices_and_holders_allowed_status
7838
8053
 
8054
+ # Whether or not field updates to this class should trigger notifications. When
8055
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
8056
+ # These notifications will only be sent to users if the field is part of an
8057
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
8058
+ # notification will be triggered. This setting is ephemeral and needs to be set
8059
+ # with each PATCH or UPDATE request, otherwise a notification will not be
8060
+ # triggered.
8061
+ # Corresponds to the JSON property `notifyPreference`
8062
+ # @return [String]
8063
+ attr_accessor :notify_preference
8064
+
7839
8065
  # Identifies which redemption issuers can redeem the pass over Smart Tap.
7840
8066
  # Redemption issuers are identified by their issuer ID. Redemption issuers must
7841
8067
  # have at least one Smart Tap key configured. The `enableSmartTap` and object
@@ -7887,6 +8113,12 @@ module Google
7887
8113
  # @return [String]
7888
8114
  attr_accessor :transit_type
7889
8115
 
8116
+ # Optional value added module data. Maximum of ten on the class. For a pass only
8117
+ # ten will be displayed, prioritizing those from the object.
8118
+ # Corresponds to the JSON property `valueAddedModuleData`
8119
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
8120
+ attr_accessor :value_added_module_data
8121
+
7890
8122
  # Deprecated
7891
8123
  # Corresponds to the JSON property `version`
7892
8124
  # @return [Fixnum]
@@ -7959,6 +8191,7 @@ module Google
7959
8191
  @logo = args[:logo] if args.key?(:logo)
7960
8192
  @messages = args[:messages] if args.key?(:messages)
7961
8193
  @multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
8194
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
7962
8195
  @redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
7963
8196
  @review = args[:review] if args.key?(:review)
7964
8197
  @review_status = args[:review_status] if args.key?(:review_status)
@@ -7966,6 +8199,7 @@ module Google
7966
8199
  @text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
7967
8200
  @transit_operator_name = args[:transit_operator_name] if args.key?(:transit_operator_name)
7968
8201
  @transit_type = args[:transit_type] if args.key?(:transit_type)
8202
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
7969
8203
  @version = args[:version] if args.key?(:version)
7970
8204
  @view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
7971
8205
  @watermark = args[:watermark] if args.key?(:watermark)
@@ -8174,6 +8408,17 @@ module Google
8174
8408
  # @return [Array<Google::Apis::WalletobjectsV1::Message>]
8175
8409
  attr_accessor :messages
8176
8410
 
8411
+ # Whether or not field updates to this object should trigger notifications. When
8412
+ # set to NOTIFY, we will attempt to trigger a field update notification to users.
8413
+ # These notifications will only be sent to users if the field is part of an
8414
+ # allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no
8415
+ # notification will be triggered. This setting is ephemeral and needs to be set
8416
+ # with each PATCH or UPDATE request, otherwise a notification will not be
8417
+ # triggered.
8418
+ # Corresponds to the JSON property `notifyPreference`
8419
+ # @return [String]
8420
+ attr_accessor :notify_preference
8421
+
8177
8422
  # Container for any constraints that may be placed on passes.
8178
8423
  # Corresponds to the JSON property `passConstraints`
8179
8424
  # @return [Google::Apis::WalletobjectsV1::PassConstraints]
@@ -8281,6 +8526,11 @@ module Google
8281
8526
  # @return [Google::Apis::WalletobjectsV1::TimeInterval]
8282
8527
  attr_accessor :valid_time_interval
8283
8528
 
8529
+ # Optional value added module data. Maximum of ten on the object.
8530
+ # Corresponds to the JSON property `valueAddedModuleData`
8531
+ # @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
8532
+ attr_accessor :value_added_module_data
8533
+
8284
8534
  # Deprecated
8285
8535
  # Corresponds to the JSON property `version`
8286
8536
  # @return [Fixnum]
@@ -8314,6 +8564,7 @@ module Google
8314
8564
  @links_module_data = args[:links_module_data] if args.key?(:links_module_data)
8315
8565
  @locations = args[:locations] if args.key?(:locations)
8316
8566
  @messages = args[:messages] if args.key?(:messages)
8567
+ @notify_preference = args[:notify_preference] if args.key?(:notify_preference)
8317
8568
  @pass_constraints = args[:pass_constraints] if args.key?(:pass_constraints)
8318
8569
  @passenger_names = args[:passenger_names] if args.key?(:passenger_names)
8319
8570
  @passenger_type = args[:passenger_type] if args.key?(:passenger_type)
@@ -8331,6 +8582,7 @@ module Google
8331
8582
  @trip_id = args[:trip_id] if args.key?(:trip_id)
8332
8583
  @trip_type = args[:trip_type] if args.key?(:trip_type)
8333
8584
  @valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
8585
+ @value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
8334
8586
  @version = args[:version] if args.key?(:version)
8335
8587
  end
8336
8588
  end
@@ -8522,6 +8774,61 @@ module Google
8522
8774
  @uri = args[:uri] if args.key?(:uri)
8523
8775
  end
8524
8776
  end
8777
+
8778
+ # Data for Value Added module. Required fields are header and uri.
8779
+ class ValueAddedModuleData
8780
+ include Google::Apis::Core::Hashable
8781
+
8782
+ # Body to be displayed on the module. Character limit is 50 and longer strings
8783
+ # will be truncated.
8784
+ # Corresponds to the JSON property `body`
8785
+ # @return [Google::Apis::WalletobjectsV1::LocalizedString]
8786
+ attr_accessor :body
8787
+
8788
+ # Header to be displayed on the module. Character limit is 60 and longer strings
8789
+ # will be truncated.
8790
+ # Corresponds to the JSON property `header`
8791
+ # @return [Google::Apis::WalletobjectsV1::LocalizedString]
8792
+ attr_accessor :header
8793
+
8794
+ # Wrapping type for Google hosted images. Next ID: 7
8795
+ # Corresponds to the JSON property `image`
8796
+ # @return [Google::Apis::WalletobjectsV1::Image]
8797
+ attr_accessor :image
8798
+
8799
+ # The index for sorting the modules. Modules with a lower sort index are shown
8800
+ # before modules with a higher sort index. If unspecified, the sort index is
8801
+ # assumed to be INT_MAX. For two modules with the same index, the sorting
8802
+ # behavior is undefined.
8803
+ # Corresponds to the JSON property `sortIndex`
8804
+ # @return [Fixnum]
8805
+ attr_accessor :sort_index
8806
+
8807
+ # URI that the module leads to on click. This can be a web link or a deep link
8808
+ # as mentioned in https://developer.android.com/training/app-links/deep-linking.
8809
+ # Corresponds to the JSON property `uri`
8810
+ # @return [String]
8811
+ attr_accessor :uri
8812
+
8813
+ # Constraints that all must be met for the module to be shown.
8814
+ # Corresponds to the JSON property `viewConstraints`
8815
+ # @return [Google::Apis::WalletobjectsV1::ModuleViewConstraints]
8816
+ attr_accessor :view_constraints
8817
+
8818
+ def initialize(**args)
8819
+ update!(**args)
8820
+ end
8821
+
8822
+ # Update properties of this object
8823
+ def update!(**args)
8824
+ @body = args[:body] if args.key?(:body)
8825
+ @header = args[:header] if args.key?(:header)
8826
+ @image = args[:image] if args.key?(:image)
8827
+ @sort_index = args[:sort_index] if args.key?(:sort_index)
8828
+ @uri = args[:uri] if args.key?(:uri)
8829
+ @view_constraints = args[:view_constraints] if args.key?(:view_constraints)
8830
+ end
8831
+ end
8525
8832
  end
8526
8833
  end
8527
8834
  end
@@ -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.15.0"
19
+ GEM_VERSION = "0.17.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 = "20240809"
25
+ REVISION = "20241017"
26
26
  end
27
27
  end
28
28
  end
@@ -628,6 +628,12 @@ module Google
628
628
  include Google::Apis::Core::JsonObjectSupport
629
629
  end
630
630
 
631
+ class ModuleViewConstraints
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
631
637
  class Money
632
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
633
639
 
@@ -892,6 +898,12 @@ module Google
892
898
  include Google::Apis::Core::JsonObjectSupport
893
899
  end
894
900
 
901
+ class ValueAddedModuleData
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
895
907
  class ActivationOptions
896
908
  # @private
897
909
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1347,6 +1359,7 @@ module Google
1347
1359
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1348
1360
 
1349
1361
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
1362
+ property :notify_preference, as: 'notifyPreference'
1350
1363
  collection :redemption_issuers, as: 'redemptionIssuers'
1351
1364
  property :review, as: 'review', class: Google::Apis::WalletobjectsV1::Review, decorator: Google::Apis::WalletobjectsV1::Review::Representation
1352
1365
 
@@ -1358,6 +1371,8 @@ module Google
1358
1371
 
1359
1372
  collection :text_modules_data, as: 'textModulesData', class: Google::Apis::WalletobjectsV1::TextModuleData, decorator: Google::Apis::WalletobjectsV1::TextModuleData::Representation
1360
1373
 
1374
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
1375
+
1361
1376
  property :venue, as: 'venue', class: Google::Apis::WalletobjectsV1::EventVenue, decorator: Google::Apis::WalletobjectsV1::EventVenue::Representation
1362
1377
 
1363
1378
  property :version, :numeric_string => true, as: 'version'
@@ -1421,6 +1436,7 @@ module Google
1421
1436
 
1422
1437
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1423
1438
 
1439
+ property :notify_preference, as: 'notifyPreference'
1424
1440
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
1425
1441
 
1426
1442
  property :reservation_info, as: 'reservationInfo', class: Google::Apis::WalletobjectsV1::EventReservationInfo, decorator: Google::Apis::WalletobjectsV1::EventReservationInfo::Representation
@@ -1441,6 +1457,8 @@ module Google
1441
1457
 
1442
1458
  property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
1443
1459
 
1460
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
1461
+
1444
1462
  property :version, :numeric_string => true, as: 'version'
1445
1463
  end
1446
1464
  end
@@ -1570,6 +1588,7 @@ module Google
1570
1588
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1571
1589
 
1572
1590
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
1591
+ property :notify_preference, as: 'notifyPreference'
1573
1592
  property :origin, as: 'origin', class: Google::Apis::WalletobjectsV1::AirportInfo, decorator: Google::Apis::WalletobjectsV1::AirportInfo::Representation
1574
1593
 
1575
1594
  collection :redemption_issuers, as: 'redemptionIssuers'
@@ -1580,6 +1599,8 @@ module Google
1580
1599
 
1581
1600
  collection :text_modules_data, as: 'textModulesData', class: Google::Apis::WalletobjectsV1::TextModuleData, decorator: Google::Apis::WalletobjectsV1::TextModuleData::Representation
1582
1601
 
1602
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
1603
+
1583
1604
  property :version, :numeric_string => true, as: 'version'
1584
1605
  property :view_unlock_requirement, as: 'viewUnlockRequirement'
1585
1606
  property :word_mark, as: 'wordMark', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
@@ -1652,6 +1673,7 @@ module Google
1652
1673
 
1653
1674
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1654
1675
 
1676
+ property :notify_preference, as: 'notifyPreference'
1655
1677
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
1656
1678
 
1657
1679
  property :passenger_name, as: 'passengerName'
@@ -1669,6 +1691,8 @@ module Google
1669
1691
 
1670
1692
  property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
1671
1693
 
1694
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
1695
+
1672
1696
  property :version, :numeric_string => true, as: 'version'
1673
1697
  end
1674
1698
  end
@@ -1724,6 +1748,8 @@ module Google
1724
1748
 
1725
1749
  collection :text_modules_data, as: 'textModulesData', class: Google::Apis::WalletobjectsV1::TextModuleData, decorator: Google::Apis::WalletobjectsV1::TextModuleData::Representation
1726
1750
 
1751
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
1752
+
1727
1753
  property :view_unlock_requirement, as: 'viewUnlockRequirement'
1728
1754
  end
1729
1755
  end
@@ -1791,6 +1817,8 @@ module Google
1791
1817
 
1792
1818
  property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
1793
1819
 
1820
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
1821
+
1794
1822
  property :wide_logo, as: 'wideLogo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
1795
1823
 
1796
1824
  end
@@ -1859,6 +1887,7 @@ module Google
1859
1887
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1860
1888
 
1861
1889
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
1890
+ property :notify_preference, as: 'notifyPreference'
1862
1891
  property :pin_label, as: 'pinLabel'
1863
1892
  property :program_logo, as: 'programLogo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
1864
1893
 
@@ -1870,6 +1899,8 @@ module Google
1870
1899
 
1871
1900
  collection :text_modules_data, as: 'textModulesData', class: Google::Apis::WalletobjectsV1::TextModuleData, decorator: Google::Apis::WalletobjectsV1::TextModuleData::Representation
1872
1901
 
1902
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
1903
+
1873
1904
  property :version, :numeric_string => true, as: 'version'
1874
1905
  property :view_unlock_requirement, as: 'viewUnlockRequirement'
1875
1906
  property :wide_program_logo, as: 'wideProgramLogo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
@@ -1933,6 +1964,7 @@ module Google
1933
1964
 
1934
1965
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1935
1966
 
1967
+ property :notify_preference, as: 'notifyPreference'
1936
1968
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
1937
1969
 
1938
1970
  property :pin, as: 'pin'
@@ -1946,6 +1978,8 @@ module Google
1946
1978
 
1947
1979
  property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
1948
1980
 
1981
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
1982
+
1949
1983
  property :version, :numeric_string => true, as: 'version'
1950
1984
  end
1951
1985
  end
@@ -2186,6 +2220,7 @@ module Google
2186
2220
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2187
2221
 
2188
2222
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
2223
+ property :notify_preference, as: 'notifyPreference'
2189
2224
  property :program_logo, as: 'programLogo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
2190
2225
 
2191
2226
  property :program_name, as: 'programName'
@@ -2201,6 +2236,8 @@ module Google
2201
2236
 
2202
2237
  collection :text_modules_data, as: 'textModulesData', class: Google::Apis::WalletobjectsV1::TextModuleData, decorator: Google::Apis::WalletobjectsV1::TextModuleData::Representation
2203
2238
 
2239
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
2240
+
2204
2241
  property :version, :numeric_string => true, as: 'version'
2205
2242
  property :view_unlock_requirement, as: 'viewUnlockRequirement'
2206
2243
  property :wide_program_logo, as: 'wideProgramLogo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
@@ -2263,6 +2300,7 @@ module Google
2263
2300
 
2264
2301
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2265
2302
 
2303
+ property :notify_preference, as: 'notifyPreference'
2266
2304
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
2267
2305
 
2268
2306
  property :rotating_barcode, as: 'rotatingBarcode', class: Google::Apis::WalletobjectsV1::RotatingBarcode, decorator: Google::Apis::WalletobjectsV1::RotatingBarcode::Representation
@@ -2277,6 +2315,8 @@ module Google
2277
2315
 
2278
2316
  property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
2279
2317
 
2318
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
2319
+
2280
2320
  property :version, :numeric_string => true, as: 'version'
2281
2321
  end
2282
2322
  end
@@ -2415,6 +2455,14 @@ module Google
2415
2455
  end
2416
2456
  end
2417
2457
 
2458
+ class ModuleViewConstraints
2459
+ # @private
2460
+ class Representation < Google::Apis::Core::JsonRepresentation
2461
+ property :display_interval, as: 'displayInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
2462
+
2463
+ end
2464
+ end
2465
+
2418
2466
  class Money
2419
2467
  # @private
2420
2468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2490,6 +2538,7 @@ module Google
2490
2538
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2491
2539
 
2492
2540
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
2541
+ property :notify_preference, as: 'notifyPreference'
2493
2542
  property :provider, as: 'provider'
2494
2543
  property :redemption_channel, as: 'redemptionChannel'
2495
2544
  collection :redemption_issuers, as: 'redemptionIssuers'
@@ -2504,6 +2553,8 @@ module Google
2504
2553
  property :title, as: 'title'
2505
2554
  property :title_image, as: 'titleImage', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
2506
2555
 
2556
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
2557
+
2507
2558
  property :version, :numeric_string => true, as: 'version'
2508
2559
  property :view_unlock_requirement, as: 'viewUnlockRequirement'
2509
2560
  property :wide_title_image, as: 'wideTitleImage', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
@@ -2561,6 +2612,7 @@ module Google
2561
2612
 
2562
2613
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2563
2614
 
2615
+ property :notify_preference, as: 'notifyPreference'
2564
2616
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
2565
2617
 
2566
2618
  property :rotating_barcode, as: 'rotatingBarcode', class: Google::Apis::WalletobjectsV1::RotatingBarcode, decorator: Google::Apis::WalletobjectsV1::RotatingBarcode::Representation
@@ -2573,6 +2625,8 @@ module Google
2573
2625
 
2574
2626
  property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
2575
2627
 
2628
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
2629
+
2576
2630
  property :version, :numeric_string => true, as: 'version'
2577
2631
  end
2578
2632
  end
@@ -2954,6 +3008,7 @@ module Google
2954
3008
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
2955
3009
 
2956
3010
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
3011
+ property :notify_preference, as: 'notifyPreference'
2957
3012
  collection :redemption_issuers, as: 'redemptionIssuers'
2958
3013
  property :review, as: 'review', class: Google::Apis::WalletobjectsV1::Review, decorator: Google::Apis::WalletobjectsV1::Review::Representation
2959
3014
 
@@ -2965,6 +3020,8 @@ module Google
2965
3020
  property :transit_operator_name, as: 'transitOperatorName', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
2966
3021
 
2967
3022
  property :transit_type, as: 'transitType'
3023
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
3024
+
2968
3025
  property :version, :numeric_string => true, as: 'version'
2969
3026
  property :view_unlock_requirement, as: 'viewUnlockRequirement'
2970
3027
  property :watermark, as: 'watermark', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
@@ -3033,6 +3090,7 @@ module Google
3033
3090
 
3034
3091
  collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
3035
3092
 
3093
+ property :notify_preference, as: 'notifyPreference'
3036
3094
  property :pass_constraints, as: 'passConstraints', class: Google::Apis::WalletobjectsV1::PassConstraints, decorator: Google::Apis::WalletobjectsV1::PassConstraints::Representation
3037
3095
 
3038
3096
  property :passenger_names, as: 'passengerNames'
@@ -3059,6 +3117,8 @@ module Google
3059
3117
  property :trip_type, as: 'tripType'
3060
3118
  property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
3061
3119
 
3120
+ collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
3121
+
3062
3122
  property :version, :numeric_string => true, as: 'version'
3063
3123
  end
3064
3124
  end
@@ -3124,6 +3184,22 @@ module Google
3124
3184
  property :uri, as: 'uri'
3125
3185
  end
3126
3186
  end
3187
+
3188
+ class ValueAddedModuleData
3189
+ # @private
3190
+ class Representation < Google::Apis::Core::JsonRepresentation
3191
+ property :body, as: 'body', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
3192
+
3193
+ property :header, as: 'header', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
3194
+
3195
+ property :image, as: 'image', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
3196
+
3197
+ property :sort_index, as: 'sortIndex'
3198
+ property :uri, as: 'uri'
3199
+ property :view_constraints, as: 'viewConstraints', class: Google::Apis::WalletobjectsV1::ModuleViewConstraints, decorator: Google::Apis::WalletobjectsV1::ModuleViewConstraints::Representation
3200
+
3201
+ end
3202
+ end
3127
3203
  end
3128
3204
  end
3129
3205
  end
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.15.0
4
+ version: 0.17.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-08-11 00:00:00.000000000 Z
11
+ date: 2024-10-27 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.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-walletobjects_v1/v0.17.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.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Wallet API V1