google-apis-games_v1 0.20.0 → 0.21.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: b6fba9f51f3ab25458b218d1374f29ddcddfade893afd571850d3a27655ffc9e
4
- data.tar.gz: 651c9c389a52dfaaa51e4f8a40a8fdb2915660ff9a7cffe5eaaf54de10d84bf2
3
+ metadata.gz: 33a657d23ba0e61a4cdf004885b65b70a60eaeef7322f3293f4b2b869eea4a3f
4
+ data.tar.gz: 23f586d791b40d94e01b3974a2520f034c57e56ed7c4cfe3709db89ba5dfee76
5
5
  SHA512:
6
- metadata.gz: 219db66f2719d63441ef1155bb8b8e31a664f4a862cd1e9de1c1723fa729a4ecf77cf84e0297c9a71be669306854b1276f9f514f0df90be67f7dde5423d5106d
7
- data.tar.gz: b6313f31f29275d5c35c11b6caebad96a73f1335ad40dee8999ee586a7a45267276bba4b49dabcfed349fd714667b0fcffcee42eae866b1bd504c1b114b47b05
6
+ metadata.gz: 28347eddf9f8d1f915ab658d512c8923c19d98450523b32ac86805a575d8c5ffbc08ef1f1f8a67c34ff1cfc25c899e647be9ee45b9a7f1dc307a402479021636
7
+ data.tar.gz: b1ae3f9ea31e3d54386b07ff02f28dcd32f094635252dfe56afd11962a49ce7c6de01c131dbe7145dba0f87f30f29d932c3865767f1543cba44ec96f9f6f93db
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-games_v1
2
2
 
3
+ ### v0.21.0 (2023-09-03)
4
+
5
+ * Regenerated from discovery document revision 20230823
6
+
3
7
  ### v0.20.0 (2023-08-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20230822
@@ -1624,6 +1624,86 @@ module Google
1624
1624
  end
1625
1625
  end
1626
1626
 
1627
+ # Request to link an in-game account with a PGS principal (encoded in the
1628
+ # session id).
1629
+ class LinkPersonaRequest
1630
+ include Google::Apis::Core::Hashable
1631
+
1632
+ # Required. Cardinality constraint to observe when linking a persona to a player
1633
+ # in the scope of a game.
1634
+ # Corresponds to the JSON property `cardinalityConstraint`
1635
+ # @return [String]
1636
+ attr_accessor :cardinality_constraint
1637
+
1638
+ # Required. Resolution policy to apply when the linking of a persona to a player
1639
+ # would result in violating the specified cardinality constraint.
1640
+ # Corresponds to the JSON property `conflictingLinksResolutionPolicy`
1641
+ # @return [String]
1642
+ attr_accessor :conflicting_links_resolution_policy
1643
+
1644
+ # Input only. Optional expiration time.
1645
+ # Corresponds to the JSON property `expireTime`
1646
+ # @return [String]
1647
+ attr_accessor :expire_time
1648
+
1649
+ # Required. Stable identifier of the in-game account. Please refrain from re-
1650
+ # using the same persona for different games.
1651
+ # Corresponds to the JSON property `persona`
1652
+ # @return [String]
1653
+ attr_accessor :persona
1654
+
1655
+ # Required. Opaque server-generated string that encodes all the necessary
1656
+ # information to identify the PGS player / Google user and application.
1657
+ # Corresponds to the JSON property `sessionId`
1658
+ # @return [String]
1659
+ attr_accessor :session_id
1660
+
1661
+ # Required. Value of the token to create. Opaque to Play Games and assumed to be
1662
+ # non-stable (encrypted with key rotation).
1663
+ # Corresponds to the JSON property `token`
1664
+ # @return [String]
1665
+ attr_accessor :token
1666
+
1667
+ # Input only. Optional time-to-live.
1668
+ # Corresponds to the JSON property `ttl`
1669
+ # @return [String]
1670
+ attr_accessor :ttl
1671
+
1672
+ def initialize(**args)
1673
+ update!(**args)
1674
+ end
1675
+
1676
+ # Update properties of this object
1677
+ def update!(**args)
1678
+ @cardinality_constraint = args[:cardinality_constraint] if args.key?(:cardinality_constraint)
1679
+ @conflicting_links_resolution_policy = args[:conflicting_links_resolution_policy] if args.key?(:conflicting_links_resolution_policy)
1680
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
1681
+ @persona = args[:persona] if args.key?(:persona)
1682
+ @session_id = args[:session_id] if args.key?(:session_id)
1683
+ @token = args[:token] if args.key?(:token)
1684
+ @ttl = args[:ttl] if args.key?(:ttl)
1685
+ end
1686
+ end
1687
+
1688
+ # Outcome of a persona linking attempt.
1689
+ class LinkPersonaResponse
1690
+ include Google::Apis::Core::Hashable
1691
+
1692
+ # Output only. State of a persona linking attempt.
1693
+ # Corresponds to the JSON property `state`
1694
+ # @return [String]
1695
+ attr_accessor :state
1696
+
1697
+ def initialize(**args)
1698
+ update!(**args)
1699
+ end
1700
+
1701
+ # Update properties of this object
1702
+ def update!(**args)
1703
+ @state = args[:state] if args.key?(:state)
1704
+ end
1705
+ end
1706
+
1627
1707
  # The metagame config resource
