lemboy-google-api-client 0.9.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +7 -0
  5. data/.rubocop_todo.yml +63 -0
  6. data/.travis.yml +27 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +309 -0
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +53 -0
  11. data/LICENSE +202 -0
  12. data/MIGRATING.md +171 -0
  13. data/README.md +327 -0
  14. data/Rakefile +2 -0
  15. data/api_names.yaml +36215 -0
  16. data/bin/generate-api +109 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
  21. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  22. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
  23. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
  24. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
  25. data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
  26. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +3550 -0
  27. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1421 -0
  28. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1538 -0
  29. data/generated/google/apis/adexchangeseller_v2_0.rb +37 -0
  30. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  31. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +347 -0
  32. data/generated/google/apis/adexchangeseller_v2_0/service.rb +667 -0
  33. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  34. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  35. data/generated/google/apis/admin_datatransfer_v1/representations.rb +130 -0
  36. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  37. data/generated/google/apis/admin_directory_v1.rb +113 -0
  38. data/generated/google/apis/admin_directory_v1/classes.rb +3241 -0
  39. data/generated/google/apis/admin_directory_v1/representations.rb +1172 -0
  40. data/generated/google/apis/admin_directory_v1/service.rb +3857 -0
  41. data/generated/google/apis/admin_reports_v1.rb +38 -0
  42. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  43. data/generated/google/apis/admin_reports_v1/representations.rb +257 -0
  44. data/generated/google/apis/admin_reports_v1/service.rb +336 -0
  45. data/generated/google/apis/adsense_v1_4.rb +37 -0
  46. data/generated/google/apis/adsense_v1_4/classes.rb +1280 -0
  47. data/generated/google/apis/adsense_v1_4/representations.rb +555 -0
  48. data/generated/google/apis/adsense_v1_4/service.rb +1713 -0
  49. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  50. data/generated/google/apis/adsensehost_v4_1/classes.rb +836 -0
  51. data/generated/google/apis/adsensehost_v4_1/representations.rb +367 -0
  52. data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
  53. data/generated/google/apis/analytics_v3.rb +49 -0
  54. data/generated/google/apis/analytics_v3/classes.rb +5536 -0
  55. data/generated/google/apis/analytics_v3/representations.rb +1992 -0
  56. data/generated/google/apis/analytics_v3/service.rb +3785 -0
  57. data/generated/google/apis/analyticsreporting_v4.rb +37 -0
  58. data/generated/google/apis/analyticsreporting_v4/classes.rb +1420 -0
  59. data/generated/google/apis/analyticsreporting_v4/representations.rb +598 -0
  60. data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
  61. data/generated/google/apis/androidenterprise_v1.rb +34 -0
  62. data/generated/google/apis/androidenterprise_v1/classes.rb +2250 -0
  63. data/generated/google/apis/androidenterprise_v1/representations.rb +970 -0
  64. data/generated/google/apis/androidenterprise_v1/service.rb +3267 -0
  65. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  66. data/generated/google/apis/androidpublisher_v2/classes.rb +1941 -0
  67. data/generated/google/apis/androidpublisher_v2/representations.rb +975 -0
  68. data/generated/google/apis/androidpublisher_v2/service.rb +2572 -0
  69. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  70. data/generated/google/apis/appengine_v1beta4/classes.rb +1585 -0
  71. data/generated/google/apis/appengine_v1beta4/representations.rb +542 -0
  72. data/generated/google/apis/appengine_v1beta4/service.rb +477 -0
  73. data/generated/google/apis/appengine_v1beta5.rb +40 -0
  74. data/generated/google/apis/appengine_v1beta5/classes.rb +1984 -0
  75. data/generated/google/apis/appengine_v1beta5/representations.rb +765 -0
  76. data/generated/google/apis/appengine_v1beta5/service.rb +864 -0
  77. data/generated/google/apis/appsactivity_v1.rb +46 -0
  78. data/generated/google/apis/appsactivity_v1/classes.rb +415 -0
  79. data/generated/google/apis/appsactivity_v1/representations.rb +209 -0
  80. data/generated/google/apis/appsactivity_v1/service.rb +128 -0
  81. data/generated/google/apis/appstate_v1.rb +34 -0
  82. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  83. data/generated/google/apis/appstate_v1/representations.rb +87 -0
  84. data/generated/google/apis/appstate_v1/service.rb +260 -0
  85. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  86. data/generated/google/apis/autoscaler_v1beta2/classes.rb +710 -0
  87. data/generated/google/apis/autoscaler_v1beta2/representations.rb +296 -0
  88. data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
  89. data/generated/google/apis/bigquery_v2.rb +52 -0
  90. data/generated/google/apis/bigquery_v2/classes.rb +3081 -0
  91. data/generated/google/apis/bigquery_v2/representations.rb +1094 -0
  92. data/generated/google/apis/bigquery_v2/service.rb +988 -0
  93. data/generated/google/apis/blogger_v3.rb +37 -0
  94. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  95. data/generated/google/apis/blogger_v3/representations.rb +632 -0
  96. data/generated/google/apis/blogger_v3/service.rb +1587 -0
  97. data/generated/google/apis/books_v1.rb +34 -0
  98. data/generated/google/apis/books_v1/classes.rb +4160 -0
  99. data/generated/google/apis/books_v1/representations.rb +1799 -0
  100. data/generated/google/apis/books_v1/service.rb +2300 -0
  101. data/generated/google/apis/calendar_v3.rb +37 -0
  102. data/generated/google/apis/calendar_v3/classes.rb +1742 -0
  103. data/generated/google/apis/calendar_v3/representations.rb +631 -0
  104. data/generated/google/apis/calendar_v3/service.rb +1968 -0
  105. data/generated/google/apis/civicinfo_v2.rb +32 -0
  106. data/generated/google/apis/civicinfo_v2/classes.rb +1499 -0
  107. data/generated/google/apis/civicinfo_v2/representations.rb +572 -0
  108. data/generated/google/apis/civicinfo_v2/service.rb +300 -0
  109. data/generated/google/apis/classroom_v1.rb +70 -0
  110. data/generated/google/apis/classroom_v1/classes.rb +1572 -0
  111. data/generated/google/apis/classroom_v1/representations.rb +729 -0
  112. data/generated/google/apis/classroom_v1/service.rb +1945 -0
  113. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  114. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  115. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  116. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  117. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  118. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  119. data/generated/google/apis/cloudbilling_v1/representations.rb +87 -0
  120. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  121. data/generated/google/apis/cloudbuild_v1.rb +34 -0
  122. data/generated/google/apis/cloudbuild_v1/classes.rb +919 -0
  123. data/generated/google/apis/cloudbuild_v1/representations.rb +364 -0
  124. data/generated/google/apis/cloudbuild_v1/service.rb +492 -0
  125. data/generated/google/apis/clouddebugger_v2.rb +38 -0
  126. data/generated/google/apis/clouddebugger_v2/classes.rb +1081 -0
  127. data/generated/google/apis/clouddebugger_v2/representations.rb +465 -0
  128. data/generated/google/apis/clouddebugger_v2/service.rb +396 -0
  129. data/generated/google/apis/cloudkms_v1beta1.rb +34 -0
  130. data/generated/google/apis/cloudkms_v1beta1/classes.rb +999 -0
  131. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  132. data/generated/google/apis/cloudkms_v1beta1/service.rb +932 -0
  133. data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
  134. data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
  135. data/generated/google/apis/cloudlatencytest_v2/representations.rb +127 -0
  136. data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
  137. data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
  138. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  139. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +353 -0
  140. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
  141. data/generated/google/apis/cloudresourcemanager_v1.rb +38 -0
  142. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +886 -0
  143. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +359 -0
  144. data/generated/google/apis/cloudresourcemanager_v1/service.rb +686 -0
  145. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  146. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +682 -0
  147. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +312 -0
  148. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +710 -0
  149. data/generated/google/apis/cloudtrace_v1.rb +43 -0
  150. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  151. data/generated/google/apis/cloudtrace_v1/representations.rb +102 -0
  152. data/generated/google/apis/cloudtrace_v1/service.rb +192 -0
  153. data/generated/google/apis/clouduseraccounts_beta.rb +44 -0
  154. data/generated/google/apis/clouduseraccounts_beta/classes.rb +845 -0
  155. data/generated/google/apis/clouduseraccounts_beta/representations.rb +352 -0
  156. data/generated/google/apis/clouduseraccounts_beta/service.rb +907 -0
  157. data/generated/google/apis/compute_beta.rb +49 -0
  158. data/generated/google/apis/compute_beta/classes.rb +12261 -0
  159. data/generated/google/apis/compute_beta/representations.rb +4615 -0
  160. data/generated/google/apis/compute_beta/service.rb +15330 -0
  161. data/generated/google/apis/compute_v1.rb +49 -0
  162. data/generated/google/apis/compute_v1/classes.rb +11179 -0
  163. data/generated/google/apis/compute_v1/representations.rb +4203 -0
  164. data/generated/google/apis/compute_v1/service.rb +12937 -0
  165. data/generated/google/apis/container_v1.rb +35 -0
  166. data/generated/google/apis/container_v1/classes.rb +1040 -0
  167. data/generated/google/apis/container_v1/representations.rb +415 -0
  168. data/generated/google/apis/container_v1/service.rb +659 -0
  169. data/generated/google/apis/container_v1beta1.rb +35 -0
  170. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  171. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  172. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  173. data/generated/google/apis/content_v2.rb +35 -0
  174. data/generated/google/apis/content_v2/classes.rb +6887 -0
  175. data/generated/google/apis/content_v2/representations.rb +2963 -0
  176. data/generated/google/apis/content_v2/service.rb +2653 -0
  177. data/generated/google/apis/coordinate_v1.rb +37 -0
  178. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  179. data/generated/google/apis/coordinate_v1/representations.rb +321 -0
  180. data/generated/google/apis/coordinate_v1/service.rb +678 -0
  181. data/generated/google/apis/customsearch_v1.rb +31 -0
  182. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  183. data/generated/google/apis/customsearch_v1/representations.rb +302 -0
  184. data/generated/google/apis/customsearch_v1/service.rb +207 -0
  185. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  186. data/generated/google/apis/dataflow_v1b3/classes.rb +4225 -0
  187. data/generated/google/apis/dataflow_v1b3/representations.rb +1809 -0
  188. data/generated/google/apis/dataflow_v1b3/service.rb +874 -0
  189. data/generated/google/apis/dataproc_v1.rb +34 -0
  190. data/generated/google/apis/dataproc_v1/classes.rb +1716 -0
  191. data/generated/google/apis/dataproc_v1/representations.rb +678 -0
  192. data/generated/google/apis/dataproc_v1/service.rb +670 -0
  193. data/generated/google/apis/datastore_v1.rb +38 -0
  194. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  195. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  196. data/generated/google/apis/datastore_v1/service.rb +259 -0
  197. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  198. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  199. data/generated/google/apis/datastore_v1beta2/representations.rb +594 -0
  200. data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
  201. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  202. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  203. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  204. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  205. data/generated/google/apis/deploymentmanager_v2.rb +43 -0
  206. data/generated/google/apis/deploymentmanager_v2/classes.rb +1582 -0
  207. data/generated/google/apis/deploymentmanager_v2/representations.rb +686 -0
  208. data/generated/google/apis/deploymentmanager_v2/service.rb +1026 -0
  209. data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
  210. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
  211. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
  212. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
  213. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  214. data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
  215. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  216. data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
  217. data/generated/google/apis/dfareporting_v2_3.rb +37 -0
  218. data/generated/google/apis/dfareporting_v2_3/classes.rb +10839 -0
  219. data/generated/google/apis/dfareporting_v2_3/representations.rb +3829 -0
  220. data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
  221. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  222. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  223. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  224. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  225. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  226. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  227. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  228. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  229. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  230. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  231. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  232. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  233. data/generated/google/apis/discovery_v1.rb +32 -0
  234. data/generated/google/apis/discovery_v1/classes.rb +961 -0
  235. data/generated/google/apis/discovery_v1/representations.rb +397 -0
  236. data/generated/google/apis/discovery_v1/service.rb +142 -0
  237. data/generated/google/apis/dns_v1.rb +43 -0
  238. data/generated/google/apis/dns_v1/classes.rb +406 -0
  239. data/generated/google/apis/dns_v1/representations.rb +167 -0
  240. data/generated/google/apis/dns_v1/service.rb +453 -0
  241. data/generated/google/apis/dns_v2beta1.rb +43 -0
  242. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  243. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  244. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  245. data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
  246. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +795 -0
  247. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +368 -0
  248. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +376 -0
  249. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  250. data/generated/google/apis/doubleclicksearch_v2/classes.rb +960 -0
  251. data/generated/google/apis/doubleclicksearch_v2/representations.rb +350 -0
  252. data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
  253. data/generated/google/apis/drive_v2.rb +59 -0
  254. data/generated/google/apis/drive_v2/classes.rb +2633 -0
  255. data/generated/google/apis/drive_v2/representations.rb +885 -0
  256. data/generated/google/apis/drive_v2/service.rb +2754 -0
  257. data/generated/google/apis/drive_v3.rb +56 -0
  258. data/generated/google/apis/drive_v3/classes.rb +1611 -0
  259. data/generated/google/apis/drive_v3/representations.rb +555 -0
  260. data/generated/google/apis/drive_v3/service.rb +1553 -0
  261. data/generated/google/apis/fitness_v1.rb +85 -0
  262. data/generated/google/apis/fitness_v1/classes.rb +943 -0
  263. data/generated/google/apis/fitness_v1/representations.rb +380 -0
  264. data/generated/google/apis/fitness_v1/service.rb +674 -0
  265. data/generated/google/apis/fusiontables_v2.rb +37 -0
  266. data/generated/google/apis/fusiontables_v2/classes.rb +1049 -0
  267. data/generated/google/apis/fusiontables_v2/representations.rb +457 -0
  268. data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  270. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  271. data/generated/google/apis/games_configuration_v1configuration/representations.rb +228 -0
  272. data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
  273. data/generated/google/apis/games_management_v1management.rb +37 -0
  274. data/generated/google/apis/games_management_v1management/classes.rb +567 -0
  275. data/generated/google/apis/games_management_v1management/representations.rb +278 -0
  276. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  277. data/generated/google/apis/games_v1.rb +40 -0
  278. data/generated/google/apis/games_v1/classes.rb +4667 -0
  279. data/generated/google/apis/games_v1/representations.rb +1800 -0
  280. data/generated/google/apis/games_v1/service.rb +2449 -0
  281. data/generated/google/apis/gan_v1beta1.rb +31 -0
  282. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  283. data/generated/google/apis/gan_v1beta1/representations.rb +462 -0
  284. data/generated/google/apis/gan_v1beta1/service.rb +682 -0
  285. data/generated/google/apis/genomics_v1.rb +46 -0
  286. data/generated/google/apis/genomics_v1/classes.rb +3477 -0
  287. data/generated/google/apis/genomics_v1/representations.rb +1284 -0
  288. data/generated/google/apis/genomics_v1/service.rb +2207 -0
  289. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  290. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  291. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  292. data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
  293. data/generated/google/apis/gmail_v1.rb +61 -0
  294. data/generated/google/apis/gmail_v1/classes.rb +1382 -0
  295. data/generated/google/apis/gmail_v1/representations.rb +624 -0
  296. data/generated/google/apis/gmail_v1/service.rb +2447 -0
  297. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  298. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  299. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  300. data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
  301. data/generated/google/apis/groupssettings_v1.rb +34 -0
  302. data/generated/google/apis/groupssettings_v1/classes.rb +240 -0
  303. data/generated/google/apis/groupssettings_v1/representations.rb +69 -0
  304. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  305. data/generated/google/apis/iam_v1.rb +36 -0
  306. data/generated/google/apis/iam_v1/classes.rb +640 -0
  307. data/generated/google/apis/iam_v1/representations.rb +316 -0
  308. data/generated/google/apis/iam_v1/service.rb +554 -0
  309. data/generated/google/apis/identitytoolkit_v3.rb +37 -0
  310. data/generated/google/apis/identitytoolkit_v3/classes.rb +2182 -0
  311. data/generated/google/apis/identitytoolkit_v3/representations.rb +742 -0
  312. data/generated/google/apis/identitytoolkit_v3/service.rb +657 -0
  313. data/generated/google/apis/kgsearch_v1.rb +31 -0
  314. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  315. data/generated/google/apis/kgsearch_v1/representations.rb +41 -0
  316. data/generated/google/apis/kgsearch_v1/service.rb +113 -0
  317. data/generated/google/apis/language_v1beta1.rb +36 -0
  318. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  319. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  320. data/generated/google/apis/language_v1beta1/service.rb +184 -0
  321. data/generated/google/apis/licensing_v1.rb +34 -0
  322. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  323. data/generated/google/apis/licensing_v1/representations.rb +74 -0
  324. data/generated/google/apis/licensing_v1/service.rb +369 -0
  325. data/generated/google/apis/logging_v1beta3.rb +47 -0
  326. data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
  327. data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
  328. data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
  329. data/generated/google/apis/logging_v2beta1.rb +46 -0
  330. data/generated/google/apis/logging_v2beta1/classes.rb +1254 -0
  331. data/generated/google/apis/logging_v2beta1/representations.rb +421 -0
  332. data/generated/google/apis/logging_v2beta1/service.rb +788 -0
  333. data/generated/google/apis/manager_v1beta2.rb +53 -0
  334. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  335. data/generated/google/apis/manager_v1beta2/representations.rb +606 -0
  336. data/generated/google/apis/manager_v1beta2/service.rb +372 -0
  337. data/generated/google/apis/manufacturers_v1.rb +34 -0
  338. data/generated/google/apis/manufacturers_v1/classes.rb +258 -0
  339. data/generated/google/apis/manufacturers_v1/representations.rb +103 -0
  340. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  341. data/generated/google/apis/mirror_v1.rb +37 -0
  342. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  343. data/generated/google/apis/mirror_v1/representations.rb +390 -0
  344. data/generated/google/apis/mirror_v1/service.rb +977 -0
  345. data/generated/google/apis/monitoring_v3.rb +45 -0
  346. data/generated/google/apis/monitoring_v3/classes.rb +1335 -0
  347. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  348. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  349. data/generated/google/apis/mybusiness_v3.rb +32 -0
  350. data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
  351. data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
  352. data/generated/google/apis/mybusiness_v3/service.rb +960 -0
  353. data/generated/google/apis/oauth2_v2.rb +43 -0
  354. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  355. data/generated/google/apis/oauth2_v2/representations.rb +102 -0
  356. data/generated/google/apis/oauth2_v2/service.rb +199 -0
  357. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  358. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  359. data/generated/google/apis/pagespeedonline_v2/representations.rb +272 -0
  360. data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
  361. data/generated/google/apis/partners_v2.rb +32 -0
  362. data/generated/google/apis/partners_v2/classes.rb +942 -0
  363. data/generated/google/apis/partners_v2/representations.rb +454 -0
  364. data/generated/google/apis/partners_v2/service.rb +400 -0
  365. data/generated/google/apis/people_v1.rb +59 -0
  366. data/generated/google/apis/people_v1/classes.rb +1521 -0
  367. data/generated/google/apis/people_v1/representations.rb +663 -0
  368. data/generated/google/apis/people_v1/service.rb +189 -0
  369. data/generated/google/apis/plus_domains_v1.rb +61 -0
  370. data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
  371. data/generated/google/apis/plus_domains_v1/representations.rb +1111 -0
  372. data/generated/google/apis/plus_domains_v1/service.rb +904 -0
  373. data/generated/google/apis/plus_v1.rb +43 -0
  374. data/generated/google/apis/plus_v1/classes.rb +2094 -0
  375. data/generated/google/apis/plus_v1/representations.rb +907 -0
  376. data/generated/google/apis/plus_v1/service.rb +470 -0
  377. data/generated/google/apis/prediction_v1_6.rb +47 -0
  378. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  379. data/generated/google/apis/prediction_v1_6/representations.rb +369 -0
  380. data/generated/google/apis/prediction_v1_6/service.rb +380 -0
  381. data/generated/google/apis/proximitybeacon_v1beta1.rb +34 -0
  382. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +786 -0
  383. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +347 -0
  384. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +806 -0
  385. data/generated/google/apis/pubsub_v1.rb +37 -0
  386. data/generated/google/apis/pubsub_v1/classes.rb +676 -0
  387. data/generated/google/apis/pubsub_v1/representations.rb +323 -0
  388. data/generated/google/apis/pubsub_v1/service.rb +900 -0
  389. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  390. data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
  391. data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
  392. data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
  393. data/generated/google/apis/qpx_express_v1.rb +31 -0
  394. data/generated/google/apis/qpx_express_v1/classes.rb +1274 -0
  395. data/generated/google/apis/qpx_express_v1/representations.rb +473 -0
  396. data/generated/google/apis/qpx_express_v1/service.rb +100 -0
  397. data/generated/google/apis/replicapool_v1beta2.rb +44 -0
  398. data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
  399. data/generated/google/apis/replicapool_v1beta2/representations.rb +264 -0
  400. data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
  401. data/generated/google/apis/replicapoolupdater_v1beta1.rb +45 -0
  402. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
  403. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +294 -0
  404. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +509 -0
  405. data/generated/google/apis/reseller_v1.rb +37 -0
  406. data/generated/google/apis/reseller_v1/classes.rb +540 -0
  407. data/generated/google/apis/reseller_v1/representations.rb +225 -0
  408. data/generated/google/apis/reseller_v1/service.rb +623 -0
  409. data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
  410. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  411. data/generated/google/apis/resourceviews_v1beta2/representations.rb +301 -0
  412. data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
  413. data/generated/google/apis/script_v1.rb +64 -0
  414. data/generated/google/apis/script_v1/classes.rb +265 -0
  415. data/generated/google/apis/script_v1/representations.rb +119 -0
  416. data/generated/google/apis/script_v1/service.rb +98 -0
  417. data/generated/google/apis/sheets_v4.rb +43 -0
  418. data/generated/google/apis/sheets_v4/classes.rb +6368 -0
  419. data/generated/google/apis/sheets_v4/representations.rb +2289 -0
  420. data/generated/google/apis/sheets_v4/service.rb +569 -0
  421. data/generated/google/apis/site_verification_v1.rb +37 -0
  422. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  423. data/generated/google/apis/site_verification_v1/representations.rb +113 -0
  424. data/generated/google/apis/site_verification_v1/service.rb +315 -0
  425. data/generated/google/apis/slides_v1.rb +49 -0
  426. data/generated/google/apis/slides_v1/classes.rb +4044 -0
  427. data/generated/google/apis/slides_v1/representations.rb +1765 -0
  428. data/generated/google/apis/slides_v1/service.rb +202 -0
  429. data/generated/google/apis/speech_v1beta1.rb +34 -0
  430. data/generated/google/apis/speech_v1beta1/classes.rb +513 -0
  431. data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
  432. data/generated/google/apis/speech_v1beta1/service.rb +273 -0
  433. data/generated/google/apis/sqladmin_v1beta4.rb +38 -0
  434. data/generated/google/apis/sqladmin_v1beta4/classes.rb +2142 -0
  435. data/generated/google/apis/sqladmin_v1beta4/representations.rb +893 -0
  436. data/generated/google/apis/sqladmin_v1beta4/service.rb +1709 -0
  437. data/generated/google/apis/storage_v1.rb +46 -0
  438. data/generated/google/apis/storage_v1/classes.rb +1255 -0
  439. data/generated/google/apis/storage_v1/representations.rb +502 -0
  440. data/generated/google/apis/storage_v1/service.rb +1906 -0
  441. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  442. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  443. data/generated/google/apis/storagetransfer_v1/representations.rb +418 -0
  444. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  445. data/generated/google/apis/tagmanager_v1.rb +52 -0
  446. data/generated/google/apis/tagmanager_v1/classes.rb +1494 -0
  447. data/generated/google/apis/tagmanager_v1/representations.rb +611 -0
  448. data/generated/google/apis/tagmanager_v1/service.rb +2119 -0
  449. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  450. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  451. data/generated/google/apis/taskqueue_v1beta2/representations.rb +126 -0
  452. data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
  453. data/generated/google/apis/tasks_v1.rb +37 -0
  454. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  455. data/generated/google/apis/tasks_v1/representations.rb +125 -0
  456. data/generated/google/apis/tasks_v1/service.rb +643 -0
  457. data/generated/google/apis/translate_v2.rb +31 -0
  458. data/generated/google/apis/translate_v2/classes.rb +168 -0
  459. data/generated/google/apis/translate_v2/representations.rb +121 -0
  460. data/generated/google/apis/translate_v2/service.rb +182 -0
  461. data/generated/google/apis/urlshortener_v1.rb +34 -0
  462. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  463. data/generated/google/apis/urlshortener_v1/representations.rb +121 -0
  464. data/generated/google/apis/urlshortener_v1/service.rb +176 -0
  465. data/generated/google/apis/vision_v1.rb +36 -0
  466. data/generated/google/apis/vision_v1/classes.rb +1267 -0
  467. data/generated/google/apis/vision_v1/representations.rb +418 -0
  468. data/generated/google/apis/vision_v1/service.rb +90 -0
  469. data/generated/google/apis/webmasters_v3.rb +37 -0
  470. data/generated/google/apis/webmasters_v3/classes.rb +570 -0
  471. data/generated/google/apis/webmasters_v3/representations.rb +283 -0
  472. data/generated/google/apis/webmasters_v3/service.rb +573 -0
  473. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  474. data/generated/google/apis/youtube_analytics_v1/classes.rb +337 -0
  475. data/generated/google/apis/youtube_analytics_v1/representations.rb +174 -0
  476. data/generated/google/apis/youtube_analytics_v1/service.rb +486 -0
  477. data/generated/google/apis/youtube_partner_v1.rb +37 -0
  478. data/generated/google/apis/youtube_partner_v1/classes.rb +3854 -0
  479. data/generated/google/apis/youtube_partner_v1/representations.rb +1537 -0
  480. data/generated/google/apis/youtube_partner_v1/service.rb +3269 -0
  481. data/generated/google/apis/youtube_v3.rb +50 -0
  482. data/generated/google/apis/youtube_v3/classes.rb +8375 -0
  483. data/generated/google/apis/youtube_v3/representations.rb +3273 -0
  484. data/generated/google/apis/youtube_v3/service.rb +4440 -0
  485. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  486. data/generated/google/apis/youtubereporting_v1/classes.rb +302 -0
  487. data/generated/google/apis/youtubereporting_v1/representations.rb +149 -0
  488. data/generated/google/apis/youtubereporting_v1/service.rb +385 -0
  489. data/google-api-client.gemspec +33 -0
  490. data/lib/cacerts.pem +2183 -0
  491. data/lib/google/api_client/auth/installed_app.rb +128 -0
  492. data/lib/google/api_client/auth/key_utils.rb +94 -0
  493. data/lib/google/api_client/auth/storage.rb +104 -0
  494. data/lib/google/api_client/auth/storages/file_store.rb +57 -0
  495. data/lib/google/api_client/auth/storages/redis_store.rb +59 -0
  496. data/lib/google/api_client/client_secrets.rb +177 -0
  497. data/lib/google/apis.rb +58 -0
  498. data/lib/google/apis/core/api_command.rb +146 -0
  499. data/lib/google/apis/core/base_service.rb +401 -0
  500. data/lib/google/apis/core/batch.rb +239 -0
  501. data/lib/google/apis/core/download.rb +108 -0
  502. data/lib/google/apis/core/hashable.rb +44 -0
  503. data/lib/google/apis/core/http_client_adapter.rb +82 -0
  504. data/lib/google/apis/core/http_command.rb +332 -0
  505. data/lib/google/apis/core/json_representation.rb +145 -0
  506. data/lib/google/apis/core/logging.rb +30 -0
  507. data/lib/google/apis/core/multipart.rb +187 -0
  508. data/lib/google/apis/core/upload.rb +295 -0
  509. data/lib/google/apis/errors.rb +80 -0
  510. data/lib/google/apis/generator.rb +70 -0
  511. data/lib/google/apis/generator/annotator.rb +301 -0
  512. data/lib/google/apis/generator/helpers.rb +74 -0
  513. data/lib/google/apis/generator/model.rb +143 -0
  514. data/lib/google/apis/generator/template.rb +124 -0
  515. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  516. data/lib/google/apis/generator/templates/_method.tmpl +92 -0
  517. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  518. data/lib/google/apis/generator/templates/_representation_stub.tmpl +17 -0
  519. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  520. data/lib/google/apis/generator/templates/classes.rb.tmpl +29 -0
  521. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  522. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  523. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  524. data/lib/google/apis/options.rb +85 -0
  525. data/lib/google/apis/version.rb +39 -0
  526. data/rakelib/metrics.rake +22 -0
  527. data/rakelib/rubocop.rake +10 -0
  528. data/rakelib/spec.rake +11 -0
  529. data/rakelib/yard.rake +11 -0
  530. data/samples/cli/.env +4 -0
  531. data/samples/cli/Gemfile +7 -0
  532. data/samples/cli/README.md +51 -0
  533. data/samples/cli/google-api-samples +32 -0
  534. data/samples/cli/lib/base_cli.rb +95 -0
  535. data/samples/cli/lib/samples/analytics.rb +62 -0
  536. data/samples/cli/lib/samples/androidpublisher.rb +47 -0
  537. data/samples/cli/lib/samples/bigquery.rb +101 -0
  538. data/samples/cli/lib/samples/calendar.rb +83 -0
  539. data/samples/cli/lib/samples/drive.rb +82 -0
  540. data/samples/cli/lib/samples/gmail.rb +124 -0
  541. data/samples/cli/lib/samples/pubsub.rb +114 -0
  542. data/samples/cli/lib/samples/sheets.rb +61 -0
  543. data/samples/cli/lib/samples/translate.rb +44 -0
  544. data/samples/cli/lib/samples/you_tube.rb +44 -0
  545. data/samples/web/.env +2 -0
  546. data/samples/web/Gemfile +7 -0
  547. data/samples/web/README.md +44 -0
  548. data/samples/web/app.rb +120 -0
  549. data/samples/web/views/calendar.erb +34 -0
  550. data/samples/web/views/drive.erb +33 -0
  551. data/samples/web/views/home.erb +34 -0
  552. data/samples/web/views/layout.erb +40 -0
  553. data/sync.rb +71 -0
  554. data/third_party/hurley_patches.rb +103 -0
  555. metadata +735 -0
