google-api-client 0.13.2 → 0.13.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (524) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +149 -0
  3. data/bin/generate-api +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
  12. data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
  13. data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
  14. data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
  15. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
  16. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
  22. data/generated/google/apis/adexchangeseller_v1.rb +37 -0
  23. data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
  24. data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
  25. data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
  26. data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
  27. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
  28. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
  29. data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
  30. data/generated/google/apis/adexperiencereport_v1.rb +35 -0
  31. data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
  32. data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
  33. data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
  34. data/generated/google/apis/admin_directory_v1.rb +1 -1
  35. data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
  36. data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
  37. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  38. data/generated/google/apis/adsense_v1_4.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  40. data/generated/google/apis/analytics_v2_4.rb +37 -0
  41. data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
  42. data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
  43. data/generated/google/apis/analytics_v2_4/service.rb +345 -0
  44. data/generated/google/apis/analytics_v3.rb +1 -1
  45. data/generated/google/apis/analytics_v3/classes.rb +15 -2
  46. data/generated/google/apis/analytics_v3/representations.rb +3 -0
  47. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  48. data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
  49. data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
  52. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
  53. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
  54. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  55. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
  56. data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
  57. data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
  58. data/generated/google/apis/androidmanagement_v1.rb +35 -0
  59. data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
  60. data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
  61. data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
  62. data/generated/google/apis/androidpublisher_v1.rb +34 -0
  63. data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
  64. data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
  65. data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
  66. data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
  67. data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
  68. data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
  69. data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
  70. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  71. data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
  72. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  73. data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
  74. data/generated/google/apis/appengine_v1.rb +4 -4
  75. data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
  76. data/generated/google/apis/appengine_v1/representations.rb +351 -335
  77. data/generated/google/apis/appengine_v1/service.rb +255 -239
  78. data/generated/google/apis/appengine_v1alpha.rb +41 -0
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
  80. data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
  81. data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
  82. data/generated/google/apis/appengine_v1beta.rb +41 -0
  83. data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
  84. data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
  85. data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
  86. data/generated/google/apis/appengine_v1beta4.rb +41 -0
  87. data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
  88. data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
  89. data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
  90. data/generated/google/apis/appengine_v1beta5.rb +41 -0
  91. data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
  92. data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
  93. data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
  94. data/generated/google/apis/appsactivity_v1.rb +1 -1
  95. data/generated/google/apis/appstate_v1.rb +1 -1
  96. data/generated/google/apis/bigquery_v2.rb +1 -1
  97. data/generated/google/apis/bigquery_v2/classes.rb +106 -18
  98. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  99. data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
  103. data/generated/google/apis/blogger_v2.rb +34 -0
  104. data/generated/google/apis/blogger_v2/classes.rb +947 -0
  105. data/generated/google/apis/blogger_v2/representations.rb +465 -0
  106. data/generated/google/apis/blogger_v2/service.rb +424 -0
  107. data/generated/google/apis/calendar_v3.rb +1 -1
  108. data/generated/google/apis/calendar_v3/classes.rb +4 -207
  109. data/generated/google/apis/calendar_v3/representations.rb +0 -97
  110. data/generated/google/apis/calendar_v3/service.rb +8 -4
  111. data/generated/google/apis/classroom_v1.rb +27 -27
  112. data/generated/google/apis/classroom_v1/classes.rb +1037 -926
  113. data/generated/google/apis/classroom_v1/representations.rb +294 -244
  114. data/generated/google/apis/classroom_v1/service.rb +1114 -1109
  115. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  116. data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
  117. data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
  118. data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
  119. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  120. data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
  121. data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
  122. data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
  123. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  124. data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
  125. data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
  126. data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
  127. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  128. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
  129. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
  130. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
  131. data/generated/google/apis/cloudfunctions_v1.rb +4 -1
  132. data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
  133. data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
  135. data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
  136. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
  137. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
  138. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
  139. data/generated/google/apis/cloudkms_v1.rb +1 -1
  140. data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
  141. data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
  142. data/generated/google/apis/cloudkms_v1/service.rb +320 -320
  143. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  145. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
  146. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  147. data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
  148. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  149. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
  150. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
  151. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
  152. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
  153. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
  154. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
  155. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
  156. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  157. data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
  158. data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
  159. data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
  160. data/generated/google/apis/cloudtrace_v2.rb +43 -0
  161. data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
  162. data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
  163. data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
  164. data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
  165. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
  166. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
  167. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
  168. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
  169. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
  170. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
  171. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
  172. data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
  173. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
  174. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
  175. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
  176. data/generated/google/apis/compute_alpha.rb +49 -0
  177. data/generated/google/apis/compute_alpha/classes.rb +23796 -0
  178. data/generated/google/apis/compute_alpha/representations.rb +9391 -0
  179. data/generated/google/apis/compute_alpha/service.rb +24188 -0
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_beta/classes.rb +1597 -235
  182. data/generated/google/apis/compute_beta/representations.rb +477 -0
  183. data/generated/google/apis/compute_beta/service.rb +2875 -1677
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/compute_v1/classes.rb +319 -197
  186. data/generated/google/apis/compute_v1/representations.rb +51 -0
  187. data/generated/google/apis/compute_v1/service.rb +2057 -172
  188. data/generated/google/apis/consumersurveys_v2.rb +40 -0
  189. data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
  190. data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
  191. data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
  192. data/generated/google/apis/container_v1.rb +1 -1
  193. data/generated/google/apis/container_v1/classes.rb +1072 -936
  194. data/generated/google/apis/container_v1/representations.rb +266 -202
  195. data/generated/google/apis/container_v1/service.rb +243 -243
  196. data/generated/google/apis/container_v1beta1.rb +35 -0
  197. data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
  198. data/generated/google/apis/container_v1beta1/representations.rb +662 -0
  199. data/generated/google/apis/container_v1beta1/service.rb +1875 -0
  200. data/generated/google/apis/content_v2.rb +1 -1
  201. data/generated/google/apis/content_v2/classes.rb +72 -3
  202. data/generated/google/apis/content_v2/representations.rb +23 -0
  203. data/generated/google/apis/content_v2/service.rb +23 -18
  204. data/generated/google/apis/content_v2sandbox.rb +35 -0
  205. data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
  206. data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
  207. data/generated/google/apis/content_v2sandbox/service.rb +709 -0
  208. data/generated/google/apis/dataflow_v1b3.rb +5 -5
  209. data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
  210. data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
  211. data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
  212. data/generated/google/apis/dataproc_v1.rb +1 -1
  213. data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
  214. data/generated/google/apis/dataproc_v1/representations.rb +227 -227
  215. data/generated/google/apis/dataproc_v1/service.rb +254 -254
  216. data/generated/google/apis/dataproc_v1beta2.rb +34 -0
  217. data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
  218. data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
  220. data/generated/google/apis/datastore_v1.rb +4 -4
  221. data/generated/google/apis/datastore_v1/classes.rb +1311 -773
  222. data/generated/google/apis/datastore_v1/representations.rb +351 -148
  223. data/generated/google/apis/datastore_v1/service.rb +206 -55
  224. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  225. data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
  226. data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
  227. data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
  228. data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
  229. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
  230. data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
  231. data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
  232. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  233. data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
  234. data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
  235. data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
  236. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
  237. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
  238. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
  239. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  240. data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
  241. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
  242. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  243. data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
  244. data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
  245. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
  246. data/generated/google/apis/dlp_v2beta1.rb +36 -0
  247. data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
  248. data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
  249. data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
  250. data/generated/google/apis/dns_v1.rb +1 -1
  251. data/generated/google/apis/dns_v2beta1.rb +1 -1
  252. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  253. data/generated/google/apis/drive_v2.rb +1 -1
  254. data/generated/google/apis/drive_v3.rb +1 -1
  255. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  256. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
  257. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
  258. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  259. data/generated/google/apis/firebaserules_v1.rb +1 -1
  260. data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
  261. data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
  262. data/generated/google/apis/firebaserules_v1/service.rb +113 -113
  263. data/generated/google/apis/fitness_v1.rb +1 -1
  264. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  265. data/generated/google/apis/fusiontables_v1.rb +37 -0
  266. data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
  267. data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
  268. data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  270. data/generated/google/apis/games_management_v1management.rb +1 -1
  271. data/generated/google/apis/games_v1.rb +1 -1
  272. data/generated/google/apis/genomics_v1.rb +8 -8
  273. data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
  274. data/generated/google/apis/genomics_v1/representations.rb +482 -482
  275. data/generated/google/apis/genomics_v1/service.rb +966 -966
  276. data/generated/google/apis/genomics_v1alpha2.rb +40 -0
  277. data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
  278. data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
  279. data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
  280. data/generated/google/apis/gmail_v1.rb +1 -1
  281. data/generated/google/apis/iam_v1.rb +1 -1
  282. data/generated/google/apis/iam_v1/classes.rb +664 -395
  283. data/generated/google/apis/iam_v1/representations.rb +194 -81
  284. data/generated/google/apis/iam_v1/service.rb +657 -92
  285. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
  287. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  288. data/generated/google/apis/kgsearch_v1/service.rb +8 -8
  289. data/generated/google/apis/language_v1.rb +4 -1
  290. data/generated/google/apis/language_v1/classes.rb +393 -393
  291. data/generated/google/apis/language_v1/representations.rb +95 -95
  292. data/generated/google/apis/language_v1/service.rb +42 -42
  293. data/generated/google/apis/language_v1beta1.rb +4 -1
  294. data/generated/google/apis/language_v1beta1/classes.rb +457 -457
  295. data/generated/google/apis/language_v1beta1/representations.rb +114 -114
  296. data/generated/google/apis/language_v1beta1/service.rb +48 -48
  297. data/generated/google/apis/language_v1beta2.rb +39 -0
  298. data/generated/google/apis/language_v1beta2/classes.rb +824 -0
  299. data/generated/google/apis/language_v1beta2/representations.rb +373 -0
  300. data/generated/google/apis/language_v1beta2/service.rb +217 -0
  301. data/generated/google/apis/logging_v2.rb +9 -9
  302. data/generated/google/apis/logging_v2/classes.rb +840 -834
  303. data/generated/google/apis/logging_v2/representations.rb +168 -167
  304. data/generated/google/apis/logging_v2/service.rb +667 -463
  305. data/generated/google/apis/logging_v2beta1.rb +9 -9
  306. data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
  307. data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
  308. data/generated/google/apis/logging_v2beta1/service.rb +253 -255
  309. data/generated/google/apis/manufacturers_v1.rb +1 -1
  310. data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
  311. data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
  312. data/generated/google/apis/manufacturers_v1/service.rb +8 -7
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +1487 -1676
  315. data/generated/google/apis/ml_v1/representations.rb +229 -299
  316. data/generated/google/apis/ml_v1/service.rb +359 -253
  317. data/generated/google/apis/ml_v1beta1.rb +34 -0
  318. data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
  319. data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
  320. data/generated/google/apis/ml_v1beta1/service.rb +975 -0
  321. data/generated/google/apis/monitoring_v3.rb +6 -6
  322. data/generated/google/apis/monitoring_v3/classes.rb +834 -834
  323. data/generated/google/apis/monitoring_v3/representations.rb +168 -168
  324. data/generated/google/apis/monitoring_v3/service.rb +330 -330
  325. data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
  326. data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
  327. data/generated/google/apis/mybusiness_v3/service.rb +241 -241
  328. data/generated/google/apis/oauth2_v1.rb +43 -0
  329. data/generated/google/apis/oauth2_v1/classes.rb +321 -0
  330. data/generated/google/apis/oauth2_v1/representations.rb +135 -0
  331. data/generated/google/apis/oauth2_v1/service.rb +337 -0
  332. data/generated/google/apis/oauth2_v2.rb +1 -1
  333. data/generated/google/apis/oslogin_v1alpha.rb +37 -0
  334. data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
  335. data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
  336. data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
  337. data/generated/google/apis/pagespeedonline_v1.rb +32 -0
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
  341. data/generated/google/apis/partners_v2.rb +1 -1
  342. data/generated/google/apis/partners_v2/classes.rb +1512 -1512
  343. data/generated/google/apis/partners_v2/representations.rb +368 -368
  344. data/generated/google/apis/partners_v2/service.rb +596 -596
  345. data/generated/google/apis/people_v1.rb +15 -15
  346. data/generated/google/apis/people_v1/classes.rb +1384 -1383
  347. data/generated/google/apis/people_v1/representations.rb +311 -311
  348. data/generated/google/apis/people_v1/service.rb +208 -202
  349. data/generated/google/apis/playcustomapp_v1.rb +34 -0
  350. data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
  351. data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
  352. data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
  353. data/generated/google/apis/playmoviespartner_v1.rb +34 -0
  354. data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
  355. data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
  356. data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
  357. data/generated/google/apis/plus_domains_v1.rb +1 -1
  358. data/generated/google/apis/plus_v1.rb +1 -1
  359. data/generated/google/apis/prediction_v1_2.rb +44 -0
  360. data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
  361. data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
  362. data/generated/google/apis/prediction_v1_2/service.rb +287 -0
  363. data/generated/google/apis/prediction_v1_3.rb +44 -0
  364. data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
  365. data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
  366. data/generated/google/apis/prediction_v1_3/service.rb +284 -0
  367. data/generated/google/apis/prediction_v1_4.rb +44 -0
  368. data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
  369. data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
  370. data/generated/google/apis/prediction_v1_4/service.rb +284 -0
  371. data/generated/google/apis/prediction_v1_5.rb +44 -0
  372. data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
  373. data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
  374. data/generated/google/apis/prediction_v1_5/service.rb +357 -0
  375. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  376. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
  377. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
  378. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
  379. data/generated/google/apis/pubsub_v1.rb +4 -4
  380. data/generated/google/apis/pubsub_v1/classes.rb +352 -352
  381. data/generated/google/apis/pubsub_v1/representations.rb +77 -77
  382. data/generated/google/apis/pubsub_v1/service.rb +346 -346
  383. data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
  384. data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
  385. data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
  386. data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
  387. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  388. data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
  389. data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
  390. data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
  391. data/generated/google/apis/replicapool_v1beta1.rb +50 -0
  392. data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
  393. data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
  394. data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
  395. data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
  396. data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
  397. data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
  398. data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
  399. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  400. data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
  401. data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
  402. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  403. data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
  404. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
  405. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
  406. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
  407. data/generated/google/apis/safebrowsing_v4.rb +32 -0
  408. data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
  409. data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
  410. data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
  411. data/generated/google/apis/script_v1.rb +19 -19
  412. data/generated/google/apis/script_v1/classes.rb +99 -157
  413. data/generated/google/apis/script_v1/representations.rb +17 -47
  414. data/generated/google/apis/script_v1/service.rb +12 -12
  415. data/generated/google/apis/searchconsole_v1.rb +1 -1
  416. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  417. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  418. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  419. data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
  420. data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
  421. data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
  422. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  423. data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
  424. data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
  425. data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
  426. data/generated/google/apis/serviceuser_v1.rb +5 -5
  427. data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
  428. data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
  429. data/generated/google/apis/serviceuser_v1/service.rb +43 -43
  430. data/generated/google/apis/sheets_v4.rb +7 -7
  431. data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
  432. data/generated/google/apis/sheets_v4/representations.rb +931 -930
  433. data/generated/google/apis/sheets_v4/service.rb +244 -244
  434. data/generated/google/apis/slides_v1.rb +10 -10
  435. data/generated/google/apis/slides_v1/classes.rb +2915 -2915
  436. data/generated/google/apis/slides_v1/representations.rb +698 -698
  437. data/generated/google/apis/slides_v1/service.rb +35 -35
  438. data/generated/google/apis/sourcerepo_v1.rb +3 -3
  439. data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
  440. data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
  441. data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
  442. data/generated/google/apis/spanner_v1.rb +4 -4
  443. data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
  444. data/generated/google/apis/spanner_v1/representations.rb +338 -323
  445. data/generated/google/apis/spanner_v1/service.rb +689 -689
  446. data/generated/google/apis/spectrum_v1explorer.rb +31 -0
  447. data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
  448. data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
  449. data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
  450. data/generated/google/apis/speech_v1.rb +34 -0
  451. data/generated/google/apis/speech_v1/classes.rb +572 -0
  452. data/generated/google/apis/speech_v1/representations.rb +236 -0
  453. data/generated/google/apis/speech_v1/service.rb +277 -0
  454. data/generated/google/apis/speech_v1beta1.rb +1 -1
  455. data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
  456. data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
  457. data/generated/google/apis/speech_v1beta1/service.rb +46 -46
  458. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  459. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
  460. data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
  461. data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
  462. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  463. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
  464. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1/classes.rb +7 -6
  467. data/generated/google/apis/storage_v1/service.rb +51 -29
  468. data/generated/google/apis/storage_v1beta1.rb +40 -0
  469. data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
  470. data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
  471. data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
  472. data/generated/google/apis/storage_v1beta2.rb +40 -0
  473. data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
  474. data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
  475. data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
  476. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  477. data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
  478. data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
  479. data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
  480. data/generated/google/apis/streetviewpublish_v1.rb +36 -0
  481. data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
  482. data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
  483. data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
  484. data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
  485. data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
  486. data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
  487. data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
  490. data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
  491. data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
  492. data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
  493. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
  494. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
  495. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
  496. data/generated/google/apis/translate_v2/classes.rb +111 -111
  497. data/generated/google/apis/translate_v2/representations.rb +49 -49
  498. data/generated/google/apis/translate_v2/service.rb +94 -94
  499. data/generated/google/apis/vault_v1.rb +31 -0
  500. data/generated/google/apis/vault_v1/classes.rb +554 -0
  501. data/generated/google/apis/vault_v1/representations.rb +318 -0
  502. data/generated/google/apis/vault_v1/service.rb +677 -0
  503. data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
  504. data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
  505. data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
  506. data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
  507. data/generated/google/apis/vision_v1.rb +4 -4
  508. data/generated/google/apis/vision_v1/classes.rb +1176 -1178
  509. data/generated/google/apis/vision_v1/representations.rb +235 -235
  510. data/generated/google/apis/webmasters_v3.rb +1 -1
  511. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  512. data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
  513. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
  514. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
  515. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
  516. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  517. data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
  518. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
  519. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  520. data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
  521. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  522. data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
  523. data/lib/google/apis/version.rb +1 -1
  524. metadata +246 -2