1628
1708
  class MetagameConfig
1629
1709
  include Google::Apis::Core::Hashable
@@ -2358,6 +2438,99 @@ module Google
2358
2438
  end
2359
2439
  end
2360
2440
 
2441
+ # Recall token data returned from RetrievePlayerTokens RPC
2442
+ class RecallToken
2443
+ include Google::Apis::Core::Hashable
2444
+
2445
+ # Optional. Optional expiration time of the token
2446
+ # Corresponds to the JSON property `expireTime`
2447
+ # @return [String]
2448
+ attr_accessor :expire_time
2449
+
2450
+ # Required. Whether the persona identified by the token is linked to multiple
2451
+ # PGS Players
2452
+ # Corresponds to the JSON property `multiPlayerPersona`
2453
+ # @return [Boolean]
2454
+ attr_accessor :multi_player_persona
2455
+ alias_method :multi_player_persona?, :multi_player_persona
2456
+
2457
+ # Required. Value of the Recall token as it is provided by the client via
2458
+ # LinkPersona RPC
2459
+ # Corresponds to the JSON property `token`
2460
+ # @return [String]
2461
+ attr_accessor :token
2462
+
2463
+ def initialize(**args)
2464
+ update!(**args)
2465
+ end
2466
+
2467
+ # Update properties of this object
2468
+ def update!(**args)
2469
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
2470
+ @multi_player_persona = args[:multi_player_persona] if args.key?(:multi_player_persona)
2471
+ @token = args[:token] if args.key?(:token)
2472
+ end
2473
+ end
2474
+
2475
+ # Request to remove all Recall tokens associated with a persona for an app.
2476
+ class ResetPersonaRequest
2477
+ include Google::Apis::Core::Hashable
2478
+
2479
+ # Value of the 'persona' field as it was provided by the client in LinkPersona
2480
+ # RPC
2481
+ # Corresponds to the JSON property `persona`
2482
+ # @return [String]
2483
+ attr_accessor :persona
2484
+
2485
+ def initialize(**args)
2486
+ update!(**args)
2487
+ end
2488
+
2489
+ # Update properties of this object
2490
+ def update!(**args)
2491
+ @persona = args[:persona] if args.key?(:persona)
2492
+ end
2493
+ end
2494
+
2495
+ # Response for the ResetPersona RPC
2496
+ class ResetPersonaResponse
2497
+ include Google::Apis::Core::Hashable
2498
+
2499
+ # Required. Whether any tokens were unlinked as a result of this request.
2500
+ # Corresponds to the JSON property `unlinked`
2501
+ # @return [Boolean]
2502
+ attr_accessor :unlinked
2503
+ alias_method :unlinked?, :unlinked
2504
+
2505
+ def initialize(**args)
2506
+ update!(**args)
2507
+ end
2508
+
2509
+ # Update properties of this object
2510
+ def update!(**args)
2511
+ @unlinked = args[:unlinked] if args.key?(:unlinked)
2512
+ end
2513
+ end
2514
+
2515
+ # Response for the RetrievePlayerTokens RPC
2516
+ class RetrievePlayerTokensResponse
2517
+ include Google::Apis::Core::Hashable
2518
+
2519
+ # Required. Recall tokens associated with the requested PGS Player principal
2520
+ # Corresponds to the JSON property `tokens`
2521
+ # @return [Array<Google::Apis::GamesV1::RecallToken>]
2522
+ attr_accessor :tokens
2523
+
2524
+ def initialize(**args)
2525
+ update!(**args)
2526
+ end
2527
+
2528
+ # Update properties of this object
2529
+ def update!(**args)
2530
+ @tokens = args[:tokens] if args.key?(:tokens)
2531
+ end
2532
+ end
2533
+
2361
2534
  # A third party checking a revision response.
