google-api-client 0.23.4 → 0.23.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (403) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +171 -0
  4. data/Gemfile +1 -0
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  13. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  16. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +7 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/adsense_v1_4.rb +1 -1
  22. data/generated/google/apis/adsense_v1_4/classes.rb +13 -1
  23. data/generated/google/apis/adsense_v1_4/representations.rb +2 -0
  24. data/generated/google/apis/adsense_v1_4/service.rb +36 -0
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/analytics_v2_4.rb +1 -1
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +68 -0
  29. data/generated/google/apis/analytics_v3/representations.rb +31 -0
  30. data/generated/google/apis/analytics_v3/service.rb +33 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  33. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +108 -28
  34. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +32 -0
  35. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +73 -0
  36. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/service.rb +0 -70
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -5
  40. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  41. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  42. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/appengine_v1.rb +1 -1
  45. data/generated/google/apis/appengine_v1beta.rb +1 -1
  46. data/generated/google/apis/appengine_v1beta/classes.rb +3 -4
  47. data/generated/google/apis/appsactivity_v1.rb +2 -2
  48. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  49. data/generated/google/apis/appsmarket_v2.rb +1 -1
  50. data/generated/google/apis/appstate_v1.rb +1 -1
  51. data/generated/google/apis/bigquery_v2.rb +1 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +103 -61
  53. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  54. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +35 -0
  56. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +597 -0
  57. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +238 -0
  58. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +523 -0
  59. data/generated/google/apis/blogger_v2.rb +1 -1
  60. data/generated/google/apis/blogger_v3.rb +1 -1
  61. data/generated/google/apis/books_v1.rb +1 -1
  62. data/generated/google/apis/books_v1/classes.rb +7 -0
  63. data/generated/google/apis/books_v1/representations.rb +1 -0
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +44 -12
  66. data/generated/google/apis/calendar_v3/service.rb +7 -7
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/civicinfo_v2.rb +1 -1
  69. data/generated/google/apis/civicinfo_v2/classes.rb +641 -0
  70. data/generated/google/apis/civicinfo_v2/representations.rb +215 -0
  71. data/generated/google/apis/classroom_v1.rb +1 -1
  72. data/generated/google/apis/classroom_v1/classes.rb +25 -0
  73. data/generated/google/apis/classroom_v1/representations.rb +15 -0
  74. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  75. data/generated/google/apis/cloudbilling_v1/classes.rb +85 -10
  76. data/generated/google/apis/cloudbilling_v1/representations.rb +18 -0
  77. data/generated/google/apis/cloudbilling_v1/service.rb +3 -13
  78. data/generated/google/apis/cloudbuild_v1.rb +4 -4
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +37 -3
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
  81. data/generated/google/apis/cloudbuild_v1/service.rb +3 -3
  82. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  83. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  84. data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
  85. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +4 -5
  87. data/generated/google/apis/cloudiot_v1.rb +1 -1
  88. data/generated/google/apis/cloudiot_v1/classes.rb +56 -0
  89. data/generated/google/apis/cloudiot_v1/representations.rb +18 -0
  90. data/generated/google/apis/cloudiot_v1/service.rb +355 -0
  91. data/generated/google/apis/cloudkms_v1.rb +6 -3
  92. data/generated/google/apis/cloudkms_v1/classes.rb +340 -14
  93. data/generated/google/apis/cloudkms_v1/representations.rb +147 -0
  94. data/generated/google/apis/cloudkms_v1/service.rb +126 -6
  95. data/generated/google/apis/cloudprofiler_v2.rb +3 -3
  96. data/generated/google/apis/cloudprofiler_v2/classes.rb +0 -6
  97. data/generated/google/apis/cloudprofiler_v2/representations.rb +0 -2
  98. data/generated/google/apis/cloudprofiler_v2/service.rb +2 -2
  99. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +57 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +18 -0
  102. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +56 -0
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +18 -0
  105. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +57 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +18 -0
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +57 -1
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +18 -0
  112. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  113. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  114. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +28 -0
  115. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +14 -0
  116. data/generated/google/apis/cloudshell_v1alpha1/service.rb +37 -0
  117. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -2
  118. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +167 -103
  119. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +18 -0
  120. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -21
  121. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  122. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  124. data/generated/google/apis/{spectrum_v1explorer.rb → composer_v1.rb} +12 -9
  125. data/generated/google/apis/composer_v1/classes.rb +640 -0
  126. data/generated/google/apis/composer_v1/representations.rb +195 -0
  127. data/generated/google/apis/composer_v1/service.rb +462 -0
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +13 -10
  130. data/generated/google/apis/composer_v1beta1/service.rb +6 -6
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +5135 -4250
  133. data/generated/google/apis/compute_alpha/representations.rb +644 -216
  134. data/generated/google/apis/compute_alpha/service.rb +2308 -1655
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +1070 -62
  137. data/generated/google/apis/compute_beta/representations.rb +435 -0
  138. data/generated/google/apis/compute_beta/service.rb +1758 -321
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +1984 -210
  141. data/generated/google/apis/compute_v1/representations.rb +754 -9
  142. data/generated/google/apis/compute_v1/service.rb +1299 -12
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +43 -0
  145. data/generated/google/apis/container_v1/representations.rb +17 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +193 -231
  148. data/generated/google/apis/container_v1beta1/representations.rb +72 -82
  149. data/generated/google/apis/container_v1beta1/service.rb +0 -112
  150. data/generated/google/apis/content_v2.rb +1 -1
  151. data/generated/google/apis/content_v2/classes.rb +199 -29
  152. data/generated/google/apis/content_v2/representations.rb +59 -0
  153. data/generated/google/apis/content_v2/service.rb +8 -3
  154. data/generated/google/apis/content_v2sandbox.rb +1 -1
  155. data/generated/google/apis/content_v2sandbox/classes.rb +32 -19
  156. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  157. data/generated/google/apis/content_v2sandbox/service.rb +8 -3
  158. data/generated/google/apis/customsearch_v1.rb +1 -1
  159. data/generated/google/apis/customsearch_v1/service.rb +7 -7
  160. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  161. data/generated/google/apis/dataproc_v1beta2/classes.rb +112 -43
  162. data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -0
  163. data/generated/google/apis/datastore_v1.rb +1 -1
  164. data/generated/google/apis/datastore_v1/classes.rb +140 -0
  165. data/generated/google/apis/datastore_v1/representations.rb +65 -0
  166. data/generated/google/apis/datastore_v1/service.rb +74 -0
  167. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  168. data/generated/google/apis/datastore_v1beta1/classes.rb +31 -0
  169. data/generated/google/apis/datastore_v1beta1/representations.rb +17 -0
  170. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  171. data/generated/google/apis/datastore_v1beta3/classes.rb +31 -0
  172. data/generated/google/apis/datastore_v1beta3/representations.rb +17 -0
  173. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  174. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  175. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  176. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  179. data/generated/google/apis/dfareporting_v3_2.rb +40 -0
  180. data/generated/google/apis/dfareporting_v3_2/classes.rb +12297 -0
  181. data/generated/google/apis/dfareporting_v3_2/representations.rb +4397 -0
  182. data/generated/google/apis/dfareporting_v3_2/service.rb +8790 -0
  183. data/generated/google/apis/dialogflow_v2.rb +1 -1
  184. data/generated/google/apis/dialogflow_v2/classes.rb +304 -12
  185. data/generated/google/apis/dialogflow_v2/representations.rb +113 -0
  186. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  187. data/generated/google/apis/dialogflow_v2beta1/classes.rb +656 -26
  188. data/generated/google/apis/dialogflow_v2beta1/representations.rb +248 -0
  189. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -0
  190. data/generated/google/apis/discovery_v1.rb +1 -1
  191. data/generated/google/apis/dlp_v2.rb +1 -1
  192. data/generated/google/apis/dlp_v2/classes.rb +357 -6
  193. data/generated/google/apis/dlp_v2/representations.rb +161 -0
  194. data/generated/google/apis/dlp_v2/service.rb +366 -0
  195. data/generated/google/apis/dns_v1.rb +1 -1
  196. data/generated/google/apis/dns_v1/classes.rb +0 -7
  197. data/generated/google/apis/dns_v1/representations.rb +0 -1
  198. data/generated/google/apis/dns_v1beta2.rb +1 -1
  199. data/generated/google/apis/dns_v1beta2/classes.rb +0 -7
  200. data/generated/google/apis/dns_v1beta2/representations.rb +0 -1
  201. data/generated/google/apis/dns_v2beta1.rb +1 -1
  202. data/generated/google/apis/dns_v2beta1/classes.rb +0 -7
  203. data/generated/google/apis/dns_v2beta1/representations.rb +0 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  206. data/generated/google/apis/drive_v2.rb +1 -1
  207. data/generated/google/apis/drive_v2/service.rb +3 -2
  208. data/generated/google/apis/drive_v3.rb +1 -1
  209. data/generated/google/apis/firestore_v1.rb +37 -0
  210. data/generated/google/apis/firestore_v1/classes.rb +324 -0
  211. data/generated/google/apis/firestore_v1/representations.rb +130 -0
  212. data/generated/google/apis/firestore_v1/service.rb +282 -0
  213. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  214. data/generated/google/apis/firestore_v1beta1/classes.rb +290 -0
  215. data/generated/google/apis/firestore_v1beta1/representations.rb +128 -0
  216. data/generated/google/apis/firestore_v1beta1/service.rb +79 -0
  217. data/generated/google/apis/firestore_v1beta2.rb +37 -0
  218. data/generated/google/apis/firestore_v1beta2/classes.rb +531 -0
  219. data/generated/google/apis/firestore_v1beta2/representations.rb +189 -0
  220. data/generated/google/apis/firestore_v1beta2/service.rb +213 -0
  221. data/generated/google/apis/fitness_v1.rb +1 -1
  222. data/generated/google/apis/fusiontables_v1.rb +1 -1
  223. data/generated/google/apis/fusiontables_v2.rb +1 -1
  224. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  225. data/generated/google/apis/games_management_v1management.rb +1 -1
  226. data/generated/google/apis/games_v1.rb +1 -1
  227. data/generated/google/apis/genomics_v1.rb +1 -1
  228. data/generated/google/apis/genomics_v1/classes.rb +113 -36
  229. data/generated/google/apis/genomics_v1/representations.rb +31 -0
  230. data/generated/google/apis/genomics_v1/service.rb +2 -0
  231. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  232. data/generated/google/apis/genomics_v1alpha2/classes.rb +57 -36
  233. data/generated/google/apis/genomics_v1alpha2/representations.rb +13 -0
  234. data/generated/google/apis/genomics_v1alpha2/service.rb +2 -0
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -137
  237. data/generated/google/apis/genomics_v2alpha1/representations.rb +50 -0
  238. data/generated/google/apis/genomics_v2alpha1/service.rb +7 -5
  239. data/generated/google/apis/gmail_v1.rb +1 -1
  240. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  241. data/generated/google/apis/groupssettings_v1.rb +1 -1
  242. data/generated/google/apis/iam_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1/classes.rb +258 -3
  244. data/generated/google/apis/iam_v1/representations.rb +73 -0
  245. data/generated/google/apis/iam_v1/service.rb +50 -2
  246. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  247. data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
  248. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  249. data/generated/google/apis/iap_v1beta1.rb +34 -0
  250. data/generated/google/apis/iap_v1beta1/classes.rb +440 -0
  251. data/generated/google/apis/iap_v1beta1/representations.rb +158 -0
  252. data/generated/google/apis/iap_v1beta1/service.rb +398 -0
  253. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  254. data/generated/google/apis/jobs_v2.rb +3 -3
  255. data/generated/google/apis/jobs_v2/classes.rb +61 -5
  256. data/generated/google/apis/jobs_v2/representations.rb +18 -0
  257. data/generated/google/apis/jobs_v2/service.rb +3 -3
  258. data/generated/google/apis/licensing_v1.rb +1 -1
  259. data/generated/google/apis/logging_v2.rb +2 -2
  260. data/generated/google/apis/logging_v2/classes.rb +64 -58
  261. data/generated/google/apis/logging_v2/representations.rb +1 -0
  262. data/generated/google/apis/logging_v2/service.rb +39 -40
  263. data/generated/google/apis/logging_v2beta1.rb +2 -2
  264. data/generated/google/apis/logging_v2beta1/classes.rb +59 -53
  265. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  266. data/generated/google/apis/logging_v2beta1/service.rb +15 -16
  267. data/generated/google/apis/mirror_v1.rb +1 -1
  268. data/generated/google/apis/ml_v1.rb +1 -1
  269. data/generated/google/apis/ml_v1/classes.rb +87 -0
  270. data/generated/google/apis/ml_v1/representations.rb +34 -0
  271. data/generated/google/apis/ml_v1/service.rb +53 -0
  272. data/generated/google/apis/monitoring_v3.rb +1 -1
  273. data/generated/google/apis/monitoring_v3/classes.rb +68 -15
  274. data/generated/google/apis/monitoring_v3/representations.rb +26 -0
  275. data/generated/google/apis/mybusiness_v3/classes.rb +1 -1
  276. data/generated/google/apis/oauth2_v1.rb +1 -1
  277. data/generated/google/apis/oauth2_v2.rb +1 -1
  278. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  279. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  280. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  281. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  282. data/generated/google/apis/plus_domains_v1.rb +1 -1
  283. data/generated/google/apis/plus_v1.rb +1 -1
  284. data/generated/google/apis/poly_v1.rb +4 -3
  285. data/generated/google/apis/poly_v1/classes.rb +28 -0
  286. data/generated/google/apis/poly_v1/representations.rb +15 -0
  287. data/generated/google/apis/poly_v1/service.rb +3 -2
  288. data/generated/google/apis/pubsub_v1.rb +1 -1
  289. data/generated/google/apis/pubsub_v1/classes.rb +63 -8
  290. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  291. data/generated/google/apis/pubsub_v1/service.rb +7 -8
  292. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  293. data/generated/google/apis/pubsub_v1beta2/classes.rb +56 -0
  294. data/generated/google/apis/pubsub_v1beta2/representations.rb +18 -0
  295. data/generated/google/apis/redis_v1beta1.rb +2 -2
  296. data/generated/google/apis/redis_v1beta1/classes.rb +38 -119
  297. data/generated/google/apis/redis_v1beta1/representations.rb +10 -43
  298. data/generated/google/apis/redis_v1beta1/service.rb +73 -1
  299. data/generated/google/apis/replicapool_v1beta1.rb +1 -1
  300. data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
  301. data/generated/google/apis/reseller_v1.rb +1 -1
  302. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  303. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +57 -1
  304. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +18 -0
  305. data/generated/google/apis/script_v1.rb +1 -1
  306. data/generated/google/apis/script_v1/classes.rb +1 -57
  307. data/generated/google/apis/script_v1/representations.rb +0 -32
  308. data/generated/google/apis/servicebroker_v1.rb +1 -1
  309. data/generated/google/apis/servicebroker_v1/classes.rb +56 -1
  310. data/generated/google/apis/servicebroker_v1/representations.rb +18 -0
  311. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  312. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +56 -1
  313. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +18 -0
  314. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  315. data/generated/google/apis/servicebroker_v1beta1/classes.rb +56 -1
  316. data/generated/google/apis/servicebroker_v1beta1/representations.rb +18 -0
  317. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  318. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +13 -4
  319. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  320. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  321. data/generated/google/apis/servicecontrol_v1/classes.rb +259 -0
  322. data/generated/google/apis/servicecontrol_v1/representations.rb +68 -0
  323. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  324. data/generated/google/apis/servicemanagement_v1/classes.rb +68 -4
  325. data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
  326. data/generated/google/apis/serviceusage_v1.rb +1 -1
  327. data/generated/google/apis/serviceusage_v1/classes.rb +13 -4
  328. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  329. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  330. data/generated/google/apis/serviceusage_v1beta1/classes.rb +13 -4
  331. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  332. data/generated/google/apis/serviceuser_v1.rb +1 -1
  333. data/generated/google/apis/serviceuser_v1/classes.rb +12 -3
  334. data/generated/google/apis/serviceuser_v1/representations.rb +1 -0
  335. data/generated/google/apis/sheets_v4.rb +1 -1
  336. data/generated/google/apis/sheets_v4/classes.rb +22 -22
  337. data/generated/google/apis/site_verification_v1.rb +1 -1
  338. data/generated/google/apis/slides_v1.rb +1 -1
  339. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  340. data/generated/google/apis/sourcerepo_v1/classes.rb +56 -1
  341. data/generated/google/apis/sourcerepo_v1/representations.rb +18 -0
  342. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  343. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1632 -0
  344. data/generated/google/apis/sqladmin_v1beta3/representations.rb +733 -0
  345. data/generated/google/apis/sqladmin_v1beta3/service.rb +995 -0
  346. data/generated/google/apis/sqladmin_v1beta4.rb +4 -4
  347. data/generated/google/apis/sqladmin_v1beta4/classes.rb +30 -14
  348. data/generated/google/apis/sqladmin_v1beta4/service.rb +7 -7
  349. data/generated/google/apis/storage_v1.rb +1 -1
  350. data/generated/google/apis/storage_v1beta1.rb +1 -1
  351. data/generated/google/apis/storage_v1beta2.rb +1 -1
  352. data/generated/google/apis/surveys_v2.rb +1 -1
  353. data/generated/google/apis/tagmanager_v1.rb +1 -1
  354. data/generated/google/apis/tagmanager_v2.rb +1 -1
  355. data/generated/google/apis/tasks_v1.rb +1 -1
  356. data/generated/google/apis/testing_v1.rb +1 -1
  357. data/generated/google/apis/testing_v1/classes.rb +2 -2
  358. data/generated/google/apis/texttospeech_v1.rb +34 -0
  359. data/generated/google/apis/texttospeech_v1/classes.rb +278 -0
  360. data/generated/google/apis/texttospeech_v1/representations.rb +133 -0
  361. data/generated/google/apis/texttospeech_v1/service.rb +127 -0
  362. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  363. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -2
  364. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  365. data/generated/google/apis/toolresults_v1beta3/classes.rb +0 -12
  366. data/generated/google/apis/toolresults_v1beta3/representations.rb +0 -2
  367. data/generated/google/apis/tpu_v1.rb +1 -1
  368. data/generated/google/apis/tpu_v1/classes.rb +0 -13
  369. data/generated/google/apis/tpu_v1/representations.rb +0 -12
  370. data/generated/google/apis/tpu_v1/service.rb +0 -33
  371. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  372. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -13
  373. data/generated/google/apis/tpu_v1alpha1/representations.rb +0 -12
  374. data/generated/google/apis/tpu_v1alpha1/service.rb +0 -33
  375. data/generated/google/apis/urlshortener_v1.rb +1 -1
  376. data/generated/google/apis/vault_v1.rb +1 -1
  377. data/generated/google/apis/vault_v1/classes.rb +803 -0
  378. data/generated/google/apis/vault_v1/representations.rb +384 -0
  379. data/generated/google/apis/vault_v1/service.rb +211 -0
  380. data/generated/google/apis/vision_v1.rb +1 -1
  381. data/generated/google/apis/vision_v1/classes.rb +3342 -227
  382. data/generated/google/apis/vision_v1/representations.rb +1696 -365
  383. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  384. data/generated/google/apis/vision_v1p1beta1/classes.rb +1826 -94
  385. data/generated/google/apis/vision_v1p1beta1/representations.rb +754 -1
  386. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  387. data/generated/google/apis/vision_v1p2beta1/classes.rb +3712 -597
  388. data/generated/google/apis/vision_v1p2beta1/representations.rb +1606 -275
  389. data/generated/google/apis/webfonts_v1.rb +1 -1
  390. data/generated/google/apis/webmasters_v3.rb +1 -1
  391. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  392. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +58 -2
  393. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +32 -0
  394. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  395. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  396. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  397. data/generated/google/apis/youtube_v3.rb +1 -1
  398. data/lib/google/apis/core/http_command.rb +1 -1
  399. data/lib/google/apis/version.rb +1 -1
  400. metadata +34 -6
  401. data/generated/google/apis/spectrum_v1explorer/classes.rb +0 -1612
  402. data/generated/google/apis/spectrum_v1explorer/representations.rb +0 -611
  403. data/generated/google/apis/spectrum_v1explorer/service.rb +0 -271
