google-api-client 0.39.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +164 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +70 -347
  7. data/generated/google/apis/apigee_v1/representations.rb +6 -128
  8. data/generated/google/apis/apigee_v1/service.rb +60 -550
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  11. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  12. data/generated/google/apis/appengine_v1beta.rb +1 -1
  13. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  14. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  15. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  16. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  17. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  18. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +46 -1
  21. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  22. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  23. data/generated/google/apis/bigqueryreservation_v1/classes.rb +21 -15
  24. data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
  25. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  26. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  27. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
  28. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
  29. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  30. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  31. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  32. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  33. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  34. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  35. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  36. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  37. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  38. data/generated/google/apis/calendar_v3.rb +1 -1
  39. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  40. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  41. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  42. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  43. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  44. data/generated/google/apis/cloudasset_v1.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  46. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  47. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  48. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  49. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  50. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  51. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  53. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  55. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
  57. data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
  58. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
  60. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
  61. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  62. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
  64. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
  65. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  66. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  68. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudiot_v1.rb +1 -1
  70. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  71. data/generated/google/apis/cloudkms_v1.rb +1 -1
  72. data/generated/google/apis/cloudkms_v1/classes.rb +307 -14
  73. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  74. data/generated/google/apis/cloudkms_v1/service.rb +15 -6
  75. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
  79. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  80. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
  81. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  82. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
  83. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  84. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  85. data/generated/google/apis/cloudshell_v1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  87. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  88. data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
  89. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  90. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  91. data/generated/google/apis/composer_v1beta1.rb +1 -1
  92. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  93. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  94. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  95. data/generated/google/apis/compute_alpha.rb +1 -1
  96. data/generated/google/apis/compute_alpha/classes.rb +165 -65
  97. data/generated/google/apis/compute_alpha/representations.rb +30 -1
  98. data/generated/google/apis/compute_alpha/service.rb +157 -0
  99. data/generated/google/apis/compute_beta.rb +1 -1
  100. data/generated/google/apis/compute_beta/classes.rb +172 -55
  101. data/generated/google/apis/compute_beta/representations.rb +47 -0
  102. data/generated/google/apis/compute_v1.rb +1 -1
  103. data/generated/google/apis/compute_v1/classes.rb +148 -51
  104. data/generated/google/apis/compute_v1/representations.rb +21 -0
  105. data/generated/google/apis/compute_v1/service.rb +83 -0
  106. data/generated/google/apis/container_v1.rb +1 -1
  107. data/generated/google/apis/container_v1/classes.rb +5 -6
  108. data/generated/google/apis/container_v1beta1.rb +1 -1
  109. data/generated/google/apis/container_v1beta1/classes.rb +65 -6
  110. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  111. data/generated/google/apis/content_v2_1.rb +1 -1
  112. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  113. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  114. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  115. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  116. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  117. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  118. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  119. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  120. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  121. data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
  122. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  123. data/generated/google/apis/datastore_v1.rb +1 -1
  124. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  125. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  126. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  127. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  128. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  129. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  130. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  131. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  132. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  133. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  134. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  135. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  136. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  137. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  138. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  139. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  140. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  141. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  142. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  143. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  144. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  145. data/generated/google/apis/dialogflow_v2.rb +1 -1
  146. data/generated/google/apis/dialogflow_v2/classes.rb +568 -8
  147. data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
  148. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  149. data/generated/google/apis/dialogflow_v2beta1/classes.rb +568 -8
  150. data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
  151. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  152. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  153. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  154. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  155. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  156. data/generated/google/apis/displayvideo_v1.rb +1 -1
  157. data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
  158. data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
  159. data/generated/google/apis/displayvideo_v1/service.rb +287 -2
  160. data/generated/google/apis/dlp_v2.rb +1 -1
  161. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  162. data/generated/google/apis/dlp_v2/service.rb +79 -142
  163. data/generated/google/apis/dns_v1.rb +1 -1
  164. data/generated/google/apis/dns_v1/classes.rb +160 -261
  165. data/generated/google/apis/dns_v1/representations.rb +17 -0
  166. data/generated/google/apis/dns_v1/service.rb +21 -141
  167. data/generated/google/apis/dns_v1beta2.rb +1 -1
  168. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  169. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  170. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  173. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  174. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  175. data/generated/google/apis/file_v1.rb +1 -1
  176. data/generated/google/apis/file_v1/classes.rb +1187 -0
  177. data/generated/google/apis/file_v1/representations.rb +396 -0
  178. data/generated/google/apis/file_v1beta1.rb +1 -1
  179. data/generated/google/apis/file_v1beta1/classes.rb +1187 -0
  180. data/generated/google/apis/file_v1beta1/representations.rb +396 -0
  181. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  182. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  183. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  184. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
  185. data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
  186. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  187. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  188. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  189. data/generated/google/apis/fitness_v1.rb +4 -4
  190. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  191. data/generated/google/apis/fitness_v1/service.rb +187 -215
  192. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  193. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  194. data/generated/google/apis/games_management_v1management.rb +6 -4
  195. data/generated/google/apis/games_management_v1management/classes.rb +50 -90
  196. data/generated/google/apis/games_management_v1management/representations.rb +0 -17
  197. data/generated/google/apis/games_management_v1management/service.rb +115 -291
  198. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  199. data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
  200. data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
  201. data/generated/google/apis/gmail_v1.rb +2 -3
  202. data/generated/google/apis/gmail_v1/classes.rb +199 -258
  203. data/generated/google/apis/gmail_v1/service.rb +744 -552
  204. data/generated/google/apis/healthcare_v1.rb +1 -1
  205. data/generated/google/apis/healthcare_v1/classes.rb +67 -46
  206. data/generated/google/apis/healthcare_v1/service.rb +107 -140
  207. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  208. data/generated/google/apis/healthcare_v1beta1/classes.rb +70 -54
  209. data/generated/google/apis/healthcare_v1beta1/service.rb +223 -255
  210. data/generated/google/apis/homegraph_v1.rb +1 -1
  211. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  212. data/generated/google/apis/iam_v1.rb +1 -1
  213. data/generated/google/apis/iam_v1/classes.rb +24 -12
  214. data/generated/google/apis/iam_v1/service.rb +7 -0
  215. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  216. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  217. data/generated/google/apis/iap_v1.rb +1 -1
  218. data/generated/google/apis/iap_v1/classes.rb +35 -12
  219. data/generated/google/apis/iap_v1/representations.rb +1 -0
  220. data/generated/google/apis/iap_v1/service.rb +1 -1
  221. data/generated/google/apis/iap_v1beta1.rb +1 -1
  222. data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  225. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  226. data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
  227. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  228. data/generated/google/apis/ml_v1.rb +1 -1
  229. data/generated/google/apis/ml_v1/classes.rb +84 -18
  230. data/generated/google/apis/ml_v1/representations.rb +4 -0
  231. data/generated/google/apis/ml_v1/service.rb +11 -6
  232. data/generated/google/apis/monitoring_v3.rb +1 -1
  233. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  234. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  235. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  236. data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
  237. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  238. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  239. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  240. data/generated/google/apis/osconfig_v1.rb +1 -1
  241. data/generated/google/apis/osconfig_v1/classes.rb +29 -27
  242. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  243. data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
  244. data/generated/google/apis/people_v1.rb +1 -1
  245. data/generated/google/apis/people_v1/service.rb +1 -1
  246. data/generated/google/apis/pubsub_v1.rb +1 -1
  247. data/generated/google/apis/pubsub_v1/classes.rb +6 -7
  248. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  249. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  250. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  251. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  252. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  253. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  254. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  255. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  256. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  257. data/generated/google/apis/run_v1.rb +1 -1
  258. data/generated/google/apis/run_v1/classes.rb +31 -49
  259. data/generated/google/apis/run_v1/representations.rb +1 -17
  260. data/generated/google/apis/run_v1/service.rb +3 -0
  261. data/generated/google/apis/run_v1alpha1.rb +1 -1
  262. data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
  263. data/generated/google/apis/run_v1alpha1/service.rb +3 -0
  264. data/generated/google/apis/secretmanager_v1.rb +1 -1
  265. data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
  266. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  267. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  268. data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
  269. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  270. data/generated/google/apis/securitycenter_v1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  272. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  273. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  274. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  275. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  276. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  277. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
  278. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  279. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  280. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
  281. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
  282. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  283. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  284. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  285. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  286. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  287. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  288. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  289. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  290. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  291. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  292. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  293. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
  296. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
  300. data/generated/google/apis/sheets_v4.rb +1 -1
  301. data/generated/google/apis/spanner_v1.rb +1 -1
  302. data/generated/google/apis/spanner_v1/classes.rb +29 -10
  303. data/generated/google/apis/storage_v1.rb +1 -1
  304. data/generated/google/apis/storage_v1/classes.rb +18 -0
  305. data/generated/google/apis/storage_v1/representations.rb +3 -0
  306. data/generated/google/apis/tasks_v1.rb +3 -3
  307. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  308. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  309. data/generated/google/apis/tasks_v1/service.rb +79 -128
  310. data/generated/google/apis/testing_v1.rb +1 -1
  311. data/generated/google/apis/testing_v1/classes.rb +3 -2
  312. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  313. data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
  314. data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
  315. data/generated/google/apis/tpu_v1.rb +1 -1
  316. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  317. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  318. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  319. data/generated/google/apis/translate_v3.rb +1 -1
  320. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  321. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  322. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  323. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  324. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  325. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  326. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  327. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  328. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  329. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  330. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  331. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  332. data/generated/google/apis/youtube_v3.rb +5 -5
  333. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  334. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  335. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  336. data/lib/google/apis/version.rb +9 -4
  337. metadata +23 -15
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  341. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  342. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  343. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  344. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  345. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  346. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/games/
27
27
  module GamesConfigurationV1configuration
