google-api-client 0.41.2 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +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
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/games/
|
|
27
27
|
module GamesConfigurationV1configuration
|
|
28
28
|
VERSION = 'V1configuration'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200811'
|
|
30
30
|
|
|
31
31
|
# View and manage your Google Play Developer account
|
|
32
32
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -57,7 +57,7 @@ module Google
|
|
|
57
57
|
# @return [Google::Apis::GamesConfigurationV1configuration::AchievementConfigurationDetail]
|
|
58
58
|
attr_accessor :published
|
|
59
59
|
|
|
60
|
-
# Steps to unlock.
|
|
60
|
+
# Steps to unlock. Only applicable to incremental achievements.
|
|
61
61
|
# Corresponds to the JSON property `stepsToUnlock`
|
|
62
62
|
# @return [Fixnum]
|
|
63
63
|
attr_accessor :steps_to_unlock
|
|
@@ -406,8 +406,7 @@ module Google
|
|
|
406
406
|
attr_accessor :items
|
|
407
407
|
|
|
408
408
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
409
|
-
# string
|
|
410
|
-
# `gamesConfiguration#leaderboardConfigurationListResponse`.
|
|
409
|
+
# string `gamesConfiguration#leaderboardConfigurationListResponse`.
|
|
411
410
|
# Corresponds to the JSON property `kind`
|
|
412
411
|
# @return [String]
|
|
413
412
|
attr_accessor :kind
|
|
@@ -44,8 +44,8 @@ module Google
|
|
|
44
44
|
attr_accessor :quota_user
|
|
45
45
|
|
|
46
46
|
def initialize
|
|
47
|
-
super('https://
|
|
48
|
-
@batch_path = 'batch
|
|
47
|
+
super('https://gamesconfiguration.googleapis.com/', '')
|
|
48
|
+
@batch_path = 'batch'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
# Delete the achievement configuration with the given ID.
|
|
@@ -143,9 +143,9 @@ module Google
|
|
|
143
143
|
# @param [String] application_id
|
|
144
144
|
# The application ID from the Google Play developer console.
|
|
145
145
|
# @param [Fixnum] max_results
|
|
146
|
-
# The maximum number of resource configurations to return in the response,
|
|
147
|
-
#
|
|
148
|
-
#
|
|
146
|
+
# The maximum number of resource configurations to return in the response, used
|
|
147
|
+
# for paging. For any response, the actual number of resources returned may be
|
|
148
|
+
# less than the specified `maxResults`.
|
|
149
149
|
# @param [String] page_token
|
|
150
150
|
# The token returned by the previous request.
|
|
151
151
|
# @param [String] fields
|
|
@@ -348,9 +348,9 @@ module Google
|
|
|
348
348
|
# @param [String] application_id
|
|
349
349
|
# The application ID from the Google Play developer console.
|
|
350
350
|
# @param [Fixnum] max_results
|
|
351
|
-
# The maximum number of resource configurations to return in the response,
|
|
352
|
-
#
|
|
353
|
-
#
|
|
351
|
+
# The maximum number of resource configurations to return in the response, used
|
|
352
|
+
# for paging. For any response, the actual number of resources returned may be
|
|
353
|
+
# less than the specified `maxResults`.
|
|
354
354
|
# @param [String] page_token
|
|
355
355
|
# The token returned by the previous request.
|
|
356
356
|
# @param [String] fields
|
|
@@ -21,13 +21,12 @@ module Google
|
|
|
21
21
|
# Google Play Game Management
|
|
22
22
|
#
|
|
23
23
|
# The Google Play Game Management API allows developers to manage resources from
|
|
24
|
-
# the Google
|
|
25
|
-
# Play Game service.
|
|
24
|
+
# the Google Play Game service.
|
|
26
25
|
#
|
|
27
26
|
# @see https://developers.google.com/games/
|
|
28
27
|
module GamesManagementV1management
|
|
29
28
|
VERSION = 'V1management'
|
|
30
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200811'
|
|
31
30
|
|
|
32
31
|
# Create, edit, and delete your Google Play Games activity
|
|
33
32
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
|
@@ -78,11 +78,10 @@ module Google
|
|
|
78
78
|
class AchievementResetResponse
|
|
79
79
|
include Google::Apis::Core::Hashable
|
|
80
80
|
|
|
81
|
-
# The current state of the achievement.
|
|
82
|
-
#
|
|
83
|
-
#
|
|
84
|
-
#
|
|
85
|
-
# <li>"`UNLOCKED`" - Achievement is unlocked.</li> </ul>
|
|
81
|
+
# The current state of the achievement. This is the same as the initial state of
|
|
82
|
+
# the achievement. Possible values are: - "`HIDDEN`"- Achievement is hidden. - "`
|
|
83
|
+
# REVEALED`" - Achievement is revealed. - "`UNLOCKED`" - Achievement is unlocked.
|
|
84
|
+
#
|
|
86
85
|
# Corresponds to the JSON property `currentState`
|
|
87
86
|
# @return [String]
|
|
88
87
|
attr_accessor :current_state
|
|
@@ -157,8 +156,7 @@ module Google
|
|
|
157
156
|
# @return [Google::Apis::GamesManagementV1management::GamesPlayerLevelResource]
|
|
158
157
|
attr_accessor :current_level
|
|
159
158
|
|
|
160
|
-
# The timestamp when the player was leveled up, in millis since Unix epoch
|
|
161
|
-
# UTC.
|
|
159
|
+
# The timestamp when the player was leveled up, in millis since Unix epoch UTC.
|
|
162
160
|
# Corresponds to the JSON property `lastLevelUpTimestampMillis`
|
|
163
161
|
# @return [Fixnum]
|
|
164
162
|
attr_accessor :last_level_up_timestamp_millis
|
|
@@ -222,8 +220,7 @@ module Google
|
|
|
222
220
|
attr_accessor :hidden_time_millis
|
|
223
221
|
|
|
224
222
|
# Output only. Uniquely identifies the type of this resource. Value is always
|
|
225
|
-
# the fixed
|
|
226
|
-
# string `gamesManagement#hiddenPlayer`.
|
|
223
|
+
# the fixed string `gamesManagement#hiddenPlayer`.
|
|
227
224
|
# Corresponds to the JSON property `kind`
|
|
228
225
|
# @return [String]
|
|
229
226
|
attr_accessor :kind
|
|
@@ -319,9 +316,9 @@ module Google
|
|
|
319
316
|
attr_accessor :name
|
|
320
317
|
|
|
321
318
|
# The player ID that was used for this player the first time they signed into
|
|
322
|
-
# the game in question. This is only populated for calls to player.get for
|
|
323
|
-
#
|
|
324
|
-
#
|
|
319
|
+
# the game in question. This is only populated for calls to player.get for the
|
|
320
|
+
# requesting player, only if the player ID has subsequently changed, and only to
|
|
321
|
+
# clients that support remapping player IDs.
|
|
325
322
|
# Corresponds to the JSON property `originalPlayerId`
|
|
326
323
|
# @return [String]
|
|
327
324
|
attr_accessor :original_player_id
|
|
@@ -365,14 +362,12 @@ module Google
|
|
|
365
362
|
class Name
|
|
366
363
|
include Google::Apis::Core::Hashable
|
|
367
364
|
|
|
368
|
-
# The family name of this player. In some places, this is known as the last
|
|
369
|
-
# name.
|
|
365
|
+
# The family name of this player. In some places, this is known as the last name.
|
|
370
366
|
# Corresponds to the JSON property `familyName`
|
|
371
367
|
# @return [String]
|
|
372
368
|
attr_accessor :family_name
|
|
373
369
|
|
|
374
|
-
# The given name of this player. In some places, this is known as the first
|
|
375
|
-
# name.
|
|
370
|
+
# The given name of this player. In some places, this is known as the first name.
|
|
376
371
|
# Corresponds to the JSON property `givenName`
|
|
377
372
|
# @return [String]
|
|
378
373
|
attr_accessor :given_name
|
|
@@ -430,10 +425,9 @@ module Google
|
|
|
430
425
|
# @return [String]
|
|
431
426
|
attr_accessor :kind
|
|
432
427
|
|
|
433
|
-
# The time spans of the updated score.
|
|
434
|
-
#
|
|
435
|
-
#
|
|
436
|
-
# <li>"`DAILY`" - The score is a daily score.</li> </ul>
|
|
428
|
+
# The time spans of the updated score. Possible values are: - "`ALL_TIME`" - The
|
|
429
|
+
# score is an all-time score. - "`WEEKLY`" - The score is a weekly score. - "`
|
|
430
|
+
# DAILY`" - The score is a daily score.
|
|
437
431
|
# Corresponds to the JSON property `resetScoreTimeSpans`
|
|
438
432
|
# @return [Array<String>]
|
|
439
433
|
attr_accessor :reset_score_time_spans
|
|
@@ -23,8 +23,7 @@ module Google
|
|
|
23
23
|
# Google Play Game Management
|
|
24
24
|
#
|
|
25
25
|
# The Google Play Game Management API allows developers to manage resources from
|
|
26
|
-
# the Google
|
|
27
|
-
# Play Game service.
|
|
26
|
+
# the Google Play Game service.
|
|
28
27
|
#
|
|
29
28
|
# @example
|
|
30
29
|
# require 'google/apis/games_management_v1management'
|
|
@@ -45,13 +44,13 @@ module Google
|
|
|
45
44
|
attr_accessor :quota_user
|
|
46
45
|
|
|
47
46
|
def initialize
|
|
48
|
-
super('https://
|
|
49
|
-
@batch_path = 'batch
|
|
47
|
+
super('https://gamesmanagement.googleapis.com/', '')
|
|
48
|
+
@batch_path = 'batch'
|
|
50
49
|
end
|
|
51
50
|
|
|
52
51
|
# Resets the achievement with the given ID for the currently authenticated
|
|
53
|
-
# player. This method is only accessible to whitelisted tester accounts for
|
|
54
|
-
#
|
|
52
|
+
# player. This method is only accessible to whitelisted tester accounts for your
|
|
53
|
+
# application.
|
|
55
54
|
# @param [String] achievement_id
|
|
56
55
|
# The ID of the achievement used by this method.
|
|
57
56
|
# @param [String] fields
|
|
@@ -82,8 +81,8 @@ module Google
|
|
|
82
81
|
end
|
|
83
82
|
|
|
84
83
|
# Resets all achievements for the currently authenticated player for your
|
|
85
|
-
# application. This method is only accessible to whitelisted tester accounts
|
|
86
|
-
#
|
|
84
|
+
# application. This method is only accessible to whitelisted tester accounts for
|
|
85
|
+
# your application.
|
|
87
86
|
# @param [String] fields
|
|
88
87
|
# Selector specifying which fields to include in a partial response.
|
|
89
88
|
# @param [String] quota_user
|
|
@@ -110,8 +109,8 @@ module Google
|
|
|
110
109
|
execute_or_queue_command(command, &block)
|
|
111
110
|
end
|
|
112
111
|
|
|
113
|
-
# Resets all draft achievements for all players. This method is only
|
|
114
|
-
#
|
|
112
|
+
# Resets all draft achievements for all players. This method is only available
|
|
113
|
+
# to user accounts for your developer console.
|
|
115
114
|
# @param [String] fields
|
|
116
115
|
# Selector specifying which fields to include in a partial response.
|
|
117
116
|
# @param [String] quota_user
|
|
@@ -136,9 +135,9 @@ module Google
|
|
|
136
135
|
execute_or_queue_command(command, &block)
|
|
137
136
|
end
|
|
138
137
|
|
|
139
|
-
# Resets the achievement with the given ID for all players. This method is
|
|
140
|
-
#
|
|
141
|
-
#
|
|
138
|
+
# Resets the achievement with the given ID for all players. This method is only
|
|
139
|
+
# available to user accounts for your developer console. Only draft achievements
|
|
140
|
+
# can be reset.
|
|
142
141
|
# @param [String] achievement_id
|
|
143
142
|
# The ID of the achievement used by this method.
|
|
144
143
|
# @param [String] fields
|
|
@@ -167,8 +166,8 @@ module Google
|
|
|
167
166
|
end
|
|
168
167
|
|
|
169
168
|
# Resets achievements with the given IDs for all players. This method is only
|
|
170
|
-
# available to user accounts for your developer console. Only draft
|
|
171
|
-
#
|
|
169
|
+
# available to user accounts for your developer console. Only draft achievements
|
|
170
|
+
# may be reset.
|
|
172
171
|
# @param [Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest] achievement_reset_multiple_for_all_request_object
|
|
173
172
|
# @param [String] fields
|
|
174
173
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -196,14 +195,14 @@ module Google
|
|
|
196
195
|
execute_or_queue_command(command, &block)
|
|
197
196
|
end
|
|
198
197
|
|
|
199
|
-
# Get the list of players hidden from the given application. This method is
|
|
200
|
-
#
|
|
198
|
+
# Get the list of players hidden from the given application. This method is only
|
|
199
|
+
# available to user accounts for your developer console.
|
|
201
200
|
# @param [String] application_id
|
|
202
201
|
# The application ID from the Google Play developer console.
|
|
203
202
|
# @param [Fixnum] max_results
|
|
204
203
|
# The maximum number of player resources to return in the response, used for
|
|
205
|
-
# paging. For any response, the actual number of player resources returned
|
|
206
|
-
#
|
|
204
|
+
# paging. For any response, the actual number of player resources returned may
|
|
205
|
+
# be less than the specified `maxResults`.
|
|
207
206
|
# @param [String] page_token
|
|
208
207
|
# The token returned by the previous request.
|
|
209
208
|
# @param [String] fields
|
|
@@ -266,8 +265,8 @@ module Google
|
|
|
266
265
|
end
|
|
267
266
|
|
|
268
267
|
# Resets all player progress on all events for the currently authenticated
|
|
269
|
-
# player. This method is only accessible to whitelisted tester accounts for
|
|
270
|
-
#
|
|
268
|
+
# player. This method is only accessible to whitelisted tester accounts for your
|
|
269
|
+
# application.
|
|
271
270
|
# @param [String] fields
|
|
272
271
|
# Selector specifying which fields to include in a partial response.
|
|
273
272
|
# @param [String] quota_user
|
|
@@ -292,8 +291,8 @@ module Google
|
|
|
292
291
|
execute_or_queue_command(command, &block)
|
|
293
292
|
end
|
|
294
293
|
|
|
295
|
-
# Resets all draft events for all players. This method is only available to
|
|
296
|
-
#
|
|
294
|
+
# Resets all draft events for all players. This method is only available to user
|
|
295
|
+
# accounts for your developer console.
|
|
297
296
|
# @param [String] fields
|
|
298
297
|
# Selector specifying which fields to include in a partial response.
|
|
299
298
|
# @param [String] quota_user
|
|
@@ -319,8 +318,8 @@ module Google
|
|
|
319
318
|
end
|
|
320
319
|
|
|
321
320
|
# Resets the event with the given ID for all players. This method is only
|
|
322
|
-
# available to user accounts for your developer console. Only draft events
|
|
323
|
-
#
|
|
321
|
+
# available to user accounts for your developer console. Only draft events can
|
|
322
|
+
# be reset.
|
|
324
323
|
# @param [String] event_id
|
|
325
324
|
# The ID of the event.
|
|
326
325
|
# @param [String] fields
|
|
@@ -349,8 +348,8 @@ module Google
|
|
|
349
348
|
end
|
|
350
349
|
|
|
351
350
|
# Resets events with the given IDs for all players. This method is only
|
|
352
|
-
# available to user accounts for your developer console. Only draft events
|
|
353
|
-
#
|
|
351
|
+
# available to user accounts for your developer console. Only draft events may
|
|
352
|
+
# be reset.
|
|
354
353
|
# @param [Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest] events_reset_multiple_for_all_request_object
|
|
355
354
|
# @param [String] fields
|
|
356
355
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -383,8 +382,8 @@ module Google
|
|
|
383
382
|
# @param [String] application_id
|
|
384
383
|
# The application ID from the Google Play developer console.
|
|
385
384
|
# @param [String] player_id
|
|
386
|
-
# A player ID. A value of `me` may be used in place of the
|
|
387
|
-
#
|
|
385
|
+
# A player ID. A value of `me` may be used in place of the authenticated player'
|
|
386
|
+
# s ID.
|
|
388
387
|
# @param [String] fields
|
|
389
388
|
# Selector specifying which fields to include in a partial response.
|
|
390
389
|
# @param [String] quota_user
|
|
@@ -411,13 +410,13 @@ module Google
|
|
|
411
410
|
execute_or_queue_command(command, &block)
|
|
412
411
|
end
|
|
413
412
|
|
|
414
|
-
# Unhide the given player's leaderboard scores from the given application.
|
|
415
|
-
#
|
|
413
|
+
# Unhide the given player's leaderboard scores from the given application. This
|
|
414
|
+
# method is only available to user accounts for your developer console.
|
|
416
415
|
# @param [String] application_id
|
|
417
416
|
# The application ID from the Google Play developer console.
|
|
418
417
|
# @param [String] player_id
|
|
419
|
-
# A player ID. A value of `me` may be used in place of the
|
|
420
|
-
#
|
|
418
|
+
# A player ID. A value of `me` may be used in place of the authenticated player'
|
|
419
|
+
# s ID.
|
|
421
420
|
# @param [String] fields
|
|
422
421
|
# Selector specifying which fields to include in a partial response.
|
|
423
422
|
# @param [String] quota_user
|
|
@@ -476,9 +475,9 @@ module Google
|
|
|
476
475
|
execute_or_queue_command(command, &block)
|
|
477
476
|
end
|
|
478
477
|
|
|
479
|
-
# Resets all scores for all leaderboards for the currently authenticated
|
|
480
|
-
#
|
|
481
|
-
#
|
|
478
|
+
# Resets all scores for all leaderboards for the currently authenticated players.
|
|
479
|
+
# This method is only accessible to whitelisted tester accounts for your
|
|
480
|
+
# application.
|
|
482
481
|
# @param [String] fields
|
|
483
482
|
# Selector specifying which fields to include in a partial response.
|
|
484
483
|
# @param [String] quota_user
|
|
@@ -505,8 +504,8 @@ module Google
|
|
|
505
504
|
execute_or_queue_command(command, &block)
|
|
506
505
|
end
|
|
507
506
|
|
|
508
|
-
# Resets scores for all draft leaderboards for all players. This method is
|
|
509
|
-
#
|
|
507
|
+
# Resets scores for all draft leaderboards for all players. This method is only
|
|
508
|
+
# available to user accounts for your developer console.
|
|
510
509
|
# @param [String] fields
|
|
511
510
|
# Selector specifying which fields to include in a partial response.
|
|
512
511
|
# @param [String] quota_user
|
|
@@ -18,14 +18,15 @@ require 'google/apis/games_v1/representations.rb'
|
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
21
|
-
# Google Play Game Services
|
|
21
|
+
# Google Play Game Services
|
|
22
22
|
#
|
|
23
|
-
# The
|
|
23
|
+
# The Google Play games service allows developers to enhance games with social
|
|
24
|
+
# leaderboards, achievements, game state, sign-in with Google, and more.
|
|
24
25
|
#
|
|
25
|
-
# @see https://developers.google.com/games/
|
|
26
|
+
# @see https://developers.google.com/games/
|
|
26
27
|
module GamesV1
|
|
27
28
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200811'
|
|
29
30
|
|
|
30
31
|
# View and manage its own configuration data in your Google Drive
|
|
31
32
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
|
@@ -22,14 +22,11 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module GamesV1
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# An achievement definition object.
|
|
26
26
|
class AchievementDefinition
|
|
27
27
|
include Google::Apis::Core::Hashable
|
|
28
28
|
|
|
29
29
|
# The type of the achievement.
|
|
30
|
-
# Possible values are:
|
|
31
|
-
# - "STANDARD" - Achievement is either locked or unlocked.
|
|
32
|
-
# - "INCREMENTAL" - Achievement is incremental.
|
|
33
30
|
# Corresponds to the JSON property `achievementType`
|
|
34
31
|
# @return [String]
|
|
35
32
|
attr_accessor :achievement_type
|
|
@@ -55,10 +52,6 @@ module Google
|
|
|
55
52
|
attr_accessor :id
|
|
56
53
|
|
|
57
54
|
# The initial state of the achievement.
|
|
58
|
-
# Possible values are:
|
|
59
|
-
# - "HIDDEN" - Achievement is hidden.
|
|
60
|
-
# - "REVEALED" - Achievement is revealed.
|
|
61
|
-
# - "UNLOCKED" - Achievement is unlocked.
|
|
62
55
|
# Corresponds to the JSON property `initialState`
|
|
63
56
|
# @return [String]
|
|
64
57
|
attr_accessor :initial_state
|
|
@@ -78,7 +71,7 @@ module Google
|
|
|
78
71
|
alias_method :is_unlocked_icon_url_default?, :is_unlocked_icon_url_default
|
|
79
72
|
|
|
80
73
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
81
|
-
# string games#achievementDefinition
|
|
74
|
+
# string `games#achievementDefinition`.
|
|
82
75
|
# Corresponds to the JSON property `kind`
|
|
83
76
|
# @return [String]
|
|
84
77
|
attr_accessor :kind
|
|
@@ -125,7 +118,7 @@ module Google
|
|
|
125
118
|
end
|
|
126
119
|
end
|
|
127
120
|
|
|
128
|
-
#
|
|
121
|
+
# A list of achievement definition objects.
|
|
129
122
|
class ListAchievementDefinitionsResponse
|
|
130
123
|
include Google::Apis::Core::Hashable
|
|
131
124
|
|
|
@@ -135,7 +128,7 @@ module Google
|
|
|
135
128
|
attr_accessor :items
|
|
136
129
|
|
|
137
130
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
138
|
-
# string games#achievementDefinitionsListResponse
|
|
131
|
+
# string `games#achievementDefinitionsListResponse`.
|
|
139
132
|
# Corresponds to the JSON property `kind`
|
|
140
133
|
# @return [String]
|
|
141
134
|
attr_accessor :kind
|
|
@@ -157,7 +150,7 @@ module Google
|
|
|
157
150
|
end
|
|
158
151
|
end
|
|
159
152
|
|
|
160
|
-
#
|
|
153
|
+
# An achievement increment response
|
|
161
154
|
class AchievementIncrementResponse
|
|
162
155
|
include Google::Apis::Core::Hashable
|
|
163
156
|
|
|
@@ -167,7 +160,7 @@ module Google
|
|
|
167
160
|
attr_accessor :current_steps
|
|
168
161
|
|
|
169
162
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
170
|
-
# string games#achievementIncrementResponse
|
|
163
|
+
# string `games#achievementIncrementResponse`.
|
|
171
164
|
# Corresponds to the JSON property `kind`
|
|
172
165
|
# @return [String]
|
|
173
166
|
attr_accessor :kind
|
|
@@ -191,21 +184,18 @@ module Google
|
|
|
191
184
|
end
|
|
192
185
|
end
|
|
193
186
|
|
|
194
|
-
#
|
|
187
|
+
# An achievement reveal response
|
|
195
188
|
class AchievementRevealResponse
|
|
196
189
|
include Google::Apis::Core::Hashable
|
|
197
190
|
|
|
198
191
|
# The current state of the achievement for which a reveal was attempted. This
|
|
199
|
-
# might be UNLOCKED if the achievement was already unlocked.
|
|
200
|
-
# Possible values are:
|
|
201
|
-
# - "REVEALED" - Achievement is revealed.
|
|
202
|
-
# - "UNLOCKED" - Achievement is unlocked.
|
|
192
|
+
# might be `UNLOCKED` if the achievement was already unlocked.
|
|
203
193
|
# Corresponds to the JSON property `currentState`
|
|
204
194
|
# @return [String]
|
|
205
195
|
attr_accessor :current_state
|
|
206
196
|
|
|
207
197
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
208
|
-
# string games#achievementRevealResponse
|
|
198
|
+
# string `games#achievementRevealResponse`.
|
|
209
199
|
# Corresponds to the JSON property `kind`
|
|
210
200
|
# @return [String]
|
|
211
201
|
attr_accessor :kind
|
|
@@ -221,7 +211,7 @@ module Google
|
|
|
221
211
|
end
|
|
222
212
|
end
|
|
223
213
|
|
|
224
|
-
#
|
|
214
|
+
# An achievement set steps at least response.
|
|
225
215
|
class AchievementSetStepsAtLeastResponse
|
|
226
216
|
include Google::Apis::Core::Hashable
|
|
227
217
|
|
|
@@ -231,13 +221,13 @@ module Google
|
|
|
231
221
|
attr_accessor :current_steps
|
|
232
222
|
|
|
233
223
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
234
|
-
# string games#achievementSetStepsAtLeastResponse
|
|
224
|
+
# string `games#achievementSetStepsAtLeastResponse`.
|
|
235
225
|
# Corresponds to the JSON property `kind`
|
|
236
226
|
# @return [String]
|
|
237
227
|
attr_accessor :kind
|
|
238
228
|
|
|
239
|
-
# Whether the
|
|
240
|
-
#
|
|
229
|
+
# Whether the current steps for the achievement has reached the number of steps
|
|
230
|
+
# required to unlock.
|
|
241
231
|
# Corresponds to the JSON property `newlyUnlocked`
|
|
242
232
|
# @return [Boolean]
|
|
243
233
|
attr_accessor :newly_unlocked
|
|
@@ -255,12 +245,12 @@ module Google
|
|
|
255
245
|
end
|
|
256
246
|
end
|
|
257
247
|
|
|
258
|
-
#
|
|
248
|
+
# An achievement unlock response
|
|
259
249
|
class AchievementUnlockResponse
|
|
260
250
|
include Google::Apis::Core::Hashable
|
|
261
251
|
|
|
262
252
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
263
|
-
# string games#achievementUnlockResponse
|
|
253
|
+
# string `games#achievementUnlockResponse`.
|
|
264
254
|
# Corresponds to the JSON property `kind`
|
|
265
255
|
# @return [String]
|
|
266
256
|
attr_accessor :kind
|
|
@@ -283,12 +273,12 @@ module Google
|
|
|
283
273
|
end
|
|
284
274
|
end
|
|
285
275
|
|
|
286
|
-
#
|
|
276
|
+
# A list of achievement update requests.
|
|
287
277
|
class AchievementUpdateMultipleRequest
|
|
288
278
|
include Google::Apis::Core::Hashable
|
|
289
279
|
|
|
290
280
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
291
|
-
# string games#achievementUpdateMultipleRequest
|
|
281
|
+
# string `games#achievementUpdateMultipleRequest`.
|
|
292
282
|
# Corresponds to the JSON property `kind`
|
|
293
283
|
# @return [String]
|
|
294
284
|
attr_accessor :kind
|
|
@@ -309,12 +299,12 @@ module Google
|
|
|
309
299
|
end
|
|
310
300
|
end
|
|
311
301
|
|
|
312
|
-
#
|
|
302
|
+
# Response message for UpdateMultipleAchievements rpc.
|
|
313
303
|
class AchievementUpdateMultipleResponse
|
|
314
304
|
include Google::Apis::Core::Hashable
|
|
315
305
|
|
|
316
306
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
317
|
-
# string games#achievementUpdateMultipleResponse
|
|
307
|
+
# string `games#achievementUpdateMultipleResponse`.
|
|
318
308
|
# Corresponds to the JSON property `kind`
|
|
319
309
|
# @return [String]
|
|
320
310
|
attr_accessor :kind
|
|
@@ -335,7 +325,7 @@ module Google
|
|
|
335
325
|
end
|
|
336
326
|
end
|
|
337
327
|
|
|
338
|
-
#
|
|
328
|
+
# A request to update an achievement.
|
|
339
329
|
class UpdateAchievementRequest
|
|
340
330
|
include Google::Apis::Core::Hashable
|
|
341
331
|
|
|
@@ -344,29 +334,23 @@ module Google
|
|
|
344
334
|
# @return [String]
|
|
345
335
|
attr_accessor :achievement_id
|
|
346
336
|
|
|
347
|
-
#
|
|
337
|
+
# The payload to request to increment an achievement.
|
|
348
338
|
# Corresponds to the JSON property `incrementPayload`
|
|
349
339
|
# @return [Google::Apis::GamesV1::GamesAchievementIncrement]
|
|
350
340
|
attr_accessor :increment_payload
|
|
351
341
|
|
|
352
342
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
353
|
-
# string games#achievementUpdateRequest
|
|
343
|
+
# string `games#achievementUpdateRequest`.
|
|
354
344
|
# Corresponds to the JSON property `kind`
|
|
355
345
|
# @return [String]
|
|
356
346
|
attr_accessor :kind
|
|
357
347
|
|
|
358
|
-
#
|
|
348
|
+
# The payload to request to increment an achievement.
|
|
359
349
|
# Corresponds to the JSON property `setStepsAtLeastPayload`
|
|
360
350
|
# @return [Google::Apis::GamesV1::GamesAchievementSetStepsAtLeast]
|
|
361
351
|
attr_accessor :set_steps_at_least_payload
|
|
362
352
|
|
|
363
353
|
# The type of update being applied.
|
|
364
|
-
# Possible values are:
|
|
365
|
-
# - "REVEAL" - Achievement is revealed.
|
|
366
|
-
# - "UNLOCK" - Achievement is unlocked.
|
|
367
|
-
# - "INCREMENT" - Achievement is incremented.
|
|
368
|
-
# - "SET_STEPS_AT_LEAST" - Achievement progress is set to at least the passed
|
|
369
|
-
# value.
|
|
370
354
|
# Corresponds to the JSON property `updateType`
|
|
371
355
|
# @return [String]
|
|
372
356
|
attr_accessor :update_type
|
|
@@ -385,7 +369,7 @@ module Google
|
|
|
385
369
|
end
|
|
386
370
|
end
|
|
387
371
|
|
|
388
|
-
#
|
|
372
|
+
# An updated achievement.
|
|
389
373
|
class UpdateAchievementResponse
|
|
390
374
|
include Google::Apis::Core::Hashable
|
|
391
375
|
|
|
@@ -395,10 +379,6 @@ module Google
|
|
|
395
379
|
attr_accessor :achievement_id
|
|
396
380
|
|
|
397
381
|
# The current state of the achievement.
|
|
398
|
-
# Possible values are:
|
|
399
|
-
# - "HIDDEN" - Achievement is hidden.
|
|
400
|
-
# - "REVEALED" - Achievement is revealed.
|
|
401
|
-
# - "UNLOCKED" - Achievement is unlocked.
|
|
402
382
|
# Corresponds to the JSON property `currentState`
|
|
403
383
|
# @return [String]
|
|
404
384
|
attr_accessor :current_state
|
|
@@ -409,7 +389,7 @@ module Google
|
|
|
409
389
|
attr_accessor :current_steps
|
|
410
390
|
|
|
411
391
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
412
|
-
# string games#achievementUpdateResponse
|
|
392
|
+
# string `games#achievementUpdateResponse`.
|
|
413
393
|
# Corresponds to the JSON property `kind`
|
|
414
394
|
# @return [String]
|
|
415
395
|
attr_accessor :kind
|
|
@@ -442,83 +422,7 @@ module Google
|
|
|
442
422
|
end
|
|
443
423
|
end
|
|
444
424
|
|
|
445
|
-
#
|
|
446
|
-
class AggregateStats
|
|
447
|
-
include Google::Apis::Core::Hashable
|
|
448
|
-
|
|
449
|
-
# The number of messages sent between a pair of peers.
|
|
450
|
-
# Corresponds to the JSON property `count`
|
|
451
|
-
# @return [Fixnum]
|
|
452
|
-
attr_accessor :count
|
|
453
|
-
|
|
454
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
455
|
-
# string games#aggregateStats.
|
|
456
|
-
# Corresponds to the JSON property `kind`
|
|
457
|
-
# @return [String]
|
|
458
|
-
attr_accessor :kind
|
|
459
|
-
|
|
460
|
-
# The maximum amount.
|
|
461
|
-
# Corresponds to the JSON property `max`
|
|
462
|
-
# @return [Fixnum]
|
|
463
|
-
attr_accessor :max
|
|
464
|
-
|
|
465
|
-
# The minimum amount.
|
|
466
|
-
# Corresponds to the JSON property `min`
|
|
467
|
-
# @return [Fixnum]
|
|
468
|
-
attr_accessor :min
|
|
469
|
-
|
|
470
|
-
# The total number of bytes sent for messages between a pair of peers.
|
|
471
|
-
# Corresponds to the JSON property `sum`
|
|
472
|
-
# @return [Fixnum]
|
|
473
|
-
attr_accessor :sum
|
|
474
|
-
|
|
475
|
-
def initialize(**args)
|
|
476
|
-
update!(**args)
|
|
477
|
-
end
|
|
478
|
-
|
|
479
|
-
# Update properties of this object
|
|
480
|
-
def update!(**args)
|
|
481
|
-
@count = args[:count] if args.key?(:count)
|
|
482
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
483
|
-
@max = args[:max] if args.key?(:max)
|
|
484
|
-
@min = args[:min] if args.key?(:min)
|
|
485
|
-
@sum = args[:sum] if args.key?(:sum)
|
|
486
|
-
end
|
|
487
|
-
end
|
|
488
|
-
|
|
489
|
-
# This is a JSON template for an anonymous player
|
|
490
|
-
class AnonymousPlayer
|
|
491
|
-
include Google::Apis::Core::Hashable
|
|
492
|
-
|
|
493
|
-
# The base URL for the image to display for the anonymous player.
|
|
494
|
-
# Corresponds to the JSON property `avatarImageUrl`
|
|
495
|
-
# @return [String]
|
|
496
|
-
attr_accessor :avatar_image_url
|
|
497
|
-
|
|
498
|
-
# The name to display for the anonymous player.
|
|
499
|
-
# Corresponds to the JSON property `displayName`
|
|
500
|
-
# @return [String]
|
|
501
|
-
attr_accessor :display_name
|
|
502
|
-
|
|
503
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
504
|
-
# string games#anonymousPlayer.
|
|
505
|
-
# Corresponds to the JSON property `kind`
|
|
506
|
-
# @return [String]
|
|
507
|
-
attr_accessor :kind
|
|
508
|
-
|
|
509
|
-
def initialize(**args)
|
|
510
|
-
update!(**args)
|
|
511
|
-
end
|
|
512
|
-
|
|
513
|
-
# Update properties of this object
|
|
514
|
-
def update!(**args)
|
|
515
|
-
@avatar_image_url = args[:avatar_image_url] if args.key?(:avatar_image_url)
|
|
516
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
517
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
518
|
-
end
|
|
519
|
-
end
|
|
520
|
-
|
|
521
|
-
# This is a JSON template for the Application resource.
|
|
425
|
+
# The Application resource.
|
|
522
426
|
class Application
|
|
523
427
|
include Google::Apis::Core::Hashable
|
|
524
428
|
|
|
@@ -537,7 +441,7 @@ module Google
|
|
|
537
441
|
# @return [String]
|
|
538
442
|
attr_accessor :author
|
|
539
443
|
|
|
540
|
-
#
|
|
444
|
+
# An application category object.
|
|
541
445
|
# Corresponds to the JSON property `category`
|
|
542
446
|
# @return [Google::Apis::GamesV1::ApplicationCategory]
|
|
543
447
|
attr_accessor :category
|
|
@@ -548,8 +452,6 @@ module Google
|
|
|
548
452
|
attr_accessor :description
|
|
549
453
|
|
|
550
454
|
# A list of features that have been enabled for the application.
|
|
551
|
-
# Possible values are:
|
|
552
|
-
# - "SNAPSHOTS" - Snapshots has been enabled
|
|
553
455
|
# Corresponds to the JSON property `enabledFeatures`
|
|
554
456
|
# @return [Array<String>]
|
|
555
457
|
attr_accessor :enabled_features
|
|
@@ -565,7 +467,7 @@ module Google
|
|
|
565
467
|
attr_accessor :instances
|
|
566
468
|
|
|
567
469
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
568
|
-
# string games#application
|
|
470
|
+
# string `games#application`.
|
|
569
471
|
# Corresponds to the JSON property `kind`
|
|
570
472
|
# @return [String]
|
|
571
473
|
attr_accessor :kind
|
|
@@ -613,12 +515,12 @@ module Google
|
|
|
613
515
|
end
|
|
614
516
|
end
|
|
615
517
|
|
|
616
|
-
#
|
|
518
|
+
# An application category object.
|
|
617
519
|
class ApplicationCategory
|
|
618
520
|
include Google::Apis::Core::Hashable
|
|
619
521
|
|
|
620
522
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
621
|
-
# string games#applicationCategory
|
|
523
|
+
# string `games#applicationCategory`.
|
|
622
524
|
# Corresponds to the JSON property `kind`
|
|
623
525
|
# @return [String]
|
|
624
526
|
attr_accessor :kind
|
|
@@ -645,8 +547,7 @@ module Google
|
|
|
645
547
|
end
|
|
646
548
|
end
|
|
647
549
|
|
|
648
|
-
#
|
|
649
|
-
# resource.
|
|
550
|
+
# A third party application verification response resource.
|
|
650
551
|
class ApplicationVerifyResponse
|
|
651
552
|
include Google::Apis::Core::Hashable
|
|
652
553
|
|
|
@@ -657,7 +558,7 @@ module Google
|
|
|
657
558
|
attr_accessor :alternate_player_id
|
|
658
559
|
|
|
659
560
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
660
|
-
# string games#applicationVerifyResponse
|
|
561
|
+
# string `games#applicationVerifyResponse`.
|
|
661
562
|
# Corresponds to the JSON property `kind`
|
|
662
563
|
# @return [String]
|
|
663
564
|
attr_accessor :kind
|
|
@@ -679,7 +580,7 @@ module Google
|
|
|
679
580
|
end
|
|
680
581
|
end
|
|
681
582
|
|
|
682
|
-
#
|
|
583
|
+
# Data related to individual game categories.
|
|
683
584
|
class Category
|
|
684
585
|
include Google::Apis::Core::Hashable
|
|
685
586
|
|
|
@@ -694,7 +595,7 @@ module Google
|
|
|
694
595
|
attr_accessor :experience_points
|
|
695
596
|
|
|
696
597
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
697
|
-
# string games#category
|
|
598
|
+
# string `games#category`.
|
|
698
599
|
# Corresponds to the JSON property `kind`
|
|
699
600
|
# @return [String]
|
|
700
601
|
attr_accessor :kind
|
|
@@ -711,7 +612,7 @@ module Google
|
|
|
711
612
|
end
|
|
712
613
|
end
|
|
713
614
|
|
|
714
|
-
#
|
|
615
|
+
# A third party list metagame categories response.
|
|
715
616
|
class ListCategoryResponse
|
|
716
617
|
include Google::Apis::Core::Hashable
|
|
717
618
|
|
|
@@ -721,7 +622,7 @@ module Google
|
|
|
721
622
|
attr_accessor :items
|
|
722
623
|
|
|
723
624
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
724
|
-
# string games#categoryListResponse
|
|
625
|
+
# string `games#categoryListResponse`.
|
|
725
626
|
# Corresponds to the JSON property `kind`
|
|
726
627
|
# @return [String]
|
|
727
628
|
attr_accessor :kind
|
|
@@ -743,33 +644,22 @@ module Google
|
|
|
743
644
|
end
|
|
744
645
|
end
|
|
745
646
|
|
|
746
|
-
#
|
|
647
|
+
# A batch update failure resource.
|
|
747
648
|
class EventBatchRecordFailure
|
|
748
649
|
include Google::Apis::Core::Hashable
|
|
749
650
|
|
|
750
651
|
# The cause for the update failure.
|
|
751
|
-
# Possible values are:
|
|
752
|
-
# - "TOO_LARGE": A batch request was issued with more events than are allowed in
|
|
753
|
-
# a single batch.
|
|
754
|
-
# - "TIME_PERIOD_EXPIRED": A batch was sent with data too far in the past to
|
|
755
|
-
# record.
|
|
756
|
-
# - "TIME_PERIOD_SHORT": A batch was sent with a time range that was too short.
|
|
757
|
-
# - "TIME_PERIOD_LONG": A batch was sent with a time range that was too long.
|
|
758
|
-
# - "ALREADY_UPDATED": An attempt was made to record a batch of data which was
|
|
759
|
-
# already seen.
|
|
760
|
-
# - "RECORD_RATE_HIGH": An attempt was made to record data faster than the
|
|
761
|
-
# server will apply updates.
|
|
762
652
|
# Corresponds to the JSON property `failureCause`
|
|
763
653
|
# @return [String]
|
|
764
654
|
attr_accessor :failure_cause
|
|
765
655
|
|
|
766
656
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
767
|
-
# string games#eventBatchRecordFailure
|
|
657
|
+
# string `games#eventBatchRecordFailure`.
|
|
768
658
|
# Corresponds to the JSON property `kind`
|
|
769
659
|
# @return [String]
|
|
770
660
|
attr_accessor :kind
|
|
771
661
|
|
|
772
|
-
#
|
|
662
|
+
# An event period time range.
|
|
773
663
|
# Corresponds to the JSON property `range`
|
|
774
664
|
# @return [Google::Apis::GamesV1::EventPeriodRange]
|
|
775
665
|
attr_accessor :range
|
|
@@ -786,7 +676,7 @@ module Google
|
|
|
786
676
|
end
|
|
787
677
|
end
|
|
788
678
|
|
|
789
|
-
#
|
|
679
|
+
# An event child relationship resource.
|
|
790
680
|
class EventChild
|
|
791
681
|
include Google::Apis::Core::Hashable
|
|
792
682
|
|
|
@@ -796,7 +686,7 @@ module Google
|
|
|
796
686
|
attr_accessor :child_id
|
|
797
687
|
|
|
798
688
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
799
|
-
# string games#eventChild
|
|
689
|
+
# string `games#eventChild`.
|
|
800
690
|
# Corresponds to the JSON property `kind`
|
|
801
691
|
# @return [String]
|
|
802
692
|
attr_accessor :kind
|
|
@@ -812,7 +702,7 @@ module Google
|
|
|
812
702
|
end
|
|
813
703
|
end
|
|
814
704
|
|
|
815
|
-
#
|
|
705
|
+
# An event definition resource.
|
|
816
706
|
class EventDefinition
|
|
817
707
|
include Google::Apis::Core::Hashable
|
|
818
708
|
|
|
@@ -849,16 +739,12 @@ module Google
|
|
|
849
739
|
alias_method :is_default_image_url?, :is_default_image_url
|
|
850
740
|
|
|
851
741
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
852
|
-
# string games#eventDefinition
|
|
742
|
+
# string `games#eventDefinition`.
|
|
853
743
|
# Corresponds to the JSON property `kind`
|
|
854
744
|
# @return [String]
|
|
855
745
|
attr_accessor :kind
|
|
856
746
|
|
|
857
747
|
# The visibility of event being tracked in this definition.
|
|
858
|
-
# Possible values are:
|
|
859
|
-
# - "REVEALED": This event should be visible to all users.
|
|
860
|
-
# - "HIDDEN": This event should only be shown to users that have recorded this
|
|
861
|
-
# event at least once.
|
|
862
748
|
# Corresponds to the JSON property `visibility`
|
|
863
749
|
# @return [String]
|
|
864
750
|
attr_accessor :visibility
|
|
@@ -880,7 +766,7 @@ module Google
|
|
|
880
766
|
end
|
|
881
767
|
end
|
|
882
768
|
|
|
883
|
-
#
|
|
769
|
+
# A ListDefinitions response.
|
|
884
770
|
class ListEventDefinitionResponse
|
|
885
771
|
include Google::Apis::Core::Hashable
|
|
886
772
|
|
|
@@ -890,7 +776,7 @@ module Google
|
|
|
890
776
|
attr_accessor :items
|
|
891
777
|
|
|
892
778
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
893
|
-
# string games#eventDefinitionListResponse
|
|
779
|
+
# string `games#eventDefinitionListResponse`.
|
|
894
780
|
# Corresponds to the JSON property `kind`
|
|
895
781
|
# @return [String]
|
|
896
782
|
attr_accessor :kind
|
|
@@ -912,12 +798,12 @@ module Google
|
|
|
912
798
|
end
|
|
913
799
|
end
|
|
914
800
|
|
|
915
|
-
#
|
|
801
|
+
# An event period time range.
|
|
916
802
|
class EventPeriodRange
|
|
917
803
|
include Google::Apis::Core::Hashable
|
|
918
804
|
|
|
919
805
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
920
|
-
# string games#eventPeriodRange
|
|
806
|
+
# string `games#eventPeriodRange`.
|
|
921
807
|
# Corresponds to the JSON property `kind`
|
|
922
808
|
# @return [String]
|
|
923
809
|
attr_accessor :kind
|
|
@@ -945,17 +831,17 @@ module Google
|
|
|
945
831
|
end
|
|
946
832
|
end
|
|
947
833
|
|
|
948
|
-
#
|
|
834
|
+
# An event period update resource.
|
|
949
835
|
class EventPeriodUpdate
|
|
950
836
|
include Google::Apis::Core::Hashable
|
|
951
837
|
|
|
952
838
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
953
|
-
# string games#eventPeriodUpdate
|
|
839
|
+
# string `games#eventPeriodUpdate`.
|
|
954
840
|
# Corresponds to the JSON property `kind`
|
|
955
841
|
# @return [String]
|
|
956
842
|
attr_accessor :kind
|
|
957
843
|
|
|
958
|
-
#
|
|
844
|
+
# An event period time range.
|
|
959
845
|
# Corresponds to the JSON property `timePeriod`
|
|
960
846
|
# @return [Google::Apis::GamesV1::EventPeriodRange]
|
|
961
847
|
attr_accessor :time_period
|
|
@@ -977,7 +863,7 @@ module Google
|
|
|
977
863
|
end
|
|
978
864
|
end
|
|
979
865
|
|
|
980
|
-
#
|
|
866
|
+
# An event update failure resource.
|
|
981
867
|
class EventRecordFailure
|
|
982
868
|
include Google::Apis::Core::Hashable
|
|
983
869
|
|
|
@@ -987,16 +873,12 @@ module Google
|
|
|
987
873
|
attr_accessor :event_id
|
|
988
874
|
|
|
989
875
|
# The cause for the update failure.
|
|
990
|
-
# Possible values are:
|
|
991
|
-
# - "NOT_FOUND" - An attempt was made to set an event that was not defined.
|
|
992
|
-
# - "INVALID_UPDATE_VALUE" - An attempt was made to increment an event by a non-
|
|
993
|
-
# positive value.
|
|
994
876
|
# Corresponds to the JSON property `failureCause`
|
|
995
877
|
# @return [String]
|
|
996
878
|
attr_accessor :failure_cause
|
|
997
879
|
|
|
998
880
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
999
|
-
# string games#eventRecordFailure
|
|
881
|
+
# string `games#eventRecordFailure`.
|
|
1000
882
|
# Corresponds to the JSON property `kind`
|
|
1001
883
|
# @return [String]
|
|
1002
884
|
attr_accessor :kind
|
|
@@ -1013,7 +895,7 @@ module Google
|
|
|
1013
895
|
end
|
|
1014
896
|
end
|
|
1015
897
|
|
|
1016
|
-
#
|
|
898
|
+
# An event period update resource.
|
|
1017
899
|
class EventRecordRequest
|
|
1018
900
|
include Google::Apis::Core::Hashable
|
|
1019
901
|
|
|
@@ -1024,7 +906,7 @@ module Google
|
|
|
1024
906
|
attr_accessor :current_time_millis
|
|
1025
907
|
|
|
1026
908
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1027
|
-
# string games#eventRecordRequest
|
|
909
|
+
# string `games#eventRecordRequest`.
|
|
1028
910
|
# Corresponds to the JSON property `kind`
|
|
1029
911
|
# @return [String]
|
|
1030
912
|
attr_accessor :kind
|
|
@@ -1052,7 +934,7 @@ module Google
|
|
|
1052
934
|
end
|
|
1053
935
|
end
|
|
1054
936
|
|
|
1055
|
-
#
|
|
937
|
+
# An event period update resource.
|
|
1056
938
|
class UpdateEventRequest
|
|
1057
939
|
include Google::Apis::Core::Hashable
|
|
1058
940
|
|
|
@@ -1062,7 +944,7 @@ module Google
|
|
|
1062
944
|
attr_accessor :definition_id
|
|
1063
945
|
|
|
1064
946
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1065
|
-
# string games#eventUpdateRequest
|
|
947
|
+
# string `games#eventUpdateRequest`.
|
|
1066
948
|
# Corresponds to the JSON property `kind`
|
|
1067
949
|
# @return [String]
|
|
1068
950
|
attr_accessor :kind
|
|
@@ -1084,7 +966,7 @@ module Google
|
|
|
1084
966
|
end
|
|
1085
967
|
end
|
|
1086
968
|
|
|
1087
|
-
#
|
|
969
|
+
# An event period update resource.
|
|
1088
970
|
class UpdateEventResponse
|
|
1089
971
|
include Google::Apis::Core::Hashable
|
|
1090
972
|
|
|
@@ -1099,7 +981,7 @@ module Google
|
|
|
1099
981
|
attr_accessor :event_failures
|
|
1100
982
|
|
|
1101
983
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1102
|
-
# string games#eventUpdateResponse
|
|
984
|
+
# string `games#eventUpdateResponse`.
|
|
1103
985
|
# Corresponds to the JSON property `kind`
|
|
1104
986
|
# @return [String]
|
|
1105
987
|
attr_accessor :kind
|
|
@@ -1122,12 +1004,12 @@ module Google
|
|
|
1122
1004
|
end
|
|
1123
1005
|
end
|
|
1124
1006
|
|
|
1125
|
-
#
|
|
1007
|
+
# The payload to request to increment an achievement.
|
|
1126
1008
|
class GamesAchievementIncrement
|
|
1127
1009
|
include Google::Apis::Core::Hashable
|
|
1128
1010
|
|
|
1129
1011
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1130
|
-
# string games#GamesAchievementIncrement
|
|
1012
|
+
# string `games#GamesAchievementIncrement`.
|
|
1131
1013
|
# Corresponds to the JSON property `kind`
|
|
1132
1014
|
# @return [String]
|
|
1133
1015
|
attr_accessor :kind
|
|
@@ -1154,12 +1036,12 @@ module Google
|
|
|
1154
1036
|
end
|
|
1155
1037
|
end
|
|
1156
1038
|
|
|
1157
|
-
#
|
|
1039
|
+
# The payload to request to increment an achievement.
|
|
1158
1040
|
class GamesAchievementSetStepsAtLeast
|
|
1159
1041
|
include Google::Apis::Core::Hashable
|
|
1160
1042
|
|
|
1161
1043
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1162
|
-
# string games#GamesAchievementSetStepsAtLeast
|
|
1044
|
+
# string `games#GamesAchievementSetStepsAtLeast`.
|
|
1163
1045
|
# Corresponds to the JSON property `kind`
|
|
1164
1046
|
# @return [String]
|
|
1165
1047
|
attr_accessor :kind
|
|
@@ -1180,7 +1062,7 @@ module Google
|
|
|
1180
1062
|
end
|
|
1181
1063
|
end
|
|
1182
1064
|
|
|
1183
|
-
#
|
|
1065
|
+
# An image asset object.
|
|
1184
1066
|
class ImageAsset
|
|
1185
1067
|
include Google::Apis::Core::Hashable
|
|
1186
1068
|
|
|
@@ -1190,7 +1072,7 @@ module Google
|
|
|
1190
1072
|
attr_accessor :height
|
|
1191
1073
|
|
|
1192
1074
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1193
|
-
# string games#imageAsset
|
|
1075
|
+
# string `games#imageAsset`.
|
|
1194
1076
|
# Corresponds to the JSON property `kind`
|
|
1195
1077
|
# @return [String]
|
|
1196
1078
|
attr_accessor :kind
|
|
@@ -1224,7 +1106,7 @@ module Google
|
|
|
1224
1106
|
end
|
|
1225
1107
|
end
|
|
1226
1108
|
|
|
1227
|
-
#
|
|
1109
|
+
# The Instance resource.
|
|
1228
1110
|
class Instance
|
|
1229
1111
|
include Google::Apis::Core::Hashable
|
|
1230
1112
|
|
|
@@ -1233,18 +1115,18 @@ module Google
|
|
|
1233
1115
|
# @return [String]
|
|
1234
1116
|
attr_accessor :acquisition_uri
|
|
1235
1117
|
|
|
1236
|
-
#
|
|
1118
|
+
# The Android instance details resource.
|
|
1237
1119
|
# Corresponds to the JSON property `androidInstance`
|
|
1238
1120
|
# @return [Google::Apis::GamesV1::InstanceAndroidDetails]
|
|
1239
1121
|
attr_accessor :android_instance
|
|
1240
1122
|
|
|
1241
|
-
#
|
|
1123
|
+
# The iOS details resource.
|
|
1242
1124
|
# Corresponds to the JSON property `iosInstance`
|
|
1243
1125
|
# @return [Google::Apis::GamesV1::InstanceIosDetails]
|
|
1244
1126
|
attr_accessor :ios_instance
|
|
1245
1127
|
|
|
1246
1128
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1247
|
-
# string games#instance
|
|
1129
|
+
# string `games#instance`.
|
|
1248
1130
|
# Corresponds to the JSON property `kind`
|
|
1249
1131
|
# @return [String]
|
|
1250
1132
|
attr_accessor :kind
|
|
@@ -1255,10 +1137,6 @@ module Google
|
|
|
1255
1137
|
attr_accessor :name
|
|
1256
1138
|
|
|
1257
1139
|
# The platform type.
|
|
1258
|
-
# Possible values are:
|
|
1259
|
-
# - "ANDROID" - Instance is for Android.
|
|
1260
|
-
# - "IOS" - Instance is for iOS
|
|
1261
|
-
# - "WEB_APP" - Instance is for Web App.
|
|
1262
1140
|
# Corresponds to the JSON property `platformType`
|
|
1263
1141
|
# @return [String]
|
|
1264
1142
|
attr_accessor :platform_type
|
|
@@ -1275,7 +1153,7 @@ module Google
|
|
|
1275
1153
|
attr_accessor :turn_based_play
|
|
1276
1154
|
alias_method :turn_based_play?, :turn_based_play
|
|
1277
1155
|
|
|
1278
|
-
#
|
|
1156
|
+
# The Web details resource.
|
|
1279
1157
|
# Corresponds to the JSON property `webInstance`
|
|
1280
1158
|
# @return [Google::Apis::GamesV1::InstanceWebDetails]
|
|
1281
1159
|
attr_accessor :web_instance
|
|
@@ -1298,7 +1176,7 @@ module Google
|
|
|
1298
1176
|
end
|
|
1299
1177
|
end
|
|
1300
1178
|
|
|
1301
|
-
#
|
|
1179
|
+
# The Android instance details resource.
|
|
1302
1180
|
class InstanceAndroidDetails
|
|
1303
1181
|
include Google::Apis::Core::Hashable
|
|
1304
1182
|
|
|
@@ -1309,7 +1187,7 @@ module Google
|
|
|
1309
1187
|
alias_method :enable_piracy_check?, :enable_piracy_check
|
|
1310
1188
|
|
|
1311
1189
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1312
|
-
# string games#instanceAndroidDetails
|
|
1190
|
+
# string `games#instanceAndroidDetails`.
|
|
1313
1191
|
# Corresponds to the JSON property `kind`
|
|
1314
1192
|
# @return [String]
|
|
1315
1193
|
attr_accessor :kind
|
|
@@ -1338,7 +1216,7 @@ module Google
|
|
|
1338
1216
|
end
|
|
1339
1217
|
end
|
|
1340
1218
|
|
|
1341
|
-
#
|
|
1219
|
+
# The iOS details resource.
|
|
1342
1220
|
class InstanceIosDetails
|
|
1343
1221
|
include Google::Apis::Core::Hashable
|
|
1344
1222
|
|
|
@@ -1353,7 +1231,7 @@ module Google
|
|
|
1353
1231
|
attr_accessor :itunes_app_id
|
|
1354
1232
|
|
|
1355
1233
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1356
|
-
# string games#instanceIosDetails
|
|
1234
|
+
# string `games#instanceIosDetails`.
|
|
1357
1235
|
# Corresponds to the JSON property `kind`
|
|
1358
1236
|
# @return [String]
|
|
1359
1237
|
attr_accessor :kind
|
|
@@ -1400,12 +1278,12 @@ module Google
|
|
|
1400
1278
|
end
|
|
1401
1279
|
end
|
|
1402
1280
|
|
|
1403
|
-
#
|
|
1281
|
+
# The Web details resource.
|
|
1404
1282
|
class InstanceWebDetails
|
|
1405
1283
|
include Google::Apis::Core::Hashable
|
|
1406
1284
|
|
|
1407
1285
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1408
|
-
# string games#instanceWebDetails
|
|
1286
|
+
# string `games#instanceWebDetails`.
|
|
1409
1287
|
# Corresponds to the JSON property `kind`
|
|
1410
1288
|
# @return [String]
|
|
1411
1289
|
attr_accessor :kind
|
|
@@ -1433,7 +1311,7 @@ module Google
|
|
|
1433
1311
|
end
|
|
1434
1312
|
end
|
|
1435
1313
|
|
|
1436
|
-
#
|
|
1314
|
+
# The Leaderboard resource.
|
|
1437
1315
|
class Leaderboard
|
|
1438
1316
|
include Google::Apis::Core::Hashable
|
|
1439
1317
|
|
|
@@ -1455,7 +1333,7 @@ module Google
|
|
|
1455
1333
|
alias_method :is_icon_url_default?, :is_icon_url_default
|
|
1456
1334
|
|
|
1457
1335
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1458
|
-
# string games#leaderboard
|
|
1336
|
+
# string `games#leaderboard`.
|
|
1459
1337
|
# Corresponds to the JSON property `kind`
|
|
1460
1338
|
# @return [String]
|
|
1461
1339
|
attr_accessor :kind
|
|
@@ -1466,11 +1344,6 @@ module Google
|
|
|
1466
1344
|
attr_accessor :name
|
|
1467
1345
|
|
|
1468
1346
|
# How scores are ordered.
|
|
1469
|
-
# Possible values are:
|
|
1470
|
-
# - "LARGER_IS_BETTER" - Larger values are better; scores are sorted in
|
|
1471
|
-
# descending order.
|
|
1472
|
-
# - "SMALLER_IS_BETTER" - Smaller values are better; scores are sorted in
|
|
1473
|
-
# ascending order.
|
|
1474
1347
|
# Corresponds to the JSON property `order`
|
|
1475
1348
|
# @return [String]
|
|
1476
1349
|
attr_accessor :order
|
|
@@ -1490,7 +1363,7 @@ module Google
|
|
|
1490
1363
|
end
|
|
1491
1364
|
end
|
|
1492
1365
|
|
|
1493
|
-
#
|
|
1366
|
+
# The Leaderboard Entry resource.
|
|
1494
1367
|
class LeaderboardEntry
|
|
1495
1368
|
include Google::Apis::Core::Hashable
|
|
1496
1369
|
|
|
@@ -1505,12 +1378,12 @@ module Google
|
|
|
1505
1378
|
attr_accessor :formatted_score_rank
|
|
1506
1379
|
|
|
1507
1380
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1508
|
-
# string games#leaderboardEntry
|
|
1381
|
+
# string `games#leaderboardEntry`.
|
|
1509
1382
|
# Corresponds to the JSON property `kind`
|
|
1510
1383
|
# @return [String]
|
|
1511
1384
|
attr_accessor :kind
|
|
1512
1385
|
|
|
1513
|
-
#
|
|
1386
|
+
# A Player resource.
|
|
1514
1387
|
# Corresponds to the JSON property `player`
|
|
1515
1388
|
# @return [Google::Apis::GamesV1::Player]
|
|
1516
1389
|
attr_accessor :player
|
|
@@ -1532,10 +1405,6 @@ module Google
|
|
|
1532
1405
|
attr_accessor :score_value
|
|
1533
1406
|
|
|
1534
1407
|
# The time span of this high score.
|
|
1535
|
-
# Possible values are:
|
|
1536
|
-
# - "ALL_TIME" - The score is an all-time high score.
|
|
1537
|
-
# - "WEEKLY" - The score is a weekly high score.
|
|
1538
|
-
# - "DAILY" - The score is a daily high score.
|
|
1539
1408
|
# Corresponds to the JSON property `timeSpan`
|
|
1540
1409
|
# @return [String]
|
|
1541
1410
|
attr_accessor :time_span
|
|
@@ -1564,7 +1433,7 @@ module Google
|
|
|
1564
1433
|
end
|
|
1565
1434
|
end
|
|
1566
1435
|
|
|
1567
|
-
#
|
|
1436
|
+
# A list of leaderboard objects.
|
|
1568
1437
|
class ListLeaderboardResponse
|
|
1569
1438
|
include Google::Apis::Core::Hashable
|
|
1570
1439
|
|
|
@@ -1574,7 +1443,7 @@ module Google
|
|
|
1574
1443
|
attr_accessor :items
|
|
1575
1444
|
|
|
1576
1445
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1577
|
-
# string games#leaderboardListResponse
|
|
1446
|
+
# string `games#leaderboardListResponse`.
|
|
1578
1447
|
# Corresponds to the JSON property `kind`
|
|
1579
1448
|
# @return [String]
|
|
1580
1449
|
attr_accessor :kind
|
|
@@ -1596,7 +1465,7 @@ module Google
|
|
|
1596
1465
|
end
|
|
1597
1466
|
end
|
|
1598
1467
|
|
|
1599
|
-
#
|
|
1468
|
+
# A score rank in a leaderboard.
|
|
1600
1469
|
class LeaderboardScoreRank
|
|
1601
1470
|
include Google::Apis::Core::Hashable
|
|
1602
1471
|
|
|
@@ -1611,7 +1480,7 @@ module Google
|
|
|
1611
1480
|
attr_accessor :formatted_rank
|
|
1612
1481
|
|
|
1613
1482
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1614
|
-
# string games#leaderboardScoreRank
|
|
1483
|
+
# string `games#leaderboardScoreRank`.
|
|
1615
1484
|
# Corresponds to the JSON property `kind`
|
|
1616
1485
|
# @return [String]
|
|
1617
1486
|
attr_accessor :kind
|
|
@@ -1640,7 +1509,7 @@ module Google
|
|
|
1640
1509
|
end
|
|
1641
1510
|
end
|
|
1642
1511
|
|
|
1643
|
-
#
|
|
1512
|
+
# A ListScores response.
|
|
1644
1513
|
class LeaderboardScores
|
|
1645
1514
|
include Google::Apis::Core::Hashable
|
|
1646
1515
|
|
|
@@ -1650,7 +1519,7 @@ module Google
|
|
|
1650
1519
|
attr_accessor :items
|
|
1651
1520
|
|
|
1652
1521
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1653
|
-
# string games#leaderboardScores
|
|
1522
|
+
# string `games#leaderboardScores`.
|
|
1654
1523
|
# Corresponds to the JSON property `kind`
|
|
1655
1524
|
# @return [String]
|
|
1656
1525
|
attr_accessor :kind
|
|
@@ -1665,7 +1534,7 @@ module Google
|
|
|
1665
1534
|
# @return [Fixnum]
|
|
1666
1535
|
attr_accessor :num_scores
|
|
1667
1536
|
|
|
1668
|
-
#
|
|
1537
|
+
# The Leaderboard Entry resource.
|
|
1669
1538
|
# Corresponds to the JSON property `playerScore`
|
|
1670
1539
|
# @return [Google::Apis::GamesV1::LeaderboardEntry]
|
|
1671
1540
|
attr_accessor :player_score
|
|
@@ -1690,7 +1559,7 @@ module Google
|
|
|
1690
1559
|
end
|
|
1691
1560
|
end
|
|
1692
1561
|
|
|
1693
|
-
#
|
|
1562
|
+
# The metagame config resource
|
|
1694
1563
|
class MetagameConfig
|
|
1695
1564
|
include Google::Apis::Core::Hashable
|
|
1696
1565
|
|
|
@@ -1701,7 +1570,7 @@ module Google
|
|
|
1701
1570
|
attr_accessor :current_version
|
|
1702
1571
|
|
|
1703
1572
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1704
|
-
# string games#metagameConfig
|
|
1573
|
+
# string `games#metagameConfig`.
|
|
1705
1574
|
# Corresponds to the JSON property `kind`
|
|
1706
1575
|
# @return [String]
|
|
1707
1576
|
attr_accessor :kind
|
|
@@ -1723,262 +1592,7 @@ module Google
|
|
|
1723
1592
|
end
|
|
1724
1593
|
end
|
|
1725
1594
|
|
|
1726
|
-
#
|
|
1727
|
-
class NetworkDiagnostics
|
|
1728
|
-
include Google::Apis::Core::Hashable
|
|
1729
|
-
|
|
1730
|
-
# The Android network subtype.
|
|
1731
|
-
# Corresponds to the JSON property `androidNetworkSubtype`
|
|
1732
|
-
# @return [Fixnum]
|
|
1733
|
-
attr_accessor :android_network_subtype
|
|
1734
|
-
|
|
1735
|
-
# The Android network type.
|
|
1736
|
-
# Corresponds to the JSON property `androidNetworkType`
|
|
1737
|
-
# @return [Fixnum]
|
|
1738
|
-
attr_accessor :android_network_type
|
|
1739
|
-
|
|
1740
|
-
# iOS network type as defined in Reachability.h.
|
|
1741
|
-
# Corresponds to the JSON property `iosNetworkType`
|
|
1742
|
-
# @return [Fixnum]
|
|
1743
|
-
attr_accessor :ios_network_type
|
|
1744
|
-
|
|
1745
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1746
|
-
# string games#networkDiagnostics.
|
|
1747
|
-
# Corresponds to the JSON property `kind`
|
|
1748
|
-
# @return [String]
|
|
1749
|
-
attr_accessor :kind
|
|
1750
|
-
|
|
1751
|
-
# The MCC+MNC code for the client's network connection. On Android: http://
|
|
1752
|
-
# developer.android.com/reference/android/telephony/TelephonyManager.html#
|
|
1753
|
-
# getNetworkOperator() On iOS, see: https://developer.apple.com/library/ios/
|
|
1754
|
-
# documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html
|
|
1755
|
-
# Corresponds to the JSON property `networkOperatorCode`
|
|
1756
|
-
# @return [String]
|
|
1757
|
-
attr_accessor :network_operator_code
|
|
1758
|
-
|
|
1759
|
-
# The name of the carrier of the client's network connection. On Android: http://
|
|
1760
|
-
# developer.android.com/reference/android/telephony/TelephonyManager.html#
|
|
1761
|
-
# getNetworkOperatorName() On iOS: https://developer.apple.com/library/ios/
|
|
1762
|
-
# documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#/
|
|
1763
|
-
# /apple_ref/occ/instp/CTCarrier/carrierName
|
|
1764
|
-
# Corresponds to the JSON property `networkOperatorName`
|
|
1765
|
-
# @return [String]
|
|
1766
|
-
attr_accessor :network_operator_name
|
|
1767
|
-
|
|
1768
|
-
# The amount of time in milliseconds it took for the client to establish a
|
|
1769
|
-
# connection with the XMPP server.
|
|
1770
|
-
# Corresponds to the JSON property `registrationLatencyMillis`
|
|
1771
|
-
# @return [Fixnum]
|
|
1772
|
-
attr_accessor :registration_latency_millis
|
|
1773
|
-
|
|
1774
|
-
def initialize(**args)
|
|
1775
|
-
update!(**args)
|
|
1776
|
-
end
|
|
1777
|
-
|
|
1778
|
-
# Update properties of this object
|
|
1779
|
-
def update!(**args)
|
|
1780
|
-
@android_network_subtype = args[:android_network_subtype] if args.key?(:android_network_subtype)
|
|
1781
|
-
@android_network_type = args[:android_network_type] if args.key?(:android_network_type)
|
|
1782
|
-
@ios_network_type = args[:ios_network_type] if args.key?(:ios_network_type)
|
|
1783
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
1784
|
-
@network_operator_code = args[:network_operator_code] if args.key?(:network_operator_code)
|
|
1785
|
-
@network_operator_name = args[:network_operator_name] if args.key?(:network_operator_name)
|
|
1786
|
-
@registration_latency_millis = args[:registration_latency_millis] if args.key?(:registration_latency_millis)
|
|
1787
|
-
end
|
|
1788
|
-
end
|
|
1789
|
-
|
|
1790
|
-
# This is a JSON template for a result for a match participant.
|
|
1791
|
-
class ParticipantResult
|
|
1792
|
-
include Google::Apis::Core::Hashable
|
|
1793
|
-
|
|
1794
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1795
|
-
# string games#participantResult.
|
|
1796
|
-
# Corresponds to the JSON property `kind`
|
|
1797
|
-
# @return [String]
|
|
1798
|
-
attr_accessor :kind
|
|
1799
|
-
|
|
1800
|
-
# The ID of the participant.
|
|
1801
|
-
# Corresponds to the JSON property `participantId`
|
|
1802
|
-
# @return [String]
|
|
1803
|
-
attr_accessor :participant_id
|
|
1804
|
-
|
|
1805
|
-
# The placement or ranking of the participant in the match results; a number
|
|
1806
|
-
# from one to the number of participants in the match. Multiple participants may
|
|
1807
|
-
# have the same placing value in case of a type.
|
|
1808
|
-
# Corresponds to the JSON property `placing`
|
|
1809
|
-
# @return [Fixnum]
|
|
1810
|
-
attr_accessor :placing
|
|
1811
|
-
|
|
1812
|
-
# The result of the participant for this match.
|
|
1813
|
-
# Possible values are:
|
|
1814
|
-
# - "MATCH_RESULT_WIN" - The participant won the match.
|
|
1815
|
-
# - "MATCH_RESULT_LOSS" - The participant lost the match.
|
|
1816
|
-
# - "MATCH_RESULT_TIE" - The participant tied the match.
|
|
1817
|
-
# - "MATCH_RESULT_NONE" - There was no winner for the match (nobody wins or
|
|
1818
|
-
# loses this kind of game.)
|
|
1819
|
-
# - "MATCH_RESULT_DISCONNECT" - The participant disconnected / left during the
|
|
1820
|
-
# match.
|
|
1821
|
-
# - "MATCH_RESULT_DISAGREED" - Different clients reported different results for
|
|
1822
|
-
# this participant.
|
|
1823
|
-
# Corresponds to the JSON property `result`
|
|
1824
|
-
# @return [String]
|
|
1825
|
-
attr_accessor :result
|
|
1826
|
-
|
|
1827
|
-
def initialize(**args)
|
|
1828
|
-
update!(**args)
|
|
1829
|
-
end
|
|
1830
|
-
|
|
1831
|
-
# Update properties of this object
|
|
1832
|
-
def update!(**args)
|
|
1833
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
1834
|
-
@participant_id = args[:participant_id] if args.key?(:participant_id)
|
|
1835
|
-
@placing = args[:placing] if args.key?(:placing)
|
|
1836
|
-
@result = args[:result] if args.key?(:result)
|
|
1837
|
-
end
|
|
1838
|
-
end
|
|
1839
|
-
|
|
1840
|
-
# This is a JSON template for peer channel diagnostics.
|
|
1841
|
-
class PeerChannelDiagnostics
|
|
1842
|
-
include Google::Apis::Core::Hashable
|
|
1843
|
-
|
|
1844
|
-
# This is a JSON template for aggregate stats.
|
|
1845
|
-
# Corresponds to the JSON property `bytesReceived`
|
|
1846
|
-
# @return [Google::Apis::GamesV1::AggregateStats]
|
|
1847
|
-
attr_accessor :bytes_received
|
|
1848
|
-
|
|
1849
|
-
# This is a JSON template for aggregate stats.
|
|
1850
|
-
# Corresponds to the JSON property `bytesSent`
|
|
1851
|
-
# @return [Google::Apis::GamesV1::AggregateStats]
|
|
1852
|
-
attr_accessor :bytes_sent
|
|
1853
|
-
|
|
1854
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1855
|
-
# string games#peerChannelDiagnostics.
|
|
1856
|
-
# Corresponds to the JSON property `kind`
|
|
1857
|
-
# @return [String]
|
|
1858
|
-
attr_accessor :kind
|
|
1859
|
-
|
|
1860
|
-
# Number of messages lost.
|
|
1861
|
-
# Corresponds to the JSON property `numMessagesLost`
|
|
1862
|
-
# @return [Fixnum]
|
|
1863
|
-
attr_accessor :num_messages_lost
|
|
1864
|
-
|
|
1865
|
-
# Number of messages received.
|
|
1866
|
-
# Corresponds to the JSON property `numMessagesReceived`
|
|
1867
|
-
# @return [Fixnum]
|
|
1868
|
-
attr_accessor :num_messages_received
|
|
1869
|
-
|
|
1870
|
-
# Number of messages sent.
|
|
1871
|
-
# Corresponds to the JSON property `numMessagesSent`
|
|
1872
|
-
# @return [Fixnum]
|
|
1873
|
-
attr_accessor :num_messages_sent
|
|
1874
|
-
|
|
1875
|
-
# Number of send failures.
|
|
1876
|
-
# Corresponds to the JSON property `numSendFailures`
|
|
1877
|
-
# @return [Fixnum]
|
|
1878
|
-
attr_accessor :num_send_failures
|
|
1879
|
-
|
|
1880
|
-
# This is a JSON template for aggregate stats.
|
|
1881
|
-
# Corresponds to the JSON property `roundtripLatencyMillis`
|
|
1882
|
-
# @return [Google::Apis::GamesV1::AggregateStats]
|
|
1883
|
-
attr_accessor :roundtrip_latency_millis
|
|
1884
|
-
|
|
1885
|
-
def initialize(**args)
|
|
1886
|
-
update!(**args)
|
|
1887
|
-
end
|
|
1888
|
-
|
|
1889
|
-
# Update properties of this object
|
|
1890
|
-
def update!(**args)
|
|
1891
|
-
@bytes_received = args[:bytes_received] if args.key?(:bytes_received)
|
|
1892
|
-
@bytes_sent = args[:bytes_sent] if args.key?(:bytes_sent)
|
|
1893
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
1894
|
-
@num_messages_lost = args[:num_messages_lost] if args.key?(:num_messages_lost)
|
|
1895
|
-
@num_messages_received = args[:num_messages_received] if args.key?(:num_messages_received)
|
|
1896
|
-
@num_messages_sent = args[:num_messages_sent] if args.key?(:num_messages_sent)
|
|
1897
|
-
@num_send_failures = args[:num_send_failures] if args.key?(:num_send_failures)
|
|
1898
|
-
@roundtrip_latency_millis = args[:roundtrip_latency_millis] if args.key?(:roundtrip_latency_millis)
|
|
1899
|
-
end
|
|
1900
|
-
end
|
|
1901
|
-
|
|
1902
|
-
# This is a JSON template for peer session diagnostics.
|
|
1903
|
-
class PeerSessionDiagnostics
|
|
1904
|
-
include Google::Apis::Core::Hashable
|
|
1905
|
-
|
|
1906
|
-
# Connected time in milliseconds.
|
|
1907
|
-
# Corresponds to the JSON property `connectedTimestampMillis`
|
|
1908
|
-
# @return [Fixnum]
|
|
1909
|
-
attr_accessor :connected_timestamp_millis
|
|
1910
|
-
|
|
1911
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1912
|
-
# string games#peerSessionDiagnostics.
|
|
1913
|
-
# Corresponds to the JSON property `kind`
|
|
1914
|
-
# @return [String]
|
|
1915
|
-
attr_accessor :kind
|
|
1916
|
-
|
|
1917
|
-
# The participant ID of the peer.
|
|
1918
|
-
# Corresponds to the JSON property `participantId`
|
|
1919
|
-
# @return [String]
|
|
1920
|
-
attr_accessor :participant_id
|
|
1921
|
-
|
|
1922
|
-
# This is a JSON template for peer channel diagnostics.
|
|
1923
|
-
# Corresponds to the JSON property `reliableChannel`
|
|
1924
|
-
# @return [Google::Apis::GamesV1::PeerChannelDiagnostics]
|
|
1925
|
-
attr_accessor :reliable_channel
|
|
1926
|
-
|
|
1927
|
-
# This is a JSON template for peer channel diagnostics.
|
|
1928
|
-
# Corresponds to the JSON property `unreliableChannel`
|
|
1929
|
-
# @return [Google::Apis::GamesV1::PeerChannelDiagnostics]
|
|
1930
|
-
attr_accessor :unreliable_channel
|
|
1931
|
-
|
|
1932
|
-
def initialize(**args)
|
|
1933
|
-
update!(**args)
|
|
1934
|
-
end
|
|
1935
|
-
|
|
1936
|
-
# Update properties of this object
|
|
1937
|
-
def update!(**args)
|
|
1938
|
-
@connected_timestamp_millis = args[:connected_timestamp_millis] if args.key?(:connected_timestamp_millis)
|
|
1939
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
1940
|
-
@participant_id = args[:participant_id] if args.key?(:participant_id)
|
|
1941
|
-
@reliable_channel = args[:reliable_channel] if args.key?(:reliable_channel)
|
|
1942
|
-
@unreliable_channel = args[:unreliable_channel] if args.key?(:unreliable_channel)
|
|
1943
|
-
end
|
|
1944
|
-
end
|
|
1945
|
-
|
|
1946
|
-
# This is a JSON template for metadata about a player playing a game with the
|
|
1947
|
-
# currently authenticated user.
|
|
1948
|
-
class Played
|
|
1949
|
-
include Google::Apis::Core::Hashable
|
|
1950
|
-
|
|
1951
|
-
# True if the player was auto-matched with the currently authenticated user.
|
|
1952
|
-
# Corresponds to the JSON property `autoMatched`
|
|
1953
|
-
# @return [Boolean]
|
|
1954
|
-
attr_accessor :auto_matched
|
|
1955
|
-
alias_method :auto_matched?, :auto_matched
|
|
1956
|
-
|
|
1957
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
1958
|
-
# string games#played.
|
|
1959
|
-
# Corresponds to the JSON property `kind`
|
|
1960
|
-
# @return [String]
|
|
1961
|
-
attr_accessor :kind
|
|
1962
|
-
|
|
1963
|
-
# The last time the player played the game in milliseconds since the epoch in
|
|
1964
|
-
# UTC.
|
|
1965
|
-
# Corresponds to the JSON property `timeMillis`
|
|
1966
|
-
# @return [Fixnum]
|
|
1967
|
-
attr_accessor :time_millis
|
|
1968
|
-
|
|
1969
|
-
def initialize(**args)
|
|
1970
|
-
update!(**args)
|
|
1971
|
-
end
|
|
1972
|
-
|
|
1973
|
-
# Update properties of this object
|
|
1974
|
-
def update!(**args)
|
|
1975
|
-
@auto_matched = args[:auto_matched] if args.key?(:auto_matched)
|
|
1976
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
1977
|
-
@time_millis = args[:time_millis] if args.key?(:time_millis)
|
|
1978
|
-
end
|
|
1979
|
-
end
|
|
1980
|
-
|
|
1981
|
-
# This is a JSON template for a Player resource.
|
|
1595
|
+
# A Player resource.
|
|
1982
1596
|
class Player
|
|
1983
1597
|
include Google::Apis::Core::Hashable
|
|
1984
1598
|
|
|
@@ -2002,7 +1616,7 @@ module Google
|
|
|
2002
1616
|
# @return [String]
|
|
2003
1617
|
attr_accessor :display_name
|
|
2004
1618
|
|
|
2005
|
-
#
|
|
1619
|
+
# 1P/3P metadata about the player's experience.
|
|
2006
1620
|
# Corresponds to the JSON property `experienceInfo`
|
|
2007
1621
|
# @return [Google::Apis::GamesV1::PlayerExperienceInfo]
|
|
2008
1622
|
attr_accessor :experience_info
|
|
@@ -2014,19 +1628,12 @@ module Google
|
|
|
2014
1628
|
attr_accessor :friend_status
|
|
2015
1629
|
|
|
2016
1630
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2017
|
-
# string games#player
|
|
1631
|
+
# string `games#player`
|
|
2018
1632
|
# Corresponds to the JSON property `kind`
|
|
2019
1633
|
# @return [String]
|
|
2020
1634
|
attr_accessor :kind
|
|
2021
1635
|
|
|
2022
|
-
#
|
|
2023
|
-
# currently authenticated user.
|
|
2024
|
-
# Corresponds to the JSON property `lastPlayedWith`
|
|
2025
|
-
# @return [Google::Apis::GamesV1::Played]
|
|
2026
|
-
attr_accessor :last_played_with
|
|
2027
|
-
|
|
2028
|
-
# An object representation of the individual components of the player's name.
|
|
2029
|
-
# For some players, these fields may not be present.
|
|
1636
|
+
# A representation of the individual components of the name.
|
|
2030
1637
|
# Corresponds to the JSON property `name`
|
|
2031
1638
|
# @return [Google::Apis::GamesV1::Player::Name]
|
|
2032
1639
|
attr_accessor :name
|
|
@@ -2044,7 +1651,7 @@ module Google
|
|
|
2044
1651
|
# @return [String]
|
|
2045
1652
|
attr_accessor :player_id
|
|
2046
1653
|
|
|
2047
|
-
#
|
|
1654
|
+
# Profile settings
|
|
2048
1655
|
# Corresponds to the JSON property `profileSettings`
|
|
2049
1656
|
# @return [Google::Apis::GamesV1::ProfileSettings]
|
|
2050
1657
|
attr_accessor :profile_settings
|
|
@@ -2067,7 +1674,6 @@ module Google
|
|
|
2067
1674
|
@experience_info = args[:experience_info] if args.key?(:experience_info)
|
|
2068
1675
|
@friend_status = args[:friend_status] if args.key?(:friend_status)
|
|
2069
1676
|
@kind = args[:kind] if args.key?(:kind)
|
|
2070
|
-
@last_played_with = args[:last_played_with] if args.key?(:last_played_with)
|
|
2071
1677
|
@name = args[:name] if args.key?(:name)
|
|
2072
1678
|
@original_player_id = args[:original_player_id] if args.key?(:original_player_id)
|
|
2073
1679
|
@player_id = args[:player_id] if args.key?(:player_id)
|
|
@@ -2075,8 +1681,7 @@ module Google
|
|
|
2075
1681
|
@title = args[:title] if args.key?(:title)
|
|
2076
1682
|
end
|
|
2077
1683
|
|
|
2078
|
-
#
|
|
2079
|
-
# For some players, these fields may not be present.
|
|
1684
|
+
# A representation of the individual components of the name.
|
|
2080
1685
|
class Name
|
|
2081
1686
|
include Google::Apis::Core::Hashable
|
|
2082
1687
|
|
|
@@ -2102,15 +1707,11 @@ module Google
|
|
|
2102
1707
|
end
|
|
2103
1708
|
end
|
|
2104
1709
|
|
|
2105
|
-
#
|
|
1710
|
+
# An achievement object.
|
|
2106
1711
|
class PlayerAchievement
|
|
2107
1712
|
include Google::Apis::Core::Hashable
|
|
2108
1713
|
|
|
2109
1714
|
# The state of the achievement.
|
|
2110
|
-
# Possible values are:
|
|
2111
|
-
# - "HIDDEN" - Achievement is hidden.
|
|
2112
|
-
# - "REVEALED" - Achievement is revealed.
|
|
2113
|
-
# - "UNLOCKED" - Achievement is unlocked.
|
|
2114
1715
|
# Corresponds to the JSON property `achievementState`
|
|
2115
1716
|
# @return [String]
|
|
2116
1717
|
attr_accessor :achievement_state
|
|
@@ -2138,7 +1739,7 @@ module Google
|
|
|
2138
1739
|
attr_accessor :id
|
|
2139
1740
|
|
|
2140
1741
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2141
|
-
# string games#playerAchievement
|
|
1742
|
+
# string `games#playerAchievement`.
|
|
2142
1743
|
# Corresponds to the JSON property `kind`
|
|
2143
1744
|
# @return [String]
|
|
2144
1745
|
attr_accessor :kind
|
|
@@ -2164,7 +1765,7 @@ module Google
|
|
|
2164
1765
|
end
|
|
2165
1766
|
end
|
|
2166
1767
|
|
|
2167
|
-
#
|
|
1768
|
+
# A list of achievement objects.
|
|
2168
1769
|
class ListPlayerAchievementResponse
|
|
2169
1770
|
include Google::Apis::Core::Hashable
|
|
2170
1771
|
|
|
@@ -2174,7 +1775,7 @@ module Google
|
|
|
2174
1775
|
attr_accessor :items
|
|
2175
1776
|
|
|
2176
1777
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2177
|
-
# string games#playerAchievementListResponse
|
|
1778
|
+
# string `games#playerAchievementListResponse`.
|
|
2178
1779
|
# Corresponds to the JSON property `kind`
|
|
2179
1780
|
# @return [String]
|
|
2180
1781
|
attr_accessor :kind
|
|
@@ -2196,7 +1797,7 @@ module Google
|
|
|
2196
1797
|
end
|
|
2197
1798
|
end
|
|
2198
1799
|
|
|
2199
|
-
#
|
|
1800
|
+
# An event status resource.
|
|
2200
1801
|
class PlayerEvent
|
|
2201
1802
|
include Google::Apis::Core::Hashable
|
|
2202
1803
|
|
|
@@ -2213,7 +1814,7 @@ module Google
|
|
|
2213
1814
|
attr_accessor :formatted_num_events
|
|
2214
1815
|
|
|
2215
1816
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2216
|
-
# string games#playerEvent
|
|
1817
|
+
# string `games#playerEvent`.
|
|
2217
1818
|
# Corresponds to the JSON property `kind`
|
|
2218
1819
|
# @return [String]
|
|
2219
1820
|
attr_accessor :kind
|
|
@@ -2242,7 +1843,7 @@ module Google
|
|
|
2242
1843
|
end
|
|
2243
1844
|
end
|
|
2244
1845
|
|
|
2245
|
-
#
|
|
1846
|
+
# A ListByPlayer response.
|
|
2246
1847
|
class ListPlayerEventResponse
|
|
2247
1848
|
include Google::Apis::Core::Hashable
|
|
2248
1849
|
|
|
@@ -2252,7 +1853,7 @@ module Google
|
|
|
2252
1853
|
attr_accessor :items
|
|
2253
1854
|
|
|
2254
1855
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2255
|
-
# string games#playerEventListResponse
|
|
1856
|
+
# string `games#playerEventListResponse`.
|
|
2256
1857
|
# Corresponds to the JSON property `kind`
|
|
2257
1858
|
# @return [String]
|
|
2258
1859
|
attr_accessor :kind
|
|
@@ -2274,7 +1875,7 @@ module Google
|
|
|
2274
1875
|
end
|
|
2275
1876
|
end
|
|
2276
1877
|
|
|
2277
|
-
#
|
|
1878
|
+
# 1P/3P metadata about the player's experience.
|
|
2278
1879
|
class PlayerExperienceInfo
|
|
2279
1880
|
include Google::Apis::Core::Hashable
|
|
2280
1881
|
|
|
@@ -2283,13 +1884,13 @@ module Google
|
|
|
2283
1884
|
# @return [Fixnum]
|
|
2284
1885
|
attr_accessor :current_experience_points
|
|
2285
1886
|
|
|
2286
|
-
#
|
|
1887
|
+
# 1P/3P metadata about a user's level.
|
|
2287
1888
|
# Corresponds to the JSON property `currentLevel`
|
|
2288
1889
|
# @return [Google::Apis::GamesV1::PlayerLevel]
|
|
2289
1890
|
attr_accessor :current_level
|
|
2290
1891
|
|
|
2291
1892
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2292
|
-
# string games#playerExperienceInfo
|
|
1893
|
+
# string `games#playerExperienceInfo`.
|
|
2293
1894
|
# Corresponds to the JSON property `kind`
|
|
2294
1895
|
# @return [String]
|
|
2295
1896
|
attr_accessor :kind
|
|
@@ -2299,7 +1900,7 @@ module Google
|
|
|
2299
1900
|
# @return [Fixnum]
|
|
2300
1901
|
attr_accessor :last_level_up_timestamp_millis
|
|
2301
1902
|
|
|
2302
|
-
#
|
|
1903
|
+
# 1P/3P metadata about a user's level.
|
|
2303
1904
|
# Corresponds to the JSON property `nextLevel`
|
|
2304
1905
|
# @return [Google::Apis::GamesV1::PlayerLevel]
|
|
2305
1906
|
attr_accessor :next_level
|
|
@@ -2318,12 +1919,17 @@ module Google
|
|
|
2318
1919
|
end
|
|
2319
1920
|
end
|
|
2320
1921
|
|
|
2321
|
-
#
|
|
1922
|
+
# A player leaderboard score object.
|
|
2322
1923
|
class PlayerLeaderboardScore
|
|
2323
1924
|
include Google::Apis::Core::Hashable
|
|
2324
1925
|
|
|
1926
|
+
# A score rank in a leaderboard.
|
|
1927
|
+
# Corresponds to the JSON property `friendsRank`
|
|
1928
|
+
# @return [Google::Apis::GamesV1::LeaderboardScoreRank]
|
|
1929
|
+
attr_accessor :friends_rank
|
|
1930
|
+
|
|
2325
1931
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2326
|
-
# string games#playerLeaderboardScore
|
|
1932
|
+
# string `games#playerLeaderboardScore`.
|
|
2327
1933
|
# Corresponds to the JSON property `kind`
|
|
2328
1934
|
# @return [String]
|
|
2329
1935
|
attr_accessor :kind
|
|
@@ -2333,7 +1939,7 @@ module Google
|
|
|
2333
1939
|
# @return [String]
|
|
2334
1940
|
attr_accessor :leaderboard_id
|
|
2335
1941
|
|
|
2336
|
-
#
|
|
1942
|
+
# A score rank in a leaderboard.
|
|
2337
1943
|
# Corresponds to the JSON property `publicRank`
|
|
2338
1944
|
# @return [Google::Apis::GamesV1::LeaderboardScoreRank]
|
|
2339
1945
|
attr_accessor :public_rank
|
|
@@ -2354,16 +1960,12 @@ module Google
|
|
|
2354
1960
|
# @return [Fixnum]
|
|
2355
1961
|
attr_accessor :score_value
|
|
2356
1962
|
|
|
2357
|
-
#
|
|
1963
|
+
# A score rank in a leaderboard.
|
|
2358
1964
|
# Corresponds to the JSON property `socialRank`
|
|
2359
1965
|
# @return [Google::Apis::GamesV1::LeaderboardScoreRank]
|
|
2360
1966
|
attr_accessor :social_rank
|
|
2361
1967
|
|
|
2362
1968
|
# The time span of this score.
|
|
2363
|
-
# Possible values are:
|
|
2364
|
-
# - "ALL_TIME" - The score is an all-time score.
|
|
2365
|
-
# - "WEEKLY" - The score is a weekly score.
|
|
2366
|
-
# - "DAILY" - The score is a daily score.
|
|
2367
1969
|
# Corresponds to the JSON property `timeSpan`
|
|
2368
1970
|
# @return [String]
|
|
2369
1971
|
attr_accessor :time_span
|
|
@@ -2380,6 +1982,7 @@ module Google
|
|
|
2380
1982
|
|
|
2381
1983
|
# Update properties of this object
|
|
2382
1984
|
def update!(**args)
|
|
1985
|
+
@friends_rank = args[:friends_rank] if args.key?(:friends_rank)
|
|
2383
1986
|
@kind = args[:kind] if args.key?(:kind)
|
|
2384
1987
|
@leaderboard_id = args[:leaderboard_id] if args.key?(:leaderboard_id)
|
|
2385
1988
|
@public_rank = args[:public_rank] if args.key?(:public_rank)
|
|
@@ -2392,7 +1995,7 @@ module Google
|
|
|
2392
1995
|
end
|
|
2393
1996
|
end
|
|
2394
1997
|
|
|
2395
|
-
#
|
|
1998
|
+
# A list of player leaderboard scores.
|
|
2396
1999
|
class ListPlayerLeaderboardScoreResponse
|
|
2397
2000
|
include Google::Apis::Core::Hashable
|
|
2398
2001
|
|
|
@@ -2402,7 +2005,7 @@ module Google
|
|
|
2402
2005
|
attr_accessor :items
|
|
2403
2006
|
|
|
2404
2007
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2405
|
-
# string games#playerLeaderboardScoreListResponse
|
|
2008
|
+
# string `games#playerLeaderboardScoreListResponse`.
|
|
2406
2009
|
# Corresponds to the JSON property `kind`
|
|
2407
2010
|
# @return [String]
|
|
2408
2011
|
attr_accessor :kind
|
|
@@ -2412,7 +2015,7 @@ module Google
|
|
|
2412
2015
|
# @return [String]
|
|
2413
2016
|
attr_accessor :next_page_token
|
|
2414
2017
|
|
|
2415
|
-
#
|
|
2018
|
+
# A Player resource.
|
|
2416
2019
|
# Corresponds to the JSON property `player`
|
|
2417
2020
|
# @return [Google::Apis::GamesV1::Player]
|
|
2418
2021
|
attr_accessor :player
|
|
@@ -2430,12 +2033,12 @@ module Google
|
|
|
2430
2033
|
end
|
|
2431
2034
|
end
|
|
2432
2035
|
|
|
2433
|
-
#
|
|
2036
|
+
# 1P/3P metadata about a user's level.
|
|
2434
2037
|
class PlayerLevel
|
|
2435
2038
|
include Google::Apis::Core::Hashable
|
|
2436
2039
|
|
|
2437
2040
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2438
|
-
# string games#playerLevel
|
|
2041
|
+
# string `games#playerLevel`.
|
|
2439
2042
|
# Corresponds to the JSON property `kind`
|
|
2440
2043
|
# @return [String]
|
|
2441
2044
|
attr_accessor :kind
|
|
@@ -2468,7 +2071,7 @@ module Google
|
|
|
2468
2071
|
end
|
|
2469
2072
|
end
|
|
2470
2073
|
|
|
2471
|
-
#
|
|
2074
|
+
# A third party player list response.
|
|
2472
2075
|
class ListPlayerResponse
|
|
2473
2076
|
include Google::Apis::Core::Hashable
|
|
2474
2077
|
|
|
@@ -2478,7 +2081,7 @@ module Google
|
|
|
2478
2081
|
attr_accessor :items
|
|
2479
2082
|
|
|
2480
2083
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2481
|
-
# string games#playerListResponse
|
|
2084
|
+
# string `games#playerListResponse`.
|
|
2482
2085
|
# Corresponds to the JSON property `kind`
|
|
2483
2086
|
# @return [String]
|
|
2484
2087
|
attr_accessor :kind
|
|
@@ -2500,7 +2103,7 @@ module Google
|
|
|
2500
2103
|
end
|
|
2501
2104
|
end
|
|
2502
2105
|
|
|
2503
|
-
#
|
|
2106
|
+
# A player score.
|
|
2504
2107
|
class PlayerScore
|
|
2505
2108
|
include Google::Apis::Core::Hashable
|
|
2506
2109
|
|
|
@@ -2510,7 +2113,7 @@ module Google
|
|
|
2510
2113
|
attr_accessor :formatted_score
|
|
2511
2114
|
|
|
2512
2115
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2513
|
-
# string games#playerScore
|
|
2116
|
+
# string `games#playerScore`.
|
|
2514
2117
|
# Corresponds to the JSON property `kind`
|
|
2515
2118
|
# @return [String]
|
|
2516
2119
|
attr_accessor :kind
|
|
@@ -2527,10 +2130,6 @@ module Google
|
|
|
2527
2130
|
attr_accessor :score_tag
|
|
2528
2131
|
|
|
2529
2132
|
# The time span for this player score.
|
|
2530
|
-
# Possible values are:
|
|
2531
|
-
# - "ALL_TIME" - The score is an all-time score.
|
|
2532
|
-
# - "WEEKLY" - The score is a weekly score.
|
|
2533
|
-
# - "DAILY" - The score is a daily score.
|
|
2534
2133
|
# Corresponds to the JSON property `timeSpan`
|
|
2535
2134
|
# @return [String]
|
|
2536
2135
|
attr_accessor :time_span
|
|
@@ -2549,12 +2148,12 @@ module Google
|
|
|
2549
2148
|
end
|
|
2550
2149
|
end
|
|
2551
2150
|
|
|
2552
|
-
#
|
|
2151
|
+
# A list of score submission statuses.
|
|
2553
2152
|
class ListPlayerScoreResponse
|
|
2554
2153
|
include Google::Apis::Core::Hashable
|
|
2555
2154
|
|
|
2556
2155
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2557
|
-
# string games#playerScoreListResponse
|
|
2156
|
+
# string `games#playerScoreListResponse`.
|
|
2558
2157
|
# Corresponds to the JSON property `kind`
|
|
2559
2158
|
# @return [String]
|
|
2560
2159
|
attr_accessor :kind
|
|
@@ -2575,16 +2174,12 @@ module Google
|
|
|
2575
2174
|
end
|
|
2576
2175
|
end
|
|
2577
2176
|
|
|
2578
|
-
#
|
|
2177
|
+
# A list of leaderboard entry resources.
|
|
2579
2178
|
class PlayerScoreResponse
|
|
2580
2179
|
include Google::Apis::Core::Hashable
|
|
2581
2180
|
|
|
2582
2181
|
# The time spans where the submitted score is better than the existing score for
|
|
2583
2182
|
# that time span.
|
|
2584
|
-
# Possible values are:
|
|
2585
|
-
# - "ALL_TIME" - The score is an all-time score.
|
|
2586
|
-
# - "WEEKLY" - The score is a weekly score.
|
|
2587
|
-
# - "DAILY" - The score is a daily score.
|
|
2588
2183
|
# Corresponds to the JSON property `beatenScoreTimeSpans`
|
|
2589
2184
|
# @return [Array<String>]
|
|
2590
2185
|
attr_accessor :beaten_score_time_spans
|
|
@@ -2595,7 +2190,7 @@ module Google
|
|
|
2595
2190
|
attr_accessor :formatted_score
|
|
2596
2191
|
|
|
2597
2192
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2598
|
-
# string games#playerScoreResponse
|
|
2193
|
+
# string `games#playerScoreResponse`.
|
|
2599
2194
|
# Corresponds to the JSON property `kind`
|
|
2600
2195
|
# @return [String]
|
|
2601
2196
|
attr_accessor :kind
|
|
@@ -2612,8 +2207,8 @@ module Google
|
|
|
2612
2207
|
attr_accessor :score_tag
|
|
2613
2208
|
|
|
2614
2209
|
# The scores in time spans that have not been beaten. As an example, the
|
|
2615
|
-
# submitted score may be better than the player's DAILY score, but not better
|
|
2616
|
-
# than the player's scores for the WEEKLY or ALL_TIME time spans.
|
|
2210
|
+
# submitted score may be better than the player's `DAILY` score, but not better
|
|
2211
|
+
# than the player's scores for the `WEEKLY` or `ALL_TIME` time spans.
|
|
2617
2212
|
# Corresponds to the JSON property `unbeatenScores`
|
|
2618
2213
|
# @return [Array<Google::Apis::GamesV1::PlayerScore>]
|
|
2619
2214
|
attr_accessor :unbeaten_scores
|
|
@@ -2633,12 +2228,12 @@ module Google
|
|
|
2633
2228
|
end
|
|
2634
2229
|
end
|
|
2635
2230
|
|
|
2636
|
-
#
|
|
2231
|
+
# A list of score submission requests.
|
|
2637
2232
|
class PlayerScoreSubmissionList
|
|
2638
2233
|
include Google::Apis::Core::Hashable
|
|
2639
2234
|
|
|
2640
2235
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2641
|
-
# string games#playerScoreSubmissionList
|
|
2236
|
+
# string `games#playerScoreSubmissionList`.
|
|
2642
2237
|
# Corresponds to the JSON property `kind`
|
|
2643
2238
|
# @return [String]
|
|
2644
2239
|
attr_accessor :kind
|
|
@@ -2659,22 +2254,22 @@ module Google
|
|
|
2659
2254
|
end
|
|
2660
2255
|
end
|
|
2661
2256
|
|
|
2662
|
-
#
|
|
2257
|
+
# Profile settings
|
|
2663
2258
|
class ProfileSettings
|
|
2664
2259
|
include Google::Apis::Core::Hashable
|
|
2665
2260
|
|
|
2666
|
-
#
|
|
2261
|
+
#
|
|
2667
2262
|
# Corresponds to the JSON property `friendsListVisibility`
|
|
2668
2263
|
# @return [String]
|
|
2669
2264
|
attr_accessor :friends_list_visibility
|
|
2670
2265
|
|
|
2671
2266
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2672
|
-
# string games#profileSettings
|
|
2267
|
+
# string `games#profileSettings`.
|
|
2673
2268
|
# Corresponds to the JSON property `kind`
|
|
2674
2269
|
# @return [String]
|
|
2675
2270
|
attr_accessor :kind
|
|
2676
2271
|
|
|
2677
|
-
#
|
|
2272
|
+
# Whether the player's profile is visible to the currently signed in player.
|
|
2678
2273
|
# Corresponds to the JSON property `profileVisible`
|
|
2679
2274
|
# @return [Boolean]
|
|
2680
2275
|
attr_accessor :profile_visible
|
|
@@ -2692,34 +2287,26 @@ module Google
|
|
|
2692
2287
|
end
|
|
2693
2288
|
end
|
|
2694
2289
|
|
|
2695
|
-
#
|
|
2696
|
-
class
|
|
2290
|
+
# A third party checking a revision response.
|
|
2291
|
+
class CheckRevisionResponse
|
|
2697
2292
|
include Google::Apis::Core::Hashable
|
|
2698
2293
|
|
|
2699
|
-
# The
|
|
2700
|
-
#
|
|
2701
|
-
#
|
|
2702
|
-
#
|
|
2703
|
-
# - IOS - Push token is for iOS
|
|
2704
|
-
# Corresponds to the JSON property `clientRevision`
|
|
2294
|
+
# The version of the API this client revision should use when calling API
|
|
2295
|
+
# methods.
|
|
2296
|
+
# Corresponds to the JSON property `apiVersion`
|
|
2705
2297
|
# @return [String]
|
|
2706
|
-
attr_accessor :
|
|
2707
|
-
|
|
2708
|
-
# This is a JSON template for a push token ID resource.
|
|
2709
|
-
# Corresponds to the JSON property `id`
|
|
2710
|
-
# @return [Google::Apis::GamesV1::PushTokenId]
|
|
2711
|
-
attr_accessor :id
|
|
2298
|
+
attr_accessor :api_version
|
|
2712
2299
|
|
|
2713
2300
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2714
|
-
# string games#
|
|
2301
|
+
# string `games#revisionCheckResponse`.
|
|
2715
2302
|
# Corresponds to the JSON property `kind`
|
|
2716
2303
|
# @return [String]
|
|
2717
2304
|
attr_accessor :kind
|
|
2718
2305
|
|
|
2719
|
-
# The
|
|
2720
|
-
# Corresponds to the JSON property `
|
|
2306
|
+
# The result of the revision check.
|
|
2307
|
+
# Corresponds to the JSON property `revisionStatus`
|
|
2721
2308
|
# @return [String]
|
|
2722
|
-
attr_accessor :
|
|
2309
|
+
attr_accessor :revision_status
|
|
2723
2310
|
|
|
2724
2311
|
def initialize(**args)
|
|
2725
2312
|
update!(**args)
|
|
@@ -2727,396 +2314,120 @@ module Google
|
|
|
2727
2314
|
|
|
2728
2315
|
# Update properties of this object
|
|
2729
2316
|
def update!(**args)
|
|
2730
|
-
@
|
|
2731
|
-
@id = args[:id] if args.key?(:id)
|
|
2317
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
2732
2318
|
@kind = args[:kind] if args.key?(:kind)
|
|
2733
|
-
@
|
|
2319
|
+
@revision_status = args[:revision_status] if args.key?(:revision_status)
|
|
2734
2320
|
end
|
|
2735
2321
|
end
|
|
2736
2322
|
|
|
2737
|
-
#
|
|
2738
|
-
class
|
|
2323
|
+
# A request to submit a score to leaderboards.
|
|
2324
|
+
class ScoreSubmission
|
|
2739
2325
|
include Google::Apis::Core::Hashable
|
|
2740
2326
|
|
|
2741
|
-
# A push token ID for iOS devices.
|
|
2742
|
-
# Corresponds to the JSON property `ios`
|
|
2743
|
-
# @return [Google::Apis::GamesV1::PushTokenId::Ios]
|
|
2744
|
-
attr_accessor :ios
|
|
2745
|
-
|
|
2746
2327
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2747
|
-
# string games#
|
|
2328
|
+
# string `games#scoreSubmission`.
|
|
2748
2329
|
# Corresponds to the JSON property `kind`
|
|
2749
2330
|
# @return [String]
|
|
2750
2331
|
attr_accessor :kind
|
|
2751
2332
|
|
|
2333
|
+
# The leaderboard this score is being submitted to.
|
|
2334
|
+
# Corresponds to the JSON property `leaderboardId`
|
|
2335
|
+
# @return [String]
|
|
2336
|
+
attr_accessor :leaderboard_id
|
|
2337
|
+
|
|
2338
|
+
# The new score being submitted.
|
|
2339
|
+
# Corresponds to the JSON property `score`
|
|
2340
|
+
# @return [Fixnum]
|
|
2341
|
+
attr_accessor :score
|
|
2342
|
+
|
|
2343
|
+
# Additional information about this score. Values will contain no more than 64
|
|
2344
|
+
# URI-safe characters as defined by section 2.3 of RFC 3986.
|
|
2345
|
+
# Corresponds to the JSON property `scoreTag`
|
|
2346
|
+
# @return [String]
|
|
2347
|
+
attr_accessor :score_tag
|
|
2348
|
+
|
|
2349
|
+
# Signature Values will contain URI-safe characters as defined by section 2.3 of
|
|
2350
|
+
# RFC 3986.
|
|
2351
|
+
# Corresponds to the JSON property `signature`
|
|
2352
|
+
# @return [String]
|
|
2353
|
+
attr_accessor :signature
|
|
2354
|
+
|
|
2752
2355
|
def initialize(**args)
|
|
2753
2356
|
update!(**args)
|
|
2754
2357
|
end
|
|
2755
2358
|
|
|
2756
2359
|
# Update properties of this object
|
|
2757
2360
|
def update!(**args)
|
|
2758
|
-
@ios = args[:ios] if args.key?(:ios)
|
|
2759
2361
|
@kind = args[:kind] if args.key?(:kind)
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
include Google::Apis::Core::Hashable
|
|
2765
|
-
|
|
2766
|
-
# Device token supplied by an iOS system call to register for remote
|
|
2767
|
-
# notifications. Encode this field as web-safe base64.
|
|
2768
|
-
# Corresponds to the JSON property `apns_device_token`
|
|
2769
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
2770
|
-
# @return [String]
|
|
2771
|
-
attr_accessor :apns_device_token
|
|
2772
|
-
|
|
2773
|
-
# Indicates whether this token should be used for the production or sandbox APNS
|
|
2774
|
-
# server.
|
|
2775
|
-
# Corresponds to the JSON property `apns_environment`
|
|
2776
|
-
# @return [String]
|
|
2777
|
-
attr_accessor :apns_environment
|
|
2778
|
-
|
|
2779
|
-
def initialize(**args)
|
|
2780
|
-
update!(**args)
|
|
2781
|
-
end
|
|
2782
|
-
|
|
2783
|
-
# Update properties of this object
|
|
2784
|
-
def update!(**args)
|
|
2785
|
-
@apns_device_token = args[:apns_device_token] if args.key?(:apns_device_token)
|
|
2786
|
-
@apns_environment = args[:apns_environment] if args.key?(:apns_environment)
|
|
2787
|
-
end
|
|
2362
|
+
@leaderboard_id = args[:leaderboard_id] if args.key?(:leaderboard_id)
|
|
2363
|
+
@score = args[:score] if args.key?(:score)
|
|
2364
|
+
@score_tag = args[:score_tag] if args.key?(:score_tag)
|
|
2365
|
+
@signature = args[:signature] if args.key?(:signature)
|
|
2788
2366
|
end
|
|
2789
2367
|
end
|
|
2790
2368
|
|
|
2791
|
-
#
|
|
2792
|
-
class
|
|
2369
|
+
# An snapshot object.
|
|
2370
|
+
class Snapshot
|
|
2793
2371
|
include Google::Apis::Core::Hashable
|
|
2794
2372
|
|
|
2795
|
-
#
|
|
2796
|
-
#
|
|
2797
|
-
#
|
|
2798
|
-
|
|
2799
|
-
attr_accessor :api_version
|
|
2373
|
+
# An image of a snapshot.
|
|
2374
|
+
# Corresponds to the JSON property `coverImage`
|
|
2375
|
+
# @return [Google::Apis::GamesV1::SnapshotImage]
|
|
2376
|
+
attr_accessor :cover_image
|
|
2800
2377
|
|
|
2801
|
-
#
|
|
2802
|
-
#
|
|
2803
|
-
# Corresponds to the JSON property `kind`
|
|
2378
|
+
# The description of this snapshot.
|
|
2379
|
+
# Corresponds to the JSON property `description`
|
|
2804
2380
|
# @return [String]
|
|
2805
|
-
attr_accessor :
|
|
2381
|
+
attr_accessor :description
|
|
2806
2382
|
|
|
2807
|
-
# The
|
|
2808
|
-
#
|
|
2809
|
-
#
|
|
2810
|
-
# - "DEPRECATED" - There is currently a newer version available, but the
|
|
2811
|
-
# revision being used still works.
|
|
2812
|
-
# - "INVALID" - The revision being used is not supported in any released version.
|
|
2813
|
-
# Corresponds to the JSON property `revisionStatus`
|
|
2814
|
-
# @return [String]
|
|
2815
|
-
attr_accessor :revision_status
|
|
2816
|
-
|
|
2817
|
-
def initialize(**args)
|
|
2818
|
-
update!(**args)
|
|
2819
|
-
end
|
|
2820
|
-
|
|
2821
|
-
# Update properties of this object
|
|
2822
|
-
def update!(**args)
|
|
2823
|
-
@api_version = args[:api_version] if args.key?(:api_version)
|
|
2824
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
2825
|
-
@revision_status = args[:revision_status] if args.key?(:revision_status)
|
|
2826
|
-
end
|
|
2827
|
-
end
|
|
2828
|
-
|
|
2829
|
-
# This is a JSON template for a room resource object.
|
|
2830
|
-
class Room
|
|
2831
|
-
include Google::Apis::Core::Hashable
|
|
2832
|
-
|
|
2833
|
-
# The ID of the application being played.
|
|
2834
|
-
# Corresponds to the JSON property `applicationId`
|
|
2835
|
-
# @return [String]
|
|
2836
|
-
attr_accessor :application_id
|
|
2837
|
-
|
|
2838
|
-
# This is a JSON template for a room auto-match criteria object.
|
|
2839
|
-
# Corresponds to the JSON property `autoMatchingCriteria`
|
|
2840
|
-
# @return [Google::Apis::GamesV1::RoomAutoMatchingCriteria]
|
|
2841
|
-
attr_accessor :auto_matching_criteria
|
|
2842
|
-
|
|
2843
|
-
# This is a JSON template for status of room automatching that is in progress.
|
|
2844
|
-
# Corresponds to the JSON property `autoMatchingStatus`
|
|
2845
|
-
# @return [Google::Apis::GamesV1::RoomAutoMatchStatus]
|
|
2846
|
-
attr_accessor :auto_matching_status
|
|
2847
|
-
|
|
2848
|
-
# This is a JSON template for room modification metadata.
|
|
2849
|
-
# Corresponds to the JSON property `creationDetails`
|
|
2850
|
-
# @return [Google::Apis::GamesV1::RoomModification]
|
|
2851
|
-
attr_accessor :creation_details
|
|
2852
|
-
|
|
2853
|
-
# This short description is generated by our servers and worded relative to the
|
|
2854
|
-
# player requesting the room. It is intended to be displayed when the room is
|
|
2855
|
-
# shown in a list (that is, an invitation to a room.)
|
|
2856
|
-
# Corresponds to the JSON property `description`
|
|
2857
|
-
# @return [String]
|
|
2858
|
-
attr_accessor :description
|
|
2859
|
-
|
|
2860
|
-
# The ID of the participant that invited the user to the room. Not set if the
|
|
2861
|
-
# user was not invited to the room.
|
|
2862
|
-
# Corresponds to the JSON property `inviterId`
|
|
2863
|
-
# @return [String]
|
|
2864
|
-
attr_accessor :inviter_id
|
|
2865
|
-
|
|
2866
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2867
|
-
# string games#room.
|
|
2868
|
-
# Corresponds to the JSON property `kind`
|
|
2869
|
-
# @return [String]
|
|
2870
|
-
attr_accessor :kind
|
|
2871
|
-
|
|
2872
|
-
# This is a JSON template for room modification metadata.
|
|
2873
|
-
# Corresponds to the JSON property `lastUpdateDetails`
|
|
2874
|
-
# @return [Google::Apis::GamesV1::RoomModification]
|
|
2875
|
-
attr_accessor :last_update_details
|
|
2876
|
-
|
|
2877
|
-
# The participants involved in the room, along with their statuses. Includes
|
|
2878
|
-
# participants who have left or declined invitations.
|
|
2879
|
-
# Corresponds to the JSON property `participants`
|
|
2880
|
-
# @return [Array<Google::Apis::GamesV1::RoomParticipant>]
|
|
2881
|
-
attr_accessor :participants
|
|
2882
|
-
|
|
2883
|
-
# Globally unique ID for a room.
|
|
2884
|
-
# Corresponds to the JSON property `roomId`
|
|
2383
|
+
# The ID of the file underlying this snapshot in the Drive API. Only present if
|
|
2384
|
+
# the snapshot is a view on a Drive file and the file is owned by the caller.
|
|
2385
|
+
# Corresponds to the JSON property `driveId`
|
|
2885
2386
|
# @return [String]
|
|
2886
|
-
attr_accessor :
|
|
2387
|
+
attr_accessor :drive_id
|
|
2887
2388
|
|
|
2888
|
-
# The
|
|
2889
|
-
#
|
|
2890
|
-
# Corresponds to the JSON property `roomStatusVersion`
|
|
2891
|
-
# @return [Fixnum]
|
|
2892
|
-
attr_accessor :room_status_version
|
|
2893
|
-
|
|
2894
|
-
# The status of the room.
|
|
2895
|
-
# Possible values are:
|
|
2896
|
-
# - "ROOM_INVITING" - One or more players have been invited and not responded.
|
|
2897
|
-
# - "ROOM_AUTO_MATCHING" - One or more slots need to be filled by auto-matching.
|
|
2898
|
-
# - "ROOM_CONNECTING" - Players have joined and are connecting to each other (
|
|
2899
|
-
# either before or after auto-matching).
|
|
2900
|
-
# - "ROOM_ACTIVE" - All players have joined and connected to each other.
|
|
2901
|
-
# - "ROOM_DELETED" - The room should no longer be shown on the client. Returned
|
|
2902
|
-
# in sync calls when a player joins a room (as a tombstone), or for rooms where
|
|
2903
|
-
# all joined participants have left.
|
|
2904
|
-
# Corresponds to the JSON property `status`
|
|
2905
|
-
# @return [String]
|
|
2906
|
-
attr_accessor :status
|
|
2907
|
-
|
|
2908
|
-
# The variant / mode of the application being played; can be any integer value,
|
|
2909
|
-
# or left blank.
|
|
2910
|
-
# Corresponds to the JSON property `variant`
|
|
2389
|
+
# The duration associated with this snapshot, in millis.
|
|
2390
|
+
# Corresponds to the JSON property `durationMillis`
|
|
2911
2391
|
# @return [Fixnum]
|
|
2912
|
-
attr_accessor :
|
|
2913
|
-
|
|
2914
|
-
def initialize(**args)
|
|
2915
|
-
update!(**args)
|
|
2916
|
-
end
|
|
2917
|
-
|
|
2918
|
-
# Update properties of this object
|
|
2919
|
-
def update!(**args)
|
|
2920
|
-
@application_id = args[:application_id] if args.key?(:application_id)
|
|
2921
|
-
@auto_matching_criteria = args[:auto_matching_criteria] if args.key?(:auto_matching_criteria)
|
|
2922
|
-
@auto_matching_status = args[:auto_matching_status] if args.key?(:auto_matching_status)
|
|
2923
|
-
@creation_details = args[:creation_details] if args.key?(:creation_details)
|
|
2924
|
-
@description = args[:description] if args.key?(:description)
|
|
2925
|
-
@inviter_id = args[:inviter_id] if args.key?(:inviter_id)
|
|
2926
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
2927
|
-
@last_update_details = args[:last_update_details] if args.key?(:last_update_details)
|
|
2928
|
-
@participants = args[:participants] if args.key?(:participants)
|
|
2929
|
-
@room_id = args[:room_id] if args.key?(:room_id)
|
|
2930
|
-
@room_status_version = args[:room_status_version] if args.key?(:room_status_version)
|
|
2931
|
-
@status = args[:status] if args.key?(:status)
|
|
2932
|
-
@variant = args[:variant] if args.key?(:variant)
|
|
2933
|
-
end
|
|
2934
|
-
end
|
|
2935
|
-
|
|
2936
|
-
# This is a JSON template for status of room automatching that is in progress.
|
|
2937
|
-
class RoomAutoMatchStatus
|
|
2938
|
-
include Google::Apis::Core::Hashable
|
|
2392
|
+
attr_accessor :duration_millis
|
|
2939
2393
|
|
|
2940
|
-
#
|
|
2941
|
-
#
|
|
2942
|
-
# Corresponds to the JSON property `kind`
|
|
2394
|
+
# The ID of the snapshot.
|
|
2395
|
+
# Corresponds to the JSON property `id`
|
|
2943
2396
|
# @return [String]
|
|
2944
|
-
attr_accessor :
|
|
2945
|
-
|
|
2946
|
-
# An estimate for the amount of time (in seconds) that auto-matching is expected
|
|
2947
|
-
# to take to complete.
|
|
2948
|
-
# Corresponds to the JSON property `waitEstimateSeconds`
|
|
2949
|
-
# @return [Fixnum]
|
|
2950
|
-
attr_accessor :wait_estimate_seconds
|
|
2951
|
-
|
|
2952
|
-
def initialize(**args)
|
|
2953
|
-
update!(**args)
|
|
2954
|
-
end
|
|
2955
|
-
|
|
2956
|
-
# Update properties of this object
|
|
2957
|
-
def update!(**args)
|
|
2958
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
2959
|
-
@wait_estimate_seconds = args[:wait_estimate_seconds] if args.key?(:wait_estimate_seconds)
|
|
2960
|
-
end
|
|
2961
|
-
end
|
|
2962
|
-
|
|
2963
|
-
# This is a JSON template for a room auto-match criteria object.
|
|
2964
|
-
class RoomAutoMatchingCriteria
|
|
2965
|
-
include Google::Apis::Core::Hashable
|
|
2966
|
-
|
|
2967
|
-
# A bitmask indicating when auto-matches are valid. When ANDed with other
|
|
2968
|
-
# exclusive bitmasks, the result must be zero. Can be used to support exclusive
|
|
2969
|
-
# roles within a game.
|
|
2970
|
-
# Corresponds to the JSON property `exclusiveBitmask`
|
|
2971
|
-
# @return [Fixnum]
|
|
2972
|
-
attr_accessor :exclusive_bitmask
|
|
2397
|
+
attr_accessor :id
|
|
2973
2398
|
|
|
2974
2399
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
2975
|
-
# string games#
|
|
2400
|
+
# string `games#snapshot`.
|
|
2976
2401
|
# Corresponds to the JSON property `kind`
|
|
2977
2402
|
# @return [String]
|
|
2978
2403
|
attr_accessor :kind
|
|
2979
2404
|
|
|
2980
|
-
# The
|
|
2981
|
-
#
|
|
2982
|
-
# Corresponds to the JSON property `
|
|
2405
|
+
# The timestamp (in millis since Unix epoch) of the last modification to this
|
|
2406
|
+
# snapshot.
|
|
2407
|
+
# Corresponds to the JSON property `lastModifiedMillis`
|
|
2983
2408
|
# @return [Fixnum]
|
|
2984
|
-
attr_accessor :
|
|
2409
|
+
attr_accessor :last_modified_millis
|
|
2985
2410
|
|
|
2986
|
-
# The
|
|
2987
|
-
#
|
|
2988
|
-
# Corresponds to the JSON property `
|
|
2411
|
+
# The progress value (64-bit integer set by developer) associated with this
|
|
2412
|
+
# snapshot.
|
|
2413
|
+
# Corresponds to the JSON property `progressValue`
|
|
2989
2414
|
# @return [Fixnum]
|
|
2990
|
-
attr_accessor :
|
|
2991
|
-
|
|
2992
|
-
def initialize(**args)
|
|
2993
|
-
update!(**args)
|
|
2994
|
-
end
|
|
2995
|
-
|
|
2996
|
-
# Update properties of this object
|
|
2997
|
-
def update!(**args)
|
|
2998
|
-
@exclusive_bitmask = args[:exclusive_bitmask] if args.key?(:exclusive_bitmask)
|
|
2999
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3000
|
-
@max_auto_matching_players = args[:max_auto_matching_players] if args.key?(:max_auto_matching_players)
|
|
3001
|
-
@min_auto_matching_players = args[:min_auto_matching_players] if args.key?(:min_auto_matching_players)
|
|
3002
|
-
end
|
|
3003
|
-
end
|
|
3004
|
-
|
|
3005
|
-
# This is a JSON template for the client address when setting up a room.
|
|
3006
|
-
class RoomClientAddress
|
|
3007
|
-
include Google::Apis::Core::Hashable
|
|
3008
|
-
|
|
3009
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3010
|
-
# string games#roomClientAddress.
|
|
3011
|
-
# Corresponds to the JSON property `kind`
|
|
3012
|
-
# @return [String]
|
|
3013
|
-
attr_accessor :kind
|
|
2415
|
+
attr_accessor :progress_value
|
|
3014
2416
|
|
|
3015
|
-
# The
|
|
3016
|
-
# Corresponds to the JSON property `
|
|
2417
|
+
# The title of this snapshot.
|
|
2418
|
+
# Corresponds to the JSON property `title`
|
|
3017
2419
|
# @return [String]
|
|
3018
|
-
attr_accessor :
|
|
3019
|
-
|
|
3020
|
-
def initialize(**args)
|
|
3021
|
-
update!(**args)
|
|
3022
|
-
end
|
|
3023
|
-
|
|
3024
|
-
# Update properties of this object
|
|
3025
|
-
def update!(**args)
|
|
3026
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3027
|
-
@xmpp_address = args[:xmpp_address] if args.key?(:xmpp_address)
|
|
3028
|
-
end
|
|
3029
|
-
end
|
|
3030
|
-
|
|
3031
|
-
# This is a JSON template for a room creation request.
|
|
3032
|
-
class CreateRoomRequest
|
|
3033
|
-
include Google::Apis::Core::Hashable
|
|
3034
|
-
|
|
3035
|
-
# This is a JSON template for a room auto-match criteria object.
|
|
3036
|
-
# Corresponds to the JSON property `autoMatchingCriteria`
|
|
3037
|
-
# @return [Google::Apis::GamesV1::RoomAutoMatchingCriteria]
|
|
3038
|
-
attr_accessor :auto_matching_criteria
|
|
3039
|
-
|
|
3040
|
-
# The capabilities that this client supports for realtime communication.
|
|
3041
|
-
# Corresponds to the JSON property `capabilities`
|
|
3042
|
-
# @return [Array<String>]
|
|
3043
|
-
attr_accessor :capabilities
|
|
3044
|
-
|
|
3045
|
-
# This is a JSON template for the client address when setting up a room.
|
|
3046
|
-
# Corresponds to the JSON property `clientAddress`
|
|
3047
|
-
# @return [Google::Apis::GamesV1::RoomClientAddress]
|
|
3048
|
-
attr_accessor :client_address
|
|
3049
|
-
|
|
3050
|
-
# The player IDs to invite to the room.
|
|
3051
|
-
# Corresponds to the JSON property `invitedPlayerIds`
|
|
3052
|
-
# @return [Array<String>]
|
|
3053
|
-
attr_accessor :invited_player_ids
|
|
2420
|
+
attr_accessor :title
|
|
3054
2421
|
|
|
3055
|
-
#
|
|
3056
|
-
#
|
|
3057
|
-
# Corresponds to the JSON property `kind`
|
|
2422
|
+
# The type of this snapshot.
|
|
2423
|
+
# Corresponds to the JSON property `type`
|
|
3058
2424
|
# @return [String]
|
|
3059
|
-
attr_accessor :
|
|
3060
|
-
|
|
3061
|
-
# This is a JSON template for network diagnostics reported for a client.
|
|
3062
|
-
# Corresponds to the JSON property `networkDiagnostics`
|
|
3063
|
-
# @return [Google::Apis::GamesV1::NetworkDiagnostics]
|
|
3064
|
-
attr_accessor :network_diagnostics
|
|
3065
|
-
|
|
3066
|
-
# A randomly generated numeric ID. This number is used at the server to ensure
|
|
3067
|
-
# that the request is handled correctly across retries.
|
|
3068
|
-
# Corresponds to the JSON property `requestId`
|
|
3069
|
-
# @return [Fixnum]
|
|
3070
|
-
attr_accessor :request_id
|
|
3071
|
-
|
|
3072
|
-
# The variant / mode of the application to be played. This can be any integer
|
|
3073
|
-
# value, or left blank. You should use a small number of variants to keep the
|
|
3074
|
-
# auto-matching pool as large as possible.
|
|
3075
|
-
# Corresponds to the JSON property `variant`
|
|
3076
|
-
# @return [Fixnum]
|
|
3077
|
-
attr_accessor :variant
|
|
3078
|
-
|
|
3079
|
-
def initialize(**args)
|
|
3080
|
-
update!(**args)
|
|
3081
|
-
end
|
|
3082
|
-
|
|
3083
|
-
# Update properties of this object
|
|
3084
|
-
def update!(**args)
|
|
3085
|
-
@auto_matching_criteria = args[:auto_matching_criteria] if args.key?(:auto_matching_criteria)
|
|
3086
|
-
@capabilities = args[:capabilities] if args.key?(:capabilities)
|
|
3087
|
-
@client_address = args[:client_address] if args.key?(:client_address)
|
|
3088
|
-
@invited_player_ids = args[:invited_player_ids] if args.key?(:invited_player_ids)
|
|
3089
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3090
|
-
@network_diagnostics = args[:network_diagnostics] if args.key?(:network_diagnostics)
|
|
3091
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
|
3092
|
-
@variant = args[:variant] if args.key?(:variant)
|
|
3093
|
-
end
|
|
3094
|
-
end
|
|
3095
|
-
|
|
3096
|
-
# This is a JSON template for a join room request.
|
|
3097
|
-
class JoinRoomRequest
|
|
3098
|
-
include Google::Apis::Core::Hashable
|
|
3099
|
-
|
|
3100
|
-
# The capabilities that this client supports for realtime communication.
|
|
3101
|
-
# Corresponds to the JSON property `capabilities`
|
|
3102
|
-
# @return [Array<String>]
|
|
3103
|
-
attr_accessor :capabilities
|
|
3104
|
-
|
|
3105
|
-
# This is a JSON template for the client address when setting up a room.
|
|
3106
|
-
# Corresponds to the JSON property `clientAddress`
|
|
3107
|
-
# @return [Google::Apis::GamesV1::RoomClientAddress]
|
|
3108
|
-
attr_accessor :client_address
|
|
2425
|
+
attr_accessor :type
|
|
3109
2426
|
|
|
3110
|
-
#
|
|
3111
|
-
#
|
|
3112
|
-
# Corresponds to the JSON property `kind`
|
|
2427
|
+
# The unique name provided when the snapshot was created.
|
|
2428
|
+
# Corresponds to the JSON property `uniqueName`
|
|
3113
2429
|
# @return [String]
|
|
3114
|
-
attr_accessor :
|
|
3115
|
-
|
|
3116
|
-
# This is a JSON template for network diagnostics reported for a client.
|
|
3117
|
-
# Corresponds to the JSON property `networkDiagnostics`
|
|
3118
|
-
# @return [Google::Apis::GamesV1::NetworkDiagnostics]
|
|
3119
|
-
attr_accessor :network_diagnostics
|
|
2430
|
+
attr_accessor :unique_name
|
|
3120
2431
|
|
|
3121
2432
|
def initialize(**args)
|
|
3122
2433
|
update!(**args)
|
|
@@ -3124,125 +2435,50 @@ module Google
|
|
|
3124
2435
|
|
|
3125
2436
|
# Update properties of this object
|
|
3126
2437
|
def update!(**args)
|
|
3127
|
-
@
|
|
3128
|
-
@
|
|
2438
|
+
@cover_image = args[:cover_image] if args.key?(:cover_image)
|
|
2439
|
+
@description = args[:description] if args.key?(:description)
|
|
2440
|
+
@drive_id = args[:drive_id] if args.key?(:drive_id)
|
|
2441
|
+
@duration_millis = args[:duration_millis] if args.key?(:duration_millis)
|
|
2442
|
+
@id = args[:id] if args.key?(:id)
|
|
3129
2443
|
@kind = args[:kind] if args.key?(:kind)
|
|
3130
|
-
@
|
|
2444
|
+
@last_modified_millis = args[:last_modified_millis] if args.key?(:last_modified_millis)
|
|
2445
|
+
@progress_value = args[:progress_value] if args.key?(:progress_value)
|
|
2446
|
+
@title = args[:title] if args.key?(:title)
|
|
2447
|
+
@type = args[:type] if args.key?(:type)
|
|
2448
|
+
@unique_name = args[:unique_name] if args.key?(:unique_name)
|
|
3131
2449
|
end
|
|
3132
2450
|
end
|
|
3133
2451
|
|
|
3134
|
-
#
|
|
3135
|
-
class
|
|
2452
|
+
# An image of a snapshot.
|
|
2453
|
+
class SnapshotImage
|
|
3136
2454
|
include Google::Apis::Core::Hashable
|
|
3137
2455
|
|
|
3138
|
-
#
|
|
3139
|
-
#
|
|
3140
|
-
# Corresponds to the JSON property `androidNetworkSubtype`
|
|
3141
|
-
# @return [Fixnum]
|
|
3142
|
-
attr_accessor :android_network_subtype
|
|
3143
|
-
|
|
3144
|
-
# Android network type. http://developer.android.com/reference/android/net/
|
|
3145
|
-
# NetworkInfo.html#getType()
|
|
3146
|
-
# Corresponds to the JSON property `androidNetworkType`
|
|
3147
|
-
# @return [Fixnum]
|
|
3148
|
-
attr_accessor :android_network_type
|
|
3149
|
-
|
|
3150
|
-
# iOS network type as defined in Reachability.h.
|
|
3151
|
-
# Corresponds to the JSON property `iosNetworkType`
|
|
2456
|
+
# The height of the image.
|
|
2457
|
+
# Corresponds to the JSON property `height`
|
|
3152
2458
|
# @return [Fixnum]
|
|
3153
|
-
attr_accessor :
|
|
2459
|
+
attr_accessor :height
|
|
3154
2460
|
|
|
3155
2461
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3156
|
-
# string games#
|
|
2462
|
+
# string `games#snapshotImage`.
|
|
3157
2463
|
# Corresponds to the JSON property `kind`
|
|
3158
2464
|
# @return [String]
|
|
3159
2465
|
attr_accessor :kind
|
|
3160
2466
|
|
|
3161
|
-
# The
|
|
3162
|
-
#
|
|
3163
|
-
# getNetworkOperator() On iOS, see: https://developer.apple.com/library/ios/
|
|
3164
|
-
# documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html
|
|
3165
|
-
# Corresponds to the JSON property `networkOperatorCode`
|
|
3166
|
-
# @return [String]
|
|
3167
|
-
attr_accessor :network_operator_code
|
|
3168
|
-
|
|
3169
|
-
# The name of the carrier of the client's network connection. On Android: http://
|
|
3170
|
-
# developer.android.com/reference/android/telephony/TelephonyManager.html#
|
|
3171
|
-
# getNetworkOperatorName() On iOS: https://developer.apple.com/library/ios/
|
|
3172
|
-
# documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#/
|
|
3173
|
-
# /apple_ref/occ/instp/CTCarrier/carrierName
|
|
3174
|
-
# Corresponds to the JSON property `networkOperatorName`
|
|
2467
|
+
# The MIME type of the image.
|
|
2468
|
+
# Corresponds to the JSON property `mime_type`
|
|
3175
2469
|
# @return [String]
|
|
3176
|
-
attr_accessor :
|
|
3177
|
-
|
|
3178
|
-
# Diagnostics about all peer sessions.
|
|
3179
|
-
# Corresponds to the JSON property `peerSession`
|
|
3180
|
-
# @return [Array<Google::Apis::GamesV1::PeerSessionDiagnostics>]
|
|
3181
|
-
attr_accessor :peer_session
|
|
3182
|
-
|
|
3183
|
-
# Whether or not sockets were used.
|
|
3184
|
-
# Corresponds to the JSON property `socketsUsed`
|
|
3185
|
-
# @return [Boolean]
|
|
3186
|
-
attr_accessor :sockets_used
|
|
3187
|
-
alias_method :sockets_used?, :sockets_used
|
|
3188
|
-
|
|
3189
|
-
def initialize(**args)
|
|
3190
|
-
update!(**args)
|
|
3191
|
-
end
|
|
3192
|
-
|
|
3193
|
-
# Update properties of this object
|
|
3194
|
-
def update!(**args)
|
|
3195
|
-
@android_network_subtype = args[:android_network_subtype] if args.key?(:android_network_subtype)
|
|
3196
|
-
@android_network_type = args[:android_network_type] if args.key?(:android_network_type)
|
|
3197
|
-
@ios_network_type = args[:ios_network_type] if args.key?(:ios_network_type)
|
|
3198
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3199
|
-
@network_operator_code = args[:network_operator_code] if args.key?(:network_operator_code)
|
|
3200
|
-
@network_operator_name = args[:network_operator_name] if args.key?(:network_operator_name)
|
|
3201
|
-
@peer_session = args[:peer_session] if args.key?(:peer_session)
|
|
3202
|
-
@sockets_used = args[:sockets_used] if args.key?(:sockets_used)
|
|
3203
|
-
end
|
|
3204
|
-
end
|
|
3205
|
-
|
|
3206
|
-
# This is a JSON template for a leave room request.
|
|
3207
|
-
class LeaveRoomRequest
|
|
3208
|
-
include Google::Apis::Core::Hashable
|
|
2470
|
+
attr_accessor :mime_type
|
|
3209
2471
|
|
|
3210
|
-
#
|
|
3211
|
-
#
|
|
3212
|
-
# Corresponds to the JSON property `
|
|
2472
|
+
# The URL of the image. This URL may be invalidated at any time and should not
|
|
2473
|
+
# be cached.
|
|
2474
|
+
# Corresponds to the JSON property `url`
|
|
3213
2475
|
# @return [String]
|
|
3214
|
-
attr_accessor :
|
|
2476
|
+
attr_accessor :url
|
|
3215
2477
|
|
|
3216
|
-
#
|
|
3217
|
-
# Corresponds to the JSON property `
|
|
3218
|
-
# @return [
|
|
3219
|
-
attr_accessor :
|
|
3220
|
-
|
|
3221
|
-
# Reason for leaving the match.
|
|
3222
|
-
# Possible values are:
|
|
3223
|
-
# - "PLAYER_LEFT" - The player chose to leave the room..
|
|
3224
|
-
# - "GAME_LEFT" - The game chose to remove the player from the room.
|
|
3225
|
-
# - "REALTIME_ABANDONED" - The player switched to another application and
|
|
3226
|
-
# abandoned the room.
|
|
3227
|
-
# - "REALTIME_PEER_CONNECTION_FAILURE" - The client was unable to establish a
|
|
3228
|
-
# connection to other peer(s).
|
|
3229
|
-
# - "REALTIME_SERVER_CONNECTION_FAILURE" - The client was unable to communicate
|
|
3230
|
-
# with the server.
|
|
3231
|
-
# - "REALTIME_SERVER_ERROR" - The client received an error response when it
|
|
3232
|
-
# tried to communicate with the server.
|
|
3233
|
-
# - "REALTIME_TIMEOUT" - The client timed out while waiting for a room.
|
|
3234
|
-
# - "REALTIME_CLIENT_DISCONNECTING" - The client disconnects without first
|
|
3235
|
-
# calling Leave.
|
|
3236
|
-
# - "REALTIME_SIGN_OUT" - The user signed out of G+ while in the room.
|
|
3237
|
-
# - "REALTIME_GAME_CRASHED" - The game crashed.
|
|
3238
|
-
# - "REALTIME_ROOM_SERVICE_CRASHED" - RoomAndroidService crashed.
|
|
3239
|
-
# - "REALTIME_DIFFERENT_CLIENT_ROOM_OPERATION" - Another client is trying to
|
|
3240
|
-
# enter a room.
|
|
3241
|
-
# - "REALTIME_SAME_CLIENT_ROOM_OPERATION" - The same client is trying to enter a
|
|
3242
|
-
# new room.
|
|
3243
|
-
# Corresponds to the JSON property `reason`
|
|
3244
|
-
# @return [String]
|
|
3245
|
-
attr_accessor :reason
|
|
2478
|
+
# The width of the image.
|
|
2479
|
+
# Corresponds to the JSON property `width`
|
|
2480
|
+
# @return [Fixnum]
|
|
2481
|
+
attr_accessor :width
|
|
3246
2482
|
|
|
3247
2483
|
def initialize(**args)
|
|
3248
2484
|
update!(**args)
|
|
@@ -3250,28 +2486,31 @@ module Google
|
|
|
3250
2486
|
|
|
3251
2487
|
# Update properties of this object
|
|
3252
2488
|
def update!(**args)
|
|
2489
|
+
@height = args[:height] if args.key?(:height)
|
|
3253
2490
|
@kind = args[:kind] if args.key?(:kind)
|
|
3254
|
-
@
|
|
3255
|
-
@
|
|
2491
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
2492
|
+
@url = args[:url] if args.key?(:url)
|
|
2493
|
+
@width = args[:width] if args.key?(:width)
|
|
3256
2494
|
end
|
|
3257
2495
|
end
|
|
3258
2496
|
|
|
3259
|
-
#
|
|
3260
|
-
class
|
|
2497
|
+
# A third party list snapshots response.
|
|
2498
|
+
class ListSnapshotResponse
|
|
3261
2499
|
include Google::Apis::Core::Hashable
|
|
3262
2500
|
|
|
3263
|
-
# The
|
|
2501
|
+
# The snapshots.
|
|
3264
2502
|
# Corresponds to the JSON property `items`
|
|
3265
|
-
# @return [Array<Google::Apis::GamesV1::
|
|
2503
|
+
# @return [Array<Google::Apis::GamesV1::Snapshot>]
|
|
3266
2504
|
attr_accessor :items
|
|
3267
2505
|
|
|
3268
2506
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3269
|
-
# string games#
|
|
2507
|
+
# string `games#snapshotListResponse`.
|
|
3270
2508
|
# Corresponds to the JSON property `kind`
|
|
3271
2509
|
# @return [String]
|
|
3272
2510
|
attr_accessor :kind
|
|
3273
2511
|
|
|
3274
|
-
#
|
|
2512
|
+
# Token corresponding to the next page of results. If there are no more results,
|
|
2513
|
+
# the token is omitted.
|
|
3275
2514
|
# Corresponds to the JSON property `nextPageToken`
|
|
3276
2515
|
# @return [String]
|
|
3277
2516
|
attr_accessor :next_page_token
|
|
@@ -3288,1090 +2527,80 @@ module Google
|
|
|
3288
2527
|
end
|
|
3289
2528
|
end
|
|
3290
2529
|
|
|
3291
|
-
#
|
|
3292
|
-
class
|
|
2530
|
+
# A third party stats resource.
|
|
2531
|
+
class StatsResponse
|
|
3293
2532
|
include Google::Apis::Core::Hashable
|
|
3294
2533
|
|
|
3295
|
-
#
|
|
3296
|
-
#
|
|
3297
|
-
# Corresponds to the JSON property `
|
|
3298
|
-
# @return [
|
|
3299
|
-
attr_accessor :
|
|
3300
|
-
|
|
3301
|
-
# The timestamp at which they modified the room, in milliseconds since the epoch
|
|
3302
|
-
# in UTC.
|
|
3303
|
-
# Corresponds to the JSON property `modifiedTimestampMillis`
|
|
3304
|
-
# @return [Fixnum]
|
|
3305
|
-
attr_accessor :modified_timestamp_millis
|
|
3306
|
-
|
|
3307
|
-
# The ID of the participant that modified the room.
|
|
3308
|
-
# Corresponds to the JSON property `participantId`
|
|
3309
|
-
# @return [String]
|
|
3310
|
-
attr_accessor :participant_id
|
|
3311
|
-
|
|
3312
|
-
def initialize(**args)
|
|
3313
|
-
update!(**args)
|
|
3314
|
-
end
|
|
3315
|
-
|
|
3316
|
-
# Update properties of this object
|
|
3317
|
-
def update!(**args)
|
|
3318
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3319
|
-
@modified_timestamp_millis = args[:modified_timestamp_millis] if args.key?(:modified_timestamp_millis)
|
|
3320
|
-
@participant_id = args[:participant_id] if args.key?(:participant_id)
|
|
3321
|
-
end
|
|
3322
|
-
end
|
|
2534
|
+
# Average session length in minutes of the player. E.g., 1, 30, 60, ... . Not
|
|
2535
|
+
# populated if there is not enough information.
|
|
2536
|
+
# Corresponds to the JSON property `avg_session_length_minutes`
|
|
2537
|
+
# @return [Float]
|
|
2538
|
+
attr_accessor :avg_session_length_minutes
|
|
3323
2539
|
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
2540
|
+
# The probability of the player not returning to play the game in the next day.
|
|
2541
|
+
# E.g., 0, 0.1, 0.5, ..., 1.0. Not populated if there is not enough information.
|
|
2542
|
+
# Corresponds to the JSON property `churn_probability`
|
|
2543
|
+
# @return [Float]
|
|
2544
|
+
attr_accessor :churn_probability
|
|
3327
2545
|
|
|
3328
|
-
#
|
|
3329
|
-
#
|
|
3330
|
-
# Corresponds to the JSON property `
|
|
2546
|
+
# Number of days since the player last played this game. E.g., 0, 1, 5, 10, ... .
|
|
2547
|
+
# Not populated if there is not enough information.
|
|
2548
|
+
# Corresponds to the JSON property `days_since_last_played`
|
|
3331
2549
|
# @return [Fixnum]
|
|
3332
|
-
attr_accessor :
|
|
3333
|
-
|
|
3334
|
-
# The error code in event of a failure.
|
|
3335
|
-
# Possible values are:
|
|
3336
|
-
# - "P2P_FAILED" - The client failed to establish a P2P connection with the peer.
|
|
3337
|
-
#
|
|
3338
|
-
# - "PRESENCE_FAILED" - The client failed to register to receive P2P connections.
|
|
3339
|
-
#
|
|
3340
|
-
# - "RELAY_SERVER_FAILED" - The client received an error when trying to use the
|
|
3341
|
-
# relay server to establish a P2P connection with the peer.
|
|
3342
|
-
# Corresponds to the JSON property `error`
|
|
3343
|
-
# @return [String]
|
|
3344
|
-
attr_accessor :error
|
|
2550
|
+
attr_accessor :days_since_last_played
|
|
3345
2551
|
|
|
3346
|
-
#
|
|
3347
|
-
#
|
|
3348
|
-
#
|
|
3349
|
-
|
|
2552
|
+
# The probability of the player going to spend beyond a threshold amount of
|
|
2553
|
+
# money. E.g., 0, 0.25, 0.50, 0.75. Not populated if there is not enough
|
|
2554
|
+
# information.
|
|
2555
|
+
# Corresponds to the JSON property `high_spender_probability`
|
|
2556
|
+
# @return [Float]
|
|
2557
|
+
attr_accessor :high_spender_probability
|
|
3350
2558
|
|
|
3351
2559
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3352
|
-
# string games#
|
|
2560
|
+
# string `games#statsResponse`.
|
|
3353
2561
|
# Corresponds to the JSON property `kind`
|
|
3354
2562
|
# @return [String]
|
|
3355
2563
|
attr_accessor :kind
|
|
3356
2564
|
|
|
3357
|
-
#
|
|
3358
|
-
#
|
|
3359
|
-
#
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
# The status of the peer in the room.
|
|
3363
|
-
# Possible values are:
|
|
3364
|
-
# - "CONNECTION_ESTABLISHED" - The client established a P2P connection with the
|
|
3365
|
-
# peer.
|
|
3366
|
-
# - "CONNECTION_FAILED" - The client failed to establish directed presence with
|
|
3367
|
-
# the peer.
|
|
3368
|
-
# Corresponds to the JSON property `status`
|
|
3369
|
-
# @return [String]
|
|
3370
|
-
attr_accessor :status
|
|
2565
|
+
# Number of in-app purchases made by the player in this game. E.g., 0, 1, 5, 10,
|
|
2566
|
+
# ... . Not populated if there is not enough information.
|
|
2567
|
+
# Corresponds to the JSON property `num_purchases`
|
|
2568
|
+
# @return [Fixnum]
|
|
2569
|
+
attr_accessor :num_purchases
|
|
3371
2570
|
|
|
3372
|
-
# The
|
|
3373
|
-
# the
|
|
3374
|
-
#
|
|
2571
|
+
# The approximate number of sessions of the player within the last 28 days,
|
|
2572
|
+
# where a session begins when the player is connected to Play Games Services and
|
|
2573
|
+
# ends when they are disconnected. E.g., 0, 1, 5, 10, ... . Not populated if
|
|
2574
|
+
# there is not enough information.
|
|
2575
|
+
# Corresponds to the JSON property `num_sessions`
|
|
3375
2576
|
# @return [Fixnum]
|
|
3376
|
-
attr_accessor :
|
|
2577
|
+
attr_accessor :num_sessions
|
|
3377
2578
|
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
2579
|
+
# The approximation of the sessions percentile of the player within the last 30
|
|
2580
|
+
# days, where a session begins when the player is connected to Play Games
|
|
2581
|
+
# Services and ends when they are disconnected. E.g., 0, 0.25, 0.5, 0.75. Not
|
|
2582
|
+
# populated if there is not enough information.
|
|
2583
|
+
# Corresponds to the JSON property `num_sessions_percentile`
|
|
2584
|
+
# @return [Float]
|
|
2585
|
+
attr_accessor :num_sessions_percentile
|
|
3381
2586
|
|
|
3382
|
-
#
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3388
|
-
@participant_id = args[:participant_id] if args.key?(:participant_id)
|
|
3389
|
-
@status = args[:status] if args.key?(:status)
|
|
3390
|
-
@unreliable_roundtrip_latency_millis = args[:unreliable_roundtrip_latency_millis] if args.key?(:unreliable_roundtrip_latency_millis)
|
|
3391
|
-
end
|
|
3392
|
-
end
|
|
2587
|
+
# The approximate spend percentile of the player in this game. E.g., 0, 0.25, 0.
|
|
2588
|
+
# 5, 0.75. Not populated if there is not enough information.
|
|
2589
|
+
# Corresponds to the JSON property `spend_percentile`
|
|
2590
|
+
# @return [Float]
|
|
2591
|
+
attr_accessor :spend_percentile
|
|
3393
2592
|
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
# string games#roomP2PStatuses.
|
|
3400
|
-
# Corresponds to the JSON property `kind`
|
|
3401
|
-
# @return [String]
|
|
3402
|
-
attr_accessor :kind
|
|
3403
|
-
|
|
3404
|
-
# The updates for the peers.
|
|
3405
|
-
# Corresponds to the JSON property `updates`
|
|
3406
|
-
# @return [Array<Google::Apis::GamesV1::RoomP2PStatus>]
|
|
3407
|
-
attr_accessor :updates
|
|
3408
|
-
|
|
3409
|
-
def initialize(**args)
|
|
3410
|
-
update!(**args)
|
|
3411
|
-
end
|
|
3412
|
-
|
|
3413
|
-
# Update properties of this object
|
|
3414
|
-
def update!(**args)
|
|
3415
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3416
|
-
@updates = args[:updates] if args.key?(:updates)
|
|
3417
|
-
end
|
|
3418
|
-
end
|
|
3419
|
-
|
|
3420
|
-
# This is a JSON template for a participant in a room.
|
|
3421
|
-
class RoomParticipant
|
|
3422
|
-
include Google::Apis::Core::Hashable
|
|
3423
|
-
|
|
3424
|
-
# True if this participant was auto-matched with the requesting player.
|
|
3425
|
-
# Corresponds to the JSON property `autoMatched`
|
|
3426
|
-
# @return [Boolean]
|
|
3427
|
-
attr_accessor :auto_matched
|
|
3428
|
-
alias_method :auto_matched?, :auto_matched
|
|
3429
|
-
|
|
3430
|
-
# This is a JSON template for an anonymous player
|
|
3431
|
-
# Corresponds to the JSON property `autoMatchedPlayer`
|
|
3432
|
-
# @return [Google::Apis::GamesV1::AnonymousPlayer]
|
|
3433
|
-
attr_accessor :auto_matched_player
|
|
3434
|
-
|
|
3435
|
-
# The capabilities which can be used when communicating with this participant.
|
|
3436
|
-
# Corresponds to the JSON property `capabilities`
|
|
3437
|
-
# @return [Array<String>]
|
|
3438
|
-
attr_accessor :capabilities
|
|
3439
|
-
|
|
3440
|
-
# This is a JSON template for the client address when setting up a room.
|
|
3441
|
-
# Corresponds to the JSON property `clientAddress`
|
|
3442
|
-
# @return [Google::Apis::GamesV1::RoomClientAddress]
|
|
3443
|
-
attr_accessor :client_address
|
|
3444
|
-
|
|
3445
|
-
# True if this participant is in the fully connected set of peers in the room.
|
|
3446
|
-
# Corresponds to the JSON property `connected`
|
|
3447
|
-
# @return [Boolean]
|
|
3448
|
-
attr_accessor :connected
|
|
3449
|
-
alias_method :connected?, :connected
|
|
3450
|
-
|
|
3451
|
-
# An identifier for the participant in the scope of the room. Cannot be used to
|
|
3452
|
-
# identify a player across rooms or in other contexts.
|
|
3453
|
-
# Corresponds to the JSON property `id`
|
|
3454
|
-
# @return [String]
|
|
3455
|
-
attr_accessor :id
|
|
3456
|
-
|
|
3457
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3458
|
-
# string games#roomParticipant.
|
|
3459
|
-
# Corresponds to the JSON property `kind`
|
|
3460
|
-
# @return [String]
|
|
3461
|
-
attr_accessor :kind
|
|
3462
|
-
|
|
3463
|
-
# The reason the participant left the room; populated if the participant status
|
|
3464
|
-
# is PARTICIPANT_LEFT.
|
|
3465
|
-
# Possible values are:
|
|
3466
|
-
# - "PLAYER_LEFT" - The player explicitly chose to leave the room.
|
|
3467
|
-
# - "GAME_LEFT" - The game chose to remove the player from the room.
|
|
3468
|
-
# - "ABANDONED" - The player switched to another application and abandoned the
|
|
3469
|
-
# room.
|
|
3470
|
-
# - "PEER_CONNECTION_FAILURE" - The client was unable to establish or maintain a
|
|
3471
|
-
# connection to other peer(s) in the room.
|
|
3472
|
-
# - "SERVER_ERROR" - The client received an error response when it tried to
|
|
3473
|
-
# communicate with the server.
|
|
3474
|
-
# - "TIMEOUT" - The client timed out while waiting for players to join and
|
|
3475
|
-
# connect.
|
|
3476
|
-
# - "PRESENCE_FAILURE" - The client's XMPP connection ended abruptly.
|
|
3477
|
-
# Corresponds to the JSON property `leaveReason`
|
|
3478
|
-
# @return [String]
|
|
3479
|
-
attr_accessor :leave_reason
|
|
3480
|
-
|
|
3481
|
-
# This is a JSON template for a Player resource.
|
|
3482
|
-
# Corresponds to the JSON property `player`
|
|
3483
|
-
# @return [Google::Apis::GamesV1::Player]
|
|
3484
|
-
attr_accessor :player
|
|
3485
|
-
|
|
3486
|
-
# The status of the participant with respect to the room.
|
|
3487
|
-
# Possible values are:
|
|
3488
|
-
# - "PARTICIPANT_INVITED" - The participant has been invited to join the room,
|
|
3489
|
-
# but has not yet responded.
|
|
3490
|
-
# - "PARTICIPANT_JOINED" - The participant has joined the room (either after
|
|
3491
|
-
# creating it or accepting an invitation.)
|
|
3492
|
-
# - "PARTICIPANT_DECLINED" - The participant declined an invitation to join the
|
|
3493
|
-
# room.
|
|
3494
|
-
# - "PARTICIPANT_LEFT" - The participant joined the room and then left it.
|
|
3495
|
-
# Corresponds to the JSON property `status`
|
|
3496
|
-
# @return [String]
|
|
3497
|
-
attr_accessor :status
|
|
3498
|
-
|
|
3499
|
-
def initialize(**args)
|
|
3500
|
-
update!(**args)
|
|
3501
|
-
end
|
|
3502
|
-
|
|
3503
|
-
# Update properties of this object
|
|
3504
|
-
def update!(**args)
|
|
3505
|
-
@auto_matched = args[:auto_matched] if args.key?(:auto_matched)
|
|
3506
|
-
@auto_matched_player = args[:auto_matched_player] if args.key?(:auto_matched_player)
|
|
3507
|
-
@capabilities = args[:capabilities] if args.key?(:capabilities)
|
|
3508
|
-
@client_address = args[:client_address] if args.key?(:client_address)
|
|
3509
|
-
@connected = args[:connected] if args.key?(:connected)
|
|
3510
|
-
@id = args[:id] if args.key?(:id)
|
|
3511
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3512
|
-
@leave_reason = args[:leave_reason] if args.key?(:leave_reason)
|
|
3513
|
-
@player = args[:player] if args.key?(:player)
|
|
3514
|
-
@status = args[:status] if args.key?(:status)
|
|
3515
|
-
end
|
|
3516
|
-
end
|
|
3517
|
-
|
|
3518
|
-
# This is a JSON template for the status of a room that the player has joined.
|
|
3519
|
-
class RoomStatus
|
|
3520
|
-
include Google::Apis::Core::Hashable
|
|
3521
|
-
|
|
3522
|
-
# This is a JSON template for status of room automatching that is in progress.
|
|
3523
|
-
# Corresponds to the JSON property `autoMatchingStatus`
|
|
3524
|
-
# @return [Google::Apis::GamesV1::RoomAutoMatchStatus]
|
|
3525
|
-
attr_accessor :auto_matching_status
|
|
3526
|
-
|
|
3527
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3528
|
-
# string games#roomStatus.
|
|
3529
|
-
# Corresponds to the JSON property `kind`
|
|
3530
|
-
# @return [String]
|
|
3531
|
-
attr_accessor :kind
|
|
3532
|
-
|
|
3533
|
-
# The participants involved in the room, along with their statuses. Includes
|
|
3534
|
-
# participants who have left or declined invitations.
|
|
3535
|
-
# Corresponds to the JSON property `participants`
|
|
3536
|
-
# @return [Array<Google::Apis::GamesV1::RoomParticipant>]
|
|
3537
|
-
attr_accessor :participants
|
|
3538
|
-
|
|
3539
|
-
# Globally unique ID for a room.
|
|
3540
|
-
# Corresponds to the JSON property `roomId`
|
|
3541
|
-
# @return [String]
|
|
3542
|
-
attr_accessor :room_id
|
|
3543
|
-
|
|
3544
|
-
# The status of the room.
|
|
3545
|
-
# Possible values are:
|
|
3546
|
-
# - "ROOM_INVITING" - One or more players have been invited and not responded.
|
|
3547
|
-
# - "ROOM_AUTO_MATCHING" - One or more slots need to be filled by auto-matching.
|
|
3548
|
-
# - "ROOM_CONNECTING" - Players have joined are connecting to each other (either
|
|
3549
|
-
# before or after auto-matching).
|
|
3550
|
-
# - "ROOM_ACTIVE" - All players have joined and connected to each other.
|
|
3551
|
-
# - "ROOM_DELETED" - All joined players have left.
|
|
3552
|
-
# Corresponds to the JSON property `status`
|
|
3553
|
-
# @return [String]
|
|
3554
|
-
attr_accessor :status
|
|
3555
|
-
|
|
3556
|
-
# The version of the status for the room: an increasing counter, used by the
|
|
3557
|
-
# client to ignore out-of-order updates to room status.
|
|
3558
|
-
# Corresponds to the JSON property `statusVersion`
|
|
3559
|
-
# @return [Fixnum]
|
|
3560
|
-
attr_accessor :status_version
|
|
3561
|
-
|
|
3562
|
-
def initialize(**args)
|
|
3563
|
-
update!(**args)
|
|
3564
|
-
end
|
|
3565
|
-
|
|
3566
|
-
# Update properties of this object
|
|
3567
|
-
def update!(**args)
|
|
3568
|
-
@auto_matching_status = args[:auto_matching_status] if args.key?(:auto_matching_status)
|
|
3569
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3570
|
-
@participants = args[:participants] if args.key?(:participants)
|
|
3571
|
-
@room_id = args[:room_id] if args.key?(:room_id)
|
|
3572
|
-
@status = args[:status] if args.key?(:status)
|
|
3573
|
-
@status_version = args[:status_version] if args.key?(:status_version)
|
|
3574
|
-
end
|
|
3575
|
-
end
|
|
3576
|
-
|
|
3577
|
-
# This is a JSON template for a request to submit a score to leaderboards.
|
|
3578
|
-
class ScoreSubmission
|
|
3579
|
-
include Google::Apis::Core::Hashable
|
|
3580
|
-
|
|
3581
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3582
|
-
# string games#scoreSubmission.
|
|
3583
|
-
# Corresponds to the JSON property `kind`
|
|
3584
|
-
# @return [String]
|
|
3585
|
-
attr_accessor :kind
|
|
3586
|
-
|
|
3587
|
-
# The leaderboard this score is being submitted to.
|
|
3588
|
-
# Corresponds to the JSON property `leaderboardId`
|
|
3589
|
-
# @return [String]
|
|
3590
|
-
attr_accessor :leaderboard_id
|
|
3591
|
-
|
|
3592
|
-
# The new score being submitted.
|
|
3593
|
-
# Corresponds to the JSON property `score`
|
|
3594
|
-
# @return [Fixnum]
|
|
3595
|
-
attr_accessor :score
|
|
3596
|
-
|
|
3597
|
-
# Additional information about this score. Values will contain no more than 64
|
|
3598
|
-
# URI-safe characters as defined by section 2.3 of RFC 3986.
|
|
3599
|
-
# Corresponds to the JSON property `scoreTag`
|
|
3600
|
-
# @return [String]
|
|
3601
|
-
attr_accessor :score_tag
|
|
3602
|
-
|
|
3603
|
-
# Signature Values will contain URI-safe characters as defined by section 2.3 of
|
|
3604
|
-
# RFC 3986.
|
|
3605
|
-
# Corresponds to the JSON property `signature`
|
|
3606
|
-
# @return [String]
|
|
3607
|
-
attr_accessor :signature
|
|
3608
|
-
|
|
3609
|
-
def initialize(**args)
|
|
3610
|
-
update!(**args)
|
|
3611
|
-
end
|
|
3612
|
-
|
|
3613
|
-
# Update properties of this object
|
|
3614
|
-
def update!(**args)
|
|
3615
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3616
|
-
@leaderboard_id = args[:leaderboard_id] if args.key?(:leaderboard_id)
|
|
3617
|
-
@score = args[:score] if args.key?(:score)
|
|
3618
|
-
@score_tag = args[:score_tag] if args.key?(:score_tag)
|
|
3619
|
-
@signature = args[:signature] if args.key?(:signature)
|
|
3620
|
-
end
|
|
3621
|
-
end
|
|
3622
|
-
|
|
3623
|
-
# This is a JSON template for an snapshot object.
|
|
3624
|
-
class Snapshot
|
|
3625
|
-
include Google::Apis::Core::Hashable
|
|
3626
|
-
|
|
3627
|
-
# This is a JSON template for an image of a snapshot.
|
|
3628
|
-
# Corresponds to the JSON property `coverImage`
|
|
3629
|
-
# @return [Google::Apis::GamesV1::SnapshotImage]
|
|
3630
|
-
attr_accessor :cover_image
|
|
3631
|
-
|
|
3632
|
-
# The description of this snapshot.
|
|
3633
|
-
# Corresponds to the JSON property `description`
|
|
3634
|
-
# @return [String]
|
|
3635
|
-
attr_accessor :description
|
|
3636
|
-
|
|
3637
|
-
# The ID of the file underlying this snapshot in the Drive API. Only present if
|
|
3638
|
-
# the snapshot is a view on a Drive file and the file is owned by the caller.
|
|
3639
|
-
# Corresponds to the JSON property `driveId`
|
|
3640
|
-
# @return [String]
|
|
3641
|
-
attr_accessor :drive_id
|
|
3642
|
-
|
|
3643
|
-
# The duration associated with this snapshot, in millis.
|
|
3644
|
-
# Corresponds to the JSON property `durationMillis`
|
|
3645
|
-
# @return [Fixnum]
|
|
3646
|
-
attr_accessor :duration_millis
|
|
3647
|
-
|
|
3648
|
-
# The ID of the snapshot.
|
|
3649
|
-
# Corresponds to the JSON property `id`
|
|
3650
|
-
# @return [String]
|
|
3651
|
-
attr_accessor :id
|
|
3652
|
-
|
|
3653
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3654
|
-
# string games#snapshot.
|
|
3655
|
-
# Corresponds to the JSON property `kind`
|
|
3656
|
-
# @return [String]
|
|
3657
|
-
attr_accessor :kind
|
|
3658
|
-
|
|
3659
|
-
# The timestamp (in millis since Unix epoch) of the last modification to this
|
|
3660
|
-
# snapshot.
|
|
3661
|
-
# Corresponds to the JSON property `lastModifiedMillis`
|
|
3662
|
-
# @return [Fixnum]
|
|
3663
|
-
attr_accessor :last_modified_millis
|
|
3664
|
-
|
|
3665
|
-
# The progress value (64-bit integer set by developer) associated with this
|
|
3666
|
-
# snapshot.
|
|
3667
|
-
# Corresponds to the JSON property `progressValue`
|
|
3668
|
-
# @return [Fixnum]
|
|
3669
|
-
attr_accessor :progress_value
|
|
3670
|
-
|
|
3671
|
-
# The title of this snapshot.
|
|
3672
|
-
# Corresponds to the JSON property `title`
|
|
3673
|
-
# @return [String]
|
|
3674
|
-
attr_accessor :title
|
|
3675
|
-
|
|
3676
|
-
# The type of this snapshot.
|
|
3677
|
-
# Possible values are:
|
|
3678
|
-
# - "SAVE_GAME" - A snapshot representing a save game.
|
|
3679
|
-
# Corresponds to the JSON property `type`
|
|
3680
|
-
# @return [String]
|
|
3681
|
-
attr_accessor :type
|
|
3682
|
-
|
|
3683
|
-
# The unique name provided when the snapshot was created.
|
|
3684
|
-
# Corresponds to the JSON property `uniqueName`
|
|
3685
|
-
# @return [String]
|
|
3686
|
-
attr_accessor :unique_name
|
|
3687
|
-
|
|
3688
|
-
def initialize(**args)
|
|
3689
|
-
update!(**args)
|
|
3690
|
-
end
|
|
3691
|
-
|
|
3692
|
-
# Update properties of this object
|
|
3693
|
-
def update!(**args)
|
|
3694
|
-
@cover_image = args[:cover_image] if args.key?(:cover_image)
|
|
3695
|
-
@description = args[:description] if args.key?(:description)
|
|
3696
|
-
@drive_id = args[:drive_id] if args.key?(:drive_id)
|
|
3697
|
-
@duration_millis = args[:duration_millis] if args.key?(:duration_millis)
|
|
3698
|
-
@id = args[:id] if args.key?(:id)
|
|
3699
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3700
|
-
@last_modified_millis = args[:last_modified_millis] if args.key?(:last_modified_millis)
|
|
3701
|
-
@progress_value = args[:progress_value] if args.key?(:progress_value)
|
|
3702
|
-
@title = args[:title] if args.key?(:title)
|
|
3703
|
-
@type = args[:type] if args.key?(:type)
|
|
3704
|
-
@unique_name = args[:unique_name] if args.key?(:unique_name)
|
|
3705
|
-
end
|
|
3706
|
-
end
|
|
3707
|
-
|
|
3708
|
-
# This is a JSON template for an image of a snapshot.
|
|
3709
|
-
class SnapshotImage
|
|
3710
|
-
include Google::Apis::Core::Hashable
|
|
3711
|
-
|
|
3712
|
-
# The height of the image.
|
|
3713
|
-
# Corresponds to the JSON property `height`
|
|
3714
|
-
# @return [Fixnum]
|
|
3715
|
-
attr_accessor :height
|
|
3716
|
-
|
|
3717
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3718
|
-
# string games#snapshotImage.
|
|
3719
|
-
# Corresponds to the JSON property `kind`
|
|
3720
|
-
# @return [String]
|
|
3721
|
-
attr_accessor :kind
|
|
3722
|
-
|
|
3723
|
-
# The MIME type of the image.
|
|
3724
|
-
# Corresponds to the JSON property `mime_type`
|
|
3725
|
-
# @return [String]
|
|
3726
|
-
attr_accessor :mime_type
|
|
3727
|
-
|
|
3728
|
-
# The URL of the image. This URL may be invalidated at any time and should not
|
|
3729
|
-
# be cached.
|
|
3730
|
-
# Corresponds to the JSON property `url`
|
|
3731
|
-
# @return [String]
|
|
3732
|
-
attr_accessor :url
|
|
3733
|
-
|
|
3734
|
-
# The width of the image.
|
|
3735
|
-
# Corresponds to the JSON property `width`
|
|
3736
|
-
# @return [Fixnum]
|
|
3737
|
-
attr_accessor :width
|
|
3738
|
-
|
|
3739
|
-
def initialize(**args)
|
|
3740
|
-
update!(**args)
|
|
3741
|
-
end
|
|
3742
|
-
|
|
3743
|
-
# Update properties of this object
|
|
3744
|
-
def update!(**args)
|
|
3745
|
-
@height = args[:height] if args.key?(:height)
|
|
3746
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3747
|
-
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
3748
|
-
@url = args[:url] if args.key?(:url)
|
|
3749
|
-
@width = args[:width] if args.key?(:width)
|
|
3750
|
-
end
|
|
3751
|
-
end
|
|
3752
|
-
|
|
3753
|
-
# This is a JSON template for a list of snapshot objects.
|
|
3754
|
-
class ListSnapshotResponse
|
|
3755
|
-
include Google::Apis::Core::Hashable
|
|
3756
|
-
|
|
3757
|
-
# The snapshots.
|
|
3758
|
-
# Corresponds to the JSON property `items`
|
|
3759
|
-
# @return [Array<Google::Apis::GamesV1::Snapshot>]
|
|
3760
|
-
attr_accessor :items
|
|
3761
|
-
|
|
3762
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3763
|
-
# string games#snapshotListResponse.
|
|
3764
|
-
# Corresponds to the JSON property `kind`
|
|
3765
|
-
# @return [String]
|
|
3766
|
-
attr_accessor :kind
|
|
3767
|
-
|
|
3768
|
-
# Token corresponding to the next page of results. If there are no more results,
|
|
3769
|
-
# the token is omitted.
|
|
3770
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
3771
|
-
# @return [String]
|
|
3772
|
-
attr_accessor :next_page_token
|
|
3773
|
-
|
|
3774
|
-
def initialize(**args)
|
|
3775
|
-
update!(**args)
|
|
3776
|
-
end
|
|
3777
|
-
|
|
3778
|
-
# Update properties of this object
|
|
3779
|
-
def update!(**args)
|
|
3780
|
-
@items = args[:items] if args.key?(:items)
|
|
3781
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3782
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3783
|
-
end
|
|
3784
|
-
end
|
|
3785
|
-
|
|
3786
|
-
# This is a JSON template for an turn-based auto-match criteria object.
|
|
3787
|
-
class TurnBasedAutoMatchingCriteria
|
|
3788
|
-
include Google::Apis::Core::Hashable
|
|
3789
|
-
|
|
3790
|
-
# A bitmask indicating when auto-matches are valid. When ANDed with other
|
|
3791
|
-
# exclusive bitmasks, the result must be zero. Can be used to support exclusive
|
|
3792
|
-
# roles within a game.
|
|
3793
|
-
# Corresponds to the JSON property `exclusiveBitmask`
|
|
3794
|
-
# @return [Fixnum]
|
|
3795
|
-
attr_accessor :exclusive_bitmask
|
|
3796
|
-
|
|
3797
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3798
|
-
# string games#turnBasedAutoMatchingCriteria.
|
|
3799
|
-
# Corresponds to the JSON property `kind`
|
|
3800
|
-
# @return [String]
|
|
3801
|
-
attr_accessor :kind
|
|
3802
|
-
|
|
3803
|
-
# The maximum number of players that should be added to the match by auto-
|
|
3804
|
-
# matching.
|
|
3805
|
-
# Corresponds to the JSON property `maxAutoMatchingPlayers`
|
|
3806
|
-
# @return [Fixnum]
|
|
3807
|
-
attr_accessor :max_auto_matching_players
|
|
3808
|
-
|
|
3809
|
-
# The minimum number of players that should be added to the match by auto-
|
|
3810
|
-
# matching.
|
|
3811
|
-
# Corresponds to the JSON property `minAutoMatchingPlayers`
|
|
3812
|
-
# @return [Fixnum]
|
|
3813
|
-
attr_accessor :min_auto_matching_players
|
|
3814
|
-
|
|
3815
|
-
def initialize(**args)
|
|
3816
|
-
update!(**args)
|
|
3817
|
-
end
|
|
3818
|
-
|
|
3819
|
-
# Update properties of this object
|
|
3820
|
-
def update!(**args)
|
|
3821
|
-
@exclusive_bitmask = args[:exclusive_bitmask] if args.key?(:exclusive_bitmask)
|
|
3822
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3823
|
-
@max_auto_matching_players = args[:max_auto_matching_players] if args.key?(:max_auto_matching_players)
|
|
3824
|
-
@min_auto_matching_players = args[:min_auto_matching_players] if args.key?(:min_auto_matching_players)
|
|
3825
|
-
end
|
|
3826
|
-
end
|
|
3827
|
-
|
|
3828
|
-
# This is a JSON template for a turn-based match resource object.
|
|
3829
|
-
class TurnBasedMatch
|
|
3830
|
-
include Google::Apis::Core::Hashable
|
|
3831
|
-
|
|
3832
|
-
# The ID of the application being played.
|
|
3833
|
-
# Corresponds to the JSON property `applicationId`
|
|
3834
|
-
# @return [String]
|
|
3835
|
-
attr_accessor :application_id
|
|
3836
|
-
|
|
3837
|
-
# This is a JSON template for an turn-based auto-match criteria object.
|
|
3838
|
-
# Corresponds to the JSON property `autoMatchingCriteria`
|
|
3839
|
-
# @return [Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria]
|
|
3840
|
-
attr_accessor :auto_matching_criteria
|
|
3841
|
-
|
|
3842
|
-
# This is a JSON template for turn-based match modification metadata.
|
|
3843
|
-
# Corresponds to the JSON property `creationDetails`
|
|
3844
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatchModification]
|
|
3845
|
-
attr_accessor :creation_details
|
|
3846
|
-
|
|
3847
|
-
# This is a JSON template for a turn-based match data object.
|
|
3848
|
-
# Corresponds to the JSON property `data`
|
|
3849
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatchData]
|
|
3850
|
-
attr_accessor :data
|
|
3851
|
-
|
|
3852
|
-
# This short description is generated by our servers based on turn state and is
|
|
3853
|
-
# localized and worded relative to the player requesting the match. It is
|
|
3854
|
-
# intended to be displayed when the match is shown in a list.
|
|
3855
|
-
# Corresponds to the JSON property `description`
|
|
3856
|
-
# @return [String]
|
|
3857
|
-
attr_accessor :description
|
|
3858
|
-
|
|
3859
|
-
# The ID of the participant that invited the user to the match. Not set if the
|
|
3860
|
-
# user was not invited to the match.
|
|
3861
|
-
# Corresponds to the JSON property `inviterId`
|
|
3862
|
-
# @return [String]
|
|
3863
|
-
attr_accessor :inviter_id
|
|
3864
|
-
|
|
3865
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
3866
|
-
# string games#turnBasedMatch.
|
|
3867
|
-
# Corresponds to the JSON property `kind`
|
|
3868
|
-
# @return [String]
|
|
3869
|
-
attr_accessor :kind
|
|
3870
|
-
|
|
3871
|
-
# This is a JSON template for turn-based match modification metadata.
|
|
3872
|
-
# Corresponds to the JSON property `lastUpdateDetails`
|
|
3873
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatchModification]
|
|
3874
|
-
attr_accessor :last_update_details
|
|
3875
|
-
|
|
3876
|
-
# Globally unique ID for a turn-based match.
|
|
3877
|
-
# Corresponds to the JSON property `matchId`
|
|
3878
|
-
# @return [String]
|
|
3879
|
-
attr_accessor :match_id
|
|
3880
|
-
|
|
3881
|
-
# The number of the match in a chain of rematches. Will be set to 1 for the
|
|
3882
|
-
# first match and incremented by 1 for each rematch.
|
|
3883
|
-
# Corresponds to the JSON property `matchNumber`
|
|
3884
|
-
# @return [Fixnum]
|
|
3885
|
-
attr_accessor :match_number
|
|
3886
|
-
|
|
3887
|
-
# The version of this match: an increasing counter, used to avoid out-of-date
|
|
3888
|
-
# updates to the match.
|
|
3889
|
-
# Corresponds to the JSON property `matchVersion`
|
|
3890
|
-
# @return [Fixnum]
|
|
3891
|
-
attr_accessor :match_version
|
|
3892
|
-
|
|
3893
|
-
# The participants involved in the match, along with their statuses. Includes
|
|
3894
|
-
# participants who have left or declined invitations.
|
|
3895
|
-
# Corresponds to the JSON property `participants`
|
|
3896
|
-
# @return [Array<Google::Apis::GamesV1::TurnBasedMatchParticipant>]
|
|
3897
|
-
attr_accessor :participants
|
|
3898
|
-
|
|
3899
|
-
# The ID of the participant that is taking a turn.
|
|
3900
|
-
# Corresponds to the JSON property `pendingParticipantId`
|
|
3901
|
-
# @return [String]
|
|
3902
|
-
attr_accessor :pending_participant_id
|
|
3903
|
-
|
|
3904
|
-
# This is a JSON template for a turn-based match data object.
|
|
3905
|
-
# Corresponds to the JSON property `previousMatchData`
|
|
3906
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatchData]
|
|
3907
|
-
attr_accessor :previous_match_data
|
|
3908
|
-
|
|
3909
|
-
# The ID of a rematch of this match. Only set for completed matches that have
|
|
3910
|
-
# been rematched.
|
|
3911
|
-
# Corresponds to the JSON property `rematchId`
|
|
3912
|
-
# @return [String]
|
|
3913
|
-
attr_accessor :rematch_id
|
|
3914
|
-
|
|
3915
|
-
# The results reported for this match.
|
|
3916
|
-
# Corresponds to the JSON property `results`
|
|
3917
|
-
# @return [Array<Google::Apis::GamesV1::ParticipantResult>]
|
|
3918
|
-
attr_accessor :results
|
|
3919
|
-
|
|
3920
|
-
# The status of the match.
|
|
3921
|
-
# Possible values are:
|
|
3922
|
-
# - "MATCH_AUTO_MATCHING" - One or more slots need to be filled by auto-matching;
|
|
3923
|
-
# the match cannot be established until they are filled.
|
|
3924
|
-
# - "MATCH_ACTIVE" - The match has started.
|
|
3925
|
-
# - "MATCH_COMPLETE" - The match has finished.
|
|
3926
|
-
# - "MATCH_CANCELED" - The match was canceled.
|
|
3927
|
-
# - "MATCH_EXPIRED" - The match expired due to inactivity.
|
|
3928
|
-
# - "MATCH_DELETED" - The match should no longer be shown on the client.
|
|
3929
|
-
# Returned only for tombstones for matches when sync is called.
|
|
3930
|
-
# Corresponds to the JSON property `status`
|
|
3931
|
-
# @return [String]
|
|
3932
|
-
attr_accessor :status
|
|
3933
|
-
|
|
3934
|
-
# The status of the current user in the match. Derived from the match type,
|
|
3935
|
-
# match status, the user's participant status, and the pending participant for
|
|
3936
|
-
# the match.
|
|
3937
|
-
# Possible values are:
|
|
3938
|
-
# - "USER_INVITED" - The user has been invited to join the match and has not
|
|
3939
|
-
# responded yet.
|
|
3940
|
-
# - "USER_AWAITING_TURN" - The user is waiting for their turn.
|
|
3941
|
-
# - "USER_TURN" - The user has an action to take in the match.
|
|
3942
|
-
# - "USER_MATCH_COMPLETED" - The match has ended (it is completed, canceled, or
|
|
3943
|
-
# expired.)
|
|
3944
|
-
# Corresponds to the JSON property `userMatchStatus`
|
|
3945
|
-
# @return [String]
|
|
3946
|
-
attr_accessor :user_match_status
|
|
3947
|
-
|
|
3948
|
-
# The variant / mode of the application being played; can be any integer value,
|
|
3949
|
-
# or left blank.
|
|
3950
|
-
# Corresponds to the JSON property `variant`
|
|
3951
|
-
# @return [Fixnum]
|
|
3952
|
-
attr_accessor :variant
|
|
3953
|
-
|
|
3954
|
-
# The ID of another participant in the match that can be used when describing
|
|
3955
|
-
# the participants the user is playing with.
|
|
3956
|
-
# Corresponds to the JSON property `withParticipantId`
|
|
3957
|
-
# @return [String]
|
|
3958
|
-
attr_accessor :with_participant_id
|
|
3959
|
-
|
|
3960
|
-
def initialize(**args)
|
|
3961
|
-
update!(**args)
|
|
3962
|
-
end
|
|
3963
|
-
|
|
3964
|
-
# Update properties of this object
|
|
3965
|
-
def update!(**args)
|
|
3966
|
-
@application_id = args[:application_id] if args.key?(:application_id)
|
|
3967
|
-
@auto_matching_criteria = args[:auto_matching_criteria] if args.key?(:auto_matching_criteria)
|
|
3968
|
-
@creation_details = args[:creation_details] if args.key?(:creation_details)
|
|
3969
|
-
@data = args[:data] if args.key?(:data)
|
|
3970
|
-
@description = args[:description] if args.key?(:description)
|
|
3971
|
-
@inviter_id = args[:inviter_id] if args.key?(:inviter_id)
|
|
3972
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
3973
|
-
@last_update_details = args[:last_update_details] if args.key?(:last_update_details)
|
|
3974
|
-
@match_id = args[:match_id] if args.key?(:match_id)
|
|
3975
|
-
@match_number = args[:match_number] if args.key?(:match_number)
|
|
3976
|
-
@match_version = args[:match_version] if args.key?(:match_version)
|
|
3977
|
-
@participants = args[:participants] if args.key?(:participants)
|
|
3978
|
-
@pending_participant_id = args[:pending_participant_id] if args.key?(:pending_participant_id)
|
|
3979
|
-
@previous_match_data = args[:previous_match_data] if args.key?(:previous_match_data)
|
|
3980
|
-
@rematch_id = args[:rematch_id] if args.key?(:rematch_id)
|
|
3981
|
-
@results = args[:results] if args.key?(:results)
|
|
3982
|
-
@status = args[:status] if args.key?(:status)
|
|
3983
|
-
@user_match_status = args[:user_match_status] if args.key?(:user_match_status)
|
|
3984
|
-
@variant = args[:variant] if args.key?(:variant)
|
|
3985
|
-
@with_participant_id = args[:with_participant_id] if args.key?(:with_participant_id)
|
|
3986
|
-
end
|
|
3987
|
-
end
|
|
3988
|
-
|
|
3989
|
-
# This is a JSON template for a turn-based match creation request.
|
|
3990
|
-
class CreateTurnBasedMatchRequest
|
|
3991
|
-
include Google::Apis::Core::Hashable
|
|
3992
|
-
|
|
3993
|
-
# This is a JSON template for an turn-based auto-match criteria object.
|
|
3994
|
-
# Corresponds to the JSON property `autoMatchingCriteria`
|
|
3995
|
-
# @return [Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria]
|
|
3996
|
-
attr_accessor :auto_matching_criteria
|
|
3997
|
-
|
|
3998
|
-
# The player ids to invite to the match.
|
|
3999
|
-
# Corresponds to the JSON property `invitedPlayerIds`
|
|
4000
|
-
# @return [Array<String>]
|
|
4001
|
-
attr_accessor :invited_player_ids
|
|
4002
|
-
|
|
4003
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
4004
|
-
# string games#turnBasedMatchCreateRequest.
|
|
4005
|
-
# Corresponds to the JSON property `kind`
|
|
4006
|
-
# @return [String]
|
|
4007
|
-
attr_accessor :kind
|
|
4008
|
-
|
|
4009
|
-
# A randomly generated numeric ID. This number is used at the server to ensure
|
|
4010
|
-
# that the request is handled correctly across retries.
|
|
4011
|
-
# Corresponds to the JSON property `requestId`
|
|
4012
|
-
# @return [Fixnum]
|
|
4013
|
-
attr_accessor :request_id
|
|
4014
|
-
|
|
4015
|
-
# The variant / mode of the application to be played. This can be any integer
|
|
4016
|
-
# value, or left blank. You should use a small number of variants to keep the
|
|
4017
|
-
# auto-matching pool as large as possible.
|
|
4018
|
-
# Corresponds to the JSON property `variant`
|
|
4019
|
-
# @return [Fixnum]
|
|
4020
|
-
attr_accessor :variant
|
|
4021
|
-
|
|
4022
|
-
def initialize(**args)
|
|
4023
|
-
update!(**args)
|
|
4024
|
-
end
|
|
4025
|
-
|
|
4026
|
-
# Update properties of this object
|
|
4027
|
-
def update!(**args)
|
|
4028
|
-
@auto_matching_criteria = args[:auto_matching_criteria] if args.key?(:auto_matching_criteria)
|
|
4029
|
-
@invited_player_ids = args[:invited_player_ids] if args.key?(:invited_player_ids)
|
|
4030
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4031
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
|
4032
|
-
@variant = args[:variant] if args.key?(:variant)
|
|
4033
|
-
end
|
|
4034
|
-
end
|
|
4035
|
-
|
|
4036
|
-
# This is a JSON template for a turn-based match data object.
|
|
4037
|
-
class TurnBasedMatchData
|
|
4038
|
-
include Google::Apis::Core::Hashable
|
|
4039
|
-
|
|
4040
|
-
# The byte representation of the data (limited to 128 kB), as a Base64-encoded
|
|
4041
|
-
# string with the URL_SAFE encoding option.
|
|
4042
|
-
# Corresponds to the JSON property `data`
|
|
4043
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
4044
|
-
# @return [String]
|
|
4045
|
-
attr_accessor :data
|
|
4046
|
-
|
|
4047
|
-
# True if this match has data available but it wasn't returned in a list
|
|
4048
|
-
# response; fetching the match individually will retrieve this data.
|
|
4049
|
-
# Corresponds to the JSON property `dataAvailable`
|
|
4050
|
-
# @return [Boolean]
|
|
4051
|
-
attr_accessor :data_available
|
|
4052
|
-
alias_method :data_available?, :data_available
|
|
4053
|
-
|
|
4054
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
4055
|
-
# string games#turnBasedMatchData.
|
|
4056
|
-
# Corresponds to the JSON property `kind`
|
|
4057
|
-
# @return [String]
|
|
4058
|
-
attr_accessor :kind
|
|
4059
|
-
|
|
4060
|
-
def initialize(**args)
|
|
4061
|
-
update!(**args)
|
|
4062
|
-
end
|
|
4063
|
-
|
|
4064
|
-
# Update properties of this object
|
|
4065
|
-
def update!(**args)
|
|
4066
|
-
@data = args[:data] if args.key?(:data)
|
|
4067
|
-
@data_available = args[:data_available] if args.key?(:data_available)
|
|
4068
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4069
|
-
end
|
|
4070
|
-
end
|
|
4071
|
-
|
|
4072
|
-
# This is a JSON template for sending a turn-based match data object.
|
|
4073
|
-
class TurnBasedMatchDataRequest
|
|
4074
|
-
include Google::Apis::Core::Hashable
|
|
4075
|
-
|
|
4076
|
-
# The byte representation of the data (limited to 128 kB), as a Base64-encoded
|
|
4077
|
-
# string with the URL_SAFE encoding option.
|
|
4078
|
-
# Corresponds to the JSON property `data`
|
|
4079
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
4080
|
-
# @return [String]
|
|
4081
|
-
attr_accessor :data
|
|
4082
|
-
|
|
4083
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
4084
|
-
# string games#turnBasedMatchDataRequest.
|
|
4085
|
-
# Corresponds to the JSON property `kind`
|
|
4086
|
-
# @return [String]
|
|
4087
|
-
attr_accessor :kind
|
|
4088
|
-
|
|
4089
|
-
def initialize(**args)
|
|
4090
|
-
update!(**args)
|
|
4091
|
-
end
|
|
4092
|
-
|
|
4093
|
-
# Update properties of this object
|
|
4094
|
-
def update!(**args)
|
|
4095
|
-
@data = args[:data] if args.key?(:data)
|
|
4096
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4097
|
-
end
|
|
4098
|
-
end
|
|
4099
|
-
|
|
4100
|
-
# This is a JSON template for a list of turn-based matches.
|
|
4101
|
-
class TurnBasedMatchList
|
|
4102
|
-
include Google::Apis::Core::Hashable
|
|
4103
|
-
|
|
4104
|
-
# The matches.
|
|
4105
|
-
# Corresponds to the JSON property `items`
|
|
4106
|
-
# @return [Array<Google::Apis::GamesV1::TurnBasedMatch>]
|
|
4107
|
-
attr_accessor :items
|
|
4108
|
-
|
|
4109
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
4110
|
-
# string games#turnBasedMatchList.
|
|
4111
|
-
# Corresponds to the JSON property `kind`
|
|
4112
|
-
# @return [String]
|
|
4113
|
-
attr_accessor :kind
|
|
4114
|
-
|
|
4115
|
-
# The pagination token for the next page of results.
|
|
4116
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
4117
|
-
# @return [String]
|
|
4118
|
-
attr_accessor :next_page_token
|
|
4119
|
-
|
|
4120
|
-
def initialize(**args)
|
|
4121
|
-
update!(**args)
|
|
4122
|
-
end
|
|
4123
|
-
|
|
4124
|
-
# Update properties of this object
|
|
4125
|
-
def update!(**args)
|
|
4126
|
-
@items = args[:items] if args.key?(:items)
|
|
4127
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4128
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
4129
|
-
end
|
|
4130
|
-
end
|
|
4131
|
-
|
|
4132
|
-
# This is a JSON template for turn-based match modification metadata.
|
|
4133
|
-
class TurnBasedMatchModification
|
|
4134
|
-
include Google::Apis::Core::Hashable
|
|
4135
|
-
|
|
4136
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
4137
|
-
# string games#turnBasedMatchModification.
|
|
4138
|
-
# Corresponds to the JSON property `kind`
|
|
4139
|
-
# @return [String]
|
|
4140
|
-
attr_accessor :kind
|
|
4141
|
-
|
|
4142
|
-
# The timestamp at which they modified the match, in milliseconds since the
|
|
4143
|
-
# epoch in UTC.
|
|
4144
|
-
# Corresponds to the JSON property `modifiedTimestampMillis`
|
|
4145
|
-
# @return [Fixnum]
|
|
4146
|
-
attr_accessor :modified_timestamp_millis
|
|
4147
|
-
|
|
4148
|
-
# The ID of the participant that modified the match.
|
|
4149
|
-
# Corresponds to the JSON property `participantId`
|
|
4150
|
-
# @return [String]
|
|
4151
|
-
attr_accessor :participant_id
|
|
4152
|
-
|
|
4153
|
-
def initialize(**args)
|
|
4154
|
-
update!(**args)
|
|
4155
|
-
end
|
|
4156
|
-
|
|
4157
|
-
# Update properties of this object
|
|
4158
|
-
def update!(**args)
|
|
4159
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4160
|
-
@modified_timestamp_millis = args[:modified_timestamp_millis] if args.key?(:modified_timestamp_millis)
|
|
4161
|
-
@participant_id = args[:participant_id] if args.key?(:participant_id)
|
|
4162
|
-
end
|
|
4163
|
-
end
|
|
4164
|
-
|
|
4165
|
-
# This is a JSON template for a participant in a turn-based match.
|
|
4166
|
-
class TurnBasedMatchParticipant
|
|
4167
|
-
include Google::Apis::Core::Hashable
|
|
4168
|
-
|
|
4169
|
-
# True if this participant was auto-matched with the requesting player.
|
|
4170
|
-
# Corresponds to the JSON property `autoMatched`
|
|
4171
|
-
# @return [Boolean]
|
|
4172
|
-
attr_accessor :auto_matched
|
|
4173
|
-
alias_method :auto_matched?, :auto_matched
|
|
4174
|
-
|
|
4175
|
-
# This is a JSON template for an anonymous player
|
|
4176
|
-
# Corresponds to the JSON property `autoMatchedPlayer`
|
|
4177
|
-
# @return [Google::Apis::GamesV1::AnonymousPlayer]
|
|
4178
|
-
attr_accessor :auto_matched_player
|
|
4179
|
-
|
|
4180
|
-
# An identifier for the participant in the scope of the match. Cannot be used to
|
|
4181
|
-
# identify a player across matches or in other contexts.
|
|
4182
|
-
# Corresponds to the JSON property `id`
|
|
4183
|
-
# @return [String]
|
|
4184
|
-
attr_accessor :id
|
|
4185
|
-
|
|
4186
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
4187
|
-
# string games#turnBasedMatchParticipant.
|
|
4188
|
-
# Corresponds to the JSON property `kind`
|
|
4189
|
-
# @return [String]
|
|
4190
|
-
attr_accessor :kind
|
|
4191
|
-
|
|
4192
|
-
# This is a JSON template for a Player resource.
|
|
4193
|
-
# Corresponds to the JSON property `player`
|
|
4194
|
-
# @return [Google::Apis::GamesV1::Player]
|
|
4195
|
-
attr_accessor :player
|
|
4196
|
-
|
|
4197
|
-
# The status of the participant with respect to the match.
|
|
4198
|
-
# Possible values are:
|
|
4199
|
-
# - "PARTICIPANT_NOT_INVITED_YET" - The participant is slated to be invited to
|
|
4200
|
-
# the match, but the invitation has not been sent; the invite will be sent when
|
|
4201
|
-
# it becomes their turn.
|
|
4202
|
-
# - "PARTICIPANT_INVITED" - The participant has been invited to join the match,
|
|
4203
|
-
# but has not yet responded.
|
|
4204
|
-
# - "PARTICIPANT_JOINED" - The participant has joined the match (either after
|
|
4205
|
-
# creating it or accepting an invitation.)
|
|
4206
|
-
# - "PARTICIPANT_DECLINED" - The participant declined an invitation to join the
|
|
4207
|
-
# match.
|
|
4208
|
-
# - "PARTICIPANT_LEFT" - The participant joined the match and then left it.
|
|
4209
|
-
# - "PARTICIPANT_FINISHED" - The participant finished playing in the match.
|
|
4210
|
-
# - "PARTICIPANT_UNRESPONSIVE" - The participant did not take their turn in the
|
|
4211
|
-
# allotted time.
|
|
4212
|
-
# Corresponds to the JSON property `status`
|
|
4213
|
-
# @return [String]
|
|
4214
|
-
attr_accessor :status
|
|
4215
|
-
|
|
4216
|
-
def initialize(**args)
|
|
4217
|
-
update!(**args)
|
|
4218
|
-
end
|
|
4219
|
-
|
|
4220
|
-
# Update properties of this object
|
|
4221
|
-
def update!(**args)
|
|
4222
|
-
@auto_matched = args[:auto_matched] if args.key?(:auto_matched)
|
|
4223
|
-
@auto_matched_player = args[:auto_matched_player] if args.key?(:auto_matched_player)
|
|
4224
|
-
@id = args[:id] if args.key?(:id)
|
|
4225
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4226
|
-
@player = args[:player] if args.key?(:player)
|
|
4227
|
-
@status = args[:status] if args.key?(:status)
|
|
4228
|
-
end
|
|
4229
|
-
end
|
|
4230
|
-
|
|
4231
|
-
# This is a JSON template for a rematch response.
|
|
4232
|
-
class TurnBasedMatchRematch
|
|
4233
|
-
include Google::Apis::Core::Hashable
|
|
4234
|
-
|
|
4235
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
4236
|
-
# string games#turnBasedMatchRematch.
|
|
4237
|
-
# Corresponds to the JSON property `kind`
|
|
4238
|
-
# @return [String]
|
|
4239
|
-
attr_accessor :kind
|
|
4240
|
-
|
|
4241
|
-
# This is a JSON template for a turn-based match resource object.
|
|
4242
|
-
# Corresponds to the JSON property `previousMatch`
|
|
4243
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatch]
|
|
4244
|
-
attr_accessor :previous_match
|
|
4245
|
-
|
|
4246
|
-
# This is a JSON template for a turn-based match resource object.
|
|
4247
|
-
# Corresponds to the JSON property `rematch`
|
|
4248
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatch]
|
|
4249
|
-
attr_accessor :rematch
|
|
4250
|
-
|
|
4251
|
-
def initialize(**args)
|
|
4252
|
-
update!(**args)
|
|
4253
|
-
end
|
|
4254
|
-
|
|
4255
|
-
# Update properties of this object
|
|
4256
|
-
def update!(**args)
|
|
4257
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4258
|
-
@previous_match = args[:previous_match] if args.key?(:previous_match)
|
|
4259
|
-
@rematch = args[:rematch] if args.key?(:rematch)
|
|
4260
|
-
end
|
|
4261
|
-
end
|
|
4262
|
-
|
|
4263
|
-
# This is a JSON template for a turn-based match results object.
|
|
4264
|
-
class TurnBasedMatchResults
|
|
4265
|
-
include Google::Apis::Core::Hashable
|
|
4266
|
-
|
|
4267
|
-
# This is a JSON template for sending a turn-based match data object.
|
|
4268
|
-
# Corresponds to the JSON property `data`
|
|
4269
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatchDataRequest]
|
|
4270
|
-
attr_accessor :data
|
|
4271
|
-
|
|
4272
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
4273
|
-
# string games#turnBasedMatchResults.
|
|
4274
|
-
# Corresponds to the JSON property `kind`
|
|
4275
|
-
# @return [String]
|
|
4276
|
-
attr_accessor :kind
|
|
4277
|
-
|
|
4278
|
-
# The version of the match being updated.
|
|
4279
|
-
# Corresponds to the JSON property `matchVersion`
|
|
4280
|
-
# @return [Fixnum]
|
|
4281
|
-
attr_accessor :match_version
|
|
4282
|
-
|
|
4283
|
-
# The match results for the participants in the match.
|
|
4284
|
-
# Corresponds to the JSON property `results`
|
|
4285
|
-
# @return [Array<Google::Apis::GamesV1::ParticipantResult>]
|
|
4286
|
-
attr_accessor :results
|
|
4287
|
-
|
|
4288
|
-
def initialize(**args)
|
|
4289
|
-
update!(**args)
|
|
4290
|
-
end
|
|
4291
|
-
|
|
4292
|
-
# Update properties of this object
|
|
4293
|
-
def update!(**args)
|
|
4294
|
-
@data = args[:data] if args.key?(:data)
|
|
4295
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4296
|
-
@match_version = args[:match_version] if args.key?(:match_version)
|
|
4297
|
-
@results = args[:results] if args.key?(:results)
|
|
4298
|
-
end
|
|
4299
|
-
end
|
|
4300
|
-
|
|
4301
|
-
# This is a JSON template for a list of turn-based matches returned from a sync.
|
|
4302
|
-
class TurnBasedMatchSync
|
|
4303
|
-
include Google::Apis::Core::Hashable
|
|
4304
|
-
|
|
4305
|
-
# The matches.
|
|
4306
|
-
# Corresponds to the JSON property `items`
|
|
4307
|
-
# @return [Array<Google::Apis::GamesV1::TurnBasedMatch>]
|
|
4308
|
-
attr_accessor :items
|
|
4309
|
-
|
|
4310
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
4311
|
-
# string games#turnBasedMatchSync.
|
|
4312
|
-
# Corresponds to the JSON property `kind`
|
|
4313
|
-
# @return [String]
|
|
4314
|
-
attr_accessor :kind
|
|
4315
|
-
|
|
4316
|
-
# True if there were more matches available to fetch at the time the response
|
|
4317
|
-
# was generated (which were not returned due to page size limits.)
|
|
4318
|
-
# Corresponds to the JSON property `moreAvailable`
|
|
4319
|
-
# @return [Boolean]
|
|
4320
|
-
attr_accessor :more_available
|
|
4321
|
-
alias_method :more_available?, :more_available
|
|
4322
|
-
|
|
4323
|
-
# The pagination token for the next page of results.
|
|
4324
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
4325
|
-
# @return [String]
|
|
4326
|
-
attr_accessor :next_page_token
|
|
4327
|
-
|
|
4328
|
-
def initialize(**args)
|
|
4329
|
-
update!(**args)
|
|
4330
|
-
end
|
|
4331
|
-
|
|
4332
|
-
# Update properties of this object
|
|
4333
|
-
def update!(**args)
|
|
4334
|
-
@items = args[:items] if args.key?(:items)
|
|
4335
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4336
|
-
@more_available = args[:more_available] if args.key?(:more_available)
|
|
4337
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
4338
|
-
end
|
|
4339
|
-
end
|
|
4340
|
-
|
|
4341
|
-
# This is a JSON template for the object representing a turn.
|
|
4342
|
-
class TurnBasedMatchTurn
|
|
4343
|
-
include Google::Apis::Core::Hashable
|
|
4344
|
-
|
|
4345
|
-
# This is a JSON template for sending a turn-based match data object.
|
|
4346
|
-
# Corresponds to the JSON property `data`
|
|
4347
|
-
# @return [Google::Apis::GamesV1::TurnBasedMatchDataRequest]
|
|
4348
|
-
attr_accessor :data
|
|
4349
|
-
|
|
4350
|
-
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
4351
|
-
# string games#turnBasedMatchTurn.
|
|
4352
|
-
# Corresponds to the JSON property `kind`
|
|
4353
|
-
# @return [String]
|
|
4354
|
-
attr_accessor :kind
|
|
4355
|
-
|
|
4356
|
-
# The version of this match: an increasing counter, used to avoid out-of-date
|
|
4357
|
-
# updates to the match.
|
|
4358
|
-
# Corresponds to the JSON property `matchVersion`
|
|
4359
|
-
# @return [Fixnum]
|
|
4360
|
-
attr_accessor :match_version
|
|
4361
|
-
|
|
4362
|
-
# The ID of the participant who should take their turn next. May be set to the
|
|
4363
|
-
# current player's participant ID to update match state without changing the
|
|
4364
|
-
# turn. If not set, the match will wait for other player(s) to join via
|
|
4365
|
-
# automatching; this is only valid if automatch criteria is set on the match
|
|
4366
|
-
# with remaining slots for automatched players.
|
|
4367
|
-
# Corresponds to the JSON property `pendingParticipantId`
|
|
4368
|
-
# @return [String]
|
|
4369
|
-
attr_accessor :pending_participant_id
|
|
2593
|
+
# The probability of the player going to spend the game in the next seven days.
|
|
2594
|
+
# E.g., 0, 0.25, 0.50, 0.75. Not populated if there is not enough information.
|
|
2595
|
+
# Corresponds to the JSON property `spend_probability`
|
|
2596
|
+
# @return [Float]
|
|
2597
|
+
attr_accessor :spend_probability
|
|
4370
2598
|
|
|
4371
|
-
# The
|
|
4372
|
-
#
|
|
4373
|
-
#
|
|
4374
|
-
|
|
2599
|
+
# The predicted amount of money that the player going to spend in the next 28
|
|
2600
|
+
# days. E.g., 1, 30, 60, ... . Not populated if there is not enough information.
|
|
2601
|
+
# Corresponds to the JSON property `total_spend_next_28_days`
|
|
2602
|
+
# @return [Float]
|
|
2603
|
+
attr_accessor :total_spend_next_28_days
|
|
4375
2604
|
|
|
4376
2605
|
def initialize(**args)
|
|
4377
2606
|
update!(**args)
|
|
@@ -4379,11 +2608,17 @@ module Google
|
|
|
4379
2608
|
|
|
4380
2609
|
# Update properties of this object
|
|
4381
2610
|
def update!(**args)
|
|
4382
|
-
@
|
|
2611
|
+
@avg_session_length_minutes = args[:avg_session_length_minutes] if args.key?(:avg_session_length_minutes)
|
|
2612
|
+
@churn_probability = args[:churn_probability] if args.key?(:churn_probability)
|
|
2613
|
+
@days_since_last_played = args[:days_since_last_played] if args.key?(:days_since_last_played)
|
|
2614
|
+
@high_spender_probability = args[:high_spender_probability] if args.key?(:high_spender_probability)
|
|
4383
2615
|
@kind = args[:kind] if args.key?(:kind)
|
|
4384
|
-
@
|
|
4385
|
-
@
|
|
4386
|
-
@
|
|
2616
|
+
@num_purchases = args[:num_purchases] if args.key?(:num_purchases)
|
|
2617
|
+
@num_sessions = args[:num_sessions] if args.key?(:num_sessions)
|
|
2618
|
+
@num_sessions_percentile = args[:num_sessions_percentile] if args.key?(:num_sessions_percentile)
|
|
2619
|
+
@spend_percentile = args[:spend_percentile] if args.key?(:spend_percentile)
|
|
2620
|
+
@spend_probability = args[:spend_probability] if args.key?(:spend_probability)
|
|
2621
|
+
@total_spend_next_28_days = args[:total_spend_next_28_days] if args.key?(:total_spend_next_28_days)
|
|
4387
2622
|
end
|
|
4388
2623
|
end
|
|
4389
2624
|
end
|