google-apis-games_v1 0.24.0 → 0.26.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: b5804fedac3071e6a1934b97c09d283070ed9f614f3be3faad5d5be52b5a3a82
4
- data.tar.gz: de2cdb18f1759dc232c745dd938807172fae7518c0541d5a7f2605d589cc4f23
3
+ metadata.gz: af63cd3f3f2727c457c4a22b2c52dc37163d58d3ffa31f3886f9402ac9a22eb3
4
+ data.tar.gz: 0fbec18ca4b66eaf40ec6b65576cee5360998bc62f2f5c12fa6bc165bb947ccc
5
5
  SHA512:
6
- metadata.gz: 9988196afab03e8f2b681cc0c640232f311b896d6809f1f3d29e6d1a36fb1d21bbbf3f0d872da03d4e8af734cebaa07f88501f60b28f71e604ae665578f640ee
7
- data.tar.gz: 9cfc53c5ca500300be6abfc321dd131acc861c7f0406d42944d46a2d27f532a7afa473f912f7d25972cb801e0ec65b406a88bf514f93211c8b4b1940d2123a66
6
+ metadata.gz: da16194dbab334e018001a73918082922cd3541cb5e895ac4c1e0665edfc9e12e6fdaf7ada193c7520c4afeaa1c977e93eec0a1789cc40a8cb3fb654c1085485
7
+ data.tar.gz: 87487e03839e99b62bfe786897fb6f60c2984265a146bc9e7fb15798264189009f7ab7226d2c1f49f9f753bac6b89a521508ebfc8b38ed78bb18f32db9d75604
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-games_v1
2
2
 
3
+ ### v0.26.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240529
6
+
7
+ ### v0.25.0 (2024-05-19)
8
+
9
+ * Regenerated using generator version 0.15.0
10
+
3
11
  ### v0.24.0 (2024-04-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20240416
@@ -1048,6 +1048,31 @@ module Google
1048
1048
  end
1049
1049
  end
1050
1050
 
1051
+ # Recall tokens for a game.
1052
+ class GamePlayerToken
1053
+ include Google::Apis::Core::Hashable
1054
+
1055
+ # The application that this player identifier is for.
1056
+ # Corresponds to the JSON property `applicationId`
1057
+ # @return [String]
1058
+ attr_accessor :application_id
1059
+
1060
+ # Recall token data.
1061
+ # Corresponds to the JSON property `token`
1062
+ # @return [Array<Google::Apis::GamesV1::RecallToken>]
1063
+ attr_accessor :token
1064
+
1065
+ def initialize(**args)
1066
+ update!(**args)
1067
+ end
1068
+
1069
+ # Update properties of this object
1070
+ def update!(**args)
1071
+ @application_id = args[:application_id] if args.key?(:application_id)
1072
+ @token = args[:token] if args.key?(:token)
1073
+ end
1074
+ end
1075
+
1051
1076
  # The payload to request to increment an achievement.
1052
1077
  class GamesAchievementIncrement
1053
1078
  include Google::Apis::Core::Hashable
@@ -2532,6 +2557,27 @@ module Google
2532
2557
  end
2533
2558
  end
2534
2559
 
2560
+ # A list of recall token data returned from the RetrieveGamesPlayerTokens RPC
2561
+ class RetrieveGamesPlayerTokensResponse
2562
+ include Google::Apis::Core::Hashable
2563
+
2564
+ # The requested applications along with the recall tokens for the player. If the
2565
+ # player does not have recall tokens for an application, that application is not
2566
+ # included in the response.
2567
+ # Corresponds to the JSON property `applicationRecallTokens`
2568
+ # @return [Array<Google::Apis::GamesV1::GamePlayerToken>]
2569
+ attr_accessor :application_recall_tokens
2570
+
2571
+ def initialize(**args)
2572
+ update!(**args)
2573
+ end
2574
+
2575
+ # Update properties of this object
2576
+ def update!(**args)
2577
+ @application_recall_tokens = args[:application_recall_tokens] if args.key?(:application_recall_tokens)
2578
+ end
2579
+ end
2580
+
2535
2581
  # Response for the RetrievePlayerTokens RPC
2536
2582
  class RetrievePlayerTokensResponse
2537
2583
  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.24.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240416"
25
+ REVISION = "20240529"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class GamePlayerToken
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class GamesAchievementIncrement
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -400,6 +406,12 @@ module Google
400
406
  include Google::Apis::Core::JsonObjectSupport
401
407
  end
402
408
 
409
+ class RetrieveGamesPlayerTokensResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
403
415
  class RetrievePlayerTokensResponse
