google-apis-games_v1 0.34.0 → 0.35.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/games_v1/gem_version.rb +2 -2
- data/lib/google/apis/games_v1/service.rb +34 -34
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f369ac00dd624b8055609400070d23fbe040e8c6327175e3cf5af5be3bf1b9c
|
|
4
|
+
data.tar.gz: 689418468679c1d3fc9eb62982077872c9e398f638c4356f9f577be1066a0b47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c25b314554331a275c6de0c8cd403f9a412ea8b0a86864cbdc5c45b320091ec3a3cb3d05f9f31acbace95d314de7cf0f37e891cad18057ef79dce27cca7081e5
|
|
7
|
+
data.tar.gz: 50b05e747059d8dd8a924c0a9688da12f846bc92b5b3ce1d7eb4c4a7a62ba2be7ff3e9841f6fef111ed50799d95047ea4bd95c72d6a82bb90c8dba93245d7819
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.35.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260813"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -621,6 +621,40 @@ module Google
|
|
|
621
621
|
execute_or_queue_command(command, &block)
|
|
622
622
|
end
|
|
623
623
|
|
|
624
|
+
# Records a batch of player game events for a specific player. This method
|
|
625
|
+
# allows sending multiple events in a single request.
|
|
626
|
+
# @param [String] player_id
|
|
627
|
+
# Required. The player ID of the player that performed the events.
|
|
628
|
+
# @param [Google::Apis::GamesV1::BatchRecordEventsRequest] batch_record_events_request_object
|
|
629
|
+
# @param [String] fields
|
|
630
|
+
# Selector specifying which fields to include in a partial response.
|
|
631
|
+
# @param [String] quota_user
|
|
632
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
633
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
634
|
+
# @param [Google::Apis::RequestOptions] options
|
|
635
|
+
# Request-specific options
|
|
636
|
+
#
|
|
637
|
+
# @yield [result, err] Result & error if block supplied
|
|
638
|
+
# @yieldparam result [Google::Apis::GamesV1::BatchRecordEventsResponse] parsed result object
|
|
639
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
640
|
+
#
|
|
641
|
+
# @return [Google::Apis::GamesV1::BatchRecordEventsResponse]
|
|
642
|
+
#
|
|
643
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
644
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
645
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
646
|
+
def batch_game_stat_record_events(player_id, batch_record_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
647
|
+
command = make_simple_command(:post, 'games/v1/players/{playerId}/gameStats:batchRecordEvents', options)
|
|
648
|
+
command.request_representation = Google::Apis::GamesV1::BatchRecordEventsRequest::Representation
|
|
649
|
+
command.request_object = batch_record_events_request_object
|
|
650
|
+
command.response_representation = Google::Apis::GamesV1::BatchRecordEventsResponse::Representation
|
|
651
|
+
command.response_class = Google::Apis::GamesV1::BatchRecordEventsResponse
|
|
652
|
+
command.params['playerId'] = player_id unless player_id.nil?
|
|
653
|
+
command.query['fields'] = fields unless fields.nil?
|
|
654
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
655
|
+
execute_or_queue_command(command, &block)
|
|
656
|
+
end
|
|
657
|
+
|
|
624
658
|
# Retrieves the metadata of the leaderboard with the given ID.
|
|
625
659
|
# @param [String] leaderboard_id
|
|
626
660
|
# The ID of the leaderboard.
|
|
@@ -765,40 +799,6 @@ module Google
|
|
|
765
799
|
execute_or_queue_command(command, &block)
|
|
766
800
|
end
|
|
767
801
|
|
|
768
|
-
# Records a batch of player game events for a specific player. This method
|
|
769
|
-
# allows sending multiple events in a single request.
|
|
770
|
-
# @param [String] player_id
|
|
771
|
-
# Required. The player ID of the player that performed the events.
|
|
772
|
-
# @param [Google::Apis::GamesV1::BatchRecordEventsRequest] batch_record_events_request_object
|
|
773
|
-
# @param [String] fields
|
|
774
|
-
# Selector specifying which fields to include in a partial response.
|
|
775
|
-
# @param [String] quota_user
|
|
776
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
777
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
778
|
-
# @param [Google::Apis::RequestOptions] options
|
|
779
|
-
# Request-specific options
|
|
780
|
-
#
|
|
781
|
-
# @yield [result, err] Result & error if block supplied
|
|
782
|
-
# @yieldparam result [Google::Apis::GamesV1::BatchRecordEventsResponse] parsed result object
|
|
783
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
784
|
-
#
|
|
785
|
-
# @return [Google::Apis::GamesV1::BatchRecordEventsResponse]
|
|
786
|
-
#
|
|
787
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
788
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
789
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
790
|
-
def batch_player_game_event_record_events(player_id, batch_record_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
791
|
-
command = make_simple_command(:post, 'games/v1/players/{playerId}/gameEvents:batchRecordEvents', options)
|
|
792
|
-
command.request_representation = Google::Apis::GamesV1::BatchRecordEventsRequest::Representation
|
|
793
|
-
command.request_object = batch_record_events_request_object
|
|
794
|
-
command.response_representation = Google::Apis::GamesV1::BatchRecordEventsResponse::Representation
|
|
795
|
-
command.response_class = Google::Apis::GamesV1::BatchRecordEventsResponse
|
|
796
|
-
command.params['playerId'] = player_id unless player_id.nil?
|
|
797
|
-
command.query['fields'] = fields unless fields.nil?
|
|
798
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
799
|
-
execute_or_queue_command(command, &block)
|
|
800
|
-
end
|
|
801
|
-
|
|
802
802
|
# Retrieves the Player resource with the given ID. To retrieve the player for
|
|
803
803
|
# the currently authenticated user, set `playerId` to `me`.
|
|
804
804
|
# @param [String] player_id
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-games_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.35.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-games_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.35.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-games_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|