google-api-client 0.44.2 → 0.46.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (502) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.gitignore +2 -0
  4. data/CHANGELOG.md +295 -0
  5. data/api_list_config.yaml +8 -0
  6. data/bin/generate-api +77 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  8. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  9. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  10. data/generated/google/apis/accessapproval_v1.rb +1 -1
  11. data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
  12. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  13. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  15. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  16. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  19. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  20. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  21. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  22. data/generated/google/apis/admin_directory_v1.rb +1 -1
  23. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  24. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  25. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  26. data/generated/google/apis/admin_reports_v1.rb +1 -1
  27. data/generated/google/apis/admob_v1.rb +6 -2
  28. data/generated/google/apis/admob_v1/classes.rb +31 -31
  29. data/generated/google/apis/admob_v1/service.rb +2 -1
  30. data/generated/google/apis/adsense_v1_4.rb +1 -1
  31. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  32. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  33. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  34. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  35. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  36. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  37. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +32 -1
  38. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  39. data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
  40. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  41. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  42. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  45. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  46. data/generated/google/apis/apigee_v1.rb +1 -1
  47. data/generated/google/apis/apigee_v1/classes.rb +442 -14
  48. data/generated/google/apis/apigee_v1/representations.rb +161 -1
  49. data/generated/google/apis/apigee_v1/service.rb +264 -44
  50. data/generated/google/apis/appengine_v1.rb +1 -1
  51. data/generated/google/apis/appengine_v1beta.rb +1 -1
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  54. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +14 -0
  55. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
  56. data/generated/google/apis/{apigateway_v1alpha1.rb → assuredworkloads_v1beta1.rb} +8 -8
  57. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  58. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  59. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  60. data/generated/google/apis/bigquery_v2.rb +1 -1
  61. data/generated/google/apis/bigquery_v2/classes.rb +140 -23
  62. data/generated/google/apis/bigquery_v2/representations.rb +36 -0
  63. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  64. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  65. data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
  66. data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
  67. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  68. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  69. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +16 -6
  70. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  71. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  72. data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
  73. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  74. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  75. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  76. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
  77. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  78. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  79. data/generated/google/apis/books_v1.rb +1 -1
  80. data/generated/google/apis/books_v1/service.rb +2 -2
  81. data/generated/google/apis/calendar_v3.rb +1 -1
  82. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  83. data/generated/google/apis/chat_v1.rb +1 -1
  84. data/generated/google/apis/chat_v1/classes.rb +79 -5
  85. data/generated/google/apis/chat_v1/representations.rb +35 -0
  86. data/generated/google/apis/civicinfo_v2.rb +1 -1
  87. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  88. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  89. data/generated/google/apis/classroom_v1.rb +7 -1
  90. data/generated/google/apis/classroom_v1/classes.rb +153 -21
  91. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  92. data/generated/google/apis/classroom_v1/service.rb +240 -0
  93. data/generated/google/apis/cloudasset_v1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  95. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  96. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +7 -5
  98. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  99. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  100. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  101. data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
  102. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  103. data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
  104. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  105. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  106. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  107. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  108. data/generated/google/apis/cloudidentity_v1/classes.rb +127 -63
  109. data/generated/google/apis/cloudidentity_v1/representations.rb +29 -0
  110. data/generated/google/apis/cloudidentity_v1/service.rb +124 -70
  111. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  112. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
  113. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  114. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  115. data/generated/google/apis/cloudkms_v1.rb +1 -1
  116. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  117. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  118. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  120. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  121. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  122. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  123. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  124. data/generated/google/apis/cloudshell_v1.rb +1 -1
  125. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  126. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  127. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  128. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  129. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  130. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  131. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  132. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  133. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  134. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
  136. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  137. data/generated/google/apis/composer_v1.rb +1 -1
  138. data/generated/google/apis/composer_v1/classes.rb +2 -3
  139. data/generated/google/apis/composer_v1beta1.rb +1 -1
  140. data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
  141. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  142. data/generated/google/apis/compute_alpha.rb +1 -1
  143. data/generated/google/apis/compute_alpha/classes.rb +633 -146
  144. data/generated/google/apis/compute_alpha/representations.rb +131 -8
  145. data/generated/google/apis/compute_alpha/service.rb +1995 -1013
  146. data/generated/google/apis/compute_beta.rb +1 -1
  147. data/generated/google/apis/compute_beta/classes.rb +566 -94
  148. data/generated/google/apis/compute_beta/representations.rb +100 -1
  149. data/generated/google/apis/compute_beta/service.rb +805 -136
  150. data/generated/google/apis/compute_v1.rb +1 -1
  151. data/generated/google/apis/compute_v1/classes.rb +336 -53
  152. data/generated/google/apis/compute_v1/representations.rb +57 -1
  153. data/generated/google/apis/compute_v1/service.rb +739 -133
  154. data/generated/google/apis/container_v1.rb +1 -1
  155. data/generated/google/apis/container_v1/classes.rb +22 -10
  156. data/generated/google/apis/container_v1beta1.rb +1 -1
  157. data/generated/google/apis/container_v1beta1/classes.rb +50 -10
  158. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  159. data/generated/google/apis/content_v2.rb +1 -1
  160. data/generated/google/apis/content_v2/classes.rb +2 -1
  161. data/generated/google/apis/content_v2_1.rb +1 -1
  162. data/generated/google/apis/content_v2_1/classes.rb +108 -5
  163. data/generated/google/apis/content_v2_1/representations.rb +47 -0
  164. data/generated/google/apis/content_v2_1/service.rb +38 -1
  165. data/generated/google/apis/customsearch_v1.rb +1 -1
  166. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  167. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  168. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
  169. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  170. data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
  171. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  172. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  173. data/generated/google/apis/datafusion_v1.rb +1 -1
  174. data/generated/google/apis/dataproc_v1.rb +1 -1
  175. data/generated/google/apis/dataproc_v1/classes.rb +29 -3
  176. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  177. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  178. data/generated/google/apis/dataproc_v1beta2/classes.rb +33 -6
  179. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  180. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  181. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  182. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  183. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  184. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  185. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  186. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  187. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  188. data/generated/google/apis/dialogflow_v2.rb +1 -1
  189. data/generated/google/apis/dialogflow_v2/classes.rb +208 -30
  190. data/generated/google/apis/dialogflow_v2/representations.rb +118 -7
  191. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  192. data/generated/google/apis/dialogflow_v2beta1/classes.rb +215 -38
  193. data/generated/google/apis/dialogflow_v2beta1/representations.rb +118 -7
  194. data/generated/google/apis/dialogflow_v2beta1/service.rb +60 -10
  195. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  196. data/generated/google/apis/dialogflow_v3beta1/classes.rb +311 -33
  197. data/generated/google/apis/dialogflow_v3beta1/representations.rb +153 -7
  198. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  199. data/generated/google/apis/displayvideo_v1.rb +1 -1
  200. data/generated/google/apis/displayvideo_v1/classes.rb +38 -30
  201. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  202. data/generated/google/apis/displayvideo_v1/service.rb +21 -18
  203. data/generated/google/apis/dlp_v2.rb +1 -1
  204. data/generated/google/apis/dlp_v2/classes.rb +30 -3
  205. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  206. data/generated/google/apis/dlp_v2/service.rb +328 -328
  207. data/generated/google/apis/dns_v1.rb +1 -1
  208. data/generated/google/apis/dns_v1/classes.rb +181 -0
  209. data/generated/google/apis/dns_v1/representations.rb +83 -0
  210. data/generated/google/apis/dns_v1/service.rb +10 -10
  211. data/generated/google/apis/dns_v1beta2.rb +1 -1
  212. data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
  213. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  214. data/generated/google/apis/dns_v1beta2/service.rb +10 -10
  215. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  216. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  217. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  218. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  219. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  220. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  221. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  222. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  223. data/generated/google/apis/{appsactivity_v1.rb → domains_v1beta1.rb} +11 -11
  224. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  225. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  226. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  227. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  228. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  229. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  230. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -3
  231. data/generated/google/apis/drive_v2.rb +1 -1
  232. data/generated/google/apis/drive_v2/classes.rb +4 -1
  233. data/generated/google/apis/drive_v3.rb +1 -1
  234. data/generated/google/apis/drive_v3/classes.rb +4 -2
  235. data/generated/google/apis/file_v1.rb +1 -1
  236. data/generated/google/apis/file_v1/classes.rb +1 -1
  237. data/generated/google/apis/file_v1beta1.rb +1 -1
  238. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  239. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  240. data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
  241. data/generated/google/apis/firestore_v1.rb +1 -1
  242. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  243. data/generated/google/apis/fitness_v1.rb +13 -1
  244. data/generated/google/apis/fitness_v1/service.rb +3 -1
  245. data/generated/google/apis/gameservices_v1.rb +1 -1
  246. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  247. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  248. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  249. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  250. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  251. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  252. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  253. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  254. data/generated/google/apis/gmail_v1.rb +1 -1
  255. data/generated/google/apis/gmail_v1/service.rb +1 -1
  256. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  257. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  258. data/generated/google/apis/healthcare_v1.rb +1 -1
  259. data/generated/google/apis/healthcare_v1/classes.rb +7 -5
  260. data/generated/google/apis/healthcare_v1/service.rb +1 -3
  261. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  262. data/generated/google/apis/healthcare_v1beta1/classes.rb +1111 -278
  263. data/generated/google/apis/healthcare_v1beta1/representations.rb +486 -68
  264. data/generated/google/apis/healthcare_v1beta1/service.rb +1475 -247
  265. data/generated/google/apis/iam_v1.rb +1 -1
  266. data/generated/google/apis/iam_v1/service.rb +2 -1
  267. data/generated/google/apis/jobs_v2.rb +1 -1
  268. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  269. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  270. data/generated/google/apis/jobs_v3.rb +1 -1
  271. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  272. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  273. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  274. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  275. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  276. data/generated/google/apis/licensing_v1.rb +4 -3
  277. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  278. data/generated/google/apis/licensing_v1/service.rb +55 -85
  279. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  280. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  281. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  282. data/generated/google/apis/localservices_v1.rb +1 -1
  283. data/generated/google/apis/localservices_v1/service.rb +20 -20
  284. data/generated/google/apis/logging_v2.rb +1 -1
  285. data/generated/google/apis/logging_v2/classes.rb +98 -55
  286. data/generated/google/apis/logging_v2/representations.rb +32 -0
  287. data/generated/google/apis/logging_v2/service.rb +1214 -264
  288. data/generated/google/apis/managedidentities_v1.rb +1 -1
  289. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  290. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  291. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  292. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  293. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
  294. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
  295. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  296. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  297. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
  298. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
  299. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  300. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  301. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  302. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  303. data/generated/google/apis/monitoring_v1.rb +1 -1
  304. data/generated/google/apis/monitoring_v1/classes.rb +10 -10
  305. data/generated/google/apis/monitoring_v3.rb +1 -1
  306. data/generated/google/apis/monitoring_v3/classes.rb +99 -45
  307. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  308. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  309. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  310. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  311. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  312. data/generated/google/apis/{plus_v1.rb → oauth2_v2.rb} +12 -15
  313. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  314. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  315. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  316. data/generated/google/apis/osconfig_v1.rb +3 -3
  317. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  318. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  319. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  320. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  321. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  322. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  323. data/generated/google/apis/people_v1.rb +1 -1
  324. data/generated/google/apis/people_v1/classes.rb +48 -47
  325. data/generated/google/apis/people_v1/service.rb +12 -10
  326. data/generated/google/apis/playablelocations_v3.rb +1 -1
  327. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  328. data/generated/google/apis/poly_v1.rb +3 -4
  329. data/generated/google/apis/poly_v1/classes.rb +65 -79
  330. data/generated/google/apis/poly_v1/service.rb +50 -63
  331. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  332. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  333. data/generated/google/apis/pubsub_v1.rb +1 -1
  334. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  335. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  336. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  337. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  338. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  339. data/generated/google/apis/pubsublite_v1.rb +1 -1
  340. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  341. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  342. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  343. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  344. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  345. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  346. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  347. data/generated/google/apis/recommender_v1.rb +1 -1
  348. data/generated/google/apis/recommender_v1/service.rb +4 -2
  349. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  350. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  351. data/generated/google/apis/redis_v1.rb +1 -1
  352. data/generated/google/apis/redis_v1/classes.rb +5 -391
  353. data/generated/google/apis/redis_v1/representations.rb +0 -139
  354. data/generated/google/apis/redis_v1/service.rb +2 -2
  355. data/generated/google/apis/redis_v1beta1.rb +1 -1
  356. data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
  357. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  358. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  359. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  360. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  361. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  362. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  363. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  364. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  365. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  366. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  367. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  368. data/generated/google/apis/reseller_v1.rb +2 -2
  369. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  370. data/generated/google/apis/reseller_v1/service.rb +122 -173
  371. data/generated/google/apis/run_v1.rb +1 -1
  372. data/generated/google/apis/run_v1/classes.rb +15 -135
  373. data/generated/google/apis/run_v1/representations.rb +0 -61
  374. data/generated/google/apis/run_v1/service.rb +0 -342
  375. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  376. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  377. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  378. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  379. data/generated/google/apis/searchconsole_v1.rb +7 -1
  380. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  381. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  382. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  383. data/generated/google/apis/secretmanager_v1.rb +1 -1
  384. data/generated/google/apis/securitycenter_v1.rb +1 -1
  385. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  386. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  387. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  388. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  389. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  390. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  391. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  392. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  393. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  394. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  395. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  396. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  397. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
  398. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  399. data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
  400. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  401. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  402. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  403. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  404. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  405. data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
  406. data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
  407. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  408. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
  410. data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
  411. data/generated/google/apis/sheets_v4.rb +1 -1
  412. data/generated/google/apis/sheets_v4/classes.rb +175 -85
  413. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  414. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +307 -0
  415. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +173 -0
  416. data/generated/google/apis/smartdevicemanagement_v1/service.rb +309 -0
  417. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  418. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  419. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  420. data/generated/google/apis/spanner_v1.rb +1 -1
  421. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  422. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  423. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  424. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +229 -109
  425. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +137 -87
  426. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  427. data/generated/google/apis/storage_v1.rb +1 -1
  428. data/generated/google/apis/storage_v1/classes.rb +2 -10
  429. data/generated/google/apis/storage_v1/representations.rb +0 -1
  430. data/generated/google/apis/storage_v1/service.rb +3 -2
  431. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  432. data/generated/google/apis/storagetransfer_v1/classes.rb +21 -0
  433. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  434. data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
  435. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  436. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  437. data/generated/google/apis/sts_v1.rb +1 -1
  438. data/generated/google/apis/sts_v1/classes.rb +10 -9
  439. data/generated/google/apis/sts_v1beta.rb +1 -1
  440. data/generated/google/apis/sts_v1beta/classes.rb +67 -67
  441. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  442. data/generated/google/apis/tagmanager_v2.rb +1 -1
  443. data/generated/google/apis/tasks_v1.rb +1 -1
  444. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  445. data/generated/google/apis/tasks_v1/service.rb +4 -3
  446. data/generated/google/apis/testing_v1.rb +1 -1
  447. data/generated/google/apis/testing_v1/classes.rb +49 -2
  448. data/generated/google/apis/testing_v1/representations.rb +20 -0
  449. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  450. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  451. data/generated/google/apis/tpu_v1.rb +1 -1
  452. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  453. data/generated/google/apis/tpu_v1/service.rb +8 -8
  454. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  455. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  456. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  457. data/generated/google/apis/translate_v3.rb +1 -1
  458. data/generated/google/apis/translate_v3/classes.rb +2 -2
  459. data/generated/google/apis/vault_v1.rb +1 -1
  460. data/generated/google/apis/vault_v1/classes.rb +333 -0
  461. data/generated/google/apis/vault_v1/representations.rb +162 -0
  462. data/generated/google/apis/vault_v1/service.rb +151 -0
  463. data/generated/google/apis/videointelligence_v1.rb +1 -1
  464. data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
  465. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  466. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  467. data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
  468. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  469. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  470. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
  471. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  472. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  473. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
  474. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  475. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  476. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
  477. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  478. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  479. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  480. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  481. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  482. data/generated/google/apis/workflows_v1beta.rb +3 -2
  483. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  484. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  485. data/generated/google/apis/youtube_v3.rb +1 -1
  486. data/generated/google/apis/youtube_v3/classes.rb +12 -945
  487. data/generated/google/apis/youtube_v3/representations.rb +0 -445
  488. data/generated/google/apis/youtube_v3/service.rb +3 -198
  489. data/google-api-client.gemspec +1 -1
  490. data/lib/google/apis/core/api_command.rb +1 -0
  491. data/lib/google/apis/version.rb +1 -1
  492. data/synth.py +40 -0
  493. metadata +41 -19
  494. data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
  495. data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
  496. data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
  497. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  498. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  499. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  500. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  501. data/generated/google/apis/plus_v1/representations.rb +0 -907
  502. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -19,16 +19,16 @@ require 'google/apis/errors'
