google-api-client 0.34.1 → 0.35.0

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 (312) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +16 -3
  3. data/CHANGELOG.md +114 -0
  4. data/OVERVIEW.md +36 -0
  5. data/README.md +49 -1
  6. data/Rakefile +1 -1
  7. data/docs/api-keys.md +20 -0
  8. data/docs/auth.md +53 -0
  9. data/docs/client-secrets.md +69 -0
  10. data/docs/getting-started.md +340 -0
  11. data/docs/installation.md +0 -0
  12. data/docs/logging.md +34 -0
  13. data/docs/media-upload.md +25 -0
  14. data/docs/oauth-installed.md +191 -0
  15. data/docs/oauth-server.md +135 -0
  16. data/docs/oauth-web.md +280 -0
  17. data/docs/oauth.md +268 -0
  18. data/docs/pagination.md +29 -0
  19. data/docs/performance.md +25 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +9 -0
  23. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  25. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +9 -0
  26. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  29. data/generated/google/apis/androidpublisher_v3/classes.rb +93 -0
  30. data/generated/google/apis/androidpublisher_v3/representations.rb +49 -0
  31. data/generated/google/apis/appengine_v1.rb +1 -1
  32. data/generated/google/apis/appengine_v1beta.rb +1 -1
  33. data/generated/google/apis/appsmarket_v2.rb +1 -1
  34. data/generated/google/apis/bigquery_v2.rb +1 -1
  35. data/generated/google/apis/bigquery_v2/classes.rb +46 -4
  36. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  37. data/generated/google/apis/bigquery_v2/service.rb +1 -5
  38. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  39. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
  42. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  43. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
  44. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  45. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
  47. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
  48. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  49. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  50. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
  51. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
  52. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +112 -78
  53. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  54. data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
  55. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  56. data/generated/google/apis/bigtableadmin_v2/classes.rb +1 -1
  57. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  58. data/generated/google/apis/{sqladmin_v1beta4.rb → billingbudgets_v1beta1.rb} +10 -13
  59. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
  60. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
  61. data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
  62. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  63. data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
  64. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  65. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
  66. data/generated/google/apis/books_v1.rb +1 -1
  67. data/generated/google/apis/books_v1/classes.rb +20 -0
  68. data/generated/google/apis/books_v1/representations.rb +3 -0
  69. data/generated/google/apis/calendar_v3.rb +1 -1
  70. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  71. data/generated/google/apis/calendar_v3/service.rb +18 -30
  72. data/generated/google/apis/civicinfo_v2.rb +1 -1
  73. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  74. data/generated/google/apis/civicinfo_v2/representations.rb +0 -58
  75. data/generated/google/apis/cloudasset_v1.rb +1 -1
  76. data/generated/google/apis/cloudasset_v1/classes.rb +6 -5
  77. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -5
  79. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  80. data/generated/google/apis/cloudbilling_v1/classes.rb +17 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  84. data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -2
  87. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  88. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +4 -1
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
  91. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  92. data/generated/google/apis/cloudfunctions_v1/service.rb +3 -1
  93. data/generated/google/apis/cloudiot_v1.rb +1 -1
  94. data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
  95. data/generated/google/apis/cloudkms_v1.rb +1 -1
  96. data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
  97. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  98. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -5
  99. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  101. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  102. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
  103. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -5
  105. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -5
  107. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  108. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  109. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  110. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  111. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  112. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -130
  113. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
  114. data/generated/google/apis/cloudsearch_v1/service.rb +42 -7
  115. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  116. data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
  117. data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
  118. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  119. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
  120. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  121. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
  122. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  123. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
  124. data/generated/google/apis/compute_alpha.rb +1 -1
  125. data/generated/google/apis/compute_alpha/classes.rb +75 -12
  126. data/generated/google/apis/compute_alpha/representations.rb +2 -0
  127. data/generated/google/apis/compute_beta.rb +1 -1
  128. data/generated/google/apis/compute_beta/classes.rb +54 -10
  129. data/generated/google/apis/compute_v1.rb +1 -1
  130. data/generated/google/apis/compute_v1/classes.rb +54 -10
  131. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  132. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
  133. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  134. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
  135. data/generated/google/apis/content_v2.rb +1 -1
  136. data/generated/google/apis/content_v2/classes.rb +13 -4
  137. data/generated/google/apis/content_v2_1.rb +1 -1
  138. data/generated/google/apis/content_v2_1/classes.rb +13 -4
  139. data/generated/google/apis/datacatalog_v1beta1.rb +35 -0
  140. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
  141. data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
  142. data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
  143. data/generated/google/apis/dataproc_v1.rb +1 -1
  144. data/generated/google/apis/dataproc_v1/classes.rb +75 -4
  145. data/generated/google/apis/dataproc_v1/representations.rb +22 -0
  146. data/generated/google/apis/dataproc_v1/service.rb +14 -7
  147. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  148. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -4
  149. data/generated/google/apis/dataproc_v1beta2/service.rb +14 -7
  150. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  151. data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
  152. data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
  153. data/generated/google/apis/dfareporting_v3_4.rb +40 -0
  154. data/generated/google/apis/dfareporting_v3_4/classes.rb +12717 -0
  155. data/generated/google/apis/dfareporting_v3_4/representations.rb +4595 -0
  156. data/generated/google/apis/dfareporting_v3_4/service.rb +8685 -0
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +484 -1
  159. data/generated/google/apis/dialogflow_v2/representations.rb +220 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +497 -1
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +221 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +68 -25
  165. data/generated/google/apis/dlp_v2/representations.rb +9 -4
  166. data/generated/google/apis/dlp_v2/service.rb +1925 -193
  167. data/generated/google/apis/dns_v1beta2.rb +1 -1
  168. data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
  169. data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
  170. data/generated/google/apis/docs_v1.rb +1 -1
  171. data/generated/google/apis/docs_v1/classes.rb +4 -8
  172. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  173. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +34 -0
  174. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
  175. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
  177. data/generated/google/apis/drive_v3.rb +1 -1
  178. data/generated/google/apis/drive_v3/classes.rb +12 -3
  179. data/generated/google/apis/fcm_v1.rb +1 -1
  180. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  181. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  182. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  183. data/generated/google/apis/firebase_v1beta1/classes.rb +3 -4
  184. data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
  185. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  186. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +25 -0
  187. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  188. data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
  189. data/generated/google/apis/firebaserules_v1.rb +1 -1
  190. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  191. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  192. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  193. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  194. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  195. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  196. data/generated/google/apis/healthcare_v1beta1/classes.rb +8 -7
  197. data/generated/google/apis/homegraph_v1.rb +1 -1
  198. data/generated/google/apis/homegraph_v1/classes.rb +15 -1
  199. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  200. data/generated/google/apis/iam_v1.rb +1 -1
  201. data/generated/google/apis/iam_v1/classes.rb +6 -5
  202. data/generated/google/apis/logging_v2.rb +1 -1
  203. data/generated/google/apis/logging_v2/classes.rb +18 -2
  204. data/generated/google/apis/logging_v2/representations.rb +2 -0
  205. data/generated/google/apis/ml_v1.rb +1 -1
  206. data/generated/google/apis/ml_v1/classes.rb +173 -97
  207. data/generated/google/apis/ml_v1/representations.rb +58 -0
  208. data/generated/google/apis/ml_v1/service.rb +37 -0
  209. data/generated/google/apis/monitoring_v3.rb +1 -1
  210. data/generated/google/apis/monitoring_v3/classes.rb +780 -6
  211. data/generated/google/apis/monitoring_v3/representations.rb +347 -0
  212. data/generated/google/apis/monitoring_v3/service.rb +382 -0
  213. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  214. data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
  215. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  216. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  217. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -5
  218. data/generated/google/apis/pubsub_v1.rb +1 -1
  219. data/generated/google/apis/pubsub_v1/classes.rb +8 -6
  220. data/generated/google/apis/pubsub_v1/service.rb +6 -7
  221. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  222. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
  223. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  224. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  225. data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
  226. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1/classes.rb +33 -0
  228. data/generated/google/apis/remotebuildexecution_v1/representations.rb +15 -0
  229. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +33 -0
  231. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +15 -0
  232. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  233. data/generated/google/apis/remotebuildexecution_v2/classes.rb +33 -0
  234. data/generated/google/apis/remotebuildexecution_v2/representations.rb +15 -0
  235. data/generated/google/apis/run_v1.rb +1 -1
  236. data/generated/google/apis/run_v1/classes.rb +8 -169
  237. data/generated/google/apis/run_v1/representations.rb +0 -71
  238. data/generated/google/apis/run_v1/service.rb +229 -1207
  239. data/generated/google/apis/run_v1alpha1.rb +1 -1
  240. data/generated/google/apis/run_v1alpha1/classes.rb +9 -9
  241. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  242. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -5
  243. data/generated/google/apis/securitycenter_v1.rb +1 -1
  244. data/generated/google/apis/securitycenter_v1/classes.rb +66 -11
  245. data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
  246. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  247. data/generated/google/apis/securitycenter_v1beta1/classes.rb +16 -13
  248. data/generated/google/apis/servicebroker_v1.rb +1 -1
  249. data/generated/google/apis/servicebroker_v1/classes.rb +6 -5
  250. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  251. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -5
  252. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  253. data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  255. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -2
  256. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  257. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -1
  258. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  259. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  260. data/generated/google/apis/servicemanagement_v1/classes.rb +12 -9
  261. data/generated/google/apis/servicemanagement_v1/service.rb +1 -9
  262. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  263. data/generated/google/apis/servicenetworking_v1/classes.rb +130 -13
  264. data/generated/google/apis/servicenetworking_v1/representations.rb +58 -0
  265. data/generated/google/apis/servicenetworking_v1/service.rb +42 -3
  266. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1beta/classes.rb +3 -2
  268. data/generated/google/apis/serviceusage_v1.rb +1 -1
  269. data/generated/google/apis/serviceusage_v1/classes.rb +3 -2
  270. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1beta1/classes.rb +3 -2
  272. data/generated/google/apis/sheets_v4.rb +1 -1
  273. data/generated/google/apis/spanner_v1.rb +1 -1
  274. data/generated/google/apis/spanner_v1/classes.rb +70 -30
  275. data/generated/google/apis/spanner_v1/service.rb +270 -0
  276. data/generated/google/apis/speech_v1.rb +1 -1
  277. data/generated/google/apis/speech_v1/classes.rb +6 -0
  278. data/generated/google/apis/speech_v1/representations.rb +1 -0
  279. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  280. data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
  281. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  282. data/generated/google/apis/sql_v1beta4.rb +1 -1
  283. data/generated/google/apis/sql_v1beta4/service.rb +59 -10
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/videointelligence_v1.rb +1 -1
  286. data/generated/google/apis/videointelligence_v1/classes.rb +112 -0
  287. data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
  288. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  289. data/generated/google/apis/videointelligence_v1beta2/classes.rb +112 -0
  290. data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
  291. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  292. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +112 -0
  293. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
  294. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  295. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +112 -0
  296. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
  297. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  298. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +112 -0
  299. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
  300. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  301. data/lib/google/apis/core/api_command.rb +3 -0
  302. data/lib/google/apis/core/http_command.rb +10 -8
  303. data/lib/google/apis/version.rb +1 -1
  304. data/rakelib/devsite/devsite_builder.rb +1 -1
  305. metadata +33 -11
  306. data/generated/google/apis/sqladmin_v1beta4/classes.rb +0 -2633
  307. data/generated/google/apis/sqladmin_v1beta4/representations.rb +0 -1110
  308. data/generated/google/apis/sqladmin_v1beta4/service.rb +0 -1793
  309. data/generated/google/apis/storage_v1beta1.rb +0 -40
  310. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  311. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  312. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
