google-apis-games_v1 0.23.0 → 0.24.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: e69f7e1e83f9796058869eaddb4f35ed8bf615897d87395ff8752d0489543ef8
4
- data.tar.gz: 47fccb08de31b044a88928026c96abcf237f3eafd0658dd01bd5ee414e64006e
3
+ metadata.gz: b5804fedac3071e6a1934b97c09d283070ed9f614f3be3faad5d5be52b5a3a82
4
+ data.tar.gz: de2cdb18f1759dc232c745dd938807172fae7518c0541d5a7f2605d589cc4f23
5
5
  SHA512:
6
- metadata.gz: 9d22aa90ba2d13c09508d574ca4ff9ea2014a376cc6220fa73ac550d6c97ca69f5950b56cda6e047f6e0d694f0cf68b7b06eddeef54c001224285e3996689384
7
- data.tar.gz: c78bb5d2d1a0a5c0015ceabdbfcd8caa82c08e74baf2c102af714117417875d4d2cb8e89c89f6ed6d4c181fa86c3db5709e31c12beb7ff3b2c11d04b9b354854
6
+ metadata.gz: 9988196afab03e8f2b681cc0c640232f311b896d6809f1f3d29e6d1a36fb1d21bbbf3f0d872da03d4e8af734cebaa07f88501f60b28f71e604ae665578f640ee
7
+ data.tar.gz: 9cfc53c5ca500300be6abfc321dd131acc861c7f0406d42944d46a2d27f532a7afa473f912f7d25972cb801e0ec65b406a88bf514f93211c8b4b1940d2123a66
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-games_v1
2
2
 
3
+ ### v0.24.0 (2024-04-28)
4
+
5
+ * Regenerated from discovery document revision 20240416
6
+
3
7
  ### v0.23.0 (2024-02-24)
4
8
 
5
9
  * 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.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.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.24.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-04-28 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.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.24.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: []