google-apis-games_v1 0.12.0 → 0.15.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: 3404a9bff07c21e56331af9f985866706907efc73ea04e7f20499d62b6786d5d
|
4
|
+
data.tar.gz: 647fd9426936695a1e3e597ef03138c4ccd95beade547e9997a02bdef32e4d6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e803ebf16fc1a10b0c2a98f0d2974c43f70c827d98e90c8e74ee61db3447fc46170b4cc8b75b2e88aeaa58de5cfe4b46d60c8bfae9999a572a38f2e4b9de7d45
|
7
|
+
data.tar.gz: 91e556b6b38ef1a0cdc302582c78852fd311a614d2e0ac907770fc4c56d3241bcbbf03f920f6c36fd9f80f591e2e9b7dbbf80e68befc2fd77a271cd66b52fe19
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-games_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2022-06-30)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.8.0
|
6
|
+
|
7
|
+
### v0.14.0 (2022-06-21)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.7.0
|
10
|
+
|
11
|
+
### v0.13.0 (2022-06-02)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220525
|
14
|
+
|
3
15
|
### v0.12.0 (2022-04-06)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220330
|
@@ -2345,6 +2345,35 @@ module Google
|
|
2345
2345
|
end
|
2346
2346
|
end
|
2347
2347
|
|
2348
|
+
# Scoped player identifiers.
|
2349
|
+
class ScopedPlayerIds
|
2350
|
+
include Google::Apis::Core::Hashable
|
2351
|
+
|
2352
|
+
# Identifier of the player across all games of the given developer. Every player
|
2353
|
+
# has the same developer_player_key in all games of one developer. Developer
|
2354
|
+
# player key changes for the game if the game is transferred to another
|
2355
|
+
# developer. Note that game_player_id will stay unchanged.
|
2356
|
+
# Corresponds to the JSON property `developerPlayerKey`
|
2357
|
+
# @return [String]
|
2358
|
+
attr_accessor :developer_player_key
|
2359
|
+
|
2360
|
+
# Game-scoped player identifier. This is the same id that is returned in
|
2361
|
+
# GetPlayer game_player_id field.
|
2362
|
+
# Corresponds to the JSON property `gamePlayerId`
|
2363
|
+
# @return [String]
|
2364
|
+
attr_accessor :game_player_id
|
2365
|
+
|
2366
|
+
def initialize(**args)
|
2367
|
+
update!(**args)
|
2368
|
+
end
|
2369
|
+
|
2370
|
+
# Update properties of this object
|
2371
|
+
def update!(**args)
|
2372
|
+
@developer_player_key = args[:developer_player_key] if args.key?(:developer_player_key)
|
2373
|
+
@game_player_id = args[:game_player_id] if args.key?(:game_player_id)
|
2374
|
+
end
|
2375
|
+
end
|
2376
|
+
|
2348
2377
|
# A request to submit a score to leaderboards.
|
2349
2378
|
class ScoreSubmission
|
2350
2379
|
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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220525"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -358,6 +358,12 @@ module Google
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
359
359
|
end
|
360
360
|
|
361
|
+
class ScopedPlayerIds
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
361
367
|
class ScoreSubmission
|
362
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
369
|
|
@@ -1014,6 +1020,14 @@ module Google
|
|
1014
1020
|
end
|
1015
1021
|
end
|
1016
1022
|
|
1023
|
+
class ScopedPlayerIds
|
1024
|
+
# @private
|
1025
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1026
|
+
property :developer_player_key, as: 'developerPlayerKey'
|
1027
|
+
property :game_player_id, as: 'gamePlayerId'
|
1028
|
+
end
|
1029
|
+
end
|
1030
|
+
|
1017
1031
|
class ScoreSubmission
|
1018
1032
|
# @private
|
1019
1033
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -723,6 +723,33 @@ module Google
|
|
723
723
|
execute_or_queue_command(command, &block)
|
724
724
|
end
|
725
725
|
|
726
|
+
# Retrieves scoped player identifiers for currently authenticated user.
|
727
|
+
# @param [String] fields
|
728
|
+
# Selector specifying which fields to include in a partial response.
|
729
|
+
# @param [String] quota_user
|
730
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
731
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
732
|
+
# @param [Google::Apis::RequestOptions] options
|
733
|
+
# Request-specific options
|
734
|
+
#
|
735
|
+
# @yield [result, err] Result & error if block supplied
|
736
|
+
# @yieldparam result [Google::Apis::GamesV1::ScopedPlayerIds] parsed result object
|
737
|
+
# @yieldparam err [StandardError] error object if request failed
|
738
|
+
#
|
739
|
+
# @return [Google::Apis::GamesV1::ScopedPlayerIds]
|
740
|
+
#
|
741
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
742
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
743
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
744
|
+
def get_player_scoped_player_ids(fields: nil, quota_user: nil, options: nil, &block)
|
745
|
+
command = make_simple_command(:get, 'games/v1/players/me/scopedIds', options)
|
746
|
+
command.response_representation = Google::Apis::GamesV1::ScopedPlayerIds::Representation
|
747
|
+
command.response_class = Google::Apis::GamesV1::ScopedPlayerIds
|
748
|
+
command.query['fields'] = fields unless fields.nil?
|
749
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
750
|
+
execute_or_queue_command(command, &block)
|
751
|
+
end
|
752
|
+
|
726
753
|
# Get the collection of players for the currently authenticated user.
|
727
754
|
# @param [String] collection
|
728
755
|
# Collection of players being retrieved
|
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.15.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: 2022-04
|
11
|
+
date: 2022-07-04 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.7'
|
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.7'
|
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-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.15.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: []
|
@@ -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.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Play Game Services V1
|