google-api-client 0.9.pre3 → 0.9.pre4
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/.travis.yml +1 -0
- data/CHANGELOG.md +14 -2
- data/Gemfile +4 -0
- data/MIGRATING.md +1 -1
- data/README.md +17 -3
- data/api_names.yaml +127 -14
- data/api_names_out.yaml +5442 -710
- data/bin/generate-api +16 -14
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +25 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
- data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +5 -10
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
- data/generated/google/apis/adsense_v1_4/service.rb +40 -78
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -13
- data/generated/google/apis/analytics_v3/service.rb +84 -158
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
- data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -2
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +6 -11
- data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +231 -16
- data/generated/google/apis/bigquery_v2/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -45
- data/generated/google/apis/blogger_v3/service.rb +33 -66
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +441 -0
- data/generated/google/apis/books_v1/representations.rb +177 -0
- data/generated/google/apis/books_v1/service.rb +210 -90
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +34 -18
- data/generated/google/apis/calendar_v3/service.rb +118 -103
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +5 -10
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1305 -520
- data/generated/google/apis/compute_v1/representations.rb +122 -15
- data/generated/google/apis/compute_v1/service.rb +2202 -1085
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -31
- data/generated/google/apis/container_v1/representations.rb +12 -0
- data/generated/google/apis/container_v1/service.rb +62 -41
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +2252 -56
- data/generated/google/apis/content_v2/representations.rb +917 -87
- data/generated/google/apis/content_v2/service.rb +680 -85
- data/generated/google/apis/coordinate_v1.rb +1 -1
- data/generated/google/apis/coordinate_v1/service.rb +16 -25
- data/generated/google/apis/customsearch_v1/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
- data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
- data/generated/google/apis/discovery_v1/classes.rb +7 -0
- data/generated/google/apis/discovery_v1/representations.rb +1 -0
- data/generated/google/apis/discovery_v1/service.rb +2 -4
- data/generated/google/apis/dns_v1.rb +4 -1
- data/generated/google/apis/dns_v1/service.rb +9 -18
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +73 -30
- data/generated/google/apis/drive_v2/representations.rb +14 -0
- data/generated/google/apis/drive_v2/service.rb +139 -135
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -27
- data/generated/google/apis/fusiontables_v2/service.rb +40 -73
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +39 -0
- data/generated/google/apis/games_v1/representations.rb +14 -0
- data/generated/google/apis/games_v1/service.rb +93 -109
- data/generated/google/apis/gan_v1beta1/service.rb +10 -20
- data/generated/google/apis/genomics_v1.rb +5 -3
- data/generated/google/apis/genomics_v1/classes.rb +519 -200
- data/generated/google/apis/genomics_v1/representations.rb +126 -13
- data/generated/google/apis/genomics_v1/service.rb +392 -236
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/service.rb +39 -71
- data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
- data/generated/google/apis/groupssettings_v1/service.rb +3 -6
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
- data/generated/google/apis/kgsearch_v1.rb +32 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +7 -14
- data/generated/google/apis/logging_v1beta3.rb +16 -4
- data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
- data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
- data/generated/google/apis/logging_v1beta3/service.rb +435 -104
- data/generated/google/apis/manager_v1beta2.rb +3 -0
- data/generated/google/apis/manager_v1beta2/service.rb +8 -16
- data/generated/google/apis/mapsengine_v1.rb +1 -1
- data/generated/google/apis/mapsengine_v1/service.rb +85 -162
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +28 -52
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +4 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
- data/generated/google/apis/plus_domains_v1/service.rb +21 -41
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/classes.rb +207 -0
- data/generated/google/apis/plus_v1/representations.rb +114 -0
- data/generated/google/apis/plus_v1/service.rb +11 -56
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -16
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
- data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
- data/generated/google/apis/qpx_express_v1/service.rb +1 -2
- data/generated/google/apis/replicapool_v1beta2.rb +3 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +19 -1
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/reseller_v1/service.rb +16 -30
- data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +8 -15
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
- data/generated/google/apis/storage_v1.rb +5 -2
- data/generated/google/apis/storage_v1/classes.rb +47 -4
- data/generated/google/apis/storage_v1/representations.rb +18 -0
- data/generated/google/apis/storage_v1/service.rb +77 -94
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
- data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
- data/generated/google/apis/tagmanager_v1/service.rb +114 -275
- data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
- data/generated/google/apis/tasks_v1/service.rb +14 -28
- data/generated/google/apis/translate_v2/service.rb +3 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -6
- data/generated/google/apis/webmasters_v3.rb +3 -3
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/service.rb +16 -30
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +111 -78
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -246
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/api_client/auth/installed_app.rb +2 -2
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +1 -0
- data/lib/google/api_client/auth/storages/file_store.rb +1 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis/core/api_command.rb +2 -2
- data/lib/google/apis/core/base_service.rb +1 -0
- data/lib/google/apis/core/batch.rb +25 -8
- data/lib/google/apis/core/download.rb +1 -1
- data/lib/google/apis/core/http_command.rb +24 -12
- data/lib/google/apis/core/multipart.rb +20 -6
- data/lib/google/apis/core/upload.rb +11 -4
- data/lib/google/apis/generator/annotator.rb +29 -10
- data/lib/google/apis/generator/helpers.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +5 -6
- data/lib/google/apis/options.rb +7 -3
- data/lib/google/apis/version.rb +1 -1
- data/samples/calendar/calendar.rb +1 -1
- data/samples/drive/drive.rb +9 -2
- data/samples/pubsub/pubsub.rb +5 -6
- data/samples/translate/translate.rb +1 -5
- data/script/generate +20 -5
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/batch_spec.rb +22 -8
- data/spec/google/apis/core/download_spec.rb +13 -0
- data/spec/google/apis/core/http_command_spec.rb +26 -9
- data/spec/google/apis/core/upload_spec.rb +65 -17
- data/spec/google/apis/options_spec.rb +8 -0
- data/spec/integration_tests/adsense_spec.rb +28 -0
- data/spec/integration_tests/pubsub_spec.rb +3 -3
- data/spec/spec_helper.rb +5 -1
- data/third_party/hurley_patches.rb +103 -0
- metadata +87 -7
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/games/services/
|
|
26
26
|
module GamesV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20151209'
|
|
29
29
|
|
|
30
30
|
# View and manage its own configuration data in your Google Drive
|
|
31
31
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
|
@@ -645,6 +645,33 @@ module Google
|
|
|
645
645
|
end
|
|
646
646
|
end
|
|
647
647
|
|
|
648
|
+
# This is a JSON template for a third party application verification response
|
|
649
|
+
# resource.
|
|
650
|
+
class ApplicationVerifyResponse
|
|
651
|
+
include Google::Apis::Core::Hashable
|
|
652
|
+
|
|
653
|
+
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
654
|
+
# string games#applicationVerifyResponse.
|
|
655
|
+
# Corresponds to the JSON property `kind`
|
|
656
|
+
# @return [String]
|
|
657
|
+
attr_accessor :kind
|
|
658
|
+
|
|
659
|
+
# The ID of the player that was issued the auth token used in this request.
|
|
660
|
+
# Corresponds to the JSON property `player_id`
|
|
661
|
+
# @return [String]
|
|
662
|
+
attr_accessor :player_id
|
|
663
|
+
|
|
664
|
+
def initialize(**args)
|
|
665
|
+
update!(**args)
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
# Update properties of this object
|
|
669
|
+
def update!(**args)
|
|
670
|
+
@kind = args[:kind] unless args[:kind].nil?
|
|
671
|
+
@player_id = args[:player_id] unless args[:player_id].nil?
|
|
672
|
+
end
|
|
673
|
+
end
|
|
674
|
+
|
|
648
675
|
# This is a JSON template for data related to individual game categories.
|
|
649
676
|
class Category
|
|
650
677
|
include Google::Apis::Core::Hashable
|
|
@@ -1953,6 +1980,16 @@ module Google
|
|
|
1953
1980
|
# @return [String]
|
|
1954
1981
|
attr_accessor :avatar_image_url
|
|
1955
1982
|
|
|
1983
|
+
# The url to the landscape mode player banner image.
|
|
1984
|
+
# Corresponds to the JSON property `bannerUrlLandscape`
|
|
1985
|
+
# @return [String]
|
|
1986
|
+
attr_accessor :banner_url_landscape
|
|
1987
|
+
|
|
1988
|
+
# The url to the portrait mode player banner image.
|
|
1989
|
+
# Corresponds to the JSON property `bannerUrlPortrait`
|
|
1990
|
+
# @return [String]
|
|
1991
|
+
attr_accessor :banner_url_portrait
|
|
1992
|
+
|
|
1956
1993
|
# The name to display for the player.
|
|
1957
1994
|
# Corresponds to the JSON property `displayName`
|
|
1958
1995
|
# @return [String]
|
|
@@ -1998,6 +2035,8 @@ module Google
|
|
|
1998
2035
|
# Update properties of this object
|
|
1999
2036
|
def update!(**args)
|
|
2000
2037
|
@avatar_image_url = args[:avatar_image_url] unless args[:avatar_image_url].nil?
|
|
2038
|
+
@banner_url_landscape = args[:banner_url_landscape] unless args[:banner_url_landscape].nil?
|
|
2039
|
+
@banner_url_portrait = args[:banner_url_portrait] unless args[:banner_url_portrait].nil?
|
|
2001
2040
|
@display_name = args[:display_name] unless args[:display_name].nil?
|
|
2002
2041
|
@experience_info = args[:experience_info] unless args[:experience_info].nil?
|
|
2003
2042
|
@kind = args[:kind] unless args[:kind].nil?
|
|
@@ -78,6 +78,10 @@ module Google
|
|
|
78
78
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
+
class ApplicationVerifyResponse
|
|
82
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
83
|
+
end
|
|
84
|
+
|
|
81
85
|
class Category
|
|
82
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
83
87
|
end
|
|
@@ -571,6 +575,14 @@ module Google
|
|
|
571
575
|
end
|
|
572
576
|
end
|
|
573
577
|
|
|
578
|
+
class ApplicationVerifyResponse
|
|
579
|
+
# @private
|
|
580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
581
|
+
property :kind, as: 'kind'
|
|
582
|
+
property :player_id, as: 'player_id'
|
|
583
|
+
end
|
|
584
|
+
end
|
|
585
|
+
|
|
574
586
|
class Category
|
|
575
587
|
# @private
|
|
576
588
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -912,6 +924,8 @@ module Google
|
|
|
912
924
|
# @private
|
|
913
925
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
914
926
|
property :avatar_image_url, as: 'avatarImageUrl'
|
|
927
|
+
property :banner_url_landscape, as: 'bannerUrlLandscape'
|
|
928
|
+
property :banner_url_portrait, as: 'bannerUrlPortrait'
|
|
915
929
|
property :display_name, as: 'displayName'
|
|
916
930
|
property :experience_info, as: 'experienceInfo', class: Google::Apis::GamesV1::PlayerExperienceInfo, decorator: Google::Apis::GamesV1::PlayerExperienceInfo::Representation
|
|
917
931
|
|
|
@@ -83,8 +83,7 @@ module Google
|
|
|
83
83
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
84
84
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
85
85
|
def list_achievement_definitions(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
86
|
-
|
|
87
|
-
command = make_simple_command(:get, path, options)
|
|
86
|
+
command = make_simple_command(:get, 'achievements', options)
|
|
88
87
|
command.response_representation = Google::Apis::GamesV1::ListAchievementDefinitionsResponse::Representation
|
|
89
88
|
command.response_class = Google::Apis::GamesV1::ListAchievementDefinitionsResponse
|
|
90
89
|
command.query['language'] = language unless language.nil?
|
|
@@ -128,8 +127,7 @@ module Google
|
|
|
128
127
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
129
128
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
130
129
|
def increment_achievement(achievement_id, steps_to_increment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
131
|
-
|
|
132
|
-
command = make_simple_command(:post, path, options)
|
|
130
|
+
command = make_simple_command(:post, 'achievements/{achievementId}/increment', options)
|
|
133
131
|
command.response_representation = Google::Apis::GamesV1::AchievementIncrementResponse::Representation
|
|
134
132
|
command.response_class = Google::Apis::GamesV1::AchievementIncrementResponse
|
|
135
133
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
|
@@ -179,8 +177,7 @@ module Google
|
|
|
179
177
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
180
178
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
181
179
|
def list_achievements(player_id, language: nil, max_results: nil, page_token: nil, state: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
182
|
-
|
|
183
|
-
command = make_simple_command(:get, path, options)
|
|
180
|
+
command = make_simple_command(:get, 'players/{playerId}/achievements', options)
|
|
184
181
|
command.response_representation = Google::Apis::GamesV1::ListPlayerAchievementResponse::Representation
|
|
185
182
|
command.response_class = Google::Apis::GamesV1::ListPlayerAchievementResponse
|
|
186
183
|
command.params['playerId'] = player_id unless player_id.nil?
|
|
@@ -220,8 +217,7 @@ module Google
|
|
|
220
217
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
221
218
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
222
219
|
def reveal_achievement(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
223
|
-
|
|
224
|
-
command = make_simple_command(:post, path, options)
|
|
220
|
+
command = make_simple_command(:post, 'achievements/{achievementId}/reveal', options)
|
|
225
221
|
command.response_representation = Google::Apis::GamesV1::AchievementRevealResponse::Representation
|
|
226
222
|
command.response_class = Google::Apis::GamesV1::AchievementRevealResponse
|
|
227
223
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
|
@@ -260,9 +256,8 @@ module Google
|
|
|
260
256
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
261
257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
262
258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
263
|
-
def
|
|
264
|
-
|
|
265
|
-
command = make_simple_command(:post, path, options)
|
|
259
|
+
def set_achievement_steps_at_least(achievement_id, steps, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
260
|
+
command = make_simple_command(:post, 'achievements/{achievementId}/setStepsAtLeast', options)
|
|
266
261
|
command.response_representation = Google::Apis::GamesV1::AchievementSetStepsAtLeastResponse::Representation
|
|
267
262
|
command.response_class = Google::Apis::GamesV1::AchievementSetStepsAtLeastResponse
|
|
268
263
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
|
@@ -298,8 +293,7 @@ module Google
|
|
|
298
293
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
299
294
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
300
295
|
def unlock_achievement(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
301
|
-
|
|
302
|
-
command = make_simple_command(:post, path, options)
|
|
296
|
+
command = make_simple_command(:post, 'achievements/{achievementId}/unlock', options)
|
|
303
297
|
command.response_representation = Google::Apis::GamesV1::AchievementUnlockResponse::Representation
|
|
304
298
|
command.response_class = Google::Apis::GamesV1::AchievementUnlockResponse
|
|
305
299
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
|
@@ -333,8 +327,7 @@ module Google
|
|
|
333
327
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
334
328
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
335
329
|
def update_multiple_achievements(achievement_update_multiple_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
336
|
-
|
|
337
|
-
command = make_simple_command(:post, path, options)
|
|
330
|
+
command = make_simple_command(:post, 'achievements/updateMultiple', options)
|
|
338
331
|
command.request_representation = Google::Apis::GamesV1::AchievementUpdateMultipleRequest::Representation
|
|
339
332
|
command.request_object = achievement_update_multiple_request_object
|
|
340
333
|
command.response_representation = Google::Apis::GamesV1::AchievementUpdateMultipleResponse::Representation
|
|
@@ -376,8 +369,7 @@ module Google
|
|
|
376
369
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
377
370
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
378
371
|
def get_application(application_id, language: nil, platform_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
379
|
-
|
|
380
|
-
command = make_simple_command(:get, path, options)
|
|
372
|
+
command = make_simple_command(:get, 'applications/{applicationId}', options)
|
|
381
373
|
command.response_representation = Google::Apis::GamesV1::Application::Representation
|
|
382
374
|
command.response_class = Google::Apis::GamesV1::Application
|
|
383
375
|
command.params['applicationId'] = application_id unless application_id.nil?
|
|
@@ -412,8 +404,43 @@ module Google
|
|
|
412
404
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
413
405
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
414
406
|
def played_application(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
415
|
-
|
|
416
|
-
command =
|
|
407
|
+
command = make_simple_command(:post, 'applications/played', options)
|
|
408
|
+
command.query['fields'] = fields unless fields.nil?
|
|
409
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
410
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
411
|
+
execute_or_queue_command(command, &block)
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
# Verifies the auth token provided with this request is for the application with
|
|
415
|
+
# the specified ID, and returns the ID of the player it was granted for.
|
|
416
|
+
# @param [String] application_id
|
|
417
|
+
# The application ID from the Google Play developer console.
|
|
418
|
+
# @param [String] fields
|
|
419
|
+
# Selector specifying which fields to include in a partial response.
|
|
420
|
+
# @param [String] quota_user
|
|
421
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
422
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
423
|
+
# Overrides userIp if both are provided.
|
|
424
|
+
# @param [String] user_ip
|
|
425
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
426
|
+
# enforce per-user limits.
|
|
427
|
+
# @param [Google::Apis::RequestOptions] options
|
|
428
|
+
# Request-specific options
|
|
429
|
+
#
|
|
430
|
+
# @yield [result, err] Result & error if block supplied
|
|
431
|
+
# @yieldparam result [Google::Apis::GamesV1::ApplicationVerifyResponse] parsed result object
|
|
432
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
433
|
+
#
|
|
434
|
+
# @return [Google::Apis::GamesV1::ApplicationVerifyResponse]
|
|
435
|
+
#
|
|
436
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
437
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
438
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
439
|
+
def verify_application(application_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
440
|
+
command = make_simple_command(:get, 'applications/{applicationId}/verify', options)
|
|
441
|
+
command.response_representation = Google::Apis::GamesV1::ApplicationVerifyResponse::Representation
|
|
442
|
+
command.response_class = Google::Apis::GamesV1::ApplicationVerifyResponse
|
|
443
|
+
command.params['applicationId'] = application_id unless application_id.nil?
|
|
417
444
|
command.query['fields'] = fields unless fields.nil?
|
|
418
445
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
419
446
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -451,9 +478,8 @@ module Google
|
|
|
451
478
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
452
479
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
453
480
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
454
|
-
def
|
|
455
|
-
|
|
456
|
-
command = make_simple_command(:get, path, options)
|
|
481
|
+
def list_event_by_player(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
482
|
+
command = make_simple_command(:get, 'events', options)
|
|
457
483
|
command.response_representation = Google::Apis::GamesV1::ListPlayerEventResponse::Representation
|
|
458
484
|
command.response_class = Google::Apis::GamesV1::ListPlayerEventResponse
|
|
459
485
|
command.query['language'] = language unless language.nil?
|
|
@@ -496,8 +522,7 @@ module Google
|
|
|
496
522
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
497
523
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
498
524
|
def list_event_definitions(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
499
|
-
|
|
500
|
-
command = make_simple_command(:get, path, options)
|
|
525
|
+
command = make_simple_command(:get, 'eventDefinitions', options)
|
|
501
526
|
command.response_representation = Google::Apis::GamesV1::ListEventDefinitionResponse::Representation
|
|
502
527
|
command.response_class = Google::Apis::GamesV1::ListEventDefinitionResponse
|
|
503
528
|
command.query['language'] = language unless language.nil?
|
|
@@ -536,8 +561,7 @@ module Google
|
|
|
536
561
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
537
562
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
538
563
|
def record_event(event_record_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
539
|
-
|
|
540
|
-
command = make_simple_command(:post, path, options)
|
|
564
|
+
command = make_simple_command(:post, 'events', options)
|
|
541
565
|
command.request_representation = Google::Apis::GamesV1::EventRecordRequest::Representation
|
|
542
566
|
command.request_object = event_record_request_object
|
|
543
567
|
command.response_representation = Google::Apis::GamesV1::UpdateEventResponse::Representation
|
|
@@ -576,8 +600,7 @@ module Google
|
|
|
576
600
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
577
601
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
578
602
|
def get_leaderboard(leaderboard_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
579
|
-
|
|
580
|
-
command = make_simple_command(:get, path, options)
|
|
603
|
+
command = make_simple_command(:get, 'leaderboards/{leaderboardId}', options)
|
|
581
604
|
command.response_representation = Google::Apis::GamesV1::Leaderboard::Representation
|
|
582
605
|
command.response_class = Google::Apis::GamesV1::Leaderboard
|
|
583
606
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
|
@@ -619,8 +642,7 @@ module Google
|
|
|
619
642
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
620
643
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
621
644
|
def list_leaderboards(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
622
|
-
|
|
623
|
-
command = make_simple_command(:get, path, options)
|
|
645
|
+
command = make_simple_command(:get, 'leaderboards', options)
|
|
624
646
|
command.response_representation = Google::Apis::GamesV1::ListLeaderboardResponse::Representation
|
|
625
647
|
command.response_class = Google::Apis::GamesV1::ListLeaderboardResponse
|
|
626
648
|
command.query['language'] = language unless language.nil?
|
|
@@ -655,8 +677,7 @@ module Google
|
|
|
655
677
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
656
678
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
657
679
|
def get_metagame_config(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
658
|
-
|
|
659
|
-
command = make_simple_command(:get, path, options)
|
|
680
|
+
command = make_simple_command(:get, 'metagameConfig', options)
|
|
660
681
|
command.response_representation = Google::Apis::GamesV1::MetagameConfig::Representation
|
|
661
682
|
command.response_class = Google::Apis::GamesV1::MetagameConfig
|
|
662
683
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -701,9 +722,8 @@ module Google
|
|
|
701
722
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
702
723
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
703
724
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
704
|
-
def
|
|
705
|
-
|
|
706
|
-
command = make_simple_command(:get, path, options)
|
|
725
|
+
def list_metagame_categories_by_player(player_id, collection, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
726
|
+
command = make_simple_command(:get, 'players/{playerId}/categories/{collection}', options)
|
|
707
727
|
command.response_representation = Google::Apis::GamesV1::ListCategoryResponse::Representation
|
|
708
728
|
command.response_class = Google::Apis::GamesV1::ListCategoryResponse
|
|
709
729
|
command.params['playerId'] = player_id unless player_id.nil?
|
|
@@ -746,8 +766,7 @@ module Google
|
|
|
746
766
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
747
767
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
748
768
|
def get_player(player_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
749
|
-
|
|
750
|
-
command = make_simple_command(:get, path, options)
|
|
769
|
+
command = make_simple_command(:get, 'players/{playerId}', options)
|
|
751
770
|
command.response_representation = Google::Apis::GamesV1::Player::Representation
|
|
752
771
|
command.response_class = Google::Apis::GamesV1::Player
|
|
753
772
|
command.params['playerId'] = player_id unless player_id.nil?
|
|
@@ -791,8 +810,7 @@ module Google
|
|
|
791
810
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
792
811
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
793
812
|
def list_players(collection, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
794
|
-
|
|
795
|
-
command = make_simple_command(:get, path, options)
|
|
813
|
+
command = make_simple_command(:get, 'players/me/players/{collection}', options)
|
|
796
814
|
command.response_representation = Google::Apis::GamesV1::ListPlayerResponse::Representation
|
|
797
815
|
command.response_class = Google::Apis::GamesV1::ListPlayerResponse
|
|
798
816
|
command.params['collection'] = collection unless collection.nil?
|
|
@@ -830,8 +848,7 @@ module Google
|
|
|
830
848
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
831
849
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
832
850
|
def remove_pushtoken(push_token_id_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
833
|
-
|
|
834
|
-
command = make_simple_command(:post, path, options)
|
|
851
|
+
command = make_simple_command(:post, 'pushtokens/remove', options)
|
|
835
852
|
command.request_representation = Google::Apis::GamesV1::PushTokenId::Representation
|
|
836
853
|
command.request_object = push_token_id_object
|
|
837
854
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -864,8 +881,7 @@ module Google
|
|
|
864
881
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
865
882
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
866
883
|
def update_pushtoken(push_token_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
867
|
-
|
|
868
|
-
command = make_simple_command(:put, path, options)
|
|
884
|
+
command = make_simple_command(:put, 'pushtokens', options)
|
|
869
885
|
command.request_representation = Google::Apis::GamesV1::PushToken::Representation
|
|
870
886
|
command.request_object = push_token_object
|
|
871
887
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -906,8 +922,7 @@ module Google
|
|
|
906
922
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
907
923
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
908
924
|
def claim_quest_milestone(quest_id, milestone_id, request_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
909
|
-
|
|
910
|
-
command = make_simple_command(:put, path, options)
|
|
925
|
+
command = make_simple_command(:put, 'quests/{questId}/milestones/{milestoneId}/claim', options)
|
|
911
926
|
command.params['questId'] = quest_id unless quest_id.nil?
|
|
912
927
|
command.params['milestoneId'] = milestone_id unless milestone_id.nil?
|
|
913
928
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
@@ -944,8 +959,7 @@ module Google
|
|
|
944
959
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
945
960
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
946
961
|
def accept_quest(quest_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
947
|
-
|
|
948
|
-
command = make_simple_command(:post, path, options)
|
|
962
|
+
command = make_simple_command(:post, 'quests/{questId}/accept', options)
|
|
949
963
|
command.response_representation = Google::Apis::GamesV1::Quest::Representation
|
|
950
964
|
command.response_class = Google::Apis::GamesV1::Quest
|
|
951
965
|
command.params['questId'] = quest_id unless quest_id.nil?
|
|
@@ -992,8 +1006,7 @@ module Google
|
|
|
992
1006
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
993
1007
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
994
1008
|
def list_quests(player_id, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
995
|
-
|
|
996
|
-
command = make_simple_command(:get, path, options)
|
|
1009
|
+
command = make_simple_command(:get, 'players/{playerId}/quests', options)
|
|
997
1010
|
command.response_representation = Google::Apis::GamesV1::ListQuestResponse::Representation
|
|
998
1011
|
command.response_class = Google::Apis::GamesV1::ListQuestResponse
|
|
999
1012
|
command.params['playerId'] = player_id unless player_id.nil?
|
|
@@ -1036,8 +1049,7 @@ module Google
|
|
|
1036
1049
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1037
1050
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1038
1051
|
def check_revision(client_revision, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1039
|
-
|
|
1040
|
-
command = make_simple_command(:get, path, options)
|
|
1052
|
+
command = make_simple_command(:get, 'revisions/check', options)
|
|
1041
1053
|
command.response_representation = Google::Apis::GamesV1::CheckRevisionResponse::Representation
|
|
1042
1054
|
command.response_class = Google::Apis::GamesV1::CheckRevisionResponse
|
|
1043
1055
|
command.query['clientRevision'] = client_revision unless client_revision.nil?
|
|
@@ -1074,8 +1086,7 @@ module Google
|
|
|
1074
1086
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1075
1087
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1076
1088
|
def create_room(create_room_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1077
|
-
|
|
1078
|
-
command = make_simple_command(:post, path, options)
|
|
1089
|
+
command = make_simple_command(:post, 'rooms/create', options)
|
|
1079
1090
|
command.request_representation = Google::Apis::GamesV1::CreateRoomRequest::Representation
|
|
1080
1091
|
command.request_object = create_room_request_object
|
|
1081
1092
|
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
|
@@ -1115,8 +1126,7 @@ module Google
|
|
|
1115
1126
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1116
1127
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1117
1128
|
def decline_room(room_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1118
|
-
|
|
1119
|
-
command = make_simple_command(:post, path, options)
|
|
1129
|
+
command = make_simple_command(:post, 'rooms/{roomId}/decline', options)
|
|
1120
1130
|
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
|
1121
1131
|
command.response_class = Google::Apis::GamesV1::Room
|
|
1122
1132
|
command.params['roomId'] = room_id unless room_id.nil?
|
|
@@ -1153,8 +1163,7 @@ module Google
|
|
|
1153
1163
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1154
1164
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1155
1165
|
def dismiss_room(room_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1156
|
-
|
|
1157
|
-
command = make_simple_command(:post, path, options)
|
|
1166
|
+
command = make_simple_command(:post, 'rooms/{roomId}/dismiss', options)
|
|
1158
1167
|
command.params['roomId'] = room_id unless room_id.nil?
|
|
1159
1168
|
command.query['fields'] = fields unless fields.nil?
|
|
1160
1169
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1189,8 +1198,7 @@ module Google
|
|
|
1189
1198
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1190
1199
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1191
1200
|
def get_room(room_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1192
|
-
|
|
1193
|
-
command = make_simple_command(:get, path, options)
|
|
1201
|
+
command = make_simple_command(:get, 'rooms/{roomId}', options)
|
|
1194
1202
|
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
|
1195
1203
|
command.response_class = Google::Apis::GamesV1::Room
|
|
1196
1204
|
command.params['roomId'] = room_id unless room_id.nil?
|
|
@@ -1230,8 +1238,7 @@ module Google
|
|
|
1230
1238
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1231
1239
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1232
1240
|
def join_room(room_id, join_room_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1233
|
-
|
|
1234
|
-
command = make_simple_command(:post, path, options)
|
|
1241
|
+
command = make_simple_command(:post, 'rooms/{roomId}/join', options)
|
|
1235
1242
|
command.request_representation = Google::Apis::GamesV1::JoinRoomRequest::Representation
|
|
1236
1243
|
command.request_object = join_room_request_object
|
|
1237
1244
|
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
|
@@ -1273,8 +1280,7 @@ module Google
|
|
|
1273
1280
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1274
1281
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1275
1282
|
def leave_room(room_id, leave_room_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1276
|
-
|
|
1277
|
-
command = make_simple_command(:post, path, options)
|
|
1283
|
+
command = make_simple_command(:post, 'rooms/{roomId}/leave', options)
|
|
1278
1284
|
command.request_representation = Google::Apis::GamesV1::LeaveRoomRequest::Representation
|
|
1279
1285
|
command.request_object = leave_room_request_object
|
|
1280
1286
|
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
|
@@ -1318,8 +1324,7 @@ module Google
|
|
|
1318
1324
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1319
1325
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1320
1326
|
def list_rooms(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1321
|
-
|
|
1322
|
-
command = make_simple_command(:get, path, options)
|
|
1327
|
+
command = make_simple_command(:get, 'rooms', options)
|
|
1323
1328
|
command.response_representation = Google::Apis::GamesV1::RoomList::Representation
|
|
1324
1329
|
command.response_class = Google::Apis::GamesV1::RoomList
|
|
1325
1330
|
command.query['language'] = language unless language.nil?
|
|
@@ -1360,8 +1365,7 @@ module Google
|
|
|
1360
1365
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1361
1366
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1362
1367
|
def report_room_status(room_id, room_p2_p_statuses_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1363
|
-
|
|
1364
|
-
command = make_simple_command(:post, path, options)
|
|
1368
|
+
command = make_simple_command(:post, 'rooms/{roomId}/reportstatus', options)
|
|
1365
1369
|
command.request_representation = Google::Apis::GamesV1::RoomP2PStatuses::Representation
|
|
1366
1370
|
command.request_object = room_p2_p_statuses_object
|
|
1367
1371
|
command.response_representation = Google::Apis::GamesV1::RoomStatus::Representation
|
|
@@ -1420,8 +1424,7 @@ module Google
|
|
|
1420
1424
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1421
1425
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1422
1426
|
def get_score(player_id, leaderboard_id, time_span, include_rank_type: nil, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1423
|
-
|
|
1424
|
-
command = make_simple_command(:get, path, options)
|
|
1427
|
+
command = make_simple_command(:get, 'players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}', options)
|
|
1425
1428
|
command.response_representation = Google::Apis::GamesV1::ListPlayerLeaderboardScoreResponse::Representation
|
|
1426
1429
|
command.response_class = Google::Apis::GamesV1::ListPlayerLeaderboardScoreResponse
|
|
1427
1430
|
command.params['playerId'] = player_id unless player_id.nil?
|
|
@@ -1474,8 +1477,7 @@ module Google
|
|
|
1474
1477
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1475
1478
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1476
1479
|
def list_scores(leaderboard_id, collection, time_span, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1477
|
-
|
|
1478
|
-
command = make_simple_command(:get, path, options)
|
|
1480
|
+
command = make_simple_command(:get, 'leaderboards/{leaderboardId}/scores/{collection}', options)
|
|
1479
1481
|
command.response_representation = Google::Apis::GamesV1::LeaderboardScores::Representation
|
|
1480
1482
|
command.response_class = Google::Apis::GamesV1::LeaderboardScores
|
|
1481
1483
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
|
@@ -1534,9 +1536,8 @@ module Google
|
|
|
1534
1536
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1535
1537
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1536
1538
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1537
|
-
def
|
|
1538
|
-
|
|
1539
|
-
command = make_simple_command(:get, path, options)
|
|
1539
|
+
def list_score_window(leaderboard_id, collection, time_span, language: nil, max_results: nil, page_token: nil, results_above: nil, return_top_if_absent: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1540
|
+
command = make_simple_command(:get, 'leaderboards/{leaderboardId}/window/{collection}', options)
|
|
1540
1541
|
command.response_representation = Google::Apis::GamesV1::LeaderboardScores::Representation
|
|
1541
1542
|
command.response_class = Google::Apis::GamesV1::LeaderboardScores
|
|
1542
1543
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
|
@@ -1590,8 +1591,7 @@ module Google
|
|
|
1590
1591
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1591
1592
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1592
1593
|
def submit_score(leaderboard_id, score, language: nil, score_tag: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1593
|
-
|
|
1594
|
-
command = make_simple_command(:post, path, options)
|
|
1594
|
+
command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores', options)
|
|
1595
1595
|
command.response_representation = Google::Apis::GamesV1::PlayerScoreResponse::Representation
|
|
1596
1596
|
command.response_class = Google::Apis::GamesV1::PlayerScoreResponse
|
|
1597
1597
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
|
@@ -1629,9 +1629,8 @@ module Google
|
|
|
1629
1629
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1630
1630
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1631
1631
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1632
|
-
def
|
|
1633
|
-
|
|
1634
|
-
command = make_simple_command(:post, path, options)
|
|
1632
|
+
def submit_score_multiple(player_score_submission_list_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1633
|
+
command = make_simple_command(:post, 'leaderboards/scores', options)
|
|
1635
1634
|
command.request_representation = Google::Apis::GamesV1::PlayerScoreSubmissionList::Representation
|
|
1636
1635
|
command.request_object = player_score_submission_list_object
|
|
1637
1636
|
command.response_representation = Google::Apis::GamesV1::ListPlayerScoreResponse::Representation
|
|
@@ -1670,8 +1669,7 @@ module Google
|
|
|
1670
1669
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1671
1670
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1672
1671
|
def get_snapshot(snapshot_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1673
|
-
|
|
1674
|
-
command = make_simple_command(:get, path, options)
|
|
1672
|
+
command = make_simple_command(:get, 'snapshots/{snapshotId}', options)
|
|
1675
1673
|
command.response_representation = Google::Apis::GamesV1::Snapshot::Representation
|
|
1676
1674
|
command.response_class = Google::Apis::GamesV1::Snapshot
|
|
1677
1675
|
command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
|
|
@@ -1717,8 +1715,7 @@ module Google
|
|
|
1717
1715
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1718
1716
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1719
1717
|
def list_snapshots(player_id, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1720
|
-
|
|
1721
|
-
command = make_simple_command(:get, path, options)
|
|
1718
|
+
command = make_simple_command(:get, 'players/{playerId}/snapshots', options)
|
|
1722
1719
|
command.response_representation = Google::Apis::GamesV1::ListSnapshotResponse::Representation
|
|
1723
1720
|
command.response_class = Google::Apis::GamesV1::ListSnapshotResponse
|
|
1724
1721
|
command.params['playerId'] = player_id unless player_id.nil?
|
|
@@ -1756,8 +1753,7 @@ module Google
|
|
|
1756
1753
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1757
1754
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1758
1755
|
def cancel_turn_based_match(match_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1759
|
-
|
|
1760
|
-
command = make_simple_command(:put, path, options)
|
|
1756
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/cancel', options)
|
|
1761
1757
|
command.params['matchId'] = match_id unless match_id.nil?
|
|
1762
1758
|
command.query['fields'] = fields unless fields.nil?
|
|
1763
1759
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1791,8 +1787,7 @@ module Google
|
|
|
1791
1787
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1792
1788
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1793
1789
|
def create_turn_based_match(create_turn_based_match_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1794
|
-
|
|
1795
|
-
command = make_simple_command(:post, path, options)
|
|
1790
|
+
command = make_simple_command(:post, 'turnbasedmatches/create', options)
|
|
1796
1791
|
command.request_representation = Google::Apis::GamesV1::CreateTurnBasedMatchRequest::Representation
|
|
1797
1792
|
command.request_object = create_turn_based_match_request_object
|
|
1798
1793
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
|
@@ -1831,8 +1826,7 @@ module Google
|
|
|
1831
1826
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1832
1827
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1833
1828
|
def decline_turn_based_match(match_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1834
|
-
|
|
1835
|
-
command = make_simple_command(:put, path, options)
|
|
1829
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/decline', options)
|
|
1836
1830
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
|
1837
1831
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
|
1838
1832
|
command.params['matchId'] = match_id unless match_id.nil?
|
|
@@ -1869,8 +1863,7 @@ module Google
|
|
|
1869
1863
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1870
1864
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1871
1865
|
def dismiss_turn_based_match(match_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1872
|
-
|
|
1873
|
-
command = make_simple_command(:put, path, options)
|
|
1866
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/dismiss', options)
|
|
1874
1867
|
command.params['matchId'] = match_id unless match_id.nil?
|
|
1875
1868
|
command.query['fields'] = fields unless fields.nil?
|
|
1876
1869
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1908,8 +1901,7 @@ module Google
|
|
|
1908
1901
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1909
1902
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1910
1903
|
def finish_turn_based_match(match_id, turn_based_match_results_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1911
|
-
|
|
1912
|
-
command = make_simple_command(:put, path, options)
|
|
1904
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/finish', options)
|
|
1913
1905
|
command.request_representation = Google::Apis::GamesV1::TurnBasedMatchResults::Representation
|
|
1914
1906
|
command.request_object = turn_based_match_results_object
|
|
1915
1907
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
|
@@ -1951,8 +1943,7 @@ module Google
|
|
|
1951
1943
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1952
1944
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1953
1945
|
def get_turn_based_match(match_id, include_match_data: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1954
|
-
|
|
1955
|
-
command = make_simple_command(:get, path, options)
|
|
1946
|
+
command = make_simple_command(:get, 'turnbasedmatches/{matchId}', options)
|
|
1956
1947
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
|
1957
1948
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
|
1958
1949
|
command.params['matchId'] = match_id unless match_id.nil?
|
|
@@ -1991,8 +1982,7 @@ module Google
|
|
|
1991
1982
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1992
1983
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1993
1984
|
def join_turn_based_match(match_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1994
|
-
|
|
1995
|
-
command = make_simple_command(:put, path, options)
|
|
1985
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/join', options)
|
|
1996
1986
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
|
1997
1987
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
|
1998
1988
|
command.params['matchId'] = match_id unless match_id.nil?
|
|
@@ -2031,8 +2021,7 @@ module Google
|
|
|
2031
2021
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2032
2022
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2033
2023
|
def leave_turn_based_match(match_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2034
|
-
|
|
2035
|
-
command = make_simple_command(:put, path, options)
|
|
2024
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/leave', options)
|
|
2036
2025
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
|
2037
2026
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
|
2038
2027
|
command.params['matchId'] = match_id unless match_id.nil?
|
|
@@ -2078,8 +2067,7 @@ module Google
|
|
|
2078
2067
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2079
2068
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2080
2069
|
def leave_turn(match_id, match_version, language: nil, pending_participant_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2081
|
-
|
|
2082
|
-
command = make_simple_command(:put, path, options)
|
|
2070
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/leaveTurn', options)
|
|
2083
2071
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
|
2084
2072
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
|
2085
2073
|
command.params['matchId'] = match_id unless match_id.nil?
|
|
@@ -2132,8 +2120,7 @@ module Google
|
|
|
2132
2120
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2133
2121
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2134
2122
|
def list_turn_based_matches(include_match_data: nil, language: nil, max_completed_matches: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2135
|
-
|
|
2136
|
-
command = make_simple_command(:get, path, options)
|
|
2123
|
+
command = make_simple_command(:get, 'turnbasedmatches', options)
|
|
2137
2124
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatchList::Representation
|
|
2138
2125
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatchList
|
|
2139
2126
|
command.query['includeMatchData'] = include_match_data unless include_match_data.nil?
|
|
@@ -2181,8 +2168,7 @@ module Google
|
|
|
2181
2168
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2182
2169
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2183
2170
|
def rematch_turn_based_match(match_id, language: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2184
|
-
|
|
2185
|
-
command = make_simple_command(:post, path, options)
|
|
2171
|
+
command = make_simple_command(:post, 'turnbasedmatches/{matchId}/rematch', options)
|
|
2186
2172
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatchRematch::Representation
|
|
2187
2173
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatchRematch
|
|
2188
2174
|
command.params['matchId'] = match_id unless match_id.nil?
|
|
@@ -2236,8 +2222,7 @@ module Google
|
|
|
2236
2222
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2237
2223
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2238
2224
|
def sync_turn_based_match(include_match_data: nil, language: nil, max_completed_matches: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2239
|
-
|
|
2240
|
-
command = make_simple_command(:get, path, options)
|
|
2225
|
+
command = make_simple_command(:get, 'turnbasedmatches/sync', options)
|
|
2241
2226
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatchSync::Representation
|
|
2242
2227
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatchSync
|
|
2243
2228
|
command.query['includeMatchData'] = include_match_data unless include_match_data.nil?
|
|
@@ -2279,8 +2264,7 @@ module Google
|
|
|
2279
2264
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2280
2265
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2281
2266
|
def take_turn(match_id, turn_based_match_turn_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2282
|
-
|
|
2283
|
-
command = make_simple_command(:put, path, options)
|
|
2267
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/turn', options)
|
|
2284
2268
|
command.request_representation = Google::Apis::GamesV1::TurnBasedMatchTurn::Representation
|
|
2285
2269
|
command.request_object = turn_based_match_turn_object
|
|
2286
2270
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|