2362
2535
  class CheckRevisionResponse
2363
2536
  include Google::Apis::Core::Hashable
@@ -2721,6 +2894,61 @@ module Google
2721
2894
  @total_spend_next_28_days = args[:total_spend_next_28_days] if args.key?(:total_spend_next_28_days)
2722
2895
  end
2723
2896
  end
2897
+
2898
+ # Request to remove a Recall token linking PGS principal and an in-game account
2899
+ class UnlinkPersonaRequest
2900
+ include Google::Apis::Core::Hashable
2901
+
2902
+ # Value of the 'persona' field as it was provided by the client in LinkPersona
2903
+ # RPC
2904
+ # Corresponds to the JSON property `persona`
2905
+ # @return [String]
2906
+ attr_accessor :persona
2907
+
2908
+ # Required. Opaque server-generated string that encodes all the necessary
2909
+ # information to identify the PGS player / Google user and application.
2910
+ # Corresponds to the JSON property `sessionId`
2911
+ # @return [String]
2912
+ attr_accessor :session_id
2913
+
2914
+ # Value of the Recall token as it was provided by the client in LinkPersona RPC
2915
+ # Corresponds to the JSON property `token`
2916
+ # @return [String]
2917
+ attr_accessor :token
2918
+
2919
+ def initialize(**args)
2920
+ update!(**args)
2921
+ end
2922
+
2923
+ # Update properties of this object
2924
+ def update!(**args)
2925
+ @persona = args[:persona] if args.key?(:persona)
2926
+ @session_id = args[:session_id] if args.key?(:session_id)
2927
+ @token = args[:token] if args.key?(:token)
2928
+ end
2929
+ end
2930
+
2931
+ # Response for the UnlinkPersona RPC
2932
+ class UnlinkPersonaResponse
2933
+ include Google::Apis::Core::Hashable
2934
+
2935
+ # Required. Whether a Recall token specified by the request was deleted. Can be '
2936
+ # false' when there were no Recall tokens satisfied the criteria from the
2937
+ # request.
2938
+ # Corresponds to the JSON property `unlinked`
2939
+ # @return [Boolean]
2940
+ attr_accessor :unlinked
2941
+ alias_method :unlinked?, :unlinked
2942
+
2943
+ def initialize(**args)
2944
+ update!(**args)
2945
+ end
2946
+
2947
+ # Update properties of this object
2948
+ def update!(**args)
2949
+ @unlinked = args[:unlinked] if args.key?(:unlinked)
2950
+ end
2951
+ end
2724
2952
  end
2725
2953
  end
2726
2954
  end
@@ -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.20.0"
19
+ GEM_VERSION = "0.21.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 = "20230822"
25
+ REVISION = "20230823"
26
26
  end
27
27
  end
28
28
  end
@@ -262,6 +262,18 @@ module Google
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
+ class LinkPersonaRequest
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class LinkPersonaResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class MetagameConfig
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -364,6 +376,30 @@ module Google
364
376
  include Google::Apis::Core::JsonObjectSupport
365
377
  end
366
378
 
379
+ class RecallToken
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class ResetPersonaRequest
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class ResetPersonaResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class RetrievePlayerTokensResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
367
403
  class CheckRevisionResponse
368
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
405
 
@@ -406,6 +442,18 @@ module Google
406
442
  include Google::Apis::Core::JsonObjectSupport
407
443
  end
408
444
 
445
+ class UnlinkPersonaRequest
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class UnlinkPersonaResponse
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
409
457
  class AchievementDefinition
410
458
  # @private
411
459
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -840,6 +888,26 @@ module Google
840
888
  end
841
889
  end
842
890
 
891
+ class LinkPersonaRequest
892
+ # @private
893
+ class Representation < Google::Apis::Core::JsonRepresentation
894
+ property :cardinality_constraint, as: 'cardinalityConstraint'
895
+ property :conflicting_links_resolution_policy, as: 'conflictingLinksResolutionPolicy'
896
+ property :expire_time, as: 'expireTime'
897
+ property :persona, as: 'persona'
898
+ property :session_id, as: 'sessionId'
899
+ property :token, as: 'token'
900
+ property :ttl, as: 'ttl'
901
+ end
902
+ end
903
+
904
+ class LinkPersonaResponse
905
+ # @private
906
+ class Representation < Google::Apis::Core::JsonRepresentation
907
+ property :state, as: 'state'
908
+ end
909
+ end
910
+
843
911
  class MetagameConfig
844
912
  # @private
845
913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1039,6 +1107,37 @@ module Google
1039
1107
  end
