google-apis-walletobjects_v1 0.15.0 → 0.16.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d4df56cdd992f7f909d554eea593634be9d615f57d8f5110d46693d8c0053ed
|
|
4
|
+
data.tar.gz: ff23b04ad174f8c6e6e91261a27b43e505dafc53ff4fc5b497e4049594f6422a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e5e000e1e6b01a95e605fa092284a75be32cefc538586779a7799768c94822eeaf5e51b8f4e7a0c7611b942d2326e0d1c694265da3d2ac160fa7cca752aa9467
|
|
7
|
+
data.tar.gz: ec6d2ad5e9ca7e6b9ac84980110270213699610d88cdf1d1de32e4163ddd21906656250f8ebb5d8e65a3087581fe1aecd7cb2e29c87cb0660a41c4304597e727
|
data/CHANGELOG.md
CHANGED
|
@@ -1750,6 +1750,12 @@ module Google
|
|
|
1750
1750
|
# @return [Array<Google::Apis::WalletobjectsV1::TextModuleData>]
|
|
1751
1751
|
attr_accessor :text_modules_data
|
|
1752
1752
|
|
|
1753
|
+
# Optional value added module data. Maximum of ten on the class. For a pass only
|
|
1754
|
+
# ten will be displayed, prioritizing those from the object.
|
|
1755
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
1756
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
1757
|
+
attr_accessor :value_added_module_data
|
|
1758
|
+
|
|
1753
1759
|
# Event venue details.
|
|
1754
1760
|
# Corresponds to the JSON property `venue`
|
|
1755
1761
|
# @return [Google::Apis::WalletobjectsV1::EventVenue]
|
|
@@ -1820,6 +1826,7 @@ module Google
|
|
|
1820
1826
|
@section_label = args[:section_label] if args.key?(:section_label)
|
|
1821
1827
|
@security_animation = args[:security_animation] if args.key?(:security_animation)
|
|
1822
1828
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
1829
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
1823
1830
|
@venue = args[:venue] if args.key?(:venue)
|
|
1824
1831
|
@version = args[:version] if args.key?(:version)
|
|
1825
1832
|
@view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
|
|
@@ -2090,6 +2097,11 @@ module Google
|
|
|
2090
2097
|
# @return [Google::Apis::WalletobjectsV1::TimeInterval]
|
|
2091
2098
|
attr_accessor :valid_time_interval
|
|
2092
2099
|
|
|
2100
|
+
# Optional value added module data. Maximum of ten on the object.
|
|
2101
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
2102
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
2103
|
+
attr_accessor :value_added_module_data
|
|
2104
|
+
|
|
2093
2105
|
# Deprecated
|
|
2094
2106
|
# Corresponds to the JSON property `version`
|
|
2095
2107
|
# @return [Fixnum]
|
|
@@ -2133,6 +2145,7 @@ module Google
|
|
|
2133
2145
|
@ticket_number = args[:ticket_number] if args.key?(:ticket_number)
|
|
2134
2146
|
@ticket_type = args[:ticket_type] if args.key?(:ticket_type)
|
|
2135
2147
|
@valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
|
|
2148
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
2136
2149
|
@version = args[:version] if args.key?(:version)
|
|
2137
2150
|
end
|
|
2138
2151
|
end
|
|
@@ -2648,6 +2661,12 @@ module Google
|
|
|
2648
2661
|
# @return [Array<Google::Apis::WalletobjectsV1::TextModuleData>]
|
|
2649
2662
|
attr_accessor :text_modules_data
|
|
2650
2663
|
|
|
2664
|
+
# Optional value added module data. Maximum of ten on the class. For a pass only
|
|
2665
|
+
# ten will be displayed, prioritizing those from the object.
|
|
2666
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
2667
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
2668
|
+
attr_accessor :value_added_module_data
|
|
2669
|
+
|
|
2651
2670
|
# Deprecated
|
|
2652
2671
|
# Corresponds to the JSON property `version`
|
|
2653
2672
|
# @return [Fixnum]
|
|
@@ -2705,6 +2724,7 @@ module Google
|
|
|
2705
2724
|
@review_status = args[:review_status] if args.key?(:review_status)
|
|
2706
2725
|
@security_animation = args[:security_animation] if args.key?(:security_animation)
|
|
2707
2726
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
2727
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
2708
2728
|
@version = args[:version] if args.key?(:version)
|
|
2709
2729
|
@view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
|
|
2710
2730
|
@word_mark = args[:word_mark] if args.key?(:word_mark)
|
|
@@ -3008,6 +3028,11 @@ module Google
|
|
|
3008
3028
|
# @return [Google::Apis::WalletobjectsV1::TimeInterval]
|
|
3009
3029
|
attr_accessor :valid_time_interval
|
|
3010
3030
|
|
|
3031
|
+
# Optional value added module data. Maximum of ten on the object.
|
|
3032
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
3033
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
3034
|
+
attr_accessor :value_added_module_data
|
|
3035
|
+
|
|
3011
3036
|
# Deprecated
|
|
3012
3037
|
# Corresponds to the JSON property `version`
|
|
3013
3038
|
# @return [Fixnum]
|
|
@@ -3048,6 +3073,7 @@ module Google
|
|
|
3048
3073
|
@state = args[:state] if args.key?(:state)
|
|
3049
3074
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
3050
3075
|
@valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
|
|
3076
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
3051
3077
|
@version = args[:version] if args.key?(:version)
|
|
3052
3078
|
end
|
|
3053
3079
|
end
|
|
@@ -3216,6 +3242,12 @@ module Google
|
|
|
3216
3242
|
# @return [Array<Google::Apis::WalletobjectsV1::TextModuleData>]
|
|
3217
3243
|
attr_accessor :text_modules_data
|
|
3218
3244
|
|
|
3245
|
+
# Optional value added module data. Maximum of ten on the class. For a pass only
|
|
3246
|
+
# ten will be displayed, prioritizing those from the object.
|
|
3247
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
3248
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
3249
|
+
attr_accessor :value_added_module_data
|
|
3250
|
+
|
|
3219
3251
|
# View Unlock Requirement options for the generic pass.
|
|
3220
3252
|
# Corresponds to the JSON property `viewUnlockRequirement`
|
|
3221
3253
|
# @return [String]
|
|
@@ -3239,6 +3271,7 @@ module Google
|
|
|
3239
3271
|
@redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
|
|
3240
3272
|
@security_animation = args[:security_animation] if args.key?(:security_animation)
|
|
3241
3273
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
3274
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
3242
3275
|
@view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
|
|
3243
3276
|
end
|
|
3244
3277
|
end
|
|
@@ -3465,6 +3498,11 @@ module Google
|
|
|
3465
3498
|
# @return [Google::Apis::WalletobjectsV1::TimeInterval]
|
|
3466
3499
|
attr_accessor :valid_time_interval
|
|
3467
3500
|
|
|
3501
|
+
# Optional value added module data. Maximum of ten on the object.
|
|
3502
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
3503
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
3504
|
+
attr_accessor :value_added_module_data
|
|
3505
|
+
|
|
3468
3506
|
# Wrapping type for Google hosted images. Next ID: 7
|
|
3469
3507
|
# Corresponds to the JSON property `wideLogo`
|
|
3470
3508
|
# @return [Google::Apis::WalletobjectsV1::Image]
|
|
@@ -3501,6 +3539,7 @@ module Google
|
|
|
3501
3539
|
@subheader = args[:subheader] if args.key?(:subheader)
|
|
3502
3540
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
3503
3541
|
@valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
|
|
3542
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
3504
3543
|
@wide_logo = args[:wide_logo] if args.key?(:wide_logo)
|
|
3505
3544
|
end
|
|
3506
3545
|
end
|
|
@@ -3776,6 +3815,12 @@ module Google
|
|
|
3776
3815
|
# @return [Array<Google::Apis::WalletobjectsV1::TextModuleData>]
|
|
3777
3816
|
attr_accessor :text_modules_data
|
|
3778
3817
|
|
|
3818
|
+
# Optional value added module data. Maximum of ten on the class. For a pass only
|
|
3819
|
+
# ten will be displayed, prioritizing those from the object.
|
|
3820
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
3821
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
3822
|
+
attr_accessor :value_added_module_data
|
|
3823
|
+
|
|
3779
3824
|
# Deprecated
|
|
3780
3825
|
# Corresponds to the JSON property `version`
|
|
3781
3826
|
# @return [Fixnum]
|
|
@@ -3836,6 +3881,7 @@ module Google
|
|
|
3836
3881
|
@review_status = args[:review_status] if args.key?(:review_status)
|
|
3837
3882
|
@security_animation = args[:security_animation] if args.key?(:security_animation)
|
|
3838
3883
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
3884
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
3839
3885
|
@version = args[:version] if args.key?(:version)
|
|
3840
3886
|
@view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
|
|
3841
3887
|
@wide_program_logo = args[:wide_program_logo] if args.key?(:wide_program_logo)
|
|
@@ -4081,6 +4127,11 @@ module Google
|
|
|
4081
4127
|
# @return [Google::Apis::WalletobjectsV1::TimeInterval]
|
|
4082
4128
|
attr_accessor :valid_time_interval
|
|
4083
4129
|
|
|
4130
|
+
# Optional value added module data. Maximum of ten on the object.
|
|
4131
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
4132
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
4133
|
+
attr_accessor :value_added_module_data
|
|
4134
|
+
|
|
4084
4135
|
# Deprecated
|
|
4085
4136
|
# Corresponds to the JSON property `version`
|
|
4086
4137
|
# @return [Fixnum]
|
|
@@ -4121,6 +4172,7 @@ module Google
|
|
|
4121
4172
|
@state = args[:state] if args.key?(:state)
|
|
4122
4173
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
4123
4174
|
@valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
|
|
4175
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
4124
4176
|
@version = args[:version] if args.key?(:version)
|
|
4125
4177
|
end
|
|
4126
4178
|
end
|
|
@@ -4951,6 +5003,12 @@ module Google
|
|
|
4951
5003
|
# @return [Array<Google::Apis::WalletobjectsV1::TextModuleData>]
|
|
4952
5004
|
attr_accessor :text_modules_data
|
|
4953
5005
|
|
|
5006
|
+
# Optional value added module data. Maximum of ten on the class. For a pass only
|
|
5007
|
+
# ten will be displayed, prioritizing those from the object.
|
|
5008
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
5009
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
5010
|
+
attr_accessor :value_added_module_data
|
|
5011
|
+
|
|
4954
5012
|
# Deprecated
|
|
4955
5013
|
# Corresponds to the JSON property `version`
|
|
4956
5014
|
# @return [Fixnum]
|
|
@@ -5017,6 +5075,7 @@ module Google
|
|
|
5017
5075
|
@secondary_rewards_tier_label = args[:secondary_rewards_tier_label] if args.key?(:secondary_rewards_tier_label)
|
|
5018
5076
|
@security_animation = args[:security_animation] if args.key?(:security_animation)
|
|
5019
5077
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
5078
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
5020
5079
|
@version = args[:version] if args.key?(:version)
|
|
5021
5080
|
@view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
|
|
5022
5081
|
@wide_program_logo = args[:wide_program_logo] if args.key?(:wide_program_logo)
|
|
@@ -5267,6 +5326,11 @@ module Google
|
|
|
5267
5326
|
# @return [Google::Apis::WalletobjectsV1::TimeInterval]
|
|
5268
5327
|
attr_accessor :valid_time_interval
|
|
5269
5328
|
|
|
5329
|
+
# Optional value added module data. Maximum of ten on the object.
|
|
5330
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
5331
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
5332
|
+
attr_accessor :value_added_module_data
|
|
5333
|
+
|
|
5270
5334
|
# Deprecated
|
|
5271
5335
|
# Corresponds to the JSON property `version`
|
|
5272
5336
|
# @return [Fixnum]
|
|
@@ -5307,6 +5371,7 @@ module Google
|
|
|
5307
5371
|
@state = args[:state] if args.key?(:state)
|
|
5308
5372
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
5309
5373
|
@valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
|
|
5374
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
5310
5375
|
@version = args[:version] if args.key?(:version)
|
|
5311
5376
|
end
|
|
5312
5377
|
end
|
|
@@ -5866,6 +5931,28 @@ module Google
|
|
|
5866
5931
|
end
|
|
5867
5932
|
end
|
|
5868
5933
|
|
|
5934
|
+
# Constraints that all must be met for the module to be shown.
|
|
5935
|
+
class ModuleViewConstraints
|
|
5936
|
+
include Google::Apis::Core::Hashable
|
|
5937
|
+
|
|
5938
|
+
# The period of time that the module will be displayed to users. Can define both
|
|
5939
|
+
# a `startTime` and `endTime`. The module is displayed immediately after
|
|
5940
|
+
# insertion unless a `startTime` is set. The module is displayed indefinitely if
|
|
5941
|
+
# `endTime` is not set.
|
|
5942
|
+
# Corresponds to the JSON property `displayInterval`
|
|
5943
|
+
# @return [Google::Apis::WalletobjectsV1::TimeInterval]
|
|
5944
|
+
attr_accessor :display_interval
|
|
5945
|
+
|
|
5946
|
+
def initialize(**args)
|
|
5947
|
+
update!(**args)
|
|
5948
|
+
end
|
|
5949
|
+
|
|
5950
|
+
# Update properties of this object
|
|
5951
|
+
def update!(**args)
|
|
5952
|
+
@display_interval = args[:display_interval] if args.key?(:display_interval)
|
|
5953
|
+
end
|
|
5954
|
+
end
|
|
5955
|
+
|
|
5869
5956
|
#
|
|
5870
5957
|
class Money
|
|
5871
5958
|
include Google::Apis::Core::Hashable
|
|
@@ -6210,6 +6297,12 @@ module Google
|
|
|
6210
6297
|
# @return [Google::Apis::WalletobjectsV1::Image]
|
|
6211
6298
|
attr_accessor :title_image
|
|
6212
6299
|
|
|
6300
|
+
# Optional value added module data. Maximum of ten on the class. For a pass only
|
|
6301
|
+
# ten will be displayed, prioritizing those from the object.
|
|
6302
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
6303
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
6304
|
+
attr_accessor :value_added_module_data
|
|
6305
|
+
|
|
6213
6306
|
# Deprecated
|
|
6214
6307
|
# Corresponds to the JSON property `version`
|
|
6215
6308
|
# @return [Fixnum]
|
|
@@ -6273,6 +6366,7 @@ module Google
|
|
|
6273
6366
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
6274
6367
|
@title = args[:title] if args.key?(:title)
|
|
6275
6368
|
@title_image = args[:title_image] if args.key?(:title_image)
|
|
6369
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
6276
6370
|
@version = args[:version] if args.key?(:version)
|
|
6277
6371
|
@view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
|
|
6278
6372
|
@wide_title_image = args[:wide_title_image] if args.key?(:wide_title_image)
|
|
@@ -6491,6 +6585,11 @@ module Google
|
|
|
6491
6585
|
# @return [Google::Apis::WalletobjectsV1::TimeInterval]
|
|
6492
6586
|
attr_accessor :valid_time_interval
|
|
6493
6587
|
|
|
6588
|
+
# Optional value added module data. Maximum of ten on the object.
|
|
6589
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
6590
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
6591
|
+
attr_accessor :value_added_module_data
|
|
6592
|
+
|
|
6494
6593
|
# Deprecated
|
|
6495
6594
|
# Corresponds to the JSON property `version`
|
|
6496
6595
|
# @return [Fixnum]
|
|
@@ -6526,6 +6625,7 @@ module Google
|
|
|
6526
6625
|
@state = args[:state] if args.key?(:state)
|
|
6527
6626
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
6528
6627
|
@valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
|
|
6628
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
6529
6629
|
@version = args[:version] if args.key?(:version)
|
|
6530
6630
|
end
|
|
6531
6631
|
end
|
|
@@ -7887,6 +7987,12 @@ module Google
|
|
|
7887
7987
|
# @return [String]
|
|
7888
7988
|
attr_accessor :transit_type
|
|
7889
7989
|
|
|
7990
|
+
# Optional value added module data. Maximum of ten on the class. For a pass only
|
|
7991
|
+
# ten will be displayed, prioritizing those from the object.
|
|
7992
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
7993
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
7994
|
+
attr_accessor :value_added_module_data
|
|
7995
|
+
|
|
7890
7996
|
# Deprecated
|
|
7891
7997
|
# Corresponds to the JSON property `version`
|
|
7892
7998
|
# @return [Fixnum]
|
|
@@ -7966,6 +8072,7 @@ module Google
|
|
|
7966
8072
|
@text_modules_data = args[:text_modules_data] if args.key?(:text_modules_data)
|
|
7967
8073
|
@transit_operator_name = args[:transit_operator_name] if args.key?(:transit_operator_name)
|
|
7968
8074
|
@transit_type = args[:transit_type] if args.key?(:transit_type)
|
|
8075
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
7969
8076
|
@version = args[:version] if args.key?(:version)
|
|
7970
8077
|
@view_unlock_requirement = args[:view_unlock_requirement] if args.key?(:view_unlock_requirement)
|
|
7971
8078
|
@watermark = args[:watermark] if args.key?(:watermark)
|
|
@@ -8281,6 +8388,11 @@ module Google
|
|
|
8281
8388
|
# @return [Google::Apis::WalletobjectsV1::TimeInterval]
|
|
8282
8389
|
attr_accessor :valid_time_interval
|
|
8283
8390
|
|
|
8391
|
+
# Optional value added module data. Maximum of ten on the object.
|
|
8392
|
+
# Corresponds to the JSON property `valueAddedModuleData`
|
|
8393
|
+
# @return [Array<Google::Apis::WalletobjectsV1::ValueAddedModuleData>]
|
|
8394
|
+
attr_accessor :value_added_module_data
|
|
8395
|
+
|
|
8284
8396
|
# Deprecated
|
|
8285
8397
|
# Corresponds to the JSON property `version`
|
|
8286
8398
|
# @return [Fixnum]
|
|
@@ -8331,6 +8443,7 @@ module Google
|
|
|
8331
8443
|
@trip_id = args[:trip_id] if args.key?(:trip_id)
|
|
8332
8444
|
@trip_type = args[:trip_type] if args.key?(:trip_type)
|
|
8333
8445
|
@valid_time_interval = args[:valid_time_interval] if args.key?(:valid_time_interval)
|
|
8446
|
+
@value_added_module_data = args[:value_added_module_data] if args.key?(:value_added_module_data)
|
|
8334
8447
|
@version = args[:version] if args.key?(:version)
|
|
8335
8448
|
end
|
|
8336
8449
|
end
|
|
@@ -8522,6 +8635,61 @@ module Google
|
|
|
8522
8635
|
@uri = args[:uri] if args.key?(:uri)
|
|
8523
8636
|
end
|
|
8524
8637
|
end
|
|
8638
|
+
|
|
8639
|
+
# Data for Value Added module. Required fields are header and uri.
|
|
8640
|
+
class ValueAddedModuleData
|
|
8641
|
+
include Google::Apis::Core::Hashable
|
|
8642
|
+
|
|
8643
|
+
# Body to be displayed on the module. Character limit is 50 and longer strings
|
|
8644
|
+
# will be truncated.
|
|
8645
|
+
# Corresponds to the JSON property `body`
|
|
8646
|
+
# @return [Google::Apis::WalletobjectsV1::LocalizedString]
|
|
8647
|
+
attr_accessor :body
|
|
8648
|
+
|
|
8649
|
+
# Header to be displayed on the module. Character limit is 60 and longer strings
|
|
8650
|
+
# will be truncated.
|
|
8651
|
+
# Corresponds to the JSON property `header`
|
|
8652
|
+
# @return [Google::Apis::WalletobjectsV1::LocalizedString]
|
|
8653
|
+
attr_accessor :header
|
|
8654
|
+
|
|
8655
|
+
# Wrapping type for Google hosted images. Next ID: 7
|
|
8656
|
+
# Corresponds to the JSON property `image`
|
|
8657
|
+
# @return [Google::Apis::WalletobjectsV1::Image]
|
|
8658
|
+
attr_accessor :image
|
|
8659
|
+
|
|
8660
|
+
# The index for sorting the modules. Modules with a lower sort index are shown
|
|
8661
|
+
# before modules with a higher sort index. If unspecified, the sort index is
|
|
8662
|
+
# assumed to be INT_MAX. For two modules with the same index, the sorting
|
|
8663
|
+
# behavior is undefined.
|
|
8664
|
+
# Corresponds to the JSON property `sortIndex`
|
|
8665
|
+
# @return [Fixnum]
|
|
8666
|
+
attr_accessor :sort_index
|
|
8667
|
+
|
|
8668
|
+
# URI that the module leads to on click. This can be a web link or a deep link
|
|
8669
|
+
# as mentioned in https://developer.android.com/training/app-links/deep-linking.
|
|
8670
|
+
# Corresponds to the JSON property `uri`
|
|
8671
|
+
# @return [String]
|
|
8672
|
+
attr_accessor :uri
|
|
8673
|
+
|
|
8674
|
+
# Constraints that all must be met for the module to be shown.
|
|
8675
|
+
# Corresponds to the JSON property `viewConstraints`
|
|
8676
|
+
# @return [Google::Apis::WalletobjectsV1::ModuleViewConstraints]
|
|
8677
|
+
attr_accessor :view_constraints
|
|
8678
|
+
|
|
8679
|
+
def initialize(**args)
|
|
8680
|
+
update!(**args)
|
|
8681
|
+
end
|
|
8682
|
+
|
|
8683
|
+
# Update properties of this object
|
|
8684
|
+
def update!(**args)
|
|
8685
|
+
@body = args[:body] if args.key?(:body)
|
|
8686
|
+
@header = args[:header] if args.key?(:header)
|
|
8687
|
+
@image = args[:image] if args.key?(:image)
|
|
8688
|
+
@sort_index = args[:sort_index] if args.key?(:sort_index)
|
|
8689
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
8690
|
+
@view_constraints = args[:view_constraints] if args.key?(:view_constraints)
|
|
8691
|
+
end
|
|
8692
|
+
end
|
|
8525
8693
|
end
|
|
8526
8694
|
end
|
|
8527
8695
|
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.
|
|
19
|
+
GEM_VERSION = "0.16.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 = "
|
|
25
|
+
REVISION = "20240927"
|
|
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
|
|
@@ -1358,6 +1370,8 @@ module Google
|
|
|
1358
1370
|
|
|
1359
1371
|
collection :text_modules_data, as: 'textModulesData', class: Google::Apis::WalletobjectsV1::TextModuleData, decorator: Google::Apis::WalletobjectsV1::TextModuleData::Representation
|
|
1360
1372
|
|
|
1373
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
1374
|
+
|
|
1361
1375
|
property :venue, as: 'venue', class: Google::Apis::WalletobjectsV1::EventVenue, decorator: Google::Apis::WalletobjectsV1::EventVenue::Representation
|
|
1362
1376
|
|
|
1363
1377
|
property :version, :numeric_string => true, as: 'version'
|
|
@@ -1441,6 +1455,8 @@ module Google
|
|
|
1441
1455
|
|
|
1442
1456
|
property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
|
|
1443
1457
|
|
|
1458
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
1459
|
+
|
|
1444
1460
|
property :version, :numeric_string => true, as: 'version'
|
|
1445
1461
|
end
|
|
1446
1462
|
end
|
|
@@ -1580,6 +1596,8 @@ module Google
|
|
|
1580
1596
|
|
|
1581
1597
|
collection :text_modules_data, as: 'textModulesData', class: Google::Apis::WalletobjectsV1::TextModuleData, decorator: Google::Apis::WalletobjectsV1::TextModuleData::Representation
|
|
1582
1598
|
|
|
1599
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
1600
|
+
|
|
1583
1601
|
property :version, :numeric_string => true, as: 'version'
|
|
1584
1602
|
property :view_unlock_requirement, as: 'viewUnlockRequirement'
|
|
1585
1603
|
property :word_mark, as: 'wordMark', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
|
|
@@ -1669,6 +1687,8 @@ module Google
|
|
|
1669
1687
|
|
|
1670
1688
|
property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
|
|
1671
1689
|
|
|
1690
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
1691
|
+
|
|
1672
1692
|
property :version, :numeric_string => true, as: 'version'
|
|
1673
1693
|
end
|
|
1674
1694
|
end
|
|
@@ -1724,6 +1744,8 @@ module Google
|
|
|
1724
1744
|
|
|
1725
1745
|
collection :text_modules_data, as: 'textModulesData', class: Google::Apis::WalletobjectsV1::TextModuleData, decorator: Google::Apis::WalletobjectsV1::TextModuleData::Representation
|
|
1726
1746
|
|
|
1747
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
1748
|
+
|
|
1727
1749
|
property :view_unlock_requirement, as: 'viewUnlockRequirement'
|
|
1728
1750
|
end
|
|
1729
1751
|
end
|
|
@@ -1791,6 +1813,8 @@ module Google
|
|
|
1791
1813
|
|
|
1792
1814
|
property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
|
|
1793
1815
|
|
|
1816
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
1817
|
+
|
|
1794
1818
|
property :wide_logo, as: 'wideLogo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
|
|
1795
1819
|
|
|
1796
1820
|
end
|
|
@@ -1870,6 +1894,8 @@ module Google
|
|
|
1870
1894
|
|
|
1871
1895
|
collection :text_modules_data, as: 'textModulesData', class: Google::Apis::WalletobjectsV1::TextModuleData, decorator: Google::Apis::WalletobjectsV1::TextModuleData::Representation
|
|
1872
1896
|
|
|
1897
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
1898
|
+
|
|
1873
1899
|
property :version, :numeric_string => true, as: 'version'
|
|
1874
1900
|
property :view_unlock_requirement, as: 'viewUnlockRequirement'
|
|
1875
1901
|
property :wide_program_logo, as: 'wideProgramLogo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
|
|
@@ -1946,6 +1972,8 @@ module Google
|
|
|
1946
1972
|
|
|
1947
1973
|
property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
|
|
1948
1974
|
|
|
1975
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
1976
|
+
|
|
1949
1977
|
property :version, :numeric_string => true, as: 'version'
|
|
1950
1978
|
end
|
|
1951
1979
|
end
|
|
@@ -2201,6 +2229,8 @@ module Google
|
|
|
2201
2229
|
|
|
2202
2230
|
collection :text_modules_data, as: 'textModulesData', class: Google::Apis::WalletobjectsV1::TextModuleData, decorator: Google::Apis::WalletobjectsV1::TextModuleData::Representation
|
|
2203
2231
|
|
|
2232
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
2233
|
+
|
|
2204
2234
|
property :version, :numeric_string => true, as: 'version'
|
|
2205
2235
|
property :view_unlock_requirement, as: 'viewUnlockRequirement'
|
|
2206
2236
|
property :wide_program_logo, as: 'wideProgramLogo', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
|
|
@@ -2277,6 +2307,8 @@ module Google
|
|
|
2277
2307
|
|
|
2278
2308
|
property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
|
|
2279
2309
|
|
|
2310
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
2311
|
+
|
|
2280
2312
|
property :version, :numeric_string => true, as: 'version'
|
|
2281
2313
|
end
|
|
2282
2314
|
end
|
|
@@ -2415,6 +2447,14 @@ module Google
|
|
|
2415
2447
|
end
|
|
2416
2448
|
end
|
|
2417
2449
|
|
|
2450
|
+
class ModuleViewConstraints
|
|
2451
|
+
# @private
|
|
2452
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2453
|
+
property :display_interval, as: 'displayInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
|
|
2454
|
+
|
|
2455
|
+
end
|
|
2456
|
+
end
|
|
2457
|
+
|
|
2418
2458
|
class Money
|
|
2419
2459
|
# @private
|
|
2420
2460
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2504,6 +2544,8 @@ module Google
|
|
|
2504
2544
|
property :title, as: 'title'
|
|
2505
2545
|
property :title_image, as: 'titleImage', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
|
|
2506
2546
|
|
|
2547
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
2548
|
+
|
|
2507
2549
|
property :version, :numeric_string => true, as: 'version'
|
|
2508
2550
|
property :view_unlock_requirement, as: 'viewUnlockRequirement'
|
|
2509
2551
|
property :wide_title_image, as: 'wideTitleImage', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
|
|
@@ -2573,6 +2615,8 @@ module Google
|
|
|
2573
2615
|
|
|
2574
2616
|
property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
|
|
2575
2617
|
|
|
2618
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
2619
|
+
|
|
2576
2620
|
property :version, :numeric_string => true, as: 'version'
|
|
2577
2621
|
end
|
|
2578
2622
|
end
|
|
@@ -2965,6 +3009,8 @@ module Google
|
|
|
2965
3009
|
property :transit_operator_name, as: 'transitOperatorName', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
|
|
2966
3010
|
|
|
2967
3011
|
property :transit_type, as: 'transitType'
|
|
3012
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
3013
|
+
|
|
2968
3014
|
property :version, :numeric_string => true, as: 'version'
|
|
2969
3015
|
property :view_unlock_requirement, as: 'viewUnlockRequirement'
|
|
2970
3016
|
property :watermark, as: 'watermark', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
|
|
@@ -3059,6 +3105,8 @@ module Google
|
|
|
3059
3105
|
property :trip_type, as: 'tripType'
|
|
3060
3106
|
property :valid_time_interval, as: 'validTimeInterval', class: Google::Apis::WalletobjectsV1::TimeInterval, decorator: Google::Apis::WalletobjectsV1::TimeInterval::Representation
|
|
3061
3107
|
|
|
3108
|
+
collection :value_added_module_data, as: 'valueAddedModuleData', class: Google::Apis::WalletobjectsV1::ValueAddedModuleData, decorator: Google::Apis::WalletobjectsV1::ValueAddedModuleData::Representation
|
|
3109
|
+
|
|
3062
3110
|
property :version, :numeric_string => true, as: 'version'
|
|
3063
3111
|
end
|
|
3064
3112
|
end
|
|
@@ -3124,6 +3172,22 @@ module Google
|
|
|
3124
3172
|
property :uri, as: 'uri'
|
|
3125
3173
|
end
|
|
3126
3174
|
end
|
|
3175
|
+
|
|
3176
|
+
class ValueAddedModuleData
|
|
3177
|
+
# @private
|
|
3178
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3179
|
+
property :body, as: 'body', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
|
|
3180
|
+
|
|
3181
|
+
property :header, as: 'header', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
|
|
3182
|
+
|
|
3183
|
+
property :image, as: 'image', class: Google::Apis::WalletobjectsV1::Image, decorator: Google::Apis::WalletobjectsV1::Image::Representation
|
|
3184
|
+
|
|
3185
|
+
property :sort_index, as: 'sortIndex'
|
|
3186
|
+
property :uri, as: 'uri'
|
|
3187
|
+
property :view_constraints, as: 'viewConstraints', class: Google::Apis::WalletobjectsV1::ModuleViewConstraints, decorator: Google::Apis::WalletobjectsV1::ModuleViewConstraints::Representation
|
|
3188
|
+
|
|
3189
|
+
end
|
|
3190
|
+
end
|
|
3127
3191
|
end
|
|
3128
3192
|
end
|
|
3129
3193
|
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.
|
|
4
|
+
version: 0.16.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-
|
|
11
|
+
date: 2024-09-29 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.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-walletobjects_v1/v0.16.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: []
|