google-api-client 0.13.2 → 0.13.3

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 (524) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +149 -0
  3. data/bin/generate-api +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
  12. data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
  13. data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
  14. data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
  15. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
  16. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
  22. data/generated/google/apis/adexchangeseller_v1.rb +37 -0
  23. data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
  24. data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
  25. data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
  26. data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
  27. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
  28. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
  29. data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
  30. data/generated/google/apis/adexperiencereport_v1.rb +35 -0
  31. data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
  32. data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
  33. data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
  34. data/generated/google/apis/admin_directory_v1.rb +1 -1
  35. data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
  36. data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
  37. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  38. data/generated/google/apis/adsense_v1_4.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  40. data/generated/google/apis/analytics_v2_4.rb +37 -0
  41. data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
  42. data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
  43. data/generated/google/apis/analytics_v2_4/service.rb +345 -0
  44. data/generated/google/apis/analytics_v3.rb +1 -1
  45. data/generated/google/apis/analytics_v3/classes.rb +15 -2
  46. data/generated/google/apis/analytics_v3/representations.rb +3 -0
  47. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  48. data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
  49. data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
  52. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
  53. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
  54. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  55. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
  56. data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
  57. data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
  58. data/generated/google/apis/androidmanagement_v1.rb +35 -0
  59. data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
  60. data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
  61. data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
  62. data/generated/google/apis/androidpublisher_v1.rb +34 -0
  63. data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
  64. data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
  65. data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
  66. data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
  67. data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
  68. data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
  69. data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
  70. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  71. data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
  72. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  73. data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
  74. data/generated/google/apis/appengine_v1.rb +4 -4
  75. data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
  76. data/generated/google/apis/appengine_v1/representations.rb +351 -335
  77. data/generated/google/apis/appengine_v1/service.rb +255 -239
  78. data/generated/google/apis/appengine_v1alpha.rb +41 -0
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
  80. data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
  81. data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
  82. data/generated/google/apis/appengine_v1beta.rb +41 -0
  83. data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
  84. data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
  85. data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
  86. data/generated/google/apis/appengine_v1beta4.rb +41 -0
  87. data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
  88. data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
  89. data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
  90. data/generated/google/apis/appengine_v1beta5.rb +41 -0
  91. data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
  92. data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
  93. data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
  94. data/generated/google/apis/appsactivity_v1.rb +1 -1
  95. data/generated/google/apis/appstate_v1.rb +1 -1
  96. data/generated/google/apis/bigquery_v2.rb +1 -1
  97. data/generated/google/apis/bigquery_v2/classes.rb +106 -18
  98. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  99. data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
  103. data/generated/google/apis/blogger_v2.rb +34 -0
  104. data/generated/google/apis/blogger_v2/classes.rb +947 -0
  105. data/generated/google/apis/blogger_v2/representations.rb +465 -0
  106. data/generated/google/apis/blogger_v2/service.rb +424 -0
  107. data/generated/google/apis/calendar_v3.rb +1 -1
  108. data/generated/google/apis/calendar_v3/classes.rb +4 -207
  109. data/generated/google/apis/calendar_v3/representations.rb +0 -97
  110. data/generated/google/apis/calendar_v3/service.rb +8 -4
  111. data/generated/google/apis/classroom_v1.rb +27 -27
  112. data/generated/google/apis/classroom_v1/classes.rb +1037 -926
  113. data/generated/google/apis/classroom_v1/representations.rb +294 -244
  114. data/generated/google/apis/classroom_v1/service.rb +1114 -1109
  115. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  116. data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
  117. data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
  118. data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
  119. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  120. data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
  121. data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
  122. data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
  123. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  124. data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
  125. data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
  126. data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
  127. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  128. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
  129. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
  130. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
  131. data/generated/google/apis/cloudfunctions_v1.rb +4 -1
  132. data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
  133. data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
  135. data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
  136. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
  137. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
  138. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
  139. data/generated/google/apis/cloudkms_v1.rb +1 -1
  140. data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
  141. data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
  142. data/generated/google/apis/cloudkms_v1/service.rb +320 -320
  143. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  145. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
  146. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  147. data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
  148. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  149. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
  150. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
  151. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
  152. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
  153. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
  154. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
  155. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
  156. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  157. data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
  158. data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
  159. data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
  160. data/generated/google/apis/cloudtrace_v2.rb +43 -0
  161. data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
  162. data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
  163. data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
  164. data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
  165. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
  166. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
  167. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
  168. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
  169. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
  170. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
  171. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
  172. data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
  173. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
  174. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
  175. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
  176. data/generated/google/apis/compute_alpha.rb +49 -0
  177. data/generated/google/apis/compute_alpha/classes.rb +23796 -0
  178. data/generated/google/apis/compute_alpha/representations.rb +9391 -0
  179. data/generated/google/apis/compute_alpha/service.rb +24188 -0
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_beta/classes.rb +1597 -235
  182. data/generated/google/apis/compute_beta/representations.rb +477 -0
  183. data/generated/google/apis/compute_beta/service.rb +2875 -1677
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/compute_v1/classes.rb +319 -197
  186. data/generated/google/apis/compute_v1/representations.rb +51 -0
  187. data/generated/google/apis/compute_v1/service.rb +2057 -172
  188. data/generated/google/apis/consumersurveys_v2.rb +40 -0
  189. data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
  190. data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
  191. data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
  192. data/generated/google/apis/container_v1.rb +1 -1
  193. data/generated/google/apis/container_v1/classes.rb +1072 -936
  194. data/generated/google/apis/container_v1/representations.rb +266 -202
  195. data/generated/google/apis/container_v1/service.rb +243 -243
  196. data/generated/google/apis/container_v1beta1.rb +35 -0
  197. data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
  198. data/generated/google/apis/container_v1beta1/representations.rb +662 -0
  199. data/generated/google/apis/container_v1beta1/service.rb +1875 -0
  200. data/generated/google/apis/content_v2.rb +1 -1
  201. data/generated/google/apis/content_v2/classes.rb +72 -3
  202. data/generated/google/apis/content_v2/representations.rb +23 -0
  203. data/generated/google/apis/content_v2/service.rb +23 -18
  204. data/generated/google/apis/content_v2sandbox.rb +35 -0
  205. data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
  206. data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
  207. data/generated/google/apis/content_v2sandbox/service.rb +709 -0
  208. data/generated/google/apis/dataflow_v1b3.rb +5 -5
  209. data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
  210. data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
  211. data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
  212. data/generated/google/apis/dataproc_v1.rb +1 -1
  213. data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
  214. data/generated/google/apis/dataproc_v1/representations.rb +227 -227
  215. data/generated/google/apis/dataproc_v1/service.rb +254 -254
  216. data/generated/google/apis/dataproc_v1beta2.rb +34 -0
  217. data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
  218. data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
  220. data/generated/google/apis/datastore_v1.rb +4 -4
  221. data/generated/google/apis/datastore_v1/classes.rb +1311 -773
  222. data/generated/google/apis/datastore_v1/representations.rb +351 -148
  223. data/generated/google/apis/datastore_v1/service.rb +206 -55
  224. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  225. data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
  226. data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
  227. data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
  228. data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
  229. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
  230. data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
  231. data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
  232. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  233. data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
  234. data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
  235. data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
  236. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
  237. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
  238. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
  239. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  240. data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
  241. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
  242. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  243. data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
  244. data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
  245. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
  246. data/generated/google/apis/dlp_v2beta1.rb +36 -0
  247. data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
  248. data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
  249. data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
  250. data/generated/google/apis/dns_v1.rb +1 -1
  251. data/generated/google/apis/dns_v2beta1.rb +1 -1
  252. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  253. data/generated/google/apis/drive_v2.rb +1 -1
  254. data/generated/google/apis/drive_v3.rb +1 -1
  255. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  256. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
  257. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
  258. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  259. data/generated/google/apis/firebaserules_v1.rb +1 -1
  260. data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
  261. data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
  262. data/generated/google/apis/firebaserules_v1/service.rb +113 -113
  263. data/generated/google/apis/fitness_v1.rb +1 -1
  264. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  265. data/generated/google/apis/fusiontables_v1.rb +37 -0
  266. data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
  267. data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
  268. data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  270. data/generated/google/apis/games_management_v1management.rb +1 -1
  271. data/generated/google/apis/games_v1.rb +1 -1
  272. data/generated/google/apis/genomics_v1.rb +8 -8
  273. data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
  274. data/generated/google/apis/genomics_v1/representations.rb +482 -482
  275. data/generated/google/apis/genomics_v1/service.rb +966 -966
  276. data/generated/google/apis/genomics_v1alpha2.rb +40 -0
  277. data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
  278. data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
  279. data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
  280. data/generated/google/apis/gmail_v1.rb +1 -1
  281. data/generated/google/apis/iam_v1.rb +1 -1
  282. data/generated/google/apis/iam_v1/classes.rb +664 -395
  283. data/generated/google/apis/iam_v1/representations.rb +194 -81
  284. data/generated/google/apis/iam_v1/service.rb +657 -92
  285. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
  287. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  288. data/generated/google/apis/kgsearch_v1/service.rb +8 -8
  289. data/generated/google/apis/language_v1.rb +4 -1
  290. data/generated/google/apis/language_v1/classes.rb +393 -393
  291. data/generated/google/apis/language_v1/representations.rb +95 -95
  292. data/generated/google/apis/language_v1/service.rb +42 -42
  293. data/generated/google/apis/language_v1beta1.rb +4 -1
  294. data/generated/google/apis/language_v1beta1/classes.rb +457 -457
  295. data/generated/google/apis/language_v1beta1/representations.rb +114 -114
  296. data/generated/google/apis/language_v1beta1/service.rb +48 -48
  297. data/generated/google/apis/language_v1beta2.rb +39 -0
  298. data/generated/google/apis/language_v1beta2/classes.rb +824 -0
  299. data/generated/google/apis/language_v1beta2/representations.rb +373 -0
  300. data/generated/google/apis/language_v1beta2/service.rb +217 -0
  301. data/generated/google/apis/logging_v2.rb +9 -9
  302. data/generated/google/apis/logging_v2/classes.rb +840 -834
  303. data/generated/google/apis/logging_v2/representations.rb +168 -167
  304. data/generated/google/apis/logging_v2/service.rb +667 -463
  305. data/generated/google/apis/logging_v2beta1.rb +9 -9
  306. data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
  307. data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
  308. data/generated/google/apis/logging_v2beta1/service.rb +253 -255
  309. data/generated/google/apis/manufacturers_v1.rb +1 -1
  310. data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
  311. data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
  312. data/generated/google/apis/manufacturers_v1/service.rb +8 -7
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +1487 -1676
  315. data/generated/google/apis/ml_v1/representations.rb +229 -299
  316. data/generated/google/apis/ml_v1/service.rb +359 -253
  317. data/generated/google/apis/ml_v1beta1.rb +34 -0
  318. data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
  319. data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
  320. data/generated/google/apis/ml_v1beta1/service.rb +975 -0
  321. data/generated/google/apis/monitoring_v3.rb +6 -6
  322. data/generated/google/apis/monitoring_v3/classes.rb +834 -834
  323. data/generated/google/apis/monitoring_v3/representations.rb +168 -168
  324. data/generated/google/apis/monitoring_v3/service.rb +330 -330
  325. data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
  326. data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
  327. data/generated/google/apis/mybusiness_v3/service.rb +241 -241
  328. data/generated/google/apis/oauth2_v1.rb +43 -0
  329. data/generated/google/apis/oauth2_v1/classes.rb +321 -0
  330. data/generated/google/apis/oauth2_v1/representations.rb +135 -0
  331. data/generated/google/apis/oauth2_v1/service.rb +337 -0
  332. data/generated/google/apis/oauth2_v2.rb +1 -1
  333. data/generated/google/apis/oslogin_v1alpha.rb +37 -0
  334. data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
  335. data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
  336. data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
  337. data/generated/google/apis/pagespeedonline_v1.rb +32 -0
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
  341. data/generated/google/apis/partners_v2.rb +1 -1
  342. data/generated/google/apis/partners_v2/classes.rb +1512 -1512
  343. data/generated/google/apis/partners_v2/representations.rb +368 -368
  344. data/generated/google/apis/partners_v2/service.rb +596 -596
  345. data/generated/google/apis/people_v1.rb +15 -15
  346. data/generated/google/apis/people_v1/classes.rb +1384 -1383
  347. data/generated/google/apis/people_v1/representations.rb +311 -311
  348. data/generated/google/apis/people_v1/service.rb +208 -202
  349. data/generated/google/apis/playcustomapp_v1.rb +34 -0
  350. data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
  351. data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
  352. data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
  353. data/generated/google/apis/playmoviespartner_v1.rb +34 -0
  354. data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
  355. data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
  356. data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
  357. data/generated/google/apis/plus_domains_v1.rb +1 -1
  358. data/generated/google/apis/plus_v1.rb +1 -1
  359. data/generated/google/apis/prediction_v1_2.rb +44 -0
  360. data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
  361. data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
  362. data/generated/google/apis/prediction_v1_2/service.rb +287 -0
  363. data/generated/google/apis/prediction_v1_3.rb +44 -0
  364. data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
  365. data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
  366. data/generated/google/apis/prediction_v1_3/service.rb +284 -0
  367. data/generated/google/apis/prediction_v1_4.rb +44 -0
  368. data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
  369. data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
  370. data/generated/google/apis/prediction_v1_4/service.rb +284 -0
  371. data/generated/google/apis/prediction_v1_5.rb +44 -0
  372. data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
  373. data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
  374. data/generated/google/apis/prediction_v1_5/service.rb +357 -0
  375. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  376. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
  377. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
  378. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
  379. data/generated/google/apis/pubsub_v1.rb +4 -4
  380. data/generated/google/apis/pubsub_v1/classes.rb +352 -352
  381. data/generated/google/apis/pubsub_v1/representations.rb +77 -77
  382. data/generated/google/apis/pubsub_v1/service.rb +346 -346
  383. data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
  384. data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
  385. data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
  386. data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
  387. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  388. data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
  389. data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
  390. data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
  391. data/generated/google/apis/replicapool_v1beta1.rb +50 -0
  392. data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
  393. data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
  394. data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
  395. data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
  396. data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
  397. data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
  398. data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
  399. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  400. data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
  401. data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
  402. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  403. data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
  404. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
  405. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
  406. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
  407. data/generated/google/apis/safebrowsing_v4.rb +32 -0
  408. data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
  409. data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
  410. data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
  411. data/generated/google/apis/script_v1.rb +19 -19
  412. data/generated/google/apis/script_v1/classes.rb +99 -157
  413. data/generated/google/apis/script_v1/representations.rb +17 -47
  414. data/generated/google/apis/script_v1/service.rb +12 -12
  415. data/generated/google/apis/searchconsole_v1.rb +1 -1
  416. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  417. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  418. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  419. data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
  420. data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
  421. data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
  422. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  423. data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
  424. data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
  425. data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
  426. data/generated/google/apis/serviceuser_v1.rb +5 -5
  427. data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
  428. data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
  429. data/generated/google/apis/serviceuser_v1/service.rb +43 -43
  430. data/generated/google/apis/sheets_v4.rb +7 -7
  431. data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
  432. data/generated/google/apis/sheets_v4/representations.rb +931 -930
  433. data/generated/google/apis/sheets_v4/service.rb +244 -244
  434. data/generated/google/apis/slides_v1.rb +10 -10
  435. data/generated/google/apis/slides_v1/classes.rb +2915 -2915
  436. data/generated/google/apis/slides_v1/representations.rb +698 -698
  437. data/generated/google/apis/slides_v1/service.rb +35 -35
  438. data/generated/google/apis/sourcerepo_v1.rb +3 -3
  439. data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
  440. data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
  441. data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
  442. data/generated/google/apis/spanner_v1.rb +4 -4
  443. data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
  444. data/generated/google/apis/spanner_v1/representations.rb +338 -323
  445. data/generated/google/apis/spanner_v1/service.rb +689 -689
  446. data/generated/google/apis/spectrum_v1explorer.rb +31 -0
  447. data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
  448. data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
  449. data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
  450. data/generated/google/apis/speech_v1.rb +34 -0
  451. data/generated/google/apis/speech_v1/classes.rb +572 -0
  452. data/generated/google/apis/speech_v1/representations.rb +236 -0
  453. data/generated/google/apis/speech_v1/service.rb +277 -0
  454. data/generated/google/apis/speech_v1beta1.rb +1 -1
  455. data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
  456. data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
  457. data/generated/google/apis/speech_v1beta1/service.rb +46 -46
  458. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  459. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
  460. data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
  461. data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
  462. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  463. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
  464. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1/classes.rb +7 -6
  467. data/generated/google/apis/storage_v1/service.rb +51 -29
  468. data/generated/google/apis/storage_v1beta1.rb +40 -0
  469. data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
  470. data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
  471. data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
  472. data/generated/google/apis/storage_v1beta2.rb +40 -0
  473. data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
  474. data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
  475. data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
  476. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  477. data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
  478. data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
  479. data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
  480. data/generated/google/apis/streetviewpublish_v1.rb +36 -0
  481. data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
  482. data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
  483. data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
  484. data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
  485. data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
  486. data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
  487. data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
  490. data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
  491. data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
  492. data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
  493. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
  494. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
  495. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
  496. data/generated/google/apis/translate_v2/classes.rb +111 -111
  497. data/generated/google/apis/translate_v2/representations.rb +49 -49
  498. data/generated/google/apis/translate_v2/service.rb +94 -94
  499. data/generated/google/apis/vault_v1.rb +31 -0
  500. data/generated/google/apis/vault_v1/classes.rb +554 -0
  501. data/generated/google/apis/vault_v1/representations.rb +318 -0
  502. data/generated/google/apis/vault_v1/service.rb +677 -0
  503. data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
  504. data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
  505. data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
  506. data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
  507. data/generated/google/apis/vision_v1.rb +4 -4
  508. data/generated/google/apis/vision_v1/classes.rb +1176 -1178
  509. data/generated/google/apis/vision_v1/representations.rb +235 -235
  510. data/generated/google/apis/webmasters_v3.rb +1 -1
  511. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  512. data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
  513. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
  514. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
  515. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
  516. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  517. data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
  518. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
  519. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  520. data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
  521. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  522. data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
  523. data/lib/google/apis/version.rb +1 -1
  524. metadata +246 -2