@@ -0,0 +1,130 @@
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 FirestoreV1
24
+
25
+ class Empty
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleLongrunningCancelOperationRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleLongrunningListOperationsResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleLongrunningOperation
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ListLocationsResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Location
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Status
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Empty
68
+ # @private
69
+ class Representation < Google::Apis::Core::JsonRepresentation
70
+ end
71
+ end
72
+
73
+ class GoogleLongrunningCancelOperationRequest
74
+ # @private
75
+ class Representation < Google::Apis::Core::JsonRepresentation
76
+ end
77
+ end
78
+
79
+ class GoogleLongrunningListOperationsResponse
80
+ # @private
81
+ class Representation < Google::Apis::Core::JsonRepresentation
82
+ property :next_page_token, as: 'nextPageToken'
83
+ collection :operations, as: 'operations', class: Google::Apis::FirestoreV1::GoogleLongrunningOperation, decorator: Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
84
+
85
+ end
86
+ end
87
+
88
+ class GoogleLongrunningOperation
89
+ # @private
90
+ class Representation < Google::Apis::Core::JsonRepresentation
91
+ property :done, as: 'done'
92
+ property :error, as: 'error', class: Google::Apis::FirestoreV1::Status, decorator: Google::Apis::FirestoreV1::Status::Representation
93
+
94
+ hash :metadata, as: 'metadata'
95
+ property :name, as: 'name'
96
+ hash :response, as: 'response'
97
+ end
98
+ end
99
+
100
+ class ListLocationsResponse
101
+ # @private
102
+ class Representation < Google::Apis::Core::JsonRepresentation
103
+ collection :locations, as: 'locations', class: Google::Apis::FirestoreV1::Location, decorator: Google::Apis::FirestoreV1::Location::Representation
104
+
105
+ property :next_page_token, as: 'nextPageToken'
106
+ end
107
+ end
108
+
109
+ class Location
110
+ # @private
111
+ class Representation < Google::Apis::Core::JsonRepresentation
112
+ property :display_name, as: 'displayName'
113
+ hash :labels, as: 'labels'
114
+ property :location_id, as: 'locationId'
115
+ hash :metadata, as: 'metadata'
116
+ property :name, as: 'name'
117
+ end
118
+ end
119
+
120
+ class Status
121
+ # @private
122
+ class Representation < Google::Apis::Core::JsonRepresentation
123
+ property :code, as: 'code'
124
+ collection :details, as: 'details'
125
+ property :message, as: 'message'
126
+ end
127
+ end
128
+ end
129
+ end
130
+ end
@@ -0,0 +1,282 @@
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 FirestoreV1
23
+ # Cloud Firestore API
24
+ #
25
+ #
26
+ #
27
+ # @example
28
+ # require 'google/apis/firestore_v1'
29
+ #
30
+ # Firestore = Google::Apis::FirestoreV1 # Alias the module
31
+ # service = Firestore::FirestoreService.new
32
+ #
33
+ # @see https://cloud.google.com/firestore
34
+ class FirestoreService < 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://firestore.googleapis.com/', '')
47
+ @batch_path = 'batch'
48
+ end
49
+
50
+ # Starts asynchronous cancellation on a long-running operation. The server
51
+ # makes a best effort to cancel the operation, but success is not
52
+ # guaranteed. If the server doesn't support this method, it returns
53
+ # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
54
+ # Operations.GetOperation or
55
+ # other methods to check whether the cancellation succeeded or whether the
56
+ # operation completed despite cancellation. On successful cancellation,
57
+ # the operation is not deleted; instead, it becomes an operation with
58
+ # an Operation.error value with a google.rpc.Status.code of 1,
59
+ # corresponding to `Code.CANCELLED`.
60
+ # @param [String] name
61
+ # The name of the operation resource to be cancelled.
62
+ # @param [Google::Apis::FirestoreV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # Available to use for quota purposes for server-side applications. Can be any
67
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
+ # @param [Google::Apis::RequestOptions] options
69
+ # Request-specific options
70
+ #
71
+ # @yield [result, err] Result & error if block supplied
72
+ # @yieldparam result [Google::Apis::FirestoreV1::Empty] parsed result object
73
+ # @yieldparam err [StandardError] error object if request failed
74
+ #
75
+ # @return [Google::Apis::FirestoreV1::Empty]
76
+ #
77
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
80
+ def cancel_project_database_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
81
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
82
+ command.request_representation = Google::Apis::FirestoreV1::GoogleLongrunningCancelOperationRequest::Representation
83
+ command.request_object = google_longrunning_cancel_operation_request_object
84
+ command.response_representation = Google::Apis::FirestoreV1::Empty::Representation
85
+ command.response_class = Google::Apis::FirestoreV1::Empty
86
+ command.params['name'] = name unless name.nil?
87
+ command.query['fields'] = fields unless fields.nil?
88
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
89
+ execute_or_queue_command(command, &block)
90
+ end
91
+
92
+ # Deletes a long-running operation. This method indicates that the client is
93
+ # no longer interested in the operation result. It does not cancel the
94
+ # operation. If the server doesn't support this method, it returns
95
+ # `google.rpc.Code.UNIMPLEMENTED`.
96
+ # @param [String] name
97
+ # The name of the operation resource to be deleted.
98
+ # @param [String] fields
99
+ # Selector specifying which fields to include in a partial response.
100
+ # @param [String] quota_user
101
+ # Available to use for quota purposes for server-side applications. Can be any
102
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
103
+ # @param [Google::Apis::RequestOptions] options
104
+ # Request-specific options
105
+ #
106
+ # @yield [result, err] Result & error if block supplied
107
+ # @yieldparam result [Google::Apis::FirestoreV1::Empty] parsed result object
108
+ # @yieldparam err [StandardError] error object if request failed
109
+ #
110
+ # @return [Google::Apis::FirestoreV1::Empty]
111
+ #
112
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
113
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
115
+ def delete_project_database_operation(name, fields: nil, quota_user: nil, options: nil, &block)
116
+ command = make_simple_command(:delete, 'v1/{+name}', options)
117
+ command.response_representation = Google::Apis::FirestoreV1::Empty::Representation
118
+ command.response_class = Google::Apis::FirestoreV1::Empty
119
+ command.params['name'] = name unless name.nil?
120
+ command.query['fields'] = fields unless fields.nil?
121
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
122
+ execute_or_queue_command(command, &block)
123
+ end
124
+
125
+ # Gets the latest state of a long-running operation. Clients can use this
126
+ # method to poll the operation result at intervals as recommended by the API
127
+ # service.
128
+ # @param [String] name
129
+ # The name of the operation resource.
130
+ # @param [String] fields
131
+ # Selector specifying which fields to include in a partial response.
132
+ # @param [String] quota_user
133
+ # Available to use for quota purposes for server-side applications. Can be any
134
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
135
+ # @param [Google::Apis::RequestOptions] options
136
+ # Request-specific options
137
+ #
138
+ # @yield [result, err] Result & error if block supplied
139
+ # @yieldparam result [Google::Apis::FirestoreV1::GoogleLongrunningOperation] parsed result object
140
+ # @yieldparam err [StandardError] error object if request failed
141
+ #
142
+ # @return [Google::Apis::FirestoreV1::GoogleLongrunningOperation]
143
+ #
144
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
145
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
146
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
147
+ def get_project_database_operation(name, fields: nil, quota_user: nil, options: nil, &block)
148
+ command = make_simple_command(:get, 'v1/{+name}', options)
149
+ command.response_representation = Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
150
+ command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningOperation
151
+ command.params['name'] = name unless name.nil?
152
+ command.query['fields'] = fields unless fields.nil?
153
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
154
+ execute_or_queue_command(command, &block)
155
+ end
156
+
157
+ # Lists operations that match the specified filter in the request. If the
158
+ # server doesn't support this method, it returns `UNIMPLEMENTED`.
159
+ # NOTE: the `name` binding allows API services to override the binding
160
+ # to use different resource name schemes, such as `users/*/operations`. To
161
+ # override the binding, API services can add a binding such as
162
+ # `"/v1/`name=users/*`/operations"` to their service configuration.
163
+ # For backwards compatibility, the default name includes the operations
164
+ # collection id, however overriding users must ensure the name binding
165
+ # is the parent resource, without the operations collection id.
166
+ # @param [String] name
167
+ # The name of the operation's parent resource.
168
+ # @param [String] filter
169
+ # The standard list filter.
170
+ # @param [Fixnum] page_size
171
+ # The standard list page size.
172
+ # @param [String] page_token
173
+ # The standard list page token.
174
+ # @param [String] fields
175
+ # Selector specifying which fields to include in a partial response.
176
+ # @param [String] quota_user
177
+ # Available to use for quota purposes for server-side applications. Can be any
178
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
179
+ # @param [Google::Apis::RequestOptions] options
180
+ # Request-specific options
181
+ #
182
+ # @yield [result, err] Result & error if block supplied
183
+ # @yieldparam result [Google::Apis::FirestoreV1::GoogleLongrunningListOperationsResponse] parsed result object
184
+ # @yieldparam err [StandardError] error object if request failed
185
+ #
186
+ # @return [Google::Apis::FirestoreV1::GoogleLongrunningListOperationsResponse]
187
+ #
188
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
189
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
190
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
191
+ def list_project_database_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
192
+ command = make_simple_command(:get, 'v1/{+name}/operations', options)
193
+ command.response_representation = Google::Apis::FirestoreV1::GoogleLongrunningListOperationsResponse::Representation
194
+ command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningListOperationsResponse
195
+ command.params['name'] = name unless name.nil?
196
+ command.query['filter'] = filter unless filter.nil?
197
+ command.query['pageSize'] = page_size unless page_size.nil?
198
+ command.query['pageToken'] = page_token unless page_token.nil?
199
+ command.query['fields'] = fields unless fields.nil?
200
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
201
+ execute_or_queue_command(command, &block)
202
+ end
203
+
204
+ # Gets information about a location.
205
+ # @param [String] name
206
+ # Resource name for the location.
207
+ # @param [String] fields
208
+ # Selector specifying which fields to include in a partial response.
209
+ # @param [String] quota_user
210
+ # Available to use for quota purposes for server-side applications. Can be any
211
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
212
+ # @param [Google::Apis::RequestOptions] options
213
+ # Request-specific options
214
+ #
215
+ # @yield [result, err] Result & error if block supplied
216
+ # @yieldparam result [Google::Apis::FirestoreV1::Location] parsed result object
217
+ # @yieldparam err [StandardError] error object if request failed
218
+ #
219
+ # @return [Google::Apis::FirestoreV1::Location]
220
+ #
221
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
222
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
223
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
224
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
225
+ command = make_simple_command(:get, 'v1/{+name}', options)
226
+ command.response_representation = Google::Apis::FirestoreV1::Location::Representation
227
+ command.response_class = Google::Apis::FirestoreV1::Location
228
+ command.params['name'] = name unless name.nil?
229
+ command.query['fields'] = fields unless fields.nil?
230
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
231
+ execute_or_queue_command(command, &block)
232
+ end
233
+
234
+ # Lists information about the supported locations for this service.
235
+ # @param [String] name
236
+ # The resource that owns the locations collection, if applicable.
237
+ # @param [String] filter
238
+ # The standard list filter.
239
+ # @param [Fixnum] page_size
240
+ # The standard list page size.
241
+ # @param [String] page_token
242
+ # The standard list page token.
243
+ # @param [String] fields
244
+ # Selector specifying which fields to include in a partial response.
245
+ # @param [String] quota_user
246
+ # Available to use for quota purposes for server-side applications. Can be any
247
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
248
+ # @param [Google::Apis::RequestOptions] options
249
+ # Request-specific options
250
+ #
251
+ # @yield [result, err] Result & error if block supplied
252
+ # @yieldparam result [Google::Apis::FirestoreV1::ListLocationsResponse] parsed result object
253
+ # @yieldparam err [StandardError] error object if request failed
254
+ #
255
+ # @return [Google::Apis::FirestoreV1::ListLocationsResponse]
256
+ #
257
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
258
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
259
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
260
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
261
+ command = make_simple_command(:get, 'v1/{+name}/locations', options)
262
+ command.response_representation = Google::Apis::FirestoreV1::ListLocationsResponse::Representation
263
+ command.response_class = Google::Apis::FirestoreV1::ListLocationsResponse
264
+ command.params['name'] = name unless name.nil?
265
+ command.query['filter'] = filter unless filter.nil?
266
+ command.query['pageSize'] = page_size unless page_size.nil?
267
+ command.query['pageToken'] = page_token unless page_token.nil?
268
+ command.query['fields'] = fields unless fields.nil?
269
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
270
+ execute_or_queue_command(command, &block)
271
+ end
272
+
273
+ protected
274
+
275
+ def apply_command_defaults(command)
276
+ command.query['key'] = key unless key.nil?
277
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
278
+ end
279
+ end
280
+ end
281
+ end
282
+ end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/firestore
26
26
  module FirestoreV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20180626'
