google-apis-walletobjects_v1 0.3.0 → 0.5.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: 1a40d4b8c3275a2d80ccec40c3dca279d520cca8a214d2ec572904ee3dd04d50
4
- data.tar.gz: 0473a985ba71dc0e0c5c8d22c5352b02f3ebc7896989707195176b462fe11ee9
3
+ metadata.gz: 3a38f47acede2825c44031bee41498eb39d454639874709de3d760142282d568
4
+ data.tar.gz: 144b12b5ad81074c323343f505ef10d1bf41cd1b550fcbe5ba7e91ce140c3080
5
5
  SHA512:
6
- metadata.gz: f4874e5fbc1daeff1db2512f08466efe7c4ba2f6452ca42f43950ddc3085a6831878aa062fbde460888ba719a20a17cb395d3f90c68e24961d06de72b2da633b
7
- data.tar.gz: 428d0256ef8b1a4d751fe154b40e8214f6da0b92f93b1164575fcb9963b0b4c8220cb94abb5bdd0ad29cebb8a3a473a99732cd1d7e416e98c29104e8ce3b77a2
6
+ metadata.gz: af7cd7e45a303e3a424a84a61cfc68db730a5d5764bbbf68578dcfd6d7ea509aeabad06768b3668b8c5f985a32f3686f14405be5ffa5190670d82a040f1eb26a
7
+ data.tar.gz: eefdd34d97904c7ca46eff89baf197b2f756a6e269bdb5d2aed33970e99d93611029b9642e73b8efc5273126ad6a0fe30c9c6d902e32ee9c76146d6dc21e85fd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-walletobjects_v1
2
2
 