@@ -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_v1beta1/service.rb'
16
+ require 'google/apis/container_v1beta1/classes.rb'
17
+ require 'google/apis/container_v1beta1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Google Container Engine API
22
+ #
23
+ # The Google Container Engine API is used for building and managing container
24
+ # based applications, powered by the open source Kubernetes technology.
25
+ #
26
+ # @see https://cloud.google.com/container-engine/
27
+ module ContainerV1beta1
28
+ VERSION = 'V1beta1'
29
+ REVISION = '20170814'
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,1900 @@
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 ContainerV1beta1
24
+
25
+ # AcceleratorConfig represents a Hardware Accelerator request.
26
+ class AcceleratorConfig
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The number of the accelerator cards exposed to an instance.
30
+ # Corresponds to the JSON property `acceleratorCount`
31
+ # @return [Fixnum]
32
+ attr_accessor :accelerator_count
33
+
34
+ # The accelerator type resource name. List of supported accelerators
35
+ # [here](/compute/docs/gpus/#Introduction)
36
+ # Corresponds to the JSON property `acceleratorType`
37
+ # @return [String]
38
+ attr_accessor :accelerator_type
39
+
40
+ def initialize(**args)
41
+ update!(**args)
42
+ end
43
+
44
+ # Update properties of this object
45
+ def update!(**args)
46
+ @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
47
+ @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
48
+ end
49
+ end
50
+
51
+ # Configuration for the addons that can be automatically spun up in the
52
+ # cluster, enabling additional functionality.
53
+ class AddonsConfig
54
+ include Google::Apis::Core::Hashable
55
+
56
+ # Configuration options for the horizontal pod autoscaling feature, which
57
+ # increases or decreases the number of replica pods a replication controller
58
+ # has based on the resource usage of the existing pods.
59
+ # Corresponds to the JSON property `horizontalPodAutoscaling`
60
+ # @return [Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling]
61
+ attr_accessor :horizontal_pod_autoscaling
62
+
63
+ # Configuration options for the HTTP (L7) load balancing controller addon,
64
+ # which makes it easy to set up HTTP load balancers for services in a cluster.
65
+ # Corresponds to the JSON property `httpLoadBalancing`
66
+ # @return [Google::Apis::ContainerV1beta1::HttpLoadBalancing]
67
+ attr_accessor :http_load_balancing
68
+
69
+ # Configuration for the Kubernetes Dashboard.
70
+ # Corresponds to the JSON property `kubernetesDashboard`
71
+ # @return [Google::Apis::ContainerV1beta1::KubernetesDashboard]
72
+ attr_accessor :kubernetes_dashboard
73
+
74
+ def initialize(**args)
75
+ update!(**args)
76
+ end
77
+
78
+ # Update properties of this object
79
+ def update!(**args)
80
+ @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
81
+ @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
82
+ @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
83
+ end
84
+ end
85
+
86
+ # AutoUpgradeOptions defines the set of options for the user to control how
87
+ # the Auto Upgrades will proceed.
88
+ class AutoUpgradeOptions
89
+ include Google::Apis::Core::Hashable
90
+
91
+ # [Output only] This field is set when upgrades are about to commence
92
+ # with the approximate start time for the upgrades, in
93
+ # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
94
+ # Corresponds to the JSON property `autoUpgradeStartTime`
95
+ # @return [String]
96
+ attr_accessor :auto_upgrade_start_time
97
+
98
+ # [Output only] This field is set when upgrades are about to commence
99
+ # with the description of the upgrade.
100
+ # Corresponds to the JSON property `description`
101
+ # @return [String]
102
+ attr_accessor :description
103
+
104
+ def initialize(**args)
105
+ update!(**args)
106
+ end
107
+
108
+ # Update properties of this object
109
+ def update!(**args)
110
+ @auto_upgrade_start_time = args[:auto_upgrade_start_time] if args.key?(:auto_upgrade_start_time)
111
+ @description = args[:description] if args.key?(:description)
112
+ end
113
+ end
114
+
115
+ # CancelOperationRequest cancels a single operation.
116
+ class CancelOperationRequest
117
+ include Google::Apis::Core::Hashable
118
+
119
+ # The name (project, location, operation id) of the operation to cancel.
120
+ # Specified in the format 'projects/*/locations/*/operations/*'.
121
+ # Corresponds to the JSON property `name`
122
+ # @return [String]
123
+ attr_accessor :name
124
+
125
+ # The server-assigned `name` of the operation.
126
+ # This field is deprecated, use name instead.
127
+ # Corresponds to the JSON property `operationId`
128
+ # @return [String]
129
+ attr_accessor :operation_id
130
+
131
+ # The Google Developers Console [project ID or project
132
+ # number](https://support.google.com/cloud/answer/6158840).
133
+ # This field is deprecated, use name instead.
134
+ # Corresponds to the JSON property `projectId`
135
+ # @return [String]
136
+ attr_accessor :project_id
137
+
138
+ # The name of the Google Compute Engine
139
+ # [zone](/compute/docs/zones#available) in which the operation resides.
140
+ # This field is deprecated, use name instead.
141
+ # Corresponds to the JSON property `zone`
142
+ # @return [String]
143
+ attr_accessor :zone
144
+
145
+ def initialize(**args)
146
+ update!(**args)
147
+ end
148
+
149
+ # Update properties of this object
150
+ def update!(**args)
151
+ @name = args[:name] if args.key?(:name)
152
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
153
+ @project_id = args[:project_id] if args.key?(:project_id)
154
+ @zone = args[:zone] if args.key?(:zone)
155
+ end
156
+ end
157
+
158
+ # CidrBlock contains an optional name and one CIDR block.
159
+ class CidrBlock
160
+ include Google::Apis::Core::Hashable
161
+
162
+ # cidr_block must be specified in CIDR notation.
163
+ # Corresponds to the JSON property `cidrBlock`
164
+ # @return [String]
165
+ attr_accessor :cidr_block
166
+
167
+ # display_name is an optional field for users to identify CIDR blocks.
168
+ # Corresponds to the JSON property `displayName`
169
+ # @return [String]
170
+ attr_accessor :display_name
171
+
172
+ def initialize(**args)
173
+ update!(**args)
174
+ end
175
+
176
+ # Update properties of this object
177
+ def update!(**args)
178
+ @cidr_block = args[:cidr_block] if args.key?(:cidr_block)
179
+ @display_name = args[:display_name] if args.key?(:display_name)
180
+ end
181
+ end
182
+
183
+ # Configuration for client certificates on the cluster.
184
+ class ClientCertificateConfig
185
+ include Google::Apis::Core::Hashable
186
+
187
+ # Issue a client certificate.
188
+ # Corresponds to the JSON property `issueClientCertificate`
189
+ # @return [Boolean]
190
+ attr_accessor :issue_client_certificate
191
+ alias_method :issue_client_certificate?, :issue_client_certificate
192
+
193
+ def initialize(**args)
194
+ update!(**args)
195
+ end
196
+
197
+ # Update properties of this object
198
+ def update!(**args)
199
+ @issue_client_certificate = args[:issue_client_certificate] if args.key?(:issue_client_certificate)
200
+ end
201
+ end
202
+
203
+ # A Google Container Engine cluster.
204
+ class Cluster
205
+ include Google::Apis::Core::Hashable
206
+
207
+ # Configuration for the addons that can be automatically spun up in the
208
+ # cluster, enabling additional functionality.
209
+ # Corresponds to the JSON property `addonsConfig`
210
+ # @return [Google::Apis::ContainerV1beta1::AddonsConfig]
211
+ attr_accessor :addons_config
212
+
213
+ # The IP address range of the container pods in this cluster, in
214
+ # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
215
+ # notation (e.g. `10.96.0.0/14`). Leave blank to have
216
+ # one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
217
+ # Corresponds to the JSON property `clusterIpv4Cidr`
218
+ # @return [String]
219
+ attr_accessor :cluster_ipv4_cidr
220
+
221
+ # [Output only] The time the cluster was created, in
222
+ # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
223
+ # Corresponds to the JSON property `createTime`
224
+ # @return [String]
225
+ attr_accessor :create_time
226
+
227
+ # [Output only] The current software version of the master endpoint.
228
+ # Corresponds to the JSON property `currentMasterVersion`
229
+ # @return [String]
230
+ attr_accessor :current_master_version
231
+
232
+ # [Output only] The number of nodes currently in the cluster.
233
+ # Corresponds to the JSON property `currentNodeCount`
234
+ # @return [Fixnum]
235
+ attr_accessor :current_node_count
236
+
237
+ # [Output only] The current version of the node software components.
238
+ # If they are currently at multiple versions because they're in the process
239
+ # of being upgraded, this reflects the minimum version of all nodes.
240
+ # Corresponds to the JSON property `currentNodeVersion`
241
+ # @return [String]
242
+ attr_accessor :current_node_version
243
+
244
+ # An optional description of this cluster.
245
+ # Corresponds to the JSON property `description`
246
+ # @return [String]
247
+ attr_accessor :description
248
+
249
+ # Kubernetes alpha features are enabled on this cluster. This includes alpha
250
+ # API groups (e.g. v1beta1) and features that may not be production ready in
251
+ # the kubernetes version of the master and nodes.
252
+ # The cluster has no SLA for uptime and master/node upgrades are disabled.
253
+ # Alpha enabled clusters are automatically deleted thirty days after
254
+ # creation.
255
+ # Corresponds to the JSON property `enableKubernetesAlpha`
256
+ # @return [Boolean]
257
+ attr_accessor :enable_kubernetes_alpha
258
+ alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
259
+
260
+ # [Output only] The IP address of this cluster's master endpoint.
261
+ # The endpoint can be accessed from the internet at
262
+ # `https://username:password@endpoint/`.
263
+ # See the `masterAuth` property of this resource for username and
264
+ # password information.
265
+ # Corresponds to the JSON property `endpoint`
266
+ # @return [String]
267
+ attr_accessor :endpoint
268
+
269
+ # [Output only] The time the cluster will be automatically
270
+ # deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
271
+ # Corresponds to the JSON property `expireTime`
272
+ # @return [String]
273
+ attr_accessor :expire_time
274
+
275
+ # The initial Kubernetes version for this cluster. Valid versions are those
276
+ # found in validMasterVersions returned by getServerConfig. The version can
277
+ # be upgraded over time; such upgrades are reflected in
278
+ # currentMasterVersion and currentNodeVersion.
279
+ # Corresponds to the JSON property `initialClusterVersion`
280
+ # @return [String]
281
+ attr_accessor :initial_cluster_version
282
+
283
+ # The number of nodes to create in this cluster. You must ensure that your
284
+ # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
285
+ # is sufficient for this number of instances. You must also have available
286
+ # firewall and routes quota.
287
+ # For requests, this field should only be used in lieu of a
288
+ # "node_pool" object, since this configuration (along with the
289
+ # "node_config") will be used to create a "NodePool" object with an
290
+ # auto-generated name. Do not use this and a node_pool at the same time.
291
+ # Corresponds to the JSON property `initialNodeCount`
292
+ # @return [Fixnum]
293
+ attr_accessor :initial_node_count
294
+
295
+ # [Output only] The resource URLs of [instance
296
+ # groups](/compute/docs/instance-groups/) associated with this
297
+ # cluster.
298
+ # Corresponds to the JSON property `instanceGroupUrls`
299
+ # @return [Array<String>]
300
+ attr_accessor :instance_group_urls
301
+
302
+ # Configuration for controlling how IPs are allocated in the cluster.
303
+ # Corresponds to the JSON property `ipAllocationPolicy`
304
+ # @return [Google::Apis::ContainerV1beta1::IpAllocationPolicy]
305
+ attr_accessor :ip_allocation_policy
306
+
307
+ # [Output only] The name of the Google Compute Engine
308
+ # [zone](/compute/docs/regions-zones/regions-zones#available) or
309
+ # [region](/compute/docs/regions-zones/regions-zones#available) in which
310
+ # the cluster resides.
311
+ # Corresponds to the JSON property `location`
312
+ # @return [String]
313
+ attr_accessor :location
314
+
315
+ # The list of Google Compute Engine
316
+ # [locations](/compute/docs/zones#available) in which the cluster's nodes
317
+ # should be located.
318
+ # Corresponds to the JSON property `locations`
319
+ # @return [Array<String>]
320
+ attr_accessor :locations
321
+
322
+ # The logging service the cluster should use to write logs.
323
+ # Currently available options:
324
+ # * `logging.googleapis.com` - the Google Cloud Logging service.
325
+ # * `none` - no logs will be exported from the cluster.
326
+ # * if left as an empty string,`logging.googleapis.com` will be used.
327
+ # Corresponds to the JSON property `loggingService`
328
+ # @return [String]
329
+ attr_accessor :logging_service
330
+
331
+ # The authentication information for accessing the master endpoint.
332
+ # Authentication can be done using HTTP basic auth or using client
333
+ # certificates.
334
+ # Corresponds to the JSON property `masterAuth`
335
+ # @return [Google::Apis::ContainerV1beta1::MasterAuth]
336
+ attr_accessor :master_auth
337
+
338
+ # Configuration options for the master authorized networks feature. Enabled
339
+ # master authorized networks will disallow all external traffic to access
340
+ # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
341
+ # Google Compute Engine Public IPs and Google Prod IPs.
342
+ # Corresponds to the JSON property `masterAuthorizedNetworksConfig`
343
+ # @return [Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig]
344
+ attr_accessor :master_authorized_networks_config
345
+
346
+ # The monitoring service the cluster should use to write metrics.
347
+ # Currently available options:
348
+ # * `monitoring.googleapis.com` - the Google Cloud Monitoring service.
349
+ # * `none` - no metrics will be exported from the cluster.
350
+ # * if left as an empty string, `monitoring.googleapis.com` will be used.
351
+ # Corresponds to the JSON property `monitoringService`
352
+ # @return [String]
353
+ attr_accessor :monitoring_service
354
+
355
+ # The name of this cluster. The name must be unique within this project
356
+ # and zone, and can be up to 40 characters with the following restrictions:
357
+ # * Lowercase letters, numbers, and hyphens only.
358
+ # * Must start with a letter.
359
+ # * Must end with a number or a letter.
360
+ # Corresponds to the JSON property `name`
361
+ # @return [String]
362
+ attr_accessor :name
363
+
364
+ # The name of the Google Compute Engine
365
+ # [network](/compute/docs/networks-and-firewalls#networks) to which the
366
+ # cluster is connected. If left unspecified, the `default` network
367
+ # will be used.
368
+ # Corresponds to the JSON property `network`
369
+ # @return [String]
370
+ attr_accessor :network
371
+
372
+ # Configuration options for the NetworkPolicy feature.
373
+ # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
374
+ # Corresponds to the JSON property `networkPolicy`
375
+ # @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
376
+ attr_accessor :network_policy
377
+
378
+ # Parameters that describe the nodes in a cluster.
379
+ # Corresponds to the JSON property `nodeConfig`
380
+ # @return [Google::Apis::ContainerV1beta1::NodeConfig]
381
+ attr_accessor :node_config
382
+
383
+ # [Output only] The size of the address space on each node for hosting
384
+ # containers. This is provisioned from within the `container_ipv4_cidr`
385
+ # range.
386
+ # Corresponds to the JSON property `nodeIpv4CidrSize`
387
+ # @return [Fixnum]
388
+ attr_accessor :node_ipv4_cidr_size
389
+
390
+ # The node pools associated with this cluster.
391
+ # This field should not be set if "node_config" or "initial_node_count" are
392
+ # specified.
393
+ # Corresponds to the JSON property `nodePools`
394
+ # @return [Array<Google::Apis::ContainerV1beta1::NodePool>]
395
+ attr_accessor :node_pools
396
+
397
+ # [Output only] Server-defined URL for the resource.
398
+ # Corresponds to the JSON property `selfLink`
399
+ # @return [String]
400
+ attr_accessor :self_link
401
+
402
+ # [Output only] The IP address range of the Kubernetes services in
403
+ # this cluster, in
404
+ # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
405
+ # notation (e.g. `1.2.3.4/29`). Service addresses are
406
+ # typically put in the last `/16` from the container CIDR.
407
+ # Corresponds to the JSON property `servicesIpv4Cidr`
408
+ # @return [String]
409
+ attr_accessor :services_ipv4_cidr
410
+
411
+ # [Output only] The current status of this cluster.
412
+ # Corresponds to the JSON property `status`
413
+ # @return [String]
414
+ attr_accessor :status
415
+
416
+ # [Output only] Additional information about the current status of this
417
+ # cluster, if available.
418
+ # Corresponds to the JSON property `statusMessage`
419
+ # @return [String]
420
+ attr_accessor :status_message
421
+
422
+ # The name of the Google Compute Engine
423
+ # [subnetwork](/compute/docs/subnetworks) to which the
424
+ # cluster is connected.
425
+ # Corresponds to the JSON property `subnetwork`
426
+ # @return [String]
427
+ attr_accessor :subnetwork
428
+
429
+ # [Output only] The name of the Google Compute Engine
430
+ # [zone](/compute/docs/zones#available) in which the cluster
431
+ # resides.
432
+ # This field is deprecated, use location instead.
433
+ # Corresponds to the JSON property `zone`
434
+ # @return [String]
435
+ attr_accessor :zone
436
+
437
+ def initialize(**args)
438
+ update!(**args)
439
+ end
440
+
441
+ # Update properties of this object
442
+ def update!(**args)
443
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
444
+ @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
445
+ @create_time = args[:create_time] if args.key?(:create_time)
446
+ @current_master_version = args[:current_master_version] if args.key?(:current_master_version)
447
+ @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
448
+ @current_node_version = args[:current_node_version] if args.key?(:current_node_version)
449
+ @description = args[:description] if args.key?(:description)
450
+ @enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
451
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
452
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
453
+ @initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
454
+ @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
455
+ @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
456
+ @ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy)
457
+ @location = args[:location] if args.key?(:location)
458
+ @locations = args[:locations] if args.key?(:locations)
459
+ @logging_service = args[:logging_service] if args.key?(:logging_service)
460
+ @master_auth = args[:master_auth] if args.key?(:master_auth)
461
+ @master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
462
+ @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
463
+ @name = args[:name] if args.key?(:name)
464
+ @network = args[:network] if args.key?(:network)
465
+ @network_policy = args[:network_policy] if args.key?(:network_policy)
466
+ @node_config = args[:node_config] if args.key?(:node_config)
467
+ @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
468
+ @node_pools = args[:node_pools] if args.key?(:node_pools)
469
+ @self_link = args[:self_link] if args.key?(:self_link)
470
+ @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
471
+ @status = args[:status] if args.key?(:status)
472
+ @status_message = args[:status_message] if args.key?(:status_message)
473
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
474
+ @zone = args[:zone] if args.key?(:zone)
475
+ end
476
+ end
477
+
478
+ # ClusterUpdate describes an update to the cluster. Exactly one update can
479
+ # be applied to a cluster with each request, so at most one field can be
480
+ # provided.
481
+ class ClusterUpdate
482
+ include Google::Apis::Core::Hashable
483
+
484
+ # Configuration for the addons that can be automatically spun up in the
485
+ # cluster, enabling additional functionality.
486
+ # Corresponds to the JSON property `desiredAddonsConfig`
487
+ # @return [Google::Apis::ContainerV1beta1::AddonsConfig]
488
+ attr_accessor :desired_addons_config
489
+
490
+ # The desired image type for the node pool.
491
+ # NOTE: Set the "desired_node_pool" field as well.
492
+ # Corresponds to the JSON property `desiredImageType`
493
+ # @return [String]
494
+ attr_accessor :desired_image_type
495
+
496
+ # The desired list of Google Compute Engine
497
+ # [locations](/compute/docs/zones#available) in which the cluster's nodes
498
+ # should be located. Changing the locations a cluster is in will result
499
+ # in nodes being either created or removed from the cluster, depending on
500
+ # whether locations are being added or removed.
501
+ # This list must always include the cluster's primary zone.
502
+ # Corresponds to the JSON property `desiredLocations`
503
+ # @return [Array<String>]
504
+ attr_accessor :desired_locations
505
+
506
+ # Configuration options for the master authorized networks feature. Enabled
507
+ # master authorized networks will disallow all external traffic to access
508
+ # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
509
+ # Google Compute Engine Public IPs and Google Prod IPs.
510
+ # Corresponds to the JSON property `desiredMasterAuthorizedNetworksConfig`
511
+ # @return [Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig]
512
+ attr_accessor :desired_master_authorized_networks_config
513
+
514
+ # The Kubernetes version to change the master to. The only valid value is the
515
+ # latest supported version. Use "-" to have the server automatically select
516
+ # the latest version.
517
+ # Corresponds to the JSON property `desiredMasterVersion`
518
+ # @return [String]
519
+ attr_accessor :desired_master_version
520
+
521
+ # The monitoring service the cluster should use to write metrics.
522
+ # Currently available options:
523
+ # * "monitoring.googleapis.com" - the Google Cloud Monitoring service
524
+ # * "none" - no metrics will be exported from the cluster
525
+ # Corresponds to the JSON property `desiredMonitoringService`
526
+ # @return [String]
527
+ attr_accessor :desired_monitoring_service
528
+
529
+ # NodePoolAutoscaling contains information required by cluster autoscaler to
530
+ # adjust the size of the node pool to the current cluster usage.
531
+ # Corresponds to the JSON property `desiredNodePoolAutoscaling`
532
+ # @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
533
+ attr_accessor :desired_node_pool_autoscaling
534
+
535
+ # The node pool to be upgraded. This field is mandatory if
536
+ # "desired_node_version", "desired_image_family" or
537
+ # "desired_node_pool_autoscaling" is specified and there is more than one
538
+ # node pool on the cluster.
539
+ # Corresponds to the JSON property `desiredNodePoolId`
540
+ # @return [String]
541
+ attr_accessor :desired_node_pool_id
542
+
543
+ # The Kubernetes version to change the nodes to (typically an
544
+ # upgrade). Use `-` to upgrade to the latest version supported by
545
+ # the server.
546
+ # Corresponds to the JSON property `desiredNodeVersion`
547
+ # @return [String]
548
+ attr_accessor :desired_node_version
549
+
550
+ def initialize(**args)
551
+ update!(**args)
552
+ end
553
+
554
+ # Update properties of this object
555
+ def update!(**args)
556
+ @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
557
+ @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
558
+ @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
559
+ @desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
560
+ @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
561
+ @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
562
+ @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
563
+ @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
564
+ @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
565
+ end
566
+ end
567
+
568
+ # CompleteIPRotationRequest moves the cluster master back into single-IP mode.
569
+ class CompleteIpRotationRequest
570
+ include Google::Apis::Core::Hashable
571
+
572
+ # The name of the cluster.
573
+ # This field is deprecated, use name instead.
574
+ # Corresponds to the JSON property `clusterId`
575
+ # @return [String]
576
+ attr_accessor :cluster_id
577
+
578
+ # The name (project, location, cluster id) of the cluster to complete IP
579
+ # rotation.
580
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
581
+ # Corresponds to the JSON property `name`
582
+ # @return [String]
583
+ attr_accessor :name
584
+
585
+ # The Google Developers Console [project ID or project
586
+ # number](https://developers.google.com/console/help/new/#projectnumber).
587
+ # This field is deprecated, use name instead.
588
+ # Corresponds to the JSON property `projectId`
589
+ # @return [String]
590
+ attr_accessor :project_id
591
+
592
+ # The name of the Google Compute Engine
593
+ # [zone](/compute/docs/zones#available) in which the cluster
594
+ # resides.
595
+ # This field is deprecated, use name instead.
596
+ # Corresponds to the JSON property `zone`
597
+ # @return [String]
598
+ attr_accessor :zone
599
+
600
+ def initialize(**args)
601
+ update!(**args)
602
+ end
603
+
604
+ # Update properties of this object
605
+ def update!(**args)
606
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
607
+ @name = args[:name] if args.key?(:name)
608
+ @project_id = args[:project_id] if args.key?(:project_id)
609
+ @zone = args[:zone] if args.key?(:zone)
610
+ end
611
+ end
612
+
613
+ # CreateClusterRequest creates a cluster.
614
+ class CreateClusterRequest
615
+ include Google::Apis::Core::Hashable
616
+
617
+ # A Google Container Engine cluster.
618
+ # Corresponds to the JSON property `cluster`
619
+ # @return [Google::Apis::ContainerV1beta1::Cluster]
620
+ attr_accessor :cluster
621
+
622
+ # The parent (project and location) where the cluster will be created.
623
+ # Specified in the format 'projects/*/locations/*'.
624
+ # Corresponds to the JSON property `parent`
625
+ # @return [String]
626
+ attr_accessor :parent
627
+
628
+ # The Google Developers Console [project ID or project
629
+ # number](https://support.google.com/cloud/answer/6158840).
630
+ # This field is deprecated, use parent instead.
631
+ # Corresponds to the JSON property `projectId`
632
+ # @return [String]
633
+ attr_accessor :project_id
634
+
635
+ # The name of the Google Compute Engine
636
+ # [zone](/compute/docs/zones#available) in which the cluster
637
+ # resides.
638
+ # This field is deprecated, use parent instead.
639
+ # Corresponds to the JSON property `zone`
640
+ # @return [String]
641
+ attr_accessor :zone
642
+
643
+ def initialize(**args)
644
+ update!(**args)
645
+ end
646
+
647
+ # Update properties of this object
648
+ def update!(**args)
649
+ @cluster = args[:cluster] if args.key?(:cluster)
650
+ @parent = args[:parent] if args.key?(:parent)
651
+ @project_id = args[:project_id] if args.key?(:project_id)
652
+ @zone = args[:zone] if args.key?(:zone)
653
+ end
654
+ end
655
+
656
+ # CreateNodePoolRequest creates a node pool for a cluster.
657
+ class CreateNodePoolRequest
658
+ include Google::Apis::Core::Hashable
659
+
660
+ # The name of the cluster.
661
+ # This field is deprecated, use parent instead.
662
+ # Corresponds to the JSON property `clusterId`
663
+ # @return [String]
664
+ attr_accessor :cluster_id
665
+
666
+ # NodePool contains the name and configuration for a cluster's node pool.
667
+ # Node pools are a set of nodes (i.e. VM's), with a common configuration and
668
+ # specification, under the control of the cluster master. They may have a set
669
+ # of Kubernetes labels applied to them, which may be used to reference them
670
+ # during pod scheduling. They may also be resized up or down, to accommodate
671
+ # the workload.
672
+ # Corresponds to the JSON property `nodePool`
673
+ # @return [Google::Apis::ContainerV1beta1::NodePool]
674
+ attr_accessor :node_pool
675
+
676
+ # The parent (project, location, cluster id) where the node pool will be created.
677
+ # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
678
+ # Corresponds to the JSON property `parent`
679
+ # @return [String]
680
+ attr_accessor :parent
681
+
682
+ # The Google Developers Console [project ID or project
683
+ # number](https://developers.google.com/console/help/new/#projectnumber).
684
+ # This field is deprecated, use parent instead.
685
+ # Corresponds to the JSON property `projectId`
686
+ # @return [String]
687
+ attr_accessor :project_id
688
+
689
+ # The name of the Google Compute Engine
690
+ # [zone](/compute/docs/zones#available) in which the cluster
691
+ # resides.
692
+ # This field is deprecated, use parent instead.
693
+ # Corresponds to the JSON property `zone`
694
+ # @return [String]
695
+ attr_accessor :zone
696
+
697
+ def initialize(**args)
698
+ update!(**args)
699
+ end
700
+
701
+ # Update properties of this object
702
+ def update!(**args)
703
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
704
+ @node_pool = args[:node_pool] if args.key?(:node_pool)
705
+ @parent = args[:parent] if args.key?(:parent)
706
+ @project_id = args[:project_id] if args.key?(:project_id)
707
+ @zone = args[:zone] if args.key?(:zone)
708
+ end
709
+ end
710
+
711
+ # A generic empty message that you can re-use to avoid defining duplicated
712
+ # empty messages in your APIs. A typical example is to use it as the request
713
+ # or the response type of an API method. For instance:
714
+ # service Foo `
715
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
716
+ # `
717
+ # The JSON representation for `Empty` is empty JSON object ````.
718
+ class Empty
719
+ include Google::Apis::Core::Hashable
720
+
721
+ def initialize(**args)
722
+ update!(**args)
723
+ end
724
+
725
+ # Update properties of this object
726
+ def update!(**args)
727
+ end
728
+ end
729
+
730
+ # Configuration options for the horizontal pod autoscaling feature, which
731
+ # increases or decreases the number of replica pods a replication controller
732
+ # has based on the resource usage of the existing pods.
733
+ class HorizontalPodAutoscaling
734
+ include Google::Apis::Core::Hashable
735
+
736
+ # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
737
+ # When enabled, it ensures that a Heapster pod is running in the cluster,
738
+ # which is also used by the Cloud Monitoring service.
739
+ # Corresponds to the JSON property `disabled`
740
+ # @return [Boolean]
741
+ attr_accessor :disabled
742
+ alias_method :disabled?, :disabled
743
+
744
+ def initialize(**args)
745
+ update!(**args)
746
+ end
747
+
748
+ # Update properties of this object
749
+ def update!(**args)
750
+ @disabled = args[:disabled] if args.key?(:disabled)
751
+ end
752
+ end
753
+
754
+ # Configuration options for the HTTP (L7) load balancing controller addon,
755
+ # which makes it easy to set up HTTP load balancers for services in a cluster.
756
+ class HttpLoadBalancing
757
+ include Google::Apis::Core::Hashable
758
+
759
+ # Whether the HTTP Load Balancing controller is enabled in the cluster.
760
+ # When enabled, it runs a small pod in the cluster that manages the load
761
+ # balancers.
762
+ # Corresponds to the JSON property `disabled`
763
+ # @return [Boolean]
764
+ attr_accessor :disabled
765
+ alias_method :disabled?, :disabled
766
+
767
+ def initialize(**args)
768
+ update!(**args)
769
+ end
770
+
771
+ # Update properties of this object
772
+ def update!(**args)
773
+ @disabled = args[:disabled] if args.key?(:disabled)
774
+ end
775
+ end
776
+
777
+ # Configuration for controlling how IPs are allocated in the cluster.
778
+ class IpAllocationPolicy
779
+ include Google::Apis::Core::Hashable
780
+
781
+ # The IP address range for the cluster pod IPs. If this field is set, then
782
+ # `cluster.cluster_ipv4_cidr` must be left blank.
783
+ # This field is only applicable when `use_ip_aliases` is true.
784
+ # Set to blank to have a range will be chosen with the default size.
785
+ # Set to /netmask (e.g. `/14`) to have a range be chosen with a specific
786
+ # netmask.
787
+ # Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
788
+ # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
789
+ # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
790
+ # to use.
791
+ # Corresponds to the JSON property `clusterIpv4Cidr`
792
+ # @return [String]
793
+ attr_accessor :cluster_ipv4_cidr
794
+
795
+ # Whether a new subnetwork will be created automatically for the cluster.
796
+ # This field is only applicable when `use_ip_aliases` is true.
797
+ # Corresponds to the JSON property `createSubnetwork`
798
+ # @return [Boolean]
799
+ attr_accessor :create_subnetwork
800
+ alias_method :create_subnetwork?, :create_subnetwork
801
+
802
+ # The IP address range of the instance IPs in this cluster.
803
+ # This is applicable only if `create_subnetwork` is true.
804
+ # Set to blank to have a range will be chosen with the default size.
805
+ # Set to /netmask (e.g. `/14`) to have a range be chosen with a specific
806
+ # netmask.
807
+ # Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
808
+ # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
809
+ # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
810
+ # to use.
811
+ # Corresponds to the JSON property `nodeIpv4Cidr`
812
+ # @return [String]
813
+ attr_accessor :node_ipv4_cidr
814
+
815
+ # The IP address range of the services IPs in this cluster. If blank, a range
816
+ # will be automatically chosen with the default size.
817
+ # This field is only applicable when `use_ip_aliases` is true.
818
+ # Set to blank to have a range will be chosen with the default size.
819
+ # Set to /netmask (e.g. `/14`) to have a range be chosen with a specific
820
+ # netmask.
821
+ # Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
822
+ # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
823
+ # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
824
+ # to use.
825
+ # Corresponds to the JSON property `servicesIpv4Cidr`
826
+ # @return [String]
827
+ attr_accessor :services_ipv4_cidr
828
+
829
+ # A custom subnetwork name to be used if `create_subnetwork` is true. If
830
+ # this field is empty, then an automatic name will be chosen for the new
831
+ # subnetwork.
832
+ # Corresponds to the JSON property `subnetworkName`
833
+ # @return [String]
834
+ attr_accessor :subnetwork_name
835
+
836
+ # Whether alias IPs will be used for pod IPs in the cluster.
837
+ # Corresponds to the JSON property `useIpAliases`
838
+ # @return [Boolean]
839
+ attr_accessor :use_ip_aliases
840
+ alias_method :use_ip_aliases?, :use_ip_aliases
841
+
842
+ def initialize(**args)
843
+ update!(**args)
844
+ end
845
+
846
+ # Update properties of this object
847
+ def update!(**args)
848
+ @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
849
+ @create_subnetwork = args[:create_subnetwork] if args.key?(:create_subnetwork)
850
+ @node_ipv4_cidr = args[:node_ipv4_cidr] if args.key?(:node_ipv4_cidr)
851
+ @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
852
+ @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
853
+ @use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
854
+ end
855
+ end
856
+
857
+ # Configuration for the Kubernetes Dashboard.
858
+ class KubernetesDashboard
859
+ include Google::Apis::Core::Hashable
860
+
861
+ # Whether the Kubernetes Dashboard is enabled for this cluster.
862
+ # Corresponds to the JSON property `disabled`
863
+ # @return [Boolean]
864
+ attr_accessor :disabled
865
+ alias_method :disabled?, :disabled
866
+
867
+ def initialize(**args)
868
+ update!(**args)
869
+ end
870
+
871
+ # Update properties of this object
872
+ def update!(**args)
873
+ @disabled = args[:disabled] if args.key?(:disabled)
874
+ end
875
+ end
876
+
877
+ # ListClustersResponse is the result of ListClustersRequest.
878
+ class ListClustersResponse
879
+ include Google::Apis::Core::Hashable
880
+
881
+ # A list of clusters in the project in the specified zone, or
882
+ # across all ones.
883
+ # Corresponds to the JSON property `clusters`
884
+ # @return [Array<Google::Apis::ContainerV1beta1::Cluster>]
885
+ attr_accessor :clusters
886
+
887
+ # If any zones are listed here, the list of clusters returned
888
+ # may be missing those zones.
889
+ # Corresponds to the JSON property `missingZones`
890
+ # @return [Array<String>]
891
+ attr_accessor :missing_zones
892
+
893
+ def initialize(**args)
894
+ update!(**args)
895
+ end
896
+
897
+ # Update properties of this object
898
+ def update!(**args)
899
+ @clusters = args[:clusters] if args.key?(:clusters)
900
+ @missing_zones = args[:missing_zones] if args.key?(:missing_zones)
901
+ end
902
+ end
903
+
904
+ # ListNodePoolsResponse is the result of ListNodePoolsRequest.
905
+ class ListNodePoolsResponse
906
+ include Google::Apis::Core::Hashable
907
+
908
+ # A list of node pools for a cluster.
909
+ # Corresponds to the JSON property `nodePools`
910
+ # @return [Array<Google::Apis::ContainerV1beta1::NodePool>]
911
+ attr_accessor :node_pools
912
+
913
+ def initialize(**args)
914
+ update!(**args)
915
+ end
916
+
917
+ # Update properties of this object
918
+ def update!(**args)
919
+ @node_pools = args[:node_pools] if args.key?(:node_pools)
920
+ end
921
+ end
922
+
923
+ # ListOperationsResponse is the result of ListOperationsRequest.
924
+ class ListOperationsResponse
925
+ include Google::Apis::Core::Hashable
926
+
927
+ # If any zones are listed here, the list of operations returned
928
+ # may be missing the operations from those zones.
929
+ # Corresponds to the JSON property `missingZones`
930
+ # @return [Array<String>]
931
+ attr_accessor :missing_zones
932
+
933
+ # A list of operations in the project in the specified zone.
934
+ # Corresponds to the JSON property `operations`
935
+ # @return [Array<Google::Apis::ContainerV1beta1::Operation>]
936
+ attr_accessor :operations
937
+
938
+ def initialize(**args)
939
+ update!(**args)
940
+ end
941
+
942
+ # Update properties of this object
943
+ def update!(**args)
944
+ @missing_zones = args[:missing_zones] if args.key?(:missing_zones)
945
+ @operations = args[:operations] if args.key?(:operations)
946
+ end
947
+ end
948
+
949
+ # The authentication information for accessing the master endpoint.
950
+ # Authentication can be done using HTTP basic auth or using client
951
+ # certificates.
952
+ class MasterAuth
953
+ include Google::Apis::Core::Hashable
954
+
955
+ # [Output only] Base64-encoded public certificate used by clients to
956
+ # authenticate to the cluster endpoint.
957
+ # Corresponds to the JSON property `clientCertificate`
958
+ # @return [String]
959
+ attr_accessor :client_certificate
960
+
961
+ # Configuration for client certificates on the cluster.
962
+ # Corresponds to the JSON property `clientCertificateConfig`
963
+ # @return [Google::Apis::ContainerV1beta1::ClientCertificateConfig]
964
+ attr_accessor :client_certificate_config
965
+
966
+ # [Output only] Base64-encoded private key used by clients to authenticate
967
+ # to the cluster endpoint.
968
+ # Corresponds to the JSON property `clientKey`
969
+ # @return [String]
970
+ attr_accessor :client_key
971
+
972
+ # [Output only] Base64-encoded public certificate that is the root of
973
+ # trust for the cluster.
974
+ # Corresponds to the JSON property `clusterCaCertificate`
975
+ # @return [String]
976
+ attr_accessor :cluster_ca_certificate
977
+
978
+ # The password to use for HTTP basic authentication to the master endpoint.
979
+ # Because the master endpoint is open to the Internet, you should create a
980
+ # strong password. If a password is provided for cluster creation, username
981
+ # must be non-empty.
982
+ # Corresponds to the JSON property `password`
983
+ # @return [String]
984
+ attr_accessor :password
985
+
986
+ # The username to use for HTTP basic authentication to the master endpoint.
987
+ # For clusters v1.6.0 and later, you can disable basic authentication by
988
+ # providing an empty username.
989
+ # Corresponds to the JSON property `username`
990
+ # @return [String]
991
+ attr_accessor :username
992
+
993
+ def initialize(**args)
994
+ update!(**args)
995
+ end
996
+
997
+ # Update properties of this object
998
+ def update!(**args)
999
+ @client_certificate = args[:client_certificate] if args.key?(:client_certificate)
1000
+ @client_certificate_config = args[:client_certificate_config] if args.key?(:client_certificate_config)
1001
+ @client_key = args[:client_key] if args.key?(:client_key)
1002
+ @cluster_ca_certificate = args[:cluster_ca_certificate] if args.key?(:cluster_ca_certificate)
1003
+ @password = args[:password] if args.key?(:password)
1004
+ @username = args[:username] if args.key?(:username)
1005
+ end
1006
+ end
1007
+
1008
+ # Configuration options for the master authorized networks feature. Enabled
1009
+ # master authorized networks will disallow all external traffic to access
1010
+ # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
1011
+ # Google Compute Engine Public IPs and Google Prod IPs.
1012
+ class MasterAuthorizedNetworksConfig
1013
+ include Google::Apis::Core::Hashable
1014
+
1015
+ # cidr_blocks define up to 10 external networks that could access
1016
+ # Kubernetes master through HTTPS.
1017
+ # Corresponds to the JSON property `cidrBlocks`
1018
+ # @return [Array<Google::Apis::ContainerV1beta1::CidrBlock>]
1019
+ attr_accessor :cidr_blocks
1020
+
1021
+ # Whether or not master authorized networks is enabled.
1022
+ # Corresponds to the JSON property `enabled`
1023
+ # @return [Boolean]
1024
+ attr_accessor :enabled
1025
+ alias_method :enabled?, :enabled
1026
+
1027
+ def initialize(**args)
1028
+ update!(**args)
1029
+ end
1030
+
1031
+ # Update properties of this object
1032
+ def update!(**args)
1033
+ @cidr_blocks = args[:cidr_blocks] if args.key?(:cidr_blocks)
1034
+ @enabled = args[:enabled] if args.key?(:enabled)
1035
+ end
1036
+ end
1037
+
1038
+ # Configuration options for the NetworkPolicy feature.
1039
+ # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
1040
+ class NetworkPolicy
1041
+ include Google::Apis::Core::Hashable
1042
+
1043
+ # Whether network policy is enabled on the cluster.
1044
+ # Corresponds to the JSON property `enabled`
1045
+ # @return [Boolean]
1046
+ attr_accessor :enabled
1047
+ alias_method :enabled?, :enabled
1048
+
1049
+ # The selected network policy provider.
1050
+ # Corresponds to the JSON property `provider`
1051
+ # @return [String]
1052
+ attr_accessor :provider
1053
+
1054
+ def initialize(**args)
1055
+ update!(**args)
1056
+ end
1057
+
1058
+ # Update properties of this object
1059
+ def update!(**args)
1060
+ @enabled = args[:enabled] if args.key?(:enabled)
1061
+ @provider = args[:provider] if args.key?(:provider)
1062
+ end
1063
+ end
1064
+
1065
+ # Parameters that describe the nodes in a cluster.
1066
+ class NodeConfig
1067
+ include Google::Apis::Core::Hashable
1068
+
1069
+ # A list of hardware accelerators to be attached to each node.
1070
+ # See https://cloud.google.com/compute/docs/gpus for more information about
1071
+ # support for GPUs.
1072
+ # Corresponds to the JSON property `accelerators`
1073
+ # @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
1074
+ attr_accessor :accelerators
1075
+
1076
+ # Size of the disk attached to each node, specified in GB.
1077
+ # The smallest allowed disk size is 10GB.
1078
+ # If unspecified, the default disk size is 100GB.
1079
+ # Corresponds to the JSON property `diskSizeGb`
1080
+ # @return [Fixnum]
1081
+ attr_accessor :disk_size_gb
1082
+
1083
+ # The image type to use for this node. Note that for a given image type,
1084
+ # the latest version of it will be used.
1085
+ # Corresponds to the JSON property `imageType`
1086
+ # @return [String]
1087
+ attr_accessor :image_type
1088
+
1089
+ # The map of Kubernetes labels (key/value pairs) to be applied to each node.
1090
+ # These will added in addition to any default label(s) that
1091
+ # Kubernetes may apply to the node.
1092
+ # In case of conflict in label keys, the applied set may differ depending on
1093
+ # the Kubernetes version -- it's best to assume the behavior is undefined
1094
+ # and conflicts should be avoided.
1095
+ # For more information, including usage and the valid values, see:
1096
+ # http://kubernetes.io/v1.1/docs/user-guide/labels.html
1097
+ # Corresponds to the JSON property `labels`
1098
+ # @return [Hash<String,String>]
1099
+ attr_accessor :labels
1100
+
1101
+ # The number of local SSD disks to be attached to the node.
1102
+ # The limit for this value is dependant upon the maximum number of
1103
+ # disks available on a machine per zone. See:
1104
+ # https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits
1105
+ # for more information.
1106
+ # Corresponds to the JSON property `localSsdCount`
1107
+ # @return [Fixnum]
1108
+ attr_accessor :local_ssd_count
1109
+
1110
+ # The name of a Google Compute Engine [machine
1111
+ # type](/compute/docs/machine-types) (e.g.
1112
+ # `n1-standard-1`).
1113
+ # If unspecified, the default machine type is
1114
+ # `n1-standard-1`.
1115
+ # Corresponds to the JSON property `machineType`
1116
+ # @return [String]
1117
+ attr_accessor :machine_type
1118
+
1119
+ # The metadata key/value pairs assigned to instances in the cluster.
1120
+ # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
1121
+ # in length. These are reflected as part of a URL in the metadata server.
1122
+ # Additionally, to avoid ambiguity, keys must not conflict with any other
1123
+ # metadata keys for the project or be one of the four reserved keys:
1124
+ # "instance-template", "kube-env", "startup-script", and "user-data"
1125
+ # Values are free-form strings, and only have meaning as interpreted by
1126
+ # the image running in the instance. The only restriction placed on them is
1127
+ # that each value's size must be less than or equal to 32 KB.
1128
+ # The total size of all keys and values must be less than 512 KB.
1129
+ # Corresponds to the JSON property `metadata`
1130
+ # @return [Hash<String,String>]
1131
+ attr_accessor :metadata
1132
+
1133
+ # The set of Google API scopes to be made available on all of the
1134
+ # node VMs under the "default" service account.
1135
+ # The following scopes are recommended, but not required, and by default are
1136
+ # not included:
1137
+ # * `https://www.googleapis.com/auth/compute` is required for mounting
1138
+ # persistent storage on your nodes.
1139
+ # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
1140
+ # communicating with **gcr.io**
1141
+ # (the [Google Container Registry](/container-registry/)).
1142
+ # If unspecified, no scopes are added, unless Cloud Logging or Cloud
1143
+ # Monitoring are enabled, in which case their required scopes will be added.
1144
+ # Corresponds to the JSON property `oauthScopes`
1145
+ # @return [Array<String>]
1146
+ attr_accessor :oauth_scopes
1147
+
1148
+ # Whether the nodes are created as preemptible VM instances. See:
1149
+ # https://cloud.google.com/compute/docs/instances/preemptible for more
1150
+ # inforamtion about preemptible VM instances.
1151
+ # Corresponds to the JSON property `preemptible`
1152
+ # @return [Boolean]
1153
+ attr_accessor :preemptible
1154
+ alias_method :preemptible?, :preemptible
1155
+
1156
+ # The Google Cloud Platform Service Account to be used by the node VMs. If
1157
+ # no Service Account is specified, the "default" service account is used.
1158
+ # Corresponds to the JSON property `serviceAccount`
1159
+ # @return [String]
1160
+ attr_accessor :service_account
1161
+
1162
+ # The list of instance tags applied to all nodes. Tags are used to identify
1163
+ # valid sources or targets for network firewalls and are specified by
1164
+ # the client during cluster or node pool creation. Each tag within the list
1165
+ # must comply with RFC1035.
1166
+ # Corresponds to the JSON property `tags`
1167
+ # @return [Array<String>]
1168
+ attr_accessor :tags
1169
+
1170
+ def initialize(**args)
1171
+ update!(**args)
1172
+ end
1173
+
1174
+ # Update properties of this object
1175
+ def update!(**args)
1176
+ @accelerators = args[:accelerators] if args.key?(:accelerators)
1177
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1178
+ @image_type = args[:image_type] if args.key?(:image_type)
1179
+ @labels = args[:labels] if args.key?(:labels)
1180
+ @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
1181
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
1182
+ @metadata = args[:metadata] if args.key?(:metadata)
1183
+ @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
1184
+ @preemptible = args[:preemptible] if args.key?(:preemptible)
1185
+ @service_account = args[:service_account] if args.key?(:service_account)
1186
+ @tags = args[:tags] if args.key?(:tags)
1187
+ end
1188
+ end
1189
+
1190
+ # NodeManagement defines the set of node management services turned on for the
1191
+ # node pool.
1192
+ class NodeManagement
1193
+ include Google::Apis::Core::Hashable
1194
+
1195
+ # Whether the nodes will be automatically repaired.
1196
+ # Corresponds to the JSON property `autoRepair`
1197
+ # @return [Boolean]
1198
+ attr_accessor :auto_repair
1199
+ alias_method :auto_repair?, :auto_repair
1200
+
1201
+ # Whether the nodes will be automatically upgraded.
1202
+ # Corresponds to the JSON property `autoUpgrade`
1203
+ # @return [Boolean]
1204
+ attr_accessor :auto_upgrade
1205
+ alias_method :auto_upgrade?, :auto_upgrade
1206
+
1207
+ # AutoUpgradeOptions defines the set of options for the user to control how
1208
+ # the Auto Upgrades will proceed.
1209
+ # Corresponds to the JSON property `upgradeOptions`
1210
+ # @return [Google::Apis::ContainerV1beta1::AutoUpgradeOptions]
1211
+ attr_accessor :upgrade_options
1212
+
1213
+ def initialize(**args)
1214
+ update!(**args)
1215
+ end
1216
+
1217
+ # Update properties of this object
1218
+ def update!(**args)
1219
+ @auto_repair = args[:auto_repair] if args.key?(:auto_repair)
1220
+ @auto_upgrade = args[:auto_upgrade] if args.key?(:auto_upgrade)
1221
+ @upgrade_options = args[:upgrade_options] if args.key?(:upgrade_options)
1222
+ end
1223
+ end
1224
+
1225
+ # NodePool contains the name and configuration for a cluster's node pool.
1226
+ # Node pools are a set of nodes (i.e. VM's), with a common configuration and
1227
+ # specification, under the control of the cluster master. They may have a set
1228
+ # of Kubernetes labels applied to them, which may be used to reference them
1229
+ # during pod scheduling. They may also be resized up or down, to accommodate
1230
+ # the workload.
1231
+ class NodePool
1232
+ include Google::Apis::Core::Hashable
1233
+
1234
+ # NodePoolAutoscaling contains information required by cluster autoscaler to
1235
+ # adjust the size of the node pool to the current cluster usage.
1236
+ # Corresponds to the JSON property `autoscaling`
1237
+ # @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
1238
+ attr_accessor :autoscaling
1239
+
1240
+ # Parameters that describe the nodes in a cluster.
1241
+ # Corresponds to the JSON property `config`
1242
+ # @return [Google::Apis::ContainerV1beta1::NodeConfig]
1243
+ attr_accessor :config
1244
+
1245
+ # The initial node count for the pool. You must ensure that your
1246
+ # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
1247
+ # is sufficient for this number of instances. You must also have available
1248
+ # firewall and routes quota.
1249
+ # Corresponds to the JSON property `initialNodeCount`
1250
+ # @return [Fixnum]
1251
+ attr_accessor :initial_node_count
1252
+
1253
+ # [Output only] The resource URLs of [instance
1254
+ # groups](/compute/docs/instance-groups/) associated with this
1255
+ # node pool.
1256
+ # Corresponds to the JSON property `instanceGroupUrls`
1257
+ # @return [Array<String>]
1258
+ attr_accessor :instance_group_urls
1259
+
1260
+ # NodeManagement defines the set of node management services turned on for the
1261
+ # node pool.
1262
+ # Corresponds to the JSON property `management`
1263
+ # @return [Google::Apis::ContainerV1beta1::NodeManagement]
1264
+ attr_accessor :management
1265
+
1266
+ # The name of the node pool.
1267
+ # Corresponds to the JSON property `name`
1268
+ # @return [String]
1269
+ attr_accessor :name
1270
+
1271
+ # [Output only] Server-defined URL for the resource.
1272
+ # Corresponds to the JSON property `selfLink`
1273
+ # @return [String]
1274
+ attr_accessor :self_link
1275
+
1276
+ # [Output only] The status of the nodes in this pool instance.
1277
+ # Corresponds to the JSON property `status`
1278
+ # @return [String]
1279
+ attr_accessor :status
1280
+
1281
+ # [Output only] Additional information about the current status of this
1282
+ # node pool instance, if available.
1283
+ # Corresponds to the JSON property `statusMessage`
1284
+ # @return [String]
1285
+ attr_accessor :status_message
1286
+
1287
+ # [Output only] The version of the Kubernetes of this node.
1288
+ # Corresponds to the JSON property `version`
1289
+ # @return [String]
1290
+ attr_accessor :version
1291
+
1292
+ def initialize(**args)
1293
+ update!(**args)
1294
+ end
1295
+
1296
+ # Update properties of this object
1297
+ def update!(**args)
1298
+ @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
1299
+ @config = args[:config] if args.key?(:config)
1300
+ @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
1301
+ @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
1302
+ @management = args[:management] if args.key?(:management)
1303
+ @name = args[:name] if args.key?(:name)
1304
+ @self_link = args[:self_link] if args.key?(:self_link)
1305
+ @status = args[:status] if args.key?(:status)
1306
+ @status_message = args[:status_message] if args.key?(:status_message)
1307
+ @version = args[:version] if args.key?(:version)
1308
+ end
1309
+ end
1310
+
1311
+ # NodePoolAutoscaling contains information required by cluster autoscaler to
1312
+ # adjust the size of the node pool to the current cluster usage.
1313
+ class NodePoolAutoscaling
1314
+ include Google::Apis::Core::Hashable
1315
+
1316
+ # Is autoscaling enabled for this node pool.
1317
+ # Corresponds to the JSON property `enabled`
1318
+ # @return [Boolean]
1319
+ attr_accessor :enabled
1320
+ alias_method :enabled?, :enabled
1321
+
1322
+ # Maximum number of nodes in the NodePool. Must be >= min_node_count. There
1323
+ # has to enough quota to scale up the cluster.
1324
+ # Corresponds to the JSON property `maxNodeCount`
1325
+ # @return [Fixnum]
1326
+ attr_accessor :max_node_count
1327
+
1328
+ # Minimum number of nodes in the NodePool. Must be >= 1 and <=
1329
+ # max_node_count.
1330
+ # Corresponds to the JSON property `minNodeCount`
1331
+ # @return [Fixnum]
1332
+ attr_accessor :min_node_count
1333
+
1334
+ def initialize(**args)
1335
+ update!(**args)
1336
+ end
1337
+
1338
+ # Update properties of this object
1339
+ def update!(**args)
1340
+ @enabled = args[:enabled] if args.key?(:enabled)
1341
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
1342
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
1343
+ end
1344
+ end
1345
+
1346
+ # This operation resource represents operations that may have happened or are
1347
+ # happening on the cluster. All fields are output only.
1348
+ class Operation
1349
+ include Google::Apis::Core::Hashable
1350
+
1351
+ # Detailed operation progress, if available.
1352
+ # Corresponds to the JSON property `detail`
1353
+ # @return [String]
1354
+ attr_accessor :detail
1355
+
1356
+ # [Output only] The name of the Google Compute Engine
1357
+ # [zone](/compute/docs/regions-zones/regions-zones#available) or
1358
+ # [region](/compute/docs/regions-zones/regions-zones#available) in which
1359
+ # the cluster resides.
1360
+ # Corresponds to the JSON property `location`
1361
+ # @return [String]
1362
+ attr_accessor :location
1363
+
1364
+ # The server-assigned ID for the operation.
1365
+ # Corresponds to the JSON property `name`
1366
+ # @return [String]
1367
+ attr_accessor :name
1368
+
1369
+ # The operation type.
1370
+ # Corresponds to the JSON property `operationType`
1371
+ # @return [String]
1372
+ attr_accessor :operation_type
1373
+
1374
+ # Server-defined URL for the resource.
1375
+ # Corresponds to the JSON property `selfLink`
1376
+ # @return [String]
1377
+ attr_accessor :self_link
1378
+
1379
+ # The current status of the operation.
1380
+ # Corresponds to the JSON property `status`
1381
+ # @return [String]
1382
+ attr_accessor :status
1383
+
1384
+ # If an error has occurred, a textual description of the error.
1385
+ # Corresponds to the JSON property `statusMessage`
1386
+ # @return [String]
1387
+ attr_accessor :status_message
1388
+
1389
+ # Server-defined URL for the target of the operation.
1390
+ # Corresponds to the JSON property `targetLink`
1391
+ # @return [String]
1392
+ attr_accessor :target_link
1393
+
1394
+ # The name of the Google Compute Engine
1395
+ # [zone](/compute/docs/zones#available) in which the operation
1396
+ # is taking place.
1397
+ # This field is deprecated, use location instead.
1398
+ # Corresponds to the JSON property `zone`
1399
+ # @return [String]
1400
+ attr_accessor :zone
1401
+
1402
+ def initialize(**args)
1403
+ update!(**args)
1404
+ end
1405
+
1406
+ # Update properties of this object
1407
+ def update!(**args)
1408
+ @detail = args[:detail] if args.key?(:detail)
1409
+ @location = args[:location] if args.key?(:location)
1410
+ @name = args[:name] if args.key?(:name)
1411
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
1412
+ @self_link = args[:self_link] if args.key?(:self_link)
1413
+ @status = args[:status] if args.key?(:status)
1414
+ @status_message = args[:status_message] if args.key?(:status_message)
1415
+ @target_link = args[:target_link] if args.key?(:target_link)
1416
+ @zone = args[:zone] if args.key?(:zone)
1417
+ end
1418
+ end
1419
+
1420
+ # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
1421
+ # NodePool upgrade. This will be an no-op if the last upgrade successfully
1422
+ # completed.
1423
+ class RollbackNodePoolUpgradeRequest
1424
+ include Google::Apis::Core::Hashable
1425
+
1426
+ # The name of the cluster to rollback.
1427
+ # This field is deprecated, use name instead.
1428
+ # Corresponds to the JSON property `clusterId`
1429
+ # @return [String]
1430
+ attr_accessor :cluster_id
1431
+
1432
+ # The name (project, location, cluster, node pool id) of the node poll to
1433
+ # rollback upgrade.
1434
+ # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
1435
+ # Corresponds to the JSON property `name`
1436
+ # @return [String]
1437
+ attr_accessor :name
1438
+
1439
+ # The name of the node pool to rollback.
1440
+ # This field is deprecated, use name instead.
1441
+ # Corresponds to the JSON property `nodePoolId`
1442
+ # @return [String]
1443
+ attr_accessor :node_pool_id
1444
+
1445
+ # The Google Developers Console [project ID or project
1446
+ # number](https://support.google.com/cloud/answer/6158840).
1447
+ # This field is deprecated, use name instead.
1448
+ # Corresponds to the JSON property `projectId`
1449
+ # @return [String]
1450
+ attr_accessor :project_id
1451
+
1452
+ # The name of the Google Compute Engine
1453
+ # [zone](/compute/docs/zones#available) in which the cluster
1454
+ # resides.
1455
+ # This field is deprecated, use name instead.
1456
+ # Corresponds to the JSON property `zone`
1457
+ # @return [String]
1458
+ attr_accessor :zone
1459
+
1460
+ def initialize(**args)
1461
+ update!(**args)
1462
+ end
1463
+
1464
+ # Update properties of this object
1465
+ def update!(**args)
1466
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
1467
+ @name = args[:name] if args.key?(:name)
1468
+ @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
1469
+ @project_id = args[:project_id] if args.key?(:project_id)
1470
+ @zone = args[:zone] if args.key?(:zone)
1471
+ end
1472
+ end
1473
+
1474
+ # Container Engine service configuration.
1475
+ class ServerConfig
1476
+ include Google::Apis::Core::Hashable
1477
+
1478
+ # Version of Kubernetes the service deploys by default.
1479
+ # Corresponds to the JSON property `defaultClusterVersion`
1480
+ # @return [String]
1481
+ attr_accessor :default_cluster_version
1482
+
1483
+ # Default image type.
1484
+ # Corresponds to the JSON property `defaultImageType`
1485
+ # @return [String]
1486
+ attr_accessor :default_image_type
1487
+
1488
+ # List of valid image types.
1489
+ # Corresponds to the JSON property `validImageTypes`
1490
+ # @return [Array<String>]
1491
+ attr_accessor :valid_image_types
1492
+
1493
+ # List of valid master versions.
1494
+ # Corresponds to the JSON property `validMasterVersions`
1495
+ # @return [Array<String>]
1496
+ attr_accessor :valid_master_versions
1497
+
1498
+ # List of valid node upgrade target versions.
1499
+ # Corresponds to the JSON property `validNodeVersions`
1500
+ # @return [Array<String>]
1501
+ attr_accessor :valid_node_versions
1502
+
1503
+ def initialize(**args)
1504
+ update!(**args)
1505
+ end
1506
+
1507
+ # Update properties of this object
1508
+ def update!(**args)
1509
+ @default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version)
1510
+ @default_image_type = args[:default_image_type] if args.key?(:default_image_type)
1511
+ @valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types)
1512
+ @valid_master_versions = args[:valid_master_versions] if args.key?(:valid_master_versions)
1513
+ @valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions)
1514
+ end
1515
+ end
1516
+
1517
+ # SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
1518
+ # Engine cluster, which will in turn set them for Google Compute Engine
1519
+ # resources used by that cluster
1520
+ class SetLabelsRequest
1521
+ include Google::Apis::Core::Hashable
1522
+
1523
+ # The name of the cluster.
1524
+ # This field is deprecated, use name instead.
1525
+ # Corresponds to the JSON property `clusterId`
1526
+ # @return [String]
1527
+ attr_accessor :cluster_id
1528
+
1529
+ # The fingerprint of the previous set of labels for this resource,
1530
+ # used to detect conflicts. The fingerprint is initially generated by
1531
+ # Container Engine and changes after every request to modify or update
1532
+ # labels. You must always provide an up-to-date fingerprint hash when
1533
+ # updating or changing labels. Make a <code>get()</code> request to the
1534
+ # resource to get the latest fingerprint.
1535
+ # Corresponds to the JSON property `labelFingerprint`
1536
+ # @return [String]
1537
+ attr_accessor :label_fingerprint
1538
+
1539
+ # The name (project, location, cluster id) of the cluster to set labels.
1540
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
1541
+ # Corresponds to the JSON property `name`
1542
+ # @return [String]
1543
+ attr_accessor :name
1544
+
1545
+ # The Google Developers Console [project ID or project
1546
+ # number](https://developers.google.com/console/help/new/#projectnumber).
1547
+ # This field is deprecated, use name instead.
1548
+ # Corresponds to the JSON property `projectId`
1549
+ # @return [String]
1550
+ attr_accessor :project_id
1551
+
1552
+ # The labels to set for that cluster.
1553
+ # Corresponds to the JSON property `resourceLabels`
1554
+ # @return [Hash<String,String>]
1555
+ attr_accessor :resource_labels
1556
+
1557
+ # The name of the Google Compute Engine
1558
+ # [zone](/compute/docs/zones#available) in which the cluster
1559
+ # resides.
1560
+ # This field is deprecated, use name instead.
1561
+ # Corresponds to the JSON property `zone`
1562
+ # @return [String]
1563
+ attr_accessor :zone
1564
+
1565
+ def initialize(**args)
1566
+ update!(**args)
1567
+ end
1568
+
1569
+ # Update properties of this object
1570
+ def update!(**args)
1571
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
1572
+ @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
1573
+ @name = args[:name] if args.key?(:name)
1574
+ @project_id = args[:project_id] if args.key?(:project_id)
1575
+ @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
1576
+ @zone = args[:zone] if args.key?(:zone)
1577
+ end
1578
+ end
1579
+
1580
+ # SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
1581
+ # a cluster.
1582
+ class SetLegacyAbacRequest
1583
+ include Google::Apis::Core::Hashable
1584
+
1585
+ # The name of the cluster to update.
1586
+ # This field is deprecated, use name instead.
1587
+ # Corresponds to the JSON property `clusterId`
1588
+ # @return [String]
1589
+ attr_accessor :cluster_id
1590
+
1591
+ # Whether ABAC authorization will be enabled in the cluster.
1592
+ # Corresponds to the JSON property `enabled`
1593
+ # @return [Boolean]
1594
+ attr_accessor :enabled
1595
+ alias_method :enabled?, :enabled
1596
+
1597
+ # The name (project, location, cluster id) of the cluster to set legacy abac.
1598
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
1599
+ # Corresponds to the JSON property `name`
1600
+ # @return [String]
1601
+ attr_accessor :name
1602
+
1603
+ # The Google Developers Console [project ID or project
1604
+ # number](https://support.google.com/cloud/answer/6158840).
1605
+ # This field is deprecated, use name instead.
1606
+ # Corresponds to the JSON property `projectId`
1607
+ # @return [String]
1608
+ attr_accessor :project_id
1609
+
1610
+ # The name of the Google Compute Engine
1611
+ # [zone](/compute/docs/zones#available) in which the cluster
1612
+ # resides.
1613
+ # This field is deprecated, use name instead.
1614
+ # Corresponds to the JSON property `zone`
1615
+ # @return [String]
1616
+ attr_accessor :zone
1617
+
1618
+ def initialize(**args)
1619
+ update!(**args)
1620
+ end
1621
+
1622
+ # Update properties of this object
1623
+ def update!(**args)
1624
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
1625
+ @enabled = args[:enabled] if args.key?(:enabled)
1626
+ @name = args[:name] if args.key?(:name)
1627
+ @project_id = args[:project_id] if args.key?(:project_id)
1628
+ @zone = args[:zone] if args.key?(:zone)
1629
+ end
1630
+ end
1631
+
1632
+ # SetMasterAuthRequest updates the admin password of a cluster.
1633
+ class SetMasterAuthRequest
1634
+ include Google::Apis::Core::Hashable
1635
+
1636
+ # The exact form of action to be taken on the master auth
1637
+ # Corresponds to the JSON property `action`
1638
+ # @return [String]
1639
+ attr_accessor :action
1640
+
1641
+ # The name of the cluster to upgrade.
1642
+ # This field is deprecated, use name instead.
1643
+ # Corresponds to the JSON property `clusterId`
1644
+ # @return [String]
1645
+ attr_accessor :cluster_id
1646
+
1647
+ # The name (project, location, cluster) of the cluster to set auth.
1648
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
1649
+ # Corresponds to the JSON property `name`
1650
+ # @return [String]
1651
+ attr_accessor :name
1652
+
1653
+ # The Google Developers Console [project ID or project
1654
+ # number](https://support.google.com/cloud/answer/6158840).
1655
+ # This field is deprecated, use name instead.
1656
+ # Corresponds to the JSON property `projectId`
1657
+ # @return [String]
1658
+ attr_accessor :project_id
1659
+
1660
+ # The authentication information for accessing the master endpoint.
1661
+ # Authentication can be done using HTTP basic auth or using client
1662
+ # certificates.
1663
+ # Corresponds to the JSON property `update`
1664
+ # @return [Google::Apis::ContainerV1beta1::MasterAuth]
1665
+ attr_accessor :update
1666
+
1667
+ # The name of the Google Compute Engine
1668
+ # [zone](/compute/docs/zones#available) in which the cluster
1669
+ # resides.
1670
+ # This field is deprecated, use name instead.
1671
+ # Corresponds to the JSON property `zone`
1672
+ # @return [String]
1673
+ attr_accessor :zone
1674
+
1675
+ def initialize(**args)
1676
+ update!(**args)
1677
+ end
1678
+
1679
+ # Update properties of this object
1680
+ def update!(**args)
1681
+ @action = args[:action] if args.key?(:action)
1682
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
1683
+ @name = args[:name] if args.key?(:name)
1684
+ @project_id = args[:project_id] if args.key?(:project_id)
1685
+ @update = args[:update] if args.key?(:update)
1686
+ @zone = args[:zone] if args.key?(:zone)
1687
+ end
1688
+ end
1689
+
1690
+ # SetNetworkPolicyRequest enables/disables network policy for a cluster.
1691
+ class SetNetworkPolicyRequest
1692
+ include Google::Apis::Core::Hashable
1693
+
1694
+ # The name of the cluster.
1695
+ # This field is deprecated, use name instead.
1696
+ # Corresponds to the JSON property `clusterId`
1697
+ # @return [String]
1698
+ attr_accessor :cluster_id
1699
+
1700
+ # The name (project, location, cluster id) of the cluster to set networking
1701
+ # policy.
1702
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
1703
+ # Corresponds to the JSON property `name`
1704
+ # @return [String]
1705
+ attr_accessor :name
1706
+
1707
+ # Configuration options for the NetworkPolicy feature.
1708
+ # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
1709
+ # Corresponds to the JSON property `networkPolicy`
1710
+ # @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
1711
+ attr_accessor :network_policy
1712
+
1713
+ # The Google Developers Console [project ID or project
1714
+ # number](https://developers.google.com/console/help/new/#projectnumber).
1715
+ # This field is deprecated, use name instead.
1716
+ # Corresponds to the JSON property `projectId`
1717
+ # @return [String]
1718
+ attr_accessor :project_id
1719
+
1720
+ # The name of the Google Compute Engine
1721
+ # [zone](/compute/docs/zones#available) in which the cluster
1722
+ # resides.
1723
+ # This field is deprecated, use name instead.
1724
+ # Corresponds to the JSON property `zone`
1725
+ # @return [String]
1726
+ attr_accessor :zone
1727
+
1728
+ def initialize(**args)
1729
+ update!(**args)
1730
+ end
1731
+
1732
+ # Update properties of this object
1733
+ def update!(**args)
1734
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
1735
+ @name = args[:name] if args.key?(:name)
1736
+ @network_policy = args[:network_policy] if args.key?(:network_policy)
1737
+ @project_id = args[:project_id] if args.key?(:project_id)
1738
+ @zone = args[:zone] if args.key?(:zone)
1739
+ end
1740
+ end
1741
+
1742
+ # SetNodePoolManagementRequest sets the node management properties of a node
1743
+ # pool.
1744
+ class SetNodePoolManagementRequest
1745
+ include Google::Apis::Core::Hashable
1746
+
1747
+ # The name of the cluster to update.
1748
+ # This field is deprecated, use name instead.
1749
+ # Corresponds to the JSON property `clusterId`
1750
+ # @return [String]
1751
+ attr_accessor :cluster_id
1752
+
1753
+ # NodeManagement defines the set of node management services turned on for the
1754
+ # node pool.
1755
+ # Corresponds to the JSON property `management`
1756
+ # @return [Google::Apis::ContainerV1beta1::NodeManagement]
1757
+ attr_accessor :management
1758
+
1759
+ # The name (project, location, cluster, node pool id) of the node pool to set
1760
+ # management properties. Specified in the format
1761
+ # 'projects/*/locations/*/clusters/*/nodePools/*'.
1762
+ # Corresponds to the JSON property `name`
1763
+ # @return [String]
1764
+ attr_accessor :name
1765
+
1766
+ # The name of the node pool to update.
1767
+ # This field is deprecated, use name instead.
1768
+ # Corresponds to the JSON property `nodePoolId`
1769
+ # @return [String]
1770
+ attr_accessor :node_pool_id
1771
+
1772
+ # The Google Developers Console [project ID or project
1773
+ # number](https://support.google.com/cloud/answer/6158840).
1774
+ # This field is deprecated, use name instead.
1775
+ # Corresponds to the JSON property `projectId`
1776
+ # @return [String]
1777
+ attr_accessor :project_id
1778
+
1779
+ # The name of the Google Compute Engine
1780
+ # [zone](/compute/docs/zones#available) in which the cluster
1781
+ # resides.
1782
+ # This field is deprecated, use name instead.
1783
+ # Corresponds to the JSON property `zone`
1784
+ # @return [String]
1785
+ attr_accessor :zone
1786
+
1787
+ def initialize(**args)
1788
+ update!(**args)
1789
+ end
1790
+
1791
+ # Update properties of this object
1792
+ def update!(**args)
1793
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
1794
+ @management = args[:management] if args.key?(:management)
1795
+ @name = args[:name] if args.key?(:name)
1796
+ @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
1797
+ @project_id = args[:project_id] if args.key?(:project_id)
1798
+ @zone = args[:zone] if args.key?(:zone)
1799
+ end
1800
+ end
1801
+
1802
+ # StartIPRotationRequest creates a new IP for the cluster and then performs
1803
+ # a node upgrade on each node pool to point to the new IP.
1804
+ class StartIpRotationRequest
1805
+ include Google::Apis::Core::Hashable
1806
+
1807
+ # The name of the cluster.
1808
+ # This field is deprecated, use name instead.
1809
+ # Corresponds to the JSON property `clusterId`
1810
+ # @return [String]
1811
+ attr_accessor :cluster_id
1812
+
1813
+ # The name (project, location, cluster id) of the cluster to start IP rotation.
1814
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
1815
+ # Corresponds to the JSON property `name`
1816
+ # @return [String]
1817
+ attr_accessor :name
1818
+
1819
+ # The Google Developers Console [project ID or project
1820
+ # number](https://developers.google.com/console/help/new/#projectnumber).
1821
+ # This field is deprecated, use name instead.
1822
+ # Corresponds to the JSON property `projectId`
1823
+ # @return [String]
1824
+ attr_accessor :project_id
1825
+
1826
+ # The name of the Google Compute Engine
1827
+ # [zone](/compute/docs/zones#available) in which the cluster
1828
+ # resides.
1829
+ # This field is deprecated, use name instead.
1830
+ # Corresponds to the JSON property `zone`
1831
+ # @return [String]
1832
+ attr_accessor :zone
1833
+
1834
+ def initialize(**args)
1835
+ update!(**args)
1836
+ end
1837
+
1838
+ # Update properties of this object
1839
+ def update!(**args)
1840
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
1841
+ @name = args[:name] if args.key?(:name)
1842
+ @project_id = args[:project_id] if args.key?(:project_id)
1843
+ @zone = args[:zone] if args.key?(:zone)
1844
+ end
1845
+ end
1846
+
1847
+ # UpdateClusterRequest updates the settings of a cluster.
1848
+ class UpdateClusterRequest
1849
+ include Google::Apis::Core::Hashable
1850
+
1851
+ # The name of the cluster to upgrade.
1852
+ # This field is deprecated, use name instead.
1853
+ # Corresponds to the JSON property `clusterId`
1854
+ # @return [String]
1855
+ attr_accessor :cluster_id
1856
+
1857
+ # The name (project, location, cluster) of the cluster to update.
1858
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
1859
+ # Corresponds to the JSON property `name`
1860
+ # @return [String]
1861
+ attr_accessor :name
1862
+
1863
+ # The Google Developers Console [project ID or project
1864
+ # number](https://support.google.com/cloud/answer/6158840).
1865
+ # This field is deprecated, use name instead.
1866
+ # Corresponds to the JSON property `projectId`
1867
+ # @return [String]
1868
+ attr_accessor :project_id
1869
+
1870
+ # ClusterUpdate describes an update to the cluster. Exactly one update can
1871
+ # be applied to a cluster with each request, so at most one field can be
1872
+ # provided.
1873
+ # Corresponds to the JSON property `update`
1874
+ # @return [Google::Apis::ContainerV1beta1::ClusterUpdate]
1875
+ attr_accessor :update
1876
+
1877
+ # The name of the Google Compute Engine
1878
+ # [zone](/compute/docs/zones#available) in which the cluster
1879
+ # resides.
1880
+ # This field is deprecated, use name instead.
1881
+ # Corresponds to the JSON property `zone`
1882
+ # @return [String]
1883
+ attr_accessor :zone
1884
+
1885
+ def initialize(**args)
1886
+ update!(**args)
1887
+ end
1888
+
1889
+ # Update properties of this object
1890
+ def update!(**args)
1891
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
1892
+ @name = args[:name] if args.key?(:name)
1893
+ @project_id = args[:project_id] if args.key?(:project_id)
1894
+ @update = args[:update] if args.key?(:update)
1895
+ @zone = args[:zone] if args.key?(:zone)
1896
+ end
1897
+ end
1898
+ end
1899
+ end
1900
+ end