1040
1108
  end
1041
1109
 
1110
+ class RecallToken
1111
+ # @private
1112
+ class Representation < Google::Apis::Core::JsonRepresentation
1113
+ property :expire_time, as: 'expireTime'
1114
+ property :multi_player_persona, as: 'multiPlayerPersona'
1115
+ property :token, as: 'token'
1116
+ end
1117
+ end
1118
+
1119
+ class ResetPersonaRequest
1120
+ # @private
1121
+ class Representation < Google::Apis::Core::JsonRepresentation
1122
+ property :persona, as: 'persona'
1123
+ end
1124
+ end
1125
+
1126
+ class ResetPersonaResponse
1127
+ # @private
1128
+ class Representation < Google::Apis::Core::JsonRepresentation
1129
+ property :unlinked, as: 'unlinked'
1130
+ end
1131
+ end
1132
+
1133
+ class RetrievePlayerTokensResponse
1134
+ # @private
1135
+ class Representation < Google::Apis::Core::JsonRepresentation
1136
+ collection :tokens, as: 'tokens', class: Google::Apis::GamesV1::RecallToken, decorator: Google::Apis::GamesV1::RecallToken::Representation
1137
+
1138
+ end
1139
+ end
1140
+
1042
1141
  class CheckRevisionResponse
1043
1142
  # @private
1044
1143
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1122,6 +1221,22 @@ module Google
1122
1221
  property :total_spend_next_28_days, as: 'total_spend_next_28_days'
1123
1222
  end
1124
1223
  end
1224
+
1225
+ class UnlinkPersonaRequest
1226
+ # @private
1227
+ class Representation < Google::Apis::Core::JsonRepresentation
1228
+ property :persona, as: 'persona'
1229
+ property :session_id, as: 'sessionId'
1230
+ property :token, as: 'token'
1231
+ end
1232
+ end
1233
+
1234
+ class UnlinkPersonaResponse
1235
+ # @private
1236
+ class Representation < Google::Apis::Core::JsonRepresentation
1237
+ property :unlinked, as: 'unlinked'
1238
+ end
1239
+ end
1125
1240
  end
1126
1241
  end
1127
1242
  end
@@ -825,6 +825,133 @@ module Google
825
825
  execute_or_queue_command(command, &block)
826
826
  end
827
827
 