19
19
 
20
20
  module Google
21
21
  module Apis
22
- module SqlV1beta4
22
+ module SqladminV1beta4
23
23
  # Cloud SQL Admin API
24
24
  #
25
25
  # API for Cloud SQL database instance management
26
26
  #
27
27
  # @example
28
- # require 'google/apis/sql_v1beta4'
28
+ # require 'google/apis/sqladmin_v1beta4'
29
29
  #
30
- # Sql = Google::Apis::SqlV1beta4 # Alias the module
31
- # service = Sql::SQLAdminService.new
30
+ # Sqladmin = Google::Apis::SqladminV1beta4 # Alias the module
31
+ # service = Sqladmin::SQLAdminService.new
32
32
  #
33
33
  # @see https://developers.google.com/cloud-sql/
34
34
  class SQLAdminService < Google::Apis::Core::BaseService
@@ -64,18 +64,18 @@ module Google
64
64
  # Request-specific options
65
65
  #
66
66
  # @yield [result, err] Result & error if block supplied
67
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
67
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
68
68
  # @yieldparam err [StandardError] error object if request failed
69
69
  #
70
- # @return [Google::Apis::SqlV1beta4::Operation]
70
+ # @return [Google::Apis::SqladminV1beta4::Operation]
71
71
  #
72
72
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
75
75
  def delete_backup_run(project, instance, id, fields: nil, quota_user: nil, options: nil, &block)
76
76
  command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}', options)
77
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
78
- command.response_class = Google::Apis::SqlV1beta4::Operation
77
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
78
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
79
79
  command.params['project'] = project unless project.nil?
80
80
  command.params['instance'] = instance unless instance.nil?
81
81
  command.params['id'] = id unless id.nil?
@@ -100,18 +100,18 @@ module Google
100
100
  # Request-specific options
101
101
  #
102
102
  # @yield [result, err] Result & error if block supplied
103
- # @yieldparam result [Google::Apis::SqlV1beta4::BackupRun] parsed result object
103
+ # @yieldparam result [Google::Apis::SqladminV1beta4::BackupRun] parsed result object
104
104
  # @yieldparam err [StandardError] error object if request failed
105
105
  #
106
- # @return [Google::Apis::SqlV1beta4::BackupRun]
106
+ # @return [Google::Apis::SqladminV1beta4::BackupRun]
107
107
  #
108
108
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
109
109
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
110
110
  # @raise [Google::Apis::AuthorizationError] Authorization is required
111
111
  def get_backup_run(project, instance, id, fields: nil, quota_user: nil, options: nil, &block)
112
112
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}', options)
113
- command.response_representation = Google::Apis::SqlV1beta4::BackupRun::Representation
114
- command.response_class = Google::Apis::SqlV1beta4::BackupRun
113
+ command.response_representation = Google::Apis::SqladminV1beta4::BackupRun::Representation
114
+ command.response_class = Google::Apis::SqladminV1beta4::BackupRun
115
115
  command.params['project'] = project unless project.nil?
116
116
  command.params['instance'] = instance unless instance.nil?
117
117
  command.params['id'] = id unless id.nil?
@@ -126,7 +126,7 @@ module Google
126
126
  # Project ID of the project that contains the instance.
127
127
  # @param [String] instance
128
128
  # Cloud SQL instance ID. This does not include the project ID.
129
- # @param [Google::Apis::SqlV1beta4::BackupRun] backup_run_object
129
+ # @param [Google::Apis::SqladminV1beta4::BackupRun] backup_run_object
130
130
  # @param [String] fields
131
131
  # Selector specifying which fields to include in a partial response.
132
132
  # @param [String] quota_user
@@ -136,20 +136,20 @@ module Google
136
136
  # Request-specific options
137
137
  #
138
138
  # @yield [result, err] Result & error if block supplied
139
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
139
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
140
140
  # @yieldparam err [StandardError] error object if request failed
141
141
  #
142
- # @return [Google::Apis::SqlV1beta4::Operation]
142
+ # @return [Google::Apis::SqladminV1beta4::Operation]
143
143
  #
144
144
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
145
145
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
146
146
  # @raise [Google::Apis::AuthorizationError] Authorization is required