28
+ REVISION = '20180725'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -725,6 +725,201 @@ module Google
725
725
  end
726
726
  end
727
727
 
728
+ # Metadata for ExportDocuments operations.
729
+ class GoogleFirestoreAdminV1beta1ExportDocumentsMetadata
730
+ include Google::Apis::Core::Hashable
731
+
732
+ # Which collection ids are being exported.
733
+ # Corresponds to the JSON property `collectionIds`
734
+ # @return [Array<String>]
735
+ attr_accessor :collection_ids
736
+
737
+ # The time the operation ended, either successfully or otherwise. Unset if
738
+ # the operation is still active.
739
+ # Corresponds to the JSON property `endTime`
740
+ # @return [String]
741
+ attr_accessor :end_time
742
+
743
+ # The state of the export operation.
744
+ # Corresponds to the JSON property `operationState`
745
+ # @return [String]
746
+ attr_accessor :operation_state
747
+
748
+ # Where the entities are being exported to.
749
+ # Corresponds to the JSON property `outputUriPrefix`
750
+ # @return [String]
751
+ attr_accessor :output_uri_prefix
752
+
753
+ # Measures the progress of a particular metric.
754
+ # Corresponds to the JSON property `progressBytes`
755
+ # @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress]
756
+ attr_accessor :progress_bytes
757
+
758
+ # Measures the progress of a particular metric.
759
+ # Corresponds to the JSON property `progressDocuments`
760
+ # @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress]
761
+ attr_accessor :progress_documents
762
+
763
+ # The time that work began on the operation.
764
+ # Corresponds to the JSON property `startTime`
765
+ # @return [String]
766
+ attr_accessor :start_time
767
+
768
+ def initialize(**args)
769
+ update!(**args)
770
+ end
771
+
772
+ # Update properties of this object
773
+ def update!(**args)
774
+ @collection_ids = args[:collection_ids] if args.key?(:collection_ids)
775
+ @end_time = args[:end_time] if args.key?(:end_time)
776
+ @operation_state = args[:operation_state] if args.key?(:operation_state)
777
+ @output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
778
+ @progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
779
+ @progress_documents = args[:progress_documents] if args.key?(:progress_documents)
780
+ @start_time = args[:start_time] if args.key?(:start_time)
781
+ end
782
+ end
783
+
784
+ # The request for FirestoreAdmin.ExportDocuments.
785
+ class GoogleFirestoreAdminV1beta1ExportDocumentsRequest
786
+ include Google::Apis::Core::Hashable
787
+
788
+ # Which collection ids to export. Unspecified means all collections.
789
+ # Corresponds to the JSON property `collectionIds`
790
+ # @return [Array<String>]
791
+ attr_accessor :collection_ids
792
+
793
+ # The output URI. Currently only supports Google Cloud Storage URIs of the
794
+ # form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
795
+ # of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional
796
+ # Google Cloud Storage namespace path. When
797
+ # choosing a name, be sure to consider Google Cloud Storage naming
798
+ # guidelines: https://cloud.google.com/storage/docs/naming.
799
+ # If the URI is a bucket (without a namespace path), a prefix will be
800
+ # generated based on the start time.
801
+ # Corresponds to the JSON property `outputUriPrefix`
802
+ # @return [String]
803
+ attr_accessor :output_uri_prefix
804
+
805
+ def initialize(**args)
806
+ update!(**args)
807
+ end
808
+
809
+ # Update properties of this object
810
+ def update!(**args)
811
+ @collection_ids = args[:collection_ids] if args.key?(:collection_ids)
812
+ @output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
813
+ end
814
+ end
815
+
816
+ # Returned in the google.longrunning.Operation response field.
817
+ class GoogleFirestoreAdminV1beta1ExportDocumentsResponse
818
+ include Google::Apis::Core::Hashable
819
+
820
+ # Location of the output files. This can be used to begin an import
821
+ # into Cloud Firestore (this project or another project) after the operation
822
+ # completes successfully.
823
+ # Corresponds to the JSON property `outputUriPrefix`
824
+ # @return [String]
825
+ attr_accessor :output_uri_prefix
826
+
827
+ def initialize(**args)
828
+ update!(**args)
829
+ end
830
+
831
+ # Update properties of this object
832
+ def update!(**args)
833
+ @output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
834
+ end
835
+ end
836
+
837
+ # Metadata for ImportDocuments operations.
838
+ class GoogleFirestoreAdminV1beta1ImportDocumentsMetadata
839
+ include Google::Apis::Core::Hashable
840
+
841
+ # Which collection ids are being imported.
842
+ # Corresponds to the JSON property `collectionIds`
843
+ # @return [Array<String>]
844
+ attr_accessor :collection_ids
845
+
846
+ # The time the operation ended, either successfully or otherwise. Unset if
847
+ # the operation is still active.
848
+ # Corresponds to the JSON property `endTime`
849
+ # @return [String]
850
+ attr_accessor :end_time
851
+
852
+ # The location of the documents being imported.
853
+ # Corresponds to the JSON property `inputUriPrefix`
854
+ # @return [String]
855
+ attr_accessor :input_uri_prefix
856
+
857
+ # The state of the import operation.
858
+ # Corresponds to the JSON property `operationState`
859
+ # @return [String]
860
+ attr_accessor :operation_state
861
+
862
+ # Measures the progress of a particular metric.
863
+ # Corresponds to the JSON property `progressBytes`
864
+ # @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress]
865
+ attr_accessor :progress_bytes
866
+
867
+ # Measures the progress of a particular metric.
868
+ # Corresponds to the JSON property `progressDocuments`
869
+ # @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress]
870
+ attr_accessor :progress_documents
871
+
872
+ # The time that work began on the operation.
873
+ # Corresponds to the JSON property `startTime`
874
+ # @return [String]
875
+ attr_accessor :start_time
876
+
877
+ def initialize(**args)
878
+ update!(**args)
879
+ end
880
+
881
+ # Update properties of this object
882
+ def update!(**args)
883
+ @collection_ids = args[:collection_ids] if args.key?(:collection_ids)
884
+ @end_time = args[:end_time] if args.key?(:end_time)
885
+ @input_uri_prefix = args[:input_uri_prefix] if args.key?(:input_uri_prefix)
886
+ @operation_state = args[:operation_state] if args.key?(:operation_state)
887
+ @progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
888
+ @progress_documents = args[:progress_documents] if args.key?(:progress_documents)
889
+ @start_time = args[:start_time] if args.key?(:start_time)
890
+ end
891
+ end
892
+
893
+ # The request for FirestoreAdmin.ImportDocuments.
894
+ class GoogleFirestoreAdminV1beta1ImportDocumentsRequest
895
+ include Google::Apis::Core::Hashable
896
+
897
+ # Which collection ids to import. Unspecified means all collections included
898
+ # in the import.
899
+ # Corresponds to the JSON property `collectionIds`
900
+ # @return [Array<String>]
901
+ attr_accessor :collection_ids
902
+
903
+ # Location of the exported files.
904
+ # This must match the output_uri_prefix of an ExportDocumentsResponse from
905
+ # an export that has completed successfully.
906
+ # See:
907
+ # google.firestore.admin.v1beta1.ExportDocumentsResponse.output_uri_prefix.
908
+ # Corresponds to the JSON property `inputUriPrefix`
909
+ # @return [String]
910
+ attr_accessor :input_uri_prefix
911
+
912
+ def initialize(**args)
913
+ update!(**args)
914
+ end
915
+
916
+ # Update properties of this object
917
+ def update!(**args)
918
+ @collection_ids = args[:collection_ids] if args.key?(:collection_ids)
919
+ @input_uri_prefix = args[:input_uri_prefix] if args.key?(:input_uri_prefix)
920
+ end
921
+ end
922
+
728
923
  # An index definition.
