google-apis-games_v1 0.23.0 → 0.25.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: e69f7e1e83f9796058869eaddb4f35ed8bf615897d87395ff8752d0489543ef8
4
- data.tar.gz: 47fccb08de31b044a88928026c96abcf237f3eafd0658dd01bd5ee414e64006e
3
+ metadata.gz: 2ec9c9d3090ea0f214aff6873bbeb513cc901aed9c849b99b2a537e36544e6f3
4
+ data.tar.gz: 96c04ca36a4f1dc41a1208e000c7240145c0d412df62e0e3ad0bee6359d15a27
5
5
  SHA512:
6
- metadata.gz: 9d22aa90ba2d13c09508d574ca4ff9ea2014a376cc6220fa73ac550d6c97ca69f5950b56cda6e047f6e0d694f0cf68b7b06eddeef54c001224285e3996689384
7
- data.tar.gz: c78bb5d2d1a0a5c0015ceabdbfcd8caa82c08e74baf2c102af714117417875d4d2cb8e89c89f6ed6d4c181fa86c3db5709e31c12beb7ff3b2c11d04b9b354854
6
+ metadata.gz: 4976fbfef9f9596423b6807fc7bb46f413e0ae8a0acbc6609ba0e2ac60f438ca3e69c3d740d7f45bffa858d3dfd7f89510608d6e30e01d7959ce2f15fc8e4b25
7
+ data.tar.gz: c77e38d4d8974c5ce3b647287e318a70b9f44308865b71fd819651c66a62e9713ebb6157609573b6b91dfbc4151e99848d07aafcdee393f583726c245a2cec03
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-games_v1
2
2
 
3
+ ### v0.25.0 (2024-05-19)
4
+
5
+ * Regenerated using generator version 0.15.0
6
+
7
+ ### v0.24.0 (2024-04-28)
8
+
9
+ * Regenerated from discovery document revision 20240416
10
+
3
11
  ### v0.23.0 (2024-02-24)
4
12
 
5
13
  * Regenerated using generator version 0.14.0
@@ -2512,6 +2512,26 @@ module Google
2512
2512
  end
2513
2513
  end
2514
2514
 
2515
+ # Recall token data returned from for the RetrieveDeveloperGamesLastPlayerToken
2516
+ # RPC
2517
+ class RetrieveDeveloperGamesLastPlayerTokenResponse
2518
+ include Google::Apis::Core::Hashable
2519
+
2520
+ # Recall token data returned from RetrievePlayerTokens RPC
2521
+ # Corresponds to the JSON property `token`
2522
+ # @return [Google::Apis::GamesV1::RecallToken]
2523
+ attr_accessor :token
2524
+
2525
+ def initialize(**args)
2526
+ update!(**args)
2527
+ end
2528
+
2529
+ # Update properties of this object
2530
+ def update!(**args)
2531
+ @token = args[:token] if args.key?(:token)
2532
+ end
2533
+ end
2534
+
2515
2535
  # Response for the RetrievePlayerTokens RPC
2516
2536
  class RetrievePlayerTokensResponse
2517
2537
  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.23.0"
19
+ GEM_VERSION = "0.25.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 = "20230823"
25
+ REVISION = "20240416"
26
26
  end
27
27
  end
28
28
  end
@@ -394,6 +394,12 @@ module Google
394
394
  include Google::Apis::Core::JsonObjectSupport
395
395
  end
396
396
 
397
+ class RetrieveDeveloperGamesLastPlayerTokenResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
397
403
  class RetrievePlayerTokensResponse
398
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
405
 
@@ -1130,6 +1136,14 @@ module Google
1130
1136
  end
1131
1137
  end
1132
1138
 
1139
+ class RetrieveDeveloperGamesLastPlayerTokenResponse
1140
+ # @private
1141
+ class Representation < Google::Apis::Core::JsonRepresentation
1142
+ property :token, as: 'token', class: Google::Apis::GamesV1::RecallToken, decorator: Google::Apis::GamesV1::RecallToken::Representation
1143
+
1144
+ end
1145
+ end
1146
+
1133
1147
  class RetrievePlayerTokensResponse
1134
1148
  # @private
1135
1149
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -827,6 +827,39 @@ module Google
827
827
  execute_or_queue_command(command, &block)
828
828
  end
829
829
 
830
+ # 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.
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 [String] fields
837
+ # Selector specifying which fields to include in a partial response.
838
+ # @param [String] quota_user
839
+ # Available to use for quota purposes for server-side applications. Can be any
840
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
841
+ # @param [Google::Apis::RequestOptions] options
842
+ # Request-specific options
843
+ #
844
+ # @yield [result, err] Result & error if block supplied
845
+ # @yieldparam result [Google::Apis::GamesV1::RetrieveDeveloperGamesLastPlayerTokenResponse] parsed result object
846
+ # @yieldparam err [StandardError] error object if request failed
847
+ #
848
+ # @return [Google::Apis::GamesV1::RetrieveDeveloperGamesLastPlayerTokenResponse]
849
+ #
850
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
851
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
852
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
853
+ def last_recall_token_from_all_developer_games(session_id, fields: nil, quota_user: nil, options: nil, &block)
854
+ command = make_simple_command(:get, 'games/v1/recall/developerGamesLastPlayerToken/{sessionId}', options)
855
+ command.response_representation = Google::Apis::GamesV1::RetrieveDeveloperGamesLastPlayerTokenResponse::Representation
856
+ command.response_class = Google::Apis::GamesV1::RetrieveDeveloperGamesLastPlayerTokenResponse
857
+ command.params['sessionId'] = session_id unless session_id.nil?
858
+ command.query['fields'] = fields unless fields.nil?
859
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
860
+ execute_or_queue_command(command, &block)
861
+ end
862
+
830
863
  # Associate the PGS Player principal encoded in the provided recall session id
831
864
  # with an in-game account
832
865
  # @param [Google::Apis::GamesV1::LinkPersonaRequest] link_persona_request_object
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.23.0
4
+ version: 0.25.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-02-25 00:00:00.000000000 Z
11
+ date: 2024-05-26 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.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.25.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: []