google-api-client 0.8.6 → 0.9.3

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