google-apis-walletobjects_v1 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67d301a664a6a6d1349f66a9dbdc4dae06df85c909809fcf2472ea53322b8b96
|
4
|
+
data.tar.gz: 4c1d21d562528f86892513461bffc5df206e703e207f1b90b266b37266448203
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7686425d84a5775343ca97407290e5b73936b843fefaf74c86fe19e368a9543ffd8d885e5eb5dceb9aeaf94ef0138604c7cfb5199c6b66c8c9d060360be2366d
|
7
|
+
data.tar.gz: e7833a9d3c0284bfcfee156985559909b8407ebe845b3ab6909051c2ef4cf9b7f9eeb97b5c10123ce2a2a05fc2d0b0bbbe32e1f2a9ae59d6c2c01c014ab9d091
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-walletobjects_v1
|
2
2
|
|
3
|
+
### v0.4.0 (2024-02-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240206
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
8
|
+
### v0.3.0 (2024-01-23)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240118
|
11
|
+
* Regenerated using generator version 0.13.0
|
12
|
+
|
3
13
|
### v0.2.0 (2023-12-10)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20231207
|
@@ -218,7 +218,7 @@ module Google
|
|
218
218
|
class AppLinkDataAppLinkInfoAppTarget
|
219
219
|
include Google::Apis::Core::Hashable
|
220
220
|
|
221
|
-
#
|
221
|
+
# URI for AppTarget. The description on the URI must be set.
|
222
222
|
# Corresponds to the JSON property `targetUri`
|
223
223
|
# @return [Google::Apis::WalletobjectsV1::Uri]
|
224
224
|
attr_accessor :target_uri
|
@@ -4131,6 +4131,11 @@ module Google
|
|
4131
4131
|
class Issuer
|
4132
4132
|
include Google::Apis::Core::Hashable
|
4133
4133
|
|
4134
|
+
# Allows the issuer to provide their callback settings.
|
4135
|
+
# Corresponds to the JSON property `callbackOptions`
|
4136
|
+
# @return [Google::Apis::WalletobjectsV1::CallbackOptions]
|
4137
|
+
attr_accessor :callback_options
|
4138
|
+
|
4134
4139
|
# Issuer contact information.
|
4135
4140
|
# Corresponds to the JSON property `contactInfo`
|
4136
4141
|
# @return [Google::Apis::WalletobjectsV1::IssuerContactInfo]
|
@@ -4164,6 +4169,7 @@ module Google
|
|
4164
4169
|
|
4165
4170
|
# Update properties of this object
|
4166
4171
|
def update!(**args)
|
4172
|
+
@callback_options = args[:callback_options] if args.key?(:callback_options)
|
4167
4173
|
@contact_info = args[:contact_info] if args.key?(:contact_info)
|
4168
4174
|
@homepage_url = args[:homepage_url] if args.key?(:homepage_url)
|
4169
4175
|
@issuer_id = args[:issuer_id] if args.key?(:issuer_id)
|
@@ -4434,7 +4440,8 @@ module Google
|
|
4434
4440
|
include Google::Apis::Core::Hashable
|
4435
4441
|
|
4436
4442
|
# Specifies from a predefined set of options or from a reference to the field
|
4437
|
-
# what will be displayed in the first row.
|
4443
|
+
# what will be displayed in the first row. To set this override, set the
|
4444
|
+
# FirstRowOption.fieldOption to the FieldSelector of your choice.
|
4438
4445
|
# Corresponds to the JSON property `firstRowOption`
|
4439
4446
|
# @return [Google::Apis::WalletobjectsV1::FirstRowOption]
|
4440
4447
|
attr_accessor :first_row_option
|
@@ -6861,34 +6868,6 @@ module Google
|
|
6861
6868
|
end
|
6862
6869
|
end
|
6863
6870
|
|
6864
|
-
# Request to send a private pass update notice information to Google, so that
|
6865
|
-
# devices can then fetch the notice prompting the user to update a pass.
|
6866
|
-
class SetPassUpdateNoticeRequest
|
6867
|
-
include Google::Apis::Core::Hashable
|
6868
|
-
|
6869
|
-
def initialize(**args)
|
6870
|
-
update!(**args)
|
6871
|
-
end
|
6872
|
-
|
6873
|
-
# Update properties of this object
|
6874
|
-
def update!(**args)
|
6875
|
-
end
|
6876
|
-
end
|
6877
|
-
|
6878
|
-
# A response to a request to notify Google of an awaiting update to a private
|
6879
|
-
# pass.
|
6880
|
-
class SetPassUpdateNoticeResponse
|
6881
|
-
include Google::Apis::Core::Hashable
|
6882
|
-
|
6883
|
-
def initialize(**args)
|
6884
|
-
update!(**args)
|
6885
|
-
end
|
6886
|
-
|
6887
|
-
# Update properties of this object
|
6888
|
-
def update!(**args)
|
6889
|
-
end
|
6890
|
-
end
|
6891
|
-
|
6892
6871
|
#
|
6893
6872
|
class SignUpInfo
|
6894
6873
|
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.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240206"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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
|
|
@@ -2007,6 +1995,8 @@ module Google
|
|
2007
1995
|
class Issuer
|
2008
1996
|
# @private
|
2009
1997
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1998
|
+
property :callback_options, as: 'callbackOptions', class: Google::Apis::WalletobjectsV1::CallbackOptions, decorator: Google::Apis::WalletobjectsV1::CallbackOptions::Representation
|
1999
|
+
|
2010
2000
|
property :contact_info, as: 'contactInfo', class: Google::Apis::WalletobjectsV1::IssuerContactInfo, decorator: Google::Apis::WalletobjectsV1::IssuerContactInfo::Representation
|
2011
2001
|
|
2012
2002
|
property :homepage_url, as: 'homepageUrl'
|
@@ -2735,18 +2725,6 @@ module Google
|
|
2735
2725
|
end
|
2736
2726
|
end
|
2737
2727
|
|
2738
|
-
class SetPassUpdateNoticeRequest
|
2739
|
-
# @private
|
2740
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2741
|
-
end
|
2742
|
-
end
|
2743
|
-
|
2744
|
-
class SetPassUpdateNoticeResponse
|
2745
|
-
# @private
|
2746
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2747
|
-
end
|
2748
|
-
end
|
2749
|
-
|
2750
2728
|
class SignUpInfo
|
2751
2729
|
# @private
|
2752
2730
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -32,6 +32,8 @@ module Google
|
|
32
32
|
#
|
33
33
|
# @see https://developers.google.com/pay/passes
|
34
34
|
class WalletobjectsService < Google::Apis::Core::BaseService
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://walletobjects.$UNIVERSE_DOMAIN$/"
|
36
|
+
|
35
37
|
# @return [String]
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
37
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -43,7 +45,7 @@ module Google
|
|
43
45
|
attr_accessor :quota_user
|
44
46
|
|
45
47
|
def initialize
|
46
|
-
super(
|
48
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
47
49
|
client_name: 'google-apis-walletobjects_v1',
|
48
50
|
client_version: Google::Apis::WalletobjectsV1::GEM_VERSION)
|
49
51
|
@batch_path = 'batch'
|
@@ -3398,38 +3400,6 @@ module Google
|
|
3398
3400
|
execute_or_queue_command(command, &block)
|
3399
3401
|
end
|
3400
3402
|
|
3401
|
-
# Provide Google with information about awaiting private pass update. This will
|
3402
|
-
# allow Google to provide the update notification to the device that currently
|
3403
|
-
# holds this pass.
|
3404
|
-
# @param [Google::Apis::WalletobjectsV1::SetPassUpdateNoticeRequest] set_pass_update_notice_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::SetPassUpdateNoticeResponse] parsed result object
|
3415
|
-
# @yieldparam err [StandardError] error object if request failed
|
3416
|
-
#
|
3417
|
-
# @return [Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse]
|
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 set_private_content_pass_update_notice(set_pass_update_notice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3423
|
-
command = make_simple_command(:post, 'walletobjects/v1/privateContent/setPassUpdateNotice', options)
|
3424
|
-
command.request_representation = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeRequest::Representation
|
3425
|
-
command.request_object = set_pass_update_notice_request_object
|
3426
|
-
command.response_representation = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse::Representation
|
3427
|
-
command.response_class = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse
|
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
|
-
|
3433
3403
|
# Upload private data (text or URI) and returns an Id to be used in its place.
|
3434
3404
|
# @param [Google::Apis::WalletobjectsV1::UploadPrivateDataRequest] upload_private_data_request_object
|
3435
3405
|
# @param [String] fields
|
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.4.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:
|
11
|
+
date: 2024-02-11 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.12.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.12.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.4.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-walletobjects_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Wallet API V1
|