google-apis-games_v1 0.17.0 → 0.19.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: 914915dcc3d63322133010d60b057311570b59daba873e814cde5819211dff07
4
- data.tar.gz: e0a42f6067173603dee1b7cc905cde01954cf0ab4dfea09a1361ff215ad452dd
3
+ metadata.gz: '009f60844bd43b6bad918ee464e1127c5760f68b7587197cc7f176c9b7f3fa84'
4
+ data.tar.gz: 8e56980dc49dec24dab718ac95e7464ea23a4eafa92ab7ea492c5ffccfa0f0be
5
5
  SHA512:
6
- metadata.gz: 51e8fdab66f94b9231128e6dcc06602be5680379acf4c4ab44a0290eb50283a4b2998bcbb4096ed1afe6d3cb0eec97ab36e76322a5fb2c03da8eefe86758d420
7
- data.tar.gz: ed3a502a364265be5d10f25a186a408ea8956c696a0bce1db47c5772cd8543f4783dd6f6f5a5ac000bd48a3fe7e465f600ac38bad8b988650f25d0b1f7d4e1b2
6
+ metadata.gz: 328c73b1eac6adcb7430f0b71a2da6b48f42049bd69ddd3c67c96b71fda8982dd45ddfc9e7fb048e6a444f312caa9e33d6f726b109b458c4354fd260b1848f37
7
+ data.tar.gz: f787488e3c88d3449b7d32dd62ade8bfe9a17b9666ead9b3b8e167688e59d49f17032beb42b01959fa20992b3f100f1d0146adc24179639b4c0beb4bcb77b3c1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-games_v1
2
2
 
3
+ ### v0.19.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230310
6
+
7
+ ### v0.18.0 (2023-02-26)
8
+
9
+ * Regenerated using generator version 0.12.0
10
+
3
11
  ### v0.17.0 (2022-10-20)
4
12
 
5
13
  * Regenerated using generator version 0.11.0
@@ -547,6 +547,31 @@ module Google
547
547
  end
548
548
  end
549
549
 
550
+ # Primary scoped player identifier for an application.
551
+ class ApplicationPlayerId
552
+ include Google::Apis::Core::Hashable
553
+
554
+ # The application that this player identifier is for.
555
+ # Corresponds to the JSON property `applicationId`
556
+ # @return [String]
557
+ attr_accessor :application_id
558
+
559
+ # The player identifier for the application.
560
+ # Corresponds to the JSON property `playerId`
561
+ # @return [String]
562
+ attr_accessor :player_id
563
+
564
+ def initialize(**args)
565
+ update!(**args)
566
+ end
567
+
568
+ # Update properties of this object
569
+ def update!(**args)
570
+ @application_id = args[:application_id] if args.key?(:application_id)
571
+ @player_id = args[:player_id] if args.key?(:player_id)
572
+ end
573
+ end
574
+
550
575
  # A third party application verification response resource.
551
576
  class ApplicationVerifyResponse
552
577
  include Google::Apis::Core::Hashable
@@ -1081,6 +1106,27 @@ module Google
1081
1106
  end
1082
1107
  end
1083
1108
 
1109
+ # Response message for GetMultipleApplicationPlayerIds rpc.
1110
+ class GetMultipleApplicationPlayerIdsResponse
1111
+ include Google::Apis::Core::Hashable
1112
+
1113
+ # Output only. The requested applications along with the scoped ids for tha
1114
+ # player, if that player has an id for the application. If not, the application
1115
+ # is not included in the response.
1116
+ # Corresponds to the JSON property `playerIds`
1117
+ # @return [Array<Google::Apis::GamesV1::ApplicationPlayerId>]
1118
+ attr_accessor :player_ids
1119
+
1120
+ def initialize(**args)
1121
+ update!(**args)
1122
+ end
1123
+
1124
+ # Update properties of this object
1125
+ def update!(**args)
1126
+ @player_ids = args[:player_ids] if args.key?(:player_ids)
1127
+ end
1128
+ end
1129
+
1084
1130
  # An image asset object.
1085
1131
  class ImageAsset
1086
1132
  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.17.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220525"
25
+ REVISION = "20230310"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class ApplicationPlayerId
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class ApplicationVerifyResponse
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -190,6 +196,12 @@ module Google
190
196
  include Google::Apis::Core::JsonObjectSupport
191
197
  end
192
198
 
199
+ class GetMultipleApplicationPlayerIdsResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
193
205
  class ImageAsset
194
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
207
 
@@ -531,6 +543,14 @@ module Google
531
543
  end
532
544
  end
533
545
 
546
+ class ApplicationPlayerId
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ property :application_id, as: 'applicationId'
550
+ property :player_id, as: 'playerId'
551
+ end
552
+ end
553
+
534
554
  class ApplicationVerifyResponse
535
555
  # @private
536
556
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -688,6 +708,14 @@ module Google
688
708
  end
689
709
  end
690
710
 
711
+ class GetMultipleApplicationPlayerIdsResponse
712
+ # @private
713
+ class Representation < Google::Apis::Core::JsonRepresentation
714
+ collection :player_ids, as: 'playerIds', class: Google::Apis::GamesV1::ApplicationPlayerId, decorator: Google::Apis::GamesV1::ApplicationPlayerId::Representation
715
+
716
+ end
717
+ end
718
+
691
719
  class ImageAsset
692
720
  # @private
693
721
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -723,6 +723,40 @@ module Google
723
723
  execute_or_queue_command(command, &block)
724
724
  end
725
725
 
726
+ # Get the application player ids for the currently authenticated player across
727
+ # all requested games by the same developer as the calling application. This
728
+ # will only return ids for players that actually have an id (scoped or otherwise)
729
+ # with that game.
730
+ # @param [Array<String>, String] application_ids
731
+ # Required. The application IDs from the Google Play developer console for the
732
+ # games to return scoped ids for.
733
+ # @param [String] fields
734
+ # Selector specifying which fields to include in a partial response.
735
+ # @param [String] quota_user
736
+ # Available to use for quota purposes for server-side applications. Can be any
737
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
738
+ # @param [Google::Apis::RequestOptions] options
739
+ # Request-specific options
740
+ #
741
+ # @yield [result, err] Result & error if block supplied
742
+ # @yieldparam result [Google::Apis::GamesV1::GetMultipleApplicationPlayerIdsResponse] parsed result object
743
+ # @yieldparam err [StandardError] error object if request failed
744
+ #
745
+ # @return [Google::Apis::GamesV1::GetMultipleApplicationPlayerIdsResponse]
746
+ #
747
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
748
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
749
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
750
+ def get_player_multiple_application_player_ids(application_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
751
+ command = make_simple_command(:get, 'games/v1/players/me/multipleApplicationPlayerIds', options)
752
+ command.response_representation = Google::Apis::GamesV1::GetMultipleApplicationPlayerIdsResponse::Representation
753
+ command.response_class = Google::Apis::GamesV1::GetMultipleApplicationPlayerIdsResponse
754
+ command.query['applicationIds'] = application_ids unless application_ids.nil?
755
+ command.query['fields'] = fields unless fields.nil?
756
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
757
+ execute_or_queue_command(command, &block)
758
+ end
759
+
726
760
  # Retrieves scoped player identifiers for currently authenticated user.
727
761
  # @param [String] fields
728
762
  # Selector specifying which fields to include in a partial response.
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.17.0
4
+ version: 0.19.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-10-21 00:00:00.000000000 Z
11
+ date: 2023-03-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.9.1
19
+ version: 0.11.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.9.1
29
+ version: 0.11.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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.19.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.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Play Game Services V1