3
+ ### v0.5.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240216
6
+
7
+ ### v0.4.0 (2024-02-11)
8
+
9
+ * Regenerated from discovery document revision 20240206
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.3.0 (2024-01-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20240118
@@ -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
@@ -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
@@ -6868,34 +6866,6 @@ module Google
6868
6866
  end
6869
6867
  end
6870
6868
 
6871
- # Request to send a private pass update notice information to Google, so that
6872
- # devices can then fetch the notice prompting the user to update a pass.
6873
- class SetPassUpdateNoticeRequest
6874
- include Google::Apis::Core::Hashable
6875
-
6876
- def initialize(**args)
6877
- update!(**args)
6878
- end
6879
-
6880
- # Update properties of this object
6881
- def update!(**args)
6882
- end
6883
- end
6884
-
6885
- # A response to a request to notify Google of an awaiting update to a private
6886
- # pass.
6887
- class SetPassUpdateNoticeResponse
6888
- include Google::Apis::Core::Hashable
6889
-
6890
- def initialize(**args)
6891
- update!(**args)
6892
- end
6893
-
6894
- # Update properties of this object
6895
- def update!(**args)
6896
- end
6897
- end
6898
-
6899
6869
  #
6900
6870
  class SignUpInfo
6901
6871
  include Google::Apis::Core::Hashable
@@ -8217,102 +8187,6 @@ module Google
8217
8187
  end
8218
8188
  end
8219
8189
 
8220
- # Request for sending user private Text or URI by the Issuer.
8221
- class UploadPrivateDataRequest
8222
- include Google::Apis::Core::Hashable
8223
-
8224
- # The ID of the issuer sending the data.
8225
- # Corresponds to the JSON property `issuerId`
8226
- # @return [Fixnum]
8227
- attr_accessor :issuer_id
8228
-
8229
- # Private data for TextModule. This data will be rendered as a TextModule for a
8230
- # pass.
8231
- # Corresponds to the JSON property `text`
8232
- # @return [Google::Apis::WalletobjectsV1::PrivateText]
8233
- attr_accessor :text
8234
-
8235
- # Private data for LinkModule. This data will be rendered as the LinkModule for
8236
- # a pass.
8237
- # Corresponds to the JSON property `uri`
8238
- # @return [Google::Apis::WalletobjectsV1::PrivateUri]
8239
- attr_accessor :uri
8240
-
8241
- def initialize(**args)
8242
- update!(**args)
8243
- end
8244
-
8245
- # Update properties of this object
8246
- def update!(**args)
8247
- @issuer_id = args[:issuer_id] if args.key?(:issuer_id)
8248
- @text = args[:text] if args.key?(:text)
8249
- @uri = args[:uri] if args.key?(:uri)
8250
- end
8251
- end
8252
-
8253
- # Response for uploading user private data (text or URIs)
8254
- class UploadPrivateDataResponse
8255
- include Google::Apis::Core::Hashable
8256
-
8257
- # A 64-bit content id for the private data that was uploaded by the Issuer.
8258
- # Corresponds to the JSON property `privateContentId`
8259
- # @return [Fixnum]
8260
- attr_accessor :private_content_id
8261
-
8262
- def initialize(**args)
8263
- update!(**args)
8264
- end
8265
-
8266
- # Update properties of this object
8267
- def update!(**args)
8268
- @private_content_id = args[:private_content_id] if args.key?(:private_content_id)
8269
- end
8270
- end
8271
-
8272
- # Request to upload user's private images by Issuers to be used in passes.
8273
- class UploadPrivateImageRequest
8274
- include Google::Apis::Core::Hashable
8275
-
8276
- # A reference to data stored on the filesystem, on GFS or in blobstore.
8277
- # Corresponds to the JSON property `blob`
8278
- # @return [Google::Apis::WalletobjectsV1::Media]
8279
- attr_accessor :blob
8280
-
8281
- # Extra information added to operations that support Scotty media requests.
8282
- # Corresponds to the JSON property `mediaRequestInfo`
8283
- # @return [Google::Apis::WalletobjectsV1::MediaRequestInfo]
8284
- attr_accessor :media_request_info
8285
-
8286
- def initialize(**args)
8287
- update!(**args)
8288
- end
8289
-
8290
- # Update properties of this object
8291
- def update!(**args)
8292
- @blob = args[:blob] if args.key?(:blob)
8293
- @media_request_info = args[:media_request_info] if args.key?(:media_request_info)
8294
- end
8295
- end
8296
-
8297
- # Response for uploading the private image
8298
- class UploadPrivateImageResponse
8299
- include Google::Apis::Core::Hashable
8300
-
8301
- # A 64-bit content id for the image that was uploaded by the Issuer.
8302
- # Corresponds to the JSON property `privateContentId`
8303
- # @return [Fixnum]
8304
- attr_accessor :private_content_id
8305
-
8306
- def initialize(**args)
8307
- update!(**args)
8308
- end
8309
-
8310
- # Update properties of this object
8311
- def update!(**args)
8312
- @private_content_id = args[:private_content_id] if args.key?(:private_content_id)
8313
- end
8314
- end
8315
-
8316
8190
  #
8317
8191
  class Uri
8318
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.3.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240118"
25
+ REVISION = "20240216"
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
 
@@ -760,18 +760,6 @@ module Google
760
760
  include Google::Apis::Core::JsonObjectSupport
761
761
  end
762
762
 
763
- class SetPassUpdateNoticeRequest
764
- class Representation < Google::Apis::Core::JsonRepresentation; end
765
-
766
- include Google::Apis::Core::JsonObjectSupport
767
- end
768
-
769
- class SetPassUpdateNoticeResponse
770
- class Representation < Google::Apis::Core::JsonRepresentation; end
771
-
772
- include Google::Apis::Core::JsonObjectSupport
773
- end
774
-
775
763
  class SignUpInfo
776
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
765
 
@@ -892,30 +880,6 @@ module Google
892
880
  include Google::Apis::Core::JsonObjectSupport
893
881
  end
894
882
 
895
- class UploadPrivateDataRequest
896
- class Representation < Google::Apis::Core::JsonRepresentation; end
897
-
898
- include Google::Apis::Core::JsonObjectSupport
899
- end
900
-
901
- class UploadPrivateDataResponse
902
- class Representation < Google::Apis::Core::JsonRepresentation; end
903
-
904
- include Google::Apis::Core::JsonObjectSupport
905
- end
906
-
907
- class UploadPrivateImageRequest
908
- class Representation < Google::Apis::Core::JsonRepresentation; end
909
-
910
- include Google::Apis::Core::JsonObjectSupport
911
- end
912
-
913
- class UploadPrivateImageResponse
914
- class Representation < Google::Apis::Core::JsonRepresentation; end
915
-
916
- include Google::Apis::Core::JsonObjectSupport
917
- end
918
-
919
883
  class Uri
920
884
  class Representation < Google::Apis::Core::JsonRepresentation; end
921
885
 
@@ -986,6 +950,7 @@ module Google
986
950
  class AppLinkDataAppLinkInfoAppTarget
987
951
  # @private
988
952
  class Representation < Google::Apis::Core::JsonRepresentation
953
+ property :package_name, as: 'packageName'
989
954
  property :target_uri, as: 'targetUri', class: Google::Apis::WalletobjectsV1::Uri, decorator: Google::Apis::WalletobjectsV1::Uri::Representation
990
955
 
991
956
  end
@@ -1733,6 +1698,8 @@ module Google
1733
1698
 
1734
1699
  property :links_module_data, as: 'linksModuleData', class: Google::Apis::WalletobjectsV1::LinksModuleData, decorator: Google::Apis::WalletobjectsV1::LinksModuleData::Representation
1735
1700
 
1701
+ collection :messages, as: 'messages', class: Google::Apis::WalletobjectsV1::Message, decorator: Google::Apis::WalletobjectsV1::Message::Representation
1702
+
1736
1703
  property :multiple_devices_and_holders_allowed_status, as: 'multipleDevicesAndHoldersAllowedStatus'
1737
1704
  collection :redemption_issuers, as: 'redemptionIssuers'
1738
1705
  property :security_animation, as: 'securityAnimation', class: Google::Apis::WalletobjectsV1::SecurityAnimation, decorator: Google::Apis::WalletobjectsV1::SecurityAnimation::Representation
@@ -1743,6 +1710,14 @@ module Google
1743
1710
  end
1744
1711
  end
1745
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
+
1746
1721
  class GenericClassListResponse
1747
1722
  # @private
1748
1723
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1798,6 +1773,14 @@ module Google
1798
1773
  end
1799
1774
  end
1800
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
+
1801
1784
  class GenericObjectListResponse
1802
1785
  # @private
1803
1786
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2608,25 +2591,6 @@ module Google
2608
2591
  end
2609
2592
  end
2610
2593
 
2611
- class PrivateText
2612
- # @private
2613
- class Representation < Google::Apis::Core::JsonRepresentation
2614
- property :body, as: 'body', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
2615
-
2616
- property :header, as: 'header', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
2617
-
2618
- end
2619
- end
2620
-
2621
- class PrivateUri
2622
- # @private
2623
- class Representation < Google::Apis::Core::JsonRepresentation
2624
- property :description, as: 'description', class: Google::Apis::WalletobjectsV1::LocalizedString, decorator: Google::Apis::WalletobjectsV1::LocalizedString::Representation
2625
-
2626
- property :uri, as: 'uri'
2627
- end
2628
- end
2629
-
2630
2594
  class PurchaseDetails
2631
2595
  # @private
2632
2596
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2737,18 +2701,6 @@ module Google
2737
2701
  end
2738
2702
  end
2739
2703
 
2740
- class SetPassUpdateNoticeRequest
2741
- # @private
2742
- class Representation < Google::Apis::Core::JsonRepresentation
2743
- end
2744
- end
2745
-
2746
- class SetPassUpdateNoticeResponse
2747
- # @private
2748
- class Representation < Google::Apis::Core::JsonRepresentation
2749
- end
2750
- end
2751
-
2752
2704
  class SignUpInfo
2753
2705
  # @private
2754
2706
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3107,41 +3059,6 @@ module Google
3107
3059
  end
3108
3060
  end
3109
3061
 
3110
- class UploadPrivateDataRequest
3111
- # @private
3112
- class Representation < Google::Apis::Core::JsonRepresentation
3113
- property :issuer_id, :numeric_string => true, as: 'issuerId'
3114
- property :text, as: 'text', class: Google::Apis::WalletobjectsV1::PrivateText, decorator: Google::Apis::WalletobjectsV1::PrivateText::Representation
3115
-
3116
- property :uri, as: 'uri', class: Google::Apis::WalletobjectsV1::PrivateUri, decorator: Google::Apis::WalletobjectsV1::PrivateUri::Representation
3117
-
3118
- end
3119
- end
3120
-
3121
- class UploadPrivateDataResponse
3122
- # @private
3123
- class Representation < Google::Apis::Core::JsonRepresentation
3124
- property :private_content_id, :numeric_string => true, as: 'privateContentId'
3125
- end
3126
- end
3127
-
3128
- class UploadPrivateImageRequest
3129
- # @private
3130
- class Representation < Google::Apis::Core::JsonRepresentation
3131
- property :blob, as: 'blob', class: Google::Apis::WalletobjectsV1::Media, decorator: Google::Apis::WalletobjectsV1::Media::Representation
3132
-
3133
- property :media_request_info, as: 'mediaRequestInfo', class: Google::Apis::WalletobjectsV1::MediaRequestInfo, decorator: Google::Apis::WalletobjectsV1::MediaRequestInfo::Representation
3134
-
3135
- end
3136
- end
3137
-
3138
- class UploadPrivateImageResponse
3139
- # @private
3140
- class Representation < Google::Apis::Core::JsonRepresentation
3141
- property :private_content_id, :numeric_string => true, as: 'privateContentId'
3142
- end
3143
- end
3144
-
3145
3062
  class Uri
3146
3063
  # @private
3147
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,68 +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
- # Provide Google with information about awaiting private pass update. This will
3404
- # allow Google to provide the update notification to the device that currently
3405
- # holds this pass.
3406
- # @param [Google::Apis::WalletobjectsV1::SetPassUpdateNoticeRequest] set_pass_update_notice_request_object
3407
- # @param [String] fields
3408
- # Selector specifying which fields to include in a partial response.
3409
- # @param [String] quota_user
3410
- # Available to use for quota purposes for server-side applications. Can be any
3411
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3412
- # @param [Google::Apis::RequestOptions] options
3413
- # Request-specific options
3414
- #
3415
- # @yield [result, err] Result & error if block supplied
3416
- # @yieldparam result [Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse] parsed result object
3417
- # @yieldparam err [StandardError] error object if request failed
3418
- #
3419
- # @return [Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse]
3420
- #
3421
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3422
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3423
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3424
- def set_private_content_pass_update_notice(set_pass_update_notice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3425
- command = make_simple_command(:post, 'walletobjects/v1/privateContent/setPassUpdateNotice', options)
3426
- command.request_representation = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeRequest::Representation
3427
- command.request_object = set_pass_update_notice_request_object
3428
- command.response_representation = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse::Representation
3429
- command.response_class = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse
3430
- command.query['fields'] = fields unless fields.nil?
3431
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3432
- execute_or_queue_command(command, &block)
3433
- end
3434
-
3435
- # Upload private data (text or URI) and returns an Id to be used in its place.
3436
- # @param [Google::Apis::WalletobjectsV1::UploadPrivateDataRequest] upload_private_data_request_object
3437
- # @param [String] fields
3438
- # Selector specifying which fields to include in a partial response.
3439
- # @param [String] quota_user
3440
- # Available to use for quota purposes for server-side applications. Can be any
3441
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3442
- # @param [Google::Apis::RequestOptions] options
3443
- # Request-specific options
3444
- #
3445
- # @yield [result, err] Result & error if block supplied
3446
- # @yieldparam result [Google::Apis::WalletobjectsV1::UploadPrivateDataResponse] parsed result object
3447
- # @yieldparam err [StandardError] error object if request failed
3448
- #
3449
- # @return [Google::Apis::WalletobjectsV1::UploadPrivateDataResponse]
3450
- #
3451
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3452
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3453
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3454
- def upload_private_content_private_data(upload_private_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3455
- command = make_simple_command(:post, 'walletobjects/v1/privateContent/uploadPrivateData', options)
3456
- command.request_representation = Google::Apis::WalletobjectsV1::UploadPrivateDataRequest::Representation
3457
- command.request_object = upload_private_data_request_object
3458
- command.response_representation = Google::Apis::WalletobjectsV1::UploadPrivateDataResponse::Representation
3459
- command.response_class = Google::Apis::WalletobjectsV1::UploadPrivateDataResponse
3460
- command.query['fields'] = fields unless fields.nil?
3461
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3462
- execute_or_queue_command(command, &block)
3463
- end
3464
3474
 
3465
3475
  protected
3466
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.3.0
4
+ version: 0.5.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-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-18 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.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-walletobjects_v1/v0.5.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: []