729
924
  class GoogleFirestoreAdminV1beta1Index
730
925
  include Google::Apis::Core::Hashable
@@ -792,6 +987,61 @@ module Google
792
987
  end
793
988
  end
794
989
 
990
+ # Metadata for index operations. This metadata populates
991
+ # the metadata field of google.longrunning.Operation.
992
+ class GoogleFirestoreAdminV1beta1IndexOperationMetadata
993
+ include Google::Apis::Core::Hashable
994
+
995
+ # True if the [google.longrunning.Operation] was cancelled. If the
996
+ # cancellation is in progress, cancelled will be true but
997
+ # google.longrunning.Operation.done will be false.
998
+ # Corresponds to the JSON property `cancelled`
999
+ # @return [Boolean]
1000
+ attr_accessor :cancelled
1001
+ alias_method :cancelled?, :cancelled
1002
+
1003
+ # Measures the progress of a particular metric.
1004
+ # Corresponds to the JSON property `documentProgress`
1005
+ # @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress]
1006
+ attr_accessor :document_progress
1007
+
1008
+ # The time the operation ended, either successfully or otherwise. Unset if
1009
+ # the operation is still active.
1010
+ # Corresponds to the JSON property `endTime`
1011
+ # @return [String]
1012
+ attr_accessor :end_time
1013
+
1014
+ # The index resource that this operation is acting on. For example:
1015
+ # `projects/`project_id`/databases/`database_id`/indexes/`index_id``
1016
+ # Corresponds to the JSON property `index`
1017
+ # @return [String]
1018
+ attr_accessor :index
1019
+
1020
+ # The type of index operation.
1021
+ # Corresponds to the JSON property `operationType`
1022
+ # @return [String]
1023
+ attr_accessor :operation_type
1024
+
1025
+ # The time that work began on the operation.
1026
+ # Corresponds to the JSON property `startTime`
1027
+ # @return [String]
1028
+ attr_accessor :start_time
1029
+
1030
+ def initialize(**args)
1031
+ update!(**args)
1032
+ end
1033
+
1034
+ # Update properties of this object
1035
+ def update!(**args)
1036
+ @cancelled = args[:cancelled] if args.key?(:cancelled)
1037
+ @document_progress = args[:document_progress] if args.key?(:document_progress)
1038
+ @end_time = args[:end_time] if args.key?(:end_time)
1039
+ @index = args[:index] if args.key?(:index)
1040
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
1041
+ @start_time = args[:start_time] if args.key?(:start_time)
1042
+ end
1043
+ end
1044
+
795
1045
  # The response for FirestoreAdmin.ListIndexes.