28
28
  VERSION = 'V1configuration'
29
- REVISION = '20200416'
29
+ REVISION = '20200514'
30
30
 
31
31
  # View and manage your Google Play Developer account
32
32
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -45,7 +45,7 @@ module Google
45
45
 
46
46
  def initialize
47
47
  super('https://www.googleapis.com/', '')
48
- @batch_path = 'batch'
48
+ @batch_path = 'batch/games/v1configuration'
49
49
  end
50
50
 
51
51
  # Delete the achievement configuration with the given ID.
@@ -18,14 +18,16 @@ require 'google/apis/games_management_v1management/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Play Game Services Management API
21
+ # Google Play Game Management
22
22
  #
23
- # The Management API for Google Play Game Services.
23
+ # The Google Play Game Management API allows developers to manage resources from
24
+ # the Google
25
+ # Play Game service.
24
26
  #
25
- # @see https://developers.google.com/games/services
27
+ # @see https://developers.google.com/games/
26
28
  module GamesManagementV1management
27
29
  VERSION = 'V1management'
28
- REVISION = '20200416'
30
+ REVISION = '20200514'
29
31
 
30
32
  # Create, edit, and delete your Google Play Games activity
31
33
  AUTH_GAMES = 'https://www.googleapis.com/auth/games'
@@ -22,12 +22,12 @@ module Google
22
22
  module Apis
23
23
  module GamesManagementV1management
24
24
 
25
- # This is a JSON template for achievement reset all response.
25
+ # Achievement reset all response.
26
26
  class AchievementResetAllResponse
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
29
  # Uniquely identifies the type of this resource. Value is always the fixed
30
- # string gamesManagement#achievementResetAllResponse.
30
+ # string `gamesManagement#achievementResetAllResponse`.
31
31
  # Corresponds to the JSON property `kind`
32
32
  # @return [String]
33
33
  attr_accessor :kind
@@ -48,7 +48,7 @@ module Google
48
48
  end
49
49
  end
50
50
 
51
- # This is a JSON template for multiple achievements reset all request.
51
+ #
52
52
  class AchievementResetMultipleForAllRequest
53
53
  include Google::Apis::Core::Hashable
54
54
 
@@ -58,7 +58,7 @@ module Google
58
58
  attr_accessor :achievement_ids
59
59
 
60
60
  # Uniquely identifies the type of this resource. Value is always the fixed
61
- # string gamesManagement#achievementResetMultipleForAllRequest.
61
+ # string `gamesManagement#achievementResetMultipleForAllRequest`.
62
62
  # Corresponds to the JSON property `kind`
63
63
  # @return [String]
64
64
  attr_accessor :kind
@@ -74,16 +74,15 @@ module Google
74
74
  end
75
75
  end
76
76
 
77
- # This is a JSON template for an achievement reset response.
77
+ # An achievement reset response.
78
78
  class AchievementResetResponse
79
79
  include Google::Apis::Core::Hashable
80
80
 
81
- # The current state of the achievement. This is the same as the initial state of
82
- # the achievement.
83
- # Possible values are:
84
- # - "HIDDEN"- Achievement is hidden.
85
- # - "REVEALED" - Achievement is revealed.
86
- # - "UNLOCKED" - Achievement is unlocked.
81
+ # The current state of the achievement. This is the same as the initial
82
+ # state of the achievement. <br/>Possible values are: <ul>
83
+ # <li>"`HIDDEN`"- Achievement is hidden.</li>
84
+ # <li>"`REVEALED`" - Achievement is revealed.</li>
85
+ # <li>"`UNLOCKED`" - Achievement is unlocked.</li> </ul>
87
86
  # Corresponds to the JSON property `currentState`
88
87
  # @return [String]
89
88
  attr_accessor :current_state
@@ -94,7 +93,7 @@ module Google
94
93
  attr_accessor :definition_id
95
94
 
96
95
  # Uniquely identifies the type of this resource. Value is always the fixed
97
- # string gamesManagement#achievementResetResponse.
96
+ # string `gamesManagement#achievementResetResponse`.
98
97
  # Corresponds to the JSON property `kind`
99
98
  # @return [String]
100
99
  attr_accessor :kind
@@ -118,7 +117,7 @@ module Google
118
117
  end
119
118
  end
120
119
 
121
- # This is a JSON template for multiple events reset all request.
120
+ # Multiple events reset all request.
122
121
  class EventsResetMultipleForAllRequest
123
122
  include Google::Apis::Core::Hashable
124
123
 
@@ -128,7 +127,7 @@ module Google
128
127
  attr_accessor :event_ids
129
128
 
130
129
  # Uniquely identifies the type of this resource. Value is always the fixed
131
- # string gamesManagement#eventsResetMultipleForAllRequest.
130
+ # string `gamesManagement#eventsResetMultipleForAllRequest`.
132
131
  # Corresponds to the JSON property `kind`
133
132
  # @return [String]
134
133
  attr_accessor :kind
@@ -144,35 +143,7 @@ module Google
144
143
  end
145
144
  end
146
145
 
147
- # This is a JSON template for metadata about a player playing a game with the
148
- # currently authenticated user.
149
- class GamesPlayedResource
150
- include Google::Apis::Core::Hashable
151
-
152
- # True if the player was auto-matched with the currently authenticated user.
153
- # Corresponds to the JSON property `autoMatched`
154
- # @return [Boolean]
155
- attr_accessor :auto_matched
156
- alias_method :auto_matched?, :auto_matched
157
-
158
- # The last time the player played the game in milliseconds since the epoch in
159
- # UTC.
160
- # Corresponds to the JSON property `timeMillis`
161
- # @return [Fixnum]
162
- attr_accessor :time_millis
163
-
164
- def initialize(**args)
165
- update!(**args)
166
- end
167
-
168
- # Update properties of this object
169
- def update!(**args)
170
- @auto_matched = args[:auto_matched] if args.key?(:auto_matched)
171
- @time_millis = args[:time_millis] if args.key?(:time_millis)
172
- end
173
- end
174
-
175
- # This is a JSON template for 1P/3P metadata about the player's experience.
146
+ # 1P/3P metadata about the player's experience.
176
147
  class GamesPlayerExperienceInfoResource
177
148
  include Google::Apis::Core::Hashable
178
149
 
@@ -181,17 +152,18 @@ module Google
181
152
  # @return [Fixnum]
182
153
  attr_accessor :current_experience_points
183
154
 
