google-apis-games_v1 0.18.0 → 0.19.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: '009f60844bd43b6bad918ee464e1127c5760f68b7587197cc7f176c9b7f3fa84'
|
4
|
+
data.tar.gz: 8e56980dc49dec24dab718ac95e7464ea23a4eafa92ab7ea492c5ffccfa0f0be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 328c73b1eac6adcb7430f0b71a2da6b48f42049bd69ddd3c67c96b71fda8982dd45ddfc9e7fb048e6a444f312caa9e33d6f726b109b458c4354fd260b1848f37
|
7
|
+
data.tar.gz: f787488e3c88d3449b7d32dd62ade8bfe9a17b9666ead9b3b8e167688e59d49f17032beb42b01959fa20992b3f100f1d0146adc24179639b4c0beb4bcb77b3c1
|
data/CHANGELOG.md
CHANGED
@@ -547,6 +547,31 @@ module Google
|
|
547
547
|
end
|
548
548
|
end
|
549
549
|
|
550
|
+
# Primary scoped player identifier for an application.
|
551
|
+
class ApplicationPlayerId
|
552
|
+
include Google::Apis::Core::Hashable
|
553
|
+
|
554
|
+
# The application that this player identifier is for.
|
555
|
+
# Corresponds to the JSON property `applicationId`
|
556
|
+
# @return [String]
|
557
|
+
attr_accessor :application_id
|
558
|
+
|
559
|
+
# The player identifier for the application.
|
560
|
+
# Corresponds to the JSON property `playerId`
|
561
|
+
# @return [String]
|
562
|
+
attr_accessor :player_id
|
563
|
+
|
564
|
+
def initialize(**args)
|
565
|
+
update!(**args)
|
566
|
+
end
|
567
|
+
|
568
|
+
# Update properties of this object
|
569
|
+
def update!(**args)
|
570
|
+
@application_id = args[:application_id] if args.key?(:application_id)
|
571
|
+
@player_id = args[:player_id] if args.key?(:player_id)
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
550
575
|
# A third party application verification response resource.
|
551
576
|
class ApplicationVerifyResponse
|
552
577
|
include Google::Apis::Core::Hashable
|
@@ -1081,6 +1106,27 @@ module Google
|
|
1081
1106
|
end
|
1082
1107
|
end
|
1083
1108
|
|
1109
|
+
# Response message for GetMultipleApplicationPlayerIds rpc.
|
1110
|
+
class GetMultipleApplicationPlayerIdsResponse
|
1111
|
+
include Google::Apis::Core::Hashable
|
1112
|
+
|
1113
|
+
# Output only. The requested applications along with the scoped ids for tha
|
1114
|
+
# player, if that player has an id for the application. If not, the application
|
1115
|
+
# is not included in the response.
|
1116
|
+
# Corresponds to the JSON property `playerIds`
|
1117
|
+
# @return [Array<Google::Apis::GamesV1::ApplicationPlayerId>]
|
1118
|
+
attr_accessor :player_ids
|
1119
|
+
|
1120
|
+
def initialize(**args)
|
1121
|
+
update!(**args)
|
1122
|
+
end
|
1123
|
+
|
1124
|
+
# Update properties of this object
|
1125
|
+
def update!(**args)
|
1126
|
+
@player_ids = args[:player_ids] if args.key?(:player_ids)
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
|
1084
1130
|
# An image asset object.
|
1085
1131
|
class ImageAsset
|
1086
1132
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GamesV1
|
18
18
|
# Version of the google-apis-games_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230310"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -94,6 +94,12 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class ApplicationPlayerId
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
97
103
|
class ApplicationVerifyResponse
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -190,6 +196,12 @@ module Google
|
|
190
196
|
include Google::Apis::Core::JsonObjectSupport
|
191
197
|
end
|
192
198
|
|
199
|
+
class GetMultipleApplicationPlayerIdsResponse
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
193
205
|
class ImageAsset
|
194
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
207
|
|
@@ -531,6 +543,14 @@ module Google
|
|
531
543
|
end
|
532
544
|
end
|
533
545
|
|
546
|
+
class ApplicationPlayerId
|
547
|
+
# @private
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
549
|
+
property :application_id, as: 'applicationId'
|
550
|
+
property :player_id, as: 'playerId'
|
551
|
+
end
|
552
|
+
end
|
553
|
+
|
534
554
|
class ApplicationVerifyResponse
|
535
555
|
# @private
|
536
556
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -688,6 +708,14 @@ module Google
|
|
688
708
|
end
|
689
709
|
end
|
690
710
|
|
711
|
+
class GetMultipleApplicationPlayerIdsResponse
|
712
|
+
# @private
|
713
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
714
|
+
collection :player_ids, as: 'playerIds', class: Google::Apis::GamesV1::ApplicationPlayerId, decorator: Google::Apis::GamesV1::ApplicationPlayerId::Representation
|
715
|
+
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
691
719
|
class ImageAsset
|
692
720
|
# @private
|
693
721
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -723,6 +723,40 @@ module Google
|
|
723
723
|
execute_or_queue_command(command, &block)
|
724
724
|
end
|
725
725
|
|
726
|
+
# Get the application player ids for the currently authenticated player across
|
727
|
+
# all requested games by the same developer as the calling application. This
|
728
|
+
# will only return ids for players that actually have an id (scoped or otherwise)
|
729
|
+
# with that game.
|
730
|
+
# @param [Array<String>, String] application_ids
|
731
|
+
# Required. The application IDs from the Google Play developer console for the
|
732
|
+
# games to return scoped ids for.
|
733
|
+
# @param [String] fields
|
734
|
+
# Selector specifying which fields to include in a partial response.
|
735
|
+
# @param [String] quota_user
|
736
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
737
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
738
|
+
# @param [Google::Apis::RequestOptions] options
|
739
|
+
# Request-specific options
|
740
|
+
#
|
741
|
+
# @yield [result, err] Result & error if block supplied
|
742
|
+
# @yieldparam result [Google::Apis::GamesV1::GetMultipleApplicationPlayerIdsResponse] parsed result object
|
743
|
+
# @yieldparam err [StandardError] error object if request failed
|
744
|
+
#
|
745
|
+
# @return [Google::Apis::GamesV1::GetMultipleApplicationPlayerIdsResponse]
|
746
|
+
#
|
747
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
748
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
749
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
750
|
+
def get_player_multiple_application_player_ids(application_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
|
751
|
+
command = make_simple_command(:get, 'games/v1/players/me/multipleApplicationPlayerIds', options)
|
752
|
+
command.response_representation = Google::Apis::GamesV1::GetMultipleApplicationPlayerIdsResponse::Representation
|
753
|
+
command.response_class = Google::Apis::GamesV1::GetMultipleApplicationPlayerIdsResponse
|
754
|
+
command.query['applicationIds'] = application_ids unless application_ids.nil?
|
755
|
+
command.query['fields'] = fields unless fields.nil?
|
756
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
757
|
+
execute_or_queue_command(command, &block)
|
758
|
+
end
|
759
|
+
|
726
760
|
# Retrieves scoped player identifiers for currently authenticated user.
|
727
761
|
# @param [String] fields
|
728
762
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-games_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.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: 2023-
|
11
|
+
date: 2023-03-26 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-games_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.19.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-games_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|