147
147
  def insert_backup_run(project, instance, backup_run_object = nil, fields: nil, quota_user: nil, options: nil, &block)
148
148
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns', options)
149
- command.request_representation = Google::Apis::SqlV1beta4::BackupRun::Representation
149
+ command.request_representation = Google::Apis::SqladminV1beta4::BackupRun::Representation
150
150
  command.request_object = backup_run_object
151
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
152
- command.response_class = Google::Apis::SqlV1beta4::Operation
151
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
152
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
153
153
  command.params['project'] = project unless project.nil?
154
154
  command.params['instance'] = instance unless instance.nil?
155
155
  command.query['fields'] = fields unless fields.nil?
@@ -177,18 +177,18 @@ module Google
177
177
  # Request-specific options
178
178
  #
179
179
  # @yield [result, err] Result & error if block supplied
180
- # @yieldparam result [Google::Apis::SqlV1beta4::BackupRunsListResponse] parsed result object
180
+ # @yieldparam result [Google::Apis::SqladminV1beta4::ListBackupRunsResponse] parsed result object
181
181
  # @yieldparam err [StandardError] error object if request failed
182
182
  #
183
- # @return [Google::Apis::SqlV1beta4::BackupRunsListResponse]
183
+ # @return [Google::Apis::SqladminV1beta4::ListBackupRunsResponse]
184
184
  #
185
185
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
186
186
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
187
187
  # @raise [Google::Apis::AuthorizationError] Authorization is required
188
188
  def list_backup_runs(project, instance, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
189
189
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns', options)
190
- command.response_representation = Google::Apis::SqlV1beta4::BackupRunsListResponse::Representation
191
- command.response_class = Google::Apis::SqlV1beta4::BackupRunsListResponse
190
+ command.response_representation = Google::Apis::SqladminV1beta4::ListBackupRunsResponse::Representation
191
+ command.response_class = Google::Apis::SqladminV1beta4::ListBackupRunsResponse
192
192
  command.params['project'] = project unless project.nil?
193
193
  command.params['instance'] = instance unless instance.nil?
194
194
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -214,18 +214,18 @@ module Google
214
214
  # Request-specific options
215
215
  #
216
216
  # @yield [result, err] Result & error if block supplied
217
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
217
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
218
218
  # @yieldparam err [StandardError] error object if request failed
219
219
  #
220
- # @return [Google::Apis::SqlV1beta4::Operation]
220
+ # @return [Google::Apis::SqladminV1beta4::Operation]
221
221
  #
222
222
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
223
223
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
224
224
  # @raise [Google::Apis::AuthorizationError] Authorization is required
225
225
  def delete_database(project, instance, database, fields: nil, quota_user: nil, options: nil, &block)
226
226
  command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
227
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
228
- command.response_class = Google::Apis::SqlV1beta4::Operation
227
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
228
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
229
229
  command.params['project'] = project unless project.nil?
230
230
  command.params['instance'] = instance unless instance.nil?
231
231
  command.params['database'] = database unless database.nil?
@@ -251,18 +251,18 @@ module Google
251
251
  # Request-specific options
252
252
  #
253
253
  # @yield [result, err] Result & error if block supplied
254
- # @yieldparam result [Google::Apis::SqlV1beta4::Database] parsed result object
254
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Database] parsed result object
255
255
  # @yieldparam err [StandardError] error object if request failed
256
256
  #
257
- # @return [Google::Apis::SqlV1beta4::Database]
257
+ # @return [Google::Apis::SqladminV1beta4::Database]
258
258
  #
259
259
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
260
260
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
261
261
  # @raise [Google::Apis::AuthorizationError] Authorization is required
262
262
  def get_database(project, instance, database, fields: nil, quota_user: nil, options: nil, &block)
263
263
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
264
- command.response_representation = Google::Apis::SqlV1beta4::Database::Representation
265
- command.response_class = Google::Apis::SqlV1beta4::Database
264
+ command.response_representation = Google::Apis::SqladminV1beta4::Database::Representation
265
+ command.response_class = Google::Apis::SqladminV1beta4::Database
266
266
  command.params['project'] = project unless project.nil?
267
267
  command.params['instance'] = instance unless instance.nil?
268
268
  command.params['database'] = database unless database.nil?
@@ -277,7 +277,7 @@ module Google
277
277
  # Project ID of the project that contains the instance.
278
278
  # @param [String] instance
279
279
  # Database instance ID. This does not include the project ID.
280
- # @param [Google::Apis::SqlV1beta4::Database] database_object
280
+ # @param [Google::Apis::SqladminV1beta4::Database] database_object
281
281
  # @param [String] fields
282
282
  # Selector specifying which fields to include in a partial response.
283
283
  # @param [String] quota_user
@@ -287,20 +287,20 @@ module Google
287
287
  # Request-specific options
288
288
  #
289
289
  # @yield [result, err] Result & error if block supplied
290
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
290
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
291
291
  # @yieldparam err [StandardError] error object if request failed
292
292
  #
293
- # @return [Google::Apis::SqlV1beta4::Operation]
293
+ # @return [Google::Apis::SqladminV1beta4::Operation]
294
294
  #
295
295
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
296
296
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
297
297
  # @raise [Google::Apis::AuthorizationError] Authorization is required
298
298
  def insert_database(project, instance, database_object = nil, fields: nil, quota_user: nil, options: nil, &block)
299
299
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/databases', options)
300
- command.request_representation = Google::Apis::SqlV1beta4::Database::Representation
300
+ command.request_representation = Google::Apis::SqladminV1beta4::Database::Representation
301
301
  command.request_object = database_object
302
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
303
- command.response_class = Google::Apis::SqlV1beta4::Operation
302
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
303
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
304
304
  command.params['project'] = project unless project.nil?
305
305
  command.params['instance'] = instance unless instance.nil?
306
306
  command.query['fields'] = fields unless fields.nil?
@@ -322,18 +322,18 @@ module Google
322
322
  # Request-specific options
323
323
  #
324
324
  # @yield [result, err] Result & error if block supplied
325
- # @yieldparam result [Google::Apis::SqlV1beta4::DatabasesListResponse] parsed result object
325
+ # @yieldparam result [Google::Apis::SqladminV1beta4::ListDatabasesResponse] parsed result object
326
326
  # @yieldparam err [StandardError] error object if request failed
327
327
  #
328
- # @return [Google::Apis::SqlV1beta4::DatabasesListResponse]
328
+ # @return [Google::Apis::SqladminV1beta4::ListDatabasesResponse]
329
329
  #
330
330
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
331
331
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
332
332
  # @raise [Google::Apis::AuthorizationError] Authorization is required
333
333
  def list_databases(project, instance, fields: nil, quota_user: nil, options: nil, &block)
334
334
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/databases', options)
335
- command.response_representation = Google::Apis::SqlV1beta4::DatabasesListResponse::Representation
336
- command.response_class = Google::Apis::SqlV1beta4::DatabasesListResponse
335
+ command.response_representation = Google::Apis::SqladminV1beta4::ListDatabasesResponse::Representation
336
+ command.response_class = Google::Apis::SqladminV1beta4::ListDatabasesResponse
337
337
  command.params['project'] = project unless project.nil?
338
338
  command.params['instance'] = instance unless instance.nil?
339
339
  command.query['fields'] = fields unless fields.nil?
@@ -349,7 +349,7 @@ module Google
349
349
  # Database instance ID. This does not include the project ID.
350
350
  # @param [String] database
351
351
  # Name of the database to be updated in the instance.
352
- # @param [Google::Apis::SqlV1beta4::Database] database_object
352
+ # @param [Google::Apis::SqladminV1beta4::Database] database_object
353
353
  # @param [String] fields
354
354
  # Selector specifying which fields to include in a partial response.
355
355
  # @param [String] quota_user
@@ -359,20 +359,20 @@ module Google
359
359
  # Request-specific options
360
360
  #
361
361
  # @yield [result, err] Result & error if block supplied
362
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
362
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
363
363
  # @yieldparam err [StandardError] error object if request failed
364
364
  #
365
- # @return [Google::Apis::SqlV1beta4::Operation]
365
+ # @return [Google::Apis::SqladminV1beta4::Operation]
366
366
  #
367
367
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
368
368
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
369
369
  # @raise [Google::Apis::AuthorizationError] Authorization is required
370
370
  def patch_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, options: nil, &block)
371
371
  command = make_simple_command(:patch, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
372
- command.request_representation = Google::Apis::SqlV1beta4::Database::Representation
372
+ command.request_representation = Google::Apis::SqladminV1beta4::Database::Representation
373
373
  command.request_object = database_object
374
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
375
- command.response_class = Google::Apis::SqlV1beta4::Operation
374
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
375
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
376
376
  command.params['project'] = project unless project.nil?
377
377
  command.params['instance'] = instance unless instance.nil?
378
378
  command.params['database'] = database unless database.nil?
@@ -389,7 +389,7 @@ module Google
389
389
  # Database instance ID. This does not include the project ID.
390
390
  # @param [String] database
391
391
  # Name of the database to be updated in the instance.
392
- # @param [Google::Apis::SqlV1beta4::Database] database_object
392
+ # @param [Google::Apis::SqladminV1beta4::Database] database_object
393
393
  # @param [String] fields
394
394
  # Selector specifying which fields to include in a partial response.
395
395
  # @param [String] quota_user
@@ -399,20 +399,20 @@ module Google
399
399
  # Request-specific options
400
400
  #
401
401
  # @yield [result, err] Result & error if block supplied
402
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
402
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
403
403
  # @yieldparam err [StandardError] error object if request failed
404
404
  #
405
- # @return [Google::Apis::SqlV1beta4::Operation]
405
+ # @return [Google::Apis::SqladminV1beta4::Operation]
406
406
  #
407
407
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
408
408
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
409
409
  # @raise [Google::Apis::AuthorizationError] Authorization is required
410
410
  def update_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, options: nil, &block)
411
411
  command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
412
- command.request_representation = Google::Apis::SqlV1beta4::Database::Representation
412
+ command.request_representation = Google::Apis::SqladminV1beta4::Database::Representation
413
413
  command.request_object = database_object
414
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
415
- command.response_class = Google::Apis::SqlV1beta4::Operation
414
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
415
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
416
416
  command.params['project'] = project unless project.nil?
417
417
  command.params['instance'] = instance unless instance.nil?
418
418
  command.params['database'] = database unless database.nil?
@@ -434,18 +434,18 @@ module Google
434
434
  # Request-specific options
435
435
  #
436
436
  # @yield [result, err] Result & error if block supplied