@@ -22,79 +22,79 @@ module Google
22
22
  module Apis
23
23
  module SpeechV1beta1
24
24
 
25
- class SyncRecognizeRequest
25
+ class AsyncRecognizeRequest
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class Status
31
+ class Empty
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class SyncRecognizeResponse
37
+ class ListOperationsResponse
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class Empty
43
+ class Operation
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class ListOperationsResponse
49
+ class RecognitionAudio
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class SpeechContext
55
+ class RecognitionConfig
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class SpeechRecognitionAlternative
61
+ class SpeechContext
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class SpeechRecognitionResult
67
+ class SpeechRecognitionAlternative
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class AsyncRecognizeRequest
73
+ class SpeechRecognitionResult
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class RecognitionAudio
79
+ class Status
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class Operation
85
+ class SyncRecognizeRequest
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class RecognitionConfig
91
+ class SyncRecognizeResponse
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class SyncRecognizeRequest
97
+ class AsyncRecognizeRequest
98
98
  # @private
99
99
  class Representation < Google::Apis::Core::JsonRepresentation
100
100
  property :audio, as: 'audio', class: Google::Apis::SpeechV1beta1::RecognitionAudio, decorator: Google::Apis::SpeechV1beta1::RecognitionAudio::Representation
@@ -104,35 +104,51 @@ module Google
104
104
  end
105
105
  end
106
106
 
107
- class Status
107
+ class Empty
108
108
  # @private
109
109
  class Representation < Google::Apis::Core::JsonRepresentation
110
- property :code, as: 'code'
111
- property :message, as: 'message'
112
- collection :details, as: 'details'
113
110
  end
114
111
  end
115
112
 
116
- class SyncRecognizeResponse
113
+ class ListOperationsResponse
117
114
  # @private
118
115
  class Representation < Google::Apis::Core::JsonRepresentation
119
- collection :results, as: 'results', class: Google::Apis::SpeechV1beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1beta1::SpeechRecognitionResult::Representation
116
+ property :next_page_token, as: 'nextPageToken'
117
+ collection :operations, as: 'operations', class: Google::Apis::SpeechV1beta1::Operation, decorator: Google::Apis::SpeechV1beta1::Operation::Representation
120
118
 
121
119
  end
122
120
  end
123
121
 
124
- class Empty
122
+ class Operation
125
123
  # @private
126
124
  class Representation < Google::Apis::Core::JsonRepresentation
125
+ property :done, as: 'done'
126
+ property :error, as: 'error', class: Google::Apis::SpeechV1beta1::Status, decorator: Google::Apis::SpeechV1beta1::Status::Representation
127
+
128
+ hash :metadata, as: 'metadata'
129
+ property :name, as: 'name'
130
+ hash :response, as: 'response'
127
131
  end
128
132
  end
129
133
 
130
- class ListOperationsResponse
134
+ class RecognitionAudio
131
135
  # @private
132
136
  class Representation < Google::Apis::Core::JsonRepresentation
133
- collection :operations, as: 'operations', class: Google::Apis::SpeechV1beta1::Operation, decorator: Google::Apis::SpeechV1beta1::Operation::Representation
137
+ property :content, :base64 => true, as: 'content'
138
+ property :uri, as: 'uri'
139
+ end
140
+ end
141
+
142
+ class RecognitionConfig
143
+ # @private
144
+ class Representation < Google::Apis::Core::JsonRepresentation
145
+ property :encoding, as: 'encoding'
146
+ property :language_code, as: 'languageCode'
147
+ property :max_alternatives, as: 'maxAlternatives'
148
+ property :profanity_filter, as: 'profanityFilter'
149
+ property :sample_rate, as: 'sampleRate'
150
+ property :speech_context, as: 'speechContext', class: Google::Apis::SpeechV1beta1::SpeechContext, decorator: Google::Apis::SpeechV1beta1::SpeechContext::Representation
134
151
 
135
- property :next_page_token, as: 'nextPageToken'
136
152
  end
137
153
  end
138
154
 
@@ -159,46 +175,30 @@ module Google
159
175
  end
160
176
  end
161
177
 
162
- class AsyncRecognizeRequest
178
+ class Status
163
179
  # @private
164
180
  class Representation < Google::Apis::Core::JsonRepresentation