184
- # This is a JSON template for 1P/3P metadata about a user's level.
155
+ # 1P/3P metadata about a user's level.
185
156
  # Corresponds to the JSON property `currentLevel`
186
157
  # @return [Google::Apis::GamesManagementV1management::GamesPlayerLevelResource]
187
158
  attr_accessor :current_level
188
159
 
189
- # The timestamp when the player was leveled up, in millis since Unix epoch UTC.
160
+ # The timestamp when the player was leveled up, in millis since Unix epoch
161
+ # UTC.
190
162
  # Corresponds to the JSON property `lastLevelUpTimestampMillis`
191
163
  # @return [Fixnum]
192
164
  attr_accessor :last_level_up_timestamp_millis
193
165
 
194
- # This is a JSON template for 1P/3P metadata about a user's level.
166
+ # 1P/3P metadata about a user's level.
195
167
  # Corresponds to the JSON property `nextLevel`
196
168
  # @return [Google::Apis::GamesManagementV1management::GamesPlayerLevelResource]
197
169
  attr_accessor :next_level
@@ -209,7 +181,7 @@ module Google
209
181
  end
210
182
  end
211
183
 
212
- # This is a JSON template for 1P/3P metadata about a user's level.
184
+ # 1P/3P metadata about a user's level.
213
185
  class GamesPlayerLevelResource
214
186
  include Google::Apis::Core::Hashable
215
187
 
@@ -240,22 +212,23 @@ module Google
240
212
  end
241
213
  end
242
214
 
243
- # This is a JSON template for the HiddenPlayer resource.
215
+ # The HiddenPlayer resource.
244
216
  class HiddenPlayer
245
217
  include Google::Apis::Core::Hashable
246
218
 
247
- # The time this player was hidden.
219
+ # Output only. The time this player was hidden.
248
220
  # Corresponds to the JSON property `hiddenTimeMillis`
249
221
  # @return [Fixnum]
250
222
  attr_accessor :hidden_time_millis
251
223
 
252
- # Uniquely identifies the type of this resource. Value is always the fixed
253
- # string gamesManagement#hiddenPlayer.
224
+ # Output only. Uniquely identifies the type of this resource. Value is always
225
+ # the fixed
226
+ # string `gamesManagement#hiddenPlayer`.
254
227
  # Corresponds to the JSON property `kind`
255
228
  # @return [String]
256
229
  attr_accessor :kind
257
230
 
258
- # This is a JSON template for a Player resource.
231
+ # A Player resource.
259
232
  # Corresponds to the JSON property `player`
260
233
  # @return [Google::Apis::GamesManagementV1management::Player]
261
234
  attr_accessor :player
@@ -272,7 +245,7 @@ module Google
272
245
  end
273
246
  end
274
247
 
275
- # This is a JSON template for a list of hidden players.
248
+ # A list of hidden players.
276
249
  class HiddenPlayerList
277
250
  include Google::Apis::Core::Hashable
278
251
 
@@ -282,7 +255,7 @@ module Google
282
255
  attr_accessor :items
283
256
 
284
257
  # Uniquely identifies the type of this resource. Value is always the fixed
285
- # string gamesManagement#hiddenPlayerList.
258
+ # string `gamesManagement#hiddenPlayerList`.
286
259
  # Corresponds to the JSON property `kind`
287
260
  # @return [String]
288
261
  attr_accessor :kind
@@ -304,7 +277,7 @@ module Google
304
277
  end
305
278
  end
306
279
 
307
- # This is a JSON template for a Player resource.
280
+ # A Player resource.
308
281
  class Player
309
282
  include Google::Apis::Core::Hashable
310
283
 
@@ -328,29 +301,17 @@ module Google
328
301
  # @return [String]
329
302
  attr_accessor :display_name
330
303
 
331
- # This is a JSON template for 1P/3P metadata about the player's experience.
304
+ # 1P/3P metadata about the player's experience.
332
305
  # Corresponds to the JSON property `experienceInfo`
333
306
  # @return [Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource]
334
307
  attr_accessor :experience_info
335
308
 
336
- # The friend status of the given player, relative to the requester. This is
337
- # unset if the player is not sharing their friends list with the game.
338
- # Corresponds to the JSON property `friendStatus`
339
- # @return [String]
340
- attr_accessor :friend_status
341
-
342
309
  # Uniquely identifies the type of this resource. Value is always the fixed
343
- # string gamesManagement#player.
310
+ # string `gamesManagement#player`.
344
311
  # Corresponds to the JSON property `kind`
345
312
  # @return [String]
346
313
  attr_accessor :kind
347
314
 
348
- # This is a JSON template for metadata about a player playing a game with the
349
- # currently authenticated user.
350
- # Corresponds to the JSON property `lastPlayedWith`
351
- # @return [Google::Apis::GamesManagementV1management::GamesPlayedResource]
352
- attr_accessor :last_played_with
353
-
354
315
  # An object representation of the individual components of the player's name.
355
316
  # For some players, these fields may not be present.
356
317
  # Corresponds to the JSON property `name`
@@ -358,9 +319,9 @@ module Google
358
319
  attr_accessor :name
359
320
 
360
321
  # The player ID that was used for this player the first time they signed into
361
- # the game in question. This is only populated for calls to player.get for the
362
- # requesting player, only if the player ID has subsequently changed, and only to
363
- # clients that support remapping player IDs.
322
+ # the game in question. This is only populated for calls to player.get for
323
+ # the requesting player, only if the player ID has subsequently changed, and
324
+ # only to clients that support remapping player IDs.
364
325
  # Corresponds to the JSON property `originalPlayerId`
365
326
  # @return [String]
366
327
  attr_accessor :original_player_id
@@ -370,7 +331,7 @@ module Google
370
331
  # @return [String]
371
332
  attr_accessor :player_id
372
333
 
373
- # This is a JSON template for profile settings
334
+ # Profile settings
374
335
  # Corresponds to the JSON property `profileSettings`
375
336
  # @return [Google::Apis::GamesManagementV1management::ProfileSettings]
376
337
  attr_accessor :profile_settings
@@ -391,9 +352,7 @@ module Google
391
352
  @banner_url_portrait = args[:banner_url_portrait] if args.key?(:banner_url_portrait)
392
353
  @display_name = args[:display_name] if args.key?(:display_name)
393
354
  @experience_info = args[:experience_info] if args.key?(:experience_info)
394
- @friend_status = args[:friend_status] if args.key?(:friend_status)
395
355
  @kind = args[:kind] if args.key?(:kind)
396
- @last_played_with = args[:last_played_with] if args.key?(:last_played_with)
397
356
  @name = args[:name] if args.key?(:name)
398
357
  @original_player_id = args[:original_player_id] if args.key?(:original_player_id)
399
358
  @player_id = args[:player_id] if args.key?(:player_id)
@@ -406,12 +365,14 @@ module Google
406
365
  class Name
407
366
  include Google::Apis::Core::Hashable
408
367
 
409
- # The family name of this player. In some places, this is known as the last name.
368
+ # The family name of this player. In some places, this is known as the last
369
+ # name.
410
370
  # Corresponds to the JSON property `familyName`
411
371
  # @return [String]
412
372
  attr_accessor :family_name
413
373
 
414
- # The given name of this player. In some places, this is known as the first name.
374
+ # The given name of this player. In some places, this is known as the first
375
+ # name.
415
376
  # Corresponds to the JSON property `givenName`
416
377
  # @return [String]
417
378
  attr_accessor :given_name
@@ -428,12 +389,12 @@ module Google
428
389
  end
429
390
  end
430
391
 
431
- # This is a JSON template for a list of leaderboard reset resources.
392
+ # A list of leaderboard reset resources.
432
393
  class PlayerScoreResetAllResponse
433
394
  include Google::Apis::Core::Hashable
434
395
 
435
396
  # Uniquely identifies the type of this resource. Value is always the fixed
436
- # string gamesManagement#playerScoreResetResponse.
397
+ # string `gamesManagement#playerScoreResetAllResponse`.
437
398
  # Corresponds to the JSON property `kind`
438
399
  # @return [String]
439
400
  attr_accessor :kind