796
1046
  class GoogleFirestoreAdminV1beta1ListIndexesResponse
797
1047
  include Google::Apis::Core::Hashable
@@ -817,6 +1067,46 @@ module Google
817
1067
  end
818
1068
  end
819
1069
 
1070
+ # The metadata message for google.cloud.location.Location.metadata.
1071
+ class GoogleFirestoreAdminV1beta1LocationMetadata
1072
+ include Google::Apis::Core::Hashable
1073
+
1074
+ def initialize(**args)
1075
+ update!(**args)
1076
+ end
1077
+
1078
+ # Update properties of this object
1079
+ def update!(**args)
1080
+ end
1081
+ end
1082
+
1083
+ # Measures the progress of a particular metric.
1084
+ class GoogleFirestoreAdminV1beta1Progress
1085
+ include Google::Apis::Core::Hashable
1086
+
1087
+ # An estimate of how much work has been completed. Note that this may be
1088
+ # greater than `work_estimated`.
1089
+ # Corresponds to the JSON property `workCompleted`
1090
+ # @return [Fixnum]
1091
+ attr_accessor :work_completed
1092
+
1093
+ # An estimate of how much work needs to be performed. Zero if the
1094
+ # work estimate is unavailable. May change as work progresses.
1095
+ # Corresponds to the JSON property `workEstimated`
1096
+ # @return [Fixnum]
1097
+ attr_accessor :work_estimated
1098
+
1099
+ def initialize(**args)
1100
+ update!(**args)
1101
+ end
1102
+
1103
+ # Update properties of this object
1104
+ def update!(**args)
1105
+ @work_completed = args[:work_completed] if args.key?(:work_completed)
1106
+ @work_estimated = args[:work_estimated] if args.key?(:work_estimated)
1107
+ end
1108
+ end
1109
+
820
1110
  # This resource represents a long-running operation that is the result of a
821
1111
  # network API call.
822
1112
  class GoogleLongrunningOperation