437
- # @yieldparam result [Google::Apis::SqlV1beta4::FlagsListResponse] parsed result object
437
+ # @yieldparam result [Google::Apis::SqladminV1beta4::ListFlagsResponse] parsed result object
438
438
  # @yieldparam err [StandardError] error object if request failed
439
439
  #
440
- # @return [Google::Apis::SqlV1beta4::FlagsListResponse]
440
+ # @return [Google::Apis::SqladminV1beta4::ListFlagsResponse]
441
441
  #
442
442
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
443
443
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
444
444
  # @raise [Google::Apis::AuthorizationError] Authorization is required
445
445
  def list_flags(database_version: nil, fields: nil, quota_user: nil, options: nil, &block)
446
446
  command = make_simple_command(:get, 'sql/v1beta4/flags', options)
447
- command.response_representation = Google::Apis::SqlV1beta4::FlagsListResponse::Representation
448
- command.response_class = Google::Apis::SqlV1beta4::FlagsListResponse
447
+ command.response_representation = Google::Apis::SqladminV1beta4::ListFlagsResponse::Representation
448
+ command.response_class = Google::Apis::SqladminV1beta4::ListFlagsResponse
449
449
  command.query['databaseVersion'] = database_version unless database_version.nil?
450
450
  command.query['fields'] = fields unless fields.nil?
451
451
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -470,18 +470,18 @@ module Google
470
470
  # Request-specific options
471
471
  #
472
472
  # @yield [result, err] Result & error if block supplied
473
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
473
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
474
474
  # @yieldparam err [StandardError] error object if request failed
475
475
  #
476
- # @return [Google::Apis::SqlV1beta4::Operation]
476
+ # @return [Google::Apis::SqladminV1beta4::Operation]
477
477
  #
478
478
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
479
479
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
480
480
  # @raise [Google::Apis::AuthorizationError] Authorization is required
481
481
  def add_instance_server_ca(project, instance, fields: nil, quota_user: nil, options: nil, &block)
482
482
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/addServerCa', options)
483
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
484
- command.response_class = Google::Apis::SqlV1beta4::Operation
483
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
484
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
485
485
  command.params['project'] = project unless project.nil?
486
486
  command.params['instance'] = instance unless instance.nil?
487
487
  command.query['fields'] = fields unless fields.nil?
@@ -496,7 +496,7 @@ module Google
496
496
  # @param [String] instance
497
497
  # The ID of the Cloud SQL instance to be cloned (source). This does not include
498
498
  # the project ID.
499
- # @param [Google::Apis::SqlV1beta4::InstancesCloneRequest] instances_clone_request_object
499
+ # @param [Google::Apis::SqladminV1beta4::CloneInstancesRequest] clone_instances_request_object
500
500
  # @param [String] fields
501
501
  # Selector specifying which fields to include in a partial response.
502
502
  # @param [String] quota_user
@@ -506,20 +506,20 @@ module Google
506
506
  # Request-specific options
507
507
  #
508
508
  # @yield [result, err] Result & error if block supplied
509
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
509
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
510
510
  # @yieldparam err [StandardError] error object if request failed
511
511
  #
512
- # @return [Google::Apis::SqlV1beta4::Operation]
512
+ # @return [Google::Apis::SqladminV1beta4::Operation]
513
513
  #
514
514
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
515
515
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
516
516
  # @raise [Google::Apis::AuthorizationError] Authorization is required