@@ -454,7 +415,7 @@ module Google
454
415
  end
455
416
  end
456
417
 
457
- # This is a JSON template for a list of reset leaderboard entry resources.
418
+ # A list of reset leaderboard entry resources.
458
419
  class PlayerScoreResetResponse
459
420
  include Google::Apis::Core::Hashable
460
421
 
@@ -464,16 +425,15 @@ module Google
464
425
  attr_accessor :definition_id
465
426
 
466
427
  # Uniquely identifies the type of this resource. Value is always the fixed
467
- # string gamesManagement#playerScoreResetResponse.
428
+ # string `gamesManagement#playerScoreResetResponse`.
468
429
  # Corresponds to the JSON property `kind`
469
430
  # @return [String]
470
431
  attr_accessor :kind
471
432
 
472
- # The time spans of the updated score.
473
- # Possible values are:
474
- # - "ALL_TIME" - The score is an all-time score.
475
- # - "WEEKLY" - The score is a weekly score.
476
- # - "DAILY" - The score is a daily score.
433
+ # The time spans of the updated score. <br/>Possible values are: <ul>
434
+ # <li>"`ALL_TIME`" - The score is an all-time score.</li>
435
+ # <li>"`WEEKLY`" - The score is a weekly score.</li>
436
+ # <li>"`DAILY`" - The score is a daily score.</li> </ul>
477
437
  # Corresponds to the JSON property `resetScoreTimeSpans`
478
438
  # @return [Array<String>]
479
439
  attr_accessor :reset_score_time_spans
@@ -490,12 +450,12 @@ module Google
490
450
  end
491
451
  end
492
452
 
493
- # This is a JSON template for profile settings
453
+ # Profile settings
494
454
  class ProfileSettings
495
455
  include Google::Apis::Core::Hashable
496
456
 
497
457
  # Uniquely identifies the type of this resource. Value is always the fixed
498
- # string gamesManagement#profileSettings.
458
+ # string `gamesManagement#profileSettings`.
499
459
  # Corresponds to the JSON property `kind`
500
460
  # @return [String]
501
461
  attr_accessor :kind
@@ -517,12 +477,12 @@ module Google
517
477
  end
518
478
  end
519
479
 
520
- # This is a JSON template for multiple scores reset all request.
480
+ #
521
481
  class ScoresResetMultipleForAllRequest
522
482
  include Google::Apis::Core::Hashable
523
483
 
524
484
  # Uniquely identifies the type of this resource. Value is always the fixed
525
- # string gamesManagement#scoresResetMultipleForAllRequest.
485
+ # string `gamesManagement#scoresResetMultipleForAllRequest`.
526
486
  # Corresponds to the JSON property `kind`
527
487
  # @return [String]
528
488
  attr_accessor :kind
@@ -46,12 +46,6 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class GamesPlayedResource
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
49
  class GamesPlayerExperienceInfoResource
56
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
51
 
@@ -147,14 +141,6 @@ module Google
147
141
  end
148
142
  end
149
143
 
150
- class GamesPlayedResource
151
- # @private
152
- class Representation < Google::Apis::Core::JsonRepresentation
153
- property :auto_matched, as: 'autoMatched'
154
- property :time_millis, :numeric_string => true, as: 'timeMillis'
155
- end
156
- end
157
-
158
144
  class GamesPlayerExperienceInfoResource
159
145
  # @private
160
146
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -205,10 +191,7 @@ module Google
205
191
  property :display_name, as: 'displayName'
206
192
  property :experience_info, as: 'experienceInfo', class: Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource::Representation
207
193
 
208
- property :friend_status, as: 'friendStatus'
209
194
  property :kind, as: 'kind'
210
- property :last_played_with, as: 'lastPlayedWith', class: Google::Apis::GamesManagementV1management::GamesPlayedResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayedResource::Representation
211
-
212
195
  property :name, as: 'name', class: Google::Apis::GamesManagementV1management::Player::Name, decorator: Google::Apis::GamesManagementV1management::Player::Name::Representation
213
196
 
214
197
  property :original_player_id, as: 'originalPlayerId'
@@ -20,9 +20,11 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module GamesManagementV1management
23
- # Google Play Game Services Management API
23
+ # Google Play Game Management
24
24
  #
25
- # The Management API for Google Play Game Services.
25
+ # The Google Play Game Management API allows developers to manage resources from
26
+ # the Google
27
+ # Play Game service.
26
28
  #
27
29
  # @example
28
30
  # require 'google/apis/games_management_v1management'
@@ -30,7 +32,7 @@ module Google
30
32
  # GamesManagement = Google::Apis::GamesManagementV1management # Alias the module
31
33
  # service = GamesManagement::GamesManagementService.new
32
34
  #
33
- # @see https://developers.google.com/games/services
35
+ # @see https://developers.google.com/games/
34
36
  class GamesManagementService < Google::Apis::Core::BaseService
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
@@ -38,31 +40,25 @@ module Google
38
40
  attr_accessor :key
39
41
 
40
42
  # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # characters.
43
+ # Available to use for quota purposes for server-side applications. Can be any
44
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
45
  attr_accessor :quota_user
44
46
 
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
47
  def initialize
50
- super('https://www.googleapis.com/', 'games/v1management/')
51
- @batch_path = 'batch/gamesManagement/v1management'
48
+ super('https://www.googleapis.com/', '')
49
+ @batch_path = 'batch/games/v1management'
52
50
  end
53
51
 
54
52
  # Resets the achievement with the given ID for the currently authenticated
55
- # player. This method is only accessible to whitelisted tester accounts for your
56
- # application.
53
+ # player. This method is only accessible to whitelisted tester accounts for
54
+ # your application.
57
55
  # @param [String] achievement_id
58
56
  # The ID of the achievement used by this method.
59
57
  # @param [String] fields
60
58
  # Selector specifying which fields to include in a partial response.
61
59
  # @param [String] quota_user
62
- # An opaque string that represents a user for quota purposes. Must not exceed 40
63
- # characters.
64
- # @param [String] user_ip
65
- # Deprecated. Please use quotaUser instead.
60
+ # Available to use for quota purposes for server-side applications. Can be any
61
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
66
62
  # @param [Google::Apis::RequestOptions] options
67
63
  # Request-specific options
68
64
  #
@@ -75,27 +71,24 @@ module Google
75
71
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
76
72
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
77
73
  # @raise [Google::Apis::AuthorizationError] Authorization is required
