google-api-client 0.8.6 → 0.9

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.
Files changed (497) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +7 -0
  5. data/.rubocop_todo.yml +63 -0
  6. data/.travis.yml +22 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +41 -2
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +32 -2
  11. data/MIGRATING.md +171 -0
  12. data/README.md +181 -148
  13. data/Rakefile +1 -40
  14. data/api_names.yaml +1036 -0
  15. data/api_names_out.yaml +26053 -0
  16. data/bin/generate-api +95 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
  20. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
  21. data/generated/google/apis/adexchangeseller_v2_0.rb +38 -0
  22. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  23. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +309 -0
  24. data/generated/google/apis/adexchangeseller_v2_0/service.rb +668 -0
  25. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  26. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  27. data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
  28. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  29. data/generated/google/apis/admin_directory_v1.rb +113 -0
  30. data/generated/google/apis/admin_directory_v1/classes.rb +3141 -0
  31. data/generated/google/apis/admin_directory_v1/representations.rb +1029 -0
  32. data/generated/google/apis/admin_directory_v1/service.rb +3818 -0
  33. data/generated/google/apis/admin_reports_v1.rb +38 -0
  34. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  35. data/generated/google/apis/admin_reports_v1/representations.rb +231 -0
  36. data/generated/google/apis/admin_reports_v1/service.rb +336 -0
  37. data/generated/google/apis/adsense_v1_4.rb +38 -0
  38. data/generated/google/apis/adsense_v1_4/classes.rb +1285 -0
  39. data/generated/google/apis/adsense_v1_4/representations.rb +494 -0
  40. data/generated/google/apis/adsense_v1_4/service.rb +1714 -0
  41. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  42. data/generated/google/apis/adsensehost_v4_1/classes.rb +834 -0
  43. data/generated/google/apis/adsensehost_v4_1/representations.rb +327 -0
  44. data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
  45. data/generated/google/apis/analytics_v3.rb +49 -0
  46. data/generated/google/apis/analytics_v3/classes.rb +5118 -0
  47. data/generated/google/apis/analytics_v3/representations.rb +1662 -0
  48. data/generated/google/apis/analytics_v3/service.rb +3568 -0
  49. data/generated/google/apis/androidenterprise_v1.rb +35 -0
  50. data/generated/google/apis/androidenterprise_v1/classes.rb +1443 -0
  51. data/generated/google/apis/androidenterprise_v1/representations.rb +538 -0
  52. data/generated/google/apis/androidenterprise_v1/service.rb +2602 -0
  53. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  54. data/generated/google/apis/androidpublisher_v2/classes.rb +1411 -0
  55. data/generated/google/apis/androidpublisher_v2/representations.rb +646 -0
  56. data/generated/google/apis/androidpublisher_v2/service.rb +2338 -0
  57. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  58. data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
  59. data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
  60. data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
  61. data/generated/google/apis/appsactivity_v1.rb +46 -0
  62. data/generated/google/apis/appsactivity_v1/classes.rb +392 -0
  63. data/generated/google/apis/appsactivity_v1/representations.rb +184 -0
  64. data/generated/google/apis/appsactivity_v1/service.rb +128 -0
  65. data/generated/google/apis/appstate_v1.rb +34 -0
  66. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  67. data/generated/google/apis/appstate_v1/representations.rb +79 -0
  68. data/generated/google/apis/appstate_v1/service.rb +260 -0
  69. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  70. data/generated/google/apis/autoscaler_v1beta2/classes.rb +747 -0
  71. data/generated/google/apis/autoscaler_v1beta2/representations.rb +281 -0
  72. data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
  73. data/generated/google/apis/bigquery_v2.rb +52 -0
  74. data/generated/google/apis/bigquery_v2/classes.rb +2471 -0
  75. data/generated/google/apis/bigquery_v2/representations.rb +816 -0
  76. data/generated/google/apis/bigquery_v2/service.rb +982 -0
  77. data/generated/google/apis/blogger_v3.rb +37 -0
  78. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  79. data/generated/google/apis/blogger_v3/representations.rb +562 -0
  80. data/generated/google/apis/blogger_v3/service.rb +1587 -0
  81. data/generated/google/apis/books_v1.rb +34 -0
  82. data/generated/google/apis/books_v1/classes.rb +3956 -0
  83. data/generated/google/apis/books_v1/representations.rb +1538 -0
  84. data/generated/google/apis/books_v1/service.rb +2290 -0
  85. data/generated/google/apis/calendar_v3.rb +37 -0
  86. data/generated/google/apis/calendar_v3/classes.rb +1742 -0
  87. data/generated/google/apis/calendar_v3/representations.rb +567 -0
  88. data/generated/google/apis/calendar_v3/service.rb +1968 -0
  89. data/{lib/google/api_client/service_account.rb → generated/google/apis/civicinfo_v2.rb} +18 -8
  90. data/generated/google/apis/civicinfo_v2/classes.rb +1127 -0
  91. data/generated/google/apis/civicinfo_v2/representations.rb +383 -0
  92. data/generated/google/apis/civicinfo_v2/service.rb +279 -0
  93. data/generated/google/apis/classroom_v1.rb +49 -0
  94. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  95. data/generated/google/apis/classroom_v1/representations.rb +217 -0
  96. data/generated/google/apis/classroom_v1/service.rb +970 -0
  97. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  98. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  99. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  100. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  101. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  102. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  103. data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
  104. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  105. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  106. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  107. data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
  108. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  109. data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
  110. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  111. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +311 -0
  112. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
  113. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  114. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +437 -0
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +188 -0
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +623 -0
  117. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  118. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  119. data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
  120. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  121. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  122. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  123. data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
  124. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  125. data/generated/google/apis/compute_beta.rb +49 -0
  126. data/generated/google/apis/compute_beta/classes.rb +9128 -0
  127. data/generated/google/apis/compute_beta/representations.rb +3048 -0
  128. data/generated/google/apis/compute_beta/service.rb +10154 -0
  129. data/generated/google/apis/compute_v1.rb +49 -0
  130. data/generated/google/apis/compute_v1/classes.rb +8681 -0
  131. data/generated/google/apis/compute_v1/representations.rb +2895 -0
  132. data/generated/google/apis/compute_v1/service.rb +9252 -0
  133. data/generated/google/apis/container_v1.rb +35 -0
  134. data/generated/google/apis/container_v1/classes.rb +463 -0
  135. data/generated/google/apis/container_v1/representations.rb +175 -0
  136. data/generated/google/apis/container_v1/service.rb +367 -0
  137. data/generated/google/apis/container_v1beta1.rb +35 -0
  138. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  139. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  140. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  141. data/generated/google/apis/content_v2.rb +35 -0
  142. data/generated/google/apis/content_v2/classes.rb +5986 -0
  143. data/generated/google/apis/content_v2/representations.rb +2288 -0
  144. data/generated/google/apis/content_v2/service.rb +2338 -0
  145. data/generated/google/apis/coordinate_v1.rb +37 -0
  146. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  147. data/generated/google/apis/coordinate_v1/representations.rb +285 -0
  148. data/generated/google/apis/coordinate_v1/service.rb +678 -0
  149. data/{lib/google/api_client/auth/compute_service_account.rb → generated/google/apis/customsearch_v1.rb} +13 -10
  150. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  151. data/generated/google/apis/customsearch_v1/representations.rb +276 -0
  152. data/generated/google/apis/customsearch_v1/service.rb +207 -0
  153. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  154. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  155. data/generated/google/apis/datastore_v1beta2/representations.rb +526 -0
  156. data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
  157. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  158. data/generated/google/apis/deploymentmanager_v2/classes.rb +1091 -0
  159. data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
  160. data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
  161. data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
  162. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
  163. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
  164. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
  165. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  166. data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
  167. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  168. data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
  169. data/generated/google/apis/discovery_v1.rb +32 -0
  170. data/generated/google/apis/discovery_v1/classes.rb +961 -0
  171. data/generated/google/apis/discovery_v1/representations.rb +357 -0
  172. data/generated/google/apis/discovery_v1/service.rb +142 -0
  173. data/generated/google/apis/dns_v1.rb +44 -0
  174. data/generated/google/apis/dns_v1/classes.rb +406 -0
  175. data/generated/google/apis/dns_v1/representations.rb +151 -0
  176. data/generated/google/apis/dns_v1/service.rb +454 -0
  177. data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
  178. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +716 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +298 -0
  180. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +341 -0
  181. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  182. data/generated/google/apis/doubleclicksearch_v2/classes.rb +956 -0
  183. data/generated/google/apis/doubleclicksearch_v2/representations.rb +316 -0
  184. data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
  185. data/generated/google/apis/drive_v2.rb +58 -0
  186. data/generated/google/apis/drive_v2/classes.rb +2562 -0
  187. data/generated/google/apis/drive_v2/representations.rb +795 -0
  188. data/generated/google/apis/drive_v2/service.rb +2696 -0
  189. data/generated/google/apis/drive_v3.rb +55 -0
  190. data/generated/google/apis/drive_v3/classes.rb +1534 -0
  191. data/generated/google/apis/drive_v3/representations.rb +497 -0
  192. data/generated/google/apis/drive_v3/service.rb +1541 -0
  193. data/generated/google/apis/fitness_v1.rb +49 -0
  194. data/generated/google/apis/fitness_v1/classes.rb +885 -0
  195. data/generated/google/apis/fitness_v1/representations.rb +320 -0
  196. data/generated/google/apis/fitness_v1/service.rb +675 -0
  197. data/generated/google/apis/fusiontables_v2.rb +37 -0
  198. data/generated/google/apis/fusiontables_v2/classes.rb +1048 -0
  199. data/generated/google/apis/fusiontables_v2/representations.rb +409 -0
  200. data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
  201. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  202. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  203. data/generated/google/apis/games_configuration_v1configuration/representations.rb +206 -0
  204. data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
  205. data/generated/google/apis/games_management_v1management.rb +37 -0
  206. data/generated/google/apis/games_management_v1management/classes.rb +524 -0
  207. data/generated/google/apis/games_management_v1management/representations.rb +231 -0
  208. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  209. data/generated/google/apis/games_v1.rb +40 -0
  210. data/generated/google/apis/games_v1/classes.rb +4617 -0
  211. data/generated/google/apis/games_v1/representations.rb +1584 -0
  212. data/generated/google/apis/games_v1/service.rb +2290 -0
  213. data/generated/google/apis/gan_v1beta1.rb +31 -0
  214. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  215. data/generated/google/apis/gan_v1beta1/representations.rb +428 -0
  216. data/generated/google/apis/gan_v1beta1/service.rb +682 -0
  217. data/generated/google/apis/genomics_v1.rb +49 -0
  218. data/generated/google/apis/genomics_v1/classes.rb +2609 -0
  219. data/generated/google/apis/genomics_v1/representations.rb +909 -0
  220. data/generated/google/apis/genomics_v1/service.rb +1676 -0
  221. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  222. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  223. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  224. data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
  225. data/generated/google/apis/gmail_v1.rb +52 -0
  226. data/generated/google/apis/gmail_v1/classes.rb +794 -0
  227. data/generated/google/apis/gmail_v1/representations.rb +339 -0
  228. data/generated/google/apis/gmail_v1/service.rb +1470 -0
  229. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  230. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  231. data/generated/google/apis/groupsmigration_v1/representations.rb +38 -0
  232. data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
  233. data/generated/google/apis/groupssettings_v1.rb +34 -0
  234. data/generated/google/apis/groupssettings_v1/classes.rb +221 -0
  235. data/generated/google/apis/groupssettings_v1/representations.rb +64 -0
  236. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  237. data/generated/google/apis/identitytoolkit_v3.rb +31 -0
  238. data/generated/google/apis/identitytoolkit_v3/classes.rb +1466 -0
  239. data/generated/google/apis/identitytoolkit_v3/representations.rb +509 -0
  240. data/generated/google/apis/identitytoolkit_v3/service.rb +581 -0
  241. data/{spec/google/api_client/request_spec.rb → generated/google/apis/kgsearch_v1.rb} +16 -13
  242. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  243. data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
  244. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  245. data/generated/google/apis/licensing_v1.rb +34 -0
  246. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  247. data/generated/google/apis/licensing_v1/representations.rb +68 -0
  248. data/generated/google/apis/licensing_v1/service.rb +369 -0
  249. data/generated/google/apis/logging_v1beta3.rb +47 -0
  250. data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
  251. data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
  252. data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
  253. data/generated/google/apis/manager_v1beta2.rb +53 -0
  254. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  255. data/generated/google/apis/manager_v1beta2/representations.rb +536 -0
  256. data/generated/google/apis/manager_v1beta2/service.rb +372 -0
  257. data/generated/google/apis/mapsengine_v1.rb +38 -0
  258. data/generated/google/apis/mapsengine_v1/classes.rb +2873 -0
  259. data/generated/google/apis/mapsengine_v1/representations.rb +1235 -0
  260. data/generated/google/apis/mapsengine_v1/service.rb +3388 -0
  261. data/generated/google/apis/mirror_v1.rb +37 -0
  262. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  263. data/generated/google/apis/mirror_v1/representations.rb +350 -0
  264. data/generated/google/apis/mirror_v1/service.rb +977 -0
  265. data/generated/google/apis/oauth2_v2.rb +43 -0
  266. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  267. data/generated/google/apis/oauth2_v2/representations.rb +94 -0
  268. data/generated/google/apis/oauth2_v2/service.rb +199 -0
  269. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  270. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  271. data/generated/google/apis/pagespeedonline_v2/representations.rb +244 -0
  272. data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
  273. data/generated/google/apis/partners_v2.rb +32 -0
  274. data/generated/google/apis/partners_v2/classes.rb +942 -0
  275. data/generated/google/apis/partners_v2/representations.rb +402 -0
  276. data/generated/google/apis/partners_v2/service.rb +400 -0
  277. data/generated/google/apis/plus_domains_v1.rb +61 -0
  278. data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
  279. data/generated/google/apis/plus_domains_v1/representations.rb +987 -0
  280. data/generated/google/apis/plus_domains_v1/service.rb +904 -0
  281. data/generated/google/apis/plus_v1.rb +43 -0
  282. data/generated/google/apis/plus_v1/classes.rb +2094 -0
  283. data/generated/google/apis/plus_v1/representations.rb +805 -0
  284. data/generated/google/apis/plus_v1/service.rb +470 -0
  285. data/generated/google/apis/prediction_v1_6.rb +44 -0
  286. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  287. data/generated/google/apis/prediction_v1_6/representations.rb +327 -0
  288. data/generated/google/apis/prediction_v1_6/service.rb +380 -0
  289. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  290. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  291. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
  292. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  293. data/generated/google/apis/pubsub_v1.rb +37 -0
  294. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  295. data/generated/google/apis/pubsub_v1/representations.rb +281 -0
  296. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  297. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  298. data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
  299. data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
  300. data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
  301. data/generated/google/apis/qpx_express_v1.rb +31 -0
  302. data/generated/google/apis/qpx_express_v1/classes.rb +1268 -0
  303. data/generated/google/apis/qpx_express_v1/representations.rb +424 -0
  304. data/generated/google/apis/qpx_express_v1/service.rb +100 -0
  305. data/generated/google/apis/replicapool_v1beta2.rb +44 -0
  306. data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
  307. data/generated/google/apis/replicapool_v1beta2/representations.rb +236 -0
  308. data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
  309. data/generated/google/apis/replicapoolupdater_v1beta1.rb +44 -0
  310. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
  311. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +264 -0
  312. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +508 -0
  313. data/generated/google/apis/reseller_v1.rb +37 -0
  314. data/generated/google/apis/reseller_v1/classes.rb +520 -0
  315. data/generated/google/apis/reseller_v1/representations.rb +200 -0
  316. data/generated/google/apis/reseller_v1/service.rb +623 -0
  317. data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
  318. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  319. data/generated/google/apis/resourceviews_v1beta2/representations.rb +269 -0
  320. data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
  321. data/generated/google/apis/script_v1.rb +61 -0
  322. data/generated/google/apis/script_v1/classes.rb +259 -0
  323. data/generated/google/apis/script_v1/representations.rb +106 -0
  324. data/generated/google/apis/script_v1/service.rb +98 -0
  325. data/generated/google/apis/site_verification_v1.rb +37 -0
  326. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  327. data/generated/google/apis/site_verification_v1/representations.rb +101 -0
  328. data/generated/google/apis/site_verification_v1/service.rb +315 -0
  329. data/generated/google/apis/sqladmin_v1beta4.rb +37 -0
  330. data/generated/google/apis/sqladmin_v1beta4/classes.rb +2001 -0
  331. data/generated/google/apis/sqladmin_v1beta4/representations.rb +758 -0
  332. data/generated/google/apis/sqladmin_v1beta4/service.rb +1625 -0
  333. data/generated/google/apis/storage_v1.rb +46 -0
  334. data/generated/google/apis/storage_v1/classes.rb +1222 -0
  335. data/generated/google/apis/storage_v1/representations.rb +445 -0
  336. data/generated/google/apis/storage_v1/service.rb +1903 -0
  337. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  338. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  339. data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
  340. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  341. data/generated/google/apis/tagmanager_v1.rb +52 -0
  342. data/generated/google/apis/tagmanager_v1/classes.rb +1384 -0
  343. data/generated/google/apis/tagmanager_v1/representations.rb +515 -0
  344. data/generated/google/apis/tagmanager_v1/service.rb +1817 -0
  345. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  346. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  347. data/generated/google/apis/taskqueue_v1beta2/representations.rb +114 -0
  348. data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
  349. data/generated/google/apis/tasks_v1.rb +37 -0
  350. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  351. data/generated/google/apis/tasks_v1/representations.rb +115 -0
  352. data/generated/google/apis/tasks_v1/service.rb +643 -0
  353. data/generated/google/apis/translate_v2.rb +31 -0
  354. data/generated/google/apis/translate_v2/classes.rb +168 -0
  355. data/generated/google/apis/translate_v2/representations.rb +109 -0
  356. data/generated/google/apis/translate_v2/service.rb +182 -0
  357. data/generated/google/apis/urlshortener_v1.rb +34 -0
  358. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  359. data/generated/google/apis/urlshortener_v1/representations.rb +111 -0
  360. data/generated/google/apis/urlshortener_v1/service.rb +176 -0
  361. data/generated/google/apis/webmasters_v3.rb +37 -0
  362. data/generated/google/apis/webmasters_v3/classes.rb +563 -0
  363. data/generated/google/apis/webmasters_v3/representations.rb +250 -0
  364. data/generated/google/apis/webmasters_v3/service.rb +573 -0
  365. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  366. data/generated/google/apis/youtube_analytics_v1/classes.rb +546 -0
  367. data/generated/google/apis/youtube_analytics_v1/representations.rb +243 -0
  368. data/generated/google/apis/youtube_analytics_v1/service.rb +562 -0
  369. data/generated/google/apis/youtube_v3.rb +49 -0
  370. data/generated/google/apis/youtube_v3/classes.rb +8136 -0
  371. data/generated/google/apis/youtube_v3/representations.rb +2838 -0
  372. data/generated/google/apis/youtube_v3/service.rb +4403 -0
  373. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  374. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  375. data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
  376. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  377. data/google-api-client.gemspec +27 -39
  378. data/lib/google/api_client/auth/installed_app.rb +7 -5
  379. data/lib/google/api_client/auth/key_utils.rb +1 -0
  380. data/lib/google/api_client/auth/storage.rb +4 -2
  381. data/lib/google/api_client/auth/storages/file_store.rb +2 -3
  382. data/lib/google/api_client/auth/storages/redis_store.rb +7 -2
  383. data/lib/google/api_client/client_secrets.rb +4 -5
  384. data/lib/google/apis.rb +48 -0
  385. data/lib/google/apis/core/api_command.rb +135 -0
  386. data/lib/google/apis/core/base_service.rb +317 -0
  387. data/lib/google/apis/core/batch.rb +239 -0
  388. data/lib/google/apis/core/download.rb +94 -0
  389. data/lib/google/apis/core/hashable.rb +44 -0
  390. data/lib/google/apis/core/http_client_adapter.rb +82 -0
  391. data/lib/google/apis/core/http_command.rb +312 -0
  392. data/lib/google/apis/core/json_representation.rb +127 -0
  393. data/lib/google/{api_client/version.rb → apis/core/logging.rb} +12 -8
  394. data/lib/google/apis/core/multipart.rb +187 -0
  395. data/lib/google/apis/core/upload.rb +288 -0
  396. data/lib/google/{api_client → apis}/errors.rb +39 -28
  397. data/lib/google/apis/generator.rb +70 -0
  398. data/lib/google/apis/generator/annotator.rb +295 -0
  399. data/lib/google/apis/generator/helpers.rb +74 -0
  400. data/lib/google/apis/generator/model.rb +143 -0
  401. data/lib/google/apis/generator/template.rb +124 -0
  402. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  403. data/lib/google/apis/generator/templates/_method.tmpl +92 -0
  404. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  405. data/lib/google/apis/generator/templates/_representation_stub.tmpl +15 -0
  406. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  407. data/lib/google/{api_client/reference.rb → apis/generator/templates/classes.rb.tmpl} +11 -9
  408. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  409. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  410. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  411. data/lib/google/apis/options.rb +85 -0
  412. data/lib/google/apis/version.rb +39 -0
  413. data/rakelib/metrics.rake +22 -0
  414. data/rakelib/rubocop.rake +10 -0
  415. data/rakelib/spec.rake +11 -0
  416. data/rakelib/yard.rake +11 -0
  417. data/samples/Gemfile +7 -0
  418. data/samples/README.md +51 -0
  419. data/samples/google-api-samples +32 -0
  420. data/samples/lib/base_cli.rb +94 -0
  421. data/samples/lib/samples/analytics.rb +62 -0
  422. data/samples/lib/samples/calendar.rb +83 -0
  423. data/samples/lib/samples/drive.rb +82 -0
  424. data/samples/lib/samples/gmail.rb +50 -0
  425. data/samples/lib/samples/pubsub.rb +114 -0
  426. data/samples/lib/samples/translate.rb +44 -0
  427. data/samples/lib/samples/you_tube.rb +44 -0
  428. data/script/generate +95 -0
  429. data/script/package +8 -0
  430. data/script/release +15 -0
  431. data/spec/fixtures/files/api_names.yaml +3 -0
  432. data/spec/fixtures/files/auth_stored_credentials.json +8 -0
  433. data/spec/fixtures/files/child/.gitignore +0 -0
  434. data/spec/fixtures/files/client_secrets.json +1 -0
  435. data/spec/fixtures/files/invalid.json +1 -0
  436. data/spec/fixtures/files/test.blah +1 -0
  437. data/spec/fixtures/files/test.txt +1 -0
  438. data/spec/fixtures/files/test_api.json +440 -0
  439. data/spec/google/api_client/auth/storage_spec.rb +1 -3
  440. data/spec/google/api_client/auth/storages/file_store_spec.rb +1 -2
  441. data/spec/google/api_client/auth/storages/redis_store_spec.rb +1 -3
  442. data/spec/google/api_client/client_secrets_spec.rb +38 -1
  443. data/spec/google/apis/core/api_command_spec.rb +209 -0
  444. data/spec/google/apis/core/batch_spec.rb +142 -0
  445. data/spec/google/apis/core/download_spec.rb +103 -0
  446. data/spec/google/apis/core/hashable_spec.rb +60 -0
  447. data/spec/google/apis/core/http_command_spec.rb +284 -0
  448. data/spec/google/apis/core/json_representation_spec.rb +192 -0
  449. data/spec/google/apis/core/service_spec.rb +247 -0
  450. data/spec/google/apis/core/upload_spec.rb +300 -0
  451. data/{lib/google/api_client/discovery.rb → spec/google/apis/generated_spec.rb} +13 -5
  452. data/spec/google/apis/generator/generator_spec.rb +272 -0
  453. data/spec/google/apis/logging_spec.rb +45 -0
  454. data/spec/google/apis/options_spec.rb +40 -0
  455. data/spec/integration_tests/adsense_spec.rb +29 -0
  456. data/spec/integration_tests/drive_spec.rb +35 -0
  457. data/spec/integration_tests/pubsub_spec.rb +48 -0
  458. data/spec/integration_tests/url_shortener_spec.rb +45 -0
  459. data/spec/spec_helper.rb +131 -44
  460. data/spec/spec_helper/load_path_spec.rb +33 -0
  461. data/third_party/hurley_patches.rb +103 -0
  462. metadata +533 -170
  463. data/lib/compat/multi_json.rb +0 -19
  464. data/lib/google/api_client.rb +0 -750
  465. data/lib/google/api_client/auth/file_storage.rb +0 -59
  466. data/lib/google/api_client/auth/jwt_asserter.rb +0 -126
  467. data/lib/google/api_client/auth/pkcs12.rb +0 -41
  468. data/lib/google/api_client/batch.rb +0 -326
  469. data/lib/google/api_client/charset.rb +0 -33
  470. data/lib/google/api_client/discovery/api.rb +0 -310
  471. data/lib/google/api_client/discovery/media.rb +0 -77
  472. data/lib/google/api_client/discovery/method.rb +0 -363
  473. data/lib/google/api_client/discovery/resource.rb +0 -156
  474. data/lib/google/api_client/discovery/schema.rb +0 -117
  475. data/lib/google/api_client/environment.rb +0 -42
  476. data/lib/google/api_client/gzip.rb +0 -28
  477. data/lib/google/api_client/logging.rb +0 -32
  478. data/lib/google/api_client/media.rb +0 -259
  479. data/lib/google/api_client/railtie.rb +0 -18
  480. data/lib/google/api_client/request.rb +0 -350
  481. data/lib/google/api_client/result.rb +0 -255
  482. data/lib/google/api_client/service.rb +0 -233
  483. data/lib/google/api_client/service/batch.rb +0 -110
  484. data/lib/google/api_client/service/request.rb +0 -144
  485. data/lib/google/api_client/service/resource.rb +0 -40
  486. data/lib/google/api_client/service/result.rb +0 -162
  487. data/lib/google/api_client/service/simple_file_store.rb +0 -151
  488. data/lib/google/api_client/service/stub_generator.rb +0 -61
  489. data/spec/google/api_client/batch_spec.rb +0 -248
  490. data/spec/google/api_client/discovery_spec.rb +0 -708
  491. data/spec/google/api_client/gzip_spec.rb +0 -98
  492. data/spec/google/api_client/media_spec.rb +0 -178
  493. data/spec/google/api_client/result_spec.rb +0 -207
  494. data/spec/google/api_client/service_account_spec.rb +0 -169
  495. data/spec/google/api_client/service_spec.rb +0 -618
  496. data/spec/google/api_client/simple_file_store_spec.rb +0 -133
  497. data/spec/google/api_client_spec.rb +0 -352