165
- property :audio, as: 'audio', class: Google::Apis::SpeechV1beta1::RecognitionAudio, decorator: Google::Apis::SpeechV1beta1::RecognitionAudio::Representation
166
-
167
- property :config, as: 'config', class: Google::Apis::SpeechV1beta1::RecognitionConfig, decorator: Google::Apis::SpeechV1beta1::RecognitionConfig::Representation
168
-
181
+ property :code, as: 'code'
182
+ collection :details, as: 'details'
183
+ property :message, as: 'message'
169
184
  end
170
185
  end
171
186
 
172
- class RecognitionAudio
187
+ class SyncRecognizeRequest
173
188
  # @private
174
189
  class Representation < Google::Apis::Core::JsonRepresentation
175
- property :content, :base64 => true, as: 'content'
176
- property :uri, as: 'uri'
177
- end
178
- end
190
+ property :audio, as: 'audio', class: Google::Apis::SpeechV1beta1::RecognitionAudio, decorator: Google::Apis::SpeechV1beta1::RecognitionAudio::Representation
179
191
 
180
- class Operation
181
- # @private
182
- class Representation < Google::Apis::Core::JsonRepresentation
183
- property :done, as: 'done'
184
- hash :response, as: 'response'
185
- property :name, as: 'name'
186
- property :error, as: 'error', class: Google::Apis::SpeechV1beta1::Status, decorator: Google::Apis::SpeechV1beta1::Status::Representation
192
+ property :config, as: 'config', class: Google::Apis::SpeechV1beta1::RecognitionConfig, decorator: Google::Apis::SpeechV1beta1::RecognitionConfig::Representation
187
193
 
188
- hash :metadata, as: 'metadata'
189
194
  end
190
195
  end
191
196
 
192
- class RecognitionConfig
197
+ class SyncRecognizeResponse
193
198
  # @private
194
199
  class Representation < Google::Apis::Core::JsonRepresentation
195
- property :language_code, as: 'languageCode'
196
- property :sample_rate, as: 'sampleRate'
197
- property :profanity_filter, as: 'profanityFilter'
198
- property :speech_context, as: 'speechContext', class: Google::Apis::SpeechV1beta1::SpeechContext, decorator: Google::Apis::SpeechV1beta1::SpeechContext::Representation
200
+ collection :results, as: 'results', class: Google::Apis::SpeechV1beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1beta1::SpeechRecognitionResult::Representation
199
201
 
200
- property :encoding, as: 'encoding'
201
- property :max_alternatives, as: 'maxAlternatives'
202
202
  end
203
203
  end
204
204
  end
@@ -47,6 +47,45 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
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 [String] fields
63
+ # Selector specifying which fields to include in a partial response.
64
+ # @param [String] quota_user
65
+ # Available to use for quota purposes for server-side applications. Can be any
66
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
67
+ # @param [Google::Apis::RequestOptions] options
68
+ # Request-specific options
69
+ #
70
+ # @yield [result, err] Result & error if block supplied
71
+ # @yieldparam result [Google::Apis::SpeechV1beta1::Empty] parsed result object
72
+ # @yieldparam err [StandardError] error object if request failed
73
+ #
74
+ # @return [Google::Apis::SpeechV1beta1::Empty]
75
+ #
76
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
77
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
79
+ def cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block)
80
+ command = make_simple_command(:post, 'v1beta1/operations/{+name}:cancel', options)
81
+ command.response_representation = Google::Apis::SpeechV1beta1::Empty::Representation
82
+ command.response_class = Google::Apis::SpeechV1beta1::Empty
83
+ command.params['name'] = name unless name.nil?
84
+ command.query['fields'] = fields unless fields.nil?
85
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
86
+ execute_or_queue_command(command, &block)
87
+ end
88
+
50
89
  # Deletes a long-running operation. This method indicates that the client is
51
90
  # no longer interested in the operation result. It does not cancel the
52
91
  # operation. If the server doesn't support this method, it returns
@@ -121,14 +160,14 @@ module Google
121
160
  # For backwards compatibility, the default name includes the operations
122
161
  # collection id, however overriding users must ensure the name binding
123
162
  # is the parent resource, without the operations collection id.
124
- # @param [String] page_token
125
- # The standard list page token.
163
+ # @param [String] filter
164
+ # The standard list filter.
126
165
  # @param [String] name
127
166
  # The name of the operation's parent resource.
128
167
  # @param [Fixnum] page_size
129
168
  # The standard list page size.
130
- # @param [String] filter
131
- # The standard list filter.
169
+ # @param [String] page_token
170
+ # The standard list page token.
132
171
  # @param [String] fields
133
172
  # Selector specifying which fields to include in a partial response.
134
173
  # @param [String] quota_user
@@ -146,53 +185,14 @@ module Google
146
185
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
147
186
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
148
187
  # @raise [Google::Apis::AuthorizationError] Authorization is required
149
- def list_operations(page_token: nil, name: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
188
+ def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
150
189
  command = make_simple_command(:get, 'v1beta1/operations', options)
151
190
  command.response_representation = Google::Apis::SpeechV1beta1::ListOperationsResponse::Representation
152
191
  command.response_class = Google::Apis::SpeechV1beta1::ListOperationsResponse
153
- command.query['pageToken'] = page_token unless page_token.nil?
192
+ command.query['filter'] = filter unless filter.nil?
154
193
  command.query['name'] = name unless name.nil?
155
194
  command.query['pageSize'] = page_size unless page_size.nil?
156
- command.query['filter'] = filter unless filter.nil?
157
- command.query['fields'] = fields unless fields.nil?
158
- command.query['quotaUser'] = quota_user unless quota_user.nil?
159
- execute_or_queue_command(command, &block)
160
- end
161
-
162
- # Starts asynchronous cancellation on a long-running operation. The server
163
- # makes a best effort to cancel the operation, but success is not
164
- # guaranteed. If the server doesn't support this method, it returns
165
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
166
- # Operations.GetOperation or
167
- # other methods to check whether the cancellation succeeded or whether the
168
- # operation completed despite cancellation. On successful cancellation,
169
- # the operation is not deleted; instead, it becomes an operation with
170
- # an Operation.error value with a google.rpc.Status.code of 1,
171
- # corresponding to `Code.CANCELLED`.
172
- # @param [String] name
173
- # The name of the operation resource to be cancelled.
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::SpeechV1beta1::Empty] parsed result object
184
- # @yieldparam err [StandardError] error object if request failed
185
- #
186
- # @return [Google::Apis::SpeechV1beta1::Empty]
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 cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block)
192
- command = make_simple_command(:post, 'v1beta1/operations/{+name}:cancel', options)
193
- command.response_representation = Google::Apis::SpeechV1beta1::Empty::Representation
194
- command.response_class = Google::Apis::SpeechV1beta1::Empty
195
- command.params['name'] = name unless name.nil?
195
+ command.query['pageToken'] = page_token unless page_token.nil?
196
196
  command.query['fields'] = fields unless fields.nil?
197
197
  command.query['quotaUser'] = quota_user unless quota_user.nil?
198
198
  execute_or_queue_command(command, &block)