78
- def reset_achievement(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
79
- command = make_simple_command(:post, 'achievements/{achievementId}/reset', options)
74
+ def reset_achievement(achievement_id, fields: nil, quota_user: nil, options: nil, &block)
75
+ command = make_simple_command(:post, 'games/v1management/achievements/{achievementId}/reset', options)
80
76
  command.response_representation = Google::Apis::GamesManagementV1management::AchievementResetResponse::Representation
81
77
  command.response_class = Google::Apis::GamesManagementV1management::AchievementResetResponse
82
78
  command.params['achievementId'] = achievement_id unless achievement_id.nil?
83
79
  command.query['fields'] = fields unless fields.nil?
84
80
  command.query['quotaUser'] = quota_user unless quota_user.nil?
85
- command.query['userIp'] = user_ip unless user_ip.nil?
86
81
  execute_or_queue_command(command, &block)
87
82
  end
88
83
 
89
84
  # Resets all achievements for the currently authenticated player for your
90
- # application. This method is only accessible to whitelisted tester accounts for
91
- # your application.
85
+ # application. This method is only accessible to whitelisted tester accounts
86
+ # for your application.
92
87
  # @param [String] fields
93
88
  # Selector specifying which fields to include in a partial response.
94
89
  # @param [String] quota_user
95
- # An opaque string that represents a user for quota purposes. Must not exceed 40
96
- # characters.
97
- # @param [String] user_ip
98
- # Deprecated. Please use quotaUser instead.
90
+ # Available to use for quota purposes for server-side applications. Can be any
91
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
99
92
  # @param [Google::Apis::RequestOptions] options
100
93
  # Request-specific options
101
94
  #
@@ -108,25 +101,22 @@ module Google
108
101
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
109
102
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
110
103
  # @raise [Google::Apis::AuthorizationError] Authorization is required
111
- def reset_achievement_all(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
112
- command = make_simple_command(:post, 'achievements/reset', options)
104
+ def reset_achievement_all(fields: nil, quota_user: nil, options: nil, &block)
105
+ command = make_simple_command(:post, 'games/v1management/achievements/reset', options)
113
106
  command.response_representation = Google::Apis::GamesManagementV1management::AchievementResetAllResponse::Representation
114
107
  command.response_class = Google::Apis::GamesManagementV1management::AchievementResetAllResponse
115
108
  command.query['fields'] = fields unless fields.nil?
116
109
  command.query['quotaUser'] = quota_user unless quota_user.nil?
117
- command.query['userIp'] = user_ip unless user_ip.nil?
118
110
  execute_or_queue_command(command, &block)
119
111
  end
120
112
 
121
- # Resets all draft achievements for all players. This method is only available
122
- # to user accounts for your developer console.
113
+ # Resets all draft achievements for all players. This method is only
114
+ # available to user accounts for your developer console.
123
115
  # @param [String] fields
124
116
  # Selector specifying which fields to include in a partial response.
125
117
  # @param [String] quota_user
126
- # An opaque string that represents a user for quota purposes. Must not exceed 40
127
- # characters.
128
- # @param [String] user_ip
129
- # Deprecated. Please use quotaUser instead.
118
+ # Available to use for quota purposes for server-side applications. Can be any
119
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
130
120
  # @param [Google::Apis::RequestOptions] options
131
121
  # Request-specific options
132
122
  #
@@ -139,26 +129,23 @@ module Google
139
129
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
140
130
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
141
131
  # @raise [Google::Apis::AuthorizationError] Authorization is required
142
- def reset_achievement_all_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
143
- command = make_simple_command(:post, 'achievements/resetAllForAllPlayers', options)
132
+ def reset_achievement_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
133
+ command = make_simple_command(:post, 'games/v1management/achievements/resetAllForAllPlayers', options)
144
134
  command.query['fields'] = fields unless fields.nil?
145
135
  command.query['quotaUser'] = quota_user unless quota_user.nil?
146
- command.query['userIp'] = user_ip unless user_ip.nil?
147
136
  execute_or_queue_command(command, &block)
148
137
  end
149
138
 
150
- # Resets the achievement with the given ID for all players. This method is only
151
- # available to user accounts for your developer console. Only draft achievements
152
- # can be reset.
139
+ # Resets the achievement with the given ID for all players. This method is
140
+ # only available to user accounts for your developer console. Only draft
141
+ # achievements can be reset.
153
142
  # @param [String] achievement_id
154
143
  # The ID of the achievement used by this method.
155
144
  # @param [String] fields
156
145
  # Selector specifying which fields to include in a partial response.
157
146
  # @param [String] quota_user
158
- # An opaque string that represents a user for quota purposes. Must not exceed 40
159
- # characters.
160
- # @param [String] user_ip
161
- # Deprecated. Please use quotaUser instead.
147
+ # Available to use for quota purposes for server-side applications. Can be any
148
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
162
149
  # @param [Google::Apis::RequestOptions] options
163
150
  # Request-specific options
164
151
  #
@@ -171,26 +158,23 @@ module Google
171
158
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
172
159
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
173
160
  # @raise [Google::Apis::AuthorizationError] Authorization is required
174
- def reset_achievement_for_all_players(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
175
- command = make_simple_command(:post, 'achievements/{achievementId}/resetForAllPlayers', options)
161
+ def reset_achievement_for_all_players(achievement_id, fields: nil, quota_user: nil, options: nil, &block)
162
+ command = make_simple_command(:post, 'games/v1management/achievements/{achievementId}/resetForAllPlayers', options)
176
163
  command.params['achievementId'] = achievement_id unless achievement_id.nil?
177
164
  command.query['fields'] = fields unless fields.nil?
178
165
  command.query['quotaUser'] = quota_user unless quota_user.nil?
179
- command.query['userIp'] = user_ip unless user_ip.nil?
180
166
  execute_or_queue_command(command, &block)
181
167
  end
182
168
 
183
169
  # Resets achievements with the given IDs for all players. This method is only
184
- # available to user accounts for your developer console. Only draft achievements
185
- # may be reset.
170
+ # available to user accounts for your developer console. Only draft
171
+ # achievements may be reset.
186
172
  # @param [Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest] achievement_reset_multiple_for_all_request_object
187
173
  # @param [String] fields
188
174
  # Selector specifying which fields to include in a partial response.
189
175
  # @param [String] quota_user
190
- # An opaque string that represents a user for quota purposes. Must not exceed 40
191
- # characters.
192
- # @param [String] user_ip
193
- # Deprecated. Please use quotaUser instead.
176
+ # Available to use for quota purposes for server-side applications. Can be any
177
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
194
178
  # @param [Google::Apis::RequestOptions] options
195
179
  # Request-specific options
196
180
  #
@@ -203,33 +187,30 @@ module Google
203
187
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
204
188
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
205
189
  # @raise [Google::Apis::AuthorizationError] Authorization is required
206
- def reset_achievement_multiple_for_all_players(achievement_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
207
- command = make_simple_command(:post, 'achievements/resetMultipleForAllPlayers', options)
190
+ def reset_achievement_multiple_for_all_players(achievement_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
191
+ command = make_simple_command(:post, 'games/v1management/achievements/resetMultipleForAllPlayers', options)
208
192
  command.request_representation = Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest::Representation
209
193
  command.request_object = achievement_reset_multiple_for_all_request_object
210
194
  command.query['fields'] = fields unless fields.nil?
211
195
  command.query['quotaUser'] = quota_user unless quota_user.nil?
212
- command.query['userIp'] = user_ip unless user_ip.nil?
213
196
  execute_or_queue_command(command, &block)
214
197
  end
215
198
 
216
- # Get the list of players hidden from the given application. This method is only
217
- # available to user accounts for your developer console.
199
+ # Get the list of players hidden from the given application. This method is
200
+ # only available to user accounts for your developer console.
218
201
  # @param [String] application_id
219
202
  # The application ID from the Google Play developer console.
220
203
  # @param [Fixnum] max_results
221
204
  # The maximum number of player resources to return in the response, used for
222
- # paging. For any response, the actual number of player resources returned may
223
- # be less than the specified maxResults.
205
+ # paging. For any response, the actual number of player resources returned
206
+ # may be less than the specified `maxResults`.
224
207
  # @param [String] page_token
225
208
  # The token returned by the previous request.
226
209
  # @param [String] fields
227
210
  # Selector specifying which fields to include in a partial response.
228
211
  # @param [String] quota_user
229
- # An opaque string that represents a user for quota purposes. Must not exceed 40
230
- # characters.
231
- # @param [String] user_ip
232
- # Deprecated. Please use quotaUser instead.
212
+ # Available to use for quota purposes for server-side applications. Can be any
213
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
233
214
  # @param [Google::Apis::RequestOptions] options
234
215
  # Request-specific options
235
216
  #
@@ -242,8 +223,8 @@ module Google
242
223
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
243
224
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
244
225
  # @raise [Google::Apis::AuthorizationError] Authorization is required
245
- def list_application_hidden(application_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
246
- command = make_simple_command(:get, 'applications/{applicationId}/players/hidden', options)
226
+ def list_application_hidden(application_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
227
+ command = make_simple_command(:get, 'games/v1management/applications/{applicationId}/players/hidden', options)
247
228
  command.response_representation = Google::Apis::GamesManagementV1management::HiddenPlayerList::Representation
248
229
  command.response_class = Google::Apis::GamesManagementV1management::HiddenPlayerList
249
230
  command.params['applicationId'] = application_id unless application_id.nil?
@@ -251,7 +232,6 @@ module Google
251
232
  command.query['pageToken'] = page_token unless page_token.nil?
252
233
  command.query['fields'] = fields unless fields.nil?
253
234
  command.query['quotaUser'] = quota_user unless quota_user.nil?
254
- command.query['userIp'] = user_ip unless user_ip.nil?
255
235
  execute_or_queue_command(command, &block)
256
236
  end
257
237
 
@@ -263,10 +243,8 @@ module Google
263
243
  # @param [String] fields
264
244
  # Selector specifying which fields to include in a partial response.
265
245
  # @param [String] quota_user
266
- # An opaque string that represents a user for quota purposes. Must not exceed 40
267
- # characters.
268
- # @param [String] user_ip
269
- # Deprecated. Please use quotaUser instead.
246
+ # Available to use for quota purposes for server-side applications. Can be any
247
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
270
248
  # @param [Google::Apis::RequestOptions] options
271
249
  # Request-specific options
272
250
  #
@@ -279,25 +257,22 @@ module Google
279
257
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
280
258
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
281
259
  # @raise [Google::Apis::AuthorizationError] Authorization is required
282
- def reset_event(event_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
283
- command = make_simple_command(:post, 'events/{eventId}/reset', options)
260
+ def reset_event(event_id, fields: nil, quota_user: nil, options: nil, &block)
261
+ command = make_simple_command(:post, 'games/v1management/events/{eventId}/reset', options)
284
262
  command.params['eventId'] = event_id unless event_id.nil?
285
263
  command.query['fields'] = fields unless fields.nil?
286
264
  command.query['quotaUser'] = quota_user unless quota_user.nil?
287
- command.query['userIp'] = user_ip unless user_ip.nil?
288
265
  execute_or_queue_command(command, &block)
289
266
  end
290
267
 
291
268
  # Resets all player progress on all events for the currently authenticated
292
- # player. This method is only accessible to whitelisted tester accounts for your
293
- # application.
269
+ # player. This method is only accessible to whitelisted tester accounts for
270
+ # your application.
294
271
  # @param [String] fields
295
272
  # Selector specifying which fields to include in a partial response.
296
273
  # @param [String] quota_user
297
- # An opaque string that represents a user for quota purposes. Must not exceed 40
298
- # characters.
299
- # @param [String] user_ip
300
- # Deprecated. Please use quotaUser instead.
274
+ # Available to use for quota purposes for server-side applications. Can be any
275
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
301
276
  # @param [Google::Apis::RequestOptions] options
302
277
  # Request-specific options
303
278
  #
@@ -310,23 +285,20 @@ module Google
310
285
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
311
286
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
312
287
  # @raise [Google::Apis::AuthorizationError] Authorization is required
313
- def reset_event_all(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
314
- command = make_simple_command(:post, 'events/reset', options)
288
+ def reset_event_all(fields: nil, quota_user: nil, options: nil, &block)
289
+ command = make_simple_command(:post, 'games/v1management/events/reset', options)
315
290
  command.query['fields'] = fields unless fields.nil?
316
291
  command.query['quotaUser'] = quota_user unless quota_user.nil?
317
- command.query['userIp'] = user_ip unless user_ip.nil?
318
292
  execute_or_queue_command(command, &block)
319
293
  end
320
294
 
321
- # Resets all draft events for all players. This method is only available to user
322
- # accounts for your developer console.
295
+ # Resets all draft events for all players. This method is only available to
296
+ # user accounts for your developer console.
323
297
  # @param [String] fields
324
298
  # Selector specifying which fields to include in a partial response.
325
299
  # @param [String] quota_user
326
- # An opaque string that represents a user for quota purposes. Must not exceed 40
327
- # characters.
328
- # @param [String] user_ip
329
- # Deprecated. Please use quotaUser instead.
300
+ # Available to use for quota purposes for server-side applications. Can be any
301
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
330
302
  # @param [Google::Apis::RequestOptions] options
331
303
  # Request-specific options
332
304
  #
@@ -339,26 +311,23 @@ module Google
339
311
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
340
312
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
341
313
  # @raise [Google::Apis::AuthorizationError] Authorization is required
342
- def reset_event_all_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
343
- command = make_simple_command(:post, 'events/resetAllForAllPlayers', options)
314
+ def reset_event_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
315
+ command = make_simple_command(:post, 'games/v1management/events/resetAllForAllPlayers', options)
344
316
  command.query['fields'] = fields unless fields.nil?
345
317
  command.query['quotaUser'] = quota_user unless quota_user.nil?
346
- command.query['userIp'] = user_ip unless user_ip.nil?
347
318
  execute_or_queue_command(command, &block)
348
319
  end
349
320
 
350
321
  # Resets the event with the given ID for all players. This method is only
351
- # available to user accounts for your developer console. Only draft events can
352
- # be reset.
322
+ # available to user accounts for your developer console. Only draft events
323
+ # can be reset.
353
324
  # @param [String] event_id
354
325
  # The ID of the event.
355
326
  # @param [String] fields
356
327
  # Selector specifying which fields to include in a partial response.
357
328
  # @param [String] quota_user
358
- # An opaque string that represents a user for quota purposes. Must not exceed 40
359
- # characters.
360
- # @param [String] user_ip
361
- # Deprecated. Please use quotaUser instead.
329
+ # Available to use for quota purposes for server-side applications. Can be any
330
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
362
331
  # @param [Google::Apis::RequestOptions] options
363
332
  # Request-specific options
364
333
  #
@@ -371,26 +340,23 @@ module Google
371
340
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
372
341
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
373
342
  # @raise [Google::Apis::AuthorizationError] Authorization is required
374
- def reset_event_for_all_players(event_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
375
- command = make_simple_command(:post, 'events/{eventId}/resetForAllPlayers', options)
343
+ def reset_event_for_all_players(event_id, fields: nil, quota_user: nil, options: nil, &block)
344
+ command = make_simple_command(:post, 'games/v1management/events/{eventId}/resetForAllPlayers', options)
376
345
  command.params['eventId'] = event_id unless event_id.nil?
377
346
  command.query['fields'] = fields unless fields.nil?
378
347
  command.query['quotaUser'] = quota_user unless quota_user.nil?
379
- command.query['userIp'] = user_ip unless user_ip.nil?
380
348
  execute_or_queue_command(command, &block)
381
349
  end
382
350
 
383
351
  # Resets events with the given IDs for all players. This method is only
384
- # available to user accounts for your developer console. Only draft events may
385
- # be reset.
352
+ # available to user accounts for your developer console. Only draft events
353
+ # may be reset.
386
354
  # @param [Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest] events_reset_multiple_for_all_request_object
387
355
  # @param [String] fields
388
356
  # Selector specifying which fields to include in a partial response.
389
357
  # @param [String] quota_user
390
- # An opaque string that represents a user for quota purposes. Must not exceed 40
391
- # characters.
392
- # @param [String] user_ip
393
- # Deprecated. Please use quotaUser instead.
358
+ # Available to use for quota purposes for server-side applications. Can be any
359
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
394
360
  # @param [Google::Apis::RequestOptions] options
395
361
  # Request-specific options
396
362
  #
@@ -403,13 +369,12 @@ module Google
403
369
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
404
370
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
405
371
  # @raise [Google::Apis::AuthorizationError] Authorization is required
406
- def reset_event_multiple_for_all_players(events_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
407
- command = make_simple_command(:post, 'events/resetMultipleForAllPlayers', options)
372
+ def reset_event_multiple_for_all_players(events_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
373
+ command = make_simple_command(:post, 'games/v1management/events/resetMultipleForAllPlayers', options)
408
374
  command.request_representation = Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest::Representation
409
375
  command.request_object = events_reset_multiple_for_all_request_object
410
376
  command.query['fields'] = fields unless fields.nil?
411
377
  command.query['quotaUser'] = quota_user unless quota_user.nil?
412
- command.query['userIp'] = user_ip unless user_ip.nil?
413
378
  execute_or_queue_command(command, &block)
414
379
  end
415
380
 
@@ -418,15 +383,13 @@ module Google
418
383
  # @param [String] application_id
419
384
  # The application ID from the Google Play developer console.
420
385
  # @param [String] player_id
421
- # A player ID. A value of me may be used in place of the authenticated player's
422
- # ID.
386
+ # A player ID. A value of `me` may be used in place of the
387
+ # authenticated player's ID.
423
388
  # @param [String] fields
424
389
  # Selector specifying which fields to include in a partial response.
425
390
  # @param [String] quota_user
426
- # An opaque string that represents a user for quota purposes. Must not exceed 40
427
- # characters.
428
- # @param [String] user_ip
429
- # Deprecated. Please use quotaUser instead.
391
+ # Available to use for quota purposes for server-side applications. Can be any
392
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
430
393
  # @param [Google::Apis::RequestOptions] options
431
394
  # Request-specific options
432
395
  #
@@ -439,30 +402,27 @@ module Google
439
402
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
440
403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
441
404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
442
- def hide_player(application_id, player_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
443
- command = make_simple_command(:post, 'applications/{applicationId}/players/hidden/{playerId}', options)
405
+ def hide_player(application_id, player_id, fields: nil, quota_user: nil, options: nil, &block)
406
+ command = make_simple_command(:post, 'games/v1management/applications/{applicationId}/players/hidden/{playerId}', options)
444
407
  command.params['applicationId'] = application_id unless application_id.nil?
445
408
  command.params['playerId'] = player_id unless player_id.nil?
446
409
  command.query['fields'] = fields unless fields.nil?
447
410
  command.query['quotaUser'] = quota_user unless quota_user.nil?
448
- command.query['userIp'] = user_ip unless user_ip.nil?
449
411
  execute_or_queue_command(command, &block)
450
412
  end
451
413
 
452
- # Unhide the given player's leaderboard scores from the given application. This
453
- # method is only available to user accounts for your developer console.
414
+ # Unhide the given player's leaderboard scores from the given application.
415
+ # This method is only available to user accounts for your developer console.
454
416
  # @param [String] application_id
455
417
  # The application ID from the Google Play developer console.
456
418
  # @param [String] player_id
457
- # A player ID. A value of me may be used in place of the authenticated player's
458
- # ID.
419
+ # A player ID. A value of `me` may be used in place of the
420
+ # authenticated player's ID.
459
421
  # @param [String] fields
460
422
  # Selector specifying which fields to include in a partial response.
461
423
  # @param [String] quota_user
462
- # An opaque string that represents a user for quota purposes. Must not exceed 40
463
- # characters.
464
- # @param [String] user_ip
465
- # Deprecated. Please use quotaUser instead.
424
+ # Available to use for quota purposes for server-side applications. Can be any
425
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
466
426
  # @param [Google::Apis::RequestOptions] options
467
427
  # Request-specific options
468
428
  #
@@ -475,73 +435,12 @@ module Google
475
435
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
476
436
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
477
437
  # @raise [Google::Apis::AuthorizationError] Authorization is required
478
- def unhide_player(application_id, player_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
479
- command = make_simple_command(:delete, 'applications/{applicationId}/players/hidden/{playerId}', options)
438
+ def unhide_player(application_id, player_id, fields: nil, quota_user: nil, options: nil, &block)
439
+ command = make_simple_command(:delete, 'games/v1management/applications/{applicationId}/players/hidden/{playerId}', options)
480
440
  command.params['applicationId'] = application_id unless application_id.nil?
481
441
  command.params['playerId'] = player_id unless player_id.nil?
482
442
  command.query['fields'] = fields unless fields.nil?
483
443
  command.query['quotaUser'] = quota_user unless quota_user.nil?
484
- command.query['userIp'] = user_ip unless user_ip.nil?
485
- execute_or_queue_command(command, &block)
486
- end
487
-
488
- # Reset all rooms for the currently authenticated player for your application.
489
- # This method is only accessible to whitelisted tester accounts for your
490
- # application.
491
- # @param [String] fields
492
- # Selector specifying which fields to include in a partial response.
493
- # @param [String] quota_user
494
- # An opaque string that represents a user for quota purposes. Must not exceed 40
495
- # characters.
496
- # @param [String] user_ip
497
- # Deprecated. Please use quotaUser instead.
498
- # @param [Google::Apis::RequestOptions] options
499
- # Request-specific options
500
- #
501
- # @yield [result, err] Result & error if block supplied
502
- # @yieldparam result [NilClass] No result returned for this method
503
- # @yieldparam err [StandardError] error object if request failed
504
- #
505
- # @return [void]
506
- #
507
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
508
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
509
- # @raise [Google::Apis::AuthorizationError] Authorization is required
510
- def reset_room(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
511
- command = make_simple_command(:post, 'rooms/reset', options)
512
- command.query['fields'] = fields unless fields.nil?
513
- command.query['quotaUser'] = quota_user unless quota_user.nil?
514
- command.query['userIp'] = user_ip unless user_ip.nil?
515
- execute_or_queue_command(command, &block)
516
- end
517
-
518
- # Deletes rooms where the only room participants are from whitelisted tester
519
- # accounts for your application. This method is only available to user accounts
520
- # for your developer console.
521
- # @param [String] fields
522
- # Selector specifying which fields to include in a partial response.
523
- # @param [String] quota_user
524
- # An opaque string that represents a user for quota purposes. Must not exceed 40
525
- # characters.
526
- # @param [String] user_ip
527
- # Deprecated. Please use quotaUser instead.
528
- # @param [Google::Apis::RequestOptions] options
529
- # Request-specific options
530
- #
531
- # @yield [result, err] Result & error if block supplied
532
- # @yieldparam result [NilClass] No result returned for this method
533
- # @yieldparam err [StandardError] error object if request failed
534
- #
535
- # @return [void]
536
- #
537
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
538
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
539
- # @raise [Google::Apis::AuthorizationError] Authorization is required
540
- def reset_room_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
541
- command = make_simple_command(:post, 'rooms/resetForAllPlayers', options)
542
- command.query['fields'] = fields unless fields.nil?
543
- command.query['quotaUser'] = quota_user unless quota_user.nil?
544
- command.query['userIp'] = user_ip unless user_ip.nil?
545
444
  execute_or_queue_command(command, &block)
546
445
  end
547
446
 
@@ -553,10 +452,8 @@ module Google
553
452
  # @param [String] fields
554
453
  # Selector specifying which fields to include in a partial response.
555
454
  # @param [String] quota_user
556
- # An opaque string that represents a user for quota purposes. Must not exceed 40
557
- # characters.
558
- # @param [String] user_ip
559
- # Deprecated. Please use quotaUser instead.
455
+ # Available to use for quota purposes for server-side applications. Can be any
456
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
560
457
  # @param [Google::Apis::RequestOptions] options
561
458
  # Request-specific options
562
459
  #
@@ -569,27 +466,24 @@ module Google
569
466
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
570
467
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
571
468
  # @raise [Google::Apis::AuthorizationError] Authorization is required
572
- def reset_score(leaderboard_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
573
- command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores/reset', options)
469
+ def reset_score(leaderboard_id, fields: nil, quota_user: nil, options: nil, &block)
470
+ command = make_simple_command(:post, 'games/v1management/leaderboards/{leaderboardId}/scores/reset', options)
574
471
  command.response_representation = Google::Apis::GamesManagementV1management::PlayerScoreResetResponse::Representation
575
472
  command.response_class = Google::Apis::GamesManagementV1management::PlayerScoreResetResponse
576
473
  command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
577
474
  command.query['fields'] = fields unless fields.nil?
578
475
  command.query['quotaUser'] = quota_user unless quota_user.nil?
579
- command.query['userIp'] = user_ip unless user_ip.nil?
580
476
  execute_or_queue_command(command, &block)
581
477
  end
582
478
 
583
- # Resets all scores for all leaderboards for the currently authenticated players.
584
- # This method is only accessible to whitelisted tester accounts for your
585
- # application.
479
+ # Resets all scores for all leaderboards for the currently authenticated
480
+ # players. This method is only accessible to whitelisted tester accounts for
481
+ # your application.
586
482
  # @param [String] fields
587
483
  # Selector specifying which fields to include in a partial response.
588
484
  # @param [String] quota_user
589
- # An opaque string that represents a user for quota purposes. Must not exceed 40
590
- # characters.
591
- # @param [String] user_ip
592
- # Deprecated. Please use quotaUser instead.
485
+ # Available to use for quota purposes for server-side applications. Can be any
486
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
593
487
  # @param [Google::Apis::RequestOptions] options
594
488
  # Request-specific options
595
489
  #
@@ -602,25 +496,22 @@ module Google
602
496
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
603
497
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
604
498
  # @raise [Google::Apis::AuthorizationError] Authorization is required
605
- def reset_score_all(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
606
- command = make_simple_command(:post, 'scores/reset', options)
499
+ def reset_score_all(fields: nil, quota_user: nil, options: nil, &block)
500
+ command = make_simple_command(:post, 'games/v1management/scores/reset', options)
607
501
  command.response_representation = Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse::Representation
608
502
  command.response_class = Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse
609
503
  command.query['fields'] = fields unless fields.nil?
610
504
  command.query['quotaUser'] = quota_user unless quota_user.nil?
611
- command.query['userIp'] = user_ip unless user_ip.nil?
612
505
  execute_or_queue_command(command, &block)
613
506
  end
614
507
 
615
- # Resets scores for all draft leaderboards for all players. This method is only
616
- # available to user accounts for your developer console.
508
+ # Resets scores for all draft leaderboards for all players. This method is
509
+ # only available to user accounts for your developer console.
617
510
  # @param [String] fields
618
511
  # Selector specifying which fields to include in a partial response.
619
512
  # @param [String] quota_user
620
- # An opaque string that represents a user for quota purposes. Must not exceed 40
621
- # characters.
622
- # @param [String] user_ip
623
- # Deprecated. Please use quotaUser instead.
513
+ # Available to use for quota purposes for server-side applications. Can be any
514
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
624
515
  # @param [Google::Apis::RequestOptions] options
625
516
  # Request-specific options
626
517
  #
@@ -633,11 +524,10 @@ module Google
633
524
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
634
525
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
635
526
  # @raise [Google::Apis::AuthorizationError] Authorization is required
636
- def reset_score_all_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
637
- command = make_simple_command(:post, 'scores/resetAllForAllPlayers', options)
527
+ def reset_score_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
528
+ command = make_simple_command(:post, 'games/v1management/scores/resetAllForAllPlayers', options)
638
529
  command.query['fields'] = fields unless fields.nil?
639
530
  command.query['quotaUser'] = quota_user unless quota_user.nil?
640
- command.query['userIp'] = user_ip unless user_ip.nil?
641
531
  execute_or_queue_command(command, &block)
642
532
  end
643
533
 
@@ -649,10 +539,8 @@ module Google
649
539
  # @param [String] fields
650
540
  # Selector specifying which fields to include in a partial response.
651
541
  # @param [String] quota_user
652
- # An opaque string that represents a user for quota purposes. Must not exceed 40
653
- # characters.
654
- # @param [String] user_ip
655
- # Deprecated. Please use quotaUser instead.
542
+ # Available to use for quota purposes for server-side applications. Can be any
543
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
656
544
  # @param [Google::Apis::RequestOptions] options
657
545
  # Request-specific options
658
546
  #
@@ -665,12 +553,11 @@ module Google
665
553
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
666
554
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
667
555
  # @raise [Google::Apis::AuthorizationError] Authorization is required
668
- def reset_score_for_all_players(leaderboard_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
669
- command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores/resetForAllPlayers', options)
556
+ def reset_score_for_all_players(leaderboard_id, fields: nil, quota_user: nil, options: nil, &block)
557
+ command = make_simple_command(:post, 'games/v1management/leaderboards/{leaderboardId}/scores/resetForAllPlayers', options)
670
558
  command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
671
559
  command.query['fields'] = fields unless fields.nil?
672
560
  command.query['quotaUser'] = quota_user unless quota_user.nil?
673
- command.query['userIp'] = user_ip unless user_ip.nil?
674
561
  execute_or_queue_command(command, &block)
675
562
  end
676
563
 
@@ -681,10 +568,8 @@ module Google
681
568
  # @param [String] fields
682
569
  # Selector specifying which fields to include in a partial response.
683
570
  # @param [String] quota_user
684
- # An opaque string that represents a user for quota purposes. Must not exceed 40
685
- # characters.
686
- # @param [String] user_ip
687
- # Deprecated. Please use quotaUser instead.
571
+ # Available to use for quota purposes for server-side applications. Can be any
572
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
688
573
  # @param [Google::Apis::RequestOptions] options
689
574
  # Request-specific options
690
575
  #
@@ -697,72 +582,12 @@ module Google
697
582
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
698
583
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
699
584
  # @raise [Google::Apis::AuthorizationError] Authorization is required
700
- def reset_score_multiple_for_all_players(scores_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
701
- command = make_simple_command(:post, 'scores/resetMultipleForAllPlayers', options)
585
+ def reset_score_multiple_for_all_players(scores_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
586
+ command = make_simple_command(:post, 'games/v1management/scores/resetMultipleForAllPlayers', options)
702
587
  command.request_representation = Google::Apis::GamesManagementV1management::ScoresResetMultipleForAllRequest::Representation
703
588
  command.request_object = scores_reset_multiple_for_all_request_object
704
589
  command.query['fields'] = fields unless fields.nil?
705
590
  command.query['quotaUser'] = quota_user unless quota_user.nil?
706
- command.query['userIp'] = user_ip unless user_ip.nil?
707
- execute_or_queue_command(command, &block)
708
- end
709
-
710
- # Reset all turn-based match data for a user. This method is only accessible to
711
- # whitelisted tester accounts for your application.
712
- # @param [String] fields
713
- # Selector specifying which fields to include in a partial response.
714
- # @param [String] quota_user
715
- # An opaque string that represents a user for quota purposes. Must not exceed 40
716
- # characters.
717
- # @param [String] user_ip
718
- # Deprecated. Please use quotaUser instead.
719
- # @param [Google::Apis::RequestOptions] options
720
- # Request-specific options
721
- #
722
- # @yield [result, err] Result & error if block supplied
723
- # @yieldparam result [NilClass] No result returned for this method
724
- # @yieldparam err [StandardError] error object if request failed
725
- #
726
- # @return [void]
727
- #
728
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
729
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
730
- # @raise [Google::Apis::AuthorizationError] Authorization is required
731
- def reset_turn_based_match(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
732
- command = make_simple_command(:post, 'turnbasedmatches/reset', options)
733
- command.query['fields'] = fields unless fields.nil?
734
- command.query['quotaUser'] = quota_user unless quota_user.nil?
735
- command.query['userIp'] = user_ip unless user_ip.nil?
736
- execute_or_queue_command(command, &block)
737
- end
738
-
739
- # Deletes turn-based matches where the only match participants are from
740
- # whitelisted tester accounts for your application. This method is only
741
- # available to user accounts for your developer console.
742
- # @param [String] fields
743
- # Selector specifying which fields to include in a partial response.
744
- # @param [String] quota_user
745
- # An opaque string that represents a user for quota purposes. Must not exceed 40
746
- # characters.
747
- # @param [String] user_ip
748
- # Deprecated. Please use quotaUser instead.
749
- # @param [Google::Apis::RequestOptions] options
750
- # Request-specific options
751
- #
752
- # @yield [result, err] Result & error if block supplied
753
- # @yieldparam result [NilClass] No result returned for this method
754
- # @yieldparam err [StandardError] error object if request failed
755
- #
756
- # @return [void]
757
- #
758
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
759
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
760
- # @raise [Google::Apis::AuthorizationError] Authorization is required
761
- def reset_turn_based_match_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
762
- command = make_simple_command(:post, 'turnbasedmatches/resetForAllPlayers', options)
763
- command.query['fields'] = fields unless fields.nil?
764
- command.query['quotaUser'] = quota_user unless quota_user.nil?
765
- command.query['userIp'] = user_ip unless user_ip.nil?
766
591
  execute_or_queue_command(command, &block)
767
592
  end
768
593
 
@@ -771,7 +596,6 @@ module Google
771
596
  def apply_command_defaults(command)
772
597
  command.query['key'] = key unless key.nil?
773
598
  command.query['quotaUser'] = quota_user unless quota_user.nil?
774
- command.query['userIp'] = user_ip unless user_ip.nil?
775
599
  end
776
600
  end
777
601
  end