google-api-client 0.40.1 → 0.42.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +280 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/service.rb +1 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  18. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  19. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  20. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  21. data/generated/google/apis/androidpublisher_v3/classes.rb +494 -698
  22. data/generated/google/apis/androidpublisher_v3/representations.rb +18 -167
  23. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  24. data/generated/google/apis/apigee_v1.rb +1 -1
  25. data/generated/google/apis/apigee_v1/classes.rb +1492 -112
  26. data/generated/google/apis/apigee_v1/representations.rb +560 -0
  27. data/generated/google/apis/apigee_v1/service.rb +1162 -117
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  31. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  32. data/generated/google/apis/bigquery_v2.rb +1 -1
  33. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  34. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  35. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  36. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  37. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  38. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  39. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  40. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  41. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  42. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  43. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  44. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  46. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  50. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  51. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  52. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  53. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  54. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  55. data/generated/google/apis/books_v1.rb +1 -1
  56. data/generated/google/apis/books_v1/service.rb +2 -2
  57. data/generated/google/apis/calendar_v3.rb +1 -1
  58. data/generated/google/apis/chat_v1.rb +1 -1
  59. data/generated/google/apis/chat_v1/classes.rb +2 -0
  60. data/generated/google/apis/civicinfo_v2.rb +2 -2
  61. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  62. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  63. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  64. data/generated/google/apis/classroom_v1.rb +1 -1
  65. data/generated/google/apis/classroom_v1/service.rb +4 -3
  66. data/generated/google/apis/cloudasset_v1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  68. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  69. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  70. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  72. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  73. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  74. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  75. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  76. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  77. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  79. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  80. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  81. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  82. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  83. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1/classes.rb +273 -13
  85. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  86. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  87. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +286 -26
  89. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  90. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  91. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  92. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +286 -26
  93. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  94. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  95. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  96. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  97. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  98. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  99. data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
  100. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  101. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  102. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  103. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  104. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  107. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  108. data/generated/google/apis/cloudkms_v1.rb +1 -1
  109. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  110. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  112. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  113. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  116. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  118. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  120. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  121. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  122. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  123. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  124. data/generated/google/apis/composer_v1beta1.rb +1 -1
  125. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  126. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  127. data/generated/google/apis/compute_alpha.rb +1 -1
  128. data/generated/google/apis/compute_alpha/classes.rb +725 -107
  129. data/generated/google/apis/compute_alpha/representations.rb +206 -0
  130. data/generated/google/apis/compute_alpha/service.rb +888 -139
  131. data/generated/google/apis/compute_beta.rb +1 -1
  132. data/generated/google/apis/compute_beta/classes.rb +439 -105
  133. data/generated/google/apis/compute_beta/representations.rb +94 -0
  134. data/generated/google/apis/compute_beta/service.rb +308 -33
  135. data/generated/google/apis/compute_v1.rb +1 -1
  136. data/generated/google/apis/compute_v1/classes.rb +701 -71
  137. data/generated/google/apis/compute_v1/representations.rb +200 -0
  138. data/generated/google/apis/compute_v1/service.rb +522 -33
  139. data/generated/google/apis/container_v1.rb +1 -1
  140. data/generated/google/apis/container_v1/classes.rb +123 -5
  141. data/generated/google/apis/container_v1/representations.rb +50 -0
  142. data/generated/google/apis/container_v1beta1.rb +1 -1
  143. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  144. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  145. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  146. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  147. data/generated/google/apis/content_v2.rb +1 -1
  148. data/generated/google/apis/content_v2/classes.rb +7 -1
  149. data/generated/google/apis/content_v2/representations.rb +1 -0
  150. data/generated/google/apis/content_v2/service.rb +10 -5
  151. data/generated/google/apis/content_v2_1.rb +1 -1
  152. data/generated/google/apis/content_v2_1/classes.rb +265 -7
  153. data/generated/google/apis/content_v2_1/representations.rb +108 -0
  154. data/generated/google/apis/content_v2_1/service.rb +10 -5
  155. data/generated/google/apis/customsearch_v1.rb +1 -1
  156. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  157. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  158. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  159. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  160. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  161. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  162. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  163. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  164. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  165. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  166. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  167. data/generated/google/apis/dataproc_v1.rb +1 -1
  168. data/generated/google/apis/dataproc_v1/classes.rb +49 -2
  169. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  170. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  171. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -2
  172. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  173. data/generated/google/apis/dialogflow_v2.rb +1 -1
  174. data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
  175. data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
  176. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  177. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  178. data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
  179. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
  180. data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
  181. data/generated/google/apis/displayvideo_v1.rb +1 -1
  182. data/generated/google/apis/displayvideo_v1/classes.rb +118 -11
  183. data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
  184. data/generated/google/apis/displayvideo_v1/service.rb +78 -1
  185. data/generated/google/apis/dlp_v2.rb +1 -1
  186. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  187. data/generated/google/apis/dlp_v2/service.rb +170 -64
  188. data/generated/google/apis/dns_v1.rb +4 -4
  189. data/generated/google/apis/dns_v1/classes.rb +313 -162
  190. data/generated/google/apis/dns_v1/service.rb +247 -180
  191. data/generated/google/apis/dns_v1beta2.rb +4 -4
  192. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  193. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  194. data/generated/google/apis/documentai_v1beta2.rb +36 -0
  195. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  196. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  197. data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
  198. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  199. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  200. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  201. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  202. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  203. data/generated/google/apis/drive_v2.rb +1 -1
  204. data/generated/google/apis/drive_v2/classes.rb +9 -0
  205. data/generated/google/apis/drive_v2/representations.rb +1 -0
  206. data/generated/google/apis/drive_v2/service.rb +26 -78
  207. data/generated/google/apis/drive_v3.rb +1 -1
  208. data/generated/google/apis/drive_v3/classes.rb +9 -0
  209. data/generated/google/apis/drive_v3/representations.rb +1 -0
  210. data/generated/google/apis/drive_v3/service.rb +18 -54
  211. data/generated/google/apis/fcm_v1.rb +1 -1
  212. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  213. data/generated/google/apis/file_v1.rb +1 -1
  214. data/generated/google/apis/file_v1beta1.rb +1 -1
  215. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  216. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  217. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  218. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -11
  219. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  220. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  221. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  222. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  224. data/generated/google/apis/games_v1.rb +6 -4
  225. data/generated/google/apis/games_v1/classes.rb +354 -2112
  226. data/generated/google/apis/games_v1/representations.rb +12 -647
  227. data/generated/google/apis/games_v1/service.rb +212 -1154
  228. data/generated/google/apis/{androidpublisher_v2.rb → gameservices_v1.rb} +11 -11
  229. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  230. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  231. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  232. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  233. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  234. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  236. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  237. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  238. data/generated/google/apis/gmail_v1.rb +3 -2
  239. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  240. data/generated/google/apis/gmail_v1/service.rb +551 -743
  241. data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
  242. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  243. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  244. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  245. data/generated/google/apis/groupssettings_v1.rb +1 -1
  246. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  247. data/generated/google/apis/healthcare_v1.rb +1 -1
  248. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  249. data/generated/google/apis/healthcare_v1/service.rb +2 -0
  250. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  251. data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
  252. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  253. data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
  254. data/generated/google/apis/iam_v1.rb +1 -1
  255. data/generated/google/apis/iam_v1/classes.rb +92 -81
  256. data/generated/google/apis/iam_v1/service.rb +167 -148
  257. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  258. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  259. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  260. data/generated/google/apis/jobs_v3.rb +1 -1
  261. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  262. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  263. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  264. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  265. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  266. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  267. data/generated/google/apis/logging_v2.rb +1 -1
  268. data/generated/google/apis/logging_v2/classes.rb +69 -21
  269. data/generated/google/apis/managedidentities_v1.rb +1 -1
  270. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  271. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  272. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  273. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  274. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  275. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  276. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  277. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  278. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  279. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  280. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  281. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  282. data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
  283. data/generated/google/apis/ml_v1.rb +1 -1
  284. data/generated/google/apis/ml_v1/classes.rb +14 -6
  285. data/generated/google/apis/ml_v1/representations.rb +1 -0
  286. data/generated/google/apis/monitoring_v1.rb +1 -1
  287. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  288. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  289. data/generated/google/apis/monitoring_v3.rb +1 -1
  290. data/generated/google/apis/monitoring_v3/classes.rb +78 -21
  291. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  292. data/generated/google/apis/monitoring_v3/service.rb +8 -5
  293. data/generated/google/apis/osconfig_v1.rb +1 -1
  294. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  295. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  296. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  297. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  298. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  299. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  300. data/generated/google/apis/people_v1.rb +4 -1
  301. data/generated/google/apis/people_v1/classes.rb +122 -6
  302. data/generated/google/apis/people_v1/representations.rb +51 -0
  303. data/generated/google/apis/people_v1/service.rb +339 -69
  304. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  305. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  306. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  307. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  308. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  309. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  310. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  311. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  312. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  313. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  314. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  315. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  319. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
  320. data/generated/google/apis/pubsub_v1.rb +1 -1
  321. data/generated/google/apis/pubsub_v1/classes.rb +77 -37
  322. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  323. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  324. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  325. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  326. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  327. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  328. data/generated/google/apis/recommender_v1.rb +1 -1
  329. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  330. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  331. data/generated/google/apis/recommender_v1/service.rb +123 -0
  332. data/generated/google/apis/redis_v1.rb +1 -1
  333. data/generated/google/apis/redis_v1/classes.rb +1 -1
  334. data/generated/google/apis/redis_v1/service.rb +1 -1
  335. data/generated/google/apis/redis_v1beta1.rb +1 -1
  336. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  337. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  338. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  339. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  342. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  344. data/generated/google/apis/run_v1.rb +1 -1
  345. data/generated/google/apis/run_v1/classes.rb +7 -9
  346. data/generated/google/apis/run_v1alpha1.rb +1 -1
  347. data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
  348. data/generated/google/apis/run_v1beta1.rb +1 -1
  349. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  350. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  351. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  352. data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
  353. data/generated/google/apis/secretmanager_v1.rb +1 -1
  354. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  355. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  356. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  357. data/generated/google/apis/securitycenter_v1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  359. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  361. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  362. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  363. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  364. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  365. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  366. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  367. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  369. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  370. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  371. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  372. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +126 -43
  373. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -1
  374. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +132 -43
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +2 -1
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  382. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  383. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  384. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  385. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  386. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  387. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  388. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  389. data/generated/google/apis/serviceusage_v1.rb +1 -1
  390. data/generated/google/apis/serviceusage_v1/classes.rb +133 -44
  391. data/generated/google/apis/serviceusage_v1/representations.rb +2 -1
  392. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  393. data/generated/google/apis/serviceusage_v1beta1/classes.rb +184 -44
  394. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -1
  395. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  396. data/generated/google/apis/sheets_v4.rb +1 -1
  397. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  398. data/generated/google/apis/slides_v1.rb +1 -1
  399. data/generated/google/apis/slides_v1/classes.rb +4 -0
  400. data/generated/google/apis/spanner_v1.rb +1 -1
  401. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  402. data/generated/google/apis/spanner_v1/service.rb +7 -0
  403. data/generated/google/apis/speech_v1.rb +1 -1
  404. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/storage_v1.rb +1 -1
  406. data/generated/google/apis/storage_v1/service.rb +2 -3
  407. data/generated/google/apis/testing_v1.rb +1 -1
  408. data/generated/google/apis/testing_v1/classes.rb +17 -6
  409. data/generated/google/apis/testing_v1/representations.rb +1 -0
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{androidpublisher_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/vision_v1.rb +1 -1
  419. data/generated/google/apis/vision_v1/classes.rb +18 -0
  420. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  422. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  423. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  424. data/generated/google/apis/webfonts_v1.rb +5 -5
  425. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  426. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  427. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  428. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  429. data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
  430. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  431. data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
  432. data/generated/google/apis/youtube_v3.rb +1 -1
  433. data/generated/google/apis/youtube_v3/classes.rb +592 -0
  434. data/generated/google/apis/youtube_v3/representations.rb +308 -0
  435. data/generated/google/apis/youtube_v3/service.rb +291 -0
  436. data/lib/google/apis/version.rb +1 -1
  437. metadata +31 -19
  438. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  439. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  440. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  441. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  442. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  443. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  444. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -107
@@ -12,15 +12,20 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
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'
15
+ require 'google/apis/playablelocations_v3/service.rb'
16
+ require 'google/apis/playablelocations_v3/classes.rb'
17
+ require 'google/apis/playablelocations_v3/representations.rb'
20
18
 
21
19
  module Google
22
20
  module Apis
23
- module AndroidpublisherV1
21
+ # Playable Locations API
22
+ #
23
+ #
24
+ #
25
+ # @see https://developers.google.com/maps/contact-sales/
26
+ module PlayablelocationsV3
27
+ VERSION = 'V3'
28
+ REVISION = '20200622'
24
29
  end
25
30
  end
26
31
  end
@@ -0,0 +1,633 @@
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 PlayablelocationsV3
24
+
25
+ # Encapsulates impression event details.
26
+ class GoogleMapsPlayablelocationsV3Impression
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # An arbitrary, developer-defined type identifier for each type of game
30
+ # object used in your game.
31
+ # Since players interact with differ types of game objects in different ways,
32
+ # this field allows you to segregate impression data by type for analysis.
33
+ # You should assign a unique `game_object_type` ID to represent a distinct
34
+ # type of game object in your game.
35
+ # For example, 1=monster location, 2=powerup location.
36
+ # Corresponds to the JSON property `gameObjectType`
37
+ # @return [Fixnum]
38
+ attr_accessor :game_object_type
39
+
40
+ # Required. The type of impression event.
41
+ # Corresponds to the JSON property `impressionType`
42
+ # @return [String]
43
+ attr_accessor :impression_type
44
+
45
+ # Required. The name of the playable location.
46
+ # Corresponds to the JSON property `locationName`
47
+ # @return [String]
48
+ attr_accessor :location_name
49
+
50
+ def initialize(**args)
51
+ update!(**args)
52
+ end
53
+
54
+ # Update properties of this object
55
+ def update!(**args)
56
+ @game_object_type = args[:game_object_type] if args.key?(:game_object_type)
57
+ @impression_type = args[:impression_type] if args.key?(:impression_type)
58
+ @location_name = args[:location_name] if args.key?(:location_name)
59
+ end
60
+ end
61
+
62
+ # A request for logging impressions.
63
+ class GoogleMapsPlayablelocationsV3LogImpressionsRequest
64
+ include Google::Apis::Core::Hashable
65
+
66
+ # Client information.
67
+ # Corresponds to the JSON property `clientInfo`
68
+ # @return [Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo]
69
+ attr_accessor :client_info
70
+
71
+ # Required. Impression event details. The maximum number of impression reports
72
+ # that you
73
+ # can log at once is 50.
74
+ # Corresponds to the JSON property `impressions`
75
+ # @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3Impression>]
76
+ attr_accessor :impressions
77
+
78
+ # Required. A string that uniquely identifies the log impressions request. This
79
+ # allows
80
+ # you to detect duplicate requests. We recommend that you use UUIDs for this
81
+ # value. The value must not exceed 50 characters.
82
+ # You should reuse the `request_id` only when retrying a request in case of
83
+ # failure. In this case, the request must be identical to the one that
84
+ # failed.
85
+ # Corresponds to the JSON property `requestId`
86
+ # @return [String]
87
+ attr_accessor :request_id
88
+
89
+ def initialize(**args)
90
+ update!(**args)
91
+ end
92
+
93
+ # Update properties of this object
94
+ def update!(**args)
95
+ @client_info = args[:client_info] if args.key?(:client_info)
96
+ @impressions = args[:impressions] if args.key?(:impressions)
97
+ @request_id = args[:request_id] if args.key?(:request_id)
98
+ end
99
+ end
100
+
101
+ # A response for the LogImpressions method.
102
+ # This method returns no data upon success.
103
+ class GoogleMapsPlayablelocationsV3LogImpressionsResponse
104
+ include Google::Apis::Core::Hashable
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ end
113
+ end
114
+
115
+ # A request for logging your player's bad location reports.
116
+ class GoogleMapsPlayablelocationsV3LogPlayerReportsRequest
117
+ include Google::Apis::Core::Hashable
118
+
119
+ # Client information.
120
+ # Corresponds to the JSON property `clientInfo`
121
+ # @return [Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo]
122
+ attr_accessor :client_info
123
+
124
+ # Required. Player reports. The maximum number of player reports that you can
125
+ # log at
126
+ # once is 50.
127
+ # Corresponds to the JSON property `playerReports`
128
+ # @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3PlayerReport>]
129
+ attr_accessor :player_reports
130
+
131
+ # Required. A string that uniquely identifies the log player reports request.
132
+ # This
133
+ # allows you to detect duplicate requests. We recommend that you use UUIDs
134
+ # for this value. The value must not exceed 50 characters.
135
+ # You should reuse the `request_id` only when retrying a request in the case
136
+ # of a failure. In that case, the request must be identical to the one that
137
+ # failed.
138
+ # Corresponds to the JSON property `requestId`
139
+ # @return [String]
140
+ attr_accessor :request_id
141
+
142
+ def initialize(**args)
143
+ update!(**args)
144
+ end
145
+
146
+ # Update properties of this object
147
+ def update!(**args)
148
+ @client_info = args[:client_info] if args.key?(:client_info)
149
+ @player_reports = args[:player_reports] if args.key?(:player_reports)
150
+ @request_id = args[:request_id] if args.key?(:request_id)
151
+ end
152
+ end
153
+
154
+ # A response for the LogPlayerReports
155
+ # method.
156
+ # This method returns no data upon success.
157
+ class GoogleMapsPlayablelocationsV3LogPlayerReportsResponse
158
+ include Google::Apis::Core::Hashable
159
+
160
+ def initialize(**args)
161
+ update!(**args)
162
+ end
163
+
164
+ # Update properties of this object
165
+ def update!(**args)
166
+ end
167
+ end
168
+
169
+ # A report submitted by a player about a playable location that is considered
170
+ # inappropriate for use in the game.
171
+ class GoogleMapsPlayablelocationsV3PlayerReport
172
+ include Google::Apis::Core::Hashable
173
+
174
+ # Language code (in BCP-47 format) indicating the language of the freeform
175
+ # description provided in `reason_details`. Examples are "en", "en-US" or
176
+ # "ja-Latn". For more information, see
177
+ # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
178
+ # Corresponds to the JSON property `languageCode`
179
+ # @return [String]
180
+ attr_accessor :language_code
181
+
182
+ # Required. The name of the playable location.
183
+ # Corresponds to the JSON property `locationName`
184
+ # @return [String]
185
+ attr_accessor :location_name
186
+
187
+ # Required. A free-form description detailing why the playable location is
188
+ # considered bad.
189
+ # Corresponds to the JSON property `reasonDetails`
190
+ # @return [String]
191
+ attr_accessor :reason_details
192
+
193
+ # Required. One or more reasons why this playable location is considered bad.
194
+ # Corresponds to the JSON property `reasons`
195
+ # @return [Array<String>]
196
+ attr_accessor :reasons
197
+
198
+ def initialize(**args)
199
+ update!(**args)
200
+ end
201
+
202
+ # Update properties of this object
203
+ def update!(**args)
204
+ @language_code = args[:language_code] if args.key?(:language_code)
205
+ @location_name = args[:location_name] if args.key?(:location_name)
206
+ @reason_details = args[:reason_details] if args.key?(:reason_details)
207
+ @reasons = args[:reasons] if args.key?(:reasons)
208
+ end
209
+ end
210
+
211
+ # Specifies the area to search for playable locations.
212
+ class GoogleMapsPlayablelocationsV3SampleAreaFilter
213
+ include Google::Apis::Core::Hashable
214
+
215
+ # Required. The S2 cell ID of the area you want. This must be between cell level
216
+ # 11 and
217
+ # 14 (inclusive).
218
+ # S2 cells are 64-bit integers that identify areas on the Earth. They are
219
+ # hierarchical, and can therefore be used for spatial indexing.
220
+ # The S2 geometry library is available in a number of languages:
221
+ # * [C++](https://github.com/google/s2geometry)
222
+ # * [Java](https://github.com/google/s2-geometry-library-java)
223
+ # * [Go](https://github.com/golang/geo)
224
+ # * [Python](https://github.com/google/s2geometry/tree/master/src/python)
225
+ # Corresponds to the JSON property `s2CellId`
226
+ # @return [Fixnum]
227
+ attr_accessor :s2_cell_id
228
+
229
+ def initialize(**args)
230
+ update!(**args)
231
+ end
232
+
233
+ # Update properties of this object
234
+ def update!(**args)
235
+ @s2_cell_id = args[:s2_cell_id] if args.key?(:s2_cell_id)
236
+ end
237
+ end
238
+
239
+ # Encapsulates a filter criterion for searching for a set of playable
240
+ # locations.
241
+ class GoogleMapsPlayablelocationsV3SampleCriterion
242
+ include Google::Apis::Core::Hashable
243
+
244
+ # Specifies which `PlayableLocation` fields are returned.
245
+ # `name` (which is used for logging impressions), `center_point` and
246
+ # `place_id` (or `plus_code`) are always returned.
247
+ # The following fields are omitted unless you specify them here:
248
+ # * snapped_point
249
+ # * types
250
+ # Note: The more fields you include, the more expensive in terms of data and
251
+ # associated latency your query will be.
252
+ # Corresponds to the JSON property `fieldsToReturn`
253
+ # @return [String]
254
+ attr_accessor :fields_to_return
255
+
256
+ # Specifies the filters to use when searching for playable locations.
257
+ # Corresponds to the JSON property `filter`
258
+ # @return [Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleFilter]
259
+ attr_accessor :filter
260
+
261
+ # Required. An arbitrary, developer-defined identifier of the type of game
262
+ # object that
263
+ # the playable location is used for. This field allows you to specify
264
+ # criteria per game object type when searching for playable locations.
265
+ # You should assign a unique `game_object_type` ID across all
266
+ # `request_criteria` to represent a distinct type of game object. For
267
+ # example, 1=monster location, 2=powerup location.
268
+ # The response contains a map<game_object_type, Response>.
269
+ # Corresponds to the JSON property `gameObjectType`
270
+ # @return [Fixnum]
271
+ attr_accessor :game_object_type
272
+
273
+ def initialize(**args)
274
+ update!(**args)
275
+ end
276
+
277
+ # Update properties of this object
278
+ def update!(**args)
279
+ @fields_to_return = args[:fields_to_return] if args.key?(:fields_to_return)
280
+ @filter = args[:filter] if args.key?(:filter)
281
+ @game_object_type = args[:game_object_type] if args.key?(:game_object_type)
282
+ end
283
+ end
284
+
285
+ # Specifies the filters to use when searching for playable locations.
286
+ class GoogleMapsPlayablelocationsV3SampleFilter
287
+ include Google::Apis::Core::Hashable
288
+
289
+ # Restricts the set of playable locations to just the
290
+ # [types](/maps/documentation/gaming/tt/types) that you want.
291
+ # Corresponds to the JSON property `includedTypes`
292
+ # @return [Array<String>]
293
+ attr_accessor :included_types
294
+
295
+ # Specifies the maximum number of playable locations to return. This value
296
+ # must not be greater than 1000. The default value is 100.
297
+ # Only the top-ranking playable locations are returned.
298
+ # Corresponds to the JSON property `maxLocationCount`
299
+ # @return [Fixnum]
300
+ attr_accessor :max_location_count
301
+
302
+ # A set of options that specifies the separation between playable locations.
303
+ # Corresponds to the JSON property `spacing`
304
+ # @return [Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleSpacingOptions]
305
+ attr_accessor :spacing
306
+
307
+ def initialize(**args)
308
+ update!(**args)
309
+ end
310
+
311
+ # Update properties of this object
312
+ def update!(**args)
313
+ @included_types = args[:included_types] if args.key?(:included_types)
314
+ @max_location_count = args[:max_location_count] if args.key?(:max_location_count)
315
+ @spacing = args[:spacing] if args.key?(:spacing)
316
+ end
317
+ end
318
+
319
+ # A geographical point suitable for placing game objects in location-based
320
+ # games.
321
+ class GoogleMapsPlayablelocationsV3SamplePlayableLocation
322
+ include Google::Apis::Core::Hashable
323
+
324
+ # An object representing a latitude/longitude pair. This is expressed as a pair
325
+ # of doubles representing degrees latitude and degrees longitude. Unless
326
+ # specified otherwise, this must conform to the
327
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
328
+ # standard</a>. Values must be within normalized ranges.
329
+ # Corresponds to the JSON property `centerPoint`
330
+ # @return [Google::Apis::PlayablelocationsV3::GoogleTypeLatLng]
331
+ attr_accessor :center_point
332
+
333
+ # Required. The name of this playable location.
334
+ # Corresponds to the JSON property `name`
335
+ # @return [String]
336
+ attr_accessor :name
337
+
338
+ # A [place ID] (https://developers.google.com/places/place-id)
339
+ # Corresponds to the JSON property `placeId`
340
+ # @return [String]
341
+ attr_accessor :place_id
342
+
343
+ # A [plus code] (http://openlocationcode.com)
344
+ # Corresponds to the JSON property `plusCode`
345
+ # @return [String]
346
+ attr_accessor :plus_code
347
+
348
+ # An object representing a latitude/longitude pair. This is expressed as a pair
349
+ # of doubles representing degrees latitude and degrees longitude. Unless
350
+ # specified otherwise, this must conform to the
351
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
352
+ # standard</a>. Values must be within normalized ranges.
353
+ # Corresponds to the JSON property `snappedPoint`
354
+ # @return [Google::Apis::PlayablelocationsV3::GoogleTypeLatLng]
355
+ attr_accessor :snapped_point
356
+
357
+ # A collection of [Playable Location
358
+ # Types](/maps/documentation/gaming/tt/types) for this playable location. The
359
+ # first type in the collection is the primary type.
360
+ # Type information might not be available for all playable locations.
361
+ # Corresponds to the JSON property `types`
362
+ # @return [Array<String>]
363
+ attr_accessor :types
364
+
365
+ def initialize(**args)
366
+ update!(**args)
367
+ end
368
+
369
+ # Update properties of this object
370
+ def update!(**args)
371
+ @center_point = args[:center_point] if args.key?(:center_point)
372
+ @name = args[:name] if args.key?(:name)
373
+ @place_id = args[:place_id] if args.key?(:place_id)
374
+ @plus_code = args[:plus_code] if args.key?(:plus_code)
375
+ @snapped_point = args[:snapped_point] if args.key?(:snapped_point)
376
+ @types = args[:types] if args.key?(:types)
377
+ end
378
+ end
379
+
380
+ # A list of PlayableLocation objects that satisfies a single Criterion.
381
+ class GoogleMapsPlayablelocationsV3SamplePlayableLocationList
382
+ include Google::Apis::Core::Hashable
383
+
384
+ # A list of playable locations for this game object type.
385
+ # Corresponds to the JSON property `locations`
386
+ # @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SamplePlayableLocation>]
387
+ attr_accessor :locations
388
+
389
+ def initialize(**args)
390
+ update!(**args)
391
+ end
392
+
393
+ # Update properties of this object
394
+ def update!(**args)
395
+ @locations = args[:locations] if args.key?(:locations)
396
+ end
397
+ end
398
+
399
+ # Life of a query:
400
+ # - When a game starts in a new location, your game server issues a
401
+ # SamplePlayableLocations
402
+ # request. The request specifies the S2 cell, and contains one or more
403
+ # "criteria" for filtering:
404
+ # - Criterion 0: i locations for long-lived bases, or level 0 monsters, or...
405
+ # - Criterion 1: j locations for short-lived bases, or level 1 monsters, ...
406
+ # - Criterion 2: k locations for random objects.
407
+ # - etc (up to 5 criterion may be specified).
408
+ # `PlayableLocationList` will then contain mutually
409
+ # exclusive lists of `PlayableLocation` objects that satisfy each of
410
+ # the criteria. Think of it as a collection of real-world locations that you
411
+ # can then associate with your game state.
412
+ # Note: These points are impermanent in nature. E.g, parks can close, and
413
+ # places can be removed.
414
+ # The response specifies how long you can expect the playable locations to
415
+ # last. Once they expire, you should query the `samplePlayableLocations` API
416
+ # again to get a fresh view of the real world.
417
+ class GoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest
418
+ include Google::Apis::Core::Hashable
419
+
420
+ # Specifies the area to search for playable locations.
421
+ # Corresponds to the JSON property `areaFilter`
422
+ # @return [Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleAreaFilter]
423
+ attr_accessor :area_filter
424
+
425
+ # Required. Specifies one or more (up to 5) criteria for filtering the
426
+ # returned playable locations.
427
+ # Corresponds to the JSON property `criteria`
428
+ # @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleCriterion>]
429
+ attr_accessor :criteria
430
+
431
+ def initialize(**args)
432
+ update!(**args)
433
+ end
434
+
435
+ # Update properties of this object
436
+ def update!(**args)
437
+ @area_filter = args[:area_filter] if args.key?(:area_filter)
438
+ @criteria = args[:criteria] if args.key?(:criteria)
439
+ end
440
+ end
441
+
442
+ # Response for the
443
+ # SamplePlayableLocations
444
+ # method.
445
+ class GoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse
446
+ include Google::Apis::Core::Hashable
447
+
448
+ # Each PlayableLocation object corresponds to a game_object_type specified
449
+ # in the request.
450
+ # Corresponds to the JSON property `locationsPerGameObjectType`
451
+ # @return [Hash<String,Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SamplePlayableLocationList>]
452
+ attr_accessor :locations_per_game_object_type
453
+
454
+ # Required. Specifies the "time-to-live" for the set of playable locations. You
455
+ # can use
456
+ # this value to determine how long to cache the set of playable locations.
457
+ # After this length of time, your back-end game server should issue a new
458
+ # SamplePlayableLocations
459
+ # request to get a fresh set of playable locations (because for example, they
460
+ # might have been removed, a park might have closed for the day, a
461
+ # business might have closed permanently).
462
+ # Corresponds to the JSON property `ttl`
463
+ # @return [String]
464
+ attr_accessor :ttl
465
+
466
+ def initialize(**args)
467
+ update!(**args)
468
+ end
469
+
470
+ # Update properties of this object
471
+ def update!(**args)
472
+ @locations_per_game_object_type = args[:locations_per_game_object_type] if args.key?(:locations_per_game_object_type)
473
+ @ttl = args[:ttl] if args.key?(:ttl)
474
+ end
475
+ end
476
+
477
+ # A set of options that specifies the separation between playable locations.
478
+ class GoogleMapsPlayablelocationsV3SampleSpacingOptions
479
+ include Google::Apis::Core::Hashable
480
+
481
+ # Required. The minimum spacing between any two playable locations, measured in
482
+ # meters.
483
+ # The minimum value is 30.
484
+ # The maximum value is 1000.
485
+ # Inputs will be rounded up to the next 10 meter interval.
486
+ # The default value is 200m.
487
+ # Set this field to remove tight clusters of playable locations.
488
+ # Note:
489
+ # The spacing is a greedy algorithm. It optimizes for selecting the highest
490
+ # ranking locations first, not to maximize the number of locations selected.
491
+ # Consider the following scenario:
492
+ # * Rank: A: 2, B: 1, C: 3.
493
+ # * Distance: A--200m--B--200m--C
494
+ # If spacing=250, it will pick the highest ranked location [B], not [A, C].
495
+ # Note:
496
+ # Spacing works within the game object type itself, as well as the previous
497
+ # ones.
498
+ # Suppose three game object types, each with the following spacing:
499
+ # * X: 400m, Y: undefined, Z: 200m.
500
+ # 1. Add locations for X, within 400m of each other.
501
+ # 2. Add locations for Y, without any spacing.
502
+ # 3. Finally, add locations for Z within 200m of each other as well X and Y.
503
+ # The distance diagram between those locations end up as:
504
+ # * From->To.
505
+ # * X->X: 400m
506
+ # * Y->X, Y->Y: unspecified.
507
+ # * Z->X, Z->Y, Z->Z: 200m.
508
+ # Corresponds to the JSON property `minSpacingMeters`
509
+ # @return [Float]
510
+ attr_accessor :min_spacing_meters
511
+
512
+ # Specifies whether the minimum spacing constraint applies to the
513
+ # center-point or to the snapped point of playable locations. The default
514
+ # value is `CENTER_POINT`.
515
+ # If a snapped point is not available for a playable location, its
516
+ # center-point is used instead.
517
+ # Set this to the point type used in your game.
518
+ # Corresponds to the JSON property `pointType`
519
+ # @return [String]
520
+ attr_accessor :point_type
521
+
522
+ def initialize(**args)
523
+ update!(**args)
524
+ end
525
+
526
+ # Update properties of this object
527
+ def update!(**args)
528
+ @min_spacing_meters = args[:min_spacing_meters] if args.key?(:min_spacing_meters)
529
+ @point_type = args[:point_type] if args.key?(:point_type)
530
+ end
531
+ end
532
+
533
+ # Client information.
534
+ class GoogleMapsUnityClientInfo
535
+ include Google::Apis::Core::Hashable
536
+
537
+ # API client name and version. For example, the SDK calling the API. The
538
+ # exact format is up to the client.
539
+ # Corresponds to the JSON property `apiClient`
540
+ # @return [String]
541
+ attr_accessor :api_client
542
+
543
+ # Application ID, such as the package name on Android and the bundle
544
+ # identifier on iOS platforms.
545
+ # Corresponds to the JSON property `applicationId`
546
+ # @return [String]
547
+ attr_accessor :application_id
548
+
549
+ # Application version number, such as "1.2.3". The exact format is
550
+ # application-dependent.
551
+ # Corresponds to the JSON property `applicationVersion`
552
+ # @return [String]
553
+ attr_accessor :application_version
554
+
555
+ # Device model as reported by the device. The exact format is
556
+ # platform-dependent.
557
+ # Corresponds to the JSON property `deviceModel`
558
+ # @return [String]
559
+ attr_accessor :device_model
560
+
561
+ # Language code (in BCP-47 format) indicating the UI language of the client.
562
+ # Examples are "en", "en-US" or "ja-Latn". For more information, see
563
+ # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
564
+ # Corresponds to the JSON property `languageCode`
565
+ # @return [String]
566
+ attr_accessor :language_code
567
+
568
+ # Operating system name and version as reported by the OS. For example,
569
+ # "Mac OS X 10.10.4". The exact format is platform-dependent.
570
+ # Corresponds to the JSON property `operatingSystem`
571
+ # @return [String]
572
+ attr_accessor :operating_system
573
+
574
+ # Build number/version of the operating system. e.g., the contents of
575
+ # android.os.Build.ID in Android, or the contents of sysctl "kern.osversion"
576
+ # in iOS.
577
+ # Corresponds to the JSON property `operatingSystemBuild`
578
+ # @return [String]
579
+ attr_accessor :operating_system_build
580
+
581
+ # Platform where the application is running.
582
+ # Corresponds to the JSON property `platform`
583
+ # @return [String]
584
+ attr_accessor :platform
585
+
586
+ def initialize(**args)
587
+ update!(**args)
588
+ end
589
+
590
+ # Update properties of this object
591
+ def update!(**args)
592
+ @api_client = args[:api_client] if args.key?(:api_client)
593
+ @application_id = args[:application_id] if args.key?(:application_id)
594
+ @application_version = args[:application_version] if args.key?(:application_version)
595
+ @device_model = args[:device_model] if args.key?(:device_model)
596
+ @language_code = args[:language_code] if args.key?(:language_code)
597
+ @operating_system = args[:operating_system] if args.key?(:operating_system)
598
+ @operating_system_build = args[:operating_system_build] if args.key?(:operating_system_build)
599
+ @platform = args[:platform] if args.key?(:platform)
600
+ end
601
+ end
602
+
603
+ # An object representing a latitude/longitude pair. This is expressed as a pair
604
+ # of doubles representing degrees latitude and degrees longitude. Unless
605
+ # specified otherwise, this must conform to the
606
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
607
+ # standard</a>. Values must be within normalized ranges.
608
+ class GoogleTypeLatLng
609
+ include Google::Apis::Core::Hashable
610
+
611
+ # The latitude in degrees. It must be in the range [-90.0, +90.0].
612
+ # Corresponds to the JSON property `latitude`
613
+ # @return [Float]
614
+ attr_accessor :latitude
615
+
616
+ # The longitude in degrees. It must be in the range [-180.0, +180.0].
617
+ # Corresponds to the JSON property `longitude`
618
+ # @return [Float]
619
+ attr_accessor :longitude
620
+
621
+ def initialize(**args)
622
+ update!(**args)
623
+ end
624
+
625
+ # Update properties of this object
626
+ def update!(**args)
627
+ @latitude = args[:latitude] if args.key?(:latitude)
628
+ @longitude = args[:longitude] if args.key?(:longitude)
629
+ end
630
+ end
631
+ end
632
+ end
633
+ end