@@ -0,0 +1,38 @@
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/sqladmin_v1beta3/service.rb'
16
+ require 'google/apis/sqladmin_v1beta3/classes.rb'
17
+ require 'google/apis/sqladmin_v1beta3/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Cloud SQL Administration API
22
+ #
23
+ # Creates and configures Cloud SQL instances, which provide fully-managed MySQL
24
+ # databases.
25
+ #
26
+ # @see https://cloud.google.com/sql/docs/reference/latest
27
+ module SqladminV1beta3
28
+ VERSION = 'V1beta3'
29
+ REVISION = '20170807'
30
+
31
+ # View and manage your data across Google Cloud Platform services
32
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
33
+
34
+ # Manage your Google SQL Service instances
35
+ AUTH_SQLSERVICE_ADMIN = 'https://www.googleapis.com/auth/sqlservice.admin'
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,1615 @@
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 SqladminV1beta3
24
+
25
+ # Database instance backup configuration.
26
+ class BackupConfiguration
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Whether binary log is enabled. If backup configuration is disabled, binary log
30
+ # must be disabled as well.
31
+ # Corresponds to the JSON property `binaryLogEnabled`
32
+ # @return [Boolean]
33
+ attr_accessor :binary_log_enabled
34
+ alias_method :binary_log_enabled?, :binary_log_enabled
35
+
36
+ # Whether this configuration is enabled.
37
+ # Corresponds to the JSON property `enabled`
38
+ # @return [Boolean]
39
+ attr_accessor :enabled
40
+ alias_method :enabled?, :enabled
41
+
42
+ # Identifier for this configuration. This gets generated automatically when a
43
+ # backup configuration is created.
44
+ # Corresponds to the JSON property `id`
45
+ # @return [String]
46
+ attr_accessor :id
47
+
48
+ # This is always sql#backupConfiguration.
49
+ # Corresponds to the JSON property `kind`
50
+ # @return [String]
51
+ attr_accessor :kind
52
+
53
+ # Start time for the daily backup configuration in UTC timezone in the 24 hour
54
+ # format - HH:MM.
55
+ # Corresponds to the JSON property `startTime`
56
+ # @return [String]
57
+ attr_accessor :start_time
58
+
59
+ def initialize(**args)
60
+ update!(**args)
61
+ end
62
+
63
+ # Update properties of this object
64
+ def update!(**args)
65
+ @binary_log_enabled = args[:binary_log_enabled] if args.key?(:binary_log_enabled)
66
+ @enabled = args[:enabled] if args.key?(:enabled)
67
+ @id = args[:id] if args.key?(:id)
68
+ @kind = args[:kind] if args.key?(:kind)
69
+ @start_time = args[:start_time] if args.key?(:start_time)
70
+ end
71
+ end
72
+
73
+ # A database instance backup run resource.
74
+ class BackupRun
75
+ include Google::Apis::Core::Hashable
76
+
77
+ # Backup Configuration identifier.
78
+ # Corresponds to the JSON property `backupConfiguration`
79
+ # @return [String]
80
+ attr_accessor :backup_configuration
81
+
82
+ # The due time of this run in UTC timezone in RFC 3339 format, for example 2012-
83
+ # 11-15T16:19:00.094Z.
84
+ # Corresponds to the JSON property `dueTime`
85
+ # @return [DateTime]
86
+ attr_accessor :due_time
87
+
88
+ # The time the backup operation completed in UTC timezone in RFC 3339 format,
89
+ # for example 2012-11-15T16:19:00.094Z.
90
+ # Corresponds to the JSON property `endTime`
91
+ # @return [DateTime]
92
+ attr_accessor :end_time
93
+
94
+ # The time the run was enqueued in UTC timezone in RFC 3339 format, for example
95
+ # 2012-11-15T16:19:00.094Z.
96
+ # Corresponds to the JSON property `enqueuedTime`
97
+ # @return [DateTime]
98
+ attr_accessor :enqueued_time
99
+
100
+ # Database instance operation error.
101
+ # Corresponds to the JSON property `error`
102
+ # @return [Google::Apis::SqladminV1beta3::OperationError]
103
+ attr_accessor :error
104
+
105
+ # Name of the database instance.
106
+ # Corresponds to the JSON property `instance`
107
+ # @return [String]
108
+ attr_accessor :instance
109
+
110
+ # This is always sql#backupRun.
111
+ # Corresponds to the JSON property `kind`
112
+ # @return [String]
113
+ attr_accessor :kind
114
+
115
+ # The time the backup operation actually started in UTC timezone in RFC 3339
116
+ # format, for example 2012-11-15T16:19:00.094Z.
117
+ # Corresponds to the JSON property `startTime`
118
+ # @return [DateTime]
119
+ attr_accessor :start_time
120
+
121
+ # The status of this run.
122
+ # Corresponds to the JSON property `status`
123
+ # @return [String]
124
+ attr_accessor :status
125
+
126
+ def initialize(**args)
127
+ update!(**args)
128
+ end
129
+
130
+ # Update properties of this object
131
+ def update!(**args)
132
+ @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
133
+ @due_time = args[:due_time] if args.key?(:due_time)
134
+ @end_time = args[:end_time] if args.key?(:end_time)
135
+ @enqueued_time = args[:enqueued_time] if args.key?(:enqueued_time)
136
+ @error = args[:error] if args.key?(:error)
137
+ @instance = args[:instance] if args.key?(:instance)
138
+ @kind = args[:kind] if args.key?(:kind)
139
+ @start_time = args[:start_time] if args.key?(:start_time)
140
+ @status = args[:status] if args.key?(:status)
141
+ end
142
+ end
143
+
144
+ # Backup run list results.
145
+ class BackupRunsListResponse
146
+ include Google::Apis::Core::Hashable
147
+
148
+ # A list of backup runs in reverse chronological order of the enqueued time.
149
+ # Corresponds to the JSON property `items`
150
+ # @return [Array<Google::Apis::SqladminV1beta3::BackupRun>]
151
+ attr_accessor :items
152
+
153
+ # This is always sql#backupRunsList.
154
+ # Corresponds to the JSON property `kind`
155
+ # @return [String]
156
+ attr_accessor :kind
157
+
158
+ # The continuation token, used to page through large result sets. Provide this
159
+ # value in a subsequent request to return the next page of results.
160
+ # Corresponds to the JSON property `nextPageToken`
161
+ # @return [String]
162
+ attr_accessor :next_page_token
163
+
164
+ def initialize(**args)
165
+ update!(**args)
166
+ end
167
+
168
+ # Update properties of this object
169
+ def update!(**args)
170
+ @items = args[:items] if args.key?(:items)
171
+ @kind = args[:kind] if args.key?(:kind)
172
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
173
+ end
174
+ end
175
+
176
+ # Binary log coordinates.
177
+ class BinLogCoordinates
178
+ include Google::Apis::Core::Hashable
179
+
180
+ # Name of the binary log file for a Cloud SQL instance.
181
+ # Corresponds to the JSON property `binLogFileName`
182
+ # @return [String]
183
+ attr_accessor :bin_log_file_name
184
+
185
+ # Position (offset) within the binary log file.
186
+ # Corresponds to the JSON property `binLogPosition`
187
+ # @return [Fixnum]
188
+ attr_accessor :bin_log_position
189
+
190
+ # This is always sql#binLogCoordinates.
191
+ # Corresponds to the JSON property `kind`
192
+ # @return [String]
193
+ attr_accessor :kind
194
+
195
+ def initialize(**args)
196
+ update!(**args)
197
+ end
198
+
199
+ # Update properties of this object
200
+ def update!(**args)
201
+ @bin_log_file_name = args[:bin_log_file_name] if args.key?(:bin_log_file_name)
202
+ @bin_log_position = args[:bin_log_position] if args.key?(:bin_log_position)
203
+ @kind = args[:kind] if args.key?(:kind)
204
+ end
205
+ end
206
+
207
+ # Database instance clone context.
208
+ class CloneContext
209
+ include Google::Apis::Core::Hashable
210
+
211
+ # Binary log coordinates.
212
+ # Corresponds to the JSON property `binLogCoordinates`
213
+ # @return [Google::Apis::SqladminV1beta3::BinLogCoordinates]
214
+ attr_accessor :bin_log_coordinates
215
+
216
+ # Name of the Cloud SQL instance to be created as a clone.
217
+ # Corresponds to the JSON property `destinationInstanceName`
218
+ # @return [String]
219
+ attr_accessor :destination_instance_name
220
+
221
+ # This is always sql#cloneContext.
222
+ # Corresponds to the JSON property `kind`
223
+ # @return [String]
224
+ attr_accessor :kind
225
+
226
+ # Name of the Cloud SQL instance to be cloned.
227
+ # Corresponds to the JSON property `sourceInstanceName`
228
+ # @return [String]
229
+ attr_accessor :source_instance_name
230
+
231
+ def initialize(**args)
232
+ update!(**args)
233
+ end
234
+
235
+ # Update properties of this object
236
+ def update!(**args)
237
+ @bin_log_coordinates = args[:bin_log_coordinates] if args.key?(:bin_log_coordinates)
238
+ @destination_instance_name = args[:destination_instance_name] if args.key?(:destination_instance_name)
239
+ @kind = args[:kind] if args.key?(:kind)
240
+ @source_instance_name = args[:source_instance_name] if args.key?(:source_instance_name)
241
+ end
242
+ end
243
+
244
+ # MySQL flags for Cloud SQL instances.
245
+ class DatabaseFlags
246
+ include Google::Apis::Core::Hashable
247
+
248
+ # The name of the flag. These flags are passed at instance startup, so include
249
+ # both MySQL server options and MySQL system variables. Flags should be
250
+ # specified with underscores, not hyphens. For more information, see Configuring
251
+ # MySQL Flags in the Google Cloud SQL documentation, as well as the official
252
+ # MySQL documentation for server options and system variables.
253
+ # Corresponds to the JSON property `name`
254
+ # @return [String]
255
+ attr_accessor :name
256
+
257
+ # The value of the flag. Booleans should be set to on for true and off for false.
258
+ # This field must be omitted if the flag doesn't take a value.
259
+ # Corresponds to the JSON property `value`
260
+ # @return [String]
261
+ attr_accessor :value
262
+
263
+ def initialize(**args)
264
+ update!(**args)
265
+ end
266
+
267
+ # Update properties of this object
268
+ def update!(**args)
269
+ @name = args[:name] if args.key?(:name)
270
+ @value = args[:value] if args.key?(:value)
271
+ end
272
+ end
273
+
274
+ # A Cloud SQL instance resource.
275
+ class DatabaseInstance
276
+ include Google::Apis::Core::Hashable
277
+
278
+ # Connection name of the Cloud SQL instance used in connection strings.
279
+ # Corresponds to the JSON property `connectionName`
280
+ # @return [String]
281
+ attr_accessor :connection_name
282
+
283
+ # The current disk usage of the instance in bytes.
284
+ # Corresponds to the JSON property `currentDiskSize`
285
+ # @return [Fixnum]
286
+ attr_accessor :current_disk_size
287
+
288
+ # The database engine type and version. Can be MYSQL_5_5 or MYSQL_5_6. Defaults
289
+ # to MYSQL_5_5. The databaseVersion cannot be changed after instance creation.
290
+ # Corresponds to the JSON property `databaseVersion`
291
+ # @return [String]
292
+ attr_accessor :database_version
293
+
294
+ # HTTP 1.1 Entity tag for the resource.
295
+ # Corresponds to the JSON property `etag`
296
+ # @return [String]
297
+ attr_accessor :etag
298
+
299
+ # Name of the Cloud SQL instance. This does not include the project ID.
300
+ # Corresponds to the JSON property `instance`
301
+ # @return [String]
302
+ attr_accessor :instance
303
+
304
+ # The instance type. This can be one of the following.
305
+ # CLOUD_SQL_INSTANCE: Regular Cloud SQL instance.
306
+ # READ_REPLICA_INSTANCE: Cloud SQL instance acting as a read-replica.
307
+ # Corresponds to the JSON property `instanceType`
308
+ # @return [String]
309
+ attr_accessor :instance_type
310
+
311
+ # The assigned IP addresses for the instance.
312
+ # Corresponds to the JSON property `ipAddresses`
313
+ # @return [Array<Google::Apis::SqladminV1beta3::IpMapping>]
314
+ attr_accessor :ip_addresses
315
+
316
+ # The IPv6 address assigned to the instance.
317
+ # Corresponds to the JSON property `ipv6Address`
318
+ # @return [String]
319
+ attr_accessor :ipv6_address
320
+
321
+ # This is always sql#instance.
322
+ # Corresponds to the JSON property `kind`
323
+ # @return [String]
324
+ attr_accessor :kind
325
+
326
+ # The name of the instance which will act as master in the replication setup.
327
+ # Corresponds to the JSON property `masterInstanceName`
328
+ # @return [String]
329
+ attr_accessor :master_instance_name
330
+
331
+ # The maximum disk size of the instance in bytes.
332
+ # Corresponds to the JSON property `maxDiskSize`
333
+ # @return [Fixnum]
334
+ attr_accessor :max_disk_size
335
+
336
+ # The project ID of the project containing the Cloud SQL instance. The Google
337
+ # apps domain is prefixed if applicable.
338
+ # Corresponds to the JSON property `project`
339
+ # @return [String]
340
+ attr_accessor :project
341
+
342
+ # The geographical region. Can be us-central, asia-east1 or europe-west1.
343
+ # Defaults to us-central. The region can not be changed after instance creation.
344
+ # Corresponds to the JSON property `region`
345
+ # @return [String]
346
+ attr_accessor :region
347
+
348
+ # The replicas of the instance.
349
+ # Corresponds to the JSON property `replicaNames`
350
+ # @return [Array<String>]
351
+ attr_accessor :replica_names
352
+
353
+ # SslCerts Resource
354
+ # Corresponds to the JSON property `serverCaCert`
355
+ # @return [Google::Apis::SqladminV1beta3::SslCert]
356
+ attr_accessor :server_ca_cert
357
+
358
+ # The service account email address assigned to the instance.
359
+ # Corresponds to the JSON property `serviceAccountEmailAddress`
360
+ # @return [String]
361
+ attr_accessor :service_account_email_address
362
+
363
+ # Database instance settings.
364
+ # Corresponds to the JSON property `settings`
365
+ # @return [Google::Apis::SqladminV1beta3::Settings]
366
+ attr_accessor :settings
367
+
368
+ # The current serving state of the Cloud SQL instance. This can be one of the
369
+ # following.
370
+ # RUNNABLE: The instance is running, or is ready to run when accessed.
371
+ # SUSPENDED: The instance is not available, for example due to problems with
372
+ # billing.
373
+ # PENDING_CREATE: The instance is being created.
374
+ # MAINTENANCE: The instance is down for maintenance.
375
+ # UNKNOWN_STATE: The state of the instance is unknown.
376
+ # Corresponds to the JSON property `state`
377
+ # @return [String]
378
+ attr_accessor :state
379
+
380
+ def initialize(**args)
381
+ update!(**args)
382
+ end
383
+
384
+ # Update properties of this object
385
+ def update!(**args)
386
+ @connection_name = args[:connection_name] if args.key?(:connection_name)
387
+ @current_disk_size = args[:current_disk_size] if args.key?(:current_disk_size)
388
+ @database_version = args[:database_version] if args.key?(:database_version)
389
+ @etag = args[:etag] if args.key?(:etag)
390
+ @instance = args[:instance] if args.key?(:instance)
391
+ @instance_type = args[:instance_type] if args.key?(:instance_type)
392
+ @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
393
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
394
+ @kind = args[:kind] if args.key?(:kind)
395
+ @master_instance_name = args[:master_instance_name] if args.key?(:master_instance_name)
396
+ @max_disk_size = args[:max_disk_size] if args.key?(:max_disk_size)
397
+ @project = args[:project] if args.key?(:project)
398
+ @region = args[:region] if args.key?(:region)
399
+ @replica_names = args[:replica_names] if args.key?(:replica_names)
400
+ @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
401
+ @service_account_email_address = args[:service_account_email_address] if args.key?(:service_account_email_address)
402
+ @settings = args[:settings] if args.key?(:settings)
403
+ @state = args[:state] if args.key?(:state)
404
+ end
405
+ end
406
+
407
+ # Database instance export context.
408
+ class ExportContext
409
+ include Google::Apis::Core::Hashable
410
+
411
+ # Databases (for example, guestbook) from which the export is made. If
412
+ # unspecified, all databases are exported.
413
+ # Corresponds to the JSON property `database`
414
+ # @return [Array<String>]
415
+ attr_accessor :database
416
+
417
+ # This is always sql#exportContext.
418
+ # Corresponds to the JSON property `kind`
419
+ # @return [String]
420
+ attr_accessor :kind
421
+
422
+ # Tables to export, or that were exported, from the specified database. If you
423
+ # specify tables, specify one and only one database.
424
+ # Corresponds to the JSON property `table`
425
+ # @return [Array<String>]
426
+ attr_accessor :table
427
+
428
+ # The path to the file in Google Cloud Storage where the export will be stored,
429
+ # or where it was already stored. The URI is in the form gs://bucketName/
430
+ # fileName. If the file already exists, the operation fails. If the filename
431
+ # ends with .gz, the contents are compressed.
432
+ # Corresponds to the JSON property `uri`
433
+ # @return [String]
434
+ attr_accessor :uri
435
+
436
+ def initialize(**args)
437
+ update!(**args)
438
+ end
439
+
440
+ # Update properties of this object
441
+ def update!(**args)
442
+ @database = args[:database] if args.key?(:database)
443
+ @kind = args[:kind] if args.key?(:kind)
444
+ @table = args[:table] if args.key?(:table)
445
+ @uri = args[:uri] if args.key?(:uri)
446
+ end
447
+ end
448
+
449
+ # A Google Cloud SQL service flag resource.
450
+ class Flag
451
+ include Google::Apis::Core::Hashable
452
+
453
+ # For STRING flags, a list of strings that the value can be set to.
454
+ # Corresponds to the JSON property `allowedStringValues`
455
+ # @return [Array<String>]
456
+ attr_accessor :allowed_string_values
457
+
458
+ # The database version this flag applies to. Currently this can only be [
459
+ # MYSQL_5_5].
460
+ # Corresponds to the JSON property `appliesTo`
461
+ # @return [Array<String>]
462
+ attr_accessor :applies_to
463
+
464
+ # This is always sql#flag.
465
+ # Corresponds to the JSON property `kind`
466
+ # @return [String]
467
+ attr_accessor :kind
468
+
469
+ # For INTEGER flags, the maximum allowed value.
470
+ # Corresponds to the JSON property `maxValue`
471
+ # @return [Fixnum]
472
+ attr_accessor :max_value
473
+
474
+ # For INTEGER flags, the minimum allowed value.
475
+ # Corresponds to the JSON property `minValue`
476
+ # @return [Fixnum]
477
+ attr_accessor :min_value
478
+
479
+ # This is the name of the flag. Flag names always use underscores, not hyphens,
480
+ # e.g. max_allowed_packet
481
+ # Corresponds to the JSON property `name`
482
+ # @return [String]
483
+ attr_accessor :name
484
+
485
+ # The type of the flag. Flags are typed to being BOOLEAN, STRING, INTEGER or
486
+ # NONE. NONE is used for flags which do not take a value, such as
487
+ # skip_grant_tables.
488
+ # Corresponds to the JSON property `type`
489
+ # @return [String]
490
+ attr_accessor :type
491
+
492
+ def initialize(**args)
493
+ update!(**args)
494
+ end
495
+
496
+ # Update properties of this object
497
+ def update!(**args)
498
+ @allowed_string_values = args[:allowed_string_values] if args.key?(:allowed_string_values)
499
+ @applies_to = args[:applies_to] if args.key?(:applies_to)
500
+ @kind = args[:kind] if args.key?(:kind)
501
+ @max_value = args[:max_value] if args.key?(:max_value)
502
+ @min_value = args[:min_value] if args.key?(:min_value)
503
+ @name = args[:name] if args.key?(:name)
504
+ @type = args[:type] if args.key?(:type)
505
+ end
506
+ end
507
+
508
+ # Flags list response.
509
+ class FlagsListResponse
510
+ include Google::Apis::Core::Hashable
511
+
512
+ # List of flags.
513
+ # Corresponds to the JSON property `items`
514
+ # @return [Array<Google::Apis::SqladminV1beta3::Flag>]
515
+ attr_accessor :items
516
+
517
+ # This is always sql#flagsList.
518
+ # Corresponds to the JSON property `kind`
519
+ # @return [String]
520
+ attr_accessor :kind
521
+
522
+ def initialize(**args)
523
+ update!(**args)
524
+ end
525
+
526
+ # Update properties of this object
527
+ def update!(**args)
528
+ @items = args[:items] if args.key?(:items)
529
+ @kind = args[:kind] if args.key?(:kind)
530
+ end
531
+ end
532
+
533
+ # Database instance import context.
534
+ class ImportContext
535
+ include Google::Apis::Core::Hashable
536
+
537
+ # The database (for example, guestbook) to which the import is made. If not set,
538
+ # it is assumed that the database is specified in the file to be imported.
539
+ # Corresponds to the JSON property `database`
540
+ # @return [String]
541
+ attr_accessor :database
542
+
543
+ # This is always sql#importContext.
544
+ # Corresponds to the JSON property `kind`
545
+ # @return [String]
546
+ attr_accessor :kind
547
+
548
+ # A path to the MySQL dump file in Google Cloud Storage from which the import is
549
+ # made. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.
550
+ # gz) are also supported.
551
+ # Corresponds to the JSON property `uri`
552
+ # @return [Array<String>]
553
+ attr_accessor :uri
554
+
555
+ def initialize(**args)
556
+ update!(**args)
557
+ end
558
+
559
+ # Update properties of this object
560
+ def update!(**args)
561
+ @database = args[:database] if args.key?(:database)
562
+ @kind = args[:kind] if args.key?(:kind)
563
+ @uri = args[:uri] if args.key?(:uri)
564
+ end
565
+ end
566
+
567
+ # An Operations resource contains information about database instance operations
568
+ # such as create, delete, and restart. Operations resources are created in
569
+ # response to operations that were initiated; you never create them directly.
570
+ class InstanceOperation
571
+ include Google::Apis::Core::Hashable
572
+
573
+ # The time this operation finished in UTC timezone in RFC 3339 format, for
574
+ # example 2012-11-15T16:19:00.094Z.
575
+ # Corresponds to the JSON property `endTime`
576
+ # @return [DateTime]
577
+ attr_accessor :end_time
578
+
579
+ # The time this operation was enqueued in UTC timezone in RFC 3339 format, for
580
+ # example 2012-11-15T16:19:00.094Z.
581
+ # Corresponds to the JSON property `enqueuedTime`
582
+ # @return [DateTime]
583
+ attr_accessor :enqueued_time
584
+
585
+ # The error(s) encountered by this operation. Only set if the operation results
586
+ # in an error.
587
+ # Corresponds to the JSON property `error`
588
+ # @return [Array<Google::Apis::SqladminV1beta3::OperationError>]
589
+ attr_accessor :error
590
+
591
+ # Database instance export context.
592
+ # Corresponds to the JSON property `exportContext`
593
+ # @return [Google::Apis::SqladminV1beta3::ExportContext]
594
+ attr_accessor :export_context
595
+
596
+ # Database instance import context.
597
+ # Corresponds to the JSON property `importContext`
598
+ # @return [Google::Apis::SqladminV1beta3::ImportContext]
599
+ attr_accessor :import_context
600
+
601
+ # Name of the database instance.
602
+ # Corresponds to the JSON property `instance`
603
+ # @return [String]
604
+ attr_accessor :instance
605
+
606
+ # This is always sql#instanceOperation.
607
+ # Corresponds to the JSON property `kind`
608
+ # @return [String]
609
+ attr_accessor :kind
610
+
611
+ # An identifier that uniquely identifies the operation. You can use this
612
+ # identifier to retrieve the Operations resource that has information about the
613
+ # operation.
614
+ # Corresponds to the JSON property `operation`
615
+ # @return [String]
616
+ attr_accessor :operation
617
+
618
+ # The type of the operation. Valid values are CREATE, DELETE, UPDATE, RESTART,
619
+ # IMPORT, EXPORT, BACKUP_VOLUME, RESTORE_VOLUME.
620
+ # Corresponds to the JSON property `operationType`
621
+ # @return [String]
622
+ attr_accessor :operation_type
623
+
624
+ # The time this operation actually started in UTC timezone in RFC 3339 format,
625
+ # for example 2012-11-15T16:19:00.094Z.
626
+ # Corresponds to the JSON property `startTime`
627
+ # @return [DateTime]
628
+ attr_accessor :start_time
629
+
630
+ # The state of an operation. Valid values are PENDING, RUNNING, DONE, UNKNOWN.
631
+ # Corresponds to the JSON property `state`
632
+ # @return [String]
633
+ attr_accessor :state
634
+
635
+ # The email address of the user who initiated this operation.
636
+ # Corresponds to the JSON property `userEmailAddress`
637
+ # @return [String]
638
+ attr_accessor :user_email_address
639
+
640
+ def initialize(**args)
641
+ update!(**args)
642
+ end
643
+
644
+ # Update properties of this object
645
+ def update!(**args)
646
+ @end_time = args[:end_time] if args.key?(:end_time)
647
+ @enqueued_time = args[:enqueued_time] if args.key?(:enqueued_time)
648
+ @error = args[:error] if args.key?(:error)
649
+ @export_context = args[:export_context] if args.key?(:export_context)
650
+ @import_context = args[:import_context] if args.key?(:import_context)
651
+ @instance = args[:instance] if args.key?(:instance)
652
+ @kind = args[:kind] if args.key?(:kind)
653
+ @operation = args[:operation] if args.key?(:operation)
654
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
655
+ @start_time = args[:start_time] if args.key?(:start_time)
656
+ @state = args[:state] if args.key?(:state)
657
+ @user_email_address = args[:user_email_address] if args.key?(:user_email_address)
658
+ end
659
+ end
660
+
661
+ # Database instance set root password request.
662
+ class InstanceSetRootPasswordRequest
663
+ include Google::Apis::Core::Hashable
664
+
665
+ # Database instance set root password context.
666
+ # Corresponds to the JSON property `setRootPasswordContext`
667
+ # @return [Google::Apis::SqladminV1beta3::SetRootPasswordContext]
668
+ attr_accessor :set_root_password_context
669
+
670
+ def initialize(**args)
671
+ update!(**args)
672
+ end
673
+
674
+ # Update properties of this object
675
+ def update!(**args)
676
+ @set_root_password_context = args[:set_root_password_context] if args.key?(:set_root_password_context)
677
+ end
678
+ end
679
+
680
+ # Database instance clone request.
681
+ class InstancesCloneRequest
682
+ include Google::Apis::Core::Hashable
683
+
684
+ # Database instance clone context.
685
+ # Corresponds to the JSON property `cloneContext`
686
+ # @return [Google::Apis::SqladminV1beta3::CloneContext]
687
+ attr_accessor :clone_context
688
+
689
+ def initialize(**args)
690
+ update!(**args)
691
+ end
692
+
693
+ # Update properties of this object
694
+ def update!(**args)
695
+ @clone_context = args[:clone_context] if args.key?(:clone_context)
696
+ end
697
+ end
698
+
699
+ # Database instance clone response.
700
+ class InstancesCloneResponse
701
+ include Google::Apis::Core::Hashable
702
+
703
+ # This is always sql#instancesClone.
704
+ # Corresponds to the JSON property `kind`
705
+ # @return [String]
706
+ attr_accessor :kind
707
+
708
+ # An unique identifier for the operation associated with the cloned instance.
709
+ # You can use this identifier to retrieve the Operations resource, which has
710
+ # information about the operation.
711
+ # Corresponds to the JSON property `operation`
712
+ # @return [String]
713
+ attr_accessor :operation
714
+
715
+ def initialize(**args)
716
+ update!(**args)
717
+ end
718
+
719
+ # Update properties of this object
720
+ def update!(**args)
721
+ @kind = args[:kind] if args.key?(:kind)
722
+ @operation = args[:operation] if args.key?(:operation)
723
+ end
724
+ end
725
+
726
+ # Database instance delete response.
727
+ class InstancesDeleteResponse
728
+ include Google::Apis::Core::Hashable
729
+
730
+ # This is always sql#instancesDelete.
731
+ # Corresponds to the JSON property `kind`
732
+ # @return [String]
733
+ attr_accessor :kind
734
+
735
+ # An identifier that uniquely identifies the operation. You can use this
736
+ # identifier to retrieve the Operations resource that has information about the
737
+ # operation.
738
+ # Corresponds to the JSON property `operation`
739
+ # @return [String]
740
+ attr_accessor :operation
741
+
742
+ def initialize(**args)
743
+ update!(**args)
744
+ end
745
+
746
+ # Update properties of this object
747
+ def update!(**args)
748
+ @kind = args[:kind] if args.key?(:kind)
749
+ @operation = args[:operation] if args.key?(:operation)
750
+ end
751
+ end
752
+
753
+ # Database instance export request.
754
+ class InstancesExportRequest
755
+ include Google::Apis::Core::Hashable
756
+
757
+ # Database instance export context.
758
+ # Corresponds to the JSON property `exportContext`
759
+ # @return [Google::Apis::SqladminV1beta3::ExportContext]
760
+ attr_accessor :export_context
761
+
762
+ def initialize(**args)
763
+ update!(**args)
764
+ end
765
+
766
+ # Update properties of this object
767
+ def update!(**args)
768
+ @export_context = args[:export_context] if args.key?(:export_context)
769
+ end
770
+ end
771
+
772
+ # Database instance export response.
773
+ class InstancesExportResponse
774
+ include Google::Apis::Core::Hashable
775
+
776
+ # This is always sql#instancesExport.
777
+ # Corresponds to the JSON property `kind`
778
+ # @return [String]
779
+ attr_accessor :kind
780
+
781
+ # An identifier that uniquely identifies the operation. You can use this
782
+ # identifier to retrieve the Operations resource that has information about the
783
+ # operation.
784
+ # Corresponds to the JSON property `operation`
785
+ # @return [String]
786
+ attr_accessor :operation
787
+
788
+ def initialize(**args)
789
+ update!(**args)
790
+ end
791
+
792
+ # Update properties of this object
793
+ def update!(**args)
794
+ @kind = args[:kind] if args.key?(:kind)
795
+ @operation = args[:operation] if args.key?(:operation)
796
+ end
797
+ end
798
+
799
+ # Database instance import request.
800
+ class InstancesImportRequest
801
+ include Google::Apis::Core::Hashable
802
+
803
+ # Database instance import context.
804
+ # Corresponds to the JSON property `importContext`
805
+ # @return [Google::Apis::SqladminV1beta3::ImportContext]
806
+ attr_accessor :import_context
807
+
808
+ def initialize(**args)
809
+ update!(**args)
810
+ end
811
+
812
+ # Update properties of this object
813
+ def update!(**args)
814
+ @import_context = args[:import_context] if args.key?(:import_context)
815
+ end
816
+ end
817
+
818
+ # Database instance import response.
819
+ class InstancesImportResponse
820
+ include Google::Apis::Core::Hashable
821
+
822
+ # This is always sql#instancesImport.
823
+ # Corresponds to the JSON property `kind`
824
+ # @return [String]
825
+ attr_accessor :kind
826
+
827
+ # An identifier that uniquely identifies the operation. You can use this
828
+ # identifier to retrieve the Operations resource that has information about the
829
+ # operation.
830
+ # Corresponds to the JSON property `operation`
831
+ # @return [String]
832
+ attr_accessor :operation
833
+
834
+ def initialize(**args)
835
+ update!(**args)
836
+ end
837
+
838
+ # Update properties of this object
839
+ def update!(**args)
840
+ @kind = args[:kind] if args.key?(:kind)
841
+ @operation = args[:operation] if args.key?(:operation)
842
+ end
843
+ end
844
+
845
+ # Database instance insert response.
846
+ class InstancesInsertResponse
847
+ include Google::Apis::Core::Hashable
848
+
849
+ # This is always sql#instancesInsert.
850
+ # Corresponds to the JSON property `kind`
851
+ # @return [String]
852
+ attr_accessor :kind
853
+
854
+ # An identifier that uniquely identifies the operation. You can use this
855
+ # identifier to retrieve the Operations resource that has information about the
856
+ # operation.
857
+ # Corresponds to the JSON property `operation`
858
+ # @return [String]
859
+ attr_accessor :operation
860
+
861
+ def initialize(**args)
862
+ update!(**args)
863
+ end
864
+
865
+ # Update properties of this object
866
+ def update!(**args)
867
+ @kind = args[:kind] if args.key?(:kind)
868
+ @operation = args[:operation] if args.key?(:operation)
869
+ end
870
+ end
871
+
872
+ # Database instances list response.
873
+ class InstancesListResponse
874
+ include Google::Apis::Core::Hashable
875
+
876
+ # List of database instance resources.
877
+ # Corresponds to the JSON property `items`
878
+ # @return [Array<Google::Apis::SqladminV1beta3::DatabaseInstance>]
879
+ attr_accessor :items
880
+
881
+ # This is always sql#instancesList.
882
+ # Corresponds to the JSON property `kind`
883
+ # @return [String]
884
+ attr_accessor :kind
885
+
886
+ # The continuation token, used to page through large result sets. Provide this
887
+ # value in a subsequent request to return the next page of results.
888
+ # Corresponds to the JSON property `nextPageToken`
889
+ # @return [String]
890
+ attr_accessor :next_page_token
891
+
892
+ def initialize(**args)
893
+ update!(**args)
894
+ end
895
+
896
+ # Update properties of this object
897
+ def update!(**args)
898
+ @items = args[:items] if args.key?(:items)
899
+ @kind = args[:kind] if args.key?(:kind)
900
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
901
+ end
902
+ end
903
+
904
+ # Database promote read replica response.
905
+ class InstancesPromoteReplicaResponse
906
+ include Google::Apis::Core::Hashable
907
+
908
+ # This is always sql#instancesPromoteReplica.
909
+ # Corresponds to the JSON property `kind`
910
+ # @return [String]
911
+ attr_accessor :kind
912
+
913
+ # An identifier that uniquely identifies the operation. You can use this
914
+ # identifier to retrieve the Operations resource that has information about the
915
+ # operation.
916
+ # Corresponds to the JSON property `operation`
917
+ # @return [String]
918
+ attr_accessor :operation
919
+
920
+ def initialize(**args)
921
+ update!(**args)
922
+ end
923
+
924
+ # Update properties of this object
925
+ def update!(**args)
926
+ @kind = args[:kind] if args.key?(:kind)
927
+ @operation = args[:operation] if args.key?(:operation)
928
+ end
929
+ end
930
+
931
+ # Database instance resetSslConfig response.
932
+ class InstancesResetSslConfigResponse
933
+ include Google::Apis::Core::Hashable
934
+
935
+ # This is always sql#instancesResetSslConfig.
936
+ # Corresponds to the JSON property `kind`
937
+ # @return [String]
938
+ attr_accessor :kind
939
+
940
+ # An identifier that uniquely identifies the operation. You can use this
941
+ # identifier to retrieve the Operations resource that has information about the
942
+ # operation. All ssl client certificates will be deleted and a new server
943
+ # certificate will be created. Does not take effect until the next instance
944
+ # restart.
945
+ # Corresponds to the JSON property `operation`
946
+ # @return [String]
947
+ attr_accessor :operation
948
+
949
+ def initialize(**args)
950
+ update!(**args)
951
+ end
952
+
953
+ # Update properties of this object
954
+ def update!(**args)
955
+ @kind = args[:kind] if args.key?(:kind)
956
+ @operation = args[:operation] if args.key?(:operation)
957
+ end
958
+ end
959
+
960
+ # Database instance restart response.
961
+ class InstancesRestartResponse
962
+ include Google::Apis::Core::Hashable
963
+
964
+ # This is always sql#instancesRestart.
965
+ # Corresponds to the JSON property `kind`
966
+ # @return [String]
967
+ attr_accessor :kind
968
+
969
+ # An identifier that uniquely identifies the operation. You can use this
970
+ # identifier to retrieve the Operations resource that has information about the
971
+ # operation.
972
+ # Corresponds to the JSON property `operation`
973
+ # @return [String]
974
+ attr_accessor :operation
975
+
976
+ def initialize(**args)
977
+ update!(**args)
978
+ end
979
+
980
+ # Update properties of this object
981
+ def update!(**args)
982
+ @kind = args[:kind] if args.key?(:kind)
983
+ @operation = args[:operation] if args.key?(:operation)
984
+ end
985
+ end
986
+
987
+ # Database instance restore backup response.
988
+ class InstancesRestoreBackupResponse
989
+ include Google::Apis::Core::Hashable
990
+
991
+ # This is always sql#instancesRestoreBackup.
992
+ # Corresponds to the JSON property `kind`
993
+ # @return [String]
994
+ attr_accessor :kind
995
+
996
+ # An identifier that uniquely identifies the operation. You can use this
997
+ # identifier to retrieve the Operations resource that has information about the
998
+ # operation.
999
+ # Corresponds to the JSON property `operation`
1000
+ # @return [String]
1001
+ attr_accessor :operation
1002
+
1003
+ def initialize(**args)
1004
+ update!(**args)
1005
+ end
1006
+
1007
+ # Update properties of this object
1008
+ def update!(**args)
1009
+ @kind = args[:kind] if args.key?(:kind)
1010
+ @operation = args[:operation] if args.key?(:operation)
1011
+ end
1012
+ end
1013
+
1014
+ # Database instance set root password response.
1015
+ class InstancesSetRootPasswordResponse
1016
+ include Google::Apis::Core::Hashable
1017
+
1018
+ # This is always sql#instancesSetRootPassword.
1019
+ # Corresponds to the JSON property `kind`
1020
+ # @return [String]
1021
+ attr_accessor :kind
1022
+
1023
+ # An identifier that uniquely identifies the operation. You can use this
1024
+ # identifier to retrieve the Operations resource that has information about the
1025
+ # operation.
1026
+ # Corresponds to the JSON property `operation`
1027
+ # @return [String]
1028
+ attr_accessor :operation
1029
+
1030
+ def initialize(**args)
1031
+ update!(**args)
1032
+ end
1033
+
1034
+ # Update properties of this object
1035
+ def update!(**args)
1036
+ @kind = args[:kind] if args.key?(:kind)
1037
+ @operation = args[:operation] if args.key?(:operation)
1038
+ end
1039
+ end
1040
+
1041
+ # Database instance update response.
1042
+ class InstancesUpdateResponse
1043
+ include Google::Apis::Core::Hashable
1044
+
1045
+ # This is always sql#instancesUpdate.
1046
+ # Corresponds to the JSON property `kind`
1047
+ # @return [String]
1048
+ attr_accessor :kind
1049
+
1050
+ # An identifier that uniquely identifies the operation. You can use this
1051
+ # identifier to retrieve information about the operation.
1052
+ # Corresponds to the JSON property `operation`
1053
+ # @return [String]
1054
+ attr_accessor :operation
1055
+
1056
+ def initialize(**args)
1057
+ update!(**args)
1058
+ end
1059
+
1060
+ # Update properties of this object
1061
+ def update!(**args)
1062
+ @kind = args[:kind] if args.key?(:kind)
1063
+ @operation = args[:operation] if args.key?(:operation)
1064
+ end
1065
+ end
1066
+
1067
+ # IP Management configuration.
1068
+ class IpConfiguration
1069
+ include Google::Apis::Core::Hashable
1070
+
1071
+ # The list of external networks that are allowed to connect to the instance
1072
+ # using the IP. In CIDR notation, also known as 'slash' notation (e.g. 192.168.
1073
+ # 100.0/24).
1074
+ # Corresponds to the JSON property `authorizedNetworks`
1075
+ # @return [Array<String>]
1076
+ attr_accessor :authorized_networks
1077
+
1078
+ # Whether the instance should be assigned an IP address or not.
1079
+ # Corresponds to the JSON property `enabled`
1080
+ # @return [Boolean]
1081
+ attr_accessor :enabled
1082
+ alias_method :enabled?, :enabled
1083
+
1084
+ # This is always sql#ipConfiguration.
1085
+ # Corresponds to the JSON property `kind`
1086
+ # @return [String]
1087
+ attr_accessor :kind
1088
+
1089
+ # Whether SSL connections over IP should be enforced or not.
1090
+ # Corresponds to the JSON property `requireSsl`
1091
+ # @return [Boolean]
1092
+ attr_accessor :require_ssl
1093
+ alias_method :require_ssl?, :require_ssl
1094
+
1095
+ def initialize(**args)
1096
+ update!(**args)
1097
+ end
1098
+
1099
+ # Update properties of this object
1100
+ def update!(**args)
1101
+ @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
1102
+ @enabled = args[:enabled] if args.key?(:enabled)
1103
+ @kind = args[:kind] if args.key?(:kind)
1104
+ @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
1105
+ end
1106
+ end
1107
+
1108
+ # Database instance IP Mapping.
1109
+ class IpMapping
1110
+ include Google::Apis::Core::Hashable
1111
+
1112
+ # The IP address assigned.
1113
+ # Corresponds to the JSON property `ipAddress`
1114
+ # @return [String]
1115
+ attr_accessor :ip_address
1116
+
1117
+ # The due time for this IP to be retired in RFC 3339 format, for example 2012-11-
1118
+ # 15T16:19:00.094Z. This field is only available when the IP is scheduled to be
1119
+ # retired.
1120
+ # Corresponds to the JSON property `timeToRetire`
1121
+ # @return [DateTime]
1122
+ attr_accessor :time_to_retire
1123
+
1124
+ def initialize(**args)
1125
+ update!(**args)
1126
+ end
1127
+
1128
+ # Update properties of this object
1129
+ def update!(**args)
1130
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
1131
+ @time_to_retire = args[:time_to_retire] if args.key?(:time_to_retire)
1132
+ end
1133
+ end
1134
+
1135
+ # Preferred location. This specifies where a Cloud SQL instance should
1136
+ # preferably be located, either in a specific Compute Engine zone, or co-located
1137
+ # with an App Engine application. Note that if the preferred location is not
1138
+ # available, the instance will be located as close as possible within the region.
1139
+ # Only one location may be specified.
1140
+ class LocationPreference
1141
+ include Google::Apis::Core::Hashable
1142
+
1143
+ # The App Engine application to follow, it must be in the same region as the
1144
+ # Cloud SQL instance.
1145
+ # Corresponds to the JSON property `followGaeApplication`
1146
+ # @return [String]
1147
+ attr_accessor :follow_gae_application
1148
+
1149
+ # This is always sql#locationPreference.
1150
+ # Corresponds to the JSON property `kind`
1151
+ # @return [String]
1152
+ attr_accessor :kind
1153
+
1154
+ # The preferred Compute Engine zone (e.g. us-centra1-a, us-central1-b, etc.).
1155
+ # Corresponds to the JSON property `zone`
1156
+ # @return [String]
1157
+ attr_accessor :zone
1158
+
1159
+ def initialize(**args)
1160
+ update!(**args)
1161
+ end
1162
+
1163
+ # Update properties of this object
1164
+ def update!(**args)
1165
+ @follow_gae_application = args[:follow_gae_application] if args.key?(:follow_gae_application)
1166
+ @kind = args[:kind] if args.key?(:kind)
1167
+ @zone = args[:zone] if args.key?(:zone)
1168
+ end
1169
+ end
1170
+
1171
+ # Database instance operation error.
1172
+ class OperationError
1173
+ include Google::Apis::Core::Hashable
1174
+
1175
+ # Identifies the specific error that occurred.
1176
+ # Corresponds to the JSON property `code`
1177
+ # @return [String]
1178
+ attr_accessor :code
1179
+
1180
+ # This is always sql#operationError.
1181
+ # Corresponds to the JSON property `kind`
1182
+ # @return [String]
1183
+ attr_accessor :kind
1184
+
1185
+ def initialize(**args)
1186
+ update!(**args)
1187
+ end
1188
+
1189
+ # Update properties of this object
1190
+ def update!(**args)
1191
+ @code = args[:code] if args.key?(:code)
1192
+ @kind = args[:kind] if args.key?(:kind)
1193
+ end
1194
+ end
1195
+
1196
+ # Database instance list operations response.
1197
+ class OperationsListResponse
1198
+ include Google::Apis::Core::Hashable
1199
+
1200
+ # List of operation resources.
1201
+ # Corresponds to the JSON property `items`
1202
+ # @return [Array<Google::Apis::SqladminV1beta3::InstanceOperation>]
1203
+ attr_accessor :items
1204
+
1205
+ # This is always sql#operationsList.
1206
+ # Corresponds to the JSON property `kind`
1207
+ # @return [String]
1208
+ attr_accessor :kind
1209
+
1210
+ # The continuation token, used to page through large result sets. Provide this
1211
+ # value in a subsequent request to return the next page of results.
1212
+ # Corresponds to the JSON property `nextPageToken`
1213
+ # @return [String]
1214
+ attr_accessor :next_page_token
1215
+
1216
+ def initialize(**args)
1217
+ update!(**args)
1218
+ end
1219
+
1220
+ # Update properties of this object
1221
+ def update!(**args)
1222
+ @items = args[:items] if args.key?(:items)
1223
+ @kind = args[:kind] if args.key?(:kind)
1224
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1225
+ end
1226
+ end
1227
+
1228
+ # Database instance set root password context.
1229
+ class SetRootPasswordContext
1230
+ include Google::Apis::Core::Hashable
1231
+
1232
+ # This is always sql#setRootUserContext.
1233
+ # Corresponds to the JSON property `kind`
1234
+ # @return [String]
1235
+ attr_accessor :kind
1236
+
1237
+ # The password for the root user.
1238
+ # Corresponds to the JSON property `password`
1239
+ # @return [String]
1240
+ attr_accessor :password
1241
+
1242
+ def initialize(**args)
1243
+ update!(**args)
1244
+ end
1245
+
1246
+ # Update properties of this object
1247
+ def update!(**args)
1248
+ @kind = args[:kind] if args.key?(:kind)
1249
+ @password = args[:password] if args.key?(:password)
1250
+ end
1251
+ end
1252
+
1253
+ # Database instance settings.
1254
+ class Settings
1255
+ include Google::Apis::Core::Hashable
1256
+
1257
+ # The activation policy for this instance. This specifies when the instance
1258
+ # should be activated and is applicable only when the instance state is RUNNABLE.
1259
+ # This can be one of the following.
1260
+ # ALWAYS: The instance should always be active.
1261
+ # NEVER: The instance should never be activated.
1262
+ # ON_DEMAND: The instance is activated upon receiving requests.
1263
+ # Corresponds to the JSON property `activationPolicy`
1264
+ # @return [String]
1265
+ attr_accessor :activation_policy
1266
+
1267
+ # The App Engine app IDs that can access this instance.
1268
+ # Corresponds to the JSON property `authorizedGaeApplications`
1269
+ # @return [Array<String>]
1270
+ attr_accessor :authorized_gae_applications
1271
+
1272
+ # The daily backup configuration for the instance.
1273
+ # Corresponds to the JSON property `backupConfiguration`
1274
+ # @return [Array<Google::Apis::SqladminV1beta3::BackupConfiguration>]
1275
+ attr_accessor :backup_configuration
1276
+
1277
+ # The database flags passed to the instance at startup.
1278
+ # Corresponds to the JSON property `databaseFlags`
1279
+ # @return [Array<Google::Apis::SqladminV1beta3::DatabaseFlags>]
1280
+ attr_accessor :database_flags
1281
+
1282
+ # Configuration specific to read replica instance. Indicates whether replication
1283
+ # is enabled or not.
1284
+ # Corresponds to the JSON property `databaseReplicationEnabled`
1285
+ # @return [Boolean]
1286
+ attr_accessor :database_replication_enabled
1287
+ alias_method :database_replication_enabled?, :database_replication_enabled
1288
+
1289
+ # IP Management configuration.
1290
+ # Corresponds to the JSON property `ipConfiguration`
1291
+ # @return [Google::Apis::SqladminV1beta3::IpConfiguration]
1292
+ attr_accessor :ip_configuration
1293
+
1294
+ # This is always sql#settings.
1295
+ # Corresponds to the JSON property `kind`
1296
+ # @return [String]
1297
+ attr_accessor :kind
1298
+
1299
+ # Preferred location. This specifies where a Cloud SQL instance should
1300
+ # preferably be located, either in a specific Compute Engine zone, or co-located
1301
+ # with an App Engine application. Note that if the preferred location is not
1302
+ # available, the instance will be located as close as possible within the region.
1303
+ # Only one location may be specified.
1304
+ # Corresponds to the JSON property `locationPreference`
1305
+ # @return [Google::Apis::SqladminV1beta3::LocationPreference]
1306
+ attr_accessor :location_preference
1307
+
1308
+ # The pricing plan for this instance. This can be either PER_USE or PACKAGE.
1309
+ # Corresponds to the JSON property `pricingPlan`
1310
+ # @return [String]
1311
+ attr_accessor :pricing_plan
1312
+
1313
+ # The type of replication this instance uses. This can be either ASYNCHRONOUS or
1314
+ # SYNCHRONOUS.
1315
+ # Corresponds to the JSON property `replicationType`
1316
+ # @return [String]
1317
+ attr_accessor :replication_type
1318
+
1319
+ # The version of instance settings. This is a required field for update method
1320
+ # to make sure concurrent updates are handled properly. During update, use the
1321
+ # most recent settingsVersion value for this instance and do not try to update
1322
+ # this value.
1323
+ # Corresponds to the JSON property `settingsVersion`
1324
+ # @return [Fixnum]
1325
+ attr_accessor :settings_version
1326
+
1327
+ # The tier of service for this instance, for example D1, D2. For more
1328
+ # information, see pricing.
1329
+ # Corresponds to the JSON property `tier`
1330
+ # @return [String]
1331
+ attr_accessor :tier
1332
+
1333
+ def initialize(**args)
1334
+ update!(**args)
1335
+ end
1336
+
1337
+ # Update properties of this object
1338
+ def update!(**args)
1339
+ @activation_policy = args[:activation_policy] if args.key?(:activation_policy)
1340
+ @authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications)
1341
+ @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
1342
+ @database_flags = args[:database_flags] if args.key?(:database_flags)
1343
+ @database_replication_enabled = args[:database_replication_enabled] if args.key?(:database_replication_enabled)
1344
+ @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
1345
+ @kind = args[:kind] if args.key?(:kind)
1346
+ @location_preference = args[:location_preference] if args.key?(:location_preference)
1347
+ @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
1348
+ @replication_type = args[:replication_type] if args.key?(:replication_type)
1349
+ @settings_version = args[:settings_version] if args.key?(:settings_version)
1350
+ @tier = args[:tier] if args.key?(:tier)
1351
+ end
1352
+ end
1353
+
1354
+ # SslCerts Resource
1355
+ class SslCert
1356
+ include Google::Apis::Core::Hashable
1357
+
1358
+ # PEM representation.
1359
+ # Corresponds to the JSON property `cert`
1360
+ # @return [String]
1361
+ attr_accessor :cert
1362
+
1363
+ # Serial number, as extracted from the certificate.
1364
+ # Corresponds to the JSON property `certSerialNumber`
1365
+ # @return [String]
1366
+ attr_accessor :cert_serial_number
1367
+
1368
+ # User supplied name. Constrained to [a-zA-Z.-_ ]+.
1369
+ # Corresponds to the JSON property `commonName`
1370
+ # @return [String]
1371
+ attr_accessor :common_name
1372
+
1373
+ # Time when the certificate was created.
1374
+ # Corresponds to the JSON property `createTime`
1375
+ # @return [DateTime]
1376
+ attr_accessor :create_time
1377
+
1378
+ # Time when the certificate expires.
1379
+ # Corresponds to the JSON property `expirationTime`
1380
+ # @return [DateTime]
1381
+ attr_accessor :expiration_time
1382
+
1383
+ # Name of the database instance.
1384
+ # Corresponds to the JSON property `instance`
1385
+ # @return [String]
1386
+ attr_accessor :instance
1387
+
1388
+ # This is always sql#sslCert.
1389
+ # Corresponds to the JSON property `kind`
1390
+ # @return [String]
1391
+ attr_accessor :kind
1392
+
1393
+ # Sha1 Fingerprint.
1394
+ # Corresponds to the JSON property `sha1Fingerprint`
1395
+ # @return [String]
1396
+ attr_accessor :sha1_fingerprint
1397
+
1398
+ def initialize(**args)
1399
+ update!(**args)
1400
+ end
1401
+
1402
+ # Update properties of this object
1403
+ def update!(**args)
1404
+ @cert = args[:cert] if args.key?(:cert)
1405
+ @cert_serial_number = args[:cert_serial_number] if args.key?(:cert_serial_number)
1406
+ @common_name = args[:common_name] if args.key?(:common_name)
1407
+ @create_time = args[:create_time] if args.key?(:create_time)
1408
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
1409
+ @instance = args[:instance] if args.key?(:instance)
1410
+ @kind = args[:kind] if args.key?(:kind)
1411
+ @sha1_fingerprint = args[:sha1_fingerprint] if args.key?(:sha1_fingerprint)
1412
+ end
1413
+ end
1414
+
1415
+ # SslCertDetail.
1416
+ class SslCertDetail
1417
+ include Google::Apis::Core::Hashable
1418
+
1419
+ # SslCerts Resource
1420
+ # Corresponds to the JSON property `certInfo`
1421
+ # @return [Google::Apis::SqladminV1beta3::SslCert]
1422
+ attr_accessor :cert_info
1423
+
1424
+ # The private key for the client cert, in pem format. Keep private in order to
1425
+ # protect your security.
1426
+ # Corresponds to the JSON property `certPrivateKey`
1427
+ # @return [String]
1428
+ attr_accessor :cert_private_key
1429
+
1430
+ def initialize(**args)
1431
+ update!(**args)
1432
+ end
1433
+
1434
+ # Update properties of this object
1435
+ def update!(**args)
1436
+ @cert_info = args[:cert_info] if args.key?(:cert_info)
1437
+ @cert_private_key = args[:cert_private_key] if args.key?(:cert_private_key)
1438
+ end
1439
+ end
1440
+
1441
+ # SslCert delete response.
1442
+ class SslCertsDeleteResponse
1443
+ include Google::Apis::Core::Hashable
1444
+
1445
+ # This is always sql#sslCertsDelete.
1446
+ # Corresponds to the JSON property `kind`
1447
+ # @return [String]
1448
+ attr_accessor :kind
1449
+
1450
+ # An identifier that uniquely identifies the operation. You can use this
1451
+ # identifier to retrieve the Operations resource that has information about the
1452
+ # operation.
1453
+ # Corresponds to the JSON property `operation`
1454
+ # @return [String]
1455
+ attr_accessor :operation
1456
+
1457
+ def initialize(**args)
1458
+ update!(**args)
1459
+ end
1460
+
1461
+ # Update properties of this object
1462
+ def update!(**args)
1463
+ @kind = args[:kind] if args.key?(:kind)
1464
+ @operation = args[:operation] if args.key?(:operation)
1465
+ end
1466
+ end
1467
+
1468
+ # SslCerts insert request.
1469
+ class SslCertsInsertRequest
1470
+ include Google::Apis::Core::Hashable
1471
+
1472
+ # User supplied name. Must be a distinct name from the other certificates for
1473
+ # this instance. New certificates will not be usable until the instance is
1474
+ # restarted.
1475
+ # Corresponds to the JSON property `commonName`
1476
+ # @return [String]
1477
+ attr_accessor :common_name
1478
+
1479
+ def initialize(**args)
1480
+ update!(**args)
1481
+ end
1482
+
1483
+ # Update properties of this object
1484
+ def update!(**args)
1485
+ @common_name = args[:common_name] if args.key?(:common_name)
1486
+ end
1487
+ end
1488
+
1489
+ # SslCert insert response.
1490
+ class SslCertsInsertResponse
1491
+ include Google::Apis::Core::Hashable
1492
+
1493
+ # SslCertDetail.
1494
+ # Corresponds to the JSON property `clientCert`
1495
+ # @return [Google::Apis::SqladminV1beta3::SslCertDetail]
1496
+ attr_accessor :client_cert
1497
+
1498
+ # This is always sql#sslCertsInsert.
1499
+ # Corresponds to the JSON property `kind`
1500
+ # @return [String]
1501
+ attr_accessor :kind
1502
+
1503
+ # SslCerts Resource
1504
+ # Corresponds to the JSON property `serverCaCert`
1505
+ # @return [Google::Apis::SqladminV1beta3::SslCert]
1506
+ attr_accessor :server_ca_cert
1507
+
1508
+ def initialize(**args)
1509
+ update!(**args)
1510
+ end
1511
+
1512
+ # Update properties of this object
1513
+ def update!(**args)
1514
+ @client_cert = args[:client_cert] if args.key?(:client_cert)
1515
+ @kind = args[:kind] if args.key?(:kind)
1516
+ @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
1517
+ end
1518
+ end
1519
+
1520
+ # SslCerts list response.
1521
+ class SslCertsListResponse
1522
+ include Google::Apis::Core::Hashable
1523
+
1524
+ # List of client certificates for the instance.
1525
+ # Corresponds to the JSON property `items`
1526
+ # @return [Array<Google::Apis::SqladminV1beta3::SslCert>]
1527
+ attr_accessor :items
1528
+
1529
+ # This is always sql#sslCertsList.
1530
+ # Corresponds to the JSON property `kind`
1531
+ # @return [String]
1532
+ attr_accessor :kind
1533
+
1534
+ def initialize(**args)
1535
+ update!(**args)
1536
+ end
1537
+
1538
+ # Update properties of this object
1539
+ def update!(**args)
1540
+ @items = args[:items] if args.key?(:items)
1541
+ @kind = args[:kind] if args.key?(:kind)
1542
+ end
1543
+ end
1544
+
1545
+ # A Google Cloud SQL service tier resource.
1546
+ class Tier
1547
+ include Google::Apis::Core::Hashable
1548
+
1549
+ # The maximum disk size of this tier in bytes.
1550
+ # Corresponds to the JSON property `DiskQuota`
1551
+ # @return [Fixnum]
1552
+ attr_accessor :disk_quota
1553
+
1554
+ # The maximum RAM usage of this tier in bytes.
1555
+ # Corresponds to the JSON property `RAM`
1556
+ # @return [Fixnum]
1557
+ attr_accessor :ram
1558
+
1559
+ # This is always sql#tier.
1560
+ # Corresponds to the JSON property `kind`
1561
+ # @return [String]
1562
+ attr_accessor :kind
1563
+
1564
+ # The applicable regions for this tier.
1565
+ # Corresponds to the JSON property `region`
1566
+ # @return [Array<String>]
1567
+ attr_accessor :region
1568
+
1569
+ # An identifier for the service tier, for example D1, D2 etc. For related
1570
+ # information, see Pricing.
1571
+ # Corresponds to the JSON property `tier`
1572
+ # @return [String]
1573
+ attr_accessor :tier
1574
+
1575
+ def initialize(**args)
1576
+ update!(**args)
1577
+ end
1578
+
1579
+ # Update properties of this object
1580
+ def update!(**args)
1581
+ @disk_quota = args[:disk_quota] if args.key?(:disk_quota)
1582
+ @ram = args[:ram] if args.key?(:ram)
1583
+ @kind = args[:kind] if args.key?(:kind)
1584
+ @region = args[:region] if args.key?(:region)
1585
+ @tier = args[:tier] if args.key?(:tier)
1586
+ end
1587
+ end
1588
+
1589
+ # Tiers list response.
1590
+ class TiersListResponse
1591
+ include Google::Apis::Core::Hashable
1592
+
1593
+ # List of tiers.
1594
+ # Corresponds to the JSON property `items`
1595
+ # @return [Array<Google::Apis::SqladminV1beta3::Tier>]
1596
+ attr_accessor :items
1597
+
1598
+ # This is always sql#tiersList.
1599
+ # Corresponds to the JSON property `kind`
1600
+ # @return [String]
1601
+ attr_accessor :kind
1602
+
1603
+ def initialize(**args)
1604
+ update!(**args)
1605
+ end
1606
+
1607
+ # Update properties of this object
1608
+ def update!(**args)
1609
+ @items = args[:items] if args.key?(:items)
1610
+ @kind = args[:kind] if args.key?(:kind)
1611
+ end
1612
+ end
1613
+ end
1614
+ end
1615
+ end