google-api-client 0.41.2 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +529 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +93 -129
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
- data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
- data/generated/google/apis/apigee_v1.rb +6 -8
- data/generated/google/apis/apigee_v1/classes.rb +2060 -1099
- data/generated/google/apis/apigee_v1/representations.rb +593 -0
- data/generated/google/apis/apigee_v1/service.rb +2596 -1692
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -35
- data/generated/google/apis/appengine_v1/representations.rb +2 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -44
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
- data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -43
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +538 -541
- data/generated/google/apis/bigquery_v2/representations.rb +71 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +146 -119
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +18 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +174 -160
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +99 -96
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +3 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +211 -106
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +95 -36
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +645 -900
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
- data/generated/google/apis/cloudasset_v1/service.rb +131 -156
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +333 -534
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1021 -137
- data/generated/google/apis/compute_alpha/representations.rb +208 -4
- data/generated/google/apis/compute_alpha/service.rb +710 -699
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +879 -75
- data/generated/google/apis/compute_beta/representations.rb +204 -1
- data/generated/google/apis/compute_beta/service.rb +875 -607
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1324 -130
- data/generated/google/apis/compute_v1/representations.rb +480 -15
- data/generated/google/apis/compute_v1/service.rb +1076 -43
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +946 -961
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
- data/generated/google/apis/container_v1beta1/representations.rb +72 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +20 -3
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +112 -6
- data/generated/google/apis/content_v2_1/representations.rb +35 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +40 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -93
- data/generated/google/apis/datafusion_v1/service.rb +667 -0
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +238 -329
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
- data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +331 -473
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
- data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1641
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -984
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1719
- data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +290 -162
- data/generated/google/apis/dns_v1/service.rb +232 -180
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
- data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +82 -8
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +102 -25
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +87 -8
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +67 -16
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
- data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/{securitycenter_v1p1alpha1 → firebasehosting_v1}/service.rb +51 -82
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +506 -450
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +227 -185
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +170 -208
- data/generated/google/apis/fitness_v1/service.rb +125 -146
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +37 -38
- data/generated/google/apis/games_v1.rb +5 -4
- data/generated/google/apis/games_v1/classes.rb +320 -2085
- data/generated/google/apis/games_v1/representations.rb +14 -647
- data/generated/google/apis/games_v1/service.rb +161 -1109
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +207 -266
- data/generated/google/apis/gmail_v1/service.rb +263 -290
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
- data/generated/google/apis/groupsmigration_v1.rb +3 -3
- data/generated/google/apis/groupsmigration_v1/service.rb +4 -4
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +563 -826
- data/generated/google/apis/healthcare_v1/service.rb +687 -806
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
- data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +388 -573
- data/generated/google/apis/iam_v1/service.rb +430 -544
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +246 -355
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/{androidpublisher_v1/classes.rb → localservices_v1.rb} +11 -6
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +954 -1143
- data/generated/google/apis/ml_v1/representations.rb +64 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +117 -38
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +263 -315
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +126 -141
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +931 -179
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
- data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +493 -403
- data/generated/google/apis/people_v1/representations.rb +98 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +407 -516
- data/generated/google/apis/pubsub_v1/representations.rb +3 -0
- data/generated/google/apis/pubsub_v1/service.rb +217 -252
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/pubsublite_v1/service.rb +525 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +477 -116
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +837 -1244
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1/service.rb +234 -248
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1/service.rb +322 -378
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/classes.rb +210 -276
- data/generated/google/apis/run_v1beta1/service.rb +17 -19
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +67 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
- data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
- data/generated/google/apis/sql_v1beta4/service.rb +49 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +22 -23
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +189 -285
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +383 -374
- data/generated/google/apis/testing_v1/representations.rb +35 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +79 -78
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -138
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -138
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +40 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +4 -6
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1826 -1157
- data/generated/google/apis/youtube_v3/representations.rb +458 -0
- data/generated/google/apis/youtube_v3/service.rb +1303 -1274
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +47 -43
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -854
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -861
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/representations.rb +0 -68
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -20,9 +20,10 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module GamesV1
|
23
|
-
# Google Play Game Services
|
23
|
+
# Google Play Game Services
|
24
24
|
#
|
25
|
-
# The
|
25
|
+
# The Google Play games service allows developers to enhance games with social
|
26
|
+
# leaderboards, achievements, game state, sign-in with Google, and more.
|
26
27
|
#
|
27
28
|
# @example
|
28
29
|
# require 'google/apis/games_v1'
|
@@ -30,7 +31,7 @@ module Google
|
|
30
31
|
# Games = Google::Apis::GamesV1 # Alias the module
|
31
32
|
# service = Games::GamesService.new
|
32
33
|
#
|
33
|
-
# @see https://developers.google.com/games/
|
34
|
+
# @see https://developers.google.com/games/
|
34
35
|
class GamesService < Google::Apis::Core::BaseService
|
35
36
|
# @return [String]
|
36
37
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -38,17 +39,13 @@ module Google
|
|
38
39
|
attr_accessor :key
|
39
40
|
|
40
41
|
# @return [String]
|
41
|
-
#
|
42
|
-
# characters.
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
44
|
attr_accessor :quota_user
|
44
45
|
|
45
|
-
# @return [String]
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
47
|
-
attr_accessor :user_ip
|
48
|
-
|
49
46
|
def initialize
|
50
|
-
super('https://
|
51
|
-
@batch_path = 'batch
|
47
|
+
super('https://games.googleapis.com/', '')
|
48
|
+
@batch_path = 'batch'
|
52
49
|
end
|
53
50
|
|
54
51
|
# Lists all the achievement definitions for your application.
|
@@ -57,16 +54,14 @@ module Google
|
|
57
54
|
# @param [Fixnum] max_results
|
58
55
|
# The maximum number of achievement resources to return in the response, used
|
59
56
|
# for paging. For any response, the actual number of achievement resources
|
60
|
-
# returned may be less than the specified maxResults
|
57
|
+
# returned may be less than the specified `maxResults`.
|
61
58
|
# @param [String] page_token
|
62
59
|
# The token returned by the previous request.
|
63
60
|
# @param [String] fields
|
64
61
|
# Selector specifying which fields to include in a partial response.
|
65
62
|
# @param [String] quota_user
|
66
|
-
#
|
67
|
-
# characters.
|
68
|
-
# @param [String] user_ip
|
69
|
-
# Deprecated. Please use quotaUser instead.
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
70
65
|
# @param [Google::Apis::RequestOptions] options
|
71
66
|
# Request-specific options
|
72
67
|
#
|
@@ -79,8 +74,8 @@ module Google
|
|
79
74
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
75
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
76
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
-
def list_achievement_definitions(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
83
|
-
command = make_simple_command(:get, 'achievements', options)
|
77
|
+
def list_achievement_definitions(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
+
command = make_simple_command(:get, 'games/v1/achievements', options)
|
84
79
|
command.response_representation = Google::Apis::GamesV1::ListAchievementDefinitionsResponse::Representation
|
85
80
|
command.response_class = Google::Apis::GamesV1::ListAchievementDefinitionsResponse
|
86
81
|
command.query['language'] = language unless language.nil?
|
@@ -88,7 +83,6 @@ module Google
|
|
88
83
|
command.query['pageToken'] = page_token unless page_token.nil?
|
89
84
|
command.query['fields'] = fields unless fields.nil?
|
90
85
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
91
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
92
86
|
execute_or_queue_command(command, &block)
|
93
87
|
end
|
94
88
|
|
@@ -105,10 +99,8 @@ module Google
|
|
105
99
|
# @param [String] fields
|
106
100
|
# Selector specifying which fields to include in a partial response.
|
107
101
|
# @param [String] quota_user
|
108
|
-
#
|
109
|
-
# characters.
|
110
|
-
# @param [String] user_ip
|
111
|
-
# Deprecated. Please use quotaUser instead.
|
102
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
103
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
112
104
|
# @param [Google::Apis::RequestOptions] options
|
113
105
|
# Request-specific options
|
114
106
|
#
|
@@ -121,8 +113,8 @@ module Google
|
|
121
113
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
122
114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
123
115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
124
|
-
def increment_achievement(achievement_id, steps_to_increment, request_id: nil, fields: nil, quota_user: nil,
|
125
|
-
command = make_simple_command(:post, 'achievements/{achievementId}/increment', options)
|
116
|
+
def increment_achievement(achievement_id, steps_to_increment, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
+
command = make_simple_command(:post, 'games/v1/achievements/{achievementId}/increment', options)
|
126
118
|
command.response_representation = Google::Apis::GamesV1::AchievementIncrementResponse::Representation
|
127
119
|
command.response_class = Google::Apis::GamesV1::AchievementIncrementResponse
|
128
120
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
@@ -130,21 +122,20 @@ module Google
|
|
130
122
|
command.query['stepsToIncrement'] = steps_to_increment unless steps_to_increment.nil?
|
131
123
|
command.query['fields'] = fields unless fields.nil?
|
132
124
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
133
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
134
125
|
execute_or_queue_command(command, &block)
|
135
126
|
end
|
136
127
|
|
137
128
|
# Lists the progress for all your application's achievements for the currently
|
138
129
|
# authenticated player.
|
139
130
|
# @param [String] player_id
|
140
|
-
# A player ID. A value of me may be used in place of the authenticated player'
|
141
|
-
# ID.
|
131
|
+
# A player ID. A value of `me` may be used in place of the authenticated player'
|
132
|
+
# s ID.
|
142
133
|
# @param [String] language
|
143
134
|
# The preferred language to use for strings returned by this method.
|
144
135
|
# @param [Fixnum] max_results
|
145
136
|
# The maximum number of achievement resources to return in the response, used
|
146
137
|
# for paging. For any response, the actual number of achievement resources
|
147
|
-
# returned may be less than the specified maxResults
|
138
|
+
# returned may be less than the specified `maxResults`.
|
148
139
|
# @param [String] page_token
|
149
140
|
# The token returned by the previous request.
|
150
141
|
# @param [String] state
|
@@ -153,10 +144,8 @@ module Google
|
|
153
144
|
# @param [String] fields
|
154
145
|
# Selector specifying which fields to include in a partial response.
|
155
146
|
# @param [String] quota_user
|
156
|
-
#
|
157
|
-
# characters.
|
158
|
-
# @param [String] user_ip
|
159
|
-
# Deprecated. Please use quotaUser instead.
|
147
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
148
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
160
149
|
# @param [Google::Apis::RequestOptions] options
|
161
150
|
# Request-specific options
|
162
151
|
#
|
@@ -169,8 +158,8 @@ module Google
|
|
169
158
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
170
159
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
171
160
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
172
|
-
def list_achievements(player_id, language: nil, max_results: nil, page_token: nil, state: nil, fields: nil, quota_user: nil,
|
173
|
-
command = make_simple_command(:get, 'players/{playerId}/achievements', options)
|
161
|
+
def list_achievements(player_id, language: nil, max_results: nil, page_token: nil, state: nil, fields: nil, quota_user: nil, options: nil, &block)
|
162
|
+
command = make_simple_command(:get, 'games/v1/players/{playerId}/achievements', options)
|
174
163
|
command.response_representation = Google::Apis::GamesV1::ListPlayerAchievementResponse::Representation
|
175
164
|
command.response_class = Google::Apis::GamesV1::ListPlayerAchievementResponse
|
176
165
|
command.params['playerId'] = player_id unless player_id.nil?
|
@@ -180,21 +169,18 @@ module Google
|
|
180
169
|
command.query['state'] = state unless state.nil?
|
181
170
|
command.query['fields'] = fields unless fields.nil?
|
182
171
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
183
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
184
172
|
execute_or_queue_command(command, &block)
|
185
173
|
end
|
186
174
|
|
187
|
-
# Sets the state of the achievement with the given ID to REVEALED for the
|
175
|
+
# Sets the state of the achievement with the given ID to `REVEALED` for the
|
188
176
|
# currently authenticated player.
|
189
177
|
# @param [String] achievement_id
|
190
178
|
# The ID of the achievement used by this method.
|
191
179
|
# @param [String] fields
|
192
180
|
# Selector specifying which fields to include in a partial response.
|
193
181
|
# @param [String] quota_user
|
194
|
-
#
|
195
|
-
# characters.
|
196
|
-
# @param [String] user_ip
|
197
|
-
# Deprecated. Please use quotaUser instead.
|
182
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
183
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
198
184
|
# @param [Google::Apis::RequestOptions] options
|
199
185
|
# Request-specific options
|
200
186
|
#
|
@@ -207,14 +193,13 @@ module Google
|
|
207
193
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
208
194
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
209
195
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
210
|
-
def reveal_achievement(achievement_id, fields: nil, quota_user: nil,
|
211
|
-
command = make_simple_command(:post, 'achievements/{achievementId}/reveal', options)
|
196
|
+
def reveal_achievement(achievement_id, fields: nil, quota_user: nil, options: nil, &block)
|
197
|
+
command = make_simple_command(:post, 'games/v1/achievements/{achievementId}/reveal', options)
|
212
198
|
command.response_representation = Google::Apis::GamesV1::AchievementRevealResponse::Representation
|
213
199
|
command.response_class = Google::Apis::GamesV1::AchievementRevealResponse
|
214
200
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
215
201
|
command.query['fields'] = fields unless fields.nil?
|
216
202
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
217
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
218
203
|
execute_or_queue_command(command, &block)
|
219
204
|
end
|
220
205
|
|
@@ -229,10 +214,8 @@ module Google
|
|
229
214
|
# @param [String] fields
|
230
215
|
# Selector specifying which fields to include in a partial response.
|
231
216
|
# @param [String] quota_user
|
232
|
-
#
|
233
|
-
# characters.
|
234
|
-
# @param [String] user_ip
|
235
|
-
# Deprecated. Please use quotaUser instead.
|
217
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
218
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
236
219
|
# @param [Google::Apis::RequestOptions] options
|
237
220
|
# Request-specific options
|
238
221
|
#
|
@@ -245,15 +228,14 @@ module Google
|
|
245
228
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
246
229
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
247
230
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
248
|
-
def set_achievement_steps_at_least(achievement_id, steps, fields: nil, quota_user: nil,
|
249
|
-
command = make_simple_command(:post, 'achievements/{achievementId}/setStepsAtLeast', options)
|
231
|
+
def set_achievement_steps_at_least(achievement_id, steps, fields: nil, quota_user: nil, options: nil, &block)
|
232
|
+
command = make_simple_command(:post, 'games/v1/achievements/{achievementId}/setStepsAtLeast', options)
|
250
233
|
command.response_representation = Google::Apis::GamesV1::AchievementSetStepsAtLeastResponse::Representation
|
251
234
|
command.response_class = Google::Apis::GamesV1::AchievementSetStepsAtLeastResponse
|
252
235
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
253
236
|
command.query['steps'] = steps unless steps.nil?
|
254
237
|
command.query['fields'] = fields unless fields.nil?
|
255
238
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
256
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
257
239
|
execute_or_queue_command(command, &block)
|
258
240
|
end
|
259
241
|
|
@@ -263,10 +245,8 @@ module Google
|
|
263
245
|
# @param [String] fields
|
264
246
|
# Selector specifying which fields to include in a partial response.
|
265
247
|
# @param [String] quota_user
|
266
|
-
#
|
267
|
-
# characters.
|
268
|
-
# @param [String] user_ip
|
269
|
-
# Deprecated. Please use quotaUser instead.
|
248
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
249
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
270
250
|
# @param [Google::Apis::RequestOptions] options
|
271
251
|
# Request-specific options
|
272
252
|
#
|
@@ -279,14 +259,13 @@ module Google
|
|
279
259
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
280
260
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
281
261
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
282
|
-
def unlock_achievement(achievement_id, fields: nil, quota_user: nil,
|
283
|
-
command = make_simple_command(:post, 'achievements/{achievementId}/unlock', options)
|
262
|
+
def unlock_achievement(achievement_id, fields: nil, quota_user: nil, options: nil, &block)
|
263
|
+
command = make_simple_command(:post, 'games/v1/achievements/{achievementId}/unlock', options)
|
284
264
|
command.response_representation = Google::Apis::GamesV1::AchievementUnlockResponse::Representation
|
285
265
|
command.response_class = Google::Apis::GamesV1::AchievementUnlockResponse
|
286
266
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
287
267
|
command.query['fields'] = fields unless fields.nil?
|
288
268
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
289
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
290
269
|
execute_or_queue_command(command, &block)
|
291
270
|
end
|
292
271
|
|
@@ -295,10 +274,8 @@ module Google
|
|
295
274
|
# @param [String] fields
|
296
275
|
# Selector specifying which fields to include in a partial response.
|
297
276
|
# @param [String] quota_user
|
298
|
-
#
|
299
|
-
# characters.
|
300
|
-
# @param [String] user_ip
|
301
|
-
# Deprecated. Please use quotaUser instead.
|
277
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
278
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
302
279
|
# @param [Google::Apis::RequestOptions] options
|
303
280
|
# Request-specific options
|
304
281
|
#
|
@@ -311,20 +288,19 @@ module Google
|
|
311
288
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
312
289
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
313
290
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
314
|
-
def update_multiple_achievements(achievement_update_multiple_request_object = nil, fields: nil, quota_user: nil,
|
315
|
-
command = make_simple_command(:post, 'achievements/updateMultiple', options)
|
291
|
+
def update_multiple_achievements(achievement_update_multiple_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
292
|
+
command = make_simple_command(:post, 'games/v1/achievements/updateMultiple', options)
|
316
293
|
command.request_representation = Google::Apis::GamesV1::AchievementUpdateMultipleRequest::Representation
|
317
294
|
command.request_object = achievement_update_multiple_request_object
|
318
295
|
command.response_representation = Google::Apis::GamesV1::AchievementUpdateMultipleResponse::Representation
|
319
296
|
command.response_class = Google::Apis::GamesV1::AchievementUpdateMultipleResponse
|
320
297
|
command.query['fields'] = fields unless fields.nil?
|
321
298
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
322
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
323
299
|
execute_or_queue_command(command, &block)
|
324
300
|
end
|
325
301
|
|
326
302
|
# Retrieves the metadata of the application with the given ID. If the requested
|
327
|
-
# application is not available for the specified platformType
|
303
|
+
# application is not available for the specified `platformType`, the returned
|
328
304
|
# response will not include any instance data.
|
329
305
|
# @param [String] application_id
|
330
306
|
# The application ID from the Google Play developer console.
|
@@ -335,10 +311,8 @@ module Google
|
|
335
311
|
# @param [String] fields
|
336
312
|
# Selector specifying which fields to include in a partial response.
|
337
313
|
# @param [String] quota_user
|
338
|
-
#
|
339
|
-
# characters.
|
340
|
-
# @param [String] user_ip
|
341
|
-
# Deprecated. Please use quotaUser instead.
|
314
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
315
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
342
316
|
# @param [Google::Apis::RequestOptions] options
|
343
317
|
# Request-specific options
|
344
318
|
#
|
@@ -351,8 +325,8 @@ module Google
|
|
351
325
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
352
326
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
353
327
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
354
|
-
def get_application(application_id, language: nil, platform_type: nil, fields: nil, quota_user: nil,
|
355
|
-
command = make_simple_command(:get, 'applications/{applicationId}', options)
|
328
|
+
def get_application(application_id, language: nil, platform_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
329
|
+
command = make_simple_command(:get, 'games/v1/applications/{applicationId}', options)
|
356
330
|
command.response_representation = Google::Apis::GamesV1::Application::Representation
|
357
331
|
command.response_class = Google::Apis::GamesV1::Application
|
358
332
|
command.params['applicationId'] = application_id unless application_id.nil?
|
@@ -360,18 +334,15 @@ module Google
|
|
360
334
|
command.query['platformType'] = platform_type unless platform_type.nil?
|
361
335
|
command.query['fields'] = fields unless fields.nil?
|
362
336
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
363
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
364
337
|
execute_or_queue_command(command, &block)
|
365
338
|
end
|
366
339
|
|
367
|
-
# Indicate that the
|
340
|
+
# Indicate that the currently authenticated user is playing your application.
|
368
341
|
# @param [String] fields
|
369
342
|
# Selector specifying which fields to include in a partial response.
|
370
343
|
# @param [String] quota_user
|
371
|
-
#
|
372
|
-
# characters.
|
373
|
-
# @param [String] user_ip
|
374
|
-
# Deprecated. Please use quotaUser instead.
|
344
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
345
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
375
346
|
# @param [Google::Apis::RequestOptions] options
|
376
347
|
# Request-specific options
|
377
348
|
#
|
@@ -384,11 +355,10 @@ module Google
|
|
384
355
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
385
356
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
386
357
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
387
|
-
def played_application(fields: nil, quota_user: nil,
|
388
|
-
command = make_simple_command(:post, 'applications/played', options)
|
358
|
+
def played_application(fields: nil, quota_user: nil, options: nil, &block)
|
359
|
+
command = make_simple_command(:post, 'games/v1/applications/played', options)
|
389
360
|
command.query['fields'] = fields unless fields.nil?
|
390
361
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
391
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
392
362
|
execute_or_queue_command(command, &block)
|
393
363
|
end
|
394
364
|
|
@@ -399,10 +369,8 @@ module Google
|
|
399
369
|
# @param [String] fields
|
400
370
|
# Selector specifying which fields to include in a partial response.
|
401
371
|
# @param [String] quota_user
|
402
|
-
#
|
403
|
-
# characters.
|
404
|
-
# @param [String] user_ip
|
405
|
-
# Deprecated. Please use quotaUser instead.
|
372
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
373
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
406
374
|
# @param [Google::Apis::RequestOptions] options
|
407
375
|
# Request-specific options
|
408
376
|
#
|
@@ -415,14 +383,13 @@ module Google
|
|
415
383
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
416
384
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
417
385
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
418
|
-
def verify_application(application_id, fields: nil, quota_user: nil,
|
419
|
-
command = make_simple_command(:get, 'applications/{applicationId}/verify', options)
|
386
|
+
def verify_application(application_id, fields: nil, quota_user: nil, options: nil, &block)
|
387
|
+
command = make_simple_command(:get, 'games/v1/applications/{applicationId}/verify', options)
|
420
388
|
command.response_representation = Google::Apis::GamesV1::ApplicationVerifyResponse::Representation
|
421
389
|
command.response_class = Google::Apis::GamesV1::ApplicationVerifyResponse
|
422
390
|
command.params['applicationId'] = application_id unless application_id.nil?
|
423
391
|
command.query['fields'] = fields unless fields.nil?
|
424
392
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
425
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
426
393
|
execute_or_queue_command(command, &block)
|
427
394
|
end
|
428
395
|
|
@@ -439,10 +406,8 @@ module Google
|
|
439
406
|
# @param [String] fields
|
440
407
|
# Selector specifying which fields to include in a partial response.
|
441
408
|
# @param [String] quota_user
|
442
|
-
#
|
443
|
-
# characters.
|
444
|
-
# @param [String] user_ip
|
445
|
-
# Deprecated. Please use quotaUser instead.
|
409
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
410
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
446
411
|
# @param [Google::Apis::RequestOptions] options
|
447
412
|
# Request-specific options
|
448
413
|
#
|
@@ -455,8 +420,8 @@ module Google
|
|
455
420
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
456
421
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
457
422
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
458
|
-
def list_event_by_player(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
459
|
-
command = make_simple_command(:get, 'events', options)
|
423
|
+
def list_event_by_player(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
424
|
+
command = make_simple_command(:get, 'games/v1/events', options)
|
460
425
|
command.response_representation = Google::Apis::GamesV1::ListPlayerEventResponse::Representation
|
461
426
|
command.response_class = Google::Apis::GamesV1::ListPlayerEventResponse
|
462
427
|
command.query['language'] = language unless language.nil?
|
@@ -464,7 +429,6 @@ module Google
|
|
464
429
|
command.query['pageToken'] = page_token unless page_token.nil?
|
465
430
|
command.query['fields'] = fields unless fields.nil?
|
466
431
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
467
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
468
432
|
execute_or_queue_command(command, &block)
|
469
433
|
end
|
470
434
|
|
@@ -474,16 +438,14 @@ module Google
|
|
474
438
|
# @param [Fixnum] max_results
|
475
439
|
# The maximum number of event definitions to return in the response, used for
|
476
440
|
# paging. For any response, the actual number of event definitions to return may
|
477
|
-
# be less than the specified maxResults
|
441
|
+
# be less than the specified `maxResults`.
|
478
442
|
# @param [String] page_token
|
479
443
|
# The token returned by the previous request.
|
480
444
|
# @param [String] fields
|
481
445
|
# Selector specifying which fields to include in a partial response.
|
482
446
|
# @param [String] quota_user
|
483
|
-
#
|
484
|
-
# characters.
|
485
|
-
# @param [String] user_ip
|
486
|
-
# Deprecated. Please use quotaUser instead.
|
447
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
448
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
487
449
|
# @param [Google::Apis::RequestOptions] options
|
488
450
|
# Request-specific options
|
489
451
|
#
|
@@ -496,8 +458,8 @@ module Google
|
|
496
458
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
497
459
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
498
460
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
499
|
-
def list_event_definitions(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
500
|
-
command = make_simple_command(:get, 'eventDefinitions', options)
|
461
|
+
def list_event_definitions(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
462
|
+
command = make_simple_command(:get, 'games/v1/eventDefinitions', options)
|
501
463
|
command.response_representation = Google::Apis::GamesV1::ListEventDefinitionResponse::Representation
|
502
464
|
command.response_class = Google::Apis::GamesV1::ListEventDefinitionResponse
|
503
465
|
command.query['language'] = language unless language.nil?
|
@@ -505,7 +467,6 @@ module Google
|
|
505
467
|
command.query['pageToken'] = page_token unless page_token.nil?
|
506
468
|
command.query['fields'] = fields unless fields.nil?
|
507
469
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
508
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
509
470
|
execute_or_queue_command(command, &block)
|
510
471
|
end
|
511
472
|
|
@@ -517,10 +478,8 @@ module Google
|
|
517
478
|
# @param [String] fields
|
518
479
|
# Selector specifying which fields to include in a partial response.
|
519
480
|
# @param [String] quota_user
|
520
|
-
#
|
521
|
-
# characters.
|
522
|
-
# @param [String] user_ip
|
523
|
-
# Deprecated. Please use quotaUser instead.
|
481
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
482
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
524
483
|
# @param [Google::Apis::RequestOptions] options
|
525
484
|
# Request-specific options
|
526
485
|
#
|
@@ -533,8 +492,8 @@ module Google
|
|
533
492
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
534
493
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
535
494
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
536
|
-
def record_event(event_record_request_object = nil, language: nil, fields: nil, quota_user: nil,
|
537
|
-
command = make_simple_command(:post, 'events', options)
|
495
|
+
def record_event(event_record_request_object = nil, language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
496
|
+
command = make_simple_command(:post, 'games/v1/events', options)
|
538
497
|
command.request_representation = Google::Apis::GamesV1::EventRecordRequest::Representation
|
539
498
|
command.request_object = event_record_request_object
|
540
499
|
command.response_representation = Google::Apis::GamesV1::UpdateEventResponse::Representation
|
@@ -542,7 +501,6 @@ module Google
|
|
542
501
|
command.query['language'] = language unless language.nil?
|
543
502
|
command.query['fields'] = fields unless fields.nil?
|
544
503
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
545
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
546
504
|
execute_or_queue_command(command, &block)
|
547
505
|
end
|
548
506
|
|
@@ -554,10 +512,8 @@ module Google
|
|
554
512
|
# @param [String] fields
|
555
513
|
# Selector specifying which fields to include in a partial response.
|
556
514
|
# @param [String] quota_user
|
557
|
-
#
|
558
|
-
# characters.
|
559
|
-
# @param [String] user_ip
|
560
|
-
# Deprecated. Please use quotaUser instead.
|
515
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
516
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
561
517
|
# @param [Google::Apis::RequestOptions] options
|
562
518
|
# Request-specific options
|
563
519
|
#
|
@@ -570,15 +526,14 @@ module Google
|
|
570
526
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
571
527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
572
528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
573
|
-
def get_leaderboard(leaderboard_id, language: nil, fields: nil, quota_user: nil,
|
574
|
-
command = make_simple_command(:get, 'leaderboards/{leaderboardId}', options)
|
529
|
+
def get_leaderboard(leaderboard_id, language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
530
|
+
command = make_simple_command(:get, 'games/v1/leaderboards/{leaderboardId}', options)
|
575
531
|
command.response_representation = Google::Apis::GamesV1::Leaderboard::Representation
|
576
532
|
command.response_class = Google::Apis::GamesV1::Leaderboard
|
577
533
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
578
534
|
command.query['language'] = language unless language.nil?
|
579
535
|
command.query['fields'] = fields unless fields.nil?
|
580
536
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
581
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
582
537
|
execute_or_queue_command(command, &block)
|
583
538
|
end
|
584
539
|
|
@@ -587,17 +542,15 @@ module Google
|
|
587
542
|
# The preferred language to use for strings returned by this method.
|
588
543
|
# @param [Fixnum] max_results
|
589
544
|
# The maximum number of leaderboards to return in the response. For any response,
|
590
|
-
# the actual number of leaderboards returned may be less than the specified
|
591
|
-
# maxResults
|
545
|
+
# the actual number of leaderboards returned may be less than the specified `
|
546
|
+
# maxResults`.
|
592
547
|
# @param [String] page_token
|
593
548
|
# The token returned by the previous request.
|
594
549
|
# @param [String] fields
|
595
550
|
# Selector specifying which fields to include in a partial response.
|
596
551
|
# @param [String] quota_user
|
597
|
-
#
|
598
|
-
# characters.
|
599
|
-
# @param [String] user_ip
|
600
|
-
# Deprecated. Please use quotaUser instead.
|
552
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
553
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
601
554
|
# @param [Google::Apis::RequestOptions] options
|
602
555
|
# Request-specific options
|
603
556
|
#
|
@@ -610,8 +563,8 @@ module Google
|
|
610
563
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
611
564
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
612
565
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
613
|
-
def list_leaderboards(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
614
|
-
command = make_simple_command(:get, 'leaderboards', options)
|
566
|
+
def list_leaderboards(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
567
|
+
command = make_simple_command(:get, 'games/v1/leaderboards', options)
|
615
568
|
command.response_representation = Google::Apis::GamesV1::ListLeaderboardResponse::Representation
|
616
569
|
command.response_class = Google::Apis::GamesV1::ListLeaderboardResponse
|
617
570
|
command.query['language'] = language unless language.nil?
|
@@ -619,7 +572,6 @@ module Google
|
|
619
572
|
command.query['pageToken'] = page_token unless page_token.nil?
|
620
573
|
command.query['fields'] = fields unless fields.nil?
|
621
574
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
622
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
623
575
|
execute_or_queue_command(command, &block)
|
624
576
|
end
|
625
577
|
|
@@ -627,10 +579,8 @@ module Google
|
|
627
579
|
# @param [String] fields
|
628
580
|
# Selector specifying which fields to include in a partial response.
|
629
581
|
# @param [String] quota_user
|
630
|
-
#
|
631
|
-
# characters.
|
632
|
-
# @param [String] user_ip
|
633
|
-
# Deprecated. Please use quotaUser instead.
|
582
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
583
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
634
584
|
# @param [Google::Apis::RequestOptions] options
|
635
585
|
# Request-specific options
|
636
586
|
#
|
@@ -643,21 +593,20 @@ module Google
|
|
643
593
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
644
594
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
645
595
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
646
|
-
def get_metagame_config(fields: nil, quota_user: nil,
|
647
|
-
command = make_simple_command(:get, 'metagameConfig', options)
|
596
|
+
def get_metagame_config(fields: nil, quota_user: nil, options: nil, &block)
|
597
|
+
command = make_simple_command(:get, 'games/v1/metagameConfig', options)
|
648
598
|
command.response_representation = Google::Apis::GamesV1::MetagameConfig::Representation
|
649
599
|
command.response_class = Google::Apis::GamesV1::MetagameConfig
|
650
600
|
command.query['fields'] = fields unless fields.nil?
|
651
601
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
652
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
653
602
|
execute_or_queue_command(command, &block)
|
654
603
|
end
|
655
604
|
|
656
|
-
# List play data aggregated per category for the player corresponding to
|
657
|
-
# playerId
|
605
|
+
# List play data aggregated per category for the player corresponding to `
|
606
|
+
# playerId`.
|
658
607
|
# @param [String] player_id
|
659
|
-
# A player ID. A value of me may be used in place of the authenticated player'
|
660
|
-
# ID.
|
608
|
+
# A player ID. A value of `me` may be used in place of the authenticated player'
|
609
|
+
# s ID.
|
661
610
|
# @param [String] collection
|
662
611
|
# The collection of categories for which data will be returned.
|
663
612
|
# @param [String] language
|
@@ -665,16 +614,14 @@ module Google
|
|
665
614
|
# @param [Fixnum] max_results
|
666
615
|
# The maximum number of category resources to return in the response, used for
|
667
616
|
# paging. For any response, the actual number of category resources returned may
|
668
|
-
# be less than the specified maxResults
|
617
|
+
# be less than the specified `maxResults`.
|
669
618
|
# @param [String] page_token
|
670
619
|
# The token returned by the previous request.
|
671
620
|
# @param [String] fields
|
672
621
|
# Selector specifying which fields to include in a partial response.
|
673
622
|
# @param [String] quota_user
|
674
|
-
#
|
675
|
-
# characters.
|
676
|
-
# @param [String] user_ip
|
677
|
-
# Deprecated. Please use quotaUser instead.
|
623
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
624
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
678
625
|
# @param [Google::Apis::RequestOptions] options
|
679
626
|
# Request-specific options
|
680
627
|
#
|
@@ -687,8 +634,8 @@ module Google
|
|
687
634
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
688
635
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
689
636
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
690
|
-
def list_metagame_categories_by_player(player_id, collection, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
691
|
-
command = make_simple_command(:get, 'players/{playerId}/categories/{collection}', options)
|
637
|
+
def list_metagame_categories_by_player(player_id, collection, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
638
|
+
command = make_simple_command(:get, 'games/v1/players/{playerId}/categories/{collection}', options)
|
692
639
|
command.response_representation = Google::Apis::GamesV1::ListCategoryResponse::Representation
|
693
640
|
command.response_class = Google::Apis::GamesV1::ListCategoryResponse
|
694
641
|
command.params['playerId'] = player_id unless player_id.nil?
|
@@ -698,24 +645,21 @@ module Google
|
|
698
645
|
command.query['pageToken'] = page_token unless page_token.nil?
|
699
646
|
command.query['fields'] = fields unless fields.nil?
|
700
647
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
701
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
702
648
|
execute_or_queue_command(command, &block)
|
703
649
|
end
|
704
650
|
|
705
651
|
# Retrieves the Player resource with the given ID. To retrieve the player for
|
706
|
-
# the currently authenticated user, set playerId to me
|
652
|
+
# the currently authenticated user, set `playerId` to `me`.
|
707
653
|
# @param [String] player_id
|
708
|
-
# A player ID. A value of me may be used in place of the authenticated player'
|
709
|
-
# ID.
|
654
|
+
# A player ID. A value of `me` may be used in place of the authenticated player'
|
655
|
+
# s ID.
|
710
656
|
# @param [String] language
|
711
657
|
# The preferred language to use for strings returned by this method.
|
712
658
|
# @param [String] fields
|
713
659
|
# Selector specifying which fields to include in a partial response.
|
714
660
|
# @param [String] quota_user
|
715
|
-
#
|
716
|
-
# characters.
|
717
|
-
# @param [String] user_ip
|
718
|
-
# Deprecated. Please use quotaUser instead.
|
661
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
662
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
719
663
|
# @param [Google::Apis::RequestOptions] options
|
720
664
|
# Request-specific options
|
721
665
|
#
|
@@ -728,15 +672,14 @@ module Google
|
|
728
672
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
729
673
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
730
674
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
731
|
-
def get_player(player_id, language: nil, fields: nil, quota_user: nil,
|
732
|
-
command = make_simple_command(:get, 'players/{playerId}', options)
|
675
|
+
def get_player(player_id, language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
676
|
+
command = make_simple_command(:get, 'games/v1/players/{playerId}', options)
|
733
677
|
command.response_representation = Google::Apis::GamesV1::Player::Representation
|
734
678
|
command.response_class = Google::Apis::GamesV1::Player
|
735
679
|
command.params['playerId'] = player_id unless player_id.nil?
|
736
680
|
command.query['language'] = language unless language.nil?
|
737
681
|
command.query['fields'] = fields unless fields.nil?
|
738
682
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
739
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
740
683
|
execute_or_queue_command(command, &block)
|
741
684
|
end
|
742
685
|
|
@@ -748,16 +691,14 @@ module Google
|
|
748
691
|
# @param [Fixnum] max_results
|
749
692
|
# The maximum number of player resources to return in the response, used for
|
750
693
|
# paging. For any response, the actual number of player resources returned may
|
751
|
-
# be less than the specified maxResults
|
694
|
+
# be less than the specified `maxResults`.
|
752
695
|
# @param [String] page_token
|
753
696
|
# The token returned by the previous request.
|
754
697
|
# @param [String] fields
|
755
698
|
# Selector specifying which fields to include in a partial response.
|
756
699
|
# @param [String] quota_user
|
757
|
-
#
|
758
|
-
# characters.
|
759
|
-
# @param [String] user_ip
|
760
|
-
# Deprecated. Please use quotaUser instead.
|
700
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
701
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
761
702
|
# @param [Google::Apis::RequestOptions] options
|
762
703
|
# Request-specific options
|
763
704
|
#
|
@@ -770,8 +711,8 @@ module Google
|
|
770
711
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
771
712
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
772
713
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
773
|
-
def list_players(collection, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
774
|
-
command = make_simple_command(:get, 'players/me/players/{collection}', options)
|
714
|
+
def list_players(collection, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
715
|
+
command = make_simple_command(:get, 'games/v1/players/me/players/{collection}', options)
|
775
716
|
command.response_representation = Google::Apis::GamesV1::ListPlayerResponse::Representation
|
776
717
|
command.response_class = Google::Apis::GamesV1::ListPlayerResponse
|
777
718
|
command.params['collection'] = collection unless collection.nil?
|
@@ -780,88 +721,20 @@ module Google
|
|
780
721
|
command.query['pageToken'] = page_token unless page_token.nil?
|
781
722
|
command.query['fields'] = fields unless fields.nil?
|
782
723
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
783
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
784
|
-
execute_or_queue_command(command, &block)
|
785
|
-
end
|
786
|
-
|
787
|
-
# Removes a push token for the current user and application. Removing a non-
|
788
|
-
# existent push token will report success.
|
789
|
-
# @param [Google::Apis::GamesV1::PushTokenId] push_token_id_object
|
790
|
-
# @param [String] fields
|
791
|
-
# Selector specifying which fields to include in a partial response.
|
792
|
-
# @param [String] quota_user
|
793
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
794
|
-
# characters.
|
795
|
-
# @param [String] user_ip
|
796
|
-
# Deprecated. Please use quotaUser instead.
|
797
|
-
# @param [Google::Apis::RequestOptions] options
|
798
|
-
# Request-specific options
|
799
|
-
#
|
800
|
-
# @yield [result, err] Result & error if block supplied
|
801
|
-
# @yieldparam result [NilClass] No result returned for this method
|
802
|
-
# @yieldparam err [StandardError] error object if request failed
|
803
|
-
#
|
804
|
-
# @return [void]
|
805
|
-
#
|
806
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
807
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
808
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
809
|
-
def remove_pushtoken(push_token_id_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
810
|
-
command = make_simple_command(:post, 'pushtokens/remove', options)
|
811
|
-
command.request_representation = Google::Apis::GamesV1::PushTokenId::Representation
|
812
|
-
command.request_object = push_token_id_object
|
813
|
-
command.query['fields'] = fields unless fields.nil?
|
814
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
815
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
816
|
-
execute_or_queue_command(command, &block)
|
817
|
-
end
|
818
|
-
|
819
|
-
# Registers a push token for the current user and application.
|
820
|
-
# @param [Google::Apis::GamesV1::PushToken] push_token_object
|
821
|
-
# @param [String] fields
|
822
|
-
# Selector specifying which fields to include in a partial response.
|
823
|
-
# @param [String] quota_user
|
824
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
825
|
-
# characters.
|
826
|
-
# @param [String] user_ip
|
827
|
-
# Deprecated. Please use quotaUser instead.
|
828
|
-
# @param [Google::Apis::RequestOptions] options
|
829
|
-
# Request-specific options
|
830
|
-
#
|
831
|
-
# @yield [result, err] Result & error if block supplied
|
832
|
-
# @yieldparam result [NilClass] No result returned for this method
|
833
|
-
# @yieldparam err [StandardError] error object if request failed
|
834
|
-
#
|
835
|
-
# @return [void]
|
836
|
-
#
|
837
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
838
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
839
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
840
|
-
def update_pushtoken(push_token_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
841
|
-
command = make_simple_command(:put, 'pushtokens', options)
|
842
|
-
command.request_representation = Google::Apis::GamesV1::PushToken::Representation
|
843
|
-
command.request_object = push_token_object
|
844
|
-
command.query['fields'] = fields unless fields.nil?
|
845
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
846
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
847
724
|
execute_or_queue_command(command, &block)
|
848
725
|
end
|
849
726
|
|
850
727
|
# Checks whether the games client is out of date.
|
851
728
|
# @param [String] client_revision
|
852
|
-
# The revision of the client SDK used by your application. Format:
|
853
|
-
#
|
854
|
-
#
|
855
|
-
#
|
856
|
-
# - "IOS" - Client is running the iOS SDK.
|
857
|
-
# - "WEB_APP" - Client is running as a Web App.
|
729
|
+
# The revision of the client SDK used by your application. Format: `[
|
730
|
+
# PLATFORM_TYPE]:[VERSION_NUMBER]`. Possible values of `PLATFORM_TYPE` are: * `
|
731
|
+
# ANDROID` - Client is running the Android SDK. * `IOS` - Client is running the
|
732
|
+
# iOS SDK. * `WEB_APP` - Client is running as a Web App.
|
858
733
|
# @param [String] fields
|
859
734
|
# Selector specifying which fields to include in a partial response.
|
860
735
|
# @param [String] quota_user
|
861
|
-
#
|
862
|
-
# characters.
|
863
|
-
# @param [String] user_ip
|
864
|
-
# Deprecated. Please use quotaUser instead.
|
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.
|
865
738
|
# @param [Google::Apis::RequestOptions] options
|
866
739
|
# Request-specific options
|
867
740
|
#
|
@@ -874,328 +747,24 @@ module Google
|
|
874
747
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
875
748
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
876
749
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
877
|
-
def check_revision(client_revision, fields: nil, quota_user: nil,
|
878
|
-
command = make_simple_command(:get, 'revisions/check', options)
|
750
|
+
def check_revision(client_revision, fields: nil, quota_user: nil, options: nil, &block)
|
751
|
+
command = make_simple_command(:get, 'games/v1/revisions/check', options)
|
879
752
|
command.response_representation = Google::Apis::GamesV1::CheckRevisionResponse::Representation
|
880
753
|
command.response_class = Google::Apis::GamesV1::CheckRevisionResponse
|
881
754
|
command.query['clientRevision'] = client_revision unless client_revision.nil?
|
882
755
|
command.query['fields'] = fields unless fields.nil?
|
883
756
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
884
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
885
|
-
execute_or_queue_command(command, &block)
|
886
|
-
end
|
887
|
-
|
888
|
-
# Create a room. For internal use by the Games SDK only. Calling this method
|
889
|
-
# directly is unsupported.
|
890
|
-
# @param [Google::Apis::GamesV1::CreateRoomRequest] create_room_request_object
|
891
|
-
# @param [String] language
|
892
|
-
# The preferred language to use for strings returned by this method.
|
893
|
-
# @param [String] fields
|
894
|
-
# Selector specifying which fields to include in a partial response.
|
895
|
-
# @param [String] quota_user
|
896
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
897
|
-
# characters.
|
898
|
-
# @param [String] user_ip
|
899
|
-
# Deprecated. Please use quotaUser instead.
|
900
|
-
# @param [Google::Apis::RequestOptions] options
|
901
|
-
# Request-specific options
|
902
|
-
#
|
903
|
-
# @yield [result, err] Result & error if block supplied
|
904
|
-
# @yieldparam result [Google::Apis::GamesV1::Room] parsed result object
|
905
|
-
# @yieldparam err [StandardError] error object if request failed
|
906
|
-
#
|
907
|
-
# @return [Google::Apis::GamesV1::Room]
|
908
|
-
#
|
909
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
910
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
911
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
912
|
-
def create_room(create_room_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
913
|
-
command = make_simple_command(:post, 'rooms/create', options)
|
914
|
-
command.request_representation = Google::Apis::GamesV1::CreateRoomRequest::Representation
|
915
|
-
command.request_object = create_room_request_object
|
916
|
-
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
917
|
-
command.response_class = Google::Apis::GamesV1::Room
|
918
|
-
command.query['language'] = language unless language.nil?
|
919
|
-
command.query['fields'] = fields unless fields.nil?
|
920
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
921
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
922
|
-
execute_or_queue_command(command, &block)
|
923
|
-
end
|
924
|
-
|
925
|
-
# Decline an invitation to join a room. For internal use by the Games SDK only.
|
926
|
-
# Calling this method directly is unsupported.
|
927
|
-
# @param [String] room_id
|
928
|
-
# The ID of the room.
|
929
|
-
# @param [String] language
|
930
|
-
# The preferred language to use for strings returned by this method.
|
931
|
-
# @param [String] fields
|
932
|
-
# Selector specifying which fields to include in a partial response.
|
933
|
-
# @param [String] quota_user
|
934
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
935
|
-
# characters.
|
936
|
-
# @param [String] user_ip
|
937
|
-
# Deprecated. Please use quotaUser instead.
|
938
|
-
# @param [Google::Apis::RequestOptions] options
|
939
|
-
# Request-specific options
|
940
|
-
#
|
941
|
-
# @yield [result, err] Result & error if block supplied
|
942
|
-
# @yieldparam result [Google::Apis::GamesV1::Room] parsed result object
|
943
|
-
# @yieldparam err [StandardError] error object if request failed
|
944
|
-
#
|
945
|
-
# @return [Google::Apis::GamesV1::Room]
|
946
|
-
#
|
947
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
948
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
949
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
950
|
-
def decline_room(room_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
951
|
-
command = make_simple_command(:post, 'rooms/{roomId}/decline', options)
|
952
|
-
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
953
|
-
command.response_class = Google::Apis::GamesV1::Room
|
954
|
-
command.params['roomId'] = room_id unless room_id.nil?
|
955
|
-
command.query['language'] = language unless language.nil?
|
956
|
-
command.query['fields'] = fields unless fields.nil?
|
957
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
958
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
959
|
-
execute_or_queue_command(command, &block)
|
960
|
-
end
|
961
|
-
|
962
|
-
# Dismiss an invitation to join a room. For internal use by the Games SDK only.
|
963
|
-
# Calling this method directly is unsupported.
|
964
|
-
# @param [String] room_id
|
965
|
-
# The ID of the room.
|
966
|
-
# @param [String] fields
|
967
|
-
# Selector specifying which fields to include in a partial response.
|
968
|
-
# @param [String] quota_user
|
969
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
970
|
-
# characters.
|
971
|
-
# @param [String] user_ip
|
972
|
-
# Deprecated. Please use quotaUser instead.
|
973
|
-
# @param [Google::Apis::RequestOptions] options
|
974
|
-
# Request-specific options
|
975
|
-
#
|
976
|
-
# @yield [result, err] Result & error if block supplied
|
977
|
-
# @yieldparam result [NilClass] No result returned for this method
|
978
|
-
# @yieldparam err [StandardError] error object if request failed
|
979
|
-
#
|
980
|
-
# @return [void]
|
981
|
-
#
|
982
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
983
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
984
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
985
|
-
def dismiss_room(room_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
986
|
-
command = make_simple_command(:post, 'rooms/{roomId}/dismiss', options)
|
987
|
-
command.params['roomId'] = room_id unless room_id.nil?
|
988
|
-
command.query['fields'] = fields unless fields.nil?
|
989
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
990
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
991
|
-
execute_or_queue_command(command, &block)
|
992
|
-
end
|
993
|
-
|
994
|
-
# Get the data for a room.
|
995
|
-
# @param [String] room_id
|
996
|
-
# The ID of the room.
|
997
|
-
# @param [String] language
|
998
|
-
# The preferred language to use for strings returned by this method.
|
999
|
-
# @param [String] fields
|
1000
|
-
# Selector specifying which fields to include in a partial response.
|
1001
|
-
# @param [String] quota_user
|
1002
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1003
|
-
# characters.
|
1004
|
-
# @param [String] user_ip
|
1005
|
-
# Deprecated. Please use quotaUser instead.
|
1006
|
-
# @param [Google::Apis::RequestOptions] options
|
1007
|
-
# Request-specific options
|
1008
|
-
#
|
1009
|
-
# @yield [result, err] Result & error if block supplied
|
1010
|
-
# @yieldparam result [Google::Apis::GamesV1::Room] parsed result object
|
1011
|
-
# @yieldparam err [StandardError] error object if request failed
|
1012
|
-
#
|
1013
|
-
# @return [Google::Apis::GamesV1::Room]
|
1014
|
-
#
|
1015
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1016
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1017
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1018
|
-
def get_room(room_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1019
|
-
command = make_simple_command(:get, 'rooms/{roomId}', options)
|
1020
|
-
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
1021
|
-
command.response_class = Google::Apis::GamesV1::Room
|
1022
|
-
command.params['roomId'] = room_id unless room_id.nil?
|
1023
|
-
command.query['language'] = language unless language.nil?
|
1024
|
-
command.query['fields'] = fields unless fields.nil?
|
1025
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1026
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1027
|
-
execute_or_queue_command(command, &block)
|
1028
|
-
end
|
1029
|
-
|
1030
|
-
# Join a room. For internal use by the Games SDK only. Calling this method
|
1031
|
-
# directly is unsupported.
|
1032
|
-
# @param [String] room_id
|
1033
|
-
# The ID of the room.
|
1034
|
-
# @param [Google::Apis::GamesV1::JoinRoomRequest] join_room_request_object
|
1035
|
-
# @param [String] language
|
1036
|
-
# The preferred language to use for strings returned by this method.
|
1037
|
-
# @param [String] fields
|
1038
|
-
# Selector specifying which fields to include in a partial response.
|
1039
|
-
# @param [String] quota_user
|
1040
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1041
|
-
# characters.
|
1042
|
-
# @param [String] user_ip
|
1043
|
-
# Deprecated. Please use quotaUser instead.
|
1044
|
-
# @param [Google::Apis::RequestOptions] options
|
1045
|
-
# Request-specific options
|
1046
|
-
#
|
1047
|
-
# @yield [result, err] Result & error if block supplied
|
1048
|
-
# @yieldparam result [Google::Apis::GamesV1::Room] parsed result object
|
1049
|
-
# @yieldparam err [StandardError] error object if request failed
|
1050
|
-
#
|
1051
|
-
# @return [Google::Apis::GamesV1::Room]
|
1052
|
-
#
|
1053
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1054
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1055
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1056
|
-
def join_room(room_id, join_room_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1057
|
-
command = make_simple_command(:post, 'rooms/{roomId}/join', options)
|
1058
|
-
command.request_representation = Google::Apis::GamesV1::JoinRoomRequest::Representation
|
1059
|
-
command.request_object = join_room_request_object
|
1060
|
-
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
1061
|
-
command.response_class = Google::Apis::GamesV1::Room
|
1062
|
-
command.params['roomId'] = room_id unless room_id.nil?
|
1063
|
-
command.query['language'] = language unless language.nil?
|
1064
|
-
command.query['fields'] = fields unless fields.nil?
|
1065
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1066
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1067
|
-
execute_or_queue_command(command, &block)
|
1068
|
-
end
|
1069
|
-
|
1070
|
-
# Leave a room. For internal use by the Games SDK only. Calling this method
|
1071
|
-
# directly is unsupported.
|
1072
|
-
# @param [String] room_id
|
1073
|
-
# The ID of the room.
|
1074
|
-
# @param [Google::Apis::GamesV1::LeaveRoomRequest] leave_room_request_object
|
1075
|
-
# @param [String] language
|
1076
|
-
# The preferred language to use for strings returned by this method.
|
1077
|
-
# @param [String] fields
|
1078
|
-
# Selector specifying which fields to include in a partial response.
|
1079
|
-
# @param [String] quota_user
|
1080
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1081
|
-
# characters.
|
1082
|
-
# @param [String] user_ip
|
1083
|
-
# Deprecated. Please use quotaUser instead.
|
1084
|
-
# @param [Google::Apis::RequestOptions] options
|
1085
|
-
# Request-specific options
|
1086
|
-
#
|
1087
|
-
# @yield [result, err] Result & error if block supplied
|
1088
|
-
# @yieldparam result [Google::Apis::GamesV1::Room] parsed result object
|
1089
|
-
# @yieldparam err [StandardError] error object if request failed
|
1090
|
-
#
|
1091
|
-
# @return [Google::Apis::GamesV1::Room]
|
1092
|
-
#
|
1093
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1094
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1095
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1096
|
-
def leave_room(room_id, leave_room_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1097
|
-
command = make_simple_command(:post, 'rooms/{roomId}/leave', options)
|
1098
|
-
command.request_representation = Google::Apis::GamesV1::LeaveRoomRequest::Representation
|
1099
|
-
command.request_object = leave_room_request_object
|
1100
|
-
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
1101
|
-
command.response_class = Google::Apis::GamesV1::Room
|
1102
|
-
command.params['roomId'] = room_id unless room_id.nil?
|
1103
|
-
command.query['language'] = language unless language.nil?
|
1104
|
-
command.query['fields'] = fields unless fields.nil?
|
1105
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1106
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1107
|
-
execute_or_queue_command(command, &block)
|
1108
|
-
end
|
1109
|
-
|
1110
|
-
# Returns invitations to join rooms.
|
1111
|
-
# @param [String] language
|
1112
|
-
# The preferred language to use for strings returned by this method.
|
1113
|
-
# @param [Fixnum] max_results
|
1114
|
-
# The maximum number of rooms to return in the response, used for paging. For
|
1115
|
-
# any response, the actual number of rooms to return may be less than the
|
1116
|
-
# specified maxResults.
|
1117
|
-
# @param [String] page_token
|
1118
|
-
# The token returned by the previous request.
|
1119
|
-
# @param [String] fields
|
1120
|
-
# Selector specifying which fields to include in a partial response.
|
1121
|
-
# @param [String] quota_user
|
1122
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1123
|
-
# characters.
|
1124
|
-
# @param [String] user_ip
|
1125
|
-
# Deprecated. Please use quotaUser instead.
|
1126
|
-
# @param [Google::Apis::RequestOptions] options
|
1127
|
-
# Request-specific options
|
1128
|
-
#
|
1129
|
-
# @yield [result, err] Result & error if block supplied
|
1130
|
-
# @yieldparam result [Google::Apis::GamesV1::RoomList] parsed result object
|
1131
|
-
# @yieldparam err [StandardError] error object if request failed
|
1132
|
-
#
|
1133
|
-
# @return [Google::Apis::GamesV1::RoomList]
|
1134
|
-
#
|
1135
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1136
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1137
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1138
|
-
def list_rooms(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1139
|
-
command = make_simple_command(:get, 'rooms', options)
|
1140
|
-
command.response_representation = Google::Apis::GamesV1::RoomList::Representation
|
1141
|
-
command.response_class = Google::Apis::GamesV1::RoomList
|
1142
|
-
command.query['language'] = language unless language.nil?
|
1143
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
1144
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1145
|
-
command.query['fields'] = fields unless fields.nil?
|
1146
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1147
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1148
|
-
execute_or_queue_command(command, &block)
|
1149
|
-
end
|
1150
|
-
|
1151
|
-
# Updates sent by a client reporting the status of peers in a room. For internal
|
1152
|
-
# use by the Games SDK only. Calling this method directly is unsupported.
|
1153
|
-
# @param [String] room_id
|
1154
|
-
# The ID of the room.
|
1155
|
-
# @param [Google::Apis::GamesV1::RoomP2PStatuses] room_p2_p_statuses_object
|
1156
|
-
# @param [String] language
|
1157
|
-
# The preferred language to use for strings returned by this method.
|
1158
|
-
# @param [String] fields
|
1159
|
-
# Selector specifying which fields to include in a partial response.
|
1160
|
-
# @param [String] quota_user
|
1161
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1162
|
-
# characters.
|
1163
|
-
# @param [String] user_ip
|
1164
|
-
# Deprecated. Please use quotaUser instead.
|
1165
|
-
# @param [Google::Apis::RequestOptions] options
|
1166
|
-
# Request-specific options
|
1167
|
-
#
|
1168
|
-
# @yield [result, err] Result & error if block supplied
|
1169
|
-
# @yieldparam result [Google::Apis::GamesV1::RoomStatus] parsed result object
|
1170
|
-
# @yieldparam err [StandardError] error object if request failed
|
1171
|
-
#
|
1172
|
-
# @return [Google::Apis::GamesV1::RoomStatus]
|
1173
|
-
#
|
1174
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1175
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1176
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1177
|
-
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)
|
1178
|
-
command = make_simple_command(:post, 'rooms/{roomId}/reportstatus', options)
|
1179
|
-
command.request_representation = Google::Apis::GamesV1::RoomP2PStatuses::Representation
|
1180
|
-
command.request_object = room_p2_p_statuses_object
|
1181
|
-
command.response_representation = Google::Apis::GamesV1::RoomStatus::Representation
|
1182
|
-
command.response_class = Google::Apis::GamesV1::RoomStatus
|
1183
|
-
command.params['roomId'] = room_id unless room_id.nil?
|
1184
|
-
command.query['language'] = language unless language.nil?
|
1185
|
-
command.query['fields'] = fields unless fields.nil?
|
1186
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1187
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1188
757
|
execute_or_queue_command(command, &block)
|
1189
758
|
end
|
1190
759
|
|
1191
760
|
# Get high scores, and optionally ranks, in leaderboards for the currently
|
1192
|
-
# authenticated player. For a specific time span, leaderboardId can be set to
|
1193
|
-
# ALL to retrieve data for all leaderboards in a given time span.
|
1194
|
-
#
|
1195
|
-
#
|
761
|
+
# authenticated player. For a specific time span, `leaderboardId` can be set to `
|
762
|
+
# ALL` to retrieve data for all leaderboards in a given time span. `NOTE: You
|
763
|
+
# cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request;
|
764
|
+
# only one parameter may be set to 'ALL'.
|
1196
765
|
# @param [String] player_id
|
1197
|
-
# A player ID. A value of me may be used in place of the authenticated player'
|
1198
|
-
# ID.
|
766
|
+
# A player ID. A value of `me` may be used in place of the authenticated player'
|
767
|
+
# s ID.
|
1199
768
|
# @param [String] leaderboard_id
|
1200
769
|
# The ID of the leaderboard. Can be set to 'ALL' to retrieve data for all
|
1201
770
|
# leaderboards for this application.
|
@@ -1209,16 +778,14 @@ module Google
|
|
1209
778
|
# @param [Fixnum] max_results
|
1210
779
|
# The maximum number of leaderboard scores to return in the response. For any
|
1211
780
|
# response, the actual number of leaderboard scores returned may be less than
|
1212
|
-
# the specified maxResults
|
781
|
+
# the specified `maxResults`.
|
1213
782
|
# @param [String] page_token
|
1214
783
|
# The token returned by the previous request.
|
1215
784
|
# @param [String] fields
|
1216
785
|
# Selector specifying which fields to include in a partial response.
|
1217
786
|
# @param [String] quota_user
|
1218
|
-
#
|
1219
|
-
# characters.
|
1220
|
-
# @param [String] user_ip
|
1221
|
-
# Deprecated. Please use quotaUser instead.
|
787
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
788
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1222
789
|
# @param [Google::Apis::RequestOptions] options
|
1223
790
|
# Request-specific options
|
1224
791
|
#
|
@@ -1231,8 +798,8 @@ module Google
|
|
1231
798
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1232
799
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1233
800
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1234
|
-
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,
|
1235
|
-
command = make_simple_command(:get, 'players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}', options)
|
801
|
+
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, options: nil, &block)
|
802
|
+
command = make_simple_command(:get, 'games/v1/players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}', options)
|
1236
803
|
command.response_representation = Google::Apis::GamesV1::ListPlayerLeaderboardScoreResponse::Representation
|
1237
804
|
command.response_class = Google::Apis::GamesV1::ListPlayerLeaderboardScoreResponse
|
1238
805
|
command.params['playerId'] = player_id unless player_id.nil?
|
@@ -1244,7 +811,6 @@ module Google
|
|
1244
811
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1245
812
|
command.query['fields'] = fields unless fields.nil?
|
1246
813
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1247
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1248
814
|
execute_or_queue_command(command, &block)
|
1249
815
|
end
|
1250
816
|
|
@@ -1260,16 +826,14 @@ module Google
|
|
1260
826
|
# @param [Fixnum] max_results
|
1261
827
|
# The maximum number of leaderboard scores to return in the response. For any
|
1262
828
|
# response, the actual number of leaderboard scores returned may be less than
|
1263
|
-
# the specified maxResults
|
829
|
+
# the specified `maxResults`.
|
1264
830
|
# @param [String] page_token
|
1265
831
|
# The token returned by the previous request.
|
1266
832
|
# @param [String] fields
|
1267
833
|
# Selector specifying which fields to include in a partial response.
|
1268
834
|
# @param [String] quota_user
|
1269
|
-
#
|
1270
|
-
# characters.
|
1271
|
-
# @param [String] user_ip
|
1272
|
-
# Deprecated. Please use quotaUser instead.
|
835
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
836
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1273
837
|
# @param [Google::Apis::RequestOptions] options
|
1274
838
|
# Request-specific options
|
1275
839
|
#
|
@@ -1282,8 +846,8 @@ module Google
|
|
1282
846
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1283
847
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1284
848
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1285
|
-
def list_scores(leaderboard_id, collection, time_span, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
1286
|
-
command = make_simple_command(:get, 'leaderboards/{leaderboardId}/scores/{collection}', options)
|
849
|
+
def list_scores(leaderboard_id, collection, time_span, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
850
|
+
command = make_simple_command(:get, 'games/v1/leaderboards/{leaderboardId}/scores/{collection}', options)
|
1287
851
|
command.response_representation = Google::Apis::GamesV1::LeaderboardScores::Representation
|
1288
852
|
command.response_class = Google::Apis::GamesV1::LeaderboardScores
|
1289
853
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
@@ -1294,7 +858,6 @@ module Google
|
|
1294
858
|
command.query['timeSpan'] = time_span unless time_span.nil?
|
1295
859
|
command.query['fields'] = fields unless fields.nil?
|
1296
860
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1297
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1298
861
|
execute_or_queue_command(command, &block)
|
1299
862
|
end
|
1300
863
|
|
@@ -1310,7 +873,7 @@ module Google
|
|
1310
873
|
# @param [Fixnum] max_results
|
1311
874
|
# The maximum number of leaderboard scores to return in the response. For any
|
1312
875
|
# response, the actual number of leaderboard scores returned may be less than
|
1313
|
-
# the specified maxResults
|
876
|
+
# the specified `maxResults`.
|
1314
877
|
# @param [String] page_token
|
1315
878
|
# The token returned by the previous request.
|
1316
879
|
# @param [Fixnum] results_above
|
@@ -1324,10 +887,8 @@ module Google
|
|
1324
887
|
# @param [String] fields
|
1325
888
|
# Selector specifying which fields to include in a partial response.
|
1326
889
|
# @param [String] quota_user
|
1327
|
-
#
|
1328
|
-
# characters.
|
1329
|
-
# @param [String] user_ip
|
1330
|
-
# Deprecated. Please use quotaUser instead.
|
890
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
891
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1331
892
|
# @param [Google::Apis::RequestOptions] options
|
1332
893
|
# Request-specific options
|
1333
894
|
#
|
@@ -1340,8 +901,8 @@ module Google
|
|
1340
901
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1341
902
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1342
903
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1343
|
-
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,
|
1344
|
-
command = make_simple_command(:get, 'leaderboards/{leaderboardId}/window/{collection}', options)
|
904
|
+
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, options: nil, &block)
|
905
|
+
command = make_simple_command(:get, 'games/v1/leaderboards/{leaderboardId}/window/{collection}', options)
|
1345
906
|
command.response_representation = Google::Apis::GamesV1::LeaderboardScores::Representation
|
1346
907
|
command.response_class = Google::Apis::GamesV1::LeaderboardScores
|
1347
908
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
@@ -1354,7 +915,6 @@ module Google
|
|
1354
915
|
command.query['timeSpan'] = time_span unless time_span.nil?
|
1355
916
|
command.query['fields'] = fields unless fields.nil?
|
1356
917
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1357
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1358
918
|
execute_or_queue_command(command, &block)
|
1359
919
|
end
|
1360
920
|
|
@@ -1376,10 +936,8 @@ module Google
|
|
1376
936
|
# @param [String] fields
|
1377
937
|
# Selector specifying which fields to include in a partial response.
|
1378
938
|
# @param [String] quota_user
|
1379
|
-
#
|
1380
|
-
# characters.
|
1381
|
-
# @param [String] user_ip
|
1382
|
-
# Deprecated. Please use quotaUser instead.
|
939
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
940
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1383
941
|
# @param [Google::Apis::RequestOptions] options
|
1384
942
|
# Request-specific options
|
1385
943
|
#
|
@@ -1392,8 +950,8 @@ module Google
|
|
1392
950
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1393
951
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1394
952
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1395
|
-
def submit_score(leaderboard_id, score, language: nil, score_tag: nil, fields: nil, quota_user: nil,
|
1396
|
-
command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores', options)
|
953
|
+
def submit_score(leaderboard_id, score, language: nil, score_tag: nil, fields: nil, quota_user: nil, options: nil, &block)
|
954
|
+
command = make_simple_command(:post, 'games/v1/leaderboards/{leaderboardId}/scores', options)
|
1397
955
|
command.response_representation = Google::Apis::GamesV1::PlayerScoreResponse::Representation
|
1398
956
|
command.response_class = Google::Apis::GamesV1::PlayerScoreResponse
|
1399
957
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
@@ -1402,7 +960,6 @@ module Google
|
|
1402
960
|
command.query['scoreTag'] = score_tag unless score_tag.nil?
|
1403
961
|
command.query['fields'] = fields unless fields.nil?
|
1404
962
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1405
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1406
963
|
execute_or_queue_command(command, &block)
|
1407
964
|
end
|
1408
965
|
|
@@ -1413,10 +970,8 @@ module Google
|
|
1413
970
|
# @param [String] fields
|
1414
971
|
# Selector specifying which fields to include in a partial response.
|
1415
972
|
# @param [String] quota_user
|
1416
|
-
#
|
1417
|
-
# characters.
|
1418
|
-
# @param [String] user_ip
|
1419
|
-
# Deprecated. Please use quotaUser instead.
|
973
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
974
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1420
975
|
# @param [Google::Apis::RequestOptions] options
|
1421
976
|
# Request-specific options
|
1422
977
|
#
|
@@ -1429,8 +984,8 @@ module Google
|
|
1429
984
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1430
985
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1431
986
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1432
|
-
def submit_score_multiple(player_score_submission_list_object = nil, language: nil, fields: nil, quota_user: nil,
|
1433
|
-
command = make_simple_command(:post, 'leaderboards/scores', options)
|
987
|
+
def submit_score_multiple(player_score_submission_list_object = nil, language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
988
|
+
command = make_simple_command(:post, 'games/v1/leaderboards/scores', options)
|
1434
989
|
command.request_representation = Google::Apis::GamesV1::PlayerScoreSubmissionList::Representation
|
1435
990
|
command.request_object = player_score_submission_list_object
|
1436
991
|
command.response_representation = Google::Apis::GamesV1::ListPlayerScoreResponse::Representation
|
@@ -1438,7 +993,6 @@ module Google
|
|
1438
993
|
command.query['language'] = language unless language.nil?
|
1439
994
|
command.query['fields'] = fields unless fields.nil?
|
1440
995
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1441
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1442
996
|
execute_or_queue_command(command, &block)
|
1443
997
|
end
|
1444
998
|
|
@@ -1450,10 +1004,8 @@ module Google
|
|
1450
1004
|
# @param [String] fields
|
1451
1005
|
# Selector specifying which fields to include in a partial response.
|
1452
1006
|
# @param [String] quota_user
|
1453
|
-
#
|
1454
|
-
# characters.
|
1455
|
-
# @param [String] user_ip
|
1456
|
-
# Deprecated. Please use quotaUser instead.
|
1007
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1008
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1457
1009
|
# @param [Google::Apis::RequestOptions] options
|
1458
1010
|
# Request-specific options
|
1459
1011
|
#
|
@@ -1466,38 +1018,35 @@ module Google
|
|
1466
1018
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1467
1019
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1468
1020
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1469
|
-
def get_snapshot(snapshot_id, language: nil, fields: nil, quota_user: nil,
|
1470
|
-
command = make_simple_command(:get, 'snapshots/{snapshotId}', options)
|
1021
|
+
def get_snapshot(snapshot_id, language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1022
|
+
command = make_simple_command(:get, 'games/v1/snapshots/{snapshotId}', options)
|
1471
1023
|
command.response_representation = Google::Apis::GamesV1::Snapshot::Representation
|
1472
1024
|
command.response_class = Google::Apis::GamesV1::Snapshot
|
1473
1025
|
command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
|
1474
1026
|
command.query['language'] = language unless language.nil?
|
1475
1027
|
command.query['fields'] = fields unless fields.nil?
|
1476
1028
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1477
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1478
1029
|
execute_or_queue_command(command, &block)
|
1479
1030
|
end
|
1480
1031
|
|
1481
1032
|
# Retrieves a list of snapshots created by your application for the player
|
1482
1033
|
# corresponding to the player ID.
|
1483
1034
|
# @param [String] player_id
|
1484
|
-
# A player ID. A value of me may be used in place of the authenticated player'
|
1485
|
-
# ID.
|
1035
|
+
# A player ID. A value of `me` may be used in place of the authenticated player'
|
1036
|
+
# s ID.
|
1486
1037
|
# @param [String] language
|
1487
1038
|
# The preferred language to use for strings returned by this method.
|
1488
1039
|
# @param [Fixnum] max_results
|
1489
1040
|
# The maximum number of snapshot resources to return in the response, used for
|
1490
1041
|
# paging. For any response, the actual number of snapshot resources returned may
|
1491
|
-
# be less than the specified maxResults
|
1042
|
+
# be less than the specified `maxResults`.
|
1492
1043
|
# @param [String] page_token
|
1493
1044
|
# The token returned by the previous request.
|
1494
1045
|
# @param [String] fields
|
1495
1046
|
# Selector specifying which fields to include in a partial response.
|
1496
1047
|
# @param [String] quota_user
|
1497
|
-
#
|
1498
|
-
# characters.
|
1499
|
-
# @param [String] user_ip
|
1500
|
-
# Deprecated. Please use quotaUser instead.
|
1048
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1049
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1501
1050
|
# @param [Google::Apis::RequestOptions] options
|
1502
1051
|
# Request-specific options
|
1503
1052
|
#
|
@@ -1510,8 +1059,8 @@ module Google
|
|
1510
1059
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1511
1060
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1512
1061
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1513
|
-
def list_snapshots(player_id, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
1514
|
-
command = make_simple_command(:get, 'players/{playerId}/snapshots', options)
|
1062
|
+
def list_snapshots(player_id, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1063
|
+
command = make_simple_command(:get, 'games/v1/players/{playerId}/snapshots', options)
|
1515
1064
|
command.response_representation = Google::Apis::GamesV1::ListSnapshotResponse::Representation
|
1516
1065
|
command.response_class = Google::Apis::GamesV1::ListSnapshotResponse
|
1517
1066
|
command.params['playerId'] = player_id unless player_id.nil?
|
@@ -1520,530 +1069,34 @@ module Google
|
|
1520
1069
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1521
1070
|
command.query['fields'] = fields unless fields.nil?
|
1522
1071
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1523
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1524
|
-
execute_or_queue_command(command, &block)
|
1525
|
-
end
|
1526
|
-
|
1527
|
-
# Cancel a turn-based match.
|
1528
|
-
# @param [String] match_id
|
1529
|
-
# The ID of the match.
|
1530
|
-
# @param [String] fields
|
1531
|
-
# Selector specifying which fields to include in a partial response.
|
1532
|
-
# @param [String] quota_user
|
1533
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1534
|
-
# characters.
|
1535
|
-
# @param [String] user_ip
|
1536
|
-
# Deprecated. Please use quotaUser instead.
|
1537
|
-
# @param [Google::Apis::RequestOptions] options
|
1538
|
-
# Request-specific options
|
1539
|
-
#
|
1540
|
-
# @yield [result, err] Result & error if block supplied
|
1541
|
-
# @yieldparam result [NilClass] No result returned for this method
|
1542
|
-
# @yieldparam err [StandardError] error object if request failed
|
1543
|
-
#
|
1544
|
-
# @return [void]
|
1545
|
-
#
|
1546
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1547
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1548
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1549
|
-
def cancel_turn_based_match(match_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1550
|
-
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/cancel', options)
|
1551
|
-
command.params['matchId'] = match_id unless match_id.nil?
|
1552
|
-
command.query['fields'] = fields unless fields.nil?
|
1553
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1554
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1555
|
-
execute_or_queue_command(command, &block)
|
1556
|
-
end
|
1557
|
-
|
1558
|
-
# Create a turn-based match.
|
1559
|
-
# @param [Google::Apis::GamesV1::CreateTurnBasedMatchRequest] create_turn_based_match_request_object
|
1560
|
-
# @param [String] language
|
1561
|
-
# The preferred language to use for strings returned by this method.
|
1562
|
-
# @param [String] fields
|
1563
|
-
# Selector specifying which fields to include in a partial response.
|
1564
|
-
# @param [String] quota_user
|
1565
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1566
|
-
# characters.
|
1567
|
-
# @param [String] user_ip
|
1568
|
-
# Deprecated. Please use quotaUser instead.
|
1569
|
-
# @param [Google::Apis::RequestOptions] options
|
1570
|
-
# Request-specific options
|
1571
|
-
#
|
1572
|
-
# @yield [result, err] Result & error if block supplied
|
1573
|
-
# @yieldparam result [Google::Apis::GamesV1::TurnBasedMatch] parsed result object
|
1574
|
-
# @yieldparam err [StandardError] error object if request failed
|
1575
|
-
#
|
1576
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatch]
|
1577
|
-
#
|
1578
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1579
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1580
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1581
|
-
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)
|
1582
|
-
command = make_simple_command(:post, 'turnbasedmatches/create', options)
|
1583
|
-
command.request_representation = Google::Apis::GamesV1::CreateTurnBasedMatchRequest::Representation
|
1584
|
-
command.request_object = create_turn_based_match_request_object
|
1585
|
-
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1586
|
-
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1587
|
-
command.query['language'] = language unless language.nil?
|
1588
|
-
command.query['fields'] = fields unless fields.nil?
|
1589
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1590
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1591
|
-
execute_or_queue_command(command, &block)
|
1592
|
-
end
|
1593
|
-
|
1594
|
-
# Decline an invitation to play a turn-based match.
|
1595
|
-
# @param [String] match_id
|
1596
|
-
# The ID of the match.
|
1597
|
-
# @param [String] language
|
1598
|
-
# The preferred language to use for strings returned by this method.
|
1599
|
-
# @param [String] fields
|
1600
|
-
# Selector specifying which fields to include in a partial response.
|
1601
|
-
# @param [String] quota_user
|
1602
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1603
|
-
# characters.
|
1604
|
-
# @param [String] user_ip
|
1605
|
-
# Deprecated. Please use quotaUser instead.
|
1606
|
-
# @param [Google::Apis::RequestOptions] options
|
1607
|
-
# Request-specific options
|
1608
|
-
#
|
1609
|
-
# @yield [result, err] Result & error if block supplied
|
1610
|
-
# @yieldparam result [Google::Apis::GamesV1::TurnBasedMatch] parsed result object
|
1611
|
-
# @yieldparam err [StandardError] error object if request failed
|
1612
|
-
#
|
1613
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatch]
|
1614
|
-
#
|
1615
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1616
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1617
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1618
|
-
def decline_turn_based_match(match_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1619
|
-
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/decline', options)
|
1620
|
-
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1621
|
-
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1622
|
-
command.params['matchId'] = match_id unless match_id.nil?
|
1623
|
-
command.query['language'] = language unless language.nil?
|
1624
|
-
command.query['fields'] = fields unless fields.nil?
|
1625
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1626
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1627
|
-
execute_or_queue_command(command, &block)
|
1628
|
-
end
|
1629
|
-
|
1630
|
-
# Dismiss a turn-based match from the match list. The match will no longer show
|
1631
|
-
# up in the list and will not generate notifications.
|
1632
|
-
# @param [String] match_id
|
1633
|
-
# The ID of the match.
|
1634
|
-
# @param [String] fields
|
1635
|
-
# Selector specifying which fields to include in a partial response.
|
1636
|
-
# @param [String] quota_user
|
1637
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1638
|
-
# characters.
|
1639
|
-
# @param [String] user_ip
|
1640
|
-
# Deprecated. Please use quotaUser instead.
|
1641
|
-
# @param [Google::Apis::RequestOptions] options
|
1642
|
-
# Request-specific options
|
1643
|
-
#
|
1644
|
-
# @yield [result, err] Result & error if block supplied
|
1645
|
-
# @yieldparam result [NilClass] No result returned for this method
|
1646
|
-
# @yieldparam err [StandardError] error object if request failed
|
1647
|
-
#
|
1648
|
-
# @return [void]
|
1649
|
-
#
|
1650
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1651
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1652
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1653
|
-
def dismiss_turn_based_match(match_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1654
|
-
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/dismiss', options)
|
1655
|
-
command.params['matchId'] = match_id unless match_id.nil?
|
1656
|
-
command.query['fields'] = fields unless fields.nil?
|
1657
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1658
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1659
|
-
execute_or_queue_command(command, &block)
|
1660
|
-
end
|
1661
|
-
|
1662
|
-
# Finish a turn-based match. Each player should make this call once, after all
|
1663
|
-
# results are in. Only the player whose turn it is may make the first call to
|
1664
|
-
# Finish, and can pass in the final match state.
|
1665
|
-
# @param [String] match_id
|
1666
|
-
# The ID of the match.
|
1667
|
-
# @param [Google::Apis::GamesV1::TurnBasedMatchResults] turn_based_match_results_object
|
1668
|
-
# @param [String] language
|
1669
|
-
# The preferred language to use for strings returned by this method.
|
1670
|
-
# @param [String] fields
|
1671
|
-
# Selector specifying which fields to include in a partial response.
|
1672
|
-
# @param [String] quota_user
|
1673
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1674
|
-
# characters.
|
1675
|
-
# @param [String] user_ip
|
1676
|
-
# Deprecated. Please use quotaUser instead.
|
1677
|
-
# @param [Google::Apis::RequestOptions] options
|
1678
|
-
# Request-specific options
|
1679
|
-
#
|
1680
|
-
# @yield [result, err] Result & error if block supplied
|
1681
|
-
# @yieldparam result [Google::Apis::GamesV1::TurnBasedMatch] parsed result object
|
1682
|
-
# @yieldparam err [StandardError] error object if request failed
|
1683
|
-
#
|
1684
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatch]
|
1685
|
-
#
|
1686
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1687
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1688
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1689
|
-
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)
|
1690
|
-
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/finish', options)
|
1691
|
-
command.request_representation = Google::Apis::GamesV1::TurnBasedMatchResults::Representation
|
1692
|
-
command.request_object = turn_based_match_results_object
|
1693
|
-
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1694
|
-
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1695
|
-
command.params['matchId'] = match_id unless match_id.nil?
|
1696
|
-
command.query['language'] = language unless language.nil?
|
1697
|
-
command.query['fields'] = fields unless fields.nil?
|
1698
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1699
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1700
|
-
execute_or_queue_command(command, &block)
|
1701
|
-
end
|
1702
|
-
|
1703
|
-
# Get the data for a turn-based match.
|
1704
|
-
# @param [String] match_id
|
1705
|
-
# The ID of the match.
|
1706
|
-
# @param [Boolean] include_match_data
|
1707
|
-
# Get match data along with metadata.
|
1708
|
-
# @param [String] language
|
1709
|
-
# The preferred language to use for strings returned by this method.
|
1710
|
-
# @param [String] fields
|
1711
|
-
# Selector specifying which fields to include in a partial response.
|
1712
|
-
# @param [String] quota_user
|
1713
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1714
|
-
# characters.
|
1715
|
-
# @param [String] user_ip
|
1716
|
-
# Deprecated. Please use quotaUser instead.
|
1717
|
-
# @param [Google::Apis::RequestOptions] options
|
1718
|
-
# Request-specific options
|
1719
|
-
#
|
1720
|
-
# @yield [result, err] Result & error if block supplied
|
1721
|
-
# @yieldparam result [Google::Apis::GamesV1::TurnBasedMatch] parsed result object
|
1722
|
-
# @yieldparam err [StandardError] error object if request failed
|
1723
|
-
#
|
1724
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatch]
|
1725
|
-
#
|
1726
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1727
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1728
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1729
|
-
def get_turn_based_match(match_id, include_match_data: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1730
|
-
command = make_simple_command(:get, 'turnbasedmatches/{matchId}', options)
|
1731
|
-
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1732
|
-
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1733
|
-
command.params['matchId'] = match_id unless match_id.nil?
|
1734
|
-
command.query['includeMatchData'] = include_match_data unless include_match_data.nil?
|
1735
|
-
command.query['language'] = language unless language.nil?
|
1736
|
-
command.query['fields'] = fields unless fields.nil?
|
1737
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1738
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1739
|
-
execute_or_queue_command(command, &block)
|
1740
|
-
end
|
1741
|
-
|
1742
|
-
# Join a turn-based match.
|
1743
|
-
# @param [String] match_id
|
1744
|
-
# The ID of the match.
|
1745
|
-
# @param [String] language
|
1746
|
-
# The preferred language to use for strings returned by this method.
|
1747
|
-
# @param [String] fields
|
1748
|
-
# Selector specifying which fields to include in a partial response.
|
1749
|
-
# @param [String] quota_user
|
1750
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1751
|
-
# characters.
|
1752
|
-
# @param [String] user_ip
|
1753
|
-
# Deprecated. Please use quotaUser instead.
|
1754
|
-
# @param [Google::Apis::RequestOptions] options
|
1755
|
-
# Request-specific options
|
1756
|
-
#
|
1757
|
-
# @yield [result, err] Result & error if block supplied
|
1758
|
-
# @yieldparam result [Google::Apis::GamesV1::TurnBasedMatch] parsed result object
|
1759
|
-
# @yieldparam err [StandardError] error object if request failed
|
1760
|
-
#
|
1761
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatch]
|
1762
|
-
#
|
1763
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1764
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1765
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1766
|
-
def join_turn_based_match(match_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1767
|
-
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/join', options)
|
1768
|
-
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1769
|
-
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1770
|
-
command.params['matchId'] = match_id unless match_id.nil?
|
1771
|
-
command.query['language'] = language unless language.nil?
|
1772
|
-
command.query['fields'] = fields unless fields.nil?
|
1773
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1774
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1775
|
-
execute_or_queue_command(command, &block)
|
1776
|
-
end
|
1777
|
-
|
1778
|
-
# Leave a turn-based match when it is not the current player's turn, without
|
1779
|
-
# canceling the match.
|
1780
|
-
# @param [String] match_id
|
1781
|
-
# The ID of the match.
|
1782
|
-
# @param [String] language
|
1783
|
-
# The preferred language to use for strings returned by this method.
|
1784
|
-
# @param [String] fields
|
1785
|
-
# Selector specifying which fields to include in a partial response.
|
1786
|
-
# @param [String] quota_user
|
1787
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1788
|
-
# characters.
|
1789
|
-
# @param [String] user_ip
|
1790
|
-
# Deprecated. Please use quotaUser instead.
|
1791
|
-
# @param [Google::Apis::RequestOptions] options
|
1792
|
-
# Request-specific options
|
1793
|
-
#
|
1794
|
-
# @yield [result, err] Result & error if block supplied
|
1795
|
-
# @yieldparam result [Google::Apis::GamesV1::TurnBasedMatch] parsed result object
|
1796
|
-
# @yieldparam err [StandardError] error object if request failed
|
1797
|
-
#
|
1798
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatch]
|
1799
|
-
#
|
1800
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1801
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1802
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1803
|
-
def leave_turn_based_match(match_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1804
|
-
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/leave', options)
|
1805
|
-
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1806
|
-
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1807
|
-
command.params['matchId'] = match_id unless match_id.nil?
|
1808
|
-
command.query['language'] = language unless language.nil?
|
1809
|
-
command.query['fields'] = fields unless fields.nil?
|
1810
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1811
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1812
|
-
execute_or_queue_command(command, &block)
|
1813
|
-
end
|
1814
|
-
|
1815
|
-
# Leave a turn-based match during the current player's turn, without canceling
|
1816
|
-
# the match.
|
1817
|
-
# @param [String] match_id
|
1818
|
-
# The ID of the match.
|
1819
|
-
# @param [Fixnum] match_version
|
1820
|
-
# The version of the match being updated.
|
1821
|
-
# @param [String] language
|
1822
|
-
# The preferred language to use for strings returned by this method.
|
1823
|
-
# @param [String] pending_participant_id
|
1824
|
-
# The ID of another participant who should take their turn next. If not set, the
|
1825
|
-
# match will wait for other player(s) to join via automatching; this is only
|
1826
|
-
# valid if automatch criteria is set on the match with remaining slots for
|
1827
|
-
# automatched players.
|
1828
|
-
# @param [String] fields
|
1829
|
-
# Selector specifying which fields to include in a partial response.
|
1830
|
-
# @param [String] quota_user
|
1831
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1832
|
-
# characters.
|
1833
|
-
# @param [String] user_ip
|
1834
|
-
# Deprecated. Please use quotaUser instead.
|
1835
|
-
# @param [Google::Apis::RequestOptions] options
|
1836
|
-
# Request-specific options
|
1837
|
-
#
|
1838
|
-
# @yield [result, err] Result & error if block supplied
|
1839
|
-
# @yieldparam result [Google::Apis::GamesV1::TurnBasedMatch] parsed result object
|
1840
|
-
# @yieldparam err [StandardError] error object if request failed
|
1841
|
-
#
|
1842
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatch]
|
1843
|
-
#
|
1844
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1845
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1846
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1847
|
-
def leave_turn(match_id, match_version, language: nil, pending_participant_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1848
|
-
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/leaveTurn', options)
|
1849
|
-
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1850
|
-
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1851
|
-
command.params['matchId'] = match_id unless match_id.nil?
|
1852
|
-
command.query['language'] = language unless language.nil?
|
1853
|
-
command.query['matchVersion'] = match_version unless match_version.nil?
|
1854
|
-
command.query['pendingParticipantId'] = pending_participant_id unless pending_participant_id.nil?
|
1855
|
-
command.query['fields'] = fields unless fields.nil?
|
1856
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1857
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1858
|
-
execute_or_queue_command(command, &block)
|
1859
|
-
end
|
1860
|
-
|
1861
|
-
# Returns turn-based matches the player is or was involved in.
|
1862
|
-
# @param [Boolean] include_match_data
|
1863
|
-
# True if match data should be returned in the response. Note that not all data
|
1864
|
-
# will necessarily be returned if include_match_data is true; the server may
|
1865
|
-
# decide to only return data for some of the matches to limit download size for
|
1866
|
-
# the client. The remainder of the data for these matches will be retrievable on
|
1867
|
-
# request.
|
1868
|
-
# @param [String] language
|
1869
|
-
# The preferred language to use for strings returned by this method.
|
1870
|
-
# @param [Fixnum] max_completed_matches
|
1871
|
-
# The maximum number of completed or canceled matches to return in the response.
|
1872
|
-
# If not set, all matches returned could be completed or canceled.
|
1873
|
-
# @param [Fixnum] max_results
|
1874
|
-
# The maximum number of matches to return in the response, used for paging. For
|
1875
|
-
# any response, the actual number of matches to return may be less than the
|
1876
|
-
# specified maxResults.
|
1877
|
-
# @param [String] page_token
|
1878
|
-
# The token returned by the previous request.
|
1879
|
-
# @param [String] fields
|
1880
|
-
# Selector specifying which fields to include in a partial response.
|
1881
|
-
# @param [String] quota_user
|
1882
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1883
|
-
# characters.
|
1884
|
-
# @param [String] user_ip
|
1885
|
-
# Deprecated. Please use quotaUser instead.
|
1886
|
-
# @param [Google::Apis::RequestOptions] options
|
1887
|
-
# Request-specific options
|
1888
|
-
#
|
1889
|
-
# @yield [result, err] Result & error if block supplied
|
1890
|
-
# @yieldparam result [Google::Apis::GamesV1::TurnBasedMatchList] parsed result object
|
1891
|
-
# @yieldparam err [StandardError] error object if request failed
|
1892
|
-
#
|
1893
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatchList]
|
1894
|
-
#
|
1895
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1896
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1897
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1898
|
-
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)
|
1899
|
-
command = make_simple_command(:get, 'turnbasedmatches', options)
|
1900
|
-
command.response_representation = Google::Apis::GamesV1::TurnBasedMatchList::Representation
|
1901
|
-
command.response_class = Google::Apis::GamesV1::TurnBasedMatchList
|
1902
|
-
command.query['includeMatchData'] = include_match_data unless include_match_data.nil?
|
1903
|
-
command.query['language'] = language unless language.nil?
|
1904
|
-
command.query['maxCompletedMatches'] = max_completed_matches unless max_completed_matches.nil?
|
1905
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
1906
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1907
|
-
command.query['fields'] = fields unless fields.nil?
|
1908
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1909
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1910
|
-
execute_or_queue_command(command, &block)
|
1911
|
-
end
|
1912
|
-
|
1913
|
-
# Create a rematch of a match that was previously completed, with the same
|
1914
|
-
# participants. This can be called by only one player on a match still in their
|
1915
|
-
# list; the player must have called Finish first. Returns the newly created
|
1916
|
-
# match; it will be the caller's turn.
|
1917
|
-
# @param [String] match_id
|
1918
|
-
# The ID of the match.
|
1919
|
-
# @param [String] language
|
1920
|
-
# The preferred language to use for strings returned by this method.
|
1921
|
-
# @param [Fixnum] request_id
|
1922
|
-
# A randomly generated numeric ID for each request specified by the caller. This
|
1923
|
-
# number is used at the server to ensure that the request is handled correctly
|
1924
|
-
# across retries.
|
1925
|
-
# @param [String] fields
|
1926
|
-
# Selector specifying which fields to include in a partial response.
|
1927
|
-
# @param [String] quota_user
|
1928
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1929
|
-
# characters.
|
1930
|
-
# @param [String] user_ip
|
1931
|
-
# Deprecated. Please use quotaUser instead.
|
1932
|
-
# @param [Google::Apis::RequestOptions] options
|
1933
|
-
# Request-specific options
|
1934
|
-
#
|
1935
|
-
# @yield [result, err] Result & error if block supplied
|
1936
|
-
# @yieldparam result [Google::Apis::GamesV1::TurnBasedMatchRematch] parsed result object
|
1937
|
-
# @yieldparam err [StandardError] error object if request failed
|
1938
|
-
#
|
1939
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatchRematch]
|
1940
|
-
#
|
1941
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1942
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1943
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1944
|
-
def rematch_turn_based_match(match_id, language: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1945
|
-
command = make_simple_command(:post, 'turnbasedmatches/{matchId}/rematch', options)
|
1946
|
-
command.response_representation = Google::Apis::GamesV1::TurnBasedMatchRematch::Representation
|
1947
|
-
command.response_class = Google::Apis::GamesV1::TurnBasedMatchRematch
|
1948
|
-
command.params['matchId'] = match_id unless match_id.nil?
|
1949
|
-
command.query['language'] = language unless language.nil?
|
1950
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
1951
|
-
command.query['fields'] = fields unless fields.nil?
|
1952
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1953
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1954
|
-
execute_or_queue_command(command, &block)
|
1955
|
-
end
|
1956
|
-
|
1957
|
-
# Returns turn-based matches the player is or was involved in that changed since
|
1958
|
-
# the last sync call, with the least recent changes coming first. Matches that
|
1959
|
-
# should be removed from the local cache will have a status of MATCH_DELETED.
|
1960
|
-
# @param [Boolean] include_match_data
|
1961
|
-
# True if match data should be returned in the response. Note that not all data
|
1962
|
-
# will necessarily be returned if include_match_data is true; the server may
|
1963
|
-
# decide to only return data for some of the matches to limit download size for
|
1964
|
-
# the client. The remainder of the data for these matches will be retrievable on
|
1965
|
-
# request.
|
1966
|
-
# @param [String] language
|
1967
|
-
# The preferred language to use for strings returned by this method.
|
1968
|
-
# @param [Fixnum] max_completed_matches
|
1969
|
-
# The maximum number of completed or canceled matches to return in the response.
|
1970
|
-
# If not set, all matches returned could be completed or canceled.
|
1971
|
-
# @param [Fixnum] max_results
|
1972
|
-
# The maximum number of matches to return in the response, used for paging. For
|
1973
|
-
# any response, the actual number of matches to return may be less than the
|
1974
|
-
# specified maxResults.
|
1975
|
-
# @param [String] page_token
|
1976
|
-
# The token returned by the previous request.
|
1977
|
-
# @param [String] fields
|
1978
|
-
# Selector specifying which fields to include in a partial response.
|
1979
|
-
# @param [String] quota_user
|
1980
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1981
|
-
# characters.
|
1982
|
-
# @param [String] user_ip
|
1983
|
-
# Deprecated. Please use quotaUser instead.
|
1984
|
-
# @param [Google::Apis::RequestOptions] options
|
1985
|
-
# Request-specific options
|
1986
|
-
#
|
1987
|
-
# @yield [result, err] Result & error if block supplied
|
1988
|
-
# @yieldparam result [Google::Apis::GamesV1::TurnBasedMatchSync] parsed result object
|
1989
|
-
# @yieldparam err [StandardError] error object if request failed
|
1990
|
-
#
|
1991
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatchSync]
|
1992
|
-
#
|
1993
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1994
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1995
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1996
|
-
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)
|
1997
|
-
command = make_simple_command(:get, 'turnbasedmatches/sync', options)
|
1998
|
-
command.response_representation = Google::Apis::GamesV1::TurnBasedMatchSync::Representation
|
1999
|
-
command.response_class = Google::Apis::GamesV1::TurnBasedMatchSync
|
2000
|
-
command.query['includeMatchData'] = include_match_data unless include_match_data.nil?
|
2001
|
-
command.query['language'] = language unless language.nil?
|
2002
|
-
command.query['maxCompletedMatches'] = max_completed_matches unless max_completed_matches.nil?
|
2003
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
2004
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
2005
|
-
command.query['fields'] = fields unless fields.nil?
|
2006
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2007
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2008
1072
|
execute_or_queue_command(command, &block)
|
2009
1073
|
end
|
2010
1074
|
|
2011
|
-
#
|
2012
|
-
#
|
2013
|
-
# The ID of the match.
|
2014
|
-
# @param [Google::Apis::GamesV1::TurnBasedMatchTurn] turn_based_match_turn_object
|
2015
|
-
# @param [String] language
|
2016
|
-
# The preferred language to use for strings returned by this method.
|
1075
|
+
# Returns engagement and spend statistics in this application for the currently
|
1076
|
+
# authenticated user.
|
2017
1077
|
# @param [String] fields
|
2018
1078
|
# Selector specifying which fields to include in a partial response.
|
2019
1079
|
# @param [String] quota_user
|
2020
|
-
#
|
2021
|
-
# characters.
|
2022
|
-
# @param [String] user_ip
|
2023
|
-
# Deprecated. Please use quotaUser instead.
|
1080
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1081
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2024
1082
|
# @param [Google::Apis::RequestOptions] options
|
2025
1083
|
# Request-specific options
|
2026
1084
|
#
|
2027
1085
|
# @yield [result, err] Result & error if block supplied
|
2028
|
-
# @yieldparam result [Google::Apis::GamesV1::
|
1086
|
+
# @yieldparam result [Google::Apis::GamesV1::StatsResponse] parsed result object
|
2029
1087
|
# @yieldparam err [StandardError] error object if request failed
|
2030
1088
|
#
|
2031
|
-
# @return [Google::Apis::GamesV1::
|
1089
|
+
# @return [Google::Apis::GamesV1::StatsResponse]
|
2032
1090
|
#
|
2033
1091
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2034
1092
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2035
1093
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2036
|
-
def
|
2037
|
-
command = make_simple_command(:
|
2038
|
-
command.
|
2039
|
-
command.
|
2040
|
-
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
2041
|
-
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
2042
|
-
command.params['matchId'] = match_id unless match_id.nil?
|
2043
|
-
command.query['language'] = language unless language.nil?
|
1094
|
+
def get_stat(fields: nil, quota_user: nil, options: nil, &block)
|
1095
|
+
command = make_simple_command(:get, 'games/v1/stats', options)
|
1096
|
+
command.response_representation = Google::Apis::GamesV1::StatsResponse::Representation
|
1097
|
+
command.response_class = Google::Apis::GamesV1::StatsResponse
|
2044
1098
|
command.query['fields'] = fields unless fields.nil?
|
2045
1099
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2046
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2047
1100
|
execute_or_queue_command(command, &block)
|
2048
1101
|
end
|
2049
1102
|
|
@@ -2052,7 +1105,6 @@ module Google
|
|
2052
1105
|
def apply_command_defaults(command)
|
2053
1106
|
command.query['key'] = key unless key.nil?
|
2054
1107
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2055
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2056
1108
|
end
|
2057
1109
|
end
|
2058
1110
|
end
|