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
@@ -0,0 +1,329 @@
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 VectortileV1
24
+
25
+ class Area
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ExtrudedArea
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Feature
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class FeatureTile
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class FirstDerivativeElevationGrid
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Geometry
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Line
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ModeledVolume
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ProviderInfo
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Relation
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class RoadInfo
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class Row
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class SecondDerivativeElevationGrid
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class SegmentInfo
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class TerrainTile
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class TileCoordinates
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class TriangleStrip
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Vertex2DList
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Vertex3DList
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Area
140
+ # @private
141
+ class Representation < Google::Apis::Core::JsonRepresentation
142
+ property :has_external_edges, as: 'hasExternalEdges'
143
+ collection :internal_edges, as: 'internalEdges'
144
+ collection :loop_breaks, as: 'loopBreaks'
145
+ collection :triangle_indices, as: 'triangleIndices'
146
+ property :type, as: 'type'
147
+ property :vertex_offsets, as: 'vertexOffsets', class: Google::Apis::VectortileV1::Vertex2DList, decorator: Google::Apis::VectortileV1::Vertex2DList::Representation
148
+
149
+ property :z_order, as: 'zOrder'
150
+ end
151
+ end
152
+
153
+ class ExtrudedArea
154
+ # @private
155
+ class Representation < Google::Apis::Core::JsonRepresentation
156
+ property :area, as: 'area', class: Google::Apis::VectortileV1::Area, decorator: Google::Apis::VectortileV1::Area::Representation
157
+
158
+ property :max_z, as: 'maxZ'
159
+ property :min_z, as: 'minZ'
160
+ end
161
+ end
162
+
163
+ class Feature
164
+ # @private
165
+ class Representation < Google::Apis::Core::JsonRepresentation
166
+ property :display_name, as: 'displayName'
167
+ property :geometry, as: 'geometry', class: Google::Apis::VectortileV1::Geometry, decorator: Google::Apis::VectortileV1::Geometry::Representation
168
+
169
+ property :place_id, as: 'placeId'
170
+ collection :relations, as: 'relations', class: Google::Apis::VectortileV1::Relation, decorator: Google::Apis::VectortileV1::Relation::Representation
171
+
172
+ property :segment_info, as: 'segmentInfo', class: Google::Apis::VectortileV1::SegmentInfo, decorator: Google::Apis::VectortileV1::SegmentInfo::Representation
173
+
174
+ property :type, as: 'type'
175
+ end
176
+ end
177
+
178
+ class FeatureTile
179
+ # @private
180
+ class Representation < Google::Apis::Core::JsonRepresentation
181
+ property :coordinates, as: 'coordinates', class: Google::Apis::VectortileV1::TileCoordinates, decorator: Google::Apis::VectortileV1::TileCoordinates::Representation
182
+
183
+ collection :features, as: 'features', class: Google::Apis::VectortileV1::Feature, decorator: Google::Apis::VectortileV1::Feature::Representation
184
+
185
+ property :name, as: 'name'
186
+ collection :providers, as: 'providers', class: Google::Apis::VectortileV1::ProviderInfo, decorator: Google::Apis::VectortileV1::ProviderInfo::Representation
187
+
188
+ property :status, as: 'status'
189
+ property :version_id, as: 'versionId'
190
+ end
191
+ end
192
+
193
+ class FirstDerivativeElevationGrid
194
+ # @private
195
+ class Representation < Google::Apis::Core::JsonRepresentation
196
+ property :altitude_multiplier, as: 'altitudeMultiplier'
197
+ collection :rows, as: 'rows', class: Google::Apis::VectortileV1::Row, decorator: Google::Apis::VectortileV1::Row::Representation
198
+
199
+ end
200
+ end
201
+
202
+ class Geometry
203
+ # @private
204
+ class Representation < Google::Apis::Core::JsonRepresentation
205
+ collection :areas, as: 'areas', class: Google::Apis::VectortileV1::Area, decorator: Google::Apis::VectortileV1::Area::Representation
206
+
207
+ collection :extruded_areas, as: 'extrudedAreas', class: Google::Apis::VectortileV1::ExtrudedArea, decorator: Google::Apis::VectortileV1::ExtrudedArea::Representation
208
+
209
+ collection :lines, as: 'lines', class: Google::Apis::VectortileV1::Line, decorator: Google::Apis::VectortileV1::Line::Representation
210
+
211
+ collection :modeled_volumes, as: 'modeledVolumes', class: Google::Apis::VectortileV1::ModeledVolume, decorator: Google::Apis::VectortileV1::ModeledVolume::Representation
212
+
213
+ end
214
+ end
215
+
216
+ class Line
217
+ # @private
218
+ class Representation < Google::Apis::Core::JsonRepresentation
219
+ property :vertex_offsets, as: 'vertexOffsets', class: Google::Apis::VectortileV1::Vertex2DList, decorator: Google::Apis::VectortileV1::Vertex2DList::Representation
220
+
221
+ property :z_order, as: 'zOrder'
222
+ end
223
+ end
224
+
225
+ class ModeledVolume
226
+ # @private
227
+ class Representation < Google::Apis::Core::JsonRepresentation
228
+ collection :strips, as: 'strips', class: Google::Apis::VectortileV1::TriangleStrip, decorator: Google::Apis::VectortileV1::TriangleStrip::Representation
229
+
230
+ property :vertex_offsets, as: 'vertexOffsets', class: Google::Apis::VectortileV1::Vertex3DList, decorator: Google::Apis::VectortileV1::Vertex3DList::Representation
231
+
232
+ end
233
+ end
234
+
235
+ class ProviderInfo
236
+ # @private
237
+ class Representation < Google::Apis::Core::JsonRepresentation
238
+ property :description, as: 'description'
239
+ end
240
+ end
241
+
242
+ class Relation
243
+ # @private
244
+ class Representation < Google::Apis::Core::JsonRepresentation
245
+ property :related_feature_index, as: 'relatedFeatureIndex'
246
+ property :relation_type, as: 'relationType'
247
+ end
248
+ end
249
+
250
+ class RoadInfo
251
+ # @private
252
+ class Representation < Google::Apis::Core::JsonRepresentation
253
+ property :is_private, as: 'isPrivate'
254
+ end
255
+ end
256
+
257
+ class Row
258
+ # @private
259
+ class Representation < Google::Apis::Core::JsonRepresentation
260
+ collection :altitude_diffs, as: 'altitudeDiffs'
261
+ end
262
+ end
263
+
264
+ class SecondDerivativeElevationGrid
265
+ # @private
266
+ class Representation < Google::Apis::Core::JsonRepresentation
267
+ property :altitude_multiplier, as: 'altitudeMultiplier'
268
+ property :column_count, as: 'columnCount'
269
+ property :encoded_data, :base64 => true, as: 'encodedData'
270
+ property :row_count, as: 'rowCount'
271
+ end
272
+ end
273
+
274
+ class SegmentInfo
275
+ # @private
276
+ class Representation < Google::Apis::Core::JsonRepresentation
277
+ property :road_info, as: 'roadInfo', class: Google::Apis::VectortileV1::RoadInfo, decorator: Google::Apis::VectortileV1::RoadInfo::Representation
278
+
279
+ end
280
+ end
281
+
282
+ class TerrainTile
283
+ # @private
284
+ class Representation < Google::Apis::Core::JsonRepresentation
285
+ property :coordinates, as: 'coordinates', class: Google::Apis::VectortileV1::TileCoordinates, decorator: Google::Apis::VectortileV1::TileCoordinates::Representation
286
+
287
+ property :first_derivative, as: 'firstDerivative', class: Google::Apis::VectortileV1::FirstDerivativeElevationGrid, decorator: Google::Apis::VectortileV1::FirstDerivativeElevationGrid::Representation
288
+
289
+ property :name, as: 'name'
290
+ property :second_derivative, as: 'secondDerivative', class: Google::Apis::VectortileV1::SecondDerivativeElevationGrid, decorator: Google::Apis::VectortileV1::SecondDerivativeElevationGrid::Representation
291
+
292
+ end
293
+ end
294
+
295
+ class TileCoordinates
296
+ # @private
297
+ class Representation < Google::Apis::Core::JsonRepresentation
298
+ property :x, as: 'x'
299
+ property :y, as: 'y'
300
+ property :zoom, as: 'zoom'
301
+ end
302
+ end
303
+
304
+ class TriangleStrip
305
+ # @private
306
+ class Representation < Google::Apis::Core::JsonRepresentation
307
+ collection :vertex_indices, as: 'vertexIndices'
308
+ end
309
+ end
310
+
311
+ class Vertex2DList
312
+ # @private
313
+ class Representation < Google::Apis::Core::JsonRepresentation
314
+ collection :x_offsets, as: 'xOffsets'
315
+ collection :y_offsets, as: 'yOffsets'
316
+ end
317
+ end
318
+
319
+ class Vertex3DList
320
+ # @private
321
+ class Representation < Google::Apis::Core::JsonRepresentation
322
+ collection :x_offsets, as: 'xOffsets'
323
+ collection :y_offsets, as: 'yOffsets'
324
+ collection :z_offsets, as: 'zOffsets'
325
+ end
326
+ end
327
+ end
328
+ end
329
+ end
@@ -0,0 +1,268 @@
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 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module VectortileV1
23
+ # Semantic Tile API
24
+ #
25
+ # Serves vector tiles containing geospatial data.
26
+ #
27
+ # @example
28
+ # require 'google/apis/vectortile_v1'
29
+ #
30
+ # Vectortile = Google::Apis::VectortileV1 # Alias the module
31
+ # service = Vectortile::SemanticTileService.new
32
+ #
33
+ # @see https://developers.google.com/maps/contact-sales/
34
+ class SemanticTileService < Google::Apis::Core::BaseService
35
+ # @return [String]
36
+ # API key. Your API key identifies your project and provides you with API access,
37
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
38
+ attr_accessor :key
39
+
40
+ # @return [String]
41
+ # Available to use for quota purposes for server-side applications. Can be any
42
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
+ attr_accessor :quota_user
44
+
45
+ def initialize
46
+ super('https://vectortile.googleapis.com/', '')
47
+ @batch_path = 'batch'
48
+ end
49
+
50
+ # Gets a feature tile by its tile resource name.
51
+ # @param [String] name
52
+ # Required. Resource name of the tile. The tile resource name is prefixed by
53
+ # its collection ID `tiles/` followed by the resource ID, which encodes the
54
+ # tile's global x and y coordinates and zoom level as `@<x>,<y>,<zoom>z`.
55
+ # For example, `tiles/@1,2,3z`.
56
+ # @param [String] client_info_api_client
57
+ # API client name and version. For example, the SDK calling the API. The
58
+ # exact format is up to the client.
59
+ # @param [String] client_info_application_id
60
+ # Application ID, such as the package name on Android and the bundle
61
+ # identifier on iOS platforms.
62
+ # @param [String] client_info_application_version
63
+ # Application version number, such as "1.2.3". The exact format is
64
+ # application-dependent.
65
+ # @param [String] client_info_device_model
66
+ # Device model as reported by the device. The exact format is
67
+ # platform-dependent.
68
+ # @param [String] client_info_operating_system
69
+ # Operating system name and version as reported by the OS. For example,
70
+ # "Mac OS X 10.10.4". The exact format is platform-dependent.
71
+ # @param [String] client_info_platform
72
+ # Platform where the application is running.
73
+ # @param [String] client_info_user_id
74
+ # A client-generated user ID. The ID should be generated and persisted during
75
+ # the first user session or whenever a pre-existing ID is not found. The
76
+ # exact format is up to the client. This must be non-empty in a
77
+ # GetFeatureTileRequest (whether via the header or
78
+ # GetFeatureTileRequest.client_info).
79
+ # @param [String] client_tile_version_id
80
+ # Optional version id identifying the tile that is already in the client's
81
+ # cache. This field should be populated with the most recent version_id value
82
+ # returned by the API for the requested tile.
83
+ # If the version id is empty the server always returns a newly rendered tile.
84
+ # If it is provided the server checks if the tile contents would be identical
85
+ # to one that's already on the client, and if so, returns a stripped-down
86
+ # response tile with STATUS_OK_DATA_UNCHANGED instead.
87
+ # @param [Boolean] enable_detailed_highway_types
88
+ # Flag indicating whether detailed highway types should be returned. If this
89
+ # is set, the CONTROLLED_ACCESS_HIGHWAY type may be returned. If not, then
90
+ # these highways will have the generic HIGHWAY type.
91
+ # This exists for backwards compatibility reasons.
92
+ # @param [Boolean] enable_feature_names
93
+ # Flag indicating whether human-readable names should be returned for
94
+ # features. If this is set, the display_name field on the feature will be
95
+ # filled out.
96
+ # @param [Boolean] enable_modeled_volumes
97
+ # Flag indicating whether 3D building models should be enabled. If this is
98
+ # set structures will be returned as 3D modeled volumes rather than 2.5D
99
+ # extruded areas where possible.
100
+ # @param [Boolean] enable_political_features
101
+ # Flag indicating whether political features should be returned.
102
+ # @param [Boolean] enable_private_roads
103
+ # Flag indicating whether the returned tile will contain road features that
104
+ # are marked private. Private roads are indicated by the
105
+ # Feature.segment_info.road_info.is_private field.
106
+ # @param [Boolean] enable_unclipped_buildings
107
+ # Flag indicating whether unclipped buildings should be returned. If this is
108
+ # set, building render ops will extend beyond the tile boundary. Buildings
109
+ # will only be returned on the tile that contains their centroid.
110
+ # @param [String] language_code
111
+ # Required. The BCP-47 language code corresponding to the language in which
112
+ # the name was requested, such as "en-US" or "sr-Latn".
113
+ # For more information, see
114
+ # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
115
+ # @param [String] region_code
116
+ # Required. The Unicode country/region code (CLDR) of the location from which
117
+ # the request is coming from, such as "US" and "419".
118
+ # For more information, see
119
+ # http://www.unicode.org/reports/tr35/#unicode_region_subtag.
120
+ # @param [String] fields
121
+ # Selector specifying which fields to include in a partial response.
122
+ # @param [String] quota_user
123
+ # Available to use for quota purposes for server-side applications. Can be any
124
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
125
+ # @param [Google::Apis::RequestOptions] options
126
+ # Request-specific options
127
+ #
128
+ # @yield [result, err] Result & error if block supplied
129
+ # @yieldparam result [Google::Apis::VectortileV1::FeatureTile] parsed result object
130
+ # @yieldparam err [StandardError] error object if request failed
131
+ #
132
+ # @return [Google::Apis::VectortileV1::FeatureTile]
133
+ #
134
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
135
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
136
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
137
+ def get_featuretile(name, client_info_api_client: nil, client_info_application_id: nil, client_info_application_version: nil, client_info_device_model: nil, client_info_operating_system: nil, client_info_platform: nil, client_info_user_id: nil, client_tile_version_id: nil, enable_detailed_highway_types: nil, enable_feature_names: nil, enable_modeled_volumes: nil, enable_political_features: nil, enable_private_roads: nil, enable_unclipped_buildings: nil, language_code: nil, region_code: nil, fields: nil, quota_user: nil, options: nil, &block)
138
+ command = make_simple_command(:get, 'v1/{+name}', options)
139
+ command.response_representation = Google::Apis::VectortileV1::FeatureTile::Representation
140
+ command.response_class = Google::Apis::VectortileV1::FeatureTile
141
+ command.params['name'] = name unless name.nil?
142
+ command.query['clientInfo.apiClient'] = client_info_api_client unless client_info_api_client.nil?
143
+ command.query['clientInfo.applicationId'] = client_info_application_id unless client_info_application_id.nil?
144
+ command.query['clientInfo.applicationVersion'] = client_info_application_version unless client_info_application_version.nil?
145
+ command.query['clientInfo.deviceModel'] = client_info_device_model unless client_info_device_model.nil?
146
+ command.query['clientInfo.operatingSystem'] = client_info_operating_system unless client_info_operating_system.nil?
147
+ command.query['clientInfo.platform'] = client_info_platform unless client_info_platform.nil?
148
+ command.query['clientInfo.userId'] = client_info_user_id unless client_info_user_id.nil?
149
+ command.query['clientTileVersionId'] = client_tile_version_id unless client_tile_version_id.nil?
150
+ command.query['enableDetailedHighwayTypes'] = enable_detailed_highway_types unless enable_detailed_highway_types.nil?
151
+ command.query['enableFeatureNames'] = enable_feature_names unless enable_feature_names.nil?
152
+ command.query['enableModeledVolumes'] = enable_modeled_volumes unless enable_modeled_volumes.nil?
153
+ command.query['enablePoliticalFeatures'] = enable_political_features unless enable_political_features.nil?
154
+ command.query['enablePrivateRoads'] = enable_private_roads unless enable_private_roads.nil?
155
+ command.query['enableUnclippedBuildings'] = enable_unclipped_buildings unless enable_unclipped_buildings.nil?
156
+ command.query['languageCode'] = language_code unless language_code.nil?
157
+ command.query['regionCode'] = region_code unless region_code.nil?
158
+ command.query['fields'] = fields unless fields.nil?
159
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
160
+ execute_or_queue_command(command, &block)
161
+ end
162
+
163
+ # Gets a terrain tile by its tile resource name.
164
+ # @param [String] name
165
+ # Required. Resource name of the tile. The tile resource name is prefixed by
166
+ # its collection ID `terraintiles/` followed by the resource ID, which
167
+ # encodes the tile's global x and y coordinates and zoom level as
168
+ # `@<x>,<y>,<zoom>z`. For example, `terraintiles/@1,2,3z`.
169
+ # @param [Fixnum] altitude_precision_centimeters
170
+ # The precision of terrain altitudes in centimeters.
171
+ # Possible values: between 1 (cm level precision) and 1,000,000 (10-kilometer
172
+ # level precision).
173
+ # @param [String] client_info_api_client
174
+ # API client name and version. For example, the SDK calling the API. The
175
+ # exact format is up to the client.
176
+ # @param [String] client_info_application_id
177
+ # Application ID, such as the package name on Android and the bundle
178
+ # identifier on iOS platforms.
179
+ # @param [String] client_info_application_version
180
+ # Application version number, such as "1.2.3". The exact format is
181
+ # application-dependent.
182
+ # @param [String] client_info_device_model
183
+ # Device model as reported by the device. The exact format is
184
+ # platform-dependent.
185
+ # @param [String] client_info_operating_system
186
+ # Operating system name and version as reported by the OS. For example,
187
+ # "Mac OS X 10.10.4". The exact format is platform-dependent.
188
+ # @param [String] client_info_platform
189
+ # Platform where the application is running.
190
+ # @param [String] client_info_user_id
191
+ # A client-generated user ID. The ID should be generated and persisted during
192
+ # the first user session or whenever a pre-existing ID is not found. The
193
+ # exact format is up to the client. This must be non-empty in a
194
+ # GetFeatureTileRequest (whether via the header or
195
+ # GetFeatureTileRequest.client_info).
196
+ # @param [Fixnum] max_elevation_resolution_cells
197
+ # The maximum allowed resolution for the returned elevation heightmap.
198
+ # Possible values: between 1 and 1024 (and not less than
199
+ # min_elevation_resolution_cells).
200
+ # Over-sized heightmaps will be non-uniformly down-sampled such that each
201
+ # edge is no longer than this value. Non-uniformity is chosen to maximise the
202
+ # amount of preserved data.
203
+ # For example:
204
+ # Original resolution: 100px (width) * 30px (height)
205
+ # max_elevation_resolution: 30
206
+ # New resolution: 30px (width) * 30px (height)
207
+ # @param [Fixnum] min_elevation_resolution_cells
208
+ # The minimum allowed resolution for the returned elevation heightmap.
209
+ # Possible values: between 0 and 1024 (and not more than
210
+ # max_elevation_resolution_cells). Zero is supported for backward
211
+ # compatibility.
212
+ # Under-sized heightmaps will be non-uniformly up-sampled
213
+ # such that each edge is no shorter than this value. Non-uniformity is chosen
214
+ # to maximise the amount of preserved data.
215
+ # For example:
216
+ # Original resolution: 30px (width) * 10px (height)
217
+ # min_elevation_resolution: 30
218
+ # New resolution: 30px (width) * 30px (height)
219
+ # @param [Array<String>, String] terrain_formats
220
+ # Terrain formats that the client understands.
221
+ # @param [String] fields
222
+ # Selector specifying which fields to include in a partial response.
223
+ # @param [String] quota_user
224
+ # Available to use for quota purposes for server-side applications. Can be any
225
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
226
+ # @param [Google::Apis::RequestOptions] options
227
+ # Request-specific options
228
+ #
229
+ # @yield [result, err] Result & error if block supplied
230
+ # @yieldparam result [Google::Apis::VectortileV1::TerrainTile] parsed result object
231
+ # @yieldparam err [StandardError] error object if request failed
232
+ #
233
+ # @return [Google::Apis::VectortileV1::TerrainTile]
234
+ #
235
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
236
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
237
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
238
+ def get_terraintile(name, altitude_precision_centimeters: nil, client_info_api_client: nil, client_info_application_id: nil, client_info_application_version: nil, client_info_device_model: nil, client_info_operating_system: nil, client_info_platform: nil, client_info_user_id: nil, max_elevation_resolution_cells: nil, min_elevation_resolution_cells: nil, terrain_formats: nil, fields: nil, quota_user: nil, options: nil, &block)
239
+ command = make_simple_command(:get, 'v1/{+name}', options)
240
+ command.response_representation = Google::Apis::VectortileV1::TerrainTile::Representation
241
+ command.response_class = Google::Apis::VectortileV1::TerrainTile
242
+ command.params['name'] = name unless name.nil?
243
+ command.query['altitudePrecisionCentimeters'] = altitude_precision_centimeters unless altitude_precision_centimeters.nil?
244
+ command.query['clientInfo.apiClient'] = client_info_api_client unless client_info_api_client.nil?
245
+ command.query['clientInfo.applicationId'] = client_info_application_id unless client_info_application_id.nil?
246
+ command.query['clientInfo.applicationVersion'] = client_info_application_version unless client_info_application_version.nil?
247
+ command.query['clientInfo.deviceModel'] = client_info_device_model unless client_info_device_model.nil?
248
+ command.query['clientInfo.operatingSystem'] = client_info_operating_system unless client_info_operating_system.nil?
249
+ command.query['clientInfo.platform'] = client_info_platform unless client_info_platform.nil?
250
+ command.query['clientInfo.userId'] = client_info_user_id unless client_info_user_id.nil?
251
+ command.query['maxElevationResolutionCells'] = max_elevation_resolution_cells unless max_elevation_resolution_cells.nil?
252
+ command.query['minElevationResolutionCells'] = min_elevation_resolution_cells unless min_elevation_resolution_cells.nil?
253
+ command.query['terrainFormats'] = terrain_formats unless terrain_formats.nil?
254
+ command.query['fields'] = fields unless fields.nil?
255
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
256
+ execute_or_queue_command(command, &block)
257
+ end
258
+
259
+ protected
260
+
261
+ def apply_command_defaults(command)
262
+ command.query['key'] = key unless key.nil?
263
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
264
+ end
265
+ end
266
+ end
267
+ end
268
+ end