828
+ # Associate the PGS Player principal encoded in the provided recall session id
829
+ # with an in-game account
830
+ # @param [Google::Apis::GamesV1::LinkPersonaRequest] link_persona_request_object
831
+ # @param [String] fields
832
+ # Selector specifying which fields to include in a partial response.
833
+ # @param [String] quota_user
834
+ # Available to use for quota purposes for server-side applications. Can be any
835
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
836
+ # @param [Google::Apis::RequestOptions] options
837
+ # Request-specific options
838
+ #
839
+ # @yield [result, err] Result & error if block supplied
840
+ # @yieldparam result [Google::Apis::GamesV1::LinkPersonaResponse] parsed result object
841
+ # @yieldparam err [StandardError] error object if request failed
842
+ #
843
+ # @return [Google::Apis::GamesV1::LinkPersonaResponse]
844
+ #
845
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
846
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
847
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
848
+ def link_recall_persona(link_persona_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
849
+ command = make_simple_command(:post, 'games/v1/recall:linkPersona', options)
850
+ command.request_representation = Google::Apis::GamesV1::LinkPersonaRequest::Representation
851
+ command.request_object = link_persona_request_object
852
+ command.response_representation = Google::Apis::GamesV1::LinkPersonaResponse::Representation
853
+ command.response_class = Google::Apis::GamesV1::LinkPersonaResponse
854
+ command.query['fields'] = fields unless fields.nil?
855
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
856
+ execute_or_queue_command(command, &block)
857
+ end
858
+
859
+ # Delete all Recall tokens linking the given persona to any player (with or
860
+ # without a profile).
861
+ # @param [Google::Apis::GamesV1::ResetPersonaRequest] reset_persona_request_object
862
+ # @param [String] fields
863
+ # Selector specifying which fields to include in a partial response.
864
+ # @param [String] quota_user
865
+ # Available to use for quota purposes for server-side applications. Can be any
866
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
867
+ # @param [Google::Apis::RequestOptions] options
868
+ # Request-specific options
869
+ #
870
+ # @yield [result, err] Result & error if block supplied
871
+ # @yieldparam result [Google::Apis::GamesV1::ResetPersonaResponse] parsed result object
872
+ # @yieldparam err [StandardError] error object if request failed
873
+ #
874
+ # @return [Google::Apis::GamesV1::ResetPersonaResponse]
875
+ #
876
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
877
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
878
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
879
+ def reset_recall_persona(reset_persona_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
880
+ command = make_simple_command(:post, 'games/v1/recall:resetPersona', options)
881
+ command.request_representation = Google::Apis::GamesV1::ResetPersonaRequest::Representation
882
+ command.request_object = reset_persona_request_object
883
+ command.response_representation = Google::Apis::GamesV1::ResetPersonaResponse::Representation
884
+ command.response_class = Google::Apis::GamesV1::ResetPersonaResponse
885
+ command.query['fields'] = fields unless fields.nil?
886
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
887
+ execute_or_queue_command(command, &block)
888
+ end
889
+
890
+ # Retrieve all Recall tokens associated with the PGS Player principal encoded in
891
+ # the provided recall session id. The API is only available for users that have
892
+ # active PGS Player profile.
893
+ # @param [String] session_id
894
+ # Required. Opaque server-generated string that encodes all the necessary
895
+ # information to identify the PGS player / Google user and application.
896
+ # @param [String] fields
897
+ # Selector specifying which fields to include in a partial response.
898
+ # @param [String] quota_user
899
+ # Available to use for quota purposes for server-side applications. Can be any
900
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
901
+ # @param [Google::Apis::RequestOptions] options
902
+ # Request-specific options
903
+ #
904
+ # @yield [result, err] Result & error if block supplied
905
+ # @yieldparam result [Google::Apis::GamesV1::RetrievePlayerTokensResponse] parsed result object
906
+ # @yieldparam err [StandardError] error object if request failed
907
+ #
908
+ # @return [Google::Apis::GamesV1::RetrievePlayerTokensResponse]
909
+ #
910
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
911
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
912
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
913
+ def retrieve_recall_tokens(session_id, fields: nil, quota_user: nil, options: nil, &block)
914
+ command = make_simple_command(:get, 'games/v1/recall/tokens/{sessionId}', options)
915
+ command.response_representation = Google::Apis::GamesV1::RetrievePlayerTokensResponse::Representation
916
+ command.response_class = Google::Apis::GamesV1::RetrievePlayerTokensResponse
917
+ command.params['sessionId'] = session_id unless session_id.nil?
918
+ command.query['fields'] = fields unless fields.nil?
919
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
920
+ execute_or_queue_command(command, &block)
921
+ end
922
+
923
+ # Delete a Recall token linking the PGS Player principal identified by the
924
+ # Recall session and an in-game account identified either by the 'persona' or by
925
+ # the token value.
926
+ # @param [Google::Apis::GamesV1::UnlinkPersonaRequest] unlink_persona_request_object
927
+ # @param [String] fields
928
+ # Selector specifying which fields to include in a partial response.
929
+ # @param [String] quota_user
930
+ # Available to use for quota purposes for server-side applications. Can be any
931
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
932
+ # @param [Google::Apis::RequestOptions] options
933
+ # Request-specific options
934
+ #
935
+ # @yield [result, err] Result & error if block supplied
936
+ # @yieldparam result [Google::Apis::GamesV1::UnlinkPersonaResponse] parsed result object
937
+ # @yieldparam err [StandardError] error object if request failed
938
+ #
939
+ # @return [Google::Apis::GamesV1::UnlinkPersonaResponse]
940
+ #
941
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
942
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
943
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
944
+ def unlink_recall_persona(unlink_persona_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
945
+ command = make_simple_command(:post, 'games/v1/recall:unlinkPersona', options)
946
+ command.request_representation = Google::Apis::GamesV1::UnlinkPersonaRequest::Representation
947
+ command.request_object = unlink_persona_request_object
948
+ command.response_representation = Google::Apis::GamesV1::UnlinkPersonaResponse::Representation
949
+ command.response_class = Google::Apis::GamesV1::UnlinkPersonaResponse
950
+ command.query['fields'] = fields unless fields.nil?
951
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
952
+ execute_or_queue_command(command, &block)
953
+ end
954
+
828
955
  # Checks whether the games client is out of date.
829
956
  # @param [String] client_revision
830
957
  # Required. The revision of the client SDK used by your application. Format: `[
@@ -30,6 +30,9 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
+ # View and manage your Google Play Developer account
34
+ AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
35
+
33
36
  # See, create, and delete its own configuration data in your Google Drive
34
37
  AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
35
38
 
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.20.0
4
+ version: 0.21.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-08-27 00:00:00.000000000 Z
11
+ date: 2023-09-03 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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.21.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: []