google-apis-walletobjects_v1 0.19.0 → 0.20.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: 8ae25af266dd7619d6fe2299292a683bd1aebf527303c15eca33773ffc748174
|
4
|
+
data.tar.gz: '09d2071beebacc5dc608bbee20eb4d1bf0bce668fe9bbff9aaf02c6254867713'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ee9903d27b0759c47c7268049efe3daac6c32b3d030922cb14a628382d7b82345accb857f1281562a0bb860f9efb1ff78775ffd68fae5c52a6dfd36cf10cbf4
|
7
|
+
data.tar.gz: ea9ed748235dea13f6740185eaaf633c9d43a99deaf5ac1bf6160eb95a7db2e381d89505b7153da7ae0cff183201fb61d6f5dd1872913542c064c27ae8cac30a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-walletobjects_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250204
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.19.0 (2024-12-08)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241203
|
@@ -7472,6 +7472,58 @@ module Google
|
|
7472
7472
|
end
|
7473
7473
|
end
|
7474
7474
|
|
7475
|
+
# Request to send a private pass update notice information to Google, so that
|
7476
|
+
# devices can then fetch the notice prompting the user to update a pass.
|
7477
|
+
class SetPassUpdateNoticeRequest
|
7478
|
+
include Google::Apis::Core::Hashable
|
7479
|
+
|
7480
|
+
# Required. A fully qualified identifier of the pass that the issuer wants to
|
7481
|
+
# notify the pass holder(s) about. Formatted as .
|
7482
|
+
# Corresponds to the JSON property `externalPassId`
|
7483
|
+
# @return [String]
|
7484
|
+
attr_accessor :external_pass_id
|
7485
|
+
|
7486
|
+
# Required. The issuer endpoint URI the pass holder needs to follow in order to
|
7487
|
+
# receive an updated pass JWT. It can not contain any sensitive information. The
|
7488
|
+
# endpoint needs to authenticate the user before giving the user the updated JWT.
|
7489
|
+
# Example update URI https://someissuer.com/update/passId=someExternalPassId
|
7490
|
+
# Corresponds to the JSON property `updateUri`
|
7491
|
+
# @return [String]
|
7492
|
+
attr_accessor :update_uri
|
7493
|
+
|
7494
|
+
# Required. The JWT signature of the updated pass that the issuer wants to
|
7495
|
+
# notify Google about. Only devices that report a different JWT signature than
|
7496
|
+
# this JWT signature will receive the update notification.
|
7497
|
+
# Corresponds to the JSON property `updatedPassJwtSignature`
|
7498
|
+
# @return [String]
|
7499
|
+
attr_accessor :updated_pass_jwt_signature
|
7500
|
+
|
7501
|
+
def initialize(**args)
|
7502
|
+
update!(**args)
|
7503
|
+
end
|
7504
|
+
|
7505
|
+
# Update properties of this object
|
7506
|
+
def update!(**args)
|
7507
|
+
@external_pass_id = args[:external_pass_id] if args.key?(:external_pass_id)
|
7508
|
+
@update_uri = args[:update_uri] if args.key?(:update_uri)
|
7509
|
+
@updated_pass_jwt_signature = args[:updated_pass_jwt_signature] if args.key?(:updated_pass_jwt_signature)
|
7510
|
+
end
|
7511
|
+
end
|
7512
|
+
|
7513
|
+
# A response to a request to notify Google of an awaiting update to a private
|
7514
|
+
# pass.
|
7515
|
+
class SetPassUpdateNoticeResponse
|
7516
|
+
include Google::Apis::Core::Hashable
|
7517
|
+
|
7518
|
+
def initialize(**args)
|
7519
|
+
update!(**args)
|
7520
|
+
end
|
7521
|
+
|
7522
|
+
# Update properties of this object
|
7523
|
+
def update!(**args)
|
7524
|
+
end
|
7525
|
+
end
|
7526
|
+
|
7475
7527
|
#
|
7476
7528
|
class SignUpInfo
|
7477
7529
|
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.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250204"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -778,6 +778,18 @@ module Google
|
|
778
778
|
include Google::Apis::Core::JsonObjectSupport
|
779
779
|
end
|
780
780
|
|
781
|
+
class SetPassUpdateNoticeRequest
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
783
|
+
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
785
|
+
end
|
786
|
+
|
787
|
+
class SetPassUpdateNoticeResponse
|
788
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
789
|
+
|
790
|
+
include Google::Apis::Core::JsonObjectSupport
|
791
|
+
end
|
792
|
+
|
781
793
|
class SignUpInfo
|
782
794
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
783
795
|
|
@@ -2844,6 +2856,21 @@ module Google
|
|
2844
2856
|
end
|
2845
2857
|
end
|
2846
2858
|
|
2859
|
+
class SetPassUpdateNoticeRequest
|
2860
|
+
# @private
|
2861
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2862
|
+
property :external_pass_id, as: 'externalPassId'
|
2863
|
+
property :update_uri, as: 'updateUri'
|
2864
|
+
property :updated_pass_jwt_signature, as: 'updatedPassJwtSignature'
|
2865
|
+
end
|
2866
|
+
end
|
2867
|
+
|
2868
|
+
class SetPassUpdateNoticeResponse
|
2869
|
+
# @private
|
2870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2871
|
+
end
|
2872
|
+
end
|
2873
|
+
|
2847
2874
|
class SignUpInfo
|
2848
2875
|
# @private
|
2849
2876
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3471,6 +3471,38 @@ module Google
|
|
3471
3471
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3472
3472
|
execute_or_queue_command(command, &block)
|
3473
3473
|
end
|
3474
|
+
|
3475
|
+
# Provide Google with information about awaiting private pass update. This will
|
3476
|
+
# allow Google to provide the update notification to the device that currently
|
3477
|
+
# holds this pass.
|
3478
|
+
# @param [Google::Apis::WalletobjectsV1::SetPassUpdateNoticeRequest] set_pass_update_notice_request_object
|
3479
|
+
# @param [String] fields
|
3480
|
+
# Selector specifying which fields to include in a partial response.
|
3481
|
+
# @param [String] quota_user
|
3482
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3483
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3484
|
+
# @param [Google::Apis::RequestOptions] options
|
3485
|
+
# Request-specific options
|
3486
|
+
#
|
3487
|
+
# @yield [result, err] Result & error if block supplied
|
3488
|
+
# @yieldparam result [Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse] parsed result object
|
3489
|
+
# @yieldparam err [StandardError] error object if request failed
|
3490
|
+
#
|
3491
|
+
# @return [Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse]
|
3492
|
+
#
|
3493
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3494
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3495
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3496
|
+
def set_private_content_pass_update_notice(set_pass_update_notice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3497
|
+
command = make_simple_command(:post, 'walletobjects/v1/privateContent/setPassUpdateNotice', options)
|
3498
|
+
command.request_representation = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeRequest::Representation
|
3499
|
+
command.request_object = set_pass_update_notice_request_object
|
3500
|
+
command.response_representation = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse::Representation
|
3501
|
+
command.response_class = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse
|
3502
|
+
command.query['fields'] = fields unless fields.nil?
|
3503
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3504
|
+
execute_or_queue_command(command, &block)
|
3505
|
+
end
|
3474
3506
|
|
3475
3507
|
protected
|
3476
3508
|
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-walletobjects_v1/v0.20.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-walletobjects_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Google Wallet API V1
|
82
79
|
test_files: []
|