404
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
417
 
@@ -745,6 +757,15 @@ module Google
745
757
  end
746
758
  end
747
759
 
760
+ class GamePlayerToken
761
+ # @private
762
+ class Representation < Google::Apis::Core::JsonRepresentation
763
+ property :application_id, as: 'applicationId'
764
+ collection :token, as: 'token', class: Google::Apis::GamesV1::RecallToken, decorator: Google::Apis::GamesV1::RecallToken::Representation
765
+
766
+ end
767
+ end
768
+
748
769
  class GamesAchievementIncrement
749
770
  # @private
750
771
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1144,6 +1165,14 @@ module Google
1144
1165
  end
1145
1166
  end
1146
1167
 
1168
+ class RetrieveGamesPlayerTokensResponse
1169
+ # @private
1170
+ class Representation < Google::Apis::Core::JsonRepresentation
1171
+ collection :application_recall_tokens, as: 'applicationRecallTokens', class: Google::Apis::GamesV1::GamePlayerToken, decorator: Google::Apis::GamesV1::GamePlayerToken::Representation
1172
+
1173
+ end
1174
+ end
1175
+
1147
1176
  class RetrievePlayerTokensResponse
1148
1177
  # @private
1149
1178
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -827,9 +827,46 @@ module Google
827
827
  execute_or_queue_command(command, &block)
828
828
  end
829
829
 
830
+ # Retrieve the Recall tokens from all requested games that is associated with
831
+ # the PGS Player encoded in the provided recall session id. The API is only
832
+ # available for users that have an active PGS Player profile.
833
+ # @param [String] session_id
834
+ # Required. Opaque server-generated string that encodes all the necessary
835
+ # information to identify the PGS player / Google user and application.
836
+ # @param [Array<String>, String] application_ids
837
+ # Required. The application IDs from the Google Play developer console for the
838
+ # games to return scoped ids for.
839
+ # @param [String] fields
840
+ # Selector specifying which fields to include in a partial response.
841
+ # @param [String] quota_user
842
+ # Available to use for quota purposes for server-side applications. Can be any
843
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
844
+ # @param [Google::Apis::RequestOptions] options
845
+ # Request-specific options
846
+ #
847
+ # @yield [result, err] Result & error if block supplied
848
+ # @yieldparam result [Google::Apis::GamesV1::RetrieveGamesPlayerTokensResponse] parsed result object
849
+ # @yieldparam err [StandardError] error object if request failed
850
+ #
851
+ # @return [Google::Apis::GamesV1::RetrieveGamesPlayerTokensResponse]
852
+ #
853
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
854
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
855
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
856
+ def games_recall_player_tokens(session_id, application_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
857
+ command = make_simple_command(:get, 'games/v1/recall/gamesPlayerTokens/{sessionId}', options)
858
+ command.response_representation = Google::Apis::GamesV1::RetrieveGamesPlayerTokensResponse::Representation
859
+ command.response_class = Google::Apis::GamesV1::RetrieveGamesPlayerTokensResponse
860
+ command.params['sessionId'] = session_id unless session_id.nil?
861
+ command.query['applicationIds'] = application_ids unless application_ids.nil?
862
+ command.query['fields'] = fields unless fields.nil?
863
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
864
+ execute_or_queue_command(command, &block)
865
+ end
866
+
830
867
  # Retrieve the last Recall token from all developer games that is associated
831
- # with the PGS Player principal encoded in the provided recall session id. The
832
- # API is only available for users that have active PGS Player profile.
868
+ # with the PGS Player encoded in the provided recall session id. The API is only
869
+ # available for users that have active PGS Player profile.
833
870
  # @param [String] session_id
834
871
  # Required. Opaque server-generated string that encodes all the necessary
835
872
  # information to identify the PGS player / Google user and application.
@@ -922,8 +959,8 @@ module Google
922
959
  execute_or_queue_command(command, &block)
923
960
  end
924
961
 
925
- # Retrieve all Recall tokens associated with the PGS Player principal encoded in
926
- # the provided recall session id. The API is only available for users that have
962
+ # Retrieve all Recall tokens associated with the PGS Player encoded in the
963
+ # provided recall session id. The API is only available for users that have
927
964
  # active PGS Player profile.
928
965
  # @param [String] session_id
929
966
  # Required. Opaque server-generated string that encodes all the necessary
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.24.0
4
+ version: 0.26.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-04-28 00:00:00.000000000 Z
11
+ date: 2024-06-09 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.14.0
19
+ version: 0.15.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.14.0
29
+ version: 0.15.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-games_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.26.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: []