@@ -0,0 +1,1584 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module GamesV1
24
+
25
+ class AchievementDefinition
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+ end
28
+
29
+ class ListAchievementDefinitionsResponse
30
+ class Representation < Google::Apis::Core::JsonRepresentation; end
31
+ end
32
+
33
+ class AchievementIncrementResponse
34
+ class Representation < Google::Apis::Core::JsonRepresentation; end
35
+ end
36
+
37
+ class AchievementRevealResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+ end
40
+
41
+ class AchievementSetStepsAtLeastResponse
42
+ class Representation < Google::Apis::Core::JsonRepresentation; end
43
+ end
44
+
45
+ class AchievementUnlockResponse
46
+ class Representation < Google::Apis::Core::JsonRepresentation; end
47
+ end
48
+
49
+ class AchievementUpdateMultipleRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+ end
52
+
53
+ class AchievementUpdateMultipleResponse
54
+ class Representation < Google::Apis::Core::JsonRepresentation; end
55
+ end
56
+
57
+ class UpdateAchievementRequest
58
+ class Representation < Google::Apis::Core::JsonRepresentation; end
59
+ end
60
+
61
+ class UpdateAchievementResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+ end
64
+
65
+ class AggregateStats
66
+ class Representation < Google::Apis::Core::JsonRepresentation; end
67
+ end
68
+
69
+ class AnonymousPlayer
70
+ class Representation < Google::Apis::Core::JsonRepresentation; end
71
+ end
72
+
73
+ class Application
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+ end
76
+
77
+ class ApplicationCategory
78
+ class Representation < Google::Apis::Core::JsonRepresentation; end
79
+ end
80
+
81
+ class ApplicationVerifyResponse
82
+ class Representation < Google::Apis::Core::JsonRepresentation; end
83
+ end
84
+
85
+ class Category
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+ end
88
+
89
+ class ListCategoryResponse
90
+ class Representation < Google::Apis::Core::JsonRepresentation; end
91
+ end
92
+
93
+ class EventBatchRecordFailure
94
+ class Representation < Google::Apis::Core::JsonRepresentation; end
95
+ end
96
+
97
+ class EventChild
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+ end
100
+
101
+ class EventDefinition
102
+ class Representation < Google::Apis::Core::JsonRepresentation; end
103
+ end
104
+
105
+ class ListEventDefinitionResponse
106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
107
+ end
108
+
109
+ class EventPeriodRange
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+ end
112
+
113
+ class EventPeriodUpdate
114
+ class Representation < Google::Apis::Core::JsonRepresentation; end
115
+ end
116
+
117
+ class EventRecordFailure
118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
119
+ end
120
+
121
+ class EventRecordRequest
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+ end
124
+
125
+ class UpdateEventRequest
126
+ class Representation < Google::Apis::Core::JsonRepresentation; end
127
+ end
128
+
129
+ class UpdateEventResponse
130
+ class Representation < Google::Apis::Core::JsonRepresentation; end
131
+ end
132
+
133
+ class GamesAchievementIncrement
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+ end
136
+
137
+ class GamesAchievementSetStepsAtLeast
138
+ class Representation < Google::Apis::Core::JsonRepresentation; end
139
+ end
140
+
141
+ class ImageAsset
142
+ class Representation < Google::Apis::Core::JsonRepresentation; end
143
+ end
144
+
145
+ class Instance
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+ end
148
+
149
+ class InstanceAndroidDetails
150
+ class Representation < Google::Apis::Core::JsonRepresentation; end
151
+ end
152
+
153
+ class InstanceIosDetails
154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
155
+ end
156
+
157
+ class InstanceWebDetails
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+ end
160
+
161
+ class Leaderboard
162
+ class Representation < Google::Apis::Core::JsonRepresentation; end
163
+ end
164
+
165
+ class LeaderboardEntry
166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
167
+ end
168
+
169
+ class ListLeaderboardResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+ end
172
+
173
+ class LeaderboardScoreRank
174
+ class Representation < Google::Apis::Core::JsonRepresentation; end
175
+ end
176
+
177
+ class LeaderboardScores
178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
179
+ end
180
+
181
+ class MetagameConfig
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+ end
184
+
185
+ class NetworkDiagnostics
186
+ class Representation < Google::Apis::Core::JsonRepresentation; end
187
+ end
188
+
189
+ class ParticipantResult
190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
191
+ end
192
+
193
+ class PeerChannelDiagnostics
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+ end
196
+
197
+ class PeerSessionDiagnostics
198
+ class Representation < Google::Apis::Core::JsonRepresentation; end
199
+ end
200
+
201
+ class Played
202
+ class Representation < Google::Apis::Core::JsonRepresentation; end
203
+ end
204
+
205
+ class Player
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ class Name
209
+ class Representation < Google::Apis::Core::JsonRepresentation; end
210
+ end
211
+ end
212
+
213
+ class PlayerAchievement
214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
215
+ end
216
+
217
+ class ListPlayerAchievementResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+ end
220
+
221
+ class PlayerEvent
222
+ class Representation < Google::Apis::Core::JsonRepresentation; end
223
+ end
224
+
225
+ class ListPlayerEventResponse
226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
227
+ end
228
+
229
+ class PlayerExperienceInfo
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+ end
232
+
233
+ class PlayerLeaderboardScore
234
+ class Representation < Google::Apis::Core::JsonRepresentation; end
235
+ end
236
+
237
+ class ListPlayerLeaderboardScoreResponse
238
+ class Representation < Google::Apis::Core::JsonRepresentation; end
239
+ end
240
+
241
+ class PlayerLevel
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+ end
244
+
245
+ class ListPlayerResponse
246
+ class Representation < Google::Apis::Core::JsonRepresentation; end
247
+ end
248
+
249
+ class PlayerScore
250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
251
+ end
252
+
253
+ class ListPlayerScoreResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+ end
256
+
257
+ class PlayerScoreResponse
258
+ class Representation < Google::Apis::Core::JsonRepresentation; end
259
+ end
260
+
261
+ class PlayerScoreSubmissionList
262
+ class Representation < Google::Apis::Core::JsonRepresentation; end
263
+ end
264
+
265
+ class PushToken
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+ end
268
+
269
+ class PushTokenId
270
+ class Representation < Google::Apis::Core::JsonRepresentation; end
271
+
272
+ class Ios
273
+ class Representation < Google::Apis::Core::JsonRepresentation; end
274
+ end
275
+ end
276
+
277
+ class Quest
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+ end
280
+
281
+ class QuestContribution
282
+ class Representation < Google::Apis::Core::JsonRepresentation; end
283
+ end
284
+
285
+ class QuestCriterion
286
+ class Representation < Google::Apis::Core::JsonRepresentation; end
287
+ end
288
+
289
+ class ListQuestResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+ end
292
+
293
+ class QuestMilestone
294
+ class Representation < Google::Apis::Core::JsonRepresentation; end
295
+ end
296
+
297
+ class CheckRevisionResponse
298
+ class Representation < Google::Apis::Core::JsonRepresentation; end
299
+ end
300
+
301
+ class Room
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+ end
304
+
305
+ class RoomAutoMatchStatus
306
+ class Representation < Google::Apis::Core::JsonRepresentation; end
307
+ end
308
+
309
+ class RoomAutoMatchingCriteria
310
+ class Representation < Google::Apis::Core::JsonRepresentation; end
311
+ end
312
+
313
+ class RoomClientAddress
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+ end
316
+
317
+ class CreateRoomRequest
318
+ class Representation < Google::Apis::Core::JsonRepresentation; end
319
+ end
320
+
321
+ class JoinRoomRequest
322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
323
+ end
324
+
325
+ class RoomLeaveDiagnostics
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+ end
328
+
329
+ class LeaveRoomRequest
330
+ class Representation < Google::Apis::Core::JsonRepresentation; end
331
+ end
332
+
333
+ class RoomList
334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
335
+ end
336
+
337
+ class RoomModification
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+ end
340
+
341
+ class RoomP2PStatus
342
+ class Representation < Google::Apis::Core::JsonRepresentation; end
343
+ end
344
+
345
+ class RoomP2PStatuses
346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
347
+ end
348
+
349
+ class RoomParticipant
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+ end
352
+
353
+ class RoomStatus
354
+ class Representation < Google::Apis::Core::JsonRepresentation; end
355
+ end
356
+
357
+ class ScoreSubmission
358
+ class Representation < Google::Apis::Core::JsonRepresentation; end
359
+ end
360
+
361
+ class Snapshot
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+ end
364
+
365
+ class SnapshotImage
366
+ class Representation < Google::Apis::Core::JsonRepresentation; end
367
+ end
368
+
369
+ class ListSnapshotResponse
370
+ class Representation < Google::Apis::Core::JsonRepresentation; end
371
+ end
372
+
373
+ class TurnBasedAutoMatchingCriteria
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+ end
376
+
377
+ class TurnBasedMatch
378
+ class Representation < Google::Apis::Core::JsonRepresentation; end
379
+ end
380
+
381
+ class CreateTurnBasedMatchRequest
382
+ class Representation < Google::Apis::Core::JsonRepresentation; end
383
+ end
384
+
385
+ class TurnBasedMatchData
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+ end
388
+
389
+ class TurnBasedMatchDataRequest
390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
391
+ end
392
+
393
+ class TurnBasedMatchList
394
+ class Representation < Google::Apis::Core::JsonRepresentation; end
395
+ end
396
+
397
+ class TurnBasedMatchModification
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+ end
400
+
401
+ class TurnBasedMatchParticipant
402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
403
+ end
404
+
405
+ class TurnBasedMatchRematch
406
+ class Representation < Google::Apis::Core::JsonRepresentation; end
407
+ end
408
+
409
+ class TurnBasedMatchResults
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+ end
412
+
413
+ class TurnBasedMatchSync
414
+ class Representation < Google::Apis::Core::JsonRepresentation; end
415
+ end
416
+
417
+ class TurnBasedMatchTurn
418
+ class Representation < Google::Apis::Core::JsonRepresentation; end
419
+ end
420
+
421
+ class AchievementDefinition
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :achievement_type, as: 'achievementType'
425
+ property :description, as: 'description'
426
+ property :experience_points, as: 'experiencePoints'
427
+ property :formatted_total_steps, as: 'formattedTotalSteps'
428
+ property :id, as: 'id'
429
+ property :initial_state, as: 'initialState'
430
+ property :is_revealed_icon_url_default, as: 'isRevealedIconUrlDefault'
431
+ property :is_unlocked_icon_url_default, as: 'isUnlockedIconUrlDefault'
432
+ property :kind, as: 'kind'
433
+ property :name, as: 'name'
434
+ property :revealed_icon_url, as: 'revealedIconUrl'
435
+ property :total_steps, as: 'totalSteps'
436
+ property :unlocked_icon_url, as: 'unlockedIconUrl'
437
+ end
438
+ end
439
+
440
+ class ListAchievementDefinitionsResponse
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ collection :items, as: 'items', class: Google::Apis::GamesV1::AchievementDefinition, decorator: Google::Apis::GamesV1::AchievementDefinition::Representation
444
+
445
+ property :kind, as: 'kind'
446
+ property :next_page_token, as: 'nextPageToken'
447
+ end
448
+ end
449
+
450
+ class AchievementIncrementResponse
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ property :current_steps, as: 'currentSteps'
454
+ property :kind, as: 'kind'
455
+ property :newly_unlocked, as: 'newlyUnlocked'
456
+ end
457
+ end
458
+
459
+ class AchievementRevealResponse
460
+ # @private
461
+ class Representation < Google::Apis::Core::JsonRepresentation
462
+ property :current_state, as: 'currentState'
463
+ property :kind, as: 'kind'
464
+ end
465
+ end
466
+
467
+ class AchievementSetStepsAtLeastResponse
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :current_steps, as: 'currentSteps'
471
+ property :kind, as: 'kind'
472
+ property :newly_unlocked, as: 'newlyUnlocked'
473
+ end
474
+ end
475
+
476
+ class AchievementUnlockResponse
477
+ # @private
478
+ class Representation < Google::Apis::Core::JsonRepresentation
479
+ property :kind, as: 'kind'
480
+ property :newly_unlocked, as: 'newlyUnlocked'
481
+ end
482
+ end
483
+
484
+ class AchievementUpdateMultipleRequest
485
+ # @private
486
+ class Representation < Google::Apis::Core::JsonRepresentation
487
+ property :kind, as: 'kind'
488
+ collection :updates, as: 'updates', class: Google::Apis::GamesV1::UpdateAchievementRequest, decorator: Google::Apis::GamesV1::UpdateAchievementRequest::Representation
489
+
490
+ end
491
+ end
492
+
493
+ class AchievementUpdateMultipleResponse
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :kind, as: 'kind'
497
+ collection :updated_achievements, as: 'updatedAchievements', class: Google::Apis::GamesV1::UpdateAchievementResponse, decorator: Google::Apis::GamesV1::UpdateAchievementResponse::Representation
498
+
499
+ end
500
+ end
501
+
502
+ class UpdateAchievementRequest
503
+ # @private
504
+ class Representation < Google::Apis::Core::JsonRepresentation
505
+ property :achievement_id, as: 'achievementId'
506
+ property :increment_payload, as: 'incrementPayload', class: Google::Apis::GamesV1::GamesAchievementIncrement, decorator: Google::Apis::GamesV1::GamesAchievementIncrement::Representation
507
+
508
+ property :kind, as: 'kind'
509
+ property :set_steps_at_least_payload, as: 'setStepsAtLeastPayload', class: Google::Apis::GamesV1::GamesAchievementSetStepsAtLeast, decorator: Google::Apis::GamesV1::GamesAchievementSetStepsAtLeast::Representation
510
+
511
+ property :update_type, as: 'updateType'
512
+ end
513
+ end
514
+
515
+ class UpdateAchievementResponse
516
+ # @private
517
+ class Representation < Google::Apis::Core::JsonRepresentation
518
+ property :achievement_id, as: 'achievementId'
519
+ property :current_state, as: 'currentState'
520
+ property :current_steps, as: 'currentSteps'
521
+ property :kind, as: 'kind'
522
+ property :newly_unlocked, as: 'newlyUnlocked'
523
+ property :update_occurred, as: 'updateOccurred'
524
+ end
525
+ end
526
+
527
+ class AggregateStats
528
+ # @private
529
+ class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :count, as: 'count'
531
+ property :kind, as: 'kind'
532
+ property :max, as: 'max'
533
+ property :min, as: 'min'
534
+ property :sum, as: 'sum'
535
+ end
536
+ end
537
+
538
+ class AnonymousPlayer
539
+ # @private
540
+ class Representation < Google::Apis::Core::JsonRepresentation
541
+ property :avatar_image_url, as: 'avatarImageUrl'
542
+ property :display_name, as: 'displayName'
543
+ property :kind, as: 'kind'
544
+ end
545
+ end
546
+
547
+ class Application
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ property :achievement_count, as: 'achievement_count'
551
+ collection :assets, as: 'assets', class: Google::Apis::GamesV1::ImageAsset, decorator: Google::Apis::GamesV1::ImageAsset::Representation
552
+
553
+ property :author, as: 'author'
554
+ property :category, as: 'category', class: Google::Apis::GamesV1::ApplicationCategory, decorator: Google::Apis::GamesV1::ApplicationCategory::Representation
555
+
556
+ property :description, as: 'description'
557
+ collection :enabled_features, as: 'enabledFeatures'
558
+ property :id, as: 'id'
559
+ collection :instances, as: 'instances', class: Google::Apis::GamesV1::Instance, decorator: Google::Apis::GamesV1::Instance::Representation
560
+
561
+ property :kind, as: 'kind'
562
+ property :last_updated_timestamp, as: 'lastUpdatedTimestamp'
563
+ property :leaderboard_count, as: 'leaderboard_count'
564
+ property :name, as: 'name'
565
+ property :theme_color, as: 'themeColor'
566
+ end
567
+ end
568
+
569
+ class ApplicationCategory
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ property :kind, as: 'kind'
573
+ property :primary, as: 'primary'
574
+ property :secondary, as: 'secondary'
575
+ end
576
+ end
577
+
578
+ class ApplicationVerifyResponse
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ property :kind, as: 'kind'
582
+ property :player_id, as: 'player_id'
583
+ end
584
+ end
585
+
586
+ class Category
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :category, as: 'category'
590
+ property :experience_points, as: 'experiencePoints'
591
+ property :kind, as: 'kind'
592
+ end
593
+ end
594
+
595
+ class ListCategoryResponse
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ collection :items, as: 'items', class: Google::Apis::GamesV1::Category, decorator: Google::Apis::GamesV1::Category::Representation
599
+
600
+ property :kind, as: 'kind'
601
+ property :next_page_token, as: 'nextPageToken'
602
+ end
603
+ end
604
+
605
+ class EventBatchRecordFailure
606
+ # @private
607
+ class Representation < Google::Apis::Core::JsonRepresentation
608
+ property :failure_cause, as: 'failureCause'
609
+ property :kind, as: 'kind'
610
+ property :range, as: 'range', class: Google::Apis::GamesV1::EventPeriodRange, decorator: Google::Apis::GamesV1::EventPeriodRange::Representation
611
+
612
+ end
613
+ end
614
+
615
+ class EventChild
616
+ # @private
617
+ class Representation < Google::Apis::Core::JsonRepresentation
618
+ property :child_id, as: 'childId'
619
+ property :kind, as: 'kind'
620
+ end
621
+ end
622
+
623
+ class EventDefinition
624
+ # @private
625
+ class Representation < Google::Apis::Core::JsonRepresentation
626
+ collection :child_events, as: 'childEvents', class: Google::Apis::GamesV1::EventChild, decorator: Google::Apis::GamesV1::EventChild::Representation
627
+
628
+ property :description, as: 'description'
629
+ property :display_name, as: 'displayName'
630
+ property :id, as: 'id'
631
+ property :image_url, as: 'imageUrl'
632
+ property :is_default_image_url, as: 'isDefaultImageUrl'
633
+ property :kind, as: 'kind'
634
+ property :visibility, as: 'visibility'
635
+ end
636
+ end
637
+
638
+ class ListEventDefinitionResponse
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ collection :items, as: 'items', class: Google::Apis::GamesV1::EventDefinition, decorator: Google::Apis::GamesV1::EventDefinition::Representation
642
+
643
+ property :kind, as: 'kind'
644
+ property :next_page_token, as: 'nextPageToken'
645
+ end
646
+ end
647
+
648
+ class EventPeriodRange
649
+ # @private
650
+ class Representation < Google::Apis::Core::JsonRepresentation
651
+ property :kind, as: 'kind'
652
+ property :period_end_millis, as: 'periodEndMillis'
653
+ property :period_start_millis, as: 'periodStartMillis'
654
+ end
655
+ end
656
+
657
+ class EventPeriodUpdate
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :kind, as: 'kind'
661
+ property :time_period, as: 'timePeriod', class: Google::Apis::GamesV1::EventPeriodRange, decorator: Google::Apis::GamesV1::EventPeriodRange::Representation
662
+
663
+ collection :updates, as: 'updates', class: Google::Apis::GamesV1::UpdateEventRequest, decorator: Google::Apis::GamesV1::UpdateEventRequest::Representation
664
+
665
+ end
666
+ end
667
+
668
+ class EventRecordFailure
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :event_id, as: 'eventId'
672
+ property :failure_cause, as: 'failureCause'
673
+ property :kind, as: 'kind'
674
+ end
675
+ end
676
+
677
+ class EventRecordRequest
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :current_time_millis, as: 'currentTimeMillis'
681
+ property :kind, as: 'kind'
682
+ property :request_id, as: 'requestId'
683
+ collection :time_periods, as: 'timePeriods', class: Google::Apis::GamesV1::EventPeriodUpdate, decorator: Google::Apis::GamesV1::EventPeriodUpdate::Representation
684
+
685
+ end
686
+ end
687
+
688
+ class UpdateEventRequest
689
+ # @private
690
+ class Representation < Google::Apis::Core::JsonRepresentation
691
+ property :definition_id, as: 'definitionId'
692
+ property :kind, as: 'kind'
693
+ property :update_count, as: 'updateCount'
694
+ end
695
+ end
696
+
697
+ class UpdateEventResponse
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ collection :batch_failures, as: 'batchFailures', class: Google::Apis::GamesV1::EventBatchRecordFailure, decorator: Google::Apis::GamesV1::EventBatchRecordFailure::Representation
701
+
702
+ collection :event_failures, as: 'eventFailures', class: Google::Apis::GamesV1::EventRecordFailure, decorator: Google::Apis::GamesV1::EventRecordFailure::Representation
703
+
704
+ property :kind, as: 'kind'
705
+ collection :player_events, as: 'playerEvents', class: Google::Apis::GamesV1::PlayerEvent, decorator: Google::Apis::GamesV1::PlayerEvent::Representation
706
+
707
+ end
708
+ end
709
+
710
+ class GamesAchievementIncrement
711
+ # @private
712
+ class Representation < Google::Apis::Core::JsonRepresentation
713
+ property :kind, as: 'kind'
714
+ property :request_id, as: 'requestId'
715
+ property :steps, as: 'steps'
716
+ end
717
+ end
718
+
719
+ class GamesAchievementSetStepsAtLeast
720
+ # @private
721
+ class Representation < Google::Apis::Core::JsonRepresentation
722
+ property :kind, as: 'kind'
723
+ property :steps, as: 'steps'
724
+ end
725
+ end
726
+
727
+ class ImageAsset
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ property :height, as: 'height'
731
+ property :kind, as: 'kind'
732
+ property :name, as: 'name'
733
+ property :url, as: 'url'
734
+ property :width, as: 'width'
735
+ end
736
+ end
737
+
738
+ class Instance
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :acquisition_uri, as: 'acquisitionUri'
742
+ property :android_instance, as: 'androidInstance', class: Google::Apis::GamesV1::InstanceAndroidDetails, decorator: Google::Apis::GamesV1::InstanceAndroidDetails::Representation
743
+
744
+ property :ios_instance, as: 'iosInstance', class: Google::Apis::GamesV1::InstanceIosDetails, decorator: Google::Apis::GamesV1::InstanceIosDetails::Representation
745
+
746
+ property :kind, as: 'kind'
747
+ property :name, as: 'name'
748
+ property :platform_type, as: 'platformType'
749
+ property :realtime_play, as: 'realtimePlay'
750
+ property :turn_based_play, as: 'turnBasedPlay'
751
+ property :web_instance, as: 'webInstance', class: Google::Apis::GamesV1::InstanceWebDetails, decorator: Google::Apis::GamesV1::InstanceWebDetails::Representation
752
+
753
+ end
754
+ end
755
+
756
+ class InstanceAndroidDetails
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :enable_piracy_check, as: 'enablePiracyCheck'
760
+ property :kind, as: 'kind'
761
+ property :package_name, as: 'packageName'
762
+ property :preferred, as: 'preferred'
763
+ end
764
+ end
765
+
766
+ class InstanceIosDetails
767
+ # @private
768
+ class Representation < Google::Apis::Core::JsonRepresentation
769
+ property :bundle_identifier, as: 'bundleIdentifier'
770
+ property :itunes_app_id, as: 'itunesAppId'
771
+ property :kind, as: 'kind'
772
+ property :preferred_for_ipad, as: 'preferredForIpad'
773
+ property :preferred_for_iphone, as: 'preferredForIphone'
774
+ property :support_ipad, as: 'supportIpad'
775
+ property :support_iphone, as: 'supportIphone'
776
+ end
777
+ end
778
+
779
+ class InstanceWebDetails
780
+ # @private
781
+ class Representation < Google::Apis::Core::JsonRepresentation
782
+ property :kind, as: 'kind'
783
+ property :launch_url, as: 'launchUrl'
784
+ property :preferred, as: 'preferred'
785
+ end
786
+ end
787
+
788
+ class Leaderboard
789
+ # @private
790
+ class Representation < Google::Apis::Core::JsonRepresentation
791
+ property :icon_url, as: 'iconUrl'
792
+ property :id, as: 'id'
793
+ property :is_icon_url_default, as: 'isIconUrlDefault'
794
+ property :kind, as: 'kind'
795
+ property :name, as: 'name'
796
+ property :order, as: 'order'
797
+ end
798
+ end
799
+
800
+ class LeaderboardEntry
801
+ # @private
802
+ class Representation < Google::Apis::Core::JsonRepresentation
803
+ property :formatted_score, as: 'formattedScore'
804
+ property :formatted_score_rank, as: 'formattedScoreRank'
805
+ property :kind, as: 'kind'
806
+ property :player, as: 'player', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
807
+
808
+ property :score_rank, as: 'scoreRank'
809
+ property :score_tag, as: 'scoreTag'
810
+ property :score_value, as: 'scoreValue'
811
+ property :time_span, as: 'timeSpan'
812
+ property :write_timestamp_millis, as: 'writeTimestampMillis'
813
+ end
814
+ end
815
+
816
+ class ListLeaderboardResponse
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ collection :items, as: 'items', class: Google::Apis::GamesV1::Leaderboard, decorator: Google::Apis::GamesV1::Leaderboard::Representation
820
+
821
+ property :kind, as: 'kind'
822
+ property :next_page_token, as: 'nextPageToken'
823
+ end
824
+ end
825
+
826
+ class LeaderboardScoreRank
827
+ # @private
828
+ class Representation < Google::Apis::Core::JsonRepresentation
829
+ property :formatted_num_scores, as: 'formattedNumScores'
830
+ property :formatted_rank, as: 'formattedRank'
831
+ property :kind, as: 'kind'
832
+ property :num_scores, as: 'numScores'
833
+ property :rank, as: 'rank'
834
+ end
835
+ end
836
+
837
+ class LeaderboardScores
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ collection :items, as: 'items', class: Google::Apis::GamesV1::LeaderboardEntry, decorator: Google::Apis::GamesV1::LeaderboardEntry::Representation
841
+
842
+ property :kind, as: 'kind'
843
+ property :next_page_token, as: 'nextPageToken'
844
+ property :num_scores, as: 'numScores'
845
+ property :player_score, as: 'playerScore', class: Google::Apis::GamesV1::LeaderboardEntry, decorator: Google::Apis::GamesV1::LeaderboardEntry::Representation
846
+
847
+ property :prev_page_token, as: 'prevPageToken'
848
+ end
849
+ end
850
+
851
+ class MetagameConfig
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :current_version, as: 'currentVersion'
855
+ property :kind, as: 'kind'
856
+ collection :player_levels, as: 'playerLevels', class: Google::Apis::GamesV1::PlayerLevel, decorator: Google::Apis::GamesV1::PlayerLevel::Representation
857
+
858
+ end
859
+ end
860
+
861
+ class NetworkDiagnostics
862
+ # @private
863
+ class Representation < Google::Apis::Core::JsonRepresentation
864
+ property :android_network_subtype, as: 'androidNetworkSubtype'
865
+ property :android_network_type, as: 'androidNetworkType'
866
+ property :ios_network_type, as: 'iosNetworkType'
867
+ property :kind, as: 'kind'
868
+ property :network_operator_code, as: 'networkOperatorCode'
869
+ property :network_operator_name, as: 'networkOperatorName'
870
+ property :registration_latency_millis, as: 'registrationLatencyMillis'
871
+ end
872
+ end
873
+
874
+ class ParticipantResult
875
+ # @private
876
+ class Representation < Google::Apis::Core::JsonRepresentation
877
+ property :kind, as: 'kind'
878
+ property :participant_id, as: 'participantId'
879
+ property :placing, as: 'placing'
880
+ property :result, as: 'result'
881
+ end
882
+ end
883
+
884
+ class PeerChannelDiagnostics
885
+ # @private
886
+ class Representation < Google::Apis::Core::JsonRepresentation
887
+ property :bytes_received, as: 'bytesReceived', class: Google::Apis::GamesV1::AggregateStats, decorator: Google::Apis::GamesV1::AggregateStats::Representation
888
+
889
+ property :bytes_sent, as: 'bytesSent', class: Google::Apis::GamesV1::AggregateStats, decorator: Google::Apis::GamesV1::AggregateStats::Representation
890
+
891
+ property :kind, as: 'kind'
892
+ property :num_messages_lost, as: 'numMessagesLost'
893
+ property :num_messages_received, as: 'numMessagesReceived'
894
+ property :num_messages_sent, as: 'numMessagesSent'
895
+ property :num_send_failures, as: 'numSendFailures'
896
+ property :roundtrip_latency_millis, as: 'roundtripLatencyMillis', class: Google::Apis::GamesV1::AggregateStats, decorator: Google::Apis::GamesV1::AggregateStats::Representation
897
+
898
+ end
899
+ end
900
+
901
+ class PeerSessionDiagnostics
902
+ # @private
903
+ class Representation < Google::Apis::Core::JsonRepresentation
904
+ property :connected_timestamp_millis, as: 'connectedTimestampMillis'
905
+ property :kind, as: 'kind'
906
+ property :participant_id, as: 'participantId'
907
+ property :reliable_channel, as: 'reliableChannel', class: Google::Apis::GamesV1::PeerChannelDiagnostics, decorator: Google::Apis::GamesV1::PeerChannelDiagnostics::Representation
908
+
909
+ property :unreliable_channel, as: 'unreliableChannel', class: Google::Apis::GamesV1::PeerChannelDiagnostics, decorator: Google::Apis::GamesV1::PeerChannelDiagnostics::Representation
910
+
911
+ end
912
+ end
913
+
914
+ class Played
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ property :auto_matched, as: 'autoMatched'
918
+ property :kind, as: 'kind'
919
+ property :time_millis, as: 'timeMillis'
920
+ end
921
+ end
922
+
923
+ class Player
924
+ # @private
925
+ class Representation < Google::Apis::Core::JsonRepresentation
926
+ property :avatar_image_url, as: 'avatarImageUrl'
927
+ property :banner_url_landscape, as: 'bannerUrlLandscape'
928
+ property :banner_url_portrait, as: 'bannerUrlPortrait'
929
+ property :display_name, as: 'displayName'
930
+ property :experience_info, as: 'experienceInfo', class: Google::Apis::GamesV1::PlayerExperienceInfo, decorator: Google::Apis::GamesV1::PlayerExperienceInfo::Representation
931
+
932
+ property :kind, as: 'kind'
933
+ property :last_played_with, as: 'lastPlayedWith', class: Google::Apis::GamesV1::Played, decorator: Google::Apis::GamesV1::Played::Representation
934
+
935
+ property :name, as: 'name', class: Google::Apis::GamesV1::Player::Name, decorator: Google::Apis::GamesV1::Player::Name::Representation
936
+
937
+ property :player_id, as: 'playerId'
938
+ property :title, as: 'title'
939
+ end
940
+
941
+ class Name
942
+ # @private
943
+ class Representation < Google::Apis::Core::JsonRepresentation
944
+ property :family_name, as: 'familyName'
945
+ property :given_name, as: 'givenName'
946
+ end
947
+ end
948
+ end
949
+
950
+ class PlayerAchievement
951
+ # @private
952
+ class Representation < Google::Apis::Core::JsonRepresentation
953
+ property :achievement_state, as: 'achievementState'
954
+ property :current_steps, as: 'currentSteps'
955
+ property :experience_points, as: 'experiencePoints'
956
+ property :formatted_current_steps_string, as: 'formattedCurrentStepsString'
957
+ property :id, as: 'id'
958
+ property :kind, as: 'kind'
959
+ property :last_updated_timestamp, as: 'lastUpdatedTimestamp'
960
+ end
961
+ end
962
+
963
+ class ListPlayerAchievementResponse
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ collection :items, as: 'items', class: Google::Apis::GamesV1::PlayerAchievement, decorator: Google::Apis::GamesV1::PlayerAchievement::Representation
967
+
968
+ property :kind, as: 'kind'
969
+ property :next_page_token, as: 'nextPageToken'
970
+ end
971
+ end
972
+
973
+ class PlayerEvent
974
+ # @private
975
+ class Representation < Google::Apis::Core::JsonRepresentation
976
+ property :definition_id, as: 'definitionId'
977
+ property :formatted_num_events, as: 'formattedNumEvents'
978
+ property :kind, as: 'kind'
979
+ property :num_events, as: 'numEvents'
980
+ property :player_id, as: 'playerId'
981
+ end
982
+ end
983
+
984
+ class ListPlayerEventResponse
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ collection :items, as: 'items', class: Google::Apis::GamesV1::PlayerEvent, decorator: Google::Apis::GamesV1::PlayerEvent::Representation
988
+
989
+ property :kind, as: 'kind'
990
+ property :next_page_token, as: 'nextPageToken'
991
+ end
992
+ end
993
+
994
+ class PlayerExperienceInfo
995
+ # @private
996
+ class Representation < Google::Apis::Core::JsonRepresentation
997
+ property :current_experience_points, as: 'currentExperiencePoints'
998
+ property :current_level, as: 'currentLevel', class: Google::Apis::GamesV1::PlayerLevel, decorator: Google::Apis::GamesV1::PlayerLevel::Representation
999
+
1000
+ property :kind, as: 'kind'
1001
+ property :last_level_up_timestamp_millis, as: 'lastLevelUpTimestampMillis'
1002
+ property :next_level, as: 'nextLevel', class: Google::Apis::GamesV1::PlayerLevel, decorator: Google::Apis::GamesV1::PlayerLevel::Representation
1003
+
1004
+ end
1005
+ end
1006
+
1007
+ class PlayerLeaderboardScore
1008
+ # @private
1009
+ class Representation < Google::Apis::Core::JsonRepresentation
1010
+ property :kind, as: 'kind'
1011
+ property :leaderboard_id, as: 'leaderboard_id'
1012
+ property :public_rank, as: 'publicRank', class: Google::Apis::GamesV1::LeaderboardScoreRank, decorator: Google::Apis::GamesV1::LeaderboardScoreRank::Representation
1013
+
1014
+ property :score_string, as: 'scoreString'
1015
+ property :score_tag, as: 'scoreTag'
1016
+ property :score_value, as: 'scoreValue'
1017
+ property :social_rank, as: 'socialRank', class: Google::Apis::GamesV1::LeaderboardScoreRank, decorator: Google::Apis::GamesV1::LeaderboardScoreRank::Representation
1018
+
1019
+ property :time_span, as: 'timeSpan'
1020
+ property :write_timestamp, as: 'writeTimestamp'
1021
+ end
1022
+ end
1023
+
1024
+ class ListPlayerLeaderboardScoreResponse
1025
+ # @private
1026
+ class Representation < Google::Apis::Core::JsonRepresentation
1027
+ collection :items, as: 'items', class: Google::Apis::GamesV1::PlayerLeaderboardScore, decorator: Google::Apis::GamesV1::PlayerLeaderboardScore::Representation
1028
+
1029
+ property :kind, as: 'kind'
1030
+ property :next_page_token, as: 'nextPageToken'
1031
+ property :player, as: 'player', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
1032
+
1033
+ end
1034
+ end
1035
+
1036
+ class PlayerLevel
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ property :kind, as: 'kind'
1040
+ property :level, as: 'level'
1041
+ property :max_experience_points, as: 'maxExperiencePoints'
1042
+ property :min_experience_points, as: 'minExperiencePoints'
1043
+ end
1044
+ end
1045
+
1046
+ class ListPlayerResponse
1047
+ # @private
1048
+ class Representation < Google::Apis::Core::JsonRepresentation
1049
+ collection :items, as: 'items', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
1050
+
1051
+ property :kind, as: 'kind'
1052
+ property :next_page_token, as: 'nextPageToken'
1053
+ end
1054
+ end
1055
+
1056
+ class PlayerScore
1057
+ # @private
1058
+ class Representation < Google::Apis::Core::JsonRepresentation
1059
+ property :formatted_score, as: 'formattedScore'
1060
+ property :kind, as: 'kind'
1061
+ property :score, as: 'score'
1062
+ property :score_tag, as: 'scoreTag'
1063
+ property :time_span, as: 'timeSpan'
1064
+ end
1065
+ end
1066
+
1067
+ class ListPlayerScoreResponse
1068
+ # @private
1069
+ class Representation < Google::Apis::Core::JsonRepresentation
1070
+ property :kind, as: 'kind'
1071
+ collection :submitted_scores, as: 'submittedScores', class: Google::Apis::GamesV1::PlayerScoreResponse, decorator: Google::Apis::GamesV1::PlayerScoreResponse::Representation
1072
+
1073
+ end
1074
+ end
1075
+
1076
+ class PlayerScoreResponse
1077
+ # @private
1078
+ class Representation < Google::Apis::Core::JsonRepresentation
1079
+ collection :beaten_score_time_spans, as: 'beatenScoreTimeSpans'
1080
+ property :formatted_score, as: 'formattedScore'
1081
+ property :kind, as: 'kind'
1082
+ property :leaderboard_id, as: 'leaderboardId'
1083
+ property :score_tag, as: 'scoreTag'
1084
+ collection :unbeaten_scores, as: 'unbeatenScores', class: Google::Apis::GamesV1::PlayerScore, decorator: Google::Apis::GamesV1::PlayerScore::Representation
1085
+
1086
+ end
1087
+ end
1088
+
1089
+ class PlayerScoreSubmissionList
1090
+ # @private
1091
+ class Representation < Google::Apis::Core::JsonRepresentation
1092
+ property :kind, as: 'kind'
1093
+ collection :scores, as: 'scores', class: Google::Apis::GamesV1::ScoreSubmission, decorator: Google::Apis::GamesV1::ScoreSubmission::Representation
1094
+
1095
+ end
1096
+ end
1097
+
1098
+ class PushToken
1099
+ # @private
1100
+ class Representation < Google::Apis::Core::JsonRepresentation
1101
+ property :client_revision, as: 'clientRevision'
1102
+ property :id, as: 'id', class: Google::Apis::GamesV1::PushTokenId, decorator: Google::Apis::GamesV1::PushTokenId::Representation
1103
+
1104
+ property :kind, as: 'kind'
1105
+ property :language, as: 'language'
1106
+ end
1107
+ end
1108
+
1109
+ class PushTokenId
1110
+ # @private
1111
+ class Representation < Google::Apis::Core::JsonRepresentation
1112
+ property :ios, as: 'ios', class: Google::Apis::GamesV1::PushTokenId::Ios, decorator: Google::Apis::GamesV1::PushTokenId::Ios::Representation
1113
+
1114
+ property :kind, as: 'kind'
1115
+ end
1116
+
1117
+ class Ios
1118
+ # @private
1119
+ class Representation < Google::Apis::Core::JsonRepresentation
1120
+ property :apns_device_token, :base64 => true, as: 'apns_device_token'
1121
+ property :apns_environment, as: 'apns_environment'
1122
+ end
1123
+ end
1124
+ end
1125
+
1126
+ class Quest
1127
+ # @private
1128
+ class Representation < Google::Apis::Core::JsonRepresentation
1129
+ property :accepted_timestamp_millis, as: 'acceptedTimestampMillis'
1130
+ property :application_id, as: 'applicationId'
1131
+ property :banner_url, as: 'bannerUrl'
1132
+ property :description, as: 'description'
1133
+ property :end_timestamp_millis, as: 'endTimestampMillis'
1134
+ property :icon_url, as: 'iconUrl'
1135
+ property :id, as: 'id'
1136
+ property :is_default_banner_url, as: 'isDefaultBannerUrl'
1137
+ property :is_default_icon_url, as: 'isDefaultIconUrl'
1138
+ property :kind, as: 'kind'
1139
+ property :last_updated_timestamp_millis, as: 'lastUpdatedTimestampMillis'
1140
+ collection :milestones, as: 'milestones', class: Google::Apis::GamesV1::QuestMilestone, decorator: Google::Apis::GamesV1::QuestMilestone::Representation
1141
+
1142
+ property :name, as: 'name'
1143
+ property :notify_timestamp_millis, as: 'notifyTimestampMillis'
1144
+ property :start_timestamp_millis, as: 'startTimestampMillis'
1145
+ property :state, as: 'state'
1146
+ end
1147
+ end
1148
+
1149
+ class QuestContribution
1150
+ # @private
1151
+ class Representation < Google::Apis::Core::JsonRepresentation
1152
+ property :formatted_value, as: 'formattedValue'
1153
+ property :kind, as: 'kind'
1154
+ property :value, as: 'value'
1155
+ end
1156
+ end
1157
+
1158
+ class QuestCriterion
1159
+ # @private
1160
+ class Representation < Google::Apis::Core::JsonRepresentation
1161
+ property :completion_contribution, as: 'completionContribution', class: Google::Apis::GamesV1::QuestContribution, decorator: Google::Apis::GamesV1::QuestContribution::Representation
1162
+
1163
+ property :current_contribution, as: 'currentContribution', class: Google::Apis::GamesV1::QuestContribution, decorator: Google::Apis::GamesV1::QuestContribution::Representation
1164
+
1165
+ property :event_id, as: 'eventId'
1166
+ property :initial_player_progress, as: 'initialPlayerProgress', class: Google::Apis::GamesV1::QuestContribution, decorator: Google::Apis::GamesV1::QuestContribution::Representation
1167
+
1168
+ property :kind, as: 'kind'
1169
+ end
1170
+ end
1171
+
1172
+ class ListQuestResponse
1173
+ # @private
1174
+ class Representation < Google::Apis::Core::JsonRepresentation
1175
+ collection :items, as: 'items', class: Google::Apis::GamesV1::Quest, decorator: Google::Apis::GamesV1::Quest::Representation
1176
+
1177
+ property :kind, as: 'kind'
1178
+ property :next_page_token, as: 'nextPageToken'
1179
+ end
1180
+ end
1181
+
1182
+ class QuestMilestone
1183
+ # @private
1184
+ class Representation < Google::Apis::Core::JsonRepresentation
1185
+ property :completion_reward_data, :base64 => true, as: 'completionRewardData'
1186
+ collection :criteria, as: 'criteria', class: Google::Apis::GamesV1::QuestCriterion, decorator: Google::Apis::GamesV1::QuestCriterion::Representation
1187
+
1188
+ property :id, as: 'id'
1189
+ property :kind, as: 'kind'
1190
+ property :state, as: 'state'
1191
+ end
1192
+ end
1193
+
1194
+ class CheckRevisionResponse
1195
+ # @private
1196
+ class Representation < Google::Apis::Core::JsonRepresentation
1197
+ property :api_version, as: 'apiVersion'
1198
+ property :kind, as: 'kind'
1199
+ property :revision_status, as: 'revisionStatus'
1200
+ end
1201
+ end
1202
+
1203
+ class Room
1204
+ # @private
1205
+ class Representation < Google::Apis::Core::JsonRepresentation
1206
+ property :application_id, as: 'applicationId'
1207
+ property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::RoomAutoMatchingCriteria, decorator: Google::Apis::GamesV1::RoomAutoMatchingCriteria::Representation
1208
+
1209
+ property :auto_matching_status, as: 'autoMatchingStatus', class: Google::Apis::GamesV1::RoomAutoMatchStatus, decorator: Google::Apis::GamesV1::RoomAutoMatchStatus::Representation
1210
+
1211
+ property :creation_details, as: 'creationDetails', class: Google::Apis::GamesV1::RoomModification, decorator: Google::Apis::GamesV1::RoomModification::Representation
1212
+
1213
+ property :description, as: 'description'
1214
+ property :inviter_id, as: 'inviterId'
1215
+ property :kind, as: 'kind'
1216
+ property :last_update_details, as: 'lastUpdateDetails', class: Google::Apis::GamesV1::RoomModification, decorator: Google::Apis::GamesV1::RoomModification::Representation
1217
+
1218
+ collection :participants, as: 'participants', class: Google::Apis::GamesV1::RoomParticipant, decorator: Google::Apis::GamesV1::RoomParticipant::Representation
1219
+
1220
+ property :room_id, as: 'roomId'
1221
+ property :room_status_version, as: 'roomStatusVersion'
1222
+ property :status, as: 'status'
1223
+ property :variant, as: 'variant'
1224
+ end
1225
+ end
1226
+
1227
+ class RoomAutoMatchStatus
1228
+ # @private
1229
+ class Representation < Google::Apis::Core::JsonRepresentation
1230
+ property :kind, as: 'kind'
1231
+ property :wait_estimate_seconds, as: 'waitEstimateSeconds'
1232
+ end
1233
+ end
1234
+
1235
+ class RoomAutoMatchingCriteria
1236
+ # @private
1237
+ class Representation < Google::Apis::Core::JsonRepresentation
1238
+ property :exclusive_bitmask, as: 'exclusiveBitmask'
1239
+ property :kind, as: 'kind'
1240
+ property :max_auto_matching_players, as: 'maxAutoMatchingPlayers'
1241
+ property :min_auto_matching_players, as: 'minAutoMatchingPlayers'
1242
+ end
1243
+ end
1244
+
1245
+ class RoomClientAddress
1246
+ # @private
1247
+ class Representation < Google::Apis::Core::JsonRepresentation
1248
+ property :kind, as: 'kind'
1249
+ property :xmpp_address, as: 'xmppAddress'
1250
+ end
1251
+ end
1252
+
1253
+ class CreateRoomRequest
1254
+ # @private
1255
+ class Representation < Google::Apis::Core::JsonRepresentation
1256
+ property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::RoomAutoMatchingCriteria, decorator: Google::Apis::GamesV1::RoomAutoMatchingCriteria::Representation
1257
+
1258
+ collection :capabilities, as: 'capabilities'
1259
+ property :client_address, as: 'clientAddress', class: Google::Apis::GamesV1::RoomClientAddress, decorator: Google::Apis::GamesV1::RoomClientAddress::Representation
1260
+
1261
+ collection :invited_player_ids, as: 'invitedPlayerIds'
1262
+ property :kind, as: 'kind'
1263
+ property :network_diagnostics, as: 'networkDiagnostics', class: Google::Apis::GamesV1::NetworkDiagnostics, decorator: Google::Apis::GamesV1::NetworkDiagnostics::Representation
1264
+
1265
+ property :request_id, as: 'requestId'
1266
+ property :variant, as: 'variant'
1267
+ end
1268
+ end
1269
+
1270
+ class JoinRoomRequest
1271
+ # @private
1272
+ class Representation < Google::Apis::Core::JsonRepresentation
1273
+ collection :capabilities, as: 'capabilities'
1274
+ property :client_address, as: 'clientAddress', class: Google::Apis::GamesV1::RoomClientAddress, decorator: Google::Apis::GamesV1::RoomClientAddress::Representation
1275
+
1276
+ property :kind, as: 'kind'
1277
+ property :network_diagnostics, as: 'networkDiagnostics', class: Google::Apis::GamesV1::NetworkDiagnostics, decorator: Google::Apis::GamesV1::NetworkDiagnostics::Representation
1278
+
1279
+ end
1280
+ end
1281
+
1282
+ class RoomLeaveDiagnostics
1283
+ # @private
1284
+ class Representation < Google::Apis::Core::JsonRepresentation
1285
+ property :android_network_subtype, as: 'androidNetworkSubtype'
1286
+ property :android_network_type, as: 'androidNetworkType'
1287
+ property :ios_network_type, as: 'iosNetworkType'
1288
+ property :kind, as: 'kind'
1289
+ property :network_operator_code, as: 'networkOperatorCode'
1290
+ property :network_operator_name, as: 'networkOperatorName'
1291
+ collection :peer_session, as: 'peerSession', class: Google::Apis::GamesV1::PeerSessionDiagnostics, decorator: Google::Apis::GamesV1::PeerSessionDiagnostics::Representation
1292
+
1293
+ property :sockets_used, as: 'socketsUsed'
1294
+ end
1295
+ end
1296
+
1297
+ class LeaveRoomRequest
1298
+ # @private
1299
+ class Representation < Google::Apis::Core::JsonRepresentation
1300
+ property :kind, as: 'kind'
1301
+ property :leave_diagnostics, as: 'leaveDiagnostics', class: Google::Apis::GamesV1::RoomLeaveDiagnostics, decorator: Google::Apis::GamesV1::RoomLeaveDiagnostics::Representation
1302
+
1303
+ property :reason, as: 'reason'
1304
+ end
1305
+ end
1306
+
1307
+ class RoomList
1308
+ # @private
1309
+ class Representation < Google::Apis::Core::JsonRepresentation
1310
+ collection :items, as: 'items', class: Google::Apis::GamesV1::Room, decorator: Google::Apis::GamesV1::Room::Representation
1311
+
1312
+ property :kind, as: 'kind'
1313
+ property :next_page_token, as: 'nextPageToken'
1314
+ end
1315
+ end
1316
+
1317
+ class RoomModification
1318
+ # @private
1319
+ class Representation < Google::Apis::Core::JsonRepresentation
1320
+ property :kind, as: 'kind'
1321
+ property :modified_timestamp_millis, as: 'modifiedTimestampMillis'
1322
+ property :participant_id, as: 'participantId'
1323
+ end
1324
+ end
1325
+
1326
+ class RoomP2PStatus
1327
+ # @private
1328
+ class Representation < Google::Apis::Core::JsonRepresentation
1329
+ property :connection_setup_latency_millis, as: 'connectionSetupLatencyMillis'
1330
+ property :error, as: 'error'
1331
+ property :error_reason, as: 'error_reason'
1332
+ property :kind, as: 'kind'
1333
+ property :participant_id, as: 'participantId'
1334
+ property :status, as: 'status'
1335
+ property :unreliable_roundtrip_latency_millis, as: 'unreliableRoundtripLatencyMillis'
1336
+ end
1337
+ end
1338
+
1339
+ class RoomP2PStatuses
1340
+ # @private
1341
+ class Representation < Google::Apis::Core::JsonRepresentation
1342
+ property :kind, as: 'kind'
1343
+ collection :updates, as: 'updates', class: Google::Apis::GamesV1::RoomP2PStatus, decorator: Google::Apis::GamesV1::RoomP2PStatus::Representation
1344
+
1345
+ end
1346
+ end
1347
+
1348
+ class RoomParticipant
1349
+ # @private
1350
+ class Representation < Google::Apis::Core::JsonRepresentation
1351
+ property :auto_matched, as: 'autoMatched'
1352
+ property :auto_matched_player, as: 'autoMatchedPlayer', class: Google::Apis::GamesV1::AnonymousPlayer, decorator: Google::Apis::GamesV1::AnonymousPlayer::Representation
1353
+
1354
+ collection :capabilities, as: 'capabilities'
1355
+ property :client_address, as: 'clientAddress', class: Google::Apis::GamesV1::RoomClientAddress, decorator: Google::Apis::GamesV1::RoomClientAddress::Representation
1356
+
1357
+ property :connected, as: 'connected'
1358
+ property :id, as: 'id'
1359
+ property :kind, as: 'kind'
1360
+ property :leave_reason, as: 'leaveReason'
1361
+ property :player, as: 'player', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
1362
+
1363
+ property :status, as: 'status'
1364
+ end
1365
+ end
1366
+
1367
+ class RoomStatus
1368
+ # @private
1369
+ class Representation < Google::Apis::Core::JsonRepresentation
1370
+ property :auto_matching_status, as: 'autoMatchingStatus', class: Google::Apis::GamesV1::RoomAutoMatchStatus, decorator: Google::Apis::GamesV1::RoomAutoMatchStatus::Representation
1371
+
1372
+ property :kind, as: 'kind'
1373
+ collection :participants, as: 'participants', class: Google::Apis::GamesV1::RoomParticipant, decorator: Google::Apis::GamesV1::RoomParticipant::Representation
1374
+
1375
+ property :room_id, as: 'roomId'
1376
+ property :status, as: 'status'
1377
+ property :status_version, as: 'statusVersion'
1378
+ end
1379
+ end
1380
+
1381
+ class ScoreSubmission
1382
+ # @private
1383
+ class Representation < Google::Apis::Core::JsonRepresentation
1384
+ property :kind, as: 'kind'
1385
+ property :leaderboard_id, as: 'leaderboardId'
1386
+ property :score, as: 'score'
1387
+ property :score_tag, as: 'scoreTag'
1388
+ property :signature, as: 'signature'
1389
+ end
1390
+ end
1391
+
1392
+ class Snapshot
1393
+ # @private
1394
+ class Representation < Google::Apis::Core::JsonRepresentation
1395
+ property :cover_image, as: 'coverImage', class: Google::Apis::GamesV1::SnapshotImage, decorator: Google::Apis::GamesV1::SnapshotImage::Representation
1396
+
1397
+ property :description, as: 'description'
1398
+ property :drive_id, as: 'driveId'
1399
+ property :duration_millis, as: 'durationMillis'
1400
+ property :id, as: 'id'
1401
+ property :kind, as: 'kind'
1402
+ property :last_modified_millis, as: 'lastModifiedMillis'
1403
+ property :progress_value, as: 'progressValue'
1404
+ property :title, as: 'title'
1405
+ property :type, as: 'type'
1406
+ property :unique_name, as: 'uniqueName'
1407
+ end
1408
+ end
1409
+
1410
+ class SnapshotImage
1411
+ # @private
1412
+ class Representation < Google::Apis::Core::JsonRepresentation
1413
+ property :height, as: 'height'
1414
+ property :kind, as: 'kind'
1415
+ property :mime_type, as: 'mime_type'
1416
+ property :url, as: 'url'
1417
+ property :width, as: 'width'
1418
+ end
1419
+ end
1420
+
1421
+ class ListSnapshotResponse
1422
+ # @private
1423
+ class Representation < Google::Apis::Core::JsonRepresentation
1424
+ collection :items, as: 'items', class: Google::Apis::GamesV1::Snapshot, decorator: Google::Apis::GamesV1::Snapshot::Representation
1425
+
1426
+ property :kind, as: 'kind'
1427
+ property :next_page_token, as: 'nextPageToken'
1428
+ end
1429
+ end
1430
+
1431
+ class TurnBasedAutoMatchingCriteria
1432
+ # @private
1433
+ class Representation < Google::Apis::Core::JsonRepresentation
1434
+ property :exclusive_bitmask, as: 'exclusiveBitmask'
1435
+ property :kind, as: 'kind'
1436
+ property :max_auto_matching_players, as: 'maxAutoMatchingPlayers'
1437
+ property :min_auto_matching_players, as: 'minAutoMatchingPlayers'
1438
+ end
1439
+ end
1440
+
1441
+ class TurnBasedMatch
1442
+ # @private
1443
+ class Representation < Google::Apis::Core::JsonRepresentation
1444
+ property :application_id, as: 'applicationId'
1445
+ property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria, decorator: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria::Representation
1446
+
1447
+ property :creation_details, as: 'creationDetails', class: Google::Apis::GamesV1::TurnBasedMatchModification, decorator: Google::Apis::GamesV1::TurnBasedMatchModification::Representation
1448
+
1449
+ property :data, as: 'data', class: Google::Apis::GamesV1::TurnBasedMatchData, decorator: Google::Apis::GamesV1::TurnBasedMatchData::Representation
1450
+
1451
+ property :description, as: 'description'
1452
+ property :inviter_id, as: 'inviterId'
1453
+ property :kind, as: 'kind'
1454
+ property :last_update_details, as: 'lastUpdateDetails', class: Google::Apis::GamesV1::TurnBasedMatchModification, decorator: Google::Apis::GamesV1::TurnBasedMatchModification::Representation
1455
+
1456
+ property :match_id, as: 'matchId'
1457
+ property :match_number, as: 'matchNumber'
1458
+ property :match_version, as: 'matchVersion'
1459
+ collection :participants, as: 'participants', class: Google::Apis::GamesV1::TurnBasedMatchParticipant, decorator: Google::Apis::GamesV1::TurnBasedMatchParticipant::Representation
1460
+
1461
+ property :pending_participant_id, as: 'pendingParticipantId'
1462
+ property :previous_match_data, as: 'previousMatchData', class: Google::Apis::GamesV1::TurnBasedMatchData, decorator: Google::Apis::GamesV1::TurnBasedMatchData::Representation
1463
+
1464
+ property :rematch_id, as: 'rematchId'
1465
+ collection :results, as: 'results', class: Google::Apis::GamesV1::ParticipantResult, decorator: Google::Apis::GamesV1::ParticipantResult::Representation
1466
+
1467
+ property :status, as: 'status'
1468
+ property :user_match_status, as: 'userMatchStatus'
1469
+ property :variant, as: 'variant'
1470
+ property :with_participant_id, as: 'withParticipantId'
1471
+ end
1472
+ end
1473
+
1474
+ class CreateTurnBasedMatchRequest
1475
+ # @private
1476
+ class Representation < Google::Apis::Core::JsonRepresentation
1477
+ property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria, decorator: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria::Representation
1478
+
1479
+ collection :invited_player_ids, as: 'invitedPlayerIds'
1480
+ property :kind, as: 'kind'
1481
+ property :request_id, as: 'requestId'
1482
+ property :variant, as: 'variant'
1483
+ end
1484
+ end
1485
+
1486
+ class TurnBasedMatchData
1487
+ # @private
1488
+ class Representation < Google::Apis::Core::JsonRepresentation
1489
+ property :data, :base64 => true, as: 'data'
1490
+ property :data_available, as: 'dataAvailable'
1491
+ property :kind, as: 'kind'
1492
+ end
1493
+ end
1494
+
1495
+ class TurnBasedMatchDataRequest
1496
+ # @private
1497
+ class Representation < Google::Apis::Core::JsonRepresentation
1498
+ property :data, :base64 => true, as: 'data'
1499
+ property :kind, as: 'kind'
1500
+ end
1501
+ end
1502
+
1503
+ class TurnBasedMatchList
1504
+ # @private
1505
+ class Representation < Google::Apis::Core::JsonRepresentation
1506
+ collection :items, as: 'items', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
1507
+
1508
+ property :kind, as: 'kind'
1509
+ property :next_page_token, as: 'nextPageToken'
1510
+ end
1511
+ end
1512
+
1513
+ class TurnBasedMatchModification
1514
+ # @private
1515
+ class Representation < Google::Apis::Core::JsonRepresentation
1516
+ property :kind, as: 'kind'
1517
+ property :modified_timestamp_millis, as: 'modifiedTimestampMillis'
1518
+ property :participant_id, as: 'participantId'
1519
+ end
1520
+ end
1521
+
1522
+ class TurnBasedMatchParticipant
1523
+ # @private
1524
+ class Representation < Google::Apis::Core::JsonRepresentation
1525
+ property :auto_matched, as: 'autoMatched'
1526
+ property :auto_matched_player, as: 'autoMatchedPlayer', class: Google::Apis::GamesV1::AnonymousPlayer, decorator: Google::Apis::GamesV1::AnonymousPlayer::Representation
1527
+
1528
+ property :id, as: 'id'
1529
+ property :kind, as: 'kind'
1530
+ property :player, as: 'player', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
1531
+
1532
+ property :status, as: 'status'
1533
+ end
1534
+ end
1535
+
1536
+ class TurnBasedMatchRematch
1537
+ # @private
1538
+ class Representation < Google::Apis::Core::JsonRepresentation
1539
+ property :kind, as: 'kind'
1540
+ property :previous_match, as: 'previousMatch', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
1541
+
1542
+ property :rematch, as: 'rematch', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
1543
+
1544
+ end
1545
+ end
1546
+
1547
+ class TurnBasedMatchResults
1548
+ # @private
1549
+ class Representation < Google::Apis::Core::JsonRepresentation
1550
+ property :data, as: 'data', class: Google::Apis::GamesV1::TurnBasedMatchDataRequest, decorator: Google::Apis::GamesV1::TurnBasedMatchDataRequest::Representation
1551
+
1552
+ property :kind, as: 'kind'
1553
+ property :match_version, as: 'matchVersion'
1554
+ collection :results, as: 'results', class: Google::Apis::GamesV1::ParticipantResult, decorator: Google::Apis::GamesV1::ParticipantResult::Representation
1555
+
1556
+ end
1557
+ end
1558
+
1559
+ class TurnBasedMatchSync
1560
+ # @private
1561
+ class Representation < Google::Apis::Core::JsonRepresentation
1562
+ collection :items, as: 'items', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
1563
+
1564
+ property :kind, as: 'kind'
1565
+ property :more_available, as: 'moreAvailable'
1566
+ property :next_page_token, as: 'nextPageToken'
1567
+ end
1568
+ end
1569
+
1570
+ class TurnBasedMatchTurn
1571
+ # @private
1572
+ class Representation < Google::Apis::Core::JsonRepresentation
1573
+ property :data, as: 'data', class: Google::Apis::GamesV1::TurnBasedMatchDataRequest, decorator: Google::Apis::GamesV1::TurnBasedMatchDataRequest::Representation
1574
+
1575
+ property :kind, as: 'kind'
1576
+ property :match_version, as: 'matchVersion'
1577
+ property :pending_participant_id, as: 'pendingParticipantId'
1578
+ collection :results, as: 'results', class: Google::Apis::GamesV1::ParticipantResult, decorator: Google::Apis::GamesV1::ParticipantResult::Representation
1579
+
1580
+ end
1581
+ end
1582
+ end
1583
+ end
1584
+ end