@@ -0,0 +1,35 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/container_v1/service.rb'
16
+ require 'google/apis/container_v1/classes.rb'
17
+ require 'google/apis/container_v1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Google Container Engine API
22
+ #
23
+ # Builds and manages clusters that run container-based applications, powered by
24
+ # open source Kubernetes technology.
25
+ #
26
+ # @see https://cloud.google.com/container-engine/
27
+ module ContainerV1
28
+ VERSION = 'V1'
29
+ REVISION = '20161024'
30
+
31
+ # View and manage your data across Google Cloud Platform services
32
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,1040 @@
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 ContainerV1
24
+
25
+ # ListClustersResponse is the result of ListClustersRequest.
26
+ class ListClustersResponse
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # A list of clusters in the project in the specified zone, or across all ones.
30
+ # Corresponds to the JSON property `clusters`
31
+ # @return [Array<Google::Apis::ContainerV1::Cluster>]
32
+ attr_accessor :clusters
33
+
34
+ # If any zones are listed here, the list of clusters returned may be missing
35
+ # those zones.
36
+ # Corresponds to the JSON property `missingZones`
37
+ # @return [Array<String>]
38
+ attr_accessor :missing_zones
39
+
40
+ def initialize(**args)
41
+ update!(**args)
42
+ end
43
+
44
+ # Update properties of this object
45
+ def update!(**args)
46
+ @clusters = args[:clusters] if args.key?(:clusters)
47
+ @missing_zones = args[:missing_zones] if args.key?(:missing_zones)
48
+ end
49
+ end
50
+
51
+ # A Google Container Engine cluster.
52
+ class Cluster
53
+ include Google::Apis::Core::Hashable
54
+
55
+ # The name of this cluster. The name must be unique within this project and zone,
56
+ # and can be up to 40 characters with the following restrictions: * Lowercase
57
+ # letters, numbers, and hyphens only. * Must start with a letter. * Must end
58
+ # with a number or a letter.
59
+ # Corresponds to the JSON property `name`
60
+ # @return [String]
61
+ attr_accessor :name
62
+
63
+ # An optional description of this cluster.
64
+ # Corresponds to the JSON property `description`
65
+ # @return [String]
66
+ attr_accessor :description
67
+
68
+ # The number of nodes to create in this cluster. You must ensure that your
69
+ # Compute Engine resource quota is sufficient for this number of instances. You
70
+ # must also have available firewall and routes quota. For requests, this field
71
+ # should only be used in lieu of a "node_pool" object, since this configuration (
72
+ # along with the "node_config") will be used to create a "NodePool" object with
73
+ # an auto-generated name. Do not use this and a node_pool at the same time.
74
+ # Corresponds to the JSON property `initialNodeCount`
75
+ # @return [Fixnum]
76
+ attr_accessor :initial_node_count
77
+
78
+ # Parameters that describe the nodes in a cluster.
79
+ # Corresponds to the JSON property `nodeConfig`
80
+ # @return [Google::Apis::ContainerV1::NodeConfig]
81
+ attr_accessor :node_config
82
+
83
+ # The authentication information for accessing the master endpoint.
84
+ # Authentication can be done using HTTP basic auth or using client certificates.
85
+ # Corresponds to the JSON property `masterAuth`
86
+ # @return [Google::Apis::ContainerV1::MasterAuth]
87
+ attr_accessor :master_auth
88
+
89
+ # The logging service the cluster should use to write logs. Currently available
90
+ # options: * `logging.googleapis.com` - the Google Cloud Logging service. * `
91
+ # none` - no logs will be exported from the cluster. * if left as an empty
92
+ # string,`logging.googleapis.com` will be used.
93
+ # Corresponds to the JSON property `loggingService`
94
+ # @return [String]
95
+ attr_accessor :logging_service
96
+
97
+ # The monitoring service the cluster should use to write metrics. Currently
98
+ # available options: * `monitoring.googleapis.com` - the Google Cloud Monitoring
99
+ # service. * `none` - no metrics will be exported from the cluster. * if left as
100
+ # an empty string, `monitoring.googleapis.com` will be used.
101
+ # Corresponds to the JSON property `monitoringService`
102
+ # @return [String]
103
+ attr_accessor :monitoring_service
104
+
105
+ # The name of the Google Compute Engine [network](/compute/docs/networks-and-
106
+ # firewalls#networks) to which the cluster is connected. If left unspecified,
107
+ # the `default` network will be used.
108
+ # Corresponds to the JSON property `network`
109
+ # @return [String]
110
+ attr_accessor :network
111
+
112
+ # The IP address range of the container pods in this cluster, in [CIDR](http://
113
+ # en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
114
+ # 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
115
+ # in `10.0.0.0/8`.
116
+ # Corresponds to the JSON property `clusterIpv4Cidr`
117
+ # @return [String]
118
+ attr_accessor :cluster_ipv4_cidr
119
+
120
+ # Configuration for the addons that can be automatically spun up in the cluster,
121
+ # enabling additional functionality.
122
+ # Corresponds to the JSON property `addonsConfig`
123
+ # @return [Google::Apis::ContainerV1::AddonsConfig]
124
+ attr_accessor :addons_config
125
+
126
+ # The name of the Google Compute Engine [subnetwork](/compute/docs/subnetworks)
127
+ # to which the cluster is connected.
128
+ # Corresponds to the JSON property `subnetwork`
129
+ # @return [String]
130
+ attr_accessor :subnetwork
131
+
132
+ # The node pools associated with this cluster. This field should not be set if "
133
+ # node_config" or "initial_node_count" are specified.
134
+ # Corresponds to the JSON property `nodePools`
135
+ # @return [Array<Google::Apis::ContainerV1::NodePool>]
136
+ attr_accessor :node_pools
137
+
138
+ # The list of Google Compute Engine [locations](/compute/docs/zones#available)
139
+ # in which the cluster's nodes should be located.
140
+ # Corresponds to the JSON property `locations`
141
+ # @return [Array<String>]
142
+ attr_accessor :locations
143
+
144
+ # Kubernetes alpha features are enabled on this cluster. This includes alpha API
145
+ # groups (e.g. v1alpha1) and features that may not be production ready in the
146
+ # kubernetes version of the master and nodes. The cluster has no SLA for uptime
147
+ # and master/node upgrades are disabled. Alpha enabled clusters are
148
+ # automatically deleted thirty days after creation.
149
+ # Corresponds to the JSON property `enableKubernetesAlpha`
150
+ # @return [Boolean]
151
+ attr_accessor :enable_kubernetes_alpha
152
+ alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
153
+
154
+ # [Output only] Server-defined URL for the resource.
155
+ # Corresponds to the JSON property `selfLink`
156
+ # @return [String]
157
+ attr_accessor :self_link
158
+
159
+ # [Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#
160
+ # available) in which the cluster resides.
161
+ # Corresponds to the JSON property `zone`
162
+ # @return [String]
163
+ attr_accessor :zone
164
+
165
+ # [Output only] The IP address of this cluster's master endpoint. The endpoint
166
+ # can be accessed from the internet at `https://username:password@endpoint/`.
167
+ # See the `masterAuth` property of this resource for username and password
168
+ # information.
169
+ # Corresponds to the JSON property `endpoint`
170
+ # @return [String]
171
+ attr_accessor :endpoint
172
+
173
+ # [Output only] The software version of the master endpoint and kubelets used in
174
+ # the cluster when it was first created. The version can be upgraded over time.
175
+ # Corresponds to the JSON property `initialClusterVersion`
176
+ # @return [String]
177
+ attr_accessor :initial_cluster_version
178
+
179
+ # [Output only] The current software version of the master endpoint.
180
+ # Corresponds to the JSON property `currentMasterVersion`
181
+ # @return [String]
182
+ attr_accessor :current_master_version
183
+
184
+ # [Output only] The current version of the node software components. If they are
185
+ # currently at multiple versions because they're in the process of being
186
+ # upgraded, this reflects the minimum version of all nodes.
187
+ # Corresponds to the JSON property `currentNodeVersion`
188
+ # @return [String]
189
+ attr_accessor :current_node_version
190
+
191
+ # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
192
+ # org/rfc/rfc3339.txt) text format.
193
+ # Corresponds to the JSON property `createTime`
194
+ # @return [String]
195
+ attr_accessor :create_time
196
+
197
+ # [Output only] The current status of this cluster.
198
+ # Corresponds to the JSON property `status`
199
+ # @return [String]
200
+ attr_accessor :status
201
+
202
+ # [Output only] Additional information about the current status of this cluster,
203
+ # if available.
204
+ # Corresponds to the JSON property `statusMessage`
205
+ # @return [String]
206
+ attr_accessor :status_message
207
+
208
+ # [Output only] The size of the address space on each node for hosting
209
+ # containers. This is provisioned from within the `container_ipv4_cidr` range.
210
+ # Corresponds to the JSON property `nodeIpv4CidrSize`
211
+ # @return [Fixnum]
212
+ attr_accessor :node_ipv4_cidr_size
213
+
214
+ # [Output only] The IP address range of the Kubernetes services in this cluster,
215
+ # in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
216
+ # notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
217
+ # /16` from the container CIDR.
218
+ # Corresponds to the JSON property `servicesIpv4Cidr`
219
+ # @return [String]
220
+ attr_accessor :services_ipv4_cidr
221
+
222
+ # [Output only] The resource URLs of [instance groups](/compute/docs/instance-
223
+ # groups/) associated with this cluster.
224
+ # Corresponds to the JSON property `instanceGroupUrls`
225
+ # @return [Array<String>]
226
+ attr_accessor :instance_group_urls
227
+
228
+ # [Output only] The number of nodes currently in the cluster.
229
+ # Corresponds to the JSON property `currentNodeCount`
230
+ # @return [Fixnum]
231
+ attr_accessor :current_node_count
232
+
233
+ # [Output only] The time the cluster will be automatically deleted in [RFC3339](
234
+ # https://www.ietf.org/rfc/rfc3339.txt) text format.
235
+ # Corresponds to the JSON property `expireTime`
236
+ # @return [String]
237
+ attr_accessor :expire_time
238
+
239
+ def initialize(**args)
240
+ update!(**args)
241
+ end
242
+
243
+ # Update properties of this object
244
+ def update!(**args)
245
+ @name = args[:name] if args.key?(:name)
246
+ @description = args[:description] if args.key?(:description)
247
+ @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
248
+ @node_config = args[:node_config] if args.key?(:node_config)
249
+ @master_auth = args[:master_auth] if args.key?(:master_auth)
250
+ @logging_service = args[:logging_service] if args.key?(:logging_service)
251
+ @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
252
+ @network = args[:network] if args.key?(:network)
253
+ @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
254
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
255
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
256
+ @node_pools = args[:node_pools] if args.key?(:node_pools)
257
+ @locations = args[:locations] if args.key?(:locations)
258
+ @enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
259
+ @self_link = args[:self_link] if args.key?(:self_link)
260
+ @zone = args[:zone] if args.key?(:zone)
261
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
262
+ @initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
263
+ @current_master_version = args[:current_master_version] if args.key?(:current_master_version)
264
+ @current_node_version = args[:current_node_version] if args.key?(:current_node_version)
265
+ @create_time = args[:create_time] if args.key?(:create_time)
266
+ @status = args[:status] if args.key?(:status)
267
+ @status_message = args[:status_message] if args.key?(:status_message)
268
+ @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
269
+ @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
270
+ @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
271
+ @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
272
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
273
+ end
274
+ end
275
+
276
+ # Parameters that describe the nodes in a cluster.
277
+ class NodeConfig
278
+ include Google::Apis::Core::Hashable
279
+
280
+ # The name of a Google Compute Engine [machine type](/compute/docs/machine-types)
281
+ # (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-
282
+ # standard-1`.
283
+ # Corresponds to the JSON property `machineType`
284
+ # @return [String]
285
+ attr_accessor :machine_type
286
+
287
+ # Size of the disk attached to each node, specified in GB. The smallest allowed
288
+ # disk size is 10GB. If unspecified, the default disk size is 100GB.
289
+ # Corresponds to the JSON property `diskSizeGb`
290
+ # @return [Fixnum]
291
+ attr_accessor :disk_size_gb
292
+
293
+ # The set of Google API scopes to be made available on all of the node VMs under
294
+ # the "default" service account. The following scopes are recommended, but not
295
+ # required, and by default are not included: * `https://www.googleapis.com/auth/
296
+ # compute` is required for mounting persistent storage on your nodes. * `https://
297
+ # www.googleapis.com/auth/devstorage.read_only` is required for communicating
298
+ # with **gcr.io** (the [Google Container Registry](/container-registry/)). If
299
+ # unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are
300
+ # enabled, in which case their required scopes will be added.
301
+ # Corresponds to the JSON property `oauthScopes`
302
+ # @return [Array<String>]
303
+ attr_accessor :oauth_scopes
304
+
305
+ # The Google Cloud Platform Service Account to be used by the node VMs. If no
306
+ # Service Account is specified, the "default" service account is used.
307
+ # Corresponds to the JSON property `serviceAccount`
308
+ # @return [String]
309
+ attr_accessor :service_account
310
+
311
+ # The metadata key/value pairs assigned to instances in the cluster. Keys must
312
+ # conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length.
313
+ # These are reflected as part of a URL in the metadata server. Additionally, to
314
+ # avoid ambiguity, keys must not conflict with any other metadata keys for the
315
+ # project or be one of the four reserved keys: "instance-template", "kube-env", "
316
+ # startup-script", and "user-data" Values are free-form strings, and only have
317
+ # meaning as interpreted by the image running in the instance. The only
318
+ # restriction placed on them is that each value's size must be less than or
319
+ # equal to 32 KB. The total size of all keys and values must be less than 512 KB.
320
+ # Corresponds to the JSON property `metadata`
321
+ # @return [Hash<String,String>]
322
+ attr_accessor :metadata
323
+
324
+ # The image type to use for this node. Note that for a given image type, the
325
+ # latest version of it will be used.
326
+ # Corresponds to the JSON property `imageType`
327
+ # @return [String]
328
+ attr_accessor :image_type
329
+
330
+ # The map of Kubernetes labels (key/value pairs) to be applied to each node.
331
+ # These will added in addition to any default label(s) that Kubernetes may apply
332
+ # to the node. In case of conflict in label keys, the applied set may differ
333
+ # depending on the Kubernetes version -- it's best to assume the behavior is
334
+ # undefined and conflicts should be avoided. For more information, including
335
+ # usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/
336
+ # labels.html
337
+ # Corresponds to the JSON property `labels`
338
+ # @return [Hash<String,String>]
339
+ attr_accessor :labels
340
+
341
+ # The number of local SSD disks to be attached to the node. The limit for this
342
+ # value is dependant upon the maximum number of disks available on a machine per
343
+ # zone. See: https://cloud.google.com/compute/docs/disks/local-ssd#
344
+ # local_ssd_limits for more information.
345
+ # Corresponds to the JSON property `localSsdCount`
346
+ # @return [Fixnum]
347
+ attr_accessor :local_ssd_count
348
+
349
+ # The list of instance tags applied to all nodes. Tags are used to identify
350
+ # valid sources or targets for network firewalls and are specified by the client
351
+ # during cluster or node pool creation. Each tag within the list must comply
352
+ # with RFC1035.
353
+ # Corresponds to the JSON property `tags`
354
+ # @return [Array<String>]
355
+ attr_accessor :tags
356
+
357
+ # Whether the nodes are created as preemptible VM instances. See: https://cloud.
358
+ # google.com/compute/docs/instances/preemptible for more inforamtion about
359
+ # preemptible VM instances.
360
+ # Corresponds to the JSON property `preemptible`
361
+ # @return [Boolean]
362
+ attr_accessor :preemptible
363
+ alias_method :preemptible?, :preemptible
364
+
365
+ def initialize(**args)
366
+ update!(**args)
367
+ end
368
+
369
+ # Update properties of this object
370
+ def update!(**args)
371
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
372
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
373
+ @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
374
+ @service_account = args[:service_account] if args.key?(:service_account)
375
+ @metadata = args[:metadata] if args.key?(:metadata)
376
+ @image_type = args[:image_type] if args.key?(:image_type)
377
+ @labels = args[:labels] if args.key?(:labels)
378
+ @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
379
+ @tags = args[:tags] if args.key?(:tags)
380
+ @preemptible = args[:preemptible] if args.key?(:preemptible)
381
+ end
382
+ end
383
+
384
+ # The authentication information for accessing the master endpoint.
385
+ # Authentication can be done using HTTP basic auth or using client certificates.
386
+ class MasterAuth
387
+ include Google::Apis::Core::Hashable
388
+
389
+ # The username to use for HTTP basic authentication to the master endpoint.
390
+ # Corresponds to the JSON property `username`
391
+ # @return [String]
392
+ attr_accessor :username
393
+
394
+ # The password to use for HTTP basic authentication to the master endpoint.
395
+ # Because the master endpoint is open to the Internet, you should create a
396
+ # strong password.
397
+ # Corresponds to the JSON property `password`
398
+ # @return [String]
399
+ attr_accessor :password
400
+
401
+ # [Output only] Base64-encoded public certificate that is the root of trust for
402
+ # the cluster.
403
+ # Corresponds to the JSON property `clusterCaCertificate`
404
+ # @return [String]
405
+ attr_accessor :cluster_ca_certificate
406
+
407
+ # [Output only] Base64-encoded public certificate used by clients to
408
+ # authenticate to the cluster endpoint.
409
+ # Corresponds to the JSON property `clientCertificate`
410
+ # @return [String]
411
+ attr_accessor :client_certificate
412
+
413
+ # [Output only] Base64-encoded private key used by clients to authenticate to
414
+ # the cluster endpoint.
415
+ # Corresponds to the JSON property `clientKey`
416
+ # @return [String]
417
+ attr_accessor :client_key
418
+
419
+ def initialize(**args)
420
+ update!(**args)
421
+ end
422
+
423
+ # Update properties of this object
424
+ def update!(**args)
425
+ @username = args[:username] if args.key?(:username)
426
+ @password = args[:password] if args.key?(:password)
427
+ @cluster_ca_certificate = args[:cluster_ca_certificate] if args.key?(:cluster_ca_certificate)
428
+ @client_certificate = args[:client_certificate] if args.key?(:client_certificate)
429
+ @client_key = args[:client_key] if args.key?(:client_key)
430
+ end
431
+ end
432
+
433
+ # Configuration for the addons that can be automatically spun up in the cluster,
434
+ # enabling additional functionality.
435
+ class AddonsConfig
436
+ include Google::Apis::Core::Hashable
437
+
438
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
439
+ # makes it easy to set up HTTP load balancers for services in a cluster.
440
+ # Corresponds to the JSON property `httpLoadBalancing`
441
+ # @return [Google::Apis::ContainerV1::HttpLoadBalancing]
442
+ attr_accessor :http_load_balancing
443
+
444
+ # Configuration options for the horizontal pod autoscaling feature, which
445
+ # increases or decreases the number of replica pods a replication controller has
446
+ # based on the resource usage of the existing pods.
447
+ # Corresponds to the JSON property `horizontalPodAutoscaling`
448
+ # @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling]
449
+ attr_accessor :horizontal_pod_autoscaling
450
+
451
+ def initialize(**args)
452
+ update!(**args)
453
+ end
454
+
455
+ # Update properties of this object
456
+ def update!(**args)
457
+ @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
458
+ @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
459
+ end
460
+ end
461
+
462
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
463
+ # makes it easy to set up HTTP load balancers for services in a cluster.
464
+ class HttpLoadBalancing
465
+ include Google::Apis::Core::Hashable
466
+
467
+ # Whether the HTTP Load Balancing controller is enabled in the cluster. When
468
+ # enabled, it runs a small pod in the cluster that manages the load balancers.
469
+ # Corresponds to the JSON property `disabled`
470
+ # @return [Boolean]
471
+ attr_accessor :disabled
472
+ alias_method :disabled?, :disabled
473
+
474
+ def initialize(**args)
475
+ update!(**args)
476
+ end
477
+
478
+ # Update properties of this object
479
+ def update!(**args)
480
+ @disabled = args[:disabled] if args.key?(:disabled)
481
+ end
482
+ end
483
+
484
+ # Configuration options for the horizontal pod autoscaling feature, which
485
+ # increases or decreases the number of replica pods a replication controller has
486
+ # based on the resource usage of the existing pods.
487
+ class HorizontalPodAutoscaling
488
+ include Google::Apis::Core::Hashable
489
+
490
+ # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
491
+ # enabled, it ensures that a Heapster pod is running in the cluster, which is
492
+ # also used by the Cloud Monitoring service.
493
+ # Corresponds to the JSON property `disabled`
494
+ # @return [Boolean]
495
+ attr_accessor :disabled
496
+ alias_method :disabled?, :disabled
497
+
498
+ def initialize(**args)
499
+ update!(**args)
500
+ end
501
+
502
+ # Update properties of this object
503
+ def update!(**args)
504
+ @disabled = args[:disabled] if args.key?(:disabled)
505
+ end
506
+ end
507
+
508
+ # NodePool contains the name and configuration for a cluster's node pool. Node
509
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
510
+ # specification, under the control of the cluster master. They may have a set of
511
+ # Kubernetes labels applied to them, which may be used to reference them during
512
+ # pod scheduling. They may also be resized up or down, to accommodate the
513
+ # workload.
514
+ class NodePool
515
+ include Google::Apis::Core::Hashable
516
+
517
+ # The name of the node pool.
518
+ # Corresponds to the JSON property `name`
519
+ # @return [String]
520
+ attr_accessor :name
521
+
522
+ # Parameters that describe the nodes in a cluster.
523
+ # Corresponds to the JSON property `config`
524
+ # @return [Google::Apis::ContainerV1::NodeConfig]
525
+ attr_accessor :config
526
+
527
+ # The initial node count for the pool. You must ensure that your Compute Engine
528
+ # resource quota is sufficient for this number of instances. You must also have
529
+ # available firewall and routes quota.
530
+ # Corresponds to the JSON property `initialNodeCount`
531
+ # @return [Fixnum]
532
+ attr_accessor :initial_node_count
533
+
534
+ # [Output only] Server-defined URL for the resource.
535
+ # Corresponds to the JSON property `selfLink`
536
+ # @return [String]
537
+ attr_accessor :self_link
538
+
539
+ # [Output only] The version of the Kubernetes of this node.
540
+ # Corresponds to the JSON property `version`
541
+ # @return [String]
542
+ attr_accessor :version
543
+
544
+ # [Output only] The resource URLs of [instance groups](/compute/docs/instance-
545
+ # groups/) associated with this node pool.
546
+ # Corresponds to the JSON property `instanceGroupUrls`
547
+ # @return [Array<String>]
548
+ attr_accessor :instance_group_urls
549
+
550
+ # [Output only] The status of the nodes in this pool instance.
551
+ # Corresponds to the JSON property `status`
552
+ # @return [String]
553
+ attr_accessor :status
554
+
555
+ # [Output only] Additional information about the current status of this node
556
+ # pool instance, if available.
557
+ # Corresponds to the JSON property `statusMessage`
558
+ # @return [String]
559
+ attr_accessor :status_message
560
+
561
+ # NodePoolAutoscaling contains information required by cluster autoscaler to
562
+ # adjust the size of the node pool to the current cluster usage.
563
+ # Corresponds to the JSON property `autoscaling`
564
+ # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
565
+ attr_accessor :autoscaling
566
+
567
+ # NodeManagement defines the set of node management services turned on for the
568
+ # node pool.
569
+ # Corresponds to the JSON property `management`
570
+ # @return [Google::Apis::ContainerV1::NodeManagement]
571
+ attr_accessor :management
572
+
573
+ def initialize(**args)
574
+ update!(**args)
575
+ end
576
+
577
+ # Update properties of this object
578
+ def update!(**args)
579
+ @name = args[:name] if args.key?(:name)
580
+ @config = args[:config] if args.key?(:config)
581
+ @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
582
+ @self_link = args[:self_link] if args.key?(:self_link)
583
+ @version = args[:version] if args.key?(:version)
584
+ @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
585
+ @status = args[:status] if args.key?(:status)
586
+ @status_message = args[:status_message] if args.key?(:status_message)
587
+ @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
588
+ @management = args[:management] if args.key?(:management)
589
+ end
590
+ end
591
+
592
+ # NodePoolAutoscaling contains information required by cluster autoscaler to
593
+ # adjust the size of the node pool to the current cluster usage.
594
+ class NodePoolAutoscaling
595
+ include Google::Apis::Core::Hashable
596
+
597
+ # Is autoscaling enabled for this node pool.
598
+ # Corresponds to the JSON property `enabled`
599
+ # @return [Boolean]
600
+ attr_accessor :enabled
601
+ alias_method :enabled?, :enabled
602
+
603
+ # Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
604
+ # Corresponds to the JSON property `minNodeCount`
605
+ # @return [Fixnum]
606
+ attr_accessor :min_node_count
607
+
608
+ # Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
609
+ # to enough quota to scale up the cluster.
610
+ # Corresponds to the JSON property `maxNodeCount`
611
+ # @return [Fixnum]
612
+ attr_accessor :max_node_count
613
+
614
+ def initialize(**args)
615
+ update!(**args)
616
+ end
617
+
618
+ # Update properties of this object
619
+ def update!(**args)
620
+ @enabled = args[:enabled] if args.key?(:enabled)
621
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
622
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
623
+ end
624
+ end
625
+
626
+ # NodeManagement defines the set of node management services turned on for the
627
+ # node pool.
628
+ class NodeManagement
629
+ include Google::Apis::Core::Hashable
630
+
631
+ # Whether the nodes will be automatically upgraded.
632
+ # Corresponds to the JSON property `autoUpgrade`
633
+ # @return [Boolean]
634
+ attr_accessor :auto_upgrade
635
+ alias_method :auto_upgrade?, :auto_upgrade
636
+
637
+ # AutoUpgradeOptions defines the set of options for the user to control how the
638
+ # Auto Upgrades will proceed.
639
+ # Corresponds to the JSON property `upgradeOptions`
640
+ # @return [Google::Apis::ContainerV1::AutoUpgradeOptions]
641
+ attr_accessor :upgrade_options
642
+
643
+ def initialize(**args)
644
+ update!(**args)
645
+ end
646
+
647
+ # Update properties of this object
648
+ def update!(**args)
649
+ @auto_upgrade = args[:auto_upgrade] if args.key?(:auto_upgrade)
650
+ @upgrade_options = args[:upgrade_options] if args.key?(:upgrade_options)
651
+ end
652
+ end
653
+
654
+ # AutoUpgradeOptions defines the set of options for the user to control how the
655
+ # Auto Upgrades will proceed.
656
+ class AutoUpgradeOptions
657
+ include Google::Apis::Core::Hashable
658
+
659
+ # [Output only] This field is set when upgrades are about to commence with the
660
+ # approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/
661
+ # rfc3339.txt) text format.
662
+ # Corresponds to the JSON property `autoUpgradeStartTime`
663
+ # @return [String]
664
+ attr_accessor :auto_upgrade_start_time
665
+
666
+ # [Output only] This field is set when upgrades are about to commence with the
667
+ # description of the upgrade.
668
+ # Corresponds to the JSON property `description`
669
+ # @return [String]
670
+ attr_accessor :description
671
+
672
+ def initialize(**args)
673
+ update!(**args)
674
+ end
675
+
676
+ # Update properties of this object
677
+ def update!(**args)
678
+ @auto_upgrade_start_time = args[:auto_upgrade_start_time] if args.key?(:auto_upgrade_start_time)
679
+ @description = args[:description] if args.key?(:description)
680
+ end
681
+ end
682
+
683
+ # CreateClusterRequest creates a cluster.
684
+ class CreateClusterRequest
685
+ include Google::Apis::Core::Hashable
686
+
687
+ # A Google Container Engine cluster.
688
+ # Corresponds to the JSON property `cluster`
689
+ # @return [Google::Apis::ContainerV1::Cluster]
690
+ attr_accessor :cluster
691
+
692
+ def initialize(**args)
693
+ update!(**args)
694
+ end
695
+
696
+ # Update properties of this object
697
+ def update!(**args)
698
+ @cluster = args[:cluster] if args.key?(:cluster)
699
+ end
700
+ end
701
+
702
+ # This operation resource represents operations that may have happened or are
703
+ # happening on the cluster. All fields are output only.
704
+ class Operation
705
+ include Google::Apis::Core::Hashable
706
+
707
+ # The server-assigned ID for the operation.
708
+ # Corresponds to the JSON property `name`
709
+ # @return [String]
710
+ attr_accessor :name
711
+
712
+ # The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
713
+ # which the operation is taking place.
714
+ # Corresponds to the JSON property `zone`
715
+ # @return [String]
716
+ attr_accessor :zone
717
+
718
+ # The operation type.
719
+ # Corresponds to the JSON property `operationType`
720
+ # @return [String]
721
+ attr_accessor :operation_type
722
+
723
+ # The current status of the operation.
724
+ # Corresponds to the JSON property `status`
725
+ # @return [String]
726
+ attr_accessor :status
727
+
728
+ # Detailed operation progress, if available.
729
+ # Corresponds to the JSON property `detail`
730
+ # @return [String]
731
+ attr_accessor :detail
732
+
733
+ # If an error has occurred, a textual description of the error.
734
+ # Corresponds to the JSON property `statusMessage`
735
+ # @return [String]
736
+ attr_accessor :status_message
737
+
738
+ # Server-defined URL for the resource.
739
+ # Corresponds to the JSON property `selfLink`
740
+ # @return [String]
741
+ attr_accessor :self_link
742
+
743
+ # Server-defined URL for the target of the operation.
744
+ # Corresponds to the JSON property `targetLink`
745
+ # @return [String]
746
+ attr_accessor :target_link
747
+
748
+ def initialize(**args)
749
+ update!(**args)
750
+ end
751
+
752
+ # Update properties of this object
753
+ def update!(**args)
754
+ @name = args[:name] if args.key?(:name)
755
+ @zone = args[:zone] if args.key?(:zone)
756
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
757
+ @status = args[:status] if args.key?(:status)
758
+ @detail = args[:detail] if args.key?(:detail)
759
+ @status_message = args[:status_message] if args.key?(:status_message)
760
+ @self_link = args[:self_link] if args.key?(:self_link)
761
+ @target_link = args[:target_link] if args.key?(:target_link)
762
+ end
763
+ end
764
+
765
+ # UpdateClusterRequest updates the settings of a cluster.
766
+ class UpdateClusterRequest
767
+ include Google::Apis::Core::Hashable
768
+
769
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
770
+ # applied to a cluster with each request, so at most one field can be provided.
771
+ # Corresponds to the JSON property `update`
772
+ # @return [Google::Apis::ContainerV1::ClusterUpdate]
773
+ attr_accessor :update
774
+
775
+ def initialize(**args)
776
+ update!(**args)
777
+ end
778
+
779
+ # Update properties of this object
780
+ def update!(**args)
781
+ @update = args[:update] if args.key?(:update)
782
+ end
783
+ end
784
+
785
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
786
+ # applied to a cluster with each request, so at most one field can be provided.
787
+ class ClusterUpdate
788
+ include Google::Apis::Core::Hashable
789
+
790
+ # The Kubernetes version to change the nodes to (typically an upgrade). Use `-`
791
+ # to upgrade to the latest version supported by the server.
792
+ # Corresponds to the JSON property `desiredNodeVersion`
793
+ # @return [String]
794
+ attr_accessor :desired_node_version
795
+
796
+ # The monitoring service the cluster should use to write metrics. Currently
797
+ # available options: * "monitoring.googleapis.com" - the Google Cloud Monitoring
798
+ # service * "none" - no metrics will be exported from the cluster
799
+ # Corresponds to the JSON property `desiredMonitoringService`
800
+ # @return [String]
801
+ attr_accessor :desired_monitoring_service
802
+
803
+ # Configuration for the addons that can be automatically spun up in the cluster,
804
+ # enabling additional functionality.
805
+ # Corresponds to the JSON property `desiredAddonsConfig`
806
+ # @return [Google::Apis::ContainerV1::AddonsConfig]
807
+ attr_accessor :desired_addons_config
808
+
809
+ # The node pool to be upgraded. This field is mandatory if "desired_node_version"
810
+ # , "desired_image_family" or "desired_node_pool_autoscaling" is specified and
811
+ # there is more than one node pool on the cluster.
812
+ # Corresponds to the JSON property `desiredNodePoolId`
813
+ # @return [String]
814
+ attr_accessor :desired_node_pool_id
815
+
816
+ # The desired image type for the node pool. NOTE: Set the "desired_node_pool"
817
+ # field as well.
818
+ # Corresponds to the JSON property `desiredImageType`
819
+ # @return [String]
820
+ attr_accessor :desired_image_type
821
+
822
+ # NodePoolAutoscaling contains information required by cluster autoscaler to
823
+ # adjust the size of the node pool to the current cluster usage.
824
+ # Corresponds to the JSON property `desiredNodePoolAutoscaling`
825
+ # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
826
+ attr_accessor :desired_node_pool_autoscaling
827
+
828
+ # The desired list of Google Compute Engine [locations](/compute/docs/zones#
829
+ # available) in which the cluster's nodes should be located. Changing the
830
+ # locations a cluster is in will result in nodes being either created or removed
831
+ # from the cluster, depending on whether locations are being added or removed.
832
+ # This list must always include the cluster's primary zone.
833
+ # Corresponds to the JSON property `desiredLocations`
834
+ # @return [Array<String>]
835
+ attr_accessor :desired_locations
836
+
837
+ # The Kubernetes version to change the master to. The only valid value is the
838
+ # latest supported version. Use "-" to have the server automatically select the
839
+ # latest version.
840
+ # Corresponds to the JSON property `desiredMasterVersion`
841
+ # @return [String]
842
+ attr_accessor :desired_master_version
843
+
844
+ def initialize(**args)
845
+ update!(**args)
846
+ end
847
+
848
+ # Update properties of this object
849
+ def update!(**args)
850
+ @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
851
+ @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
852
+ @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
853
+ @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
854
+ @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
855
+ @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
856
+ @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
857
+ @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
858
+ end
859
+ end
860
+
861
+ # ListOperationsResponse is the result of ListOperationsRequest.
862
+ class ListOperationsResponse
863
+ include Google::Apis::Core::Hashable
864
+
865
+ # A list of operations in the project in the specified zone.
866
+ # Corresponds to the JSON property `operations`
867
+ # @return [Array<Google::Apis::ContainerV1::Operation>]
868
+ attr_accessor :operations
869
+
870
+ # If any zones are listed here, the list of operations returned may be missing
871
+ # the operations from those zones.
872
+ # Corresponds to the JSON property `missingZones`
873
+ # @return [Array<String>]
874
+ attr_accessor :missing_zones
875
+
876
+ def initialize(**args)
877
+ update!(**args)
878
+ end
879
+
880
+ # Update properties of this object
881
+ def update!(**args)
882
+ @operations = args[:operations] if args.key?(:operations)
883
+ @missing_zones = args[:missing_zones] if args.key?(:missing_zones)
884
+ end
885
+ end
886
+
887
+ # CancelOperationRequest cancels a single operation.
888
+ class CancelOperationRequest
889
+ include Google::Apis::Core::Hashable
890
+
891
+ def initialize(**args)
892
+ update!(**args)
893
+ end
894
+
895
+ # Update properties of this object
896
+ def update!(**args)
897
+ end
898
+ end
899
+
900
+ # A generic empty message that you can re-use to avoid defining duplicated empty
901
+ # messages in your APIs. A typical example is to use it as the request or the
902
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
903
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
904
+ # `Empty` is empty JSON object ````.
905
+ class Empty
906
+ include Google::Apis::Core::Hashable
907
+
908
+ def initialize(**args)
909
+ update!(**args)
910
+ end
911
+
912
+ # Update properties of this object
913
+ def update!(**args)
914
+ end
915
+ end
916
+
917
+ # Container Engine service configuration.
918
+ class ServerConfig
919
+ include Google::Apis::Core::Hashable
920
+
921
+ # Version of Kubernetes the service deploys by default.
922
+ # Corresponds to the JSON property `defaultClusterVersion`
923
+ # @return [String]
924
+ attr_accessor :default_cluster_version
925
+
926
+ # List of valid node upgrade target versions.
927
+ # Corresponds to the JSON property `validNodeVersions`
928
+ # @return [Array<String>]
929
+ attr_accessor :valid_node_versions
930
+
931
+ # Default image type.
932
+ # Corresponds to the JSON property `defaultImageType`
933
+ # @return [String]
934
+ attr_accessor :default_image_type
935
+
936
+ # List of valid image types.
937
+ # Corresponds to the JSON property `validImageTypes`
938
+ # @return [Array<String>]
939
+ attr_accessor :valid_image_types
940
+
941
+ # List of valid master versions.
942
+ # Corresponds to the JSON property `validMasterVersions`
943
+ # @return [Array<String>]
944
+ attr_accessor :valid_master_versions
945
+
946
+ def initialize(**args)
947
+ update!(**args)
948
+ end
949
+
950
+ # Update properties of this object
951
+ def update!(**args)
952
+ @default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version)
953
+ @valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions)
954
+ @default_image_type = args[:default_image_type] if args.key?(:default_image_type)
955
+ @valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types)
956
+ @valid_master_versions = args[:valid_master_versions] if args.key?(:valid_master_versions)
957
+ end
958
+ end
959
+
960
+ # ListNodePoolsResponse is the result of ListNodePoolsRequest.
961
+ class ListNodePoolsResponse
962
+ include Google::Apis::Core::Hashable
963
+
964
+ # A list of node pools for a cluster.
965
+ # Corresponds to the JSON property `nodePools`
966
+ # @return [Array<Google::Apis::ContainerV1::NodePool>]
967
+ attr_accessor :node_pools
968
+
969
+ def initialize(**args)
970
+ update!(**args)
971
+ end
972
+
973
+ # Update properties of this object
974
+ def update!(**args)
975
+ @node_pools = args[:node_pools] if args.key?(:node_pools)
976
+ end
977
+ end
978
+
979
+ # CreateNodePoolRequest creates a node pool for a cluster.
980
+ class CreateNodePoolRequest
981
+ include Google::Apis::Core::Hashable
982
+
983
+ # NodePool contains the name and configuration for a cluster's node pool. Node
984
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
985
+ # specification, under the control of the cluster master. They may have a set of
986
+ # Kubernetes labels applied to them, which may be used to reference them during
987
+ # pod scheduling. They may also be resized up or down, to accommodate the
988
+ # workload.
989
+ # Corresponds to the JSON property `nodePool`
990
+ # @return [Google::Apis::ContainerV1::NodePool]
991
+ attr_accessor :node_pool
992
+
993
+ def initialize(**args)
994
+ update!(**args)
995
+ end
996
+
997
+ # Update properties of this object
998
+ def update!(**args)
999
+ @node_pool = args[:node_pool] if args.key?(:node_pool)
1000
+ end
1001
+ end
1002
+
1003
+ # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
1004
+ # NodePool upgrade. This will be an no-op if the last upgrade successfully
1005
+ # completed.
1006
+ class RollbackNodePoolUpgradeRequest
1007
+ include Google::Apis::Core::Hashable
1008
+
1009
+ def initialize(**args)
1010
+ update!(**args)
1011
+ end
1012
+
1013
+ # Update properties of this object
1014
+ def update!(**args)
1015
+ end
1016
+ end
1017
+
1018
+ # SetNodePoolManagementRequest sets the node management properties of a node
1019
+ # pool.
1020
+ class SetNodePoolManagementRequest
1021
+ include Google::Apis::Core::Hashable
1022
+
1023
+ # NodeManagement defines the set of node management services turned on for the
1024
+ # node pool.
1025
+ # Corresponds to the JSON property `management`
1026
+ # @return [Google::Apis::ContainerV1::NodeManagement]
1027
+ attr_accessor :management
1028
+
1029
+ def initialize(**args)
1030
+ update!(**args)
1031
+ end
1032
+
1033
+ # Update properties of this object
1034
+ def update!(**args)
1035
+ @management = args[:management] if args.key?(:management)
1036
+ end
1037
+ end
1038
+ end
1039
+ end
1040
+ end