google-apis-walletobjects_v1 0.4.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/walletobjects_v1/classes.rb +56 -154
- data/lib/google/apis/walletobjects_v1/gem_version.rb +3 -3
- data/lib/google/apis/walletobjects_v1/representations.rb +31 -90
- data/lib/google/apis/walletobjects_v1/service.rb +72 -30
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5e249e98c1498dd308583bda80531afdda160a315b33f1bd1766ca647bf9956
|
4
|
+
data.tar.gz: b9a1e8f44c84bfd20557385ede397d688490b00291dd707333bfc6e700593457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5fc142559439a61d3359b3cae4b5da771a0645a6f1b7d771747f57000aac81b1a2e79e0f788aebe38fb90f21d9755ea52dba89584653e43e5240d45959f1f34
|
7
|
+
data.tar.gz: 9af05d4bcd31b17bdc5d9e9bb4bf39d35bf968b95406099261df46df42199c40ad2ed7053c66eabcdfceac2bf256009fcb83df4244784f5d184ec7fee8ccadd1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-walletobjects_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2024-02-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240220
|
6
|
+
* Regenerated using generator version 0.14.0
|
7
|
+
|
8
|
+
### v0.5.0 (2024-02-18)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240216
|
11
|
+
|
3
12
|
### v0.4.0 (2024-02-11)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240206
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/pay/passes) may provid
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -218,7 +218,13 @@ module Google
|
|
218
218
|
class AppLinkDataAppLinkInfoAppTarget
|
219
219
|
include Google::Apis::Core::Hashable
|
220
220
|
|
221
|
-
#
|
221
|
+
# Package name for AppTarget. For example: com.google.android.gm
|
222
|
+
# Corresponds to the JSON property `packageName`
|
223
|
+
# @return [String]
|
224
|
+
attr_accessor :package_name
|
225
|
+
|
226
|
+
# URI for AppTarget. The description on the URI must be set. Prefer setting
|
227
|
+
# package field instead, if this target is defined for your application.
|
222
228
|
# Corresponds to the JSON property `targetUri`
|
223
229
|
# @return [Google::Apis::WalletobjectsV1::Uri]
|
224
230
|
attr_accessor :target_uri
|
@@ -229,6 +235,7 @@ module Google
|
|
229
235
|
|
230
236
|
# Update properties of this object
|
231
237
|
def update!(**args)
|
238
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
232
239
|
@target_uri = args[:target_uri] if args.key?(:target_uri)
|
233
240
|
end
|
234
241
|
end
|
@@ -3107,6 +3114,12 @@ module Google
|
|
3107
3114
|
# @return [Google::Apis::WalletobjectsV1::LinksModuleData]
|
3108
3115
|
attr_accessor :links_module_data
|
3109
3116
|
|
3117
|
+
# An array of messages displayed in the app. All users of this object will
|
3118
|
+
# receive its associated messages. The maximum number of these fields is 10.
|
3119
|
+
# Corresponds to the JSON property `messages`
|
3120
|
+
# @return [Array<Google::Apis::WalletobjectsV1::Message>]
|
3121
|
+
attr_accessor :messages
|
3122
|
+
|
3110
3123
|
# Identifies whether multiple users and devices will save the same object
|
3111
3124
|
# referencing this class.
|
3112
3125
|
# Corresponds to the JSON property `multipleDevicesAndHoldersAllowedStatus`
|
@@ -3152,6 +3165,7 @@ module Google
|
|
3152
3165
|
@id = args[:id] if args.key?(:id)
|
3153
3166
|
@image_modules_data = args[:image_modules_data] if args.key?(:image_modules_data)
|
3154
3167
|
@links_module_data = args[:links_module_data] if args.key?(:links_module_data)
|
3168
|
+
@messages = args[:messages] if args.key?(:messages)
|
3155
3169
|
@multiple_devices_and_holders_allowed_status = args[:multiple_devices_and_holders_allowed_status] if args.key?(:multiple_devices_and_holders_allowed_status)
|
3156
3170
|
@redemption_issuers = args[:redemption_issuers] if args.key?(:redemption_issuers)
|
3157
3171
|
@security_animation = args[:security_animation] if args.key?(:security_animation)
|
@@ -3160,6 +3174,26 @@ module Google
|
|
3160
3174
|
end
|
3161
3175
|
end
|
3162
3176
|
|
3177
|
+
# Response to adding a new issuer message to the class. This contains the entire
|
3178
|
+
# updated GenericClass.
|
3179
|
+
class GenericClassAddMessageResponse
|
3180
|
+
include Google::Apis::Core::Hashable
|
3181
|
+
|
3182
|
+
# Generic Class
|
3183
|
+
# Corresponds to the JSON property `resource`
|
3184
|
+
# @return [Google::Apis::WalletobjectsV1::GenericClass]
|
3185
|
+
attr_accessor :resource
|
3186
|
+
|
3187
|
+
def initialize(**args)
|
3188
|
+
update!(**args)
|
3189
|
+
end
|
3190
|
+
|
3191
|
+
# Update properties of this object
|
3192
|
+
def update!(**args)
|
3193
|
+
@resource = args[:resource] if args.key?(:resource)
|
3194
|
+
end
|
3195
|
+
end
|
3196
|
+
|
3163
3197
|
# List response which contains the list of all generic classes for a given
|
3164
3198
|
# issuer ID.
|
3165
3199
|
class GenericClassListResponse
|
@@ -3370,6 +3404,26 @@ module Google
|
|
3370
3404
|
end
|
3371
3405
|
end
|
3372
3406
|
|
3407
|
+
# Response to adding a new issuer message to the object. This contains the
|
3408
|
+
# entire updated GenericObject.
|
3409
|
+
class GenericObjectAddMessageResponse
|
3410
|
+
include Google::Apis::Core::Hashable
|
3411
|
+
|
3412
|
+
# Generic Object Next ID: 121
|
3413
|
+
# Corresponds to the JSON property `resource`
|
3414
|
+
# @return [Google::Apis::WalletobjectsV1::GenericObject]
|
3415
|
+
attr_accessor :resource
|
3416
|
+
|
3417
|
+
def initialize(**args)
|
3418
|
+
update!(**args)
|
3419
|
+
end
|
3420
|
+
|
3421
|
+
# Update properties of this object
|
3422
|
+
def update!(**args)
|
3423
|
+
@resource = args[:resource] if args.key?(:resource)
|
3424
|
+
end
|
3425
|
+
end
|
3426
|
+
|
3373
3427
|
# List response which contains the list of all generic objects for a given
|
3374
3428
|
# issuer ID.
|
3375
3429
|
class GenericObjectListResponse
|
@@ -5577,7 +5631,7 @@ module Google
|
|
5577
5631
|
# @return [Google::Apis::WalletobjectsV1::LocalizedString]
|
5578
5632
|
attr_accessor :localized_header
|
5579
5633
|
|
5580
|
-
# The
|
5634
|
+
# The message type.
|
5581
5635
|
# Corresponds to the JSON property `messageType`
|
5582
5636
|
# @return [String]
|
5583
5637
|
attr_accessor :message_type
|
@@ -6425,62 +6479,6 @@ module Google
|
|
6425
6479
|
end
|
6426
6480
|
end
|
6427
6481
|
|
6428
|
-
# Private data for TextModule. This data will be rendered as a TextModule for a
|
6429
|
-
# pass.
|
6430
|
-
class PrivateText
|
6431
|
-
include Google::Apis::Core::Hashable
|
6432
|
-
|
6433
|
-
# Translated strings for the body.
|
6434
|
-
# Corresponds to the JSON property `body`
|
6435
|
-
# @return [Google::Apis::WalletobjectsV1::LocalizedString]
|
6436
|
-
attr_accessor :body
|
6437
|
-
|
6438
|
-
# Translated strings for the header.
|
6439
|
-
# Corresponds to the JSON property `header`
|
6440
|
-
# @return [Google::Apis::WalletobjectsV1::LocalizedString]
|
6441
|
-
attr_accessor :header
|
6442
|
-
|
6443
|
-
def initialize(**args)
|
6444
|
-
update!(**args)
|
6445
|
-
end
|
6446
|
-
|
6447
|
-
# Update properties of this object
|
6448
|
-
def update!(**args)
|
6449
|
-
@body = args[:body] if args.key?(:body)
|
6450
|
-
@header = args[:header] if args.key?(:header)
|
6451
|
-
end
|
6452
|
-
end
|
6453
|
-
|
6454
|
-
# Private data for LinkModule. This data will be rendered as the LinkModule for
|
6455
|
-
# a pass.
|
6456
|
-
class PrivateUri
|
6457
|
-
include Google::Apis::Core::Hashable
|
6458
|
-
|
6459
|
-
# The URI's title appearing in the app as text and its translated strings.
|
6460
|
-
# Recommended maximum is 20 characters to ensure the full string is displayed on
|
6461
|
-
# smaller screens.
|
6462
|
-
# Corresponds to the JSON property `description`
|
6463
|
-
# @return [Google::Apis::WalletobjectsV1::LocalizedString]
|
6464
|
-
attr_accessor :description
|
6465
|
-
|
6466
|
-
# The location of a web page, image, or other resource. URIs in the `
|
6467
|
-
# LinksModuleData` can have different prefixes indicating the type of URI (a
|
6468
|
-
# link to a web page, a link to a map, a telephone number, or an email address).
|
6469
|
-
# Corresponds to the JSON property `uri`
|
6470
|
-
# @return [String]
|
6471
|
-
attr_accessor :uri
|
6472
|
-
|
6473
|
-
def initialize(**args)
|
6474
|
-
update!(**args)
|
6475
|
-
end
|
6476
|
-
|
6477
|
-
# Update properties of this object
|
6478
|
-
def update!(**args)
|
6479
|
-
@description = args[:description] if args.key?(:description)
|
6480
|
-
@uri = args[:uri] if args.key?(:uri)
|
6481
|
-
end
|
6482
|
-
end
|
6483
|
-
|
6484
6482
|
#
|
6485
6483
|
class PurchaseDetails
|
6486
6484
|
include Google::Apis::Core::Hashable
|
@@ -8189,102 +8187,6 @@ module Google
|
|
8189
8187
|
end
|
8190
8188
|
end
|
8191
8189
|
|
8192
|
-
# Request for sending user private Text or URI by the Issuer.
|
8193
|
-
class UploadPrivateDataRequest
|
8194
|
-
include Google::Apis::Core::Hashable
|
8195
|
-
|
8196
|
-
# The ID of the issuer sending the data.
|
8197
|
-
# Corresponds to the JSON property `issuerId`
|
8198
|
-
# @return [Fixnum]
|
8199
|
-
attr_accessor :issuer_id
|
8200
|
-
|
8201
|
-
# Private data for TextModule. This data will be rendered as a TextModule for a
|
8202
|
-
# pass.
|
8203
|
-
# Corresponds to the JSON property `text`
|
8204
|
-
# @return [Google::Apis::WalletobjectsV1::PrivateText]
|
8205
|
-
attr_accessor :text
|
8206
|
-
|
8207
|
-
# Private data for LinkModule. This data will be rendered as the LinkModule for
|
8208
|
-
# a pass.
|
8209
|
-
# Corresponds to the JSON property `uri`
|
8210
|
-
# @return [Google::Apis::WalletobjectsV1::PrivateUri]
|
8211
|
-
attr_accessor :uri
|
8212
|
-
|
8213
|
-
def initialize(**args)
|
8214
|
-
update!(**args)
|
8215
|
-
end
|
8216
|
-
|
8217
|
-
# Update properties of this object
|
8218
|
-
def update!(**args)
|
8219
|
-
@issuer_id = args[:issuer_id] if args.key?(:issuer_id)
|
8220
|
-
@text = args[:text] if args.key?(:text)
|
8221
|
-
@uri = args[:uri] if args.key?(:uri)
|
8222
|
-
end
|
8223
|
-
end
|
8224
|
-
|
8225
|
-
# Response for uploading user private data (text or URIs)
|
8226
|
-
class UploadPrivateDataResponse
|
8227
|
-
include Google::Apis::Core::Hashable
|
8228
|
-
|
8229
|
-
# A 64-bit content id for the private data that was uploaded by the Issuer.
|
8230
|
-
# Corresponds to the JSON property `privateContentId`
|
8231
|
-
# @return [Fixnum]
|
8232
|
-
attr_accessor :private_content_id
|
8233
|
-
|
8234
|
-
def initialize(**args)
|
8235
|
-
update!(**args)
|
8236
|
-
end
|
8237
|
-
|
8238
|
-
# Update properties of this object
|
8239
|
-
def update!(**args)
|
8240
|
-
@private_content_id = args[:private_content_id] if args.key?(:private_content_id)
|
8241
|
-
end
|
8242
|
-
end
|
8243
|
-
|
8244
|
-
# Request to upload user's private images by Issuers to be used in passes.
|
8245
|
-
class UploadPrivateImageRequest
|
8246
|
-
include Google::Apis::Core::Hashable
|
8247
|
-
|
8248
|
-
# A reference to data stored on the filesystem, on GFS or in blobstore.
|
8249
|
-
# Corresponds to the JSON property `blob`
|
8250
|
-
# @return [Google::Apis::WalletobjectsV1::Media]
|
8251
|
-
attr_accessor :blob
|
8252
|
-
|
8253
|
-
# Extra information added to operations that support Scotty media requests.
|
8254
|
-
# Corresponds to the JSON property `mediaRequestInfo`
|
8255
|
-
# @return [Google::Apis::WalletobjectsV1::MediaRequestInfo]
|
8256
|
-
attr_accessor :media_request_info
|
8257
|
-
|
8258
|
-
def initialize(**args)
|
8259
|
-
update!(**args)
|
8260
|
-
end
|
8261
|
-
|
8262
|
-
# Update properties of this object
|
8263
|
-
def update!(**args)
|
8264
|
-
@blob = args[:blob] if args.key?(:blob)
|
8265
|
-
@media_request_info = args[:media_request_info] if args.key?(:media_request_info)
|
8266
|
-
end
|
8267
|
-
end
|
8268
|
-
|
8269
|
-
# Response for uploading the private image
|
8270
|
-
class UploadPrivateImageResponse
|
8271
|
-
include Google::Apis::Core::Hashable
|
8272
|
-
|
8273
|
-
# A 64-bit content id for the image that was uploaded by the Issuer.
|
8274
|
-
# Corresponds to the JSON property `privateContentId`
|
8275
|
-
# @return [Fixnum]
|
8276
|
-
attr_accessor :private_content_id
|
8277
|
-
|
8278
|
-
def initialize(**args)
|
8279
|
-
update!(**args)
|
8280
|
-
end
|
8281
|
-
|
8282
|
-
# Update properties of this object
|
8283
|
-
def update!(**args)
|
8284
|
-
@private_content_id = args[:private_content_id] if args.key?(:private_content_id)
|
8285
|
-
end
|
8286
|
-
end
|
8287
|
-
|
8288
8190
|
#
|
8289
8191
|
class Uri
|
8290
8192
|
include Google::Apis::Core::Hashable
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240220"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -382,6 +382,12 @@ module Google
|
|
382
382
|
include Google::Apis::Core::JsonObjectSupport
|
383
383
|
end
|
384
384
|
|
385
|
+
class GenericClassAddMessageResponse
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
385
391
|
class GenericClassListResponse
|
386
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
393
|
|
@@ -394,6 +400,12 @@ module Google
|
|
394
400
|
include Google::Apis::Core::JsonObjectSupport
|
395
401
|
end
|
396
402
|
|
403
|
+
class GenericObjectAddMessageResponse
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
397
409
|
class GenericObjectListResponse
|
398
410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
411
|
|
@@ -694,18 +706,6 @@ module Google
|
|
694
706
|
include Google::Apis::Core::JsonObjectSupport
|
695
707
|
end
|
696
708
|
|
697
|
-
class PrivateText
|
698
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
-
|
700
|
-
include Google::Apis::Core::JsonObjectSupport
|
701
|
-
end
|
702
|
-
|
703
|
-
class PrivateUri
|
704
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
|
-
|
706
|
-
include Google::Apis::Core::JsonObjectSupport
|
707
|
-
end
|
708
|
-
|
709
709
|
class PurchaseDetails
|
710
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
711
|
|
@@ -880,30 +880,6 @@ module Google
|
|
880
880
|
include Google::Apis::Core::JsonObjectSupport
|
881
881
|
end
|
882
882
|
|
883
|
-
class UploadPrivateDataRequest
|
884
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
|
-
|
886
|
-
include Google::Apis::Core::JsonObjectSupport
|
887
|
-
end
|
888
|
-
|
889
|
-
class UploadPrivateDataResponse
|
890
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
891
|
-
|
892
|
-
include Google::Apis::Core::JsonObjectSupport
|
893
|
-
end
|
894
|
-
|
895
|
-
class UploadPrivateImageRequest
|
896
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
897
|
-
|
898
|
-
include Google::Apis::Core::JsonObjectSupport
|
899
|
-
end
|
900
|
-
|
901
|
-
class UploadPrivateImageResponse
|
902
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
|
-
|
904
|
-
include Google::Apis::Core::JsonObjectSupport
|
905
|
-
end
|
906
|
-
|
907
883
|
class Uri
|
908
884
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
885
|
|
@@ -974,6 +950,7 @@ module Google
|
|
974
950
|
class AppLinkDataAppLinkInfoAppTarget
|
975
951
|
# @private
|
976
952
|
class Representation < Google::Apis::Core::JsonRepresentation
|
953
|
+
property :package_name, as: 'packageName'
|
977
954
|
property :target_uri, as: 'targetUri', class: Google::Apis::WalletobjectsV1::Uri, decorator: Google::Apis::WalletobjectsV1::Uri::Representation
|
978
955
|
|
979
956
|
end
|
@@ -1721,6 +1698,8 @@ module Google
|
|
1721
1698
|
|
1722
1699
|
property :links_module_data, as: 'linksModuleData', class: Google::Apis::WalletobjectsV1::LinksModuleData, decorator: Google::Apis::WalletobjectsV1::LinksModuleData::Representation
|
1723
1700
|
|
1701
|
+
collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
|
1702
|
+
|
1724
1703
|
property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
|
1725
1704
|
collection :redemption_issuers, as: 'redemptionIssuers'
|
1726
1705
|
property :security_animation, as: 'securityAnimation', class: Google::Apis::WalletobjectsV1::SecurityAnimation, decorator: Google::Apis::WalletobjectsV1::SecurityAnimation::Representation
|
@@ -1731,6 +1710,14 @@ module Google
|
|
1731
1710
|
end
|
1732
1711
|
end
|
1733
1712
|
|
1713
|
+
class GenericClassAddMessageResponse
|
1714
|
+
# @private
|
1715
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1716
|
+
property :resource, as: 'resource', class: Google::Apis::WalletobjectsV1::GenericClass, decorator: Google::Apis::WalletobjectsV1::GenericClass::Representation
|
1717
|
+
|
1718
|
+
end
|
1719
|
+
end
|
1720
|
+
|
1734
1721
|
class GenericClassListResponse
|
1735
1722
|
# @private
|
1736
1723
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1786,6 +1773,14 @@ module Google
|
|
1786
1773
|
end
|
1787
1774
|
end
|
1788
1775
|
|
1776
|
+
class GenericObjectAddMessageResponse
|
1777
|
+
# @private
|
1778
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1779
|
+
property :resource, as: 'resource', class: Google::Apis::WalletobjectsV1::GenericObject, decorator: Google::Apis::WalletobjectsV1::GenericObject::Representation
|
1780
|
+
|
1781
|
+
end
|
1782
|
+
end
|
1783
|
+
|
1789
1784
|
class GenericObjectListResponse
|
1790
1785
|
# @private
|
1791
1786
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2596,25 +2591,6 @@ module Google
|
|
2596
2591
|
end
|
2597
2592
|
end
|
2598
2593
|
|
2599
|
-
class PrivateText
|
2600
|
-
# @private
|
2601
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2602
|
-
property :body, as: 'body', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
|
2603
|
-
|
2604
|
-
property :header, as: 'header', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
|
2605
|
-
|
2606
|
-
end
|
2607
|
-
end
|
2608
|
-
|
2609
|
-
class PrivateUri
|
2610
|
-
# @private
|
2611
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2612
|
-
property :description, as: 'description', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
|
2613
|
-
|
2614
|
-
property :uri, as: 'uri'
|
2615
|
-
end
|
2616
|
-
end
|
2617
|
-
|
2618
2594
|
class PurchaseDetails
|
2619
2595
|
# @private
|
2620
2596
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3083,41 +3059,6 @@ module Google
|
|
3083
3059
|
end
|
3084
3060
|
end
|
3085
3061
|
|
3086
|
-
class UploadPrivateDataRequest
|
3087
|
-
# @private
|
3088
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3089
|
-
property :issuer_id, :numeric_string => true, as: 'issuerId'
|
3090
|
-
property :text, as: 'text', class: Google::Apis::WalletobjectsV1::PrivateText, decorator: Google::Apis::WalletobjectsV1::PrivateText::Representation
|
3091
|
-
|
3092
|
-
property :uri, as: 'uri', class: Google::Apis::WalletobjectsV1::PrivateUri, decorator: Google::Apis::WalletobjectsV1::PrivateUri::Representation
|
3093
|
-
|
3094
|
-
end
|
3095
|
-
end
|
3096
|
-
|
3097
|
-
class UploadPrivateDataResponse
|
3098
|
-
# @private
|
3099
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3100
|
-
property :private_content_id, :numeric_string => true, as: 'privateContentId'
|
3101
|
-
end
|
3102
|
-
end
|
3103
|
-
|
3104
|
-
class UploadPrivateImageRequest
|
3105
|
-
# @private
|
3106
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3107
|
-
property :blob, as: 'blob', class: Google::Apis::WalletobjectsV1::Media, decorator: Google::Apis::WalletobjectsV1::Media::Representation
|
3108
|
-
|
3109
|
-
property :media_request_info, as: 'mediaRequestInfo', class: Google::Apis::WalletobjectsV1::MediaRequestInfo, decorator: Google::Apis::WalletobjectsV1::MediaRequestInfo::Representation
|
3110
|
-
|
3111
|
-
end
|
3112
|
-
end
|
3113
|
-
|
3114
|
-
class UploadPrivateImageResponse
|
3115
|
-
# @private
|
3116
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3117
|
-
property :private_content_id, :numeric_string => true, as: 'privateContentId'
|
3118
|
-
end
|
3119
|
-
end
|
3120
|
-
|
3121
3062
|
class Uri
|
3122
3063
|
# @private
|
3123
3064
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -939,6 +939,42 @@ module Google
|
|
939
939
|
execute_or_queue_command(command, &block)
|
940
940
|
end
|
941
941
|
|
942
|
+
# Adds a message to the generic class referenced by the given class ID.
|
943
|
+
# @param [String] resource_id
|
944
|
+
# The unique identifier for a class. This ID must be unique across all classes
|
945
|
+
# from an issuer. This value should follow the format issuer ID. identifier
|
946
|
+
# where the former is issued by Google and latter is chosen by you. Your unique
|
947
|
+
# identifier should only include alphanumeric characters, '.', '_', or '-'.
|
948
|
+
# @param [Google::Apis::WalletobjectsV1::AddMessageRequest] add_message_request_object
|
949
|
+
# @param [String] fields
|
950
|
+
# Selector specifying which fields to include in a partial response.
|
951
|
+
# @param [String] quota_user
|
952
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
953
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
954
|
+
# @param [Google::Apis::RequestOptions] options
|
955
|
+
# Request-specific options
|
956
|
+
#
|
957
|
+
# @yield [result, err] Result & error if block supplied
|
958
|
+
# @yieldparam result [Google::Apis::WalletobjectsV1::GenericClassAddMessageResponse] parsed result object
|
959
|
+
# @yieldparam err [StandardError] error object if request failed
|
960
|
+
#
|
961
|
+
# @return [Google::Apis::WalletobjectsV1::GenericClassAddMessageResponse]
|
962
|
+
#
|
963
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
964
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
965
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
966
|
+
def addmessage_genericclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
967
|
+
command = make_simple_command(:post, 'walletobjects/v1/genericClass/{resourceId}/addMessage', options)
|
968
|
+
command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation
|
969
|
+
command.request_object = add_message_request_object
|
970
|
+
command.response_representation = Google::Apis::WalletobjectsV1::GenericClassAddMessageResponse::Representation
|
971
|
+
command.response_class = Google::Apis::WalletobjectsV1::GenericClassAddMessageResponse
|
972
|
+
command.params['resourceId'] = resource_id unless resource_id.nil?
|
973
|
+
command.query['fields'] = fields unless fields.nil?
|
974
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
975
|
+
execute_or_queue_command(command, &block)
|
976
|
+
end
|
977
|
+
|
942
978
|
# Returns the generic class with the given class ID.
|
943
979
|
# @param [String] resource_id
|
944
980
|
# The unique identifier for a class. This ID must be unique across all classes
|
@@ -1116,6 +1152,42 @@ module Google
|
|
1116
1152
|
execute_or_queue_command(command, &block)
|
1117
1153
|
end
|
1118
1154
|
|
1155
|
+
# Adds a message to the generic object referenced by the given object ID.
|
1156
|
+
# @param [String] resource_id
|
1157
|
+
# The unique identifier for an object. This ID must be unique across all classes
|
1158
|
+
# from an issuer. This value should follow the format issuer ID. identifier
|
1159
|
+
# where the former is issued by Google and latter is chosen by you. Your unique
|
1160
|
+
# identifier should only include alphanumeric characters, '.', '_', or '-'.
|
1161
|
+
# @param [Google::Apis::WalletobjectsV1::AddMessageRequest] add_message_request_object
|
1162
|
+
# @param [String] fields
|
1163
|
+
# Selector specifying which fields to include in a partial response.
|
1164
|
+
# @param [String] quota_user
|
1165
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1166
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1167
|
+
# @param [Google::Apis::RequestOptions] options
|
1168
|
+
# Request-specific options
|
1169
|
+
#
|
1170
|
+
# @yield [result, err] Result & error if block supplied
|
1171
|
+
# @yieldparam result [Google::Apis::WalletobjectsV1::GenericObjectAddMessageResponse] parsed result object
|
1172
|
+
# @yieldparam err [StandardError] error object if request failed
|
1173
|
+
#
|
1174
|
+
# @return [Google::Apis::WalletobjectsV1::GenericObjectAddMessageResponse]
|
1175
|
+
#
|
1176
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1177
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1178
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1179
|
+
def addmessage_genericobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1180
|
+
command = make_simple_command(:post, 'walletobjects/v1/genericObject/{resourceId}/addMessage', options)
|
1181
|
+
command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation
|
1182
|
+
command.request_object = add_message_request_object
|
1183
|
+
command.response_representation = Google::Apis::WalletobjectsV1::GenericObjectAddMessageResponse::Representation
|
1184
|
+
command.response_class = Google::Apis::WalletobjectsV1::GenericObjectAddMessageResponse
|
1185
|
+
command.params['resourceId'] = resource_id unless resource_id.nil?
|
1186
|
+
command.query['fields'] = fields unless fields.nil?
|
1187
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1188
|
+
execute_or_queue_command(command, &block)
|
1189
|
+
end
|
1190
|
+
|
1119
1191
|
# Returns the generic object with the given object ID.
|
1120
1192
|
# @param [String] resource_id
|
1121
1193
|
# The unique identifier for an object. This ID must be unique across all objects
|
@@ -3399,36 +3471,6 @@ module Google
|
|
3399
3471
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3400
3472
|
execute_or_queue_command(command, &block)
|
3401
3473
|
end
|
3402
|
-
|
3403
|
-
# Upload private data (text or URI) and returns an Id to be used in its place.
|
3404
|
-
# @param [Google::Apis::WalletobjectsV1::UploadPrivateDataRequest] upload_private_data_request_object
|
3405
|
-
# @param [String] fields
|
3406
|
-
# Selector specifying which fields to include in a partial response.
|
3407
|
-
# @param [String] quota_user
|
3408
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3409
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3410
|
-
# @param [Google::Apis::RequestOptions] options
|
3411
|
-
# Request-specific options
|
3412
|
-
#
|
3413
|
-
# @yield [result, err] Result & error if block supplied
|
3414
|
-
# @yieldparam result [Google::Apis::WalletobjectsV1::UploadPrivateDataResponse] parsed result object
|
3415
|
-
# @yieldparam err [StandardError] error object if request failed
|
3416
|
-
#
|
3417
|
-
# @return [Google::Apis::WalletobjectsV1::UploadPrivateDataResponse]
|
3418
|
-
#
|
3419
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3420
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3421
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3422
|
-
def upload_private_content_private_data(upload_private_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3423
|
-
command = make_simple_command(:post, 'walletobjects/v1/privateContent/uploadPrivateData', options)
|
3424
|
-
command.request_representation = Google::Apis::WalletobjectsV1::UploadPrivateDataRequest::Representation
|
3425
|
-
command.request_object = upload_private_data_request_object
|
3426
|
-
command.response_representation = Google::Apis::WalletobjectsV1::UploadPrivateDataResponse::Representation
|
3427
|
-
command.response_class = Google::Apis::WalletobjectsV1::UploadPrivateDataResponse
|
3428
|
-
command.query['fields'] = fields unless fields.nil?
|
3429
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3430
|
-
execute_or_queue_command(command, &block)
|
3431
|
-
end
|
3432
3474
|
|
3433
3475
|
protected
|
3434
3476
|
|
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.6.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-02-
|
11
|
+
date: 2024-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.14.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.6.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: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Wallet API V1
|