517
- def clone_instance(project, instance, instances_clone_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
517
+ def clone_instance(project, instance, clone_instances_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
518
518
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/clone', options)
519
- command.request_representation = Google::Apis::SqlV1beta4::InstancesCloneRequest::Representation
520
- command.request_object = instances_clone_request_object
521
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
522
- command.response_class = Google::Apis::SqlV1beta4::Operation
519
+ command.request_representation = Google::Apis::SqladminV1beta4::CloneInstancesRequest::Representation
520
+ command.request_object = clone_instances_request_object
521
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
522
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
523
523
  command.params['project'] = project unless project.nil?
524
524
  command.params['instance'] = instance unless instance.nil?
525
525
  command.query['fields'] = fields unless fields.nil?
@@ -541,18 +541,18 @@ module Google
541
541
  # Request-specific options
542
542
  #
543
543
  # @yield [result, err] Result & error if block supplied
544
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
544
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
545
545
  # @yieldparam err [StandardError] error object if request failed
546
546
  #
547
- # @return [Google::Apis::SqlV1beta4::Operation]
547
+ # @return [Google::Apis::SqladminV1beta4::Operation]
548
548
  #
549
549
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
550
550
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
551
551
  # @raise [Google::Apis::AuthorizationError] Authorization is required
552
552
  def delete_instance(project, instance, fields: nil, quota_user: nil, options: nil, &block)
553
553
  command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
554
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
555
- command.response_class = Google::Apis::SqlV1beta4::Operation
554
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
555
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
556
556
  command.params['project'] = project unless project.nil?
557
557
  command.params['instance'] = instance unless instance.nil?
558
558
  command.query['fields'] = fields unless fields.nil?
@@ -566,7 +566,7 @@ module Google
566
566
  # ID of the project that contains the instance.
567
567
  # @param [String] instance
568
568
  # Cloud SQL instance name.
569
- # @param [Google::Apis::SqlV1beta4::InstancesDemoteMasterRequest] instances_demote_master_request_object
569
+ # @param [Google::Apis::SqladminV1beta4::InstancesDemoteMasterRequest] instances_demote_master_request_object
570
570
  # @param [String] fields
571
571
  # Selector specifying which fields to include in a partial response.
572
572
  # @param [String] quota_user
@@ -576,20 +576,20 @@ module Google
576
576
  # Request-specific options
577
577
  #
578
578
  # @yield [result, err] Result & error if block supplied
579
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
579
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
580
580
  # @yieldparam err [StandardError] error object if request failed
581
581
  #
582
- # @return [Google::Apis::SqlV1beta4::Operation]
582
+ # @return [Google::Apis::SqladminV1beta4::Operation]
583
583
  #
584
584
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
585
585
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
586
586
  # @raise [Google::Apis::AuthorizationError] Authorization is required
587
587
  def demote_instance_master(project, instance, instances_demote_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
588
588
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster', options)
589
- command.request_representation = Google::Apis::SqlV1beta4::InstancesDemoteMasterRequest::Representation
589
+ command.request_representation = Google::Apis::SqladminV1beta4::InstancesDemoteMasterRequest::Representation
590
590
  command.request_object = instances_demote_master_request_object
591
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
592
- command.response_class = Google::Apis::SqlV1beta4::Operation
591
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
592
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
593
593
  command.params['project'] = project unless project.nil?
594
594
  command.params['instance'] = instance unless instance.nil?
595
595
  command.query['fields'] = fields unless fields.nil?
@@ -603,7 +603,7 @@ module Google
603
603
  # Project ID of the project that contains the instance to be exported.
604
604
  # @param [String] instance
605
605
  # Cloud SQL instance ID. This does not include the project ID.
606
- # @param [Google::Apis::SqlV1beta4::InstancesExportRequest] instances_export_request_object
606
+ # @param [Google::Apis::SqladminV1beta4::ExportInstancesRequest] export_instances_request_object
607
607
  # @param [String] fields
608
608
  # Selector specifying which fields to include in a partial response.
609
609
  # @param [String] quota_user
@@ -613,20 +613,20 @@ module Google
613
613
  # Request-specific options
614
614
  #
615
615
  # @yield [result, err] Result & error if block supplied
616
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
616
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
617
617
  # @yieldparam err [StandardError] error object if request failed
618
618
  #
619
- # @return [Google::Apis::SqlV1beta4::Operation]
619
+ # @return [Google::Apis::SqladminV1beta4::Operation]
620
620
  #
621
621
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
622
622
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
623
623
  # @raise [Google::Apis::AuthorizationError] Authorization is required
624
- def export_instance(project, instance, instances_export_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
624
+ def export_instance(project, instance, export_instances_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
625
625
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/export', options)
626
- command.request_representation = Google::Apis::SqlV1beta4::InstancesExportRequest::Representation
627
- command.request_object = instances_export_request_object
628
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
629
- command.response_class = Google::Apis::SqlV1beta4::Operation
626
+ command.request_representation = Google::Apis::SqladminV1beta4::ExportInstancesRequest::Representation
627
+ command.request_object = export_instances_request_object
628
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
629
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
630
630
  command.params['project'] = project unless project.nil?
631
631
  command.params['instance'] = instance unless instance.nil?
632
632
  command.query['fields'] = fields unless fields.nil?
@@ -640,7 +640,7 @@ module Google
640
640
  # ID of the project that contains the read replica.
641
641
  # @param [String] instance
642
642
  # Cloud SQL instance ID. This does not include the project ID.
643
- # @param [Google::Apis::SqlV1beta4::InstancesFailoverRequest] instances_failover_request_object
643
+ # @param [Google::Apis::SqladminV1beta4::InstancesFailoverRequest] instances_failover_request_object
644
644
  # @param [String] fields
645
645
  # Selector specifying which fields to include in a partial response.
646
646
  # @param [String] quota_user
@@ -650,20 +650,20 @@ module Google
650
650
  # Request-specific options
651
651
  #
652
652
  # @yield [result, err] Result & error if block supplied
653
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
653
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
654
654
  # @yieldparam err [StandardError] error object if request failed
655
655
  #
656
- # @return [Google::Apis::SqlV1beta4::Operation]
656
+ # @return [Google::Apis::SqladminV1beta4::Operation]
657
657
  #
658
658
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
659
659
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
660
660
  # @raise [Google::Apis::AuthorizationError] Authorization is required
661
661
  def failover_instance(project, instance, instances_failover_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
662
662
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/failover', options)
663
- command.request_representation = Google::Apis::SqlV1beta4::InstancesFailoverRequest::Representation
663
+ command.request_representation = Google::Apis::SqladminV1beta4::InstancesFailoverRequest::Representation
664
664
  command.request_object = instances_failover_request_object
665
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
666
- command.response_class = Google::Apis::SqlV1beta4::Operation
665
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
666
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
667
667
  command.params['project'] = project unless project.nil?
668
668
  command.params['instance'] = instance unless instance.nil?
669
669
  command.query['fields'] = fields unless fields.nil?
@@ -685,18 +685,18 @@ module Google
685
685
  # Request-specific options
686
686
  #
687
687
  # @yield [result, err] Result & error if block supplied
688
- # @yieldparam result [Google::Apis::SqlV1beta4::DatabaseInstance] parsed result object
688
+ # @yieldparam result [Google::Apis::SqladminV1beta4::DatabaseInstance] parsed result object
689
689
  # @yieldparam err [StandardError] error object if request failed
690
690
  #
691
- # @return [Google::Apis::SqlV1beta4::DatabaseInstance]
691
+ # @return [Google::Apis::SqladminV1beta4::DatabaseInstance]
692
692
  #
693
693
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
694
694
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
695
695
  # @raise [Google::Apis::AuthorizationError] Authorization is required
696
696
  def get_instance(project, instance, fields: nil, quota_user: nil, options: nil, &block)
697
697
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
698
- command.response_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation
699
- command.response_class = Google::Apis::SqlV1beta4::DatabaseInstance
698
+ command.response_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
699
+ command.response_class = Google::Apis::SqladminV1beta4::DatabaseInstance
700
700
  command.params['project'] = project unless project.nil?
701
701
  command.params['instance'] = instance unless instance.nil?
702
702
  command.query['fields'] = fields unless fields.nil?
@@ -710,7 +710,7 @@ module Google
710
710
  # Project ID of the project that contains the instance.
711
711
  # @param [String] instance
712
712
  # Cloud SQL instance ID. This does not include the project ID.
713
- # @param [Google::Apis::SqlV1beta4::InstancesImportRequest] instances_import_request_object
713
+ # @param [Google::Apis::SqladminV1beta4::ImportInstancesRequest] import_instances_request_object
714
714
  # @param [String] fields
715
715
  # Selector specifying which fields to include in a partial response.
716
716
  # @param [String] quota_user
@@ -720,20 +720,20 @@ module Google
720
720
  # Request-specific options
721
721
  #
722
722
  # @yield [result, err] Result & error if block supplied
723
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
723
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
724
724
  # @yieldparam err [StandardError] error object if request failed
725
725
  #
726
- # @return [Google::Apis::SqlV1beta4::Operation]
726
+ # @return [Google::Apis::SqladminV1beta4::Operation]
727
727
  #
728
728
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
729
729
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
730
730
  # @raise [Google::Apis::AuthorizationError] Authorization is required
731
- def import_instance(project, instance, instances_import_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
731
+ def import_instance(project, instance, import_instances_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
732
732
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/import', options)
733
- command.request_representation = Google::Apis::SqlV1beta4::InstancesImportRequest::Representation
734
- command.request_object = instances_import_request_object
735
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
736
- command.response_class = Google::Apis::SqlV1beta4::Operation
733
+ command.request_representation = Google::Apis::SqladminV1beta4::ImportInstancesRequest::Representation
734
+ command.request_object = import_instances_request_object
735
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
736
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
737
737
  command.params['project'] = project unless project.nil?
738
738
  command.params['instance'] = instance unless instance.nil?
739
739
  command.query['fields'] = fields unless fields.nil?
@@ -745,7 +745,7 @@ module Google
745
745
  # @param [String] project
746
746
  # Project ID of the project to which the newly created Cloud SQL instances
747
747
  # should belong.
748
- # @param [Google::Apis::SqlV1beta4::DatabaseInstance] database_instance_object
748
+ # @param [Google::Apis::SqladminV1beta4::DatabaseInstance] database_instance_object
749
749
  # @param [String] fields
750
750
  # Selector specifying which fields to include in a partial response.
751
751
  # @param [String] quota_user
@@ -755,20 +755,20 @@ module Google
755
755
  # Request-specific options
756
756
  #
757
757
  # @yield [result, err] Result & error if block supplied
758
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
758
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
759
759
  # @yieldparam err [StandardError] error object if request failed
760
760
  #
761
- # @return [Google::Apis::SqlV1beta4::Operation]
761
+ # @return [Google::Apis::SqladminV1beta4::Operation]
762
762
  #
763
763
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
764
764
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
765
765
  # @raise [Google::Apis::AuthorizationError] Authorization is required
766
766
  def insert_instance(project, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
767
767
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances', options)
768
- command.request_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation
768
+ command.request_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
769
769
  command.request_object = database_instance_object
770
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
771
- command.response_class = Google::Apis::SqlV1beta4::Operation
770
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
771
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
772
772
  command.params['project'] = project unless project.nil?
773
773
  command.query['fields'] = fields unless fields.nil?
774
774
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -800,18 +800,18 @@ module Google
800
800
  # Request-specific options
801
801
  #
802
802
  # @yield [result, err] Result & error if block supplied
803
- # @yieldparam result [Google::Apis::SqlV1beta4::InstancesListResponse] parsed result object
803
+ # @yieldparam result [Google::Apis::SqladminV1beta4::ListInstancesResponse] parsed result object
804
804
  # @yieldparam err [StandardError] error object if request failed
805
805
  #
806
- # @return [Google::Apis::SqlV1beta4::InstancesListResponse]
806
+ # @return [Google::Apis::SqladminV1beta4::ListInstancesResponse]
807
807
  #
808
808
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
809
809
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
810
810
  # @raise [Google::Apis::AuthorizationError] Authorization is required
811
811
  def list_instances(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
812
812
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances', options)
813
- command.response_representation = Google::Apis::SqlV1beta4::InstancesListResponse::Representation
814
- command.response_class = Google::Apis::SqlV1beta4::InstancesListResponse
813
+ command.response_representation = Google::Apis::SqladminV1beta4::ListInstancesResponse::Representation
814
+ command.response_class = Google::Apis::SqladminV1beta4::ListInstancesResponse
815
815
  command.params['project'] = project unless project.nil?
816
816
  command.query['filter'] = filter unless filter.nil?
817
817
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -839,18 +839,18 @@ module Google
839
839
  # Request-specific options
840
840
  #
841
841
  # @yield [result, err] Result & error if block supplied
842
- # @yieldparam result [Google::Apis::SqlV1beta4::InstancesListServerCasResponse] parsed result object
842
+ # @yieldparam result [Google::Apis::SqladminV1beta4::InstancesListServerCasResponse] parsed result object
843
843
  # @yieldparam err [StandardError] error object if request failed
844
844
  #
845
- # @return [Google::Apis::SqlV1beta4::InstancesListServerCasResponse]
845
+ # @return [Google::Apis::SqladminV1beta4::InstancesListServerCasResponse]
846
846
  #
847
847
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
848
848
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
849
849
  # @raise [Google::Apis::AuthorizationError] Authorization is required
850
850
  def list_instance_server_cas(project, instance, fields: nil, quota_user: nil, options: nil, &block)
851
851
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/listServerCas', options)
852
- command.response_representation = Google::Apis::SqlV1beta4::InstancesListServerCasResponse::Representation
853
- command.response_class = Google::Apis::SqlV1beta4::InstancesListServerCasResponse
852
+ command.response_representation = Google::Apis::SqladminV1beta4::InstancesListServerCasResponse::Representation
853
+ command.response_class = Google::Apis::SqladminV1beta4::InstancesListServerCasResponse
854
854
  command.params['project'] = project unless project.nil?
855
855
  command.params['instance'] = instance unless instance.nil?
856
856
  command.query['fields'] = fields unless fields.nil?
@@ -863,7 +863,7 @@ module Google
863
863
  # Project ID of the project that contains the instance.
864
864
  # @param [String] instance
865
865
  # Cloud SQL instance ID. This does not include the project ID.
866
- # @param [Google::Apis::SqlV1beta4::DatabaseInstance] database_instance_object
866
+ # @param [Google::Apis::SqladminV1beta4::DatabaseInstance] database_instance_object
867
867
  # @param [String] fields
868
868
  # Selector specifying which fields to include in a partial response.
869
869
  # @param [String] quota_user
@@ -873,20 +873,20 @@ module Google
873
873
  # Request-specific options
874
874
  #
875
875
  # @yield [result, err] Result & error if block supplied
876
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
876
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
877
877
  # @yieldparam err [StandardError] error object if request failed
878
878
  #
879
- # @return [Google::Apis::SqlV1beta4::Operation]
879
+ # @return [Google::Apis::SqladminV1beta4::Operation]
880
880
  #
881
881
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
882
882
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
883
883
  # @raise [Google::Apis::AuthorizationError] Authorization is required
884
884
  def patch_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
885
885
  command = make_simple_command(:patch, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
886
- command.request_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation
886
+ command.request_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
887
887
  command.request_object = database_instance_object
888
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
889
- command.response_class = Google::Apis::SqlV1beta4::Operation
888
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
889
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
890
890
  command.params['project'] = project unless project.nil?
891
891
  command.params['instance'] = instance unless instance.nil?
892
892
  command.query['fields'] = fields unless fields.nil?
@@ -909,18 +909,18 @@ module Google
909
909
  # Request-specific options
910
910
  #
911
911
  # @yield [result, err] Result & error if block supplied
912
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
912
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
913
913
  # @yieldparam err [StandardError] error object if request failed
914
914
  #
915
- # @return [Google::Apis::SqlV1beta4::Operation]
915
+ # @return [Google::Apis::SqladminV1beta4::Operation]
916
916
  #
917
917
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
918
918
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
919
919
  # @raise [Google::Apis::AuthorizationError] Authorization is required
920
920
  def promote_instance_replica(project, instance, fields: nil, quota_user: nil, options: nil, &block)
921
921
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica', options)
922
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
923
- command.response_class = Google::Apis::SqlV1beta4::Operation
922
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
923
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
924
924
  command.params['project'] = project unless project.nil?
925
925
  command.params['instance'] = instance unless instance.nil?
926
926
  command.query['fields'] = fields unless fields.nil?
@@ -943,18 +943,18 @@ module Google
943
943
  # Request-specific options
944
944
  #
945
945
  # @yield [result, err] Result & error if block supplied
946
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
946
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
947
947
  # @yieldparam err [StandardError] error object if request failed
948
948
  #
949
- # @return [Google::Apis::SqlV1beta4::Operation]
949
+ # @return [Google::Apis::SqladminV1beta4::Operation]
950
950
  #
951
951
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
952
952
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
953
953
  # @raise [Google::Apis::AuthorizationError] Authorization is required
954
954
  def reset_instance_ssl_config(project, instance, fields: nil, quota_user: nil, options: nil, &block)
955
955
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig', options)
956
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
957
- command.response_class = Google::Apis::SqlV1beta4::Operation
956
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
957
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
958
958
  command.params['project'] = project unless project.nil?
959
959
  command.params['instance'] = instance unless instance.nil?
960
960
  command.query['fields'] = fields unless fields.nil?
@@ -976,18 +976,18 @@ module Google
976
976
  # Request-specific options
977
977
  #
978
978
  # @yield [result, err] Result & error if block supplied
979
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
979
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
980
980
  # @yieldparam err [StandardError] error object if request failed
981
981
  #
982
- # @return [Google::Apis::SqlV1beta4::Operation]
982
+ # @return [Google::Apis::SqladminV1beta4::Operation]
983
983
  #
984
984
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
985
985
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
986
986
  # @raise [Google::Apis::AuthorizationError] Authorization is required
987
987
  def restart_instance(project, instance, fields: nil, quota_user: nil, options: nil, &block)
988
988
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/restart', options)
989
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
990
- command.response_class = Google::Apis::SqlV1beta4::Operation
989
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
990
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
991
991
  command.params['project'] = project unless project.nil?
992
992
  command.params['instance'] = instance unless instance.nil?
993
993
  command.query['fields'] = fields unless fields.nil?
@@ -1001,7 +1001,7 @@ module Google
1001
1001
  # Project ID of the project that contains the instance.
1002
1002
  # @param [String] instance
1003
1003
  # Cloud SQL instance ID. This does not include the project ID.
1004
- # @param [Google::Apis::SqlV1beta4::InstancesRestoreBackupRequest] instances_restore_backup_request_object
1004
+ # @param [Google::Apis::SqladminV1beta4::RestoreInstancesBackupRequest] restore_instances_backup_request_object
1005
1005
  # @param [String] fields
1006
1006
  # Selector specifying which fields to include in a partial response.
1007
1007
  # @param [String] quota_user
@@ -1011,20 +1011,20 @@ module Google
1011
1011
  # Request-specific options
1012
1012
  #
1013
1013
  # @yield [result, err] Result & error if block supplied
1014
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1014
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1015
1015
  # @yieldparam err [StandardError] error object if request failed
1016
1016
  #
1017
- # @return [Google::Apis::SqlV1beta4::Operation]
1017
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1018
1018
  #
1019
1019
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1020
1020
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1021
1021
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1022
- def restore_instance_backup(project, instance, instances_restore_backup_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1022
+ def restore_instance_backup(project, instance, restore_instances_backup_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1023
1023
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup', options)
1024
- command.request_representation = Google::Apis::SqlV1beta4::InstancesRestoreBackupRequest::Representation
1025
- command.request_object = instances_restore_backup_request_object
1026
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1027
- command.response_class = Google::Apis::SqlV1beta4::Operation
1024
+ command.request_representation = Google::Apis::SqladminV1beta4::RestoreInstancesBackupRequest::Representation
1025
+ command.request_object = restore_instances_backup_request_object
1026
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1027
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1028
1028
  command.params['project'] = project unless project.nil?
1029
1029
  command.params['instance'] = instance unless instance.nil?
1030
1030
  command.query['fields'] = fields unless fields.nil?
@@ -1038,7 +1038,7 @@ module Google
1038
1038
  # Project ID of the project that contains the instance.
1039
1039
  # @param [String] instance
1040
1040
  # Cloud SQL instance ID. This does not include the project ID.
1041
- # @param [Google::Apis::SqlV1beta4::InstancesRotateServerCaRequest] instances_rotate_server_ca_request_object
1041
+ # @param [Google::Apis::SqladminV1beta4::InstancesRotateServerCaRequest] instances_rotate_server_ca_request_object
1042
1042
  # @param [String] fields
1043
1043
  # Selector specifying which fields to include in a partial response.
1044
1044
  # @param [String] quota_user
@@ -1048,20 +1048,20 @@ module Google
1048
1048
  # Request-specific options
1049
1049
  #
1050
1050
  # @yield [result, err] Result & error if block supplied
1051
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1051
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1052
1052
  # @yieldparam err [StandardError] error object if request failed
1053
1053
  #
1054
- # @return [Google::Apis::SqlV1beta4::Operation]
1054
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1055
1055
  #
1056
1056
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1057
1057
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1058
1058
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1059
1059
  def rotate_instance_server_ca(project, instance, instances_rotate_server_ca_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1060
1060
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa', options)
1061
- command.request_representation = Google::Apis::SqlV1beta4::InstancesRotateServerCaRequest::Representation
1061
+ command.request_representation = Google::Apis::SqladminV1beta4::InstancesRotateServerCaRequest::Representation
1062
1062
  command.request_object = instances_rotate_server_ca_request_object
1063
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1064
- command.response_class = Google::Apis::SqlV1beta4::Operation
1063
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1064
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1065
1065
  command.params['project'] = project unless project.nil?
1066
1066
  command.params['instance'] = instance unless instance.nil?
1067
1067
  command.query['fields'] = fields unless fields.nil?
@@ -1083,18 +1083,18 @@ module Google
1083
1083
  # Request-specific options
1084
1084
  #
1085
1085
  # @yield [result, err] Result & error if block supplied
1086
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1086
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1087
1087
  # @yieldparam err [StandardError] error object if request failed
1088
1088
  #
1089
- # @return [Google::Apis::SqlV1beta4::Operation]
1089
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1090
1090
  #
1091
1091
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1092
1092
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1093
1093
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1094
1094
  def start_instance_replica(project, instance, fields: nil, quota_user: nil, options: nil, &block)
1095
1095
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/startReplica', options)
1096
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1097
- command.response_class = Google::Apis::SqlV1beta4::Operation
1096
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1097
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1098
1098
  command.params['project'] = project unless project.nil?
1099
1099
  command.params['instance'] = instance unless instance.nil?
1100
1100
  command.query['fields'] = fields unless fields.nil?
@@ -1116,18 +1116,18 @@ module Google
1116
1116
  # Request-specific options
1117
1117
  #
1118
1118
  # @yield [result, err] Result & error if block supplied
1119
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1119
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1120
1120
  # @yieldparam err [StandardError] error object if request failed
1121
1121
  #
1122
- # @return [Google::Apis::SqlV1beta4::Operation]
1122
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1123
1123
  #
1124
1124
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1125
1125
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1126
1126
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1127
1127
  def stop_instance_replica(project, instance, fields: nil, quota_user: nil, options: nil, &block)
1128
1128
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/stopReplica', options)
1129
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1130
- command.response_class = Google::Apis::SqlV1beta4::Operation
1129
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1130
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1131
1131
  command.params['project'] = project unless project.nil?
1132
1132
  command.params['instance'] = instance unless instance.nil?
1133
1133
  command.query['fields'] = fields unless fields.nil?
@@ -1140,7 +1140,7 @@ module Google
1140
1140
  # Project ID of the Cloud SQL project.
1141
1141
  # @param [String] instance
1142
1142
  # Cloud SQL instance ID. This does not include the project ID.
1143
- # @param [Google::Apis::SqlV1beta4::InstancesTruncateLogRequest] instances_truncate_log_request_object
1143
+ # @param [Google::Apis::SqladminV1beta4::InstancesTruncateLogRequest] instances_truncate_log_request_object
1144
1144
  # @param [String] fields
1145
1145
  # Selector specifying which fields to include in a partial response.
1146
1146
  # @param [String] quota_user
@@ -1150,20 +1150,20 @@ module Google
1150
1150
  # Request-specific options
1151
1151
  #
1152
1152
  # @yield [result, err] Result & error if block supplied
1153
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1153
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1154
1154
  # @yieldparam err [StandardError] error object if request failed
1155
1155
  #
1156
- # @return [Google::Apis::SqlV1beta4::Operation]
1156
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1157
1157
  #
1158
1158
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1159
1159
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1160
1160
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1161
1161
  def truncate_instance_log(project, instance, instances_truncate_log_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1162
1162
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/truncateLog', options)
1163
- command.request_representation = Google::Apis::SqlV1beta4::InstancesTruncateLogRequest::Representation
1163
+ command.request_representation = Google::Apis::SqladminV1beta4::InstancesTruncateLogRequest::Representation
1164
1164
  command.request_object = instances_truncate_log_request_object
1165
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1166
- command.response_class = Google::Apis::SqlV1beta4::Operation
1165
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1166
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1167
1167
  command.params['project'] = project unless project.nil?
1168
1168
  command.params['instance'] = instance unless instance.nil?
1169
1169
  command.query['fields'] = fields unless fields.nil?
@@ -1177,7 +1177,7 @@ module Google
1177
1177
  # Project ID of the project that contains the instance.
1178
1178
  # @param [String] instance
1179
1179
  # Cloud SQL instance ID. This does not include the project ID.
1180
- # @param [Google::Apis::SqlV1beta4::DatabaseInstance] database_instance_object
1180
+ # @param [Google::Apis::SqladminV1beta4::DatabaseInstance] database_instance_object
1181
1181
  # @param [String] fields
1182
1182
  # Selector specifying which fields to include in a partial response.
1183
1183
  # @param [String] quota_user
@@ -1187,20 +1187,20 @@ module Google
1187
1187
  # Request-specific options
1188
1188
  #
1189
1189
  # @yield [result, err] Result & error if block supplied
1190
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1190
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1191
1191
  # @yieldparam err [StandardError] error object if request failed
1192
1192
  #
1193
- # @return [Google::Apis::SqlV1beta4::Operation]
1193
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1194
1194
  #
1195
1195
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1196
1196
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1197
1197
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1198
1198
  def update_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1199
1199
  command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
1200
- command.request_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation
1200
+ command.request_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
1201
1201
  command.request_object = database_instance_object
1202
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1203
- command.response_class = Google::Apis::SqlV1beta4::Operation
1202
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1203
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1204
1204
  command.params['project'] = project unless project.nil?
1205
1205
  command.params['instance'] = instance unless instance.nil?
1206
1206
  command.query['fields'] = fields unless fields.nil?
@@ -1222,18 +1222,18 @@ module Google
1222
1222
  # Request-specific options
1223
1223
  #
1224
1224
  # @yield [result, err] Result & error if block supplied
1225
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1225
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1226
1226
  # @yieldparam err [StandardError] error object if request failed
1227
1227
  #
1228
- # @return [Google::Apis::SqlV1beta4::Operation]
1228
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1229
1229
  #
1230
1230
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1231
1231
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1232
1232
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1233
1233
  def get_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
1234
1234
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/operations/{operation}', options)
1235
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1236
- command.response_class = Google::Apis::SqlV1beta4::Operation
1235
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1236
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1237
1237
  command.params['project'] = project unless project.nil?
1238
1238
  command.params['operation'] = operation unless operation.nil?
1239
1239
  command.query['fields'] = fields unless fields.nil?
@@ -1261,18 +1261,18 @@ module Google
1261
1261
  # Request-specific options
1262
1262
  #
1263
1263
  # @yield [result, err] Result & error if block supplied
1264
- # @yieldparam result [Google::Apis::SqlV1beta4::OperationsListResponse] parsed result object
1264
+ # @yieldparam result [Google::Apis::SqladminV1beta4::ListOperationsResponse] parsed result object
1265
1265
  # @yieldparam err [StandardError] error object if request failed
1266
1266
  #
1267
- # @return [Google::Apis::SqlV1beta4::OperationsListResponse]
1267
+ # @return [Google::Apis::SqladminV1beta4::ListOperationsResponse]
1268
1268
  #
1269
1269
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1270
1270
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1271
1271
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1272
1272
  def list_operations(project, instance: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1273
1273
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/operations', options)
1274
- command.response_representation = Google::Apis::SqlV1beta4::OperationsListResponse::Representation
1275
- command.response_class = Google::Apis::SqlV1beta4::OperationsListResponse
1274
+ command.response_representation = Google::Apis::SqladminV1beta4::ListOperationsResponse::Representation
1275
+ command.response_class = Google::Apis::SqladminV1beta4::ListOperationsResponse
1276
1276
  command.params['project'] = project unless project.nil?
1277
1277
  command.query['instance'] = instance unless instance.nil?
1278
1278
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -1287,7 +1287,7 @@ module Google
1287
1287
  # ID of the project that contains the instance.
1288
1288
  # @param [String] instance
1289
1289
  # Cloud SQL instance ID. This does not include the project ID.
1290
- # @param [Google::Apis::SqlV1beta4::SqlInstancesRescheduleMaintenanceRequestBody] sql_instances_reschedule_maintenance_request_body_object
1290
+ # @param [Google::Apis::SqladminV1beta4::SqlInstancesRescheduleMaintenanceRequestBody] sql_instances_reschedule_maintenance_request_body_object
1291
1291
  # @param [String] fields
1292
1292
  # Selector specifying which fields to include in a partial response.
1293
1293
  # @param [String] quota_user
@@ -1297,20 +1297,20 @@ module Google
1297
1297
  # Request-specific options
1298
1298
  #
1299
1299
  # @yield [result, err] Result & error if block supplied
1300
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1300
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1301
1301
  # @yieldparam err [StandardError] error object if request failed
1302
1302
  #
1303
- # @return [Google::Apis::SqlV1beta4::Operation]
1303
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1304
1304
  #
1305
1305
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1306
1306
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1307
1307
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1308
1308
  def reschedule_project_instance_maintenance(project, instance, sql_instances_reschedule_maintenance_request_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1309
1309
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance', options)
1310
- command.request_representation = Google::Apis::SqlV1beta4::SqlInstancesRescheduleMaintenanceRequestBody::Representation
1310
+ command.request_representation = Google::Apis::SqladminV1beta4::SqlInstancesRescheduleMaintenanceRequestBody::Representation
1311
1311
  command.request_object = sql_instances_reschedule_maintenance_request_body_object
1312
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1313
- command.response_class = Google::Apis::SqlV1beta4::Operation
1312
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1313
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1314
1314
  command.params['project'] = project unless project.nil?
1315
1315
  command.params['instance'] = instance unless instance.nil?
1316
1316
  command.query['fields'] = fields unless fields.nil?
@@ -1318,7 +1318,7 @@ module Google
1318
1318
  execute_or_queue_command(command, &block)
1319
1319
  end
1320
1320
 
1321
- # Start External master migration.
1321
+ # Start External primary instance migration.
1322
1322
  # @param [String] project
1323
1323
  # ID of the project that contains the instance.
1324
1324
  # @param [String] instance
@@ -1334,18 +1334,18 @@ module Google
1334
1334
  # Request-specific options
1335
1335
  #
1336
1336
  # @yield [result, err] Result & error if block supplied
1337
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1337
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1338
1338
  # @yieldparam err [StandardError] error object if request failed
1339
1339
  #
1340
- # @return [Google::Apis::SqlV1beta4::Operation]
1340
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1341
1341
  #
1342
1342
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1343
1343
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1344
1344
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1345
1345
  def start_project_instance_external_sync(project, instance, sync_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
1346
1346
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync', options)
1347
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1348
- command.response_class = Google::Apis::SqlV1beta4::Operation
1347
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1348
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1349
1349
  command.params['project'] = project unless project.nil?
1350
1350
  command.params['instance'] = instance unless instance.nil?
1351
1351
  command.query['syncMode'] = sync_mode unless sync_mode.nil?
@@ -1354,7 +1354,7 @@ module Google
1354
1354
  execute_or_queue_command(command, &block)
1355
1355
  end
1356
1356
 
1357
- # Verify External master external sync settings.
1357
+ # Verify External primary instance external sync settings.
1358
1358
  # @param [String] project
1359
1359
  # Project ID of the project that contains the instance.
1360
1360
  # @param [String] instance
@@ -1372,18 +1372,18 @@ module Google
1372
1372
  # Request-specific options
1373
1373
  #
1374
1374
  # @yield [result, err] Result & error if block supplied
1375
- # @yieldparam result [Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse] parsed result object
1375
+ # @yieldparam result [Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse] parsed result object
1376
1376
  # @yieldparam err [StandardError] error object if request failed
1377
1377
  #
1378
- # @return [Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse]
1378
+ # @return [Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse]
1379
1379
  #
1380
1380
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1381
1381
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1382
1382
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1383
1383
  def verify_project_instance_external_sync_settings(project, instance, sync_mode: nil, verify_connection_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1384
1384
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings', options)
1385
- command.response_representation = Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse::Representation
1386
- command.response_class = Google::Apis::SqlV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse
1385
+ command.response_representation = Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse::Representation
1386
+ command.response_class = Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse
1387
1387
  command.params['project'] = project unless project.nil?
1388
1388
  command.params['instance'] = instance unless instance.nil?
1389
1389
  command.query['syncMode'] = sync_mode unless sync_mode.nil?
@@ -1400,7 +1400,7 @@ module Google
1400
1400
  # Project ID of the Cloud SQL project.
1401
1401
  # @param [String] instance
1402
1402
  # Cloud SQL instance ID. This does not include the project ID.
1403
- # @param [Google::Apis::SqlV1beta4::SslCertsCreateEphemeralRequest] ssl_certs_create_ephemeral_request_object
1403
+ # @param [Google::Apis::SqladminV1beta4::SslCertsCreateEphemeralRequest] ssl_certs_create_ephemeral_request_object
1404
1404
  # @param [String] fields
1405
1405
  # Selector specifying which fields to include in a partial response.
1406
1406
  # @param [String] quota_user
@@ -1410,20 +1410,20 @@ module Google
1410
1410
  # Request-specific options
1411
1411
  #
1412
1412
  # @yield [result, err] Result & error if block supplied
1413
- # @yieldparam result [Google::Apis::SqlV1beta4::SslCert] parsed result object
1413
+ # @yieldparam result [Google::Apis::SqladminV1beta4::SslCert] parsed result object
1414
1414
  # @yieldparam err [StandardError] error object if request failed
1415
1415
  #
1416
- # @return [Google::Apis::SqlV1beta4::SslCert]
1416
+ # @return [Google::Apis::SqladminV1beta4::SslCert]
1417
1417
  #
1418
1418
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1419
1419
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1420
1420
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1421
1421
  def create_ssl_cert_ephemeral(project, instance, ssl_certs_create_ephemeral_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1422
1422
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral', options)
1423
- command.request_representation = Google::Apis::SqlV1beta4::SslCertsCreateEphemeralRequest::Representation
1423
+ command.request_representation = Google::Apis::SqladminV1beta4::SslCertsCreateEphemeralRequest::Representation
1424
1424
  command.request_object = ssl_certs_create_ephemeral_request_object
1425
- command.response_representation = Google::Apis::SqlV1beta4::SslCert::Representation
1426
- command.response_class = Google::Apis::SqlV1beta4::SslCert
1425
+ command.response_representation = Google::Apis::SqladminV1beta4::SslCert::Representation
1426
+ command.response_class = Google::Apis::SqladminV1beta4::SslCert
1427
1427
  command.params['project'] = project unless project.nil?
1428
1428
  command.params['instance'] = instance unless instance.nil?
1429
1429
  command.query['fields'] = fields unless fields.nil?
@@ -1448,18 +1448,18 @@ module Google
1448
1448
  # Request-specific options
1449
1449
  #
1450
1450
  # @yield [result, err] Result & error if block supplied
1451
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1451
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1452
1452
  # @yieldparam err [StandardError] error object if request failed
1453
1453
  #
1454
- # @return [Google::Apis::SqlV1beta4::Operation]
1454
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1455
1455
  #
1456
1456
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1457
1457
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1458
1458
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1459
1459
  def delete_ssl_cert(project, instance, sha1_fingerprint, fields: nil, quota_user: nil, options: nil, &block)
1460
1460
  command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', options)
1461
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1462
- command.response_class = Google::Apis::SqlV1beta4::Operation
1461
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1462
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1463
1463
  command.params['project'] = project unless project.nil?
1464
1464
  command.params['instance'] = instance unless instance.nil?
1465
1465
  command.params['sha1Fingerprint'] = sha1_fingerprint unless sha1_fingerprint.nil?
@@ -1486,18 +1486,18 @@ module Google
1486
1486
  # Request-specific options
1487
1487
  #
1488
1488
  # @yield [result, err] Result & error if block supplied
1489
- # @yieldparam result [Google::Apis::SqlV1beta4::SslCert] parsed result object
1489
+ # @yieldparam result [Google::Apis::SqladminV1beta4::SslCert] parsed result object
1490
1490
  # @yieldparam err [StandardError] error object if request failed
1491
1491
  #
1492
- # @return [Google::Apis::SqlV1beta4::SslCert]
1492
+ # @return [Google::Apis::SqladminV1beta4::SslCert]
1493
1493
  #
1494
1494
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1495
1495
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1496
1496
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1497
1497
  def get_ssl_cert(project, instance, sha1_fingerprint, fields: nil, quota_user: nil, options: nil, &block)
1498
1498
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', options)
1499
- command.response_representation = Google::Apis::SqlV1beta4::SslCert::Representation
1500
- command.response_class = Google::Apis::SqlV1beta4::SslCert
1499
+ command.response_representation = Google::Apis::SqladminV1beta4::SslCert::Representation
1500
+ command.response_class = Google::Apis::SqladminV1beta4::SslCert
1501
1501
  command.params['project'] = project unless project.nil?
1502
1502
  command.params['instance'] = instance unless instance.nil?
1503
1503
  command.params['sha1Fingerprint'] = sha1_fingerprint unless sha1_fingerprint.nil?
@@ -1513,7 +1513,7 @@ module Google
1513
1513
  # Project ID of the project that contains the instance.
1514
1514
  # @param [String] instance
1515
1515
  # Cloud SQL instance ID. This does not include the project ID.
1516
- # @param [Google::Apis::SqlV1beta4::SslCertsInsertRequest] ssl_certs_insert_request_object
1516
+ # @param [Google::Apis::SqladminV1beta4::InsertSslCertsRequest] insert_ssl_certs_request_object
1517
1517
  # @param [String] fields
1518
1518
  # Selector specifying which fields to include in a partial response.
1519
1519
  # @param [String] quota_user
@@ -1523,20 +1523,20 @@ module Google
1523
1523
  # Request-specific options
1524
1524
  #
1525
1525
  # @yield [result, err] Result & error if block supplied
1526
- # @yieldparam result [Google::Apis::SqlV1beta4::SslCertsInsertResponse] parsed result object
1526
+ # @yieldparam result [Google::Apis::SqladminV1beta4::InsertSslCertsResponse] parsed result object
1527
1527
  # @yieldparam err [StandardError] error object if request failed
1528
1528
  #
1529
- # @return [Google::Apis::SqlV1beta4::SslCertsInsertResponse]
1529
+ # @return [Google::Apis::SqladminV1beta4::InsertSslCertsResponse]
1530
1530
  #
1531
1531
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1532
1532
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1533
1533
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1534
- def insert_ssl_cert(project, instance, ssl_certs_insert_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1534
+ def insert_ssl_cert(project, instance, insert_ssl_certs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1535
1535
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts', options)
1536
- command.request_representation = Google::Apis::SqlV1beta4::SslCertsInsertRequest::Representation
1537
- command.request_object = ssl_certs_insert_request_object
1538
- command.response_representation = Google::Apis::SqlV1beta4::SslCertsInsertResponse::Representation
1539
- command.response_class = Google::Apis::SqlV1beta4::SslCertsInsertResponse
1536
+ command.request_representation = Google::Apis::SqladminV1beta4::InsertSslCertsRequest::Representation
1537
+ command.request_object = insert_ssl_certs_request_object
1538
+ command.response_representation = Google::Apis::SqladminV1beta4::InsertSslCertsResponse::Representation
1539
+ command.response_class = Google::Apis::SqladminV1beta4::InsertSslCertsResponse
1540
1540
  command.params['project'] = project unless project.nil?
1541
1541
  command.params['instance'] = instance unless instance.nil?
1542
1542
  command.query['fields'] = fields unless fields.nil?
@@ -1558,18 +1558,18 @@ module Google
1558
1558
  # Request-specific options
1559
1559
  #
1560
1560
  # @yield [result, err] Result & error if block supplied
1561
- # @yieldparam result [Google::Apis::SqlV1beta4::SslCertsListResponse] parsed result object
1561
+ # @yieldparam result [Google::Apis::SqladminV1beta4::ListSslCertsResponse] parsed result object
1562
1562
  # @yieldparam err [StandardError] error object if request failed
1563
1563
  #
1564
- # @return [Google::Apis::SqlV1beta4::SslCertsListResponse]
1564
+ # @return [Google::Apis::SqladminV1beta4::ListSslCertsResponse]
1565
1565
  #
1566
1566
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1567
1567
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1568
1568
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1569
1569
  def list_ssl_certs(project, instance, fields: nil, quota_user: nil, options: nil, &block)
1570
1570
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts', options)
1571
- command.response_representation = Google::Apis::SqlV1beta4::SslCertsListResponse::Representation
1572
- command.response_class = Google::Apis::SqlV1beta4::SslCertsListResponse
1571
+ command.response_representation = Google::Apis::SqladminV1beta4::ListSslCertsResponse::Representation
1572
+ command.response_class = Google::Apis::SqladminV1beta4::ListSslCertsResponse
1573
1573
  command.params['project'] = project unless project.nil?
1574
1574
  command.params['instance'] = instance unless instance.nil?
1575
1575
  command.query['fields'] = fields unless fields.nil?
@@ -1590,18 +1590,18 @@ module Google
1590
1590
  # Request-specific options
1591
1591
  #
1592
1592
  # @yield [result, err] Result & error if block supplied
1593
- # @yieldparam result [Google::Apis::SqlV1beta4::TiersListResponse] parsed result object
1593
+ # @yieldparam result [Google::Apis::SqladminV1beta4::ListTiersResponse] parsed result object
1594
1594
  # @yieldparam err [StandardError] error object if request failed
1595
1595
  #
1596
- # @return [Google::Apis::SqlV1beta4::TiersListResponse]
1596
+ # @return [Google::Apis::SqladminV1beta4::ListTiersResponse]
1597
1597
  #
1598
1598
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1599
1599
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1600
1600
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1601
1601
  def list_tiers(project, fields: nil, quota_user: nil, options: nil, &block)
1602
1602
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/tiers', options)
1603
- command.response_representation = Google::Apis::SqlV1beta4::TiersListResponse::Representation
1604
- command.response_class = Google::Apis::SqlV1beta4::TiersListResponse
1603
+ command.response_representation = Google::Apis::SqladminV1beta4::ListTiersResponse::Representation
1604
+ command.response_class = Google::Apis::SqladminV1beta4::ListTiersResponse
1605
1605
  command.params['project'] = project unless project.nil?
1606
1606
  command.query['fields'] = fields unless fields.nil?
1607
1607
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1626,18 +1626,18 @@ module Google
1626
1626
  # Request-specific options
1627
1627
  #
1628
1628
  # @yield [result, err] Result & error if block supplied
1629
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1629
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1630
1630
  # @yieldparam err [StandardError] error object if request failed
1631
1631
  #
1632
- # @return [Google::Apis::SqlV1beta4::Operation]
1632
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1633
1633
  #
1634
1634
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1635
1635
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1636
1636
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1637
1637
  def delete_user(project, instance, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
1638
1638
  command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
1639
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1640
- command.response_class = Google::Apis::SqlV1beta4::Operation
1639
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1640
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1641
1641
  command.params['project'] = project unless project.nil?
1642
1642
  command.params['instance'] = instance unless instance.nil?
1643
1643
  command.query['host'] = host unless host.nil?
@@ -1652,7 +1652,7 @@ module Google
1652
1652
  # Project ID of the project that contains the instance.
1653
1653
  # @param [String] instance
1654
1654
  # Database instance ID. This does not include the project ID.
1655
- # @param [Google::Apis::SqlV1beta4::User] user_object
1655
+ # @param [Google::Apis::SqladminV1beta4::User] user_object
1656
1656
  # @param [String] fields
1657
1657
  # Selector specifying which fields to include in a partial response.
1658
1658
  # @param [String] quota_user
@@ -1662,20 +1662,20 @@ module Google
1662
1662
  # Request-specific options
1663
1663
  #
1664
1664
  # @yield [result, err] Result & error if block supplied
1665
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1665
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1666
1666
  # @yieldparam err [StandardError] error object if request failed
1667
1667
  #
1668
- # @return [Google::Apis::SqlV1beta4::Operation]
1668
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1669
1669
  #
1670
1670
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1671
1671
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1672
1672
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1673
1673
  def insert_user(project, instance, user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1674
1674
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
1675
- command.request_representation = Google::Apis::SqlV1beta4::User::Representation
1675
+ command.request_representation = Google::Apis::SqladminV1beta4::User::Representation
1676
1676
  command.request_object = user_object
1677
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1678
- command.response_class = Google::Apis::SqlV1beta4::Operation
1677
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1678
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1679
1679
  command.params['project'] = project unless project.nil?
1680
1680
  command.params['instance'] = instance unless instance.nil?
1681
1681
  command.query['fields'] = fields unless fields.nil?
@@ -1697,18 +1697,18 @@ module Google
1697
1697
  # Request-specific options
1698
1698
  #
1699
1699
  # @yield [result, err] Result & error if block supplied
1700
- # @yieldparam result [Google::Apis::SqlV1beta4::UsersListResponse] parsed result object
1700
+ # @yieldparam result [Google::Apis::SqladminV1beta4::ListUsersResponse] parsed result object
1701
1701
  # @yieldparam err [StandardError] error object if request failed
1702
1702
  #
1703
- # @return [Google::Apis::SqlV1beta4::UsersListResponse]
1703
+ # @return [Google::Apis::SqladminV1beta4::ListUsersResponse]
1704
1704
  #
1705
1705
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1706
1706
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1707
1707
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1708
1708
  def list_users(project, instance, fields: nil, quota_user: nil, options: nil, &block)
1709
1709
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
1710
- command.response_representation = Google::Apis::SqlV1beta4::UsersListResponse::Representation
1711
- command.response_class = Google::Apis::SqlV1beta4::UsersListResponse
1710
+ command.response_representation = Google::Apis::SqladminV1beta4::ListUsersResponse::Representation
1711
+ command.response_class = Google::Apis::SqladminV1beta4::ListUsersResponse
1712
1712
  command.params['project'] = project unless project.nil?
1713
1713
  command.params['instance'] = instance unless instance.nil?
1714
1714
  command.query['fields'] = fields unless fields.nil?
@@ -1721,7 +1721,7 @@ module Google
1721
1721
  # Project ID of the project that contains the instance.
1722
1722
  # @param [String] instance
1723
1723
  # Database instance ID. This does not include the project ID.
1724
- # @param [Google::Apis::SqlV1beta4::User] user_object
1724
+ # @param [Google::Apis::SqladminV1beta4::User] user_object
1725
1725
  # @param [String] host
1726
1726
  # Optional. Host of the user in the instance.
1727
1727
  # @param [String] name
@@ -1735,20 +1735,20 @@ module Google
1735
1735
  # Request-specific options
1736
1736
  #
1737
1737
  # @yield [result, err] Result & error if block supplied
1738
- # @yieldparam result [Google::Apis::SqlV1beta4::Operation] parsed result object
1738
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1739
1739
  # @yieldparam err [StandardError] error object if request failed
1740
1740
  #
1741
- # @return [Google::Apis::SqlV1beta4::Operation]
1741
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1742
1742
  #
1743
1743
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1744
1744
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1745
1745
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1746
1746
  def update_user(project, instance, user_object = nil, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
1747
1747
  command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
1748
- command.request_representation = Google::Apis::SqlV1beta4::User::Representation
1748
+ command.request_representation = Google::Apis::SqladminV1beta4::User::Representation
1749
1749
  command.request_object = user_object
1750
- command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1751
- command.response_class = Google::Apis::SqlV1beta4::Operation
1750
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1751
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1752
1752
  command.params['project'] = project unless project.nil?
1753
1753
  command.params['instance'] = instance unless instance.nil?
1754
1754
  command.query['host'] = host unless host.nil?