@@ -1,1110 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module SqladminV1beta4
24
-
25
- class AclEntry
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class ApiWarning
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
- class BackupConfiguration
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
- class BackupRun
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
- class ListBackupRunsResponse
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class BinLogCoordinates
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
- class CloneContext
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
- class Database
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
- class DatabaseFlags
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
- class DatabaseInstance
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- class FailoverReplica
83
- class Representation < Google::Apis::Core::JsonRepresentation; end
84
-
85
- include Google::Apis::Core::JsonObjectSupport
86
- end
87
-
88
- include Google::Apis::Core::JsonObjectSupport
89
- end
90
-
91
- class ListDatabasesResponse
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
- class DemoteMasterConfiguration
98
- class Representation < Google::Apis::Core::JsonRepresentation; end
99
-
100
- include Google::Apis::Core::JsonObjectSupport
101
- end
102
-
103
- class DemoteMasterContext
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
107
- end
108
-
109
- class DemoteMasterMySqlReplicaConfiguration
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
- class DiskEncryptionConfiguration
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
120
-
121
- class DiskEncryptionStatus
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
- class ExportContext
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- class CsvExportOptions
131
- class Representation < Google::Apis::Core::JsonRepresentation; end
132
-
133
- include Google::Apis::Core::JsonObjectSupport
134
- end
135
-
136
- class SqlExportOptions
137
- class Representation < Google::Apis::Core::JsonRepresentation; end
138
-
139
- class MysqlExportOptions
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
143
- end
144
-
145
- include Google::Apis::Core::JsonObjectSupport
146
- end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
- class FailoverContext
152
- class Representation < Google::Apis::Core::JsonRepresentation; end
153
-
154
- include Google::Apis::Core::JsonObjectSupport
155
- end
156
-
157
- class Flag
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
- class ListFlagsResponse
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
- class ImportContext
170
- class Representation < Google::Apis::Core::JsonRepresentation; end
171
-
172
- class BakImportOptions
173
- class Representation < Google::Apis::Core::JsonRepresentation; end
174
-
175
- class EncryptionOptions
176
- class Representation < Google::Apis::Core::JsonRepresentation; end
177
-
178
- include Google::Apis::Core::JsonObjectSupport
179
- end
180
-
181
- include Google::Apis::Core::JsonObjectSupport
182
- end
183
-
184
- class CsvImportOptions
185
- class Representation < Google::Apis::Core::JsonRepresentation; end
186
-
187
- include Google::Apis::Core::JsonObjectSupport
188
- end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
- class CloneInstancesRequest
194
- class Representation < Google::Apis::Core::JsonRepresentation; end
195
-
196
- include Google::Apis::Core::JsonObjectSupport
197
- end
198
-
199
- class InstancesDemoteMasterRequest
200
- class Representation < Google::Apis::Core::JsonRepresentation; end
201
-
202
- include Google::Apis::Core::JsonObjectSupport
203
- end
204
-
205
- class ExportInstancesRequest
206
- class Representation < Google::Apis::Core::JsonRepresentation; end
207
-
208
- include Google::Apis::Core::JsonObjectSupport
209
- end
210
-
211
- class InstancesFailoverRequest
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
- class ImportInstancesRequest
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
219
-
220
- include Google::Apis::Core::JsonObjectSupport
221
- end
222
-
223
- class ListInstancesResponse
224
- class Representation < Google::Apis::Core::JsonRepresentation; end
225
-
226
- include Google::Apis::Core::JsonObjectSupport
227
- end
228
-
229
- class InstancesListServerCasResponse
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
- class RestoreInstancesBackupRequest
236
- class Representation < Google::Apis::Core::JsonRepresentation; end
237
-
238
- include Google::Apis::Core::JsonObjectSupport
239
- end
240
-
241
- class InstancesRotateServerCaRequest
242
- class Representation < Google::Apis::Core::JsonRepresentation; end
243
-
244
- include Google::Apis::Core::JsonObjectSupport
245
- end
246
-
247
- class InstancesTruncateLogRequest
248
- class Representation < Google::Apis::Core::JsonRepresentation; end
249
-
250
- include Google::Apis::Core::JsonObjectSupport
251
- end
252
-
253
- class IpConfiguration
254
- class Representation < Google::Apis::Core::JsonRepresentation; end
255
-
256
- include Google::Apis::Core::JsonObjectSupport
257
- end
258
-
259
- class IpMapping
260
- class Representation < Google::Apis::Core::JsonRepresentation; end
261
-
262
- include Google::Apis::Core::JsonObjectSupport
263
- end
264
-
265
- class LocationPreference
266
- class Representation < Google::Apis::Core::JsonRepresentation; end
267
-
268
- include Google::Apis::Core::JsonObjectSupport
269
- end
270
-
271
- class MaintenanceWindow
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
- class MySqlReplicaConfiguration
278
- class Representation < Google::Apis::Core::JsonRepresentation; end
279
-
280
- include Google::Apis::Core::JsonObjectSupport
281
- end
282
-
283
- class OnPremisesConfiguration
284
- class Representation < Google::Apis::Core::JsonRepresentation; end
285
-
286
- include Google::Apis::Core::JsonObjectSupport
287
- end
288
-
289
- class Operation
290
- class Representation < Google::Apis::Core::JsonRepresentation; end
291
-
292
- include Google::Apis::Core::JsonObjectSupport
293
- end
294
-
295
- class OperationError
296
- class Representation < Google::Apis::Core::JsonRepresentation; end
297
-
298
- include Google::Apis::Core::JsonObjectSupport
299
- end
300
-
301
- class OperationErrors
302
- class Representation < Google::Apis::Core::JsonRepresentation; end
303
-
304
- include Google::Apis::Core::JsonObjectSupport
305
- end
306
-
307
- class ListOperationsResponse
308
- class Representation < Google::Apis::Core::JsonRepresentation; end
309
-
310
- include Google::Apis::Core::JsonObjectSupport
311
- end
312
-
313
- class ReplicaConfiguration
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
315
-
316
- include Google::Apis::Core::JsonObjectSupport
317
- end
318
-
319
- class RestoreBackupContext
320
- class Representation < Google::Apis::Core::JsonRepresentation; end
321
-
322
- include Google::Apis::Core::JsonObjectSupport
323
- end
324
-
325
- class RotateServerCaContext
326
- class Representation < Google::Apis::Core::JsonRepresentation; end
327
-
328
- include Google::Apis::Core::JsonObjectSupport
329
- end
330
-
331
- class Settings
332
- class Representation < Google::Apis::Core::JsonRepresentation; end
333
-
334
- include Google::Apis::Core::JsonObjectSupport
335
- end
336
-
337
- class SslCert
338
- class Representation < Google::Apis::Core::JsonRepresentation; end
339
-
340
- include Google::Apis::Core::JsonObjectSupport
341
- end
342
-
343
- class SslCertDetail
344
- class Representation < Google::Apis::Core::JsonRepresentation; end
345
-
346
- include Google::Apis::Core::JsonObjectSupport
347
- end
348
-
349
- class SslCertsCreateEphemeralRequest
350
- class Representation < Google::Apis::Core::JsonRepresentation; end
351
-
352
- include Google::Apis::Core::JsonObjectSupport
353
- end
354
-
355
- class InsertSslCertsRequest
356
- class Representation < Google::Apis::Core::JsonRepresentation; end
357
-
358
- include Google::Apis::Core::JsonObjectSupport
359
- end
360
-
361
- class InsertSslCertsResponse
362
- class Representation < Google::Apis::Core::JsonRepresentation; end
363
-
364
- include Google::Apis::Core::JsonObjectSupport
365
- end
366
-
367
- class ListSslCertsResponse
368
- class Representation < Google::Apis::Core::JsonRepresentation; end
369
-
370
- include Google::Apis::Core::JsonObjectSupport
371
- end
372
-
373
- class Tier
374
- class Representation < Google::Apis::Core::JsonRepresentation; end
375
-
376
- include Google::Apis::Core::JsonObjectSupport
377
- end
378
-
379
- class ListTiersResponse
380
- class Representation < Google::Apis::Core::JsonRepresentation; end
381
-
382
- include Google::Apis::Core::JsonObjectSupport
383
- end
384
-
385
- class TruncateLogContext
386
- class Representation < Google::Apis::Core::JsonRepresentation; end
387
-
388
- include Google::Apis::Core::JsonObjectSupport
389
- end
390
-
391
- class User
392
- class Representation < Google::Apis::Core::JsonRepresentation; end
393
-
394
- include Google::Apis::Core::JsonObjectSupport
395
- end
396
-
397
- class ListUsersResponse
398
- class Representation < Google::Apis::Core::JsonRepresentation; end
399
-
400
- include Google::Apis::Core::JsonObjectSupport
401
- end
402
-
403
- class AclEntry
404
- # @private
405
- class Representation < Google::Apis::Core::JsonRepresentation
406
- property :expiration_time, as: 'expirationTime', type: DateTime
407
-
408
- property :kind, as: 'kind'
409
- property :name, as: 'name'
410
- property :value, as: 'value'
411
- end
412
- end
413
-
414
- class ApiWarning
415
- # @private
416
- class Representation < Google::Apis::Core::JsonRepresentation
417
- property :code, as: 'code'
418
- property :message, as: 'message'
419
- end
420
- end
421
-
422
- class BackupConfiguration
423
- # @private
424
- class Representation < Google::Apis::Core::JsonRepresentation
425
- property :binary_log_enabled, as: 'binaryLogEnabled'
426
- property :enabled, as: 'enabled'
427
- property :kind, as: 'kind'
428
- property :location, as: 'location'
429
- property :replication_log_archiving_enabled, as: 'replicationLogArchivingEnabled'
430
- property :start_time, as: 'startTime'
431
- end
432
- end
433
-
434
- class BackupRun
435
- # @private
436
- class Representation < Google::Apis::Core::JsonRepresentation
437
- property :description, as: 'description'
438
- property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration::Representation
439
-
440
- property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1beta4::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionStatus::Representation
441
-
442
- property :end_time, as: 'endTime', type: DateTime
443
-
444
- property :enqueued_time, as: 'enqueuedTime', type: DateTime
445
-
446
- property :error, as: 'error', class: Google::Apis::SqladminV1beta4::OperationError, decorator: Google::Apis::SqladminV1beta4::OperationError::Representation
447
-
448
- property :id, :numeric_string => true, as: 'id'
449
- property :instance, as: 'instance'
450
- property :kind, as: 'kind'
451
- property :location, as: 'location'
452
- property :self_link, as: 'selfLink'
453
- property :start_time, as: 'startTime', type: DateTime
454
-
455
- property :status, as: 'status'
456
- property :type, as: 'type'
457
- property :window_start_time, as: 'windowStartTime', type: DateTime
458
-
459
- end
460
- end
461
-
462
- class ListBackupRunsResponse
463
- # @private
464
- class Representation < Google::Apis::Core::JsonRepresentation
465
- collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::BackupRun, decorator: Google::Apis::SqladminV1beta4::BackupRun::Representation
466
-
467
- property :kind, as: 'kind'
468
- property :next_page_token, as: 'nextPageToken'
469
- end
470
- end
471
-
472
- class BinLogCoordinates
473
- # @private
474
- class Representation < Google::Apis::Core::JsonRepresentation
475
- property :bin_log_file_name, as: 'binLogFileName'
476
- property :bin_log_position, :numeric_string => true, as: 'binLogPosition'
477
- property :kind, as: 'kind'
478
- end
479
- end
480
-
481
- class CloneContext
482
- # @private
483
- class Representation < Google::Apis::Core::JsonRepresentation
484
- property :bin_log_coordinates, as: 'binLogCoordinates', class: Google::Apis::SqladminV1beta4::BinLogCoordinates, decorator: Google::Apis::SqladminV1beta4::BinLogCoordinates::Representation
485
-
486
- property :destination_instance_name, as: 'destinationInstanceName'
487
- property :kind, as: 'kind'
488
- property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
489
- end
490
- end
491
-
492
- class Database
493
- # @private
494
- class Representation < Google::Apis::Core::JsonRepresentation
495
- property :charset, as: 'charset'
496
- property :collation, as: 'collation'
497
- property :etag, as: 'etag'
498
- property :instance, as: 'instance'
499
- property :kind, as: 'kind'
500
- property :name, as: 'name'
501
- property :project, as: 'project'
502
- property :self_link, as: 'selfLink'
503
- end
504
- end
505
-
506
- class DatabaseFlags
507
- # @private
508
- class Representation < Google::Apis::Core::JsonRepresentation
509
- property :name, as: 'name'
510
- property :value, as: 'value'
511
- end
512
- end
513
-
514
- class DatabaseInstance
515
- # @private
516
- class Representation < Google::Apis::Core::JsonRepresentation
517
- property :backend_type, as: 'backendType'
518
- property :connection_name, as: 'connectionName'
519
- property :current_disk_size, :numeric_string => true, as: 'currentDiskSize'
520
- property :database_version, as: 'databaseVersion'
521
- property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration::Representation
522
-
523
- property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1beta4::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionStatus::Representation
524
-
525
- property :etag, as: 'etag'
526
- property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica::Representation
527
-
528
- property :gce_zone, as: 'gceZone'
529
- property :instance_type, as: 'instanceType'
530
- collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
531
-
532
- property :ipv6_address, as: 'ipv6Address'
533
- property :kind, as: 'kind'
534
- property :master_instance_name, as: 'masterInstanceName'
535
- property :max_disk_size, :numeric_string => true, as: 'maxDiskSize'
536
- property :name, as: 'name'
537
- property :on_premises_configuration, as: 'onPremisesConfiguration', class: Google::Apis::SqladminV1beta4::OnPremisesConfiguration, decorator: Google::Apis::SqladminV1beta4::OnPremisesConfiguration::Representation
538
-
539
- property :project, as: 'project'
540
- property :region, as: 'region'
541
- property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1beta4::ReplicaConfiguration, decorator: Google::Apis::SqladminV1beta4::ReplicaConfiguration::Representation
542
-
543
- collection :replica_names, as: 'replicaNames'
544
- property :root_password, as: 'rootPassword'
545
- property :self_link, as: 'selfLink'
546
- property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
547
-
548
- property :service_account_email_address, as: 'serviceAccountEmailAddress'
549
- property :settings, as: 'settings', class: Google::Apis::SqladminV1beta4::Settings, decorator: Google::Apis::SqladminV1beta4::Settings::Representation
550
-
551
- property :state, as: 'state'
552
- collection :suspension_reason, as: 'suspensionReason'
553
- end
554
-
555
- class FailoverReplica
556
- # @private
557
- class Representation < Google::Apis::Core::JsonRepresentation
558
- property :available, as: 'available'
559
- property :name, as: 'name'
560
- end
561
- end
562
- end
563
-
564
- class ListDatabasesResponse
565
- # @private
566
- class Representation < Google::Apis::Core::JsonRepresentation
567
- collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::Database, decorator: Google::Apis::SqladminV1beta4::Database::Representation
568
-
569
- property :kind, as: 'kind'
570
- end
571
- end
572
-
573
- class DemoteMasterConfiguration
574
- # @private
575
- class Representation < Google::Apis::Core::JsonRepresentation
576
- property :kind, as: 'kind'
577
- property :mysql_replica_configuration, as: 'mysqlReplicaConfiguration', class: Google::Apis::SqladminV1beta4::DemoteMasterMySqlReplicaConfiguration, decorator: Google::Apis::SqladminV1beta4::DemoteMasterMySqlReplicaConfiguration::Representation
578
-
579
- end
580
- end
581
-
582
- class DemoteMasterContext
583
- # @private
584
- class Representation < Google::Apis::Core::JsonRepresentation
585
- property :kind, as: 'kind'
586
- property :master_instance_name, as: 'masterInstanceName'
587
- property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1beta4::DemoteMasterConfiguration, decorator: Google::Apis::SqladminV1beta4::DemoteMasterConfiguration::Representation
588
-
589
- property :verify_gtid_consistency, as: 'verifyGtidConsistency'
590
- end
591
- end
592
-
593
- class DemoteMasterMySqlReplicaConfiguration
594
- # @private
595
- class Representation < Google::Apis::Core::JsonRepresentation
596
- property :ca_certificate, as: 'caCertificate'
597
- property :client_certificate, as: 'clientCertificate'
598
- property :client_key, as: 'clientKey'
599
- property :kind, as: 'kind'
600
- property :password, as: 'password'
601
- property :username, as: 'username'
602
- end
603
- end
604
-
605
- class DiskEncryptionConfiguration
606
- # @private
607
- class Representation < Google::Apis::Core::JsonRepresentation
608
- property :kind, as: 'kind'
609
- property :kms_key_name, as: 'kmsKeyName'
610
- end
611
- end
612
-
613
- class DiskEncryptionStatus
614
- # @private
615
- class Representation < Google::Apis::Core::JsonRepresentation
616
- property :kind, as: 'kind'
617
- property :kms_key_version_name, as: 'kmsKeyVersionName'
618
- end
619
- end
620
-
621
- class ExportContext
622
- # @private
623
- class Representation < Google::Apis::Core::JsonRepresentation
624
- property :csv_export_options, as: 'csvExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions::Representation
625
-
626
- collection :databases, as: 'databases'
627
- property :file_type, as: 'fileType'
628
- property :kind, as: 'kind'
629
- property :sql_export_options, as: 'sqlExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::Representation
630
-
631
- property :uri, as: 'uri'
632
- end
633
-
634
- class CsvExportOptions
635
- # @private
636
- class Representation < Google::Apis::Core::JsonRepresentation
637
- property :select_query, as: 'selectQuery'
638
- end
639
- end
640
-
641
- class SqlExportOptions
642
- # @private
643
- class Representation < Google::Apis::Core::JsonRepresentation
644
- property :mysql_export_options, as: 'mysqlExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions::Representation
645
-
646
- property :schema_only, as: 'schemaOnly'
647
- collection :tables, as: 'tables'
648
- end
649
-
650
- class MysqlExportOptions
651
- # @private
652
- class Representation < Google::Apis::Core::JsonRepresentation
653
- property :master_data, as: 'masterData'
654
- end
655
- end
656
- end
657
- end
658
-
659
- class FailoverContext
660
- # @private
661
- class Representation < Google::Apis::Core::JsonRepresentation
662
- property :kind, as: 'kind'
663
- property :settings_version, :numeric_string => true, as: 'settingsVersion'
664
- end
665
- end
666
-
667
- class Flag
668
- # @private
669
- class Representation < Google::Apis::Core::JsonRepresentation
670
- collection :allowed_string_values, as: 'allowedStringValues'
671
- collection :applies_to, as: 'appliesTo'
672
- property :in_beta, as: 'inBeta'
673
- property :kind, as: 'kind'
674
- property :max_value, :numeric_string => true, as: 'maxValue'
675
- property :min_value, :numeric_string => true, as: 'minValue'
676
- property :name, as: 'name'
677
- property :requires_restart, as: 'requiresRestart'
678
- property :type, as: 'type'
679
- end
680
- end
681
-
682
- class ListFlagsResponse
683
- # @private
684
- class Representation < Google::Apis::Core::JsonRepresentation
685
- collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::Flag, decorator: Google::Apis::SqladminV1beta4::Flag::Representation
686
-
687
- property :kind, as: 'kind'
688
- end
689
- end
690
-
691
- class ImportContext
692
- # @private
693
- class Representation < Google::Apis::Core::JsonRepresentation
694
- property :bak_import_options, as: 'bakImportOptions', class: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::Representation
695
-
696
- property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions::Representation
697
-
698
- property :database, as: 'database'
699
- property :file_type, as: 'fileType'
700
- property :import_user, as: 'importUser'
701
- property :kind, as: 'kind'
702
- property :uri, as: 'uri'
703
- end
704
-
705
- class BakImportOptions
706
- # @private
707
- class Representation < Google::Apis::Core::JsonRepresentation
708
- property :encryption_options, as: 'encryptionOptions', class: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions::Representation
709
-
710
- end
711
-
712
- class EncryptionOptions
713
- # @private
714
- class Representation < Google::Apis::Core::JsonRepresentation
715
- property :cert_path, as: 'certPath'
716
- property :pvk_password, as: 'pvkPassword'
717
- property :pvk_path, as: 'pvkPath'
718
- end
719
- end
720
- end
721
-
722
- class CsvImportOptions
723
- # @private
724
- class Representation < Google::Apis::Core::JsonRepresentation
725
- collection :columns, as: 'columns'
726
- property :table, as: 'table'
727
- end
728
- end
729
- end
730
-
731
- class CloneInstancesRequest
732
- # @private
733
- class Representation < Google::Apis::Core::JsonRepresentation
734
- property :clone_context, as: 'cloneContext', class: Google::Apis::SqladminV1beta4::CloneContext, decorator: Google::Apis::SqladminV1beta4::CloneContext::Representation
735
-
736
- end
737
- end
738
-
739
- class InstancesDemoteMasterRequest
740
- # @private
741
- class Representation < Google::Apis::Core::JsonRepresentation
742
- property :demote_master_context, as: 'demoteMasterContext', class: Google::Apis::SqladminV1beta4::DemoteMasterContext, decorator: Google::Apis::SqladminV1beta4::DemoteMasterContext::Representation
743
-
744
- end
745
- end
746
-
747
- class ExportInstancesRequest
748
- # @private
749
- class Representation < Google::Apis::Core::JsonRepresentation
750
- property :export_context, as: 'exportContext', class: Google::Apis::SqladminV1beta4::ExportContext, decorator: Google::Apis::SqladminV1beta4::ExportContext::Representation
751
-
752
- end
753
- end
754
-
755
- class InstancesFailoverRequest
756
- # @private
757
- class Representation < Google::Apis::Core::JsonRepresentation
758
- property :failover_context, as: 'failoverContext', class: Google::Apis::SqladminV1beta4::FailoverContext, decorator: Google::Apis::SqladminV1beta4::FailoverContext::Representation
759
-
760
- end
761
- end
762
-
763
- class ImportInstancesRequest
764
- # @private
765
- class Representation < Google::Apis::Core::JsonRepresentation
766
- property :import_context, as: 'importContext', class: Google::Apis::SqladminV1beta4::ImportContext, decorator: Google::Apis::SqladminV1beta4::ImportContext::Representation
767
-
768
- end
769
- end
770
-
771
- class ListInstancesResponse
772
- # @private
773
- class Representation < Google::Apis::Core::JsonRepresentation
774
- collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::DatabaseInstance, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
775
-
776
- property :kind, as: 'kind'
777
- property :next_page_token, as: 'nextPageToken'
778
- collection :warnings, as: 'warnings', class: Google::Apis::SqladminV1beta4::ApiWarning, decorator: Google::Apis::SqladminV1beta4::ApiWarning::Representation
779
-
780
- end
781
- end
782
-
783
- class InstancesListServerCasResponse
784
- # @private
785
- class Representation < Google::Apis::Core::JsonRepresentation
786
- property :active_version, as: 'activeVersion'
787
- collection :certs, as: 'certs', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
788
-
789
- property :kind, as: 'kind'
790
- end
791
- end
792
-
793
- class RestoreInstancesBackupRequest
794
- # @private
795
- class Representation < Google::Apis::Core::JsonRepresentation
796
- property :restore_backup_context, as: 'restoreBackupContext', class: Google::Apis::SqladminV1beta4::RestoreBackupContext, decorator: Google::Apis::SqladminV1beta4::RestoreBackupContext::Representation
797
-
798
- end
799
- end
800
-
801
- class InstancesRotateServerCaRequest
802
- # @private
803
- class Representation < Google::Apis::Core::JsonRepresentation
804
- property :rotate_server_ca_context, as: 'rotateServerCaContext', class: Google::Apis::SqladminV1beta4::RotateServerCaContext, decorator: Google::Apis::SqladminV1beta4::RotateServerCaContext::Representation
805
-
806
- end
807
- end
808
-
809
- class InstancesTruncateLogRequest
810
- # @private
811
- class Representation < Google::Apis::Core::JsonRepresentation
812
- property :truncate_log_context, as: 'truncateLogContext', class: Google::Apis::SqladminV1beta4::TruncateLogContext, decorator: Google::Apis::SqladminV1beta4::TruncateLogContext::Representation
813
-
814
- end
815
- end
816
-
817
- class IpConfiguration
818
- # @private
819
- class Representation < Google::Apis::Core::JsonRepresentation
820
- collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1beta4::AclEntry, decorator: Google::Apis::SqladminV1beta4::AclEntry::Representation
821
-
822
- property :ipv4_enabled, as: 'ipv4Enabled'
823
- property :private_network, as: 'privateNetwork'
824
- property :require_ssl, as: 'requireSsl'
825
- end
826
- end
827
-
828
- class IpMapping
829
- # @private
830
- class Representation < Google::Apis::Core::JsonRepresentation
831
- property :ip_address, as: 'ipAddress'
832
- property :time_to_retire, as: 'timeToRetire', type: DateTime
833
-
834
- property :type, as: 'type'
835
- end
836
- end
837
-
838
- class LocationPreference
839
- # @private
840
- class Representation < Google::Apis::Core::JsonRepresentation
841
- property :follow_gae_application, as: 'followGaeApplication'
842
- property :kind, as: 'kind'
843
- property :zone, as: 'zone'
844
- end
845
- end
846
-
847
- class MaintenanceWindow
848
- # @private
849
- class Representation < Google::Apis::Core::JsonRepresentation
850
- property :day, as: 'day'
851
- property :hour, as: 'hour'
852
- property :kind, as: 'kind'
853
- property :update_track, as: 'updateTrack'
854
- end
855
- end
856
-
857
- class MySqlReplicaConfiguration
858
- # @private
859
- class Representation < Google::Apis::Core::JsonRepresentation
860
- property :ca_certificate, as: 'caCertificate'
861
- property :client_certificate, as: 'clientCertificate'
862
- property :client_key, as: 'clientKey'
863
- property :connect_retry_interval, as: 'connectRetryInterval'
864
- property :dump_file_path, as: 'dumpFilePath'
865
- property :kind, as: 'kind'
866
- property :master_heartbeat_period, :numeric_string => true, as: 'masterHeartbeatPeriod'
867
- property :password, as: 'password'
868
- property :ssl_cipher, as: 'sslCipher'
869
- property :username, as: 'username'
870
- property :verify_server_certificate, as: 'verifyServerCertificate'
871
- end
872
- end
873
-
874
- class OnPremisesConfiguration
875
- # @private
876
- class Representation < Google::Apis::Core::JsonRepresentation
877
- property :host_port, as: 'hostPort'
878
- property :kind, as: 'kind'
879
- end
880
- end
881
-
882
- class Operation
883
- # @private
884
- class Representation < Google::Apis::Core::JsonRepresentation
885
- property :end_time, as: 'endTime', type: DateTime
886
-
887
- property :error, as: 'error', class: Google::Apis::SqladminV1beta4::OperationErrors, decorator: Google::Apis::SqladminV1beta4::OperationErrors::Representation
888
-
889
- property :export_context, as: 'exportContext', class: Google::Apis::SqladminV1beta4::ExportContext, decorator: Google::Apis::SqladminV1beta4::ExportContext::Representation
890
-
891
- property :import_context, as: 'importContext', class: Google::Apis::SqladminV1beta4::ImportContext, decorator: Google::Apis::SqladminV1beta4::ImportContext::Representation
892
-
893
- property :insert_time, as: 'insertTime', type: DateTime
894
-
895
- property :kind, as: 'kind'
896
- property :name, as: 'name'
897
- property :operation_type, as: 'operationType'
898
- property :self_link, as: 'selfLink'
899
- property :start_time, as: 'startTime', type: DateTime
900
-
901
- property :status, as: 'status'
902
- property :target_id, as: 'targetId'
903
- property :target_link, as: 'targetLink'
904
- property :target_project, as: 'targetProject'
905
- property :user, as: 'user'
906
- end
907
- end
908
-
909
- class OperationError
910
- # @private
911
- class Representation < Google::Apis::Core::JsonRepresentation
912
- property :code, as: 'code'
913
- property :kind, as: 'kind'
914
- property :message, as: 'message'
915
- end
916
- end
917
-
918
- class OperationErrors
919
- # @private
920
- class Representation < Google::Apis::Core::JsonRepresentation
921
- collection :errors, as: 'errors', class: Google::Apis::SqladminV1beta4::OperationError, decorator: Google::Apis::SqladminV1beta4::OperationError::Representation
922
-
923
- property :kind, as: 'kind'
924
- end
925
- end
926
-
927
- class ListOperationsResponse
928
- # @private
929
- class Representation < Google::Apis::Core::JsonRepresentation
930
- collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::Operation, decorator: Google::Apis::SqladminV1beta4::Operation::Representation
931
-
932
- property :kind, as: 'kind'
933
- property :next_page_token, as: 'nextPageToken'
934
- end
935
- end
936
-
937
- class ReplicaConfiguration
938
- # @private
939
- class Representation < Google::Apis::Core::JsonRepresentation
940
- property :failover_target, as: 'failoverTarget'
941
- property :kind, as: 'kind'
942
- property :mysql_replica_configuration, as: 'mysqlReplicaConfiguration', class: Google::Apis::SqladminV1beta4::MySqlReplicaConfiguration, decorator: Google::Apis::SqladminV1beta4::MySqlReplicaConfiguration::Representation
943
-
944
- end
945
- end
946
-
947
- class RestoreBackupContext
948
- # @private
949
- class Representation < Google::Apis::Core::JsonRepresentation
950
- property :backup_run_id, :numeric_string => true, as: 'backupRunId'
951
- property :instance_id, as: 'instanceId'
952
- property :kind, as: 'kind'
953
- property :project, as: 'project'
954
- end
955
- end
956
-
957
- class RotateServerCaContext
958
- # @private
959
- class Representation < Google::Apis::Core::JsonRepresentation
960
- property :kind, as: 'kind'
961
- property :next_version, as: 'nextVersion'
962
- end
963
- end
964
-
965
- class Settings
966
- # @private
967
- class Representation < Google::Apis::Core::JsonRepresentation
968
- property :activation_policy, as: 'activationPolicy'
969
- collection :authorized_gae_applications, as: 'authorizedGaeApplications'
970
- property :availability_type, as: 'availabilityType'
971
- property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation
972
-
973
- property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled'
974
- property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
975
- property :data_disk_type, as: 'dataDiskType'
976
- collection :database_flags, as: 'databaseFlags', class: Google::Apis::SqladminV1beta4::DatabaseFlags, decorator: Google::Apis::SqladminV1beta4::DatabaseFlags::Representation
977
-
978
- property :database_replication_enabled, as: 'databaseReplicationEnabled'
979
- property :ip_configuration, as: 'ipConfiguration', class: Google::Apis::SqladminV1beta4::IpConfiguration, decorator: Google::Apis::SqladminV1beta4::IpConfiguration::Representation
980
-
981
- property :kind, as: 'kind'
982
- property :location_preference, as: 'locationPreference', class: Google::Apis::SqladminV1beta4::LocationPreference, decorator: Google::Apis::SqladminV1beta4::LocationPreference::Representation
983
-
984
- property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::SqladminV1beta4::MaintenanceWindow, decorator: Google::Apis::SqladminV1beta4::MaintenanceWindow::Representation
985
-
986
- property :pricing_plan, as: 'pricingPlan'
987
- property :replication_type, as: 'replicationType'
988
- property :settings_version, :numeric_string => true, as: 'settingsVersion'
989
- property :storage_auto_resize, as: 'storageAutoResize'
990
- property :storage_auto_resize_limit, :numeric_string => true, as: 'storageAutoResizeLimit'
991
- property :tier, as: 'tier'
992
- hash :user_labels, as: 'userLabels'
993
- end
994
- end
995
-
996
- class SslCert
997
- # @private
998
- class Representation < Google::Apis::Core::JsonRepresentation
999
- property :cert, as: 'cert'
1000
- property :cert_serial_number, as: 'certSerialNumber'
1001
- property :common_name, as: 'commonName'
1002
- property :create_time, as: 'createTime', type: DateTime
1003
-
1004
- property :expiration_time, as: 'expirationTime', type: DateTime
1005
-
1006
- property :instance, as: 'instance'
1007
- property :kind, as: 'kind'
1008
- property :self_link, as: 'selfLink'
1009
- property :sha1_fingerprint, as: 'sha1Fingerprint'
1010
- end
1011
- end
1012
-
1013
- class SslCertDetail
1014
- # @private
1015
- class Representation < Google::Apis::Core::JsonRepresentation
1016
- property :cert_info, as: 'certInfo', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
1017
-
1018
- property :cert_private_key, as: 'certPrivateKey'
1019
- end
1020
- end
1021
-
1022
- class SslCertsCreateEphemeralRequest
1023
- # @private
1024
- class Representation < Google::Apis::Core::JsonRepresentation
1025
- property :public_key, as: 'public_key'
1026
- end
1027
- end
1028
-
1029
- class InsertSslCertsRequest
1030
- # @private
1031
- class Representation < Google::Apis::Core::JsonRepresentation
1032
- property :common_name, as: 'commonName'
1033
- end
1034
- end
1035
-
1036
- class InsertSslCertsResponse
1037
- # @private
1038
- class Representation < Google::Apis::Core::JsonRepresentation
1039
- property :client_cert, as: 'clientCert', class: Google::Apis::SqladminV1beta4::SslCertDetail, decorator: Google::Apis::SqladminV1beta4::SslCertDetail::Representation
1040
-
1041
- property :kind, as: 'kind'
1042
- property :operation, as: 'operation', class: Google::Apis::SqladminV1beta4::Operation, decorator: Google::Apis::SqladminV1beta4::Operation::Representation
1043
-
1044
- property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
1045
-
1046
- end
1047
- end
1048
-
1049
- class ListSslCertsResponse
1050
- # @private
1051
- class Representation < Google::Apis::Core::JsonRepresentation
1052
- collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
1053
-
1054
- property :kind, as: 'kind'
1055
- end
1056
- end
1057
-
1058
- class Tier
1059
- # @private
1060
- class Representation < Google::Apis::Core::JsonRepresentation
1061
- property :disk_quota, :numeric_string => true, as: 'DiskQuota'
1062
- property :ram, :numeric_string => true, as: 'RAM'
1063
- property :kind, as: 'kind'
1064
- collection :region, as: 'region'
1065
- property :tier, as: 'tier'
1066
- end
1067
- end
1068
-
1069
- class ListTiersResponse
1070
- # @private
1071
- class Representation < Google::Apis::Core::JsonRepresentation
1072
- collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::Tier, decorator: Google::Apis::SqladminV1beta4::Tier::Representation
1073
-
1074
- property :kind, as: 'kind'
1075
- end
1076
- end
1077
-
1078
- class TruncateLogContext
1079
- # @private
1080
- class Representation < Google::Apis::Core::JsonRepresentation
1081
- property :kind, as: 'kind'
1082
- property :log_type, as: 'logType'
1083
- end
1084
- end
1085
-
1086
- class User
1087
- # @private
1088
- class Representation < Google::Apis::Core::JsonRepresentation
1089
- property :etag, as: 'etag'
1090
- property :host, as: 'host'
1091
- property :instance, as: 'instance'
1092
- property :kind, as: 'kind'
1093
- property :name, as: 'name'
1094
- property :password, as: 'password'
1095
- property :project, as: 'project'
1096
- end
1097
- end
1098
-
1099
- class ListUsersResponse
1100
- # @private
1101
- class Representation < Google::Apis::Core::JsonRepresentation
1102
- collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::User, decorator: Google::Apis::SqladminV1beta4::User::Representation
1103
-
1104
- property :kind, as: 'kind'
1105
- property :next_page_token, as: 'nextPageToken'
1106
- end
1107
- end
1108
- end
1109
- end
1110
- end