google-apis-games_v1 0.9.0 → 0.12.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: 8085c4ba3d57db99d0ea8e23d24206f686279c907b80eb349de65146e5eae861
4
- data.tar.gz: c4e5c540c19483233f36e80ca0968ce04fb7aae43fbea83404fc5121507ab42a
3
+ metadata.gz: 5a04f6b1ad76a022d8575ce138bae0d33c838072ef82792f732a61caa4edcc3d
4
+ data.tar.gz: 74fc9242c6a5ff1e5f0b221576d1abb73ce4e051b7491075234aa008ff2eb033
5
5
  SHA512:
6
- metadata.gz: 19473935b917f7e3cc40fe91a680e44b23e7d702388b8e5366d8610371d2d793b8cd46f7f732044e1661fbdab6fcf7c40ad6a0dcad43310736d25eb3cb9929db
7
- data.tar.gz: 415121f5fb65581e2e6ee953e800dfe7db7e3892a69712a110537c02d25e55e82e027155f2e8952c98bddde7db41b5b945232797c54201a858c75c4b39a9803f
6
+ metadata.gz: de8cca678e01e6dcb0a425bd6e6b358d090d077fc8cddb156472660d82cd259103acea6296c49e64ec3c6210aa211d6e7756a95bd087795a05a6b310241d105c
7
+ data.tar.gz: 9321119a053082c7be1ca90478e782ed605a7a3e506d43ee8394b12bb7fefabec7d03d962645b6758415df20dd5ec1983a3f42c72a3a599a6812d627ea81f8a9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-games_v1
2
2
 
3
+ ### v0.12.0 (2022-04-06)
4
+
5
+ * Regenerated from discovery document revision 20220330
6
+
7
+ ### v0.11.0 (2022-03-24)
8
+
9
+ * Regenerated from discovery document revision 20220317
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.10.0 (2021-12-14)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.9.0 (2021-10-20)
4
17
 
5
18
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/games_v1"
51
51
  client = Google::Apis::GamesV1::GamesService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -1646,6 +1646,11 @@ module Google
1646
1646
  # @return [String]
1647
1647
  attr_accessor :friend_status
1648
1648
 
1649
+ # Per-application unique player identifier.
1650
+ # Corresponds to the JSON property `gamePlayerId`
1651
+ # @return [String]
1652
+ attr_accessor :game_player_id
1653
+
1649
1654
  # Uniquely identifies the type of this resource. Value is always the fixed
1650
1655
  # string `games#player`
1651
1656
  # Corresponds to the JSON property `kind`
@@ -1692,6 +1697,7 @@ module Google
1692
1697
  @display_name = args[:display_name] if args.key?(:display_name)
1693
1698
  @experience_info = args[:experience_info] if args.key?(:experience_info)
1694
1699
  @friend_status = args[:friend_status] if args.key?(:friend_status)
1700
+ @game_player_id = args[:game_player_id] if args.key?(:game_player_id)
1695
1701
  @kind = args[:kind] if args.key?(:kind)
1696
1702
  @name = args[:name] if args.key?(:name)
1697
1703
  @original_player_id = args[:original_player_id] if args.key?(:original_player_id)
@@ -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.9.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210401"
25
+ REVISION = "20220330"
26
26
  end
27
27
  end
28
28
  end
@@ -826,6 +826,7 @@ module Google
826
826
  property :experience_info, as: 'experienceInfo', class: Google::Apis::GamesV1::PlayerExperienceInfo, decorator: Google::Apis::GamesV1::PlayerExperienceInfo::Representation
827
827
 
828
828
  property :friend_status, as: 'friendStatus'
829
+ property :game_player_id, as: 'gamePlayerId'
829
830
  property :kind, as: 'kind'
830
831
  property :name, as: 'name', class: Google::Apis::GamesV1::Player::Name, decorator: Google::Apis::GamesV1::Player::Name::Representation
831
832
 
@@ -690,6 +690,10 @@ module Google
690
690
  # s ID.
691
691
  # @param [String] language
692
692
  # The preferred language to use for strings returned by this method.
693
+ # @param [String] player_id_consistency_token
694
+ # Consistency token of the player id. The call returns a 'not found' result when
695
+ # the token is present and invalid. Empty value is ignored. See also
696
+ # GlobalPlayerIdConsistencyTokenProto
693
697
  # @param [String] fields
694
698
  # Selector specifying which fields to include in a partial response.
695
699
  # @param [String] quota_user
@@ -707,12 +711,13 @@ module Google
707
711
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
708
712
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
709
713
  # @raise [Google::Apis::AuthorizationError] Authorization is required
710
- def get_player(player_id, language: nil, fields: nil, quota_user: nil, options: nil, &block)
714
+ def get_player(player_id, language: nil, player_id_consistency_token: nil, fields: nil, quota_user: nil, options: nil, &block)
711
715
  command = make_simple_command(:get, 'games/v1/players/{playerId}', options)
712
716
  command.response_representation = Google::Apis::GamesV1::Player::Representation
713
717
  command.response_class = Google::Apis::GamesV1::Player
714
718
  command.params['playerId'] = player_id unless player_id.nil?
715
719
  command.query['language'] = language unless language.nil?
720
+ command.query['playerIdConsistencyToken'] = player_id_consistency_token unless player_id_consistency_token.nil?
716
721
  command.query['fields'] = fields unless fields.nil?
717
722
  command.query['quotaUser'] = quota_user unless quota_user.nil?
718
723
  execute_or_queue_command(command, &block)
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.9.0
4
+ version: 0.12.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-04-11 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.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.12.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.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Play Game Services V1