google-api-client 0.43.0 → 0.45.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (863) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +462 -0
  3. data/api_names.yaml +1 -0
  4. data/docs/oauth-server.md +4 -6
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  8. data/generated/google/apis/accessapproval_v1.rb +1 -1
  9. data/generated/google/apis/accessapproval_v1/classes.rb +53 -86
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  22. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  23. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  24. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  25. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  26. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  27. data/generated/google/apis/admin_directory_v1.rb +6 -8
  28. data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
  29. data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
  30. data/generated/google/apis/admin_directory_v1/service.rb +535 -998
  31. data/generated/google/apis/admin_reports_v1.rb +6 -5
  32. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  33. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  34. data/generated/google/apis/admob_v1.rb +4 -1
  35. data/generated/google/apis/admob_v1/classes.rb +2 -2
  36. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  37. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  38. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  39. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  40. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  41. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  42. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  43. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  44. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  45. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  46. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  47. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  48. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  49. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
  50. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  51. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  53. data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
  54. data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
  55. data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
  56. data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
  57. data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
  58. data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
  59. data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
  60. data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
  61. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  62. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  63. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  64. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  65. data/generated/google/apis/apigee_v1.rb +6 -7
  66. data/generated/google/apis/apigee_v1/classes.rb +432 -82
  67. data/generated/google/apis/apigee_v1/representations.rb +139 -1
  68. data/generated/google/apis/apigee_v1/service.rb +158 -41
  69. data/generated/google/apis/appengine_v1.rb +1 -1
  70. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  71. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  72. data/generated/google/apis/appengine_v1/service.rb +38 -47
  73. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  74. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  75. data/generated/google/apis/appengine_v1beta.rb +1 -1
  76. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  77. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  78. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  79. data/generated/google/apis/appsmarket_v2.rb +1 -1
  80. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  81. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  82. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
  83. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  84. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  85. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  86. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
  87. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
  88. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  89. data/generated/google/apis/bigquery_v2.rb +1 -1
  90. data/generated/google/apis/bigquery_v2/classes.rb +403 -553
  91. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  92. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  93. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  95. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  96. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  97. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  98. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  99. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  100. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  101. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  102. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  103. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  104. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  105. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  106. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  107. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  108. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  109. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  110. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  111. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  112. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  113. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  114. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  115. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  116. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  117. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  118. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  119. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  120. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  121. data/generated/google/apis/binaryauthorization_v1/classes.rb +433 -354
  122. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  123. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  124. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  125. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +433 -354
  126. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  127. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  128. data/generated/google/apis/calendar_v3.rb +1 -1
  129. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  130. data/generated/google/apis/chat_v1.rb +1 -1
  131. data/generated/google/apis/chat_v1/classes.rb +165 -116
  132. data/generated/google/apis/chat_v1/representations.rb +35 -0
  133. data/generated/google/apis/chat_v1/service.rb +30 -42
  134. data/generated/google/apis/civicinfo_v2.rb +1 -1
  135. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  136. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  137. data/generated/google/apis/classroom_v1.rb +7 -1
  138. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  139. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  140. data/generated/google/apis/classroom_v1/service.rb +240 -0
  141. data/generated/google/apis/cloudasset_v1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1/classes.rb +764 -1039
  143. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  144. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  145. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  146. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  147. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  148. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  149. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  150. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  151. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  152. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  153. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  154. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  155. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  156. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  157. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  158. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  159. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  160. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  161. data/generated/google/apis/cloudbuild_v1/classes.rb +337 -343
  162. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  163. data/generated/google/apis/cloudbuild_v1/service.rb +268 -66
  164. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  165. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  166. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  167. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  168. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  169. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  170. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  171. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  172. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  173. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  174. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  175. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  176. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  177. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  178. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  179. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  180. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  181. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  182. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  183. data/generated/google/apis/cloudidentity_v1/classes.rb +943 -75
  184. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  185. data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
  186. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  187. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1233 -307
  188. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  189. data/generated/google/apis/cloudidentity_v1beta1/service.rb +906 -96
  190. data/generated/google/apis/cloudiot_v1.rb +1 -1
  191. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  192. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  193. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  194. data/generated/google/apis/cloudkms_v1.rb +1 -1
  195. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  196. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  197. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  198. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  199. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  200. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  201. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  203. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  204. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  205. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  206. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  207. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  209. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  210. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  211. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  212. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  213. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  214. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  215. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  216. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  217. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  218. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  219. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  220. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  221. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  222. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  223. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  224. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  225. data/generated/google/apis/cloudshell_v1.rb +1 -1
  226. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  227. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  228. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  229. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  230. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  231. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  232. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  234. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  235. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  236. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  237. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  238. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  239. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  240. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  241. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  242. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  243. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  244. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  246. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  247. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  248. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  249. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  250. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  251. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  252. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  253. data/generated/google/apis/composer_v1.rb +1 -1
  254. data/generated/google/apis/composer_v1/classes.rb +190 -242
  255. data/generated/google/apis/composer_v1/service.rb +79 -150
  256. data/generated/google/apis/composer_v1beta1.rb +1 -1
  257. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  258. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  259. data/generated/google/apis/compute_alpha.rb +1 -1
  260. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  261. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  262. data/generated/google/apis/compute_alpha/service.rb +695 -692
  263. data/generated/google/apis/compute_beta.rb +1 -1
  264. data/generated/google/apis/compute_beta/classes.rb +570 -70
  265. data/generated/google/apis/compute_beta/representations.rb +112 -1
  266. data/generated/google/apis/compute_beta/service.rb +608 -605
  267. data/generated/google/apis/compute_v1.rb +1 -1
  268. data/generated/google/apis/compute_v1/classes.rb +977 -85
  269. data/generated/google/apis/compute_v1/representations.rb +372 -0
  270. data/generated/google/apis/compute_v1/service.rb +747 -15
  271. data/generated/google/apis/container_v1.rb +1 -1
  272. data/generated/google/apis/container_v1/classes.rb +970 -965
  273. data/generated/google/apis/container_v1/representations.rb +60 -0
  274. data/generated/google/apis/container_v1/service.rb +435 -502
  275. data/generated/google/apis/container_v1beta1.rb +1 -1
  276. data/generated/google/apis/container_v1beta1/classes.rb +1094 -1044
  277. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  278. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  279. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  280. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  281. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  282. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  283. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  284. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  285. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  286. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  287. data/generated/google/apis/content_v2.rb +1 -1
  288. data/generated/google/apis/content_v2/classes.rb +5 -2
  289. data/generated/google/apis/content_v2_1.rb +1 -1
  290. data/generated/google/apis/content_v2_1/classes.rb +107 -5
  291. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  292. data/generated/google/apis/content_v2_1/service.rb +54 -3
  293. data/generated/google/apis/customsearch_v1.rb +1 -1
  294. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  295. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  296. data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -573
  297. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  298. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  299. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  300. data/generated/google/apis/dataflow_v1b3/classes.rb +1162 -973
  301. data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
  302. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  303. data/generated/google/apis/datafusion_v1.rb +5 -8
  304. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  305. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  306. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  307. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  308. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  309. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  310. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  311. data/generated/google/apis/dataproc_v1.rb +1 -1
  312. data/generated/google/apis/dataproc_v1/classes.rb +60 -14
  313. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  314. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  315. data/generated/google/apis/dataproc_v1beta2/classes.rb +80 -10
  316. data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
  317. data/generated/google/apis/datastore_v1.rb +1 -1
  318. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  319. data/generated/google/apis/datastore_v1/service.rb +52 -63
  320. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  321. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  322. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  323. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  324. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  325. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  326. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  327. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +199 -70
  335. data/generated/google/apis/dialogflow_v2/representations.rb +104 -15
  336. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  337. data/generated/google/apis/dialogflow_v2beta1/classes.rb +210 -78
  338. data/generated/google/apis/dialogflow_v2beta1/representations.rb +104 -15
  339. data/generated/google/apis/dialogflow_v2beta1/service.rb +500 -325
  340. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  341. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8352 -0
  342. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3544 -0
  343. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  344. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  345. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  346. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  347. data/generated/google/apis/displayvideo_v1.rb +1 -1
  348. data/generated/google/apis/displayvideo_v1/classes.rb +63 -8
  349. data/generated/google/apis/displayvideo_v1/representations.rb +6 -0
  350. data/generated/google/apis/displayvideo_v1/service.rb +47 -35
  351. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  352. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  353. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  354. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  355. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  356. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  357. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  358. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  359. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  360. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  361. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  362. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  363. data/generated/google/apis/dlp_v2.rb +1 -1
  364. data/generated/google/apis/dlp_v2/classes.rb +1102 -1302
  365. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  366. data/generated/google/apis/dlp_v2/service.rb +962 -905
  367. data/generated/google/apis/dns_v1.rb +1 -1
  368. data/generated/google/apis/dns_v1/classes.rb +175 -198
  369. data/generated/google/apis/dns_v1/service.rb +82 -97
  370. data/generated/google/apis/dns_v1beta2.rb +1 -1
  371. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  372. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  373. data/generated/google/apis/docs_v1.rb +1 -1
  374. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  375. data/generated/google/apis/docs_v1/service.rb +17 -22
  376. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  377. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  378. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  379. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  380. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  381. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -14
  382. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  383. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  384. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +12 -20
  385. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  386. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  387. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  388. data/generated/google/apis/drive_v2.rb +1 -1
  389. data/generated/google/apis/drive_v2/classes.rb +14 -6
  390. data/generated/google/apis/drive_v2/representations.rb +1 -0
  391. data/generated/google/apis/drive_v2/service.rb +79 -15
  392. data/generated/google/apis/drive_v3.rb +1 -1
  393. data/generated/google/apis/drive_v3/classes.rb +14 -6
  394. data/generated/google/apis/drive_v3/representations.rb +1 -0
  395. data/generated/google/apis/drive_v3/service.rb +59 -11
  396. data/generated/google/apis/file_v1.rb +1 -1
  397. data/generated/google/apis/file_v1/classes.rb +154 -173
  398. data/generated/google/apis/file_v1/service.rb +43 -52
  399. data/generated/google/apis/file_v1beta1.rb +1 -1
  400. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  401. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  402. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  403. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  404. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  405. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  406. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  407. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  408. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  409. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +186 -0
  410. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  411. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  412. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  413. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  414. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  415. data/generated/google/apis/firebaserules_v1.rb +1 -1
  416. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  417. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  418. data/generated/google/apis/firestore_v1.rb +1 -1
  419. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  420. data/generated/google/apis/firestore_v1/service.rb +165 -201
  421. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  422. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  423. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  424. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  425. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  426. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  427. data/generated/google/apis/fitness_v1.rb +85 -0
  428. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  429. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  430. data/generated/google/apis/fitness_v1/service.rb +626 -0
  431. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  432. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  433. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  434. data/generated/google/apis/games_management_v1management.rb +2 -3
  435. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  436. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  437. data/generated/google/apis/games_v1.rb +2 -3
  438. data/generated/google/apis/games_v1/classes.rb +76 -83
  439. data/generated/google/apis/games_v1/representations.rb +2 -0
  440. data/generated/google/apis/games_v1/service.rb +84 -90
  441. data/generated/google/apis/gameservices_v1.rb +1 -1
  442. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  443. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  444. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  445. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  446. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  447. data/generated/google/apis/genomics_v1.rb +1 -1
  448. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  449. data/generated/google/apis/genomics_v1/service.rb +28 -43
  450. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  451. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  452. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  453. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  454. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  455. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  456. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  457. data/generated/google/apis/gmail_v1.rb +1 -1
  458. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  459. data/generated/google/apis/gmail_v1/service.rb +5 -4
  460. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  461. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  462. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  463. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  464. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  465. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  466. data/generated/google/apis/healthcare_v1.rb +1 -1
  467. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  468. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  469. data/generated/google/apis/healthcare_v1/service.rb +840 -854
  470. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  471. data/generated/google/apis/healthcare_v1beta1/classes.rb +1833 -1102
  472. data/generated/google/apis/healthcare_v1beta1/representations.rb +474 -0
  473. data/generated/google/apis/healthcare_v1beta1/service.rb +2476 -1281
  474. data/generated/google/apis/homegraph_v1.rb +4 -1
  475. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  476. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  477. data/generated/google/apis/iam_v1.rb +5 -2
  478. data/generated/google/apis/iam_v1/classes.rb +395 -592
  479. data/generated/google/apis/iam_v1/representations.rb +1 -0
  480. data/generated/google/apis/iam_v1/service.rb +431 -556
  481. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  482. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  483. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  484. data/generated/google/apis/iap_v1.rb +1 -1
  485. data/generated/google/apis/iap_v1/classes.rb +253 -355
  486. data/generated/google/apis/iap_v1/representations.rb +1 -0
  487. data/generated/google/apis/iap_v1/service.rb +61 -71
  488. data/generated/google/apis/iap_v1beta1.rb +1 -1
  489. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  490. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  491. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  492. data/generated/google/apis/indexing_v3.rb +1 -1
  493. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  494. data/generated/google/apis/jobs_v2.rb +1 -1
  495. data/generated/google/apis/jobs_v2/classes.rb +786 -1086
  496. data/generated/google/apis/jobs_v2/service.rb +85 -126
  497. data/generated/google/apis/jobs_v3.rb +1 -1
  498. data/generated/google/apis/jobs_v3/classes.rb +637 -856
  499. data/generated/google/apis/jobs_v3/service.rb +101 -139
  500. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  501. data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
  502. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  503. data/generated/google/apis/kgsearch_v1.rb +1 -1
  504. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  505. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  506. data/generated/google/apis/licensing_v1.rb +4 -3
  507. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  508. data/generated/google/apis/licensing_v1/service.rb +55 -85
  509. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  510. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  511. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  512. data/generated/google/apis/localservices_v1.rb +31 -0
  513. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  514. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  515. data/generated/google/apis/localservices_v1/service.rb +199 -0
  516. data/generated/google/apis/logging_v2.rb +1 -1
  517. data/generated/google/apis/logging_v2/classes.rb +230 -227
  518. data/generated/google/apis/logging_v2/representations.rb +47 -0
  519. data/generated/google/apis/logging_v2/service.rb +2056 -673
  520. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  521. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
  522. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  523. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  524. data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
  525. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  526. data/generated/google/apis/manufacturers_v1.rb +1 -1
  527. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  528. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  529. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  530. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  531. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  532. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  533. data/generated/google/apis/ml_v1.rb +1 -1
  534. data/generated/google/apis/ml_v1/classes.rb +956 -1144
  535. data/generated/google/apis/ml_v1/representations.rb +65 -0
  536. data/generated/google/apis/ml_v1/service.rb +194 -253
  537. data/generated/google/apis/monitoring_v1.rb +1 -1
  538. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  539. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  540. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  541. data/generated/google/apis/monitoring_v3.rb +1 -1
  542. data/generated/google/apis/monitoring_v3/classes.rb +232 -328
  543. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  544. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  545. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  546. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  547. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  548. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  549. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  550. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  551. data/generated/google/apis/osconfig_v1.rb +1 -1
  552. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  553. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  554. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  555. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  556. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  557. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  558. data/generated/google/apis/oslogin_v1.rb +1 -1
  559. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  560. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  561. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  562. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  563. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  564. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  565. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  566. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  567. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  568. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  569. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  570. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  571. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  572. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  573. data/generated/google/apis/people_v1.rb +1 -1
  574. data/generated/google/apis/people_v1/classes.rb +121 -12
  575. data/generated/google/apis/people_v1/representations.rb +41 -0
  576. data/generated/google/apis/people_v1/service.rb +47 -45
  577. data/generated/google/apis/playablelocations_v3.rb +1 -1
  578. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  579. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  580. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  581. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  582. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  583. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  584. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  585. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  586. data/generated/google/apis/pubsub_v1.rb +1 -1
  587. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  588. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  589. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  590. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  591. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  592. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  593. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  594. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  595. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  596. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  597. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  598. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  599. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  600. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +228 -228
  601. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  602. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  603. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  604. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  605. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  606. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  607. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  608. data/generated/google/apis/redis_v1.rb +1 -1
  609. data/generated/google/apis/redis_v1/classes.rb +91 -513
  610. data/generated/google/apis/redis_v1/representations.rb +0 -139
  611. data/generated/google/apis/redis_v1/service.rb +93 -110
  612. data/generated/google/apis/redis_v1beta1.rb +1 -1
  613. data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
  614. data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
  615. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  616. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  617. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  618. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  619. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  620. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  621. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  622. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  623. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  624. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  625. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  626. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  627. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  628. data/generated/google/apis/reseller_v1.rb +2 -2
  629. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  630. data/generated/google/apis/reseller_v1/service.rb +122 -173
  631. data/generated/google/apis/run_v1.rb +1 -1
  632. data/generated/google/apis/run_v1/classes.rb +12 -135
  633. data/generated/google/apis/run_v1/representations.rb +1 -62
  634. data/generated/google/apis/run_v1/service.rb +0 -342
  635. data/generated/google/apis/run_v1alpha1.rb +1 -1
  636. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  637. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  638. data/generated/google/apis/run_v1beta1.rb +1 -1
  639. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  640. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  641. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
  642. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  643. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  644. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  645. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  646. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  647. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  648. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  649. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  650. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  651. data/generated/google/apis/script_v1.rb +1 -1
  652. data/generated/google/apis/script_v1/classes.rb +88 -111
  653. data/generated/google/apis/script_v1/service.rb +63 -69
  654. data/generated/google/apis/searchconsole_v1.rb +7 -1
  655. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  656. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  657. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  658. data/generated/google/apis/secretmanager_v1.rb +1 -1
  659. data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
  660. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  661. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  662. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  663. data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
  664. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  665. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  666. data/generated/google/apis/securitycenter_v1.rb +1 -1
  667. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  668. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  669. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  670. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  671. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  672. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  673. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  674. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  675. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  676. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  677. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +30 -60
  678. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
  679. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  680. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  681. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  682. data/generated/google/apis/servicecontrol_v1/classes.rb +525 -641
  683. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  684. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  685. data/generated/google/apis/servicecontrol_v2/classes.rb +281 -325
  686. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  687. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  688. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  689. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  690. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  691. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  692. data/generated/google/apis/servicemanagement_v1/classes.rb +1263 -2135
  693. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  694. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  695. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  696. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -57
  697. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
  698. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  699. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  700. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  701. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  702. data/generated/google/apis/serviceusage_v1.rb +1 -1
  703. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  704. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  705. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  706. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  707. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  708. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  709. data/generated/google/apis/sheets_v4.rb +1 -1
  710. data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
  711. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  712. data/generated/google/apis/sheets_v4/service.rb +113 -149
  713. data/generated/google/apis/site_verification_v1.rb +1 -1
  714. data/generated/google/apis/slides_v1.rb +1 -1
  715. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  716. data/generated/google/apis/slides_v1/service.rb +23 -30
  717. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  718. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  719. data/generated/google/apis/{accessapproval_v1beta1 → smartdevicemanagement_v1}/representations.rb +44 -73
  720. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  721. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  722. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  723. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  724. data/generated/google/apis/spanner_v1.rb +1 -1
  725. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  726. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  727. data/generated/google/apis/spanner_v1/service.rb +443 -618
  728. data/generated/google/apis/speech_v1.rb +1 -1
  729. data/generated/google/apis/speech_v1/classes.rb +174 -220
  730. data/generated/google/apis/speech_v1/service.rb +27 -32
  731. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  732. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  733. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  734. data/generated/google/apis/speech_v2beta1.rb +1 -1
  735. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  736. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  737. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  738. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +469 -452
  739. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +122 -87
  740. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  741. data/generated/google/apis/storage_v1.rb +1 -1
  742. data/generated/google/apis/storage_v1/classes.rb +8 -7
  743. data/generated/google/apis/storage_v1/representations.rb +2 -2
  744. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  745. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  746. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  747. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  748. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  749. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  750. data/generated/google/apis/sts_v1.rb +32 -0
  751. data/generated/google/apis/sts_v1/classes.rb +120 -0
  752. data/generated/google/apis/sts_v1/representations.rb +59 -0
  753. data/generated/google/apis/sts_v1/service.rb +90 -0
  754. data/generated/google/apis/sts_v1beta.rb +32 -0
  755. data/generated/google/apis/sts_v1beta/classes.rb +194 -0
  756. data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
  757. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  758. data/generated/google/apis/tagmanager_v1.rb +1 -1
  759. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  760. data/generated/google/apis/tagmanager_v2.rb +1 -1
  761. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  762. data/generated/google/apis/tasks_v1.rb +1 -1
  763. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  764. data/generated/google/apis/tasks_v1/service.rb +19 -19
  765. data/generated/google/apis/testing_v1.rb +1 -1
  766. data/generated/google/apis/testing_v1/classes.rb +317 -382
  767. data/generated/google/apis/testing_v1/representations.rb +2 -0
  768. data/generated/google/apis/testing_v1/service.rb +22 -28
  769. data/generated/google/apis/texttospeech_v1.rb +1 -1
  770. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  771. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  772. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  773. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  774. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  775. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  776. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  777. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  778. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  779. data/generated/google/apis/tpu_v1.rb +1 -1
  780. data/generated/google/apis/tpu_v1/classes.rb +54 -0
  781. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  782. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  783. data/generated/google/apis/tpu_v1alpha1/classes.rb +54 -0
  784. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  785. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  786. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  787. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  788. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  789. data/generated/google/apis/translate_v3.rb +1 -1
  790. data/generated/google/apis/translate_v3/classes.rb +148 -175
  791. data/generated/google/apis/translate_v3/service.rb +122 -151
  792. data/generated/google/apis/translate_v3beta1.rb +1 -1
  793. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  794. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  795. data/generated/google/apis/vault_v1.rb +1 -1
  796. data/generated/google/apis/vault_v1/classes.rb +80 -103
  797. data/generated/google/apis/vault_v1/service.rb +31 -37
  798. data/generated/google/apis/vectortile_v1.rb +1 -1
  799. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  800. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  801. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  802. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  803. data/generated/google/apis/videointelligence_v1.rb +1 -1
  804. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  805. data/generated/google/apis/videointelligence_v1/service.rb +71 -48
  806. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  807. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  808. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  809. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  810. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  811. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  812. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  813. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  814. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  815. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  816. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  817. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  818. data/generated/google/apis/vision_v1.rb +1 -1
  819. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  820. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  821. data/generated/google/apis/webfonts_v1.rb +2 -3
  822. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  823. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  824. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  825. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  826. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  827. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  828. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  829. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  830. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  831. data/generated/google/apis/workflows_v1beta.rb +34 -0
  832. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  833. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  834. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  835. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  836. data/generated/google/apis/youtube_v3.rb +1 -1
  837. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  838. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  839. data/generated/google/apis/youtube_v3/service.rb +0 -117
  840. data/google-api-client.gemspec +2 -1
  841. data/lib/google/apis/version.rb +1 -1
  842. metadata +106 -40
  843. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  844. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  845. data/generated/google/apis/dns_v2beta1.rb +0 -43
  846. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  847. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  848. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  849. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  850. data/generated/google/apis/oauth2_v2.rb +0 -40
  851. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  852. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  853. data/generated/google/apis/plus_v1.rb +0 -43
  854. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  855. data/generated/google/apis/plus_v1/representations.rb +0 -907
  856. data/generated/google/apis/plus_v1/service.rb +0 -451
  857. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  858. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  859. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  860. data/generated/google/apis/storage_v1beta2.rb +0 -40
  861. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  862. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  863. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200713'
29
+ REVISION = '20200828'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -31,8 +31,8 @@ module Google
31
31
  # @return [Fixnum]
32
32
  attr_accessor :accelerator_count
33
33
 
34
- # The accelerator type resource name. List of supported accelerators
35
- # [here](https://cloud.google.com/compute/docs/gpus)
34
+ # The accelerator type resource name. List of supported accelerators [here](
35
+ # https://cloud.google.com/compute/docs/gpus)
36
36
  # Corresponds to the JSON property `acceleratorType`
37
37
  # @return [String]
38
38
  attr_accessor :accelerator_type
@@ -48,8 +48,8 @@ module Google
48
48
  end
49
49
  end
50
50
 
51
- # Configuration for the addons that can be automatically spun up in the
52
- # cluster, enabling additional functionality.
51
+ # Configuration for the addons that can be automatically spun up in the cluster,
52
+ # enabling additional functionality.
53
53
  class AddonsConfig
54
54
  include Google::Apis::Core::Hashable
55
55
 
@@ -69,14 +69,14 @@ module Google
69
69
  attr_accessor :dns_cache_config
70
70
 
71
71
  # Configuration options for the horizontal pod autoscaling feature, which
72
- # increases or decreases the number of replica pods a replication controller
73
- # has based on the resource usage of the existing pods.
72
+ # increases or decreases the number of replica pods a replication controller has
73
+ # based on the resource usage of the existing pods.
74
74
  # Corresponds to the JSON property `horizontalPodAutoscaling`
75
75
  # @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling]
76
76
  attr_accessor :horizontal_pod_autoscaling
77
77
 
78
- # Configuration options for the HTTP (L7) load balancing controller addon,
79
- # which makes it easy to set up HTTP load balancers for services in a cluster.
78
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
79
+ # makes it easy to set up HTTP load balancers for services in a cluster.
80
80
  # Corresponds to the JSON property `httpLoadBalancing`
81
81
  # @return [Google::Apis::ContainerV1::HttpLoadBalancing]
82
82
  attr_accessor :http_load_balancing
@@ -86,9 +86,9 @@ module Google
86
86
  # @return [Google::Apis::ContainerV1::KubernetesDashboard]
87
87
  attr_accessor :kubernetes_dashboard
88
88
 
89
- # Configuration for NetworkPolicy. This only tracks whether the addon
90
- # is enabled or not on the Master, it does not track whether network policy
91
- # is enabled for the nodes.
89
+ # Configuration for NetworkPolicy. This only tracks whether the addon is enabled
90
+ # or not on the Master, it does not track whether network policy is enabled for
91
+ # the nodes.
92
92
  # Corresponds to the JSON property `networkPolicyConfig`
93
93
  # @return [Google::Apis::ContainerV1::NetworkPolicyConfig]
94
94
  attr_accessor :network_policy_config
@@ -113,15 +113,15 @@ module Google
113
113
  class AuthenticatorGroupsConfig
114
114
  include Google::Apis::Core::Hashable
115
115
 
116
- # Whether this cluster should return group membership lookups
117
- # during authentication using a group of security groups.
116
+ # Whether this cluster should return group membership lookups during
117
+ # authentication using a group of security groups.
118
118
  # Corresponds to the JSON property `enabled`
119
119
  # @return [Boolean]
120
120
  attr_accessor :enabled
121
121
  alias_method :enabled?, :enabled
122
122
 
123
- # The name of the security group-of-groups to be used. Only relevant
124
- # if enabled = true.
123
+ # The name of the security group-of-groups to be used. Only relevant if enabled =
124
+ # true.
125
125
  # Corresponds to the JSON property `securityGroup`
126
126
  # @return [String]
127
127
  attr_accessor :security_group
@@ -137,20 +137,20 @@ module Google
137
137
  end
138
138
  end
139
139
 
140
- # AutoUpgradeOptions defines the set of options for the user to control how
141
- # the Auto Upgrades will proceed.
140
+ # AutoUpgradeOptions defines the set of options for the user to control how the
141
+ # Auto Upgrades will proceed.
142
142
  class AutoUpgradeOptions
143
143
  include Google::Apis::Core::Hashable
144
144
 
145
- # [Output only] This field is set when upgrades are about to commence
146
- # with the approximate start time for the upgrades, in
147
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
145
+ # [Output only] This field is set when upgrades are about to commence with the
146
+ # approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/
147
+ # rfc3339.txt) text format.
148
148
  # Corresponds to the JSON property `autoUpgradeStartTime`
149
149
  # @return [String]
150
150
  attr_accessor :auto_upgrade_start_time
151
151
 
152
- # [Output only] This field is set when upgrades are about to commence
153
- # with the description of the upgrade.
152
+ # [Output only] This field is set when upgrades are about to commence with the
153
+ # description of the upgrade.
154
154
  # Corresponds to the JSON property `description`
155
155
  # @return [String]
156
156
  attr_accessor :description
@@ -166,17 +166,49 @@ module Google
166
166
  end
167
167
  end
168
168
 
169
- # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
170
- # by NAP.
169
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
170
+ # NAP.
171
171
  class AutoprovisioningNodePoolDefaults
172
172
  include Google::Apis::Core::Hashable
173
173
 
174
+ # The Customer Managed Encryption Key used to encrypt the boot disk attached to
175
+ # each node in the node pool. This should be of the form projects/[
176
+ # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
177
+ # . For more information about protecting resources with Cloud KMS Keys please
178
+ # see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
179
+ # Corresponds to the JSON property `bootDiskKmsKey`
180
+ # @return [String]
181
+ attr_accessor :boot_disk_kms_key
182
+
183
+ # Size of the disk attached to each node, specified in GB. The smallest allowed
184
+ # disk size is 10GB. If unspecified, the default disk size is 100GB.
185
+ # Corresponds to the JSON property `diskSizeGb`
186
+ # @return [Fixnum]
187
+ attr_accessor :disk_size_gb
188
+
189
+ # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
190
+ # unspecified, the default disk type is 'pd-standard'
191
+ # Corresponds to the JSON property `diskType`
192
+ # @return [String]
193
+ attr_accessor :disk_type
194
+
174
195
  # NodeManagement defines the set of node management services turned on for the
175
196
  # node pool.
176
197
  # Corresponds to the JSON property `management`
177
198
  # @return [Google::Apis::ContainerV1::NodeManagement]
178
199
  attr_accessor :management
179
200
 
201
+ # Minimum CPU platform to be used for NAP created node pools. The instance may
202
+ # be scheduled on the specified or newer CPU platform. Applicable values are the
203
+ # friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or
204
+ # minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify
205
+ # min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-
206
+ # cpu-platform) To unset the min cpu platform field pass "automatic" as field
207
+ # value.
208
+ # Corresponds to the JSON property `minCpuPlatform`
209
+ # @return [String]
210
+ attr_accessor :min_cpu_platform
211
+
180
212
  # Scopes that are used by NAP when creating node pools.
181
213
  # Corresponds to the JSON property `oauthScopes`
182
214
  # @return [Array<String>]
@@ -187,24 +219,25 @@ module Google
187
219
  # @return [String]
188
220
  attr_accessor :service_account
189
221
 
222
+ # A set of Shielded Instance options.
223
+ # Corresponds to the JSON property `shieldedInstanceConfig`
224
+ # @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
225
+ attr_accessor :shielded_instance_config
226
+
190
227
  # These upgrade settings control the level of parallelism and the level of
191
- # disruption caused by an upgrade.
192
- # maxUnavailable controls the number of nodes that can be simultaneously
193
- # unavailable.
194
- # maxSurge controls the number of additional nodes that can be added to the
195
- # node pool temporarily for the time of the upgrade to increase the number of
196
- # available nodes.
197
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
198
- # nodes are being upgraded at the same time).
199
- # Note: upgrades inevitably introduce some disruption since workloads need to
200
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
201
- # this holds true. (Disruption stays within the limits of
202
- # PodDisruptionBudget, if it is configured.)
203
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
204
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
205
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
206
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
207
- # there are always at least 4 nodes available.
228
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
229
+ # that can be simultaneously unavailable. maxSurge controls the number of
230
+ # additional nodes that can be added to the node pool temporarily for the time
231
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
232
+ # maxSurge) determines the level of parallelism (how many nodes are being
233
+ # upgraded at the same time). Note: upgrades inevitably introduce some
234
+ # disruption since workloads need to be moved from old nodes to new, upgraded
235
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
236
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
237
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
238
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
239
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
240
+ # same time. This ensures that there are always at least 4 nodes available.
208
241
  # Corresponds to the JSON property `upgradeSettings`
209
242
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
210
243
  attr_accessor :upgrade_settings
@@ -215,9 +248,14 @@ module Google
215
248
 
216
249
  # Update properties of this object
217
250
  def update!(**args)
251
+ @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
252
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
253
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
218
254
  @management = args[:management] if args.key?(:management)
255
+ @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
219
256
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
220
257
  @service_account = args[:service_account] if args.key?(:service_account)
258
+ @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
221
259
  @upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
222
260
  end
223
261
  end
@@ -245,8 +283,8 @@ module Google
245
283
  class BinaryAuthorization
246
284
  include Google::Apis::Core::Hashable
247
285
 
248
- # Enable Binary Authorization for this cluster. If enabled, all container
249
- # images will be validated by Binary Authorization.
286
+ # Enable Binary Authorization for this cluster. If enabled, all container images
287
+ # will be validated by Binary Authorization.
250
288
  # Corresponds to the JSON property `enabled`
251
289
  # @return [Boolean]
252
290
  attr_accessor :enabled
@@ -272,23 +310,22 @@ module Google
272
310
  # @return [String]
273
311
  attr_accessor :name
274
312
 
275
- # Deprecated. The server-assigned `name` of the operation.
276
- # This field has been deprecated and replaced by the name field.
313
+ # Deprecated. The server-assigned `name` of the operation. This field has been
314
+ # deprecated and replaced by the name field.
277
315
  # Corresponds to the JSON property `operationId`
278
316
  # @return [String]
279
317
  attr_accessor :operation_id
280
318
 
281
- # Deprecated. The Google Developers Console [project ID or project
282
- # number](https://support.google.com/cloud/answer/6158840).
283
- # This field has been deprecated and replaced by the name field.
319
+ # Deprecated. The Google Developers Console [project ID or project number](https:
320
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
321
+ # replaced by the name field.
284
322
  # Corresponds to the JSON property `projectId`
285
323
  # @return [String]
286
324
  attr_accessor :project_id
287
325
 
288
- # Deprecated. The name of the Google Compute Engine
289
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
290
- # operation resides. This field has been deprecated and replaced by the name
291
- # field.
326
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
327
+ # com/compute/docs/zones#available) in which the operation resides. This field
328
+ # has been deprecated and replaced by the name field.
292
329
  # Corresponds to the JSON property `zone`
293
330
  # @return [String]
294
331
  attr_accessor :zone
@@ -361,6 +398,11 @@ module Google
361
398
  attr_accessor :disabled
362
399
  alias_method :disabled?, :disabled
363
400
 
401
+ # Which load balancer type is installed for Cloud Run.
402
+ # Corresponds to the JSON property `loadBalancerType`
403
+ # @return [String]
404
+ attr_accessor :load_balancer_type
405
+
364
406
  def initialize(**args)
365
407
  update!(**args)
366
408
  end
@@ -368,6 +410,7 @@ module Google
368
410
  # Update properties of this object
369
411
  def update!(**args)
370
412
  @disabled = args[:disabled] if args.key?(:disabled)
413
+ @load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
371
414
  end
372
415
  end
373
416
 
@@ -375,8 +418,8 @@ module Google
375
418
  class Cluster
376
419
  include Google::Apis::Core::Hashable
377
420
 
378
- # Configuration for the addons that can be automatically spun up in the
379
- # cluster, enabling additional functionality.
421
+ # Configuration for the addons that can be automatically spun up in the cluster,
422
+ # enabling additional functionality.
380
423
  # Corresponds to the JSON property `addonsConfig`
381
424
  # @return [Google::Apis::ContainerV1::AddonsConfig]
382
425
  attr_accessor :addons_config
@@ -386,10 +429,9 @@ module Google
386
429
  # @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
387
430
  attr_accessor :authenticator_groups_config
388
431
 
389
- # ClusterAutoscaling contains global, per-cluster information
390
- # required by Cluster Autoscaler to automatically adjust
391
- # the size of the cluster and create/delete
392
- # node pools based on the current needs.
432
+ # ClusterAutoscaling contains global, per-cluster information required by
433
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
434
+ # delete node pools based on the current needs.
393
435
  # Corresponds to the JSON property `autoscaling`
394
436
  # @return [Google::Apis::ContainerV1::ClusterAutoscaling]
395
437
  attr_accessor :autoscaling
@@ -399,10 +441,10 @@ module Google
399
441
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
400
442
  attr_accessor :binary_authorization
401
443
 
402
- # The IP address range of the container pods in this cluster, in
403
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
404
- # notation (e.g. `10.96.0.0/14`). Leave blank to have
405
- # one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
444
+ # The IP address range of the container pods in this cluster, in [CIDR](http://
445
+ # en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
446
+ # 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
447
+ # in `10.0.0.0/8`.
406
448
  # Corresponds to the JSON property `clusterIpv4Cidr`
407
449
  # @return [String]
408
450
  attr_accessor :cluster_ipv4_cidr
@@ -412,8 +454,8 @@ module Google
412
454
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
413
455
  attr_accessor :conditions
414
456
 
415
- # [Output only] The time the cluster was created, in
416
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
457
+ # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
458
+ # org/rfc/rfc3339.txt) text format.
417
459
  # Corresponds to the JSON property `createTime`
418
460
  # @return [String]
419
461
  attr_accessor :create_time
@@ -423,15 +465,14 @@ module Google
423
465
  # @return [String]
424
466
  attr_accessor :current_master_version
425
467
 
426
- # [Output only] The number of nodes currently in the cluster. Deprecated.
427
- # Call Kubernetes API directly to retrieve node information.
468
+ # [Output only] The number of nodes currently in the cluster. Deprecated. Call
469
+ # Kubernetes API directly to retrieve node information.
428
470
  # Corresponds to the JSON property `currentNodeCount`
429
471
  # @return [Fixnum]
430
472
  attr_accessor :current_node_count
431
473
 
432
- # [Output only] Deprecated, use
433
- # [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/
434
- # rest/v1/projects.locations.clusters.nodePools)
474
+ # [Output only] Deprecated, use [NodePools.version](https://cloud.google.com/
475
+ # kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
435
476
  # instead. The current version of the node software components. If they are
436
477
  # currently at multiple versions because they're in the process of being
437
478
  # upgraded, this reflects the minimum version of all nodes.
@@ -454,12 +495,11 @@ module Google
454
495
  # @return [String]
455
496
  attr_accessor :description
456
497
 
457
- # Kubernetes alpha features are enabled on this cluster. This includes alpha
458
- # API groups (e.g. v1alpha1) and features that may not be production ready in
459
- # the kubernetes version of the master and nodes.
460
- # The cluster has no SLA for uptime and master/node upgrades are disabled.
461
- # Alpha enabled clusters are automatically deleted thirty days after
462
- # creation.
498
+ # Kubernetes alpha features are enabled on this cluster. This includes alpha API
499
+ # groups (e.g. v1alpha1) and features that may not be production ready in the
500
+ # kubernetes version of the master and nodes. The cluster has no SLA for uptime
501
+ # and master/node upgrades are disabled. Alpha enabled clusters are
502
+ # automatically deleted thirty days after creation.
463
503
  # Corresponds to the JSON property `enableKubernetesAlpha`
464
504
  # @return [Boolean]
465
505
  attr_accessor :enable_kubernetes_alpha
@@ -471,45 +511,41 @@ module Google
471
511
  attr_accessor :enable_tpu
472
512
  alias_method :enable_tpu?, :enable_tpu
473
513
 
474
- # [Output only] The IP address of this cluster's master endpoint.
475
- # The endpoint can be accessed from the internet at
476
- # `https://username:password@endpoint/`.
477
- # See the `masterAuth` property of this resource for username and
478
- # password information.
514
+ # [Output only] The IP address of this cluster's master endpoint. The endpoint
515
+ # can be accessed from the internet at `https://username:password@endpoint/`.
516
+ # See the `masterAuth` property of this resource for username and password
517
+ # information.
479
518
  # Corresponds to the JSON property `endpoint`
480
519
  # @return [String]
481
520
  attr_accessor :endpoint
482
521
 
483
- # [Output only] The time the cluster will be automatically
484
- # deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
522
+ # [Output only] The time the cluster will be automatically deleted in [RFC3339](
523
+ # https://www.ietf.org/rfc/rfc3339.txt) text format.
485
524
  # Corresponds to the JSON property `expireTime`
486
525
  # @return [String]
487
526
  attr_accessor :expire_time
488
527
 
489
- # The initial Kubernetes version for this cluster. Valid versions are those
490
- # found in validMasterVersions returned by getServerConfig. The version can
491
- # be upgraded over time; such upgrades are reflected in
492
- # currentMasterVersion and currentNodeVersion.
493
- # Users may specify either explicit versions offered by
494
- # Kubernetes Engine or version aliases, which have the following behavior:
495
- # - "latest": picks the highest valid Kubernetes version
496
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
497
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
498
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
499
- # - "","-": picks the default Kubernetes version
528
+ # The initial Kubernetes version for this cluster. Valid versions are those
529
+ # found in validMasterVersions returned by getServerConfig. The version can be
530
+ # upgraded over time; such upgrades are reflected in currentMasterVersion and
531
+ # currentNodeVersion. Users may specify either explicit versions offered by
532
+ # Kubernetes Engine or version aliases, which have the following behavior: - "
533
+ # latest": picks the highest valid Kubernetes version - "1.X": picks the highest
534
+ # valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
535
+ # gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
536
+ # version - "","-": picks the default Kubernetes version
500
537
  # Corresponds to the JSON property `initialClusterVersion`
501
538
  # @return [String]
502
539
  attr_accessor :initial_cluster_version
503
540
 
504
541
  # The number of nodes to create in this cluster. You must ensure that your
505
- # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
506
- # is sufficient for this number of instances. You must also have available
507
- # firewall and routes quota.
508
- # For requests, this field should only be used in lieu of a
509
- # "node_pool" object, since this configuration (along with the
510
- # "node_config") will be used to create a "NodePool" object with an
511
- # auto-generated name. Do not use this and a node_pool at the same time.
512
- # This field is deprecated, use node_pool.initial_node_count instead.
542
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
543
+ # sufficient for this number of instances. You must also have available firewall
544
+ # and routes quota. For requests, this field should only be used in lieu of a "
545
+ # node_pool" object, since this configuration (along with the "node_config")
546
+ # will be used to create a "NodePool" object with an auto-generated name. Do not
547
+ # use this and a node_pool at the same time. This field is deprecated, use
548
+ # node_pool.initial_node_count instead.
513
549
  # Corresponds to the JSON property `initialNodeCount`
514
550
  # @return [Fixnum]
515
551
  attr_accessor :initial_node_count
@@ -529,39 +565,32 @@ module Google
529
565
  # @return [String]
530
566
  attr_accessor :label_fingerprint
531
567
 
532
- # Configuration for the legacy Attribute Based Access Control authorization
533
- # mode.
568
+ # Configuration for the legacy Attribute Based Access Control authorization mode.
534
569
  # Corresponds to the JSON property `legacyAbac`
535
570
  # @return [Google::Apis::ContainerV1::LegacyAbac]
536
571
  attr_accessor :legacy_abac
537
572
 
538
- # [Output only] The name of the Google Compute Engine
539
- # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
540
- # available)
541
- # or
542
- # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
543
- # available)
573
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
574
+ # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
575
+ # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
544
576
  # in which the cluster resides.
545
577
  # Corresponds to the JSON property `location`
546
578
  # @return [String]
547
579
  attr_accessor :location
548
580
 
549
- # The list of Google Compute Engine
550
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
551
- # cluster's nodes should be located.
581
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
582
+ # docs/zones#available) in which the cluster's nodes should be located.
552
583
  # Corresponds to the JSON property `locations`
553
584
  # @return [Array<String>]
554
585
  attr_accessor :locations
555
586
 
556
- # The logging service the cluster should use to write logs.
557
- # Currently available options:
558
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
559
- # service with a Kubernetes-native resource model
560
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
561
- # available as of GKE 1.15).
562
- # * `none` - no logs will be exported from the cluster.
563
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
564
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
587
+ # The logging service the cluster should use to write logs. Currently available
588
+ # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
589
+ # with a Kubernetes-native resource model * `logging.googleapis.com` - The
590
+ # legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
591
+ # no logs will be exported from the cluster. If left as an empty string,`logging.
592
+ # googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
593
+ # com` for earlier versions.
565
594
  # Corresponds to the JSON property `loggingService`
566
595
  # @return [String]
567
596
  attr_accessor :logging_service
@@ -572,8 +601,7 @@ module Google
572
601
  attr_accessor :maintenance_policy
573
602
 
574
603
  # The authentication information for accessing the master endpoint.
575
- # Authentication can be done using HTTP basic auth or using client
576
- # certificates.
604
+ # Authentication can be done using HTTP basic auth or using client certificates.
577
605
  # Corresponds to the JSON property `masterAuth`
578
606
  # @return [Google::Apis::ContainerV1::MasterAuth]
579
607
  attr_accessor :master_auth
@@ -586,34 +614,28 @@ module Google
586
614
  # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
587
615
  attr_accessor :master_authorized_networks_config
588
616
 
589
- # The monitoring service the cluster should use to write metrics.
590
- # Currently available options:
591
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
592
- # service with a Kubernetes-native resource model
593
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
594
- # longer available as of GKE 1.15).
595
- # * `none` - No metrics will be exported from the cluster.
596
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
597
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
617
+ # The monitoring service the cluster should use to write metrics. Currently
618
+ # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
619
+ # Monitoring service with a Kubernetes-native resource model * `monitoring.
620
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
621
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
622
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
623
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
598
624
  # Corresponds to the JSON property `monitoringService`
599
625
  # @return [String]
600
626
  attr_accessor :monitoring_service
601
627
 
602
- # The name of this cluster. The name must be unique within this project
603
- # and location (e.g. zone or region), and can be up to 40 characters with
604
- # the following restrictions:
605
- # * Lowercase letters, numbers, and hyphens only.
606
- # * Must start with a letter.
607
- # * Must end with a number or a letter.
628
+ # The name of this cluster. The name must be unique within this project and
629
+ # location (e.g. zone or region), and can be up to 40 characters with the
630
+ # following restrictions: * Lowercase letters, numbers, and hyphens only. * Must
631
+ # start with a letter. * Must end with a number or a letter.
608
632
  # Corresponds to the JSON property `name`
609
633
  # @return [String]
610
634
  attr_accessor :name
611
635
 
612
- # The name of the Google Compute Engine
613
- # [network](https://cloud.google.com/compute/docs/networks-and-firewalls#
614
- # networks)
615
- # to which the cluster is connected. If left unspecified, the `default`
616
- # network will be used.
636
+ # The name of the Google Compute Engine [network](https://cloud.google.com/
637
+ # compute/docs/networks-and-firewalls#networks) to which the cluster is
638
+ # connected. If left unspecified, the `default` network will be used.
617
639
  # Corresponds to the JSON property `network`
618
640
  # @return [String]
619
641
  attr_accessor :network
@@ -623,8 +645,8 @@ module Google
623
645
  # @return [Google::Apis::ContainerV1::NetworkConfig]
624
646
  attr_accessor :network_config
625
647
 
626
- # Configuration options for the NetworkPolicy feature.
627
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
648
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
649
+ # docs/concepts/services-networking/networkpolicies/
628
650
  # Corresponds to the JSON property `networkPolicy`
629
651
  # @return [Google::Apis::ContainerV1::NetworkPolicy]
630
652
  attr_accessor :network_policy
@@ -635,16 +657,14 @@ module Google
635
657
  attr_accessor :node_config
636
658
 
637
659
  # [Output only] The size of the address space on each node for hosting
638
- # containers. This is provisioned from within the `container_ipv4_cidr`
639
- # range. This field will only be set when cluster is in route-based network
640
- # mode.
660
+ # containers. This is provisioned from within the `container_ipv4_cidr` range.
661
+ # This field will only be set when cluster is in route-based network mode.
641
662
  # Corresponds to the JSON property `nodeIpv4CidrSize`
642
663
  # @return [Fixnum]
643
664
  attr_accessor :node_ipv4_cidr_size
644
665
 
645
- # The node pools associated with this cluster.
646
- # This field should not be set if "node_config" or "initial_node_count" are
647
- # specified.
666
+ # The node pools associated with this cluster. This field should not be set if "
667
+ # node_config" or "initial_node_count" are specified.
648
668
  # Corresponds to the JSON property `nodePools`
649
669
  # @return [Array<Google::Apis::ContainerV1::NodePool>]
650
670
  attr_accessor :node_pools
@@ -654,17 +674,16 @@ module Google
654
674
  # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
655
675
  attr_accessor :private_cluster_config
656
676
 
657
- # ReleaseChannel indicates which release channel a cluster is
658
- # subscribed to. Release channels are arranged in order of risk.
659
- # When a cluster is subscribed to a release channel, Google maintains
660
- # both the master version and the node version. Node auto-upgrade
661
- # defaults to true and cannot be disabled.
677
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
678
+ # Release channels are arranged in order of risk. When a cluster is subscribed
679
+ # to a release channel, Google maintains both the master version and the node
680
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
662
681
  # Corresponds to the JSON property `releaseChannel`
663
682
  # @return [Google::Apis::ContainerV1::ReleaseChannel]
664
683
  attr_accessor :release_channel
665
684
 
666
- # The resource labels for the cluster to use to annotate any related
667
- # Google Compute Engine resources.
685
+ # The resource labels for the cluster to use to annotate any related Google
686
+ # Compute Engine resources.
668
687
  # Corresponds to the JSON property `resourceLabels`
669
688
  # @return [Hash<String,String>]
670
689
  attr_accessor :resource_labels
@@ -679,11 +698,10 @@ module Google
679
698
  # @return [String]
680
699
  attr_accessor :self_link
681
700
 
682
- # [Output only] The IP address range of the Kubernetes services in
683
- # this cluster, in
684
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
685
- # notation (e.g. `1.2.3.4/29`). Service addresses are
686
- # typically put in the last `/16` from the container CIDR.
701
+ # [Output only] The IP address range of the Kubernetes services in this cluster,
702
+ # in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
703
+ # notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
704
+ # /16` from the container CIDR.
687
705
  # Corresponds to the JSON property `servicesIpv4Cidr`
688
706
  # @return [String]
689
707
  attr_accessor :services_ipv4_cidr
@@ -698,42 +716,40 @@ module Google
698
716
  # @return [String]
699
717
  attr_accessor :status
700
718
 
701
- # [Output only] Additional information about the current status of this
702
- # cluster, if available.
719
+ # [Output only] Additional information about the current status of this cluster,
720
+ # if available.
703
721
  # Corresponds to the JSON property `statusMessage`
704
722
  # @return [String]
705
723
  attr_accessor :status_message
706
724
 
707
- # The name of the Google Compute Engine
708
- # [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
709
- # the cluster is connected.
725
+ # The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
726
+ # compute/docs/subnetworks) to which the cluster is connected.
710
727
  # Corresponds to the JSON property `subnetwork`
711
728
  # @return [String]
712
729
  attr_accessor :subnetwork
713
730
 
714
- # [Output only] The IP address range of the Cloud TPUs in this cluster, in
715
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
716
- # notation (e.g. `1.2.3.4/29`).
731
+ # [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR]
732
+ # (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
733
+ # 1.2.3.4/29`).
717
734
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
718
735
  # @return [String]
719
736
  attr_accessor :tpu_ipv4_cidr_block
720
737
 
721
- # VerticalPodAutoscaling contains global, per-cluster information
722
- # required by Vertical Pod Autoscaler to automatically adjust
723
- # the resources of pods controlled by it.
738
+ # VerticalPodAutoscaling contains global, per-cluster information required by
739
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
740
+ # controlled by it.
724
741
  # Corresponds to the JSON property `verticalPodAutoscaling`
725
742
  # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
726
743
  attr_accessor :vertical_pod_autoscaling
727
744
 
728
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
729
- # policies.
745
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
730
746
  # Corresponds to the JSON property `workloadIdentityConfig`
731
747
  # @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
732
748
  attr_accessor :workload_identity_config
733
749
 
734
- # [Output only] The name of the Google Compute Engine
735
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
736
- # cluster resides. This field is deprecated, use location instead.
750
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
751
+ # google.com/compute/docs/zones#available) in which the cluster resides. This
752
+ # field is deprecated, use location instead.
737
753
  # Corresponds to the JSON property `zone`
738
754
  # @return [String]
739
755
  attr_accessor :zone
@@ -798,22 +814,20 @@ module Google
798
814
  end
799
815
  end
800
816
 
801
- # ClusterAutoscaling contains global, per-cluster information
802
- # required by Cluster Autoscaler to automatically adjust
803
- # the size of the cluster and create/delete
804
- # node pools based on the current needs.
817
+ # ClusterAutoscaling contains global, per-cluster information required by
818
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
819
+ # delete node pools based on the current needs.
805
820
  class ClusterAutoscaling
806
821
  include Google::Apis::Core::Hashable
807
822
 
808
- # The list of Google Compute Engine
809
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
810
- # NodePool's nodes can be created by NAP.
823
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
824
+ # docs/zones#available) in which the NodePool's nodes can be created by NAP.
811
825
  # Corresponds to the JSON property `autoprovisioningLocations`
812
826
  # @return [Array<String>]
813
827
  attr_accessor :autoprovisioning_locations
814
828
 
815
- # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
816
- # by NAP.
829
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
830
+ # NAP.
817
831
  # Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
818
832
  # @return [Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults]
819
833
  attr_accessor :autoprovisioning_node_pool_defaults
@@ -824,8 +838,8 @@ module Google
824
838
  attr_accessor :enable_node_autoprovisioning
825
839
  alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
826
840
 
827
- # Contains global constraints regarding minimum and maximum
828
- # amount of resources in the cluster.
841
+ # Contains global constraints regarding minimum and maximum amount of resources
842
+ # in the cluster.
829
843
  # Corresponds to the JSON property `resourceLimits`
830
844
  # @return [Array<Google::Apis::ContainerV1::ResourceLimit>]
831
845
  attr_accessor :resource_limits
@@ -843,14 +857,13 @@ module Google
843
857
  end
844
858
  end
845
859
 
846
- # ClusterUpdate describes an update to the cluster. Exactly one update can
847
- # be applied to a cluster with each request, so at most one field can be
848
- # provided.
860
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
861
+ # applied to a cluster with each request, so at most one field can be provided.
849
862
  class ClusterUpdate
850
863
  include Google::Apis::Core::Hashable
851
864
 
852
- # Configuration for the addons that can be automatically spun up in the
853
- # cluster, enabling additional functionality.
865
+ # Configuration for the addons that can be automatically spun up in the cluster,
866
+ # enabling additional functionality.
854
867
  # Corresponds to the JSON property `desiredAddonsConfig`
855
868
  # @return [Google::Apis::ContainerV1::AddonsConfig]
856
869
  attr_accessor :desired_addons_config
@@ -860,10 +873,9 @@ module Google
860
873
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
861
874
  attr_accessor :desired_binary_authorization
862
875
 
863
- # ClusterAutoscaling contains global, per-cluster information
864
- # required by Cluster Autoscaler to automatically adjust
865
- # the size of the cluster and create/delete
866
- # node pools based on the current needs.
876
+ # ClusterAutoscaling contains global, per-cluster information required by
877
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
878
+ # delete node pools based on the current needs.
867
879
  # Corresponds to the JSON property `desiredClusterAutoscaling`
868
880
  # @return [Google::Apis::ContainerV1::ClusterAutoscaling]
869
881
  attr_accessor :desired_cluster_autoscaling
@@ -873,8 +885,14 @@ module Google
873
885
  # @return [Google::Apis::ContainerV1::DatabaseEncryption]
874
886
  attr_accessor :desired_database_encryption
875
887
 
876
- # The desired image type for the node pool.
877
- # NOTE: Set the "desired_node_pool" field as well.
888
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
889
+ # disabled on the cluster.
890
+ # Corresponds to the JSON property `desiredDefaultSnatStatus`
891
+ # @return [Google::Apis::ContainerV1::DefaultSnatStatus]
892
+ attr_accessor :desired_default_snat_status
893
+
894
+ # The desired image type for the node pool. NOTE: Set the "desired_node_pool"
895
+ # field as well.
878
896
  # Corresponds to the JSON property `desiredImageType`
879
897
  # @return [String]
880
898
  attr_accessor :desired_image_type
@@ -885,25 +903,22 @@ module Google
885
903
  # @return [Google::Apis::ContainerV1::IntraNodeVisibilityConfig]
886
904
  attr_accessor :desired_intra_node_visibility_config
887
905
 
888
- # The desired list of Google Compute Engine
889
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
890
- # cluster's nodes should be located. Changing the locations a cluster is in
891
- # will result in nodes being either created or removed from the cluster,
892
- # depending on whether locations are being added or removed.
893
- # This list must always include the cluster's primary zone.
906
+ # The desired list of Google Compute Engine [zones](https://cloud.google.com/
907
+ # compute/docs/zones#available) in which the cluster's nodes should be located.
908
+ # Changing the locations a cluster is in will result in nodes being either
909
+ # created or removed from the cluster, depending on whether locations are being
910
+ # added or removed. This list must always include the cluster's primary zone.
894
911
  # Corresponds to the JSON property `desiredLocations`
895
912
  # @return [Array<String>]
896
913
  attr_accessor :desired_locations
897
914
 
898
- # The logging service the cluster should use to write logs.
899
- # Currently available options:
900
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
901
- # service with a Kubernetes-native resource model
902
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
903
- # available as of GKE 1.15).
904
- # * `none` - no logs will be exported from the cluster.
905
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
906
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
915
+ # The logging service the cluster should use to write logs. Currently available
916
+ # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
917
+ # with a Kubernetes-native resource model * `logging.googleapis.com` - The
918
+ # legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
919
+ # no logs will be exported from the cluster. If left as an empty string,`logging.
920
+ # googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
921
+ # com` for earlier versions.
907
922
  # Corresponds to the JSON property `desiredLoggingService`
908
923
  # @return [String]
909
924
  attr_accessor :desired_logging_service
@@ -916,27 +931,24 @@ module Google
916
931
  # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
917
932
  attr_accessor :desired_master_authorized_networks_config
918
933
 
919
- # The Kubernetes version to change the master to.
920
- # Users may specify either explicit versions offered by
921
- # Kubernetes Engine or version aliases, which have the following behavior:
922
- # - "latest": picks the highest valid Kubernetes version
923
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
924
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
925
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
926
- # - "-": picks the default Kubernetes version
934
+ # The Kubernetes version to change the master to. Users may specify either
935
+ # explicit versions offered by Kubernetes Engine or version aliases, which have
936
+ # the following behavior: - "latest": picks the highest valid Kubernetes version
937
+ # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y"
938
+ # : picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N":
939
+ # picks an explicit Kubernetes version - "-": picks the default Kubernetes
940
+ # version
927
941
  # Corresponds to the JSON property `desiredMasterVersion`
928
942
  # @return [String]
929
943
  attr_accessor :desired_master_version
930
944
 
931
- # The monitoring service the cluster should use to write metrics.
932
- # Currently available options:
933
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
934
- # service with a Kubernetes-native resource model
935
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
936
- # longer available as of GKE 1.15).
937
- # * `none` - No metrics will be exported from the cluster.
938
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
939
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
945
+ # The monitoring service the cluster should use to write metrics. Currently
946
+ # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
947
+ # Monitoring service with a Kubernetes-native resource model * `monitoring.
948
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
949
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
950
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
951
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
940
952
  # Corresponds to the JSON property `desiredMonitoringService`
941
953
  # @return [String]
942
954
  attr_accessor :desired_monitoring_service
@@ -947,32 +959,33 @@ module Google
947
959
  # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
948
960
  attr_accessor :desired_node_pool_autoscaling
949
961
 
950
- # The node pool to be upgraded. This field is mandatory if
951
- # "desired_node_version", "desired_image_family" or
952
- # "desired_node_pool_autoscaling" is specified and there is more than one
953
- # node pool on the cluster.
962
+ # The node pool to be upgraded. This field is mandatory if "desired_node_version"
963
+ # , "desired_image_family" or "desired_node_pool_autoscaling" is specified and
964
+ # there is more than one node pool on the cluster.
954
965
  # Corresponds to the JSON property `desiredNodePoolId`
955
966
  # @return [String]
956
967
  attr_accessor :desired_node_pool_id
957
968
 
958
- # The Kubernetes version to change the nodes to (typically an
959
- # upgrade).
960
- # Users may specify either explicit versions offered by
961
- # Kubernetes Engine or version aliases, which have the following behavior:
962
- # - "latest": picks the highest valid Kubernetes version
963
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
964
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
965
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
966
- # - "-": picks the Kubernetes master version
969
+ # The Kubernetes version to change the nodes to (typically an upgrade). Users
970
+ # may specify either explicit versions offered by Kubernetes Engine or version
971
+ # aliases, which have the following behavior: - "latest": picks the highest
972
+ # valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in
973
+ # the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y
974
+ # version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the
975
+ # Kubernetes master version
967
976
  # Corresponds to the JSON property `desiredNodeVersion`
968
977
  # @return [String]
969
978
  attr_accessor :desired_node_version
970
979
 
971
- # ReleaseChannel indicates which release channel a cluster is
972
- # subscribed to. Release channels are arranged in order of risk.
973
- # When a cluster is subscribed to a release channel, Google maintains
974
- # both the master version and the node version. Node auto-upgrade
975
- # defaults to true and cannot be disabled.
980
+ # Configuration options for private clusters.
981
+ # Corresponds to the JSON property `desiredPrivateClusterConfig`
982
+ # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
983
+ attr_accessor :desired_private_cluster_config
984
+
985
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
986
+ # Release channels are arranged in order of risk. When a cluster is subscribed
987
+ # to a release channel, Google maintains both the master version and the node
988
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
976
989
  # Corresponds to the JSON property `desiredReleaseChannel`
977
990
  # @return [Google::Apis::ContainerV1::ReleaseChannel]
978
991
  attr_accessor :desired_release_channel
@@ -987,15 +1000,14 @@ module Google
987
1000
  # @return [Google::Apis::ContainerV1::ShieldedNodes]
988
1001
  attr_accessor :desired_shielded_nodes
989
1002
 
990
- # VerticalPodAutoscaling contains global, per-cluster information
991
- # required by Vertical Pod Autoscaler to automatically adjust
992
- # the resources of pods controlled by it.
1003
+ # VerticalPodAutoscaling contains global, per-cluster information required by
1004
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
1005
+ # controlled by it.
993
1006
  # Corresponds to the JSON property `desiredVerticalPodAutoscaling`
994
1007
  # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
995
1008
  attr_accessor :desired_vertical_pod_autoscaling
996
1009
 
997
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
998
- # policies.
1010
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
999
1011
  # Corresponds to the JSON property `desiredWorkloadIdentityConfig`
1000
1012
  # @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
1001
1013
  attr_accessor :desired_workload_identity_config
@@ -1010,6 +1022,7 @@ module Google
1010
1022
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1011
1023
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1012
1024
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
1025
+ @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1013
1026
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1014
1027
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1015
1028
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
@@ -1020,6 +1033,7 @@ module Google
1020
1033
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1021
1034
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1022
1035
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
1036
+ @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
1023
1037
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1024
1038
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1025
1039
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
@@ -1032,8 +1046,8 @@ module Google
1032
1046
  class CompleteIpRotationRequest
1033
1047
  include Google::Apis::Core::Hashable
1034
1048
 
1035
- # Deprecated. The name of the cluster.
1036
- # This field has been deprecated and replaced by the name field.
1049
+ # Deprecated. The name of the cluster. This field has been deprecated and
1050
+ # replaced by the name field.
1037
1051
  # Corresponds to the JSON property `clusterId`
1038
1052
  # @return [String]
1039
1053
  attr_accessor :cluster_id
@@ -1044,17 +1058,16 @@ module Google
1044
1058
  # @return [String]
1045
1059
  attr_accessor :name
1046
1060
 
1047
- # Deprecated. The Google Developers Console [project ID or project
1048
- # number](https://developers.google.com/console/help/new/#projectnumber).
1049
- # This field has been deprecated and replaced by the name field.
1061
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1062
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
1063
+ # deprecated and replaced by the name field.
1050
1064
  # Corresponds to the JSON property `projectId`
1051
1065
  # @return [String]
1052
1066
  attr_accessor :project_id
1053
1067
 
1054
- # Deprecated. The name of the Google Compute Engine
1055
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1056
- # cluster resides. This field has been deprecated and replaced by the name
1057
- # field.
1068
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1069
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1070
+ # been deprecated and replaced by the name field.
1058
1071
  # Corresponds to the JSON property `zone`
1059
1072
  # @return [String]
1060
1073
  attr_accessor :zone
@@ -1096,9 +1109,8 @@ module Google
1096
1109
  class ConsumptionMeteringConfig
1097
1110
  include Google::Apis::Core::Hashable
1098
1111
 
1099
- # Whether to enable consumption metering for this cluster. If enabled, a
1100
- # second BigQuery table will be created to hold resource consumption
1101
- # records.
1112
+ # Whether to enable consumption metering for this cluster. If enabled, a second
1113
+ # BigQuery table will be created to hold resource consumption records.
1102
1114
  # Corresponds to the JSON property `enabled`
1103
1115
  # @return [Boolean]
1104
1116
  attr_accessor :enabled
@@ -1123,23 +1135,22 @@ module Google
1123
1135
  # @return [Google::Apis::ContainerV1::Cluster]
1124
1136
  attr_accessor :cluster
1125
1137
 
1126
- # The parent (project and location) where the cluster will be created.
1127
- # Specified in the format `projects/*/locations/*`.
1138
+ # The parent (project and location) where the cluster will be created. Specified
1139
+ # in the format `projects/*/locations/*`.
1128
1140
  # Corresponds to the JSON property `parent`
1129
1141
  # @return [String]
1130
1142
  attr_accessor :parent
1131
1143
 
1132
- # Deprecated. The Google Developers Console [project ID or project
1133
- # number](https://support.google.com/cloud/answer/6158840).
1134
- # This field has been deprecated and replaced by the parent field.
1144
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1145
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
1146
+ # replaced by the parent field.
1135
1147
  # Corresponds to the JSON property `projectId`
1136
1148
  # @return [String]
1137
1149
  attr_accessor :project_id
1138
1150
 
1139
- # Deprecated. The name of the Google Compute Engine
1140
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1141
- # cluster resides. This field has been deprecated and replaced by the parent
1142
- # field.
1151
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1152
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1153
+ # been deprecated and replaced by the parent field.
1143
1154
  # Corresponds to the JSON property `zone`
1144
1155
  # @return [String]
1145
1156
  attr_accessor :zone
@@ -1161,40 +1172,38 @@ module Google
1161
1172
  class CreateNodePoolRequest
1162
1173
  include Google::Apis::Core::Hashable
1163
1174
 
1164
- # Deprecated. The name of the cluster.
1165
- # This field has been deprecated and replaced by the parent field.
1175
+ # Deprecated. The name of the cluster. This field has been deprecated and
1176
+ # replaced by the parent field.
1166
1177
  # Corresponds to the JSON property `clusterId`
1167
1178
  # @return [String]
1168
1179
  attr_accessor :cluster_id
1169
1180
 
1170
- # NodePool contains the name and configuration for a cluster's node pool.
1171
- # Node pools are a set of nodes (i.e. VM's), with a common configuration and
1172
- # specification, under the control of the cluster master. They may have a set
1173
- # of Kubernetes labels applied to them, which may be used to reference them
1174
- # during pod scheduling. They may also be resized up or down, to accommodate
1175
- # the workload.
1181
+ # NodePool contains the name and configuration for a cluster's node pool. Node
1182
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
1183
+ # specification, under the control of the cluster master. They may have a set of
1184
+ # Kubernetes labels applied to them, which may be used to reference them during
1185
+ # pod scheduling. They may also be resized up or down, to accommodate the
1186
+ # workload.
1176
1187
  # Corresponds to the JSON property `nodePool`
1177
1188
  # @return [Google::Apis::ContainerV1::NodePool]
1178
1189
  attr_accessor :node_pool
1179
1190
 
1180
- # The parent (project, location, cluster id) where the node pool will be
1181
- # created. Specified in the format
1182
- # `projects/*/locations/*/clusters/*`.
1191
+ # The parent (project, location, cluster id) where the node pool will be created.
1192
+ # Specified in the format `projects/*/locations/*/clusters/*`.
1183
1193
  # Corresponds to the JSON property `parent`
1184
1194
  # @return [String]
1185
1195
  attr_accessor :parent
1186
1196
 
1187
- # Deprecated. The Google Developers Console [project ID or project
1188
- # number](https://developers.google.com/console/help/new/#projectnumber).
1189
- # This field has been deprecated and replaced by the parent field.
1197
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1198
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
1199
+ # deprecated and replaced by the parent field.
1190
1200
  # Corresponds to the JSON property `projectId`
1191
1201
  # @return [String]
1192
1202
  attr_accessor :project_id
1193
1203
 
1194
- # Deprecated. The name of the Google Compute Engine
1195
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1196
- # cluster resides. This field has been deprecated and replaced by the parent
1197
- # field.
1204
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1205
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1206
+ # been deprecated and replaced by the parent field.
1198
1207
  # Corresponds to the JSON property `zone`
1199
1208
  # @return [String]
1200
1209
  attr_accessor :zone
@@ -1217,17 +1226,16 @@ module Google
1217
1226
  class DailyMaintenanceWindow
1218
1227
  include Google::Apis::Core::Hashable
1219
1228
 
1220
- # [Output only] Duration of the time window, automatically chosen to be
1221
- # smallest possible in the given scenario.
1222
- # Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
1223
- # format "PTnHnMnS".
1229
+ # [Output only] Duration of the time window, automatically chosen to be smallest
1230
+ # possible in the given scenario. Duration will be in [RFC3339](https://www.ietf.
1231
+ # org/rfc/rfc3339.txt) format "PTnHnMnS".
1224
1232
  # Corresponds to the JSON property `duration`
1225
1233
  # @return [String]
1226
1234
  attr_accessor :duration
1227
1235
 
1228
- # Time within the maintenance window to start the maintenance operations.
1229
- # Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
1230
- # format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
1236
+ # Time within the maintenance window to start the maintenance operations. Time
1237
+ # format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "HH:
1238
+ # MM", where HH : [00-23] and MM : [00-59] GMT.
1231
1239
  # Corresponds to the JSON property `startTime`
1232
1240
  # @return [String]
1233
1241
  attr_accessor :start_time
@@ -1247,8 +1255,8 @@ module Google
1247
1255
  class DatabaseEncryption
1248
1256
  include Google::Apis::Core::Hashable
1249
1257
 
1250
- # Name of CloudKMS key to use for the encryption of secrets in etcd.
1251
- # Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1258
+ # Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
1259
+ # projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1252
1260
  # Corresponds to the JSON property `keyName`
1253
1261
  # @return [String]
1254
1262
  attr_accessor :key_name
@@ -1269,6 +1277,27 @@ module Google
1269
1277
  end
1270
1278
  end
1271
1279
 
1280
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
1281
+ # disabled on the cluster.
1282
+ class DefaultSnatStatus
1283
+ include Google::Apis::Core::Hashable
1284
+
1285
+ # Disables cluster default sNAT rules.
1286
+ # Corresponds to the JSON property `disabled`
1287
+ # @return [Boolean]
1288
+ attr_accessor :disabled
1289
+ alias_method :disabled?, :disabled
1290
+
1291
+ def initialize(**args)
1292
+ update!(**args)
1293
+ end
1294
+
1295
+ # Update properties of this object
1296
+ def update!(**args)
1297
+ @disabled = args[:disabled] if args.key?(:disabled)
1298
+ end
1299
+ end
1300
+
1272
1301
  # Configuration for NodeLocal DNSCache
1273
1302
  class DnsCacheConfig
1274
1303
  include Google::Apis::Core::Hashable
@@ -1289,13 +1318,11 @@ module Google
1289
1318
  end
1290
1319
  end
1291
1320
 
1292
- # A generic empty message that you can re-use to avoid defining duplicated
1293
- # empty messages in your APIs. A typical example is to use it as the request
1294
- # or the response type of an API method. For instance:
1295
- # service Foo `
1296
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1297
- # `
1298
- # The JSON representation for `Empty` is empty JSON object ````.
1321
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1322
+ # messages in your APIs. A typical example is to use it as the request or the
1323
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1324
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1325
+ # `Empty` is empty JSON object ````.
1299
1326
  class Empty
1300
1327
  include Google::Apis::Core::Hashable
1301
1328
 
@@ -1317,8 +1344,7 @@ module Google
1317
1344
  # @return [Google::Apis::ContainerV1::HttpCacheControlResponseHeader]
1318
1345
  attr_accessor :cache_header
1319
1346
 
1320
- # The public component of the keys used by the cluster to sign token
1321
- # requests.
1347
+ # The public component of the keys used by the cluster to sign token requests.
1322
1348
  # Corresponds to the JSON property `keys`
1323
1349
  # @return [Array<Google::Apis::ContainerV1::Jwk>]
1324
1350
  attr_accessor :keys
@@ -1334,8 +1360,8 @@ module Google
1334
1360
  end
1335
1361
  end
1336
1362
 
1337
- # GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
1338
- # See the OpenID Connect Discovery 1.0 specification for details.
1363
+ # GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the
1364
+ # OpenID Connect Discovery 1.0 specification for details.
1339
1365
  class GetOpenIdConfigResponse
1340
1366
  include Google::Apis::Core::Hashable
1341
1367
 
@@ -1397,14 +1423,13 @@ module Google
1397
1423
  end
1398
1424
 
1399
1425
  # Configuration options for the horizontal pod autoscaling feature, which
1400
- # increases or decreases the number of replica pods a replication controller
1401
- # has based on the resource usage of the existing pods.
1426
+ # increases or decreases the number of replica pods a replication controller has
1427
+ # based on the resource usage of the existing pods.
1402
1428
  class HorizontalPodAutoscaling
1403
1429
  include Google::Apis::Core::Hashable
1404
1430
 
1405
- # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
1406
- # When enabled, it ensures that metrics are collected into Stackdriver
1407
- # Monitoring.
1431
+ # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
1432
+ # enabled, it ensures that metrics are collected into Stackdriver Monitoring.
1408
1433
  # Corresponds to the JSON property `disabled`
1409
1434
  # @return [Boolean]
1410
1435
  attr_accessor :disabled
@@ -1451,14 +1476,13 @@ module Google
1451
1476
  end
1452
1477
  end
1453
1478
 
1454
- # Configuration options for the HTTP (L7) load balancing controller addon,
1455
- # which makes it easy to set up HTTP load balancers for services in a cluster.
1479
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
1480
+ # makes it easy to set up HTTP load balancers for services in a cluster.
1456
1481
  class HttpLoadBalancing
1457
1482
  include Google::Apis::Core::Hashable
1458
1483
 
1459
- # Whether the HTTP Load Balancing controller is enabled in the cluster.
1460
- # When enabled, it runs a small pod in the cluster that manages the load
1461
- # balancers.
1484
+ # Whether the HTTP Load Balancing controller is enabled in the cluster. When
1485
+ # enabled, it runs a small pod in the cluster that manages the load balancers.
1462
1486
  # Corresponds to the JSON property `disabled`
1463
1487
  # @return [Boolean]
1464
1488
  attr_accessor :disabled
@@ -1483,33 +1507,28 @@ module Google
1483
1507
  # @return [String]
1484
1508
  attr_accessor :cluster_ipv4_cidr
1485
1509
 
1486
- # The IP address range for the cluster pod IPs. If this field is set, then
1487
- # `cluster.cluster_ipv4_cidr` must be left blank.
1488
- # This field is only applicable when `use_ip_aliases` is true.
1489
- # Set to blank to have a range chosen with the default size.
1490
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1491
- # netmask.
1492
- # Set to a
1493
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1494
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1495
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1496
- # to use.
1510
+ # The IP address range for the cluster pod IPs. If this field is set, then `
1511
+ # cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable
1512
+ # when `use_ip_aliases` is true. Set to blank to have a range chosen with the
1513
+ # default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1514
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1515
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1516
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1517
+ # specific range to use.
1497
1518
  # Corresponds to the JSON property `clusterIpv4CidrBlock`
1498
1519
  # @return [String]
1499
1520
  attr_accessor :cluster_ipv4_cidr_block
1500
1521
 
1501
- # The name of the secondary range to be used for the cluster CIDR
1502
- # block. The secondary range will be used for pod IP
1503
- # addresses. This must be an existing secondary range associated
1504
- # with the cluster subnetwork.
1505
- # This field is only applicable with use_ip_aliases is true and
1506
- # create_subnetwork is false.
1522
+ # The name of the secondary range to be used for the cluster CIDR block. The
1523
+ # secondary range will be used for pod IP addresses. This must be an existing
1524
+ # secondary range associated with the cluster subnetwork. This field is only
1525
+ # applicable with use_ip_aliases is true and create_subnetwork is false.
1507
1526
  # Corresponds to the JSON property `clusterSecondaryRangeName`
1508
1527
  # @return [String]
1509
1528
  attr_accessor :cluster_secondary_range_name
1510
1529
 
1511
- # Whether a new subnetwork will be created automatically for the cluster.
1512
- # This field is only applicable when `use_ip_aliases` is true.
1530
+ # Whether a new subnetwork will be created automatically for the cluster. This
1531
+ # field is only applicable when `use_ip_aliases` is true.
1513
1532
  # Corresponds to the JSON property `createSubnetwork`
1514
1533
  # @return [Boolean]
1515
1534
  attr_accessor :create_subnetwork
@@ -1520,16 +1539,13 @@ module Google
1520
1539
  # @return [String]
1521
1540
  attr_accessor :node_ipv4_cidr
1522
1541
 
1523
- # The IP address range of the instance IPs in this cluster.
1524
- # This is applicable only if `create_subnetwork` is true.
1525
- # Set to blank to have a range chosen with the default size.
1526
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1527
- # netmask.
1528
- # Set to a
1529
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1530
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1531
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1532
- # to use.
1542
+ # The IP address range of the instance IPs in this cluster. This is applicable
1543
+ # only if `create_subnetwork` is true. Set to blank to have a range chosen with
1544
+ # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1545
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1546
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1547
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1548
+ # specific range to use.
1533
1549
  # Corresponds to the JSON property `nodeIpv4CidrBlock`
1534
1550
  # @return [String]
1535
1551
  attr_accessor :node_ipv4_cidr_block
@@ -1540,58 +1556,61 @@ module Google
1540
1556
  attr_accessor :services_ipv4_cidr
1541
1557
 
1542
1558
  # The IP address range of the services IPs in this cluster. If blank, a range
1543
- # will be automatically chosen with the default size.
1544
- # This field is only applicable when `use_ip_aliases` is true.
1545
- # Set to blank to have a range chosen with the default size.
1546
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1547
- # netmask.
1548
- # Set to a
1549
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1550
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1551
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1552
- # to use.
1559
+ # will be automatically chosen with the default size. This field is only
1560
+ # applicable when `use_ip_aliases` is true. Set to blank to have a range chosen
1561
+ # with the default size. Set to /netmask (e.g. `/14`) to have a range chosen
1562
+ # with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/
1563
+ # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
1564
+ # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
1565
+ # to pick a specific range to use.
1553
1566
  # Corresponds to the JSON property `servicesIpv4CidrBlock`
1554
1567
  # @return [String]
1555
1568
  attr_accessor :services_ipv4_cidr_block
1556
1569
 
1557
- # The name of the secondary range to be used as for the services
1558
- # CIDR block. The secondary range will be used for service
1559
- # ClusterIPs. This must be an existing secondary range associated
1560
- # with the cluster subnetwork.
1561
- # This field is only applicable with use_ip_aliases is true and
1562
- # create_subnetwork is false.
1570
+ # The name of the secondary range to be used as for the services CIDR block. The
1571
+ # secondary range will be used for service ClusterIPs. This must be an existing
1572
+ # secondary range associated with the cluster subnetwork. This field is only
1573
+ # applicable with use_ip_aliases is true and create_subnetwork is false.
1563
1574
  # Corresponds to the JSON property `servicesSecondaryRangeName`
1564
1575
  # @return [String]
1565
1576
  attr_accessor :services_secondary_range_name
1566
1577
 
1567
- # A custom subnetwork name to be used if `create_subnetwork` is true. If
1568
- # this field is empty, then an automatic name will be chosen for the new
1569
- # subnetwork.
1578
+ # A custom subnetwork name to be used if `create_subnetwork` is true. If this
1579
+ # field is empty, then an automatic name will be chosen for the new subnetwork.
1570
1580
  # Corresponds to the JSON property `subnetworkName`
1571
1581
  # @return [String]
1572
1582
  attr_accessor :subnetwork_name
1573
1583
 
1574
1584
  # The IP address range of the Cloud TPUs in this cluster. If unspecified, a
1575
- # range will be automatically chosen with the default size.
1576
- # This field is only applicable when `use_ip_aliases` is true.
1577
- # If unspecified, the range will use the default size.
1578
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1579
- # netmask.
1580
- # Set to a
1581
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1582
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1583
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1584
- # to use.
1585
+ # range will be automatically chosen with the default size. This field is only
1586
+ # applicable when `use_ip_aliases` is true. If unspecified, the range will use
1587
+ # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1588
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1589
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1590
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1591
+ # specific range to use.
1585
1592
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
1586
1593
  # @return [String]
1587
1594
  attr_accessor :tpu_ipv4_cidr_block
1588
1595
 
1589
- # Whether alias IPs will be used for pod IPs in the cluster.
1596
+ # Whether alias IPs will be used for pod IPs in the cluster. This is used in
1597
+ # conjunction with use_routes. It cannot be true if use_routes is true. If both
1598
+ # use_ip_aliases and use_routes are false, then the server picks the default IP
1599
+ # allocation mode
1590
1600
  # Corresponds to the JSON property `useIpAliases`
1591
1601
  # @return [Boolean]
1592
1602
  attr_accessor :use_ip_aliases
1593
1603
  alias_method :use_ip_aliases?, :use_ip_aliases
1594
1604
 
1605
+ # Whether routes will be used for pod IPs in the cluster. This is used in
1606
+ # conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true.
1607
+ # If both use_ip_aliases and use_routes are false, then the server picks the
1608
+ # default IP allocation mode
1609
+ # Corresponds to the JSON property `useRoutes`
1610
+ # @return [Boolean]
1611
+ attr_accessor :use_routes
1612
+ alias_method :use_routes?, :use_routes
1613
+
1595
1614
  def initialize(**args)
1596
1615
  update!(**args)
1597
1616
  end
@@ -1610,6 +1629,7 @@ module Google
1610
1629
  @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
1611
1630
  @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
1612
1631
  @use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
1632
+ @use_routes = args[:use_routes] if args.key?(:use_routes)
1613
1633
  end
1614
1634
  end
1615
1635
 
@@ -1721,15 +1741,14 @@ module Google
1721
1741
  end
1722
1742
  end
1723
1743
 
1724
- # Configuration for the legacy Attribute Based Access Control authorization
1725
- # mode.
1744
+ # Configuration for the legacy Attribute Based Access Control authorization mode.
1726
1745
  class LegacyAbac
1727
1746
  include Google::Apis::Core::Hashable
1728
1747
 
1729
1748
  # Whether the ABAC authorizer is enabled for this cluster. When enabled,
1730
- # identities in the system, including service accounts, nodes, and
1731
- # controllers, will have statically granted permissions beyond those
1732
- # provided by the RBAC configuration or IAM.
1749
+ # identities in the system, including service accounts, nodes, and controllers,
1750
+ # will have statically granted permissions beyond those provided by the RBAC
1751
+ # configuration or IAM.
1733
1752
  # Corresponds to the JSON property `enabled`
1734
1753
  # @return [Boolean]
1735
1754
  attr_accessor :enabled
@@ -1749,14 +1768,13 @@ module Google
1749
1768
  class ListClustersResponse
1750
1769
  include Google::Apis::Core::Hashable
1751
1770
 
1752
- # A list of clusters in the project in the specified zone, or
1753
- # across all ones.
1771
+ # A list of clusters in the project in the specified zone, or across all ones.
1754
1772
  # Corresponds to the JSON property `clusters`
1755
1773
  # @return [Array<Google::Apis::ContainerV1::Cluster>]
1756
1774
  attr_accessor :clusters
1757
1775
 
1758
- # If any zones are listed here, the list of clusters returned
1759
- # may be missing those zones.
1776
+ # If any zones are listed here, the list of clusters returned may be missing
1777
+ # those zones.
1760
1778
  # Corresponds to the JSON property `missingZones`
1761
1779
  # @return [Array<String>]
1762
1780
  attr_accessor :missing_zones
@@ -1795,8 +1813,8 @@ module Google
1795
1813
  class ListOperationsResponse
1796
1814
  include Google::Apis::Core::Hashable
1797
1815
 
1798
- # If any zones are listed here, the list of operations returned
1799
- # may be missing the operations from those zones.
1816
+ # If any zones are listed here, the list of operations returned may be missing
1817
+ # the operations from those zones.
1800
1818
  # Corresponds to the JSON property `missingZones`
1801
1819
  # @return [Array<String>]
1802
1820
  attr_accessor :missing_zones
@@ -1817,15 +1835,14 @@ module Google
1817
1835
  end
1818
1836
  end
1819
1837
 
1820
- # ListUsableSubnetworksResponse is the response of
1821
- # ListUsableSubnetworksRequest.
1838
+ # ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
1822
1839
  class ListUsableSubnetworksResponse
1823
1840
  include Google::Apis::Core::Hashable
1824
1841
 
1825
- # This token allows you to get the next page of results for list requests.
1826
- # If the number of results is larger than `page_size`, use the
1827
- # `next_page_token` as a value for the query parameter `page_token` in the
1828
- # next request. The value will become empty when there are no more pages.
1842
+ # This token allows you to get the next page of results for list requests. If
1843
+ # the number of results is larger than `page_size`, use the `next_page_token` as
1844
+ # a value for the query parameter `page_token` in the next request. The value
1845
+ # will become empty when there are no more pages.
1829
1846
  # Corresponds to the JSON property `nextPageToken`
1830
1847
  # @return [String]
1831
1848
  attr_accessor :next_page_token
@@ -1851,10 +1868,10 @@ module Google
1851
1868
  include Google::Apis::Core::Hashable
1852
1869
 
1853
1870
  # A hash identifying the version of this policy, so that updates to fields of
1854
- # the policy won't accidentally undo intermediate changes (and so that users
1855
- # of the API unaware of some fields won't accidentally remove other fields).
1856
- # Make a <code>get()</code> request to the cluster to get the current
1857
- # resource version and include it with requests to set the policy.
1871
+ # the policy won't accidentally undo intermediate changes (and so that users of
1872
+ # the API unaware of some fields won't accidentally remove other fields). Make a
1873
+ # `get()` request to the cluster to get the current resource version and include
1874
+ # it with requests to set the policy.
1858
1875
  # Corresponds to the JSON property `resourceVersion`
1859
1876
  # @return [String]
1860
1877
  attr_accessor :resource_version
@@ -1884,8 +1901,8 @@ module Google
1884
1901
  # @return [Google::Apis::ContainerV1::DailyMaintenanceWindow]
1885
1902
  attr_accessor :daily_maintenance_window
1886
1903
 
1887
- # Exceptions to maintenance window. Non-emergency maintenance should not
1888
- # occur in these windows.
1904
+ # Exceptions to maintenance window. Non-emergency maintenance should not occur
1905
+ # in these windows.
1889
1906
  # Corresponds to the JSON property `maintenanceExclusions`
1890
1907
  # @return [Hash<String,Google::Apis::ContainerV1::TimeWindow>]
1891
1908
  attr_accessor :maintenance_exclusions
@@ -1908,8 +1925,7 @@ module Google
1908
1925
  end
1909
1926
 
1910
1927
  # The authentication information for accessing the master endpoint.
1911
- # Authentication can be done using HTTP basic auth or using client
1912
- # certificates.
1928
+ # Authentication can be done using HTTP basic auth or using client certificates.
1913
1929
  class MasterAuth
1914
1930
  include Google::Apis::Core::Hashable
1915
1931
 
@@ -1924,29 +1940,36 @@ module Google
1924
1940
  # @return [Google::Apis::ContainerV1::ClientCertificateConfig]
1925
1941
  attr_accessor :client_certificate_config
1926
1942
 
1927
- # [Output only] Base64-encoded private key used by clients to authenticate
1928
- # to the cluster endpoint.
1943
+ # [Output only] Base64-encoded private key used by clients to authenticate to
1944
+ # the cluster endpoint.
1929
1945
  # Corresponds to the JSON property `clientKey`
1930
1946
  # @return [String]
1931
1947
  attr_accessor :client_key
1932
1948
 
1933
- # [Output only] Base64-encoded public certificate that is the root of
1934
- # trust for the cluster.
1949
+ # [Output only] Base64-encoded public certificate that is the root of trust for
1950
+ # the cluster.
1935
1951
  # Corresponds to the JSON property `clusterCaCertificate`
1936
1952
  # @return [String]
1937
1953
  attr_accessor :cluster_ca_certificate
1938
1954
 
1939
1955
  # The password to use for HTTP basic authentication to the master endpoint.
1940
1956
  # Because the master endpoint is open to the Internet, you should create a
1941
- # strong password. If a password is provided for cluster creation, username
1942
- # must be non-empty.
1957
+ # strong password. If a password is provided for cluster creation, username must
1958
+ # be non-empty. Warning: basic authentication is deprecated, and will be removed
1959
+ # in GKE control plane versions 1.19 and newer. For a list of recommended
1960
+ # authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/
1961
+ # how-to/api-server-authentication
1943
1962
  # Corresponds to the JSON property `password`
1944
1963
  # @return [String]
1945
1964
  attr_accessor :password
1946
1965
 
1947
- # The username to use for HTTP basic authentication to the master endpoint.
1948
- # For clusters v1.6.0 and later, basic authentication can be disabled by
1949
- # leaving username unspecified (or setting it to the empty string).
1966
+ # The username to use for HTTP basic authentication to the master endpoint. For
1967
+ # clusters v1.6.0 and later, basic authentication can be disabled by leaving
1968
+ # username unspecified (or setting it to the empty string). Warning: basic
1969
+ # authentication is deprecated, and will be removed in GKE control plane
1970
+ # versions 1.19 and newer. For a list of recommended authentication methods, see:
1971
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-
1972
+ # authentication
1950
1973
  # Corresponds to the JSON property `username`
1951
1974
  # @return [String]
1952
1975
  attr_accessor :username
@@ -1973,8 +1996,8 @@ module Google
1973
1996
  class MasterAuthorizedNetworksConfig
1974
1997
  include Google::Apis::Core::Hashable
1975
1998
 
1976
- # cidr_blocks define up to 50 external networks that could access
1977
- # Kubernetes master through HTTPS.
1999
+ # cidr_blocks define up to 50 external networks that could access Kubernetes
2000
+ # master through HTTPS.
1978
2001
  # Corresponds to the JSON property `cidrBlocks`
1979
2002
  # @return [Array<Google::Apis::ContainerV1::CidrBlock>]
1980
2003
  attr_accessor :cidr_blocks
@@ -2056,25 +2079,29 @@ module Google
2056
2079
  class NetworkConfig
2057
2080
  include Google::Apis::Core::Hashable
2058
2081
 
2059
- # Whether Intra-node visibility is enabled for this cluster.
2060
- # This makes same node pod to pod traffic visible for VPC network.
2082
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
2083
+ # disabled on the cluster.
2084
+ # Corresponds to the JSON property `defaultSnatStatus`
2085
+ # @return [Google::Apis::ContainerV1::DefaultSnatStatus]
2086
+ attr_accessor :default_snat_status
2087
+
2088
+ # Whether Intra-node visibility is enabled for this cluster. This makes same
2089
+ # node pod to pod traffic visible for VPC network.
2061
2090
  # Corresponds to the JSON property `enableIntraNodeVisibility`
2062
2091
  # @return [Boolean]
2063
2092
  attr_accessor :enable_intra_node_visibility
2064
2093
  alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
2065
2094
 
2066
- # Output only. The relative name of the Google Compute Engine
2067
- # network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
2068
- # to which the cluster is connected. Example:
2069
- # projects/my-project/global/networks/my-network
2095
+ # Output only. The relative name of the Google Compute Engine network(https://
2096
+ # cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
2097
+ # cluster is connected. Example: projects/my-project/global/networks/my-network
2070
2098
  # Corresponds to the JSON property `network`
2071
2099
  # @return [String]
2072
2100
  attr_accessor :network
2073
2101
 
2074
- # Output only. The relative name of the Google Compute Engine
2075
- # [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
2076
- # cluster is connected. Example:
2077
- # projects/my-project/regions/us-central1/subnetworks/my-subnet
2102
+ # Output only. The relative name of the Google Compute Engine [subnetwork](https:
2103
+ # //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
2104
+ # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
2078
2105
  # Corresponds to the JSON property `subnetwork`
2079
2106
  # @return [String]
2080
2107
  attr_accessor :subnetwork
@@ -2085,14 +2112,15 @@ module Google
2085
2112
 
2086
2113
  # Update properties of this object
2087
2114
  def update!(**args)
2115
+ @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2088
2116
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2089
2117
  @network = args[:network] if args.key?(:network)
2090
2118
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
2091
2119
  end
2092
2120
  end
2093
2121
 
2094
- # Configuration options for the NetworkPolicy feature.
2095
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
2122
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
2123
+ # docs/concepts/services-networking/networkpolicies/
2096
2124
  class NetworkPolicy
2097
2125
  include Google::Apis::Core::Hashable
2098
2126
 
@@ -2118,9 +2146,9 @@ module Google
2118
2146
  end
2119
2147
  end
2120
2148
 
2121
- # Configuration for NetworkPolicy. This only tracks whether the addon
2122
- # is enabled or not on the Master, it does not track whether network policy
2123
- # is enabled for the nodes.
2149
+ # Configuration for NetworkPolicy. This only tracks whether the addon is enabled
2150
+ # or not on the Master, it does not track whether network policy is enabled for
2151
+ # the nodes.
2124
2152
  class NetworkPolicyConfig
2125
2153
  include Google::Apis::Core::Hashable
2126
2154
 
@@ -2144,154 +2172,124 @@ module Google
2144
2172
  class NodeConfig
2145
2173
  include Google::Apis::Core::Hashable
2146
2174
 
2147
- # A list of hardware accelerators to be attached to each node.
2148
- # See https://cloud.google.com/compute/docs/gpus for more information about
2149
- # support for GPUs.
2175
+ # A list of hardware accelerators to be attached to each node. See https://cloud.
2176
+ # google.com/compute/docs/gpus for more information about support for GPUs.
2150
2177
  # Corresponds to the JSON property `accelerators`
2151
2178
  # @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
2152
2179
  attr_accessor :accelerators
2153
2180
 
2154
- # The Customer Managed Encryption Key used to encrypt the boot disk attached
2155
- # to each node in the node pool. This should be of the form
2156
- # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/
2157
- # [KEY_NAME].
2158
- # For more information about protecting resources with Cloud KMS Keys please
2159
- # see:
2160
- # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2181
+ # The Customer Managed Encryption Key used to encrypt the boot disk attached to
2182
+ # each node in the node pool. This should be of the form projects/[
2183
+ # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
2184
+ # . For more information about protecting resources with Cloud KMS Keys please
2185
+ # see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2161
2186
  # Corresponds to the JSON property `bootDiskKmsKey`
2162
2187
  # @return [String]
2163
2188
  attr_accessor :boot_disk_kms_key
2164
2189
 
2165
- # Size of the disk attached to each node, specified in GB.
2166
- # The smallest allowed disk size is 10GB.
2167
- # If unspecified, the default disk size is 100GB.
2190
+ # Size of the disk attached to each node, specified in GB. The smallest allowed
2191
+ # disk size is 10GB. If unspecified, the default disk size is 100GB.
2168
2192
  # Corresponds to the JSON property `diskSizeGb`
2169
2193
  # @return [Fixnum]
2170
2194
  attr_accessor :disk_size_gb
2171
2195
 
2172
- # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
2173
- # If unspecified, the default disk type is 'pd-standard'
2196
+ # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
2197
+ # unspecified, the default disk type is 'pd-standard'
2174
2198
  # Corresponds to the JSON property `diskType`
2175
2199
  # @return [String]
2176
2200
  attr_accessor :disk_type
2177
2201
 
2178
- # The image type to use for this node. Note that for a given image type,
2179
- # the latest version of it will be used.
2202
+ # The image type to use for this node. Note that for a given image type, the
2203
+ # latest version of it will be used.
2180
2204
  # Corresponds to the JSON property `imageType`
2181
2205
  # @return [String]
2182
2206
  attr_accessor :image_type
2183
2207
 
2184
2208
  # The map of Kubernetes labels (key/value pairs) to be applied to each node.
2185
- # These will added in addition to any default label(s) that
2186
- # Kubernetes may apply to the node.
2187
- # In case of conflict in label keys, the applied set may differ depending on
2188
- # the Kubernetes version -- it's best to assume the behavior is undefined
2189
- # and conflicts should be avoided.
2190
- # For more information, including usage and the valid values, see:
2191
- # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2209
+ # These will added in addition to any default label(s) that Kubernetes may apply
2210
+ # to the node. In case of conflict in label keys, the applied set may differ
2211
+ # depending on the Kubernetes version -- it's best to assume the behavior is
2212
+ # undefined and conflicts should be avoided. For more information, including
2213
+ # usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/
2214
+ # working-with-objects/labels/
2192
2215
  # Corresponds to the JSON property `labels`
2193
2216
  # @return [Hash<String,String>]
2194
2217
  attr_accessor :labels
2195
2218
 
2196
- # The number of local SSD disks to be attached to the node.
2197
- # The limit for this value is dependent upon the maximum number of
2198
- # disks available on a machine per zone. See:
2199
- # https://cloud.google.com/compute/docs/disks/local-ssd
2200
- # for more information.
2219
+ # The number of local SSD disks to be attached to the node. The limit for this
2220
+ # value is dependent upon the maximum number of disks available on a machine per
2221
+ # zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
2222
+ # information.
2201
2223
  # Corresponds to the JSON property `localSsdCount`
2202
2224
  # @return [Fixnum]
2203
2225
  attr_accessor :local_ssd_count
2204
2226
 
2205
- # The name of a Google Compute Engine [machine
2206
- # type](https://cloud.google.com/compute/docs/machine-types) (e.g.
2207
- # `n1-standard-1`).
2208
- # If unspecified, the default machine type is
2209
- # `n1-standard-1`.
2227
+ # The name of a Google Compute Engine [machine type](https://cloud.google.com/
2228
+ # compute/docs/machine-types) If unspecified, the default machine type is `e2-
2229
+ # medium`.
2210
2230
  # Corresponds to the JSON property `machineType`
2211
2231
  # @return [String]
2212
2232
  attr_accessor :machine_type
2213
2233
 
2214
- # The metadata key/value pairs assigned to instances in the cluster.
2215
- # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
2216
- # in length. These are reflected as part of a URL in the metadata server.
2217
- # Additionally, to avoid ambiguity, keys must not conflict with any other
2218
- # metadata keys for the project or be one of the reserved keys:
2219
- # "cluster-location"
2220
- # "cluster-name"
2221
- # "cluster-uid"
2222
- # "configure-sh"
2223
- # "containerd-configure-sh"
2224
- # "enable-os-login"
2225
- # "gci-ensure-gke-docker"
2226
- # "gci-metrics-enabled"
2227
- # "gci-update-strategy"
2228
- # "instance-template"
2229
- # "kube-env"
2230
- # "startup-script"
2231
- # "user-data"
2232
- # "disable-address-manager"
2233
- # "windows-startup-script-ps1"
2234
- # "common-psm1"
2235
- # "k8s-node-setup-psm1"
2236
- # "install-ssh-psm1"
2237
- # "user-profile-psm1"
2238
- # "serial-port-logging-enable"
2239
- # Values are free-form strings, and only have meaning as interpreted by
2240
- # the image running in the instance. The only restriction placed on them is
2241
- # that each value's size must be less than or equal to 32 KB.
2242
- # The total size of all keys and values must be less than 512 KB.
2234
+ # The metadata key/value pairs assigned to instances in the cluster. Keys must
2235
+ # conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length.
2236
+ # These are reflected as part of a URL in the metadata server. Additionally, to
2237
+ # avoid ambiguity, keys must not conflict with any other metadata keys for the
2238
+ # project or be one of the reserved keys: - "cluster-location" - "cluster-name" -
2239
+ # "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login"
2240
+ # - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
2241
+ # instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
2242
+ # address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
2243
+ # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" - "serial-port-logging-
2244
+ # enable" Values are free-form strings, and only have meaning as interpreted by
2245
+ # the image running in the instance. The only restriction placed on them is that
2246
+ # each value's size must be less than or equal to 32 KB. The total size of all
2247
+ # keys and values must be less than 512 KB.
2243
2248
  # Corresponds to the JSON property `metadata`
2244
2249
  # @return [Hash<String,String>]
2245
2250
  attr_accessor :metadata
2246
2251
 
2247
2252
  # Minimum CPU platform to be used by this instance. The instance may be
2248
2253
  # scheduled on the specified or newer CPU platform. Applicable values are the
2249
- # friendly names of CPU platforms, such as
2250
- # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
2251
- # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
2252
- # information, read [how to specify min CPU
2253
- # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
2254
- # platform)
2254
+ # friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
2255
+ # minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
2256
+ # specify min CPU platform](https://cloud.google.com/compute/docs/instances/
2257
+ # specify-min-cpu-platform)
2255
2258
  # Corresponds to the JSON property `minCpuPlatform`
2256
2259
  # @return [String]
2257
2260
  attr_accessor :min_cpu_platform
2258
2261
 
2259
- # Setting this field will assign instances of this
2260
- # pool to run on the specified node group. This is useful for running
2261
- # workloads on [sole tenant
2262
- # nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
2262
+ # Setting this field will assign instances of this pool to run on the specified
2263
+ # node group. This is useful for running workloads on [sole tenant nodes](https:/
2264
+ # /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
2263
2265
  # Corresponds to the JSON property `nodeGroup`
2264
2266
  # @return [String]
2265
2267
  attr_accessor :node_group
2266
2268
 
2267
- # The set of Google API scopes to be made available on all of the
2268
- # node VMs under the "default" service account.
2269
- # The following scopes are recommended, but not required, and by default are
2270
- # not included:
2271
- # * `https://www.googleapis.com/auth/compute` is required for mounting
2272
- # persistent storage on your nodes.
2273
- # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
2274
- # communicating with **gcr.io**
2275
- # (the [Google Container
2276
- # Registry](https://cloud.google.com/container-registry/)).
2277
- # If unspecified, no scopes are added, unless Cloud Logging or Cloud
2278
- # Monitoring are enabled, in which case their required scopes will be added.
2269
+ # The set of Google API scopes to be made available on all of the node VMs under
2270
+ # the "default" service account. The following scopes are recommended, but not
2271
+ # required, and by default are not included: * `https://www.googleapis.com/auth/
2272
+ # compute` is required for mounting persistent storage on your nodes. * `https://
2273
+ # www.googleapis.com/auth/devstorage.read_only` is required for communicating
2274
+ # with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
2275
+ # container-registry/)). If unspecified, no scopes are added, unless Cloud
2276
+ # Logging or Cloud Monitoring are enabled, in which case their required scopes
2277
+ # will be added.
2279
2278
  # Corresponds to the JSON property `oauthScopes`
2280
2279
  # @return [Array<String>]
2281
2280
  attr_accessor :oauth_scopes
2282
2281
 
2283
- # Whether the nodes are created as preemptible VM instances. See:
2284
- # https://cloud.google.com/compute/docs/instances/preemptible for more
2285
- # information about preemptible VM instances.
2282
+ # Whether the nodes are created as preemptible VM instances. See: https://cloud.
2283
+ # google.com/compute/docs/instances/preemptible for more information about
2284
+ # preemptible VM instances.
2286
2285
  # Corresponds to the JSON property `preemptible`
2287
2286
  # @return [Boolean]
2288
2287
  attr_accessor :preemptible
2289
2288
  alias_method :preemptible?, :preemptible
2290
2289
 
2291
2290
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
2292
- # reserving-zonal-resources)
2293
- # is the configuration of desired reservation which instances could take
2294
- # capacity from.
2291
+ # reserving-zonal-resources) is the configuration of desired reservation which
2292
+ # instances could take capacity from.
2295
2293
  # Corresponds to the JSON property `reservationAffinity`
2296
2294
  # @return [Google::Apis::ContainerV1::ReservationAffinity]
2297
2295
  attr_accessor :reservation_affinity
@@ -2301,9 +2299,9 @@ module Google
2301
2299
  # @return [Google::Apis::ContainerV1::SandboxConfig]
2302
2300
  attr_accessor :sandbox_config
2303
2301
 
2304
- # The Google Cloud Platform Service Account to be used by the node VMs.
2305
- # Specify the email address of the Service Account; otherwise, if no Service
2306
- # Account is specified, the "default" service account is used.
2302
+ # The Google Cloud Platform Service Account to be used by the node VMs. Specify
2303
+ # the email address of the Service Account; otherwise, if no Service Account is
2304
+ # specified, the "default" service account is used.
2307
2305
  # Corresponds to the JSON property `serviceAccount`
2308
2306
  # @return [String]
2309
2307
  attr_accessor :service_account
@@ -2314,16 +2312,16 @@ module Google
2314
2312
  attr_accessor :shielded_instance_config
2315
2313
 
2316
2314
  # The list of instance tags applied to all nodes. Tags are used to identify
2317
- # valid sources or targets for network firewalls and are specified by
2318
- # the client during cluster or node pool creation. Each tag within the list
2319
- # must comply with RFC1035.
2315
+ # valid sources or targets for network firewalls and are specified by the client
2316
+ # during cluster or node pool creation. Each tag within the list must comply
2317
+ # with RFC1035.
2320
2318
  # Corresponds to the JSON property `tags`
2321
2319
  # @return [Array<String>]
2322
2320
  attr_accessor :tags
2323
2321
 
2324
- # List of kubernetes taints to be applied to each node.
2325
- # For more information, including usage and the valid values, see:
2326
- # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2322
+ # List of kubernetes taints to be applied to each node. For more information,
2323
+ # including usage and the valid values, see: https://kubernetes.io/docs/concepts/
2324
+ # configuration/taint-and-toleration/
2327
2325
  # Corresponds to the JSON property `taints`
2328
2326
  # @return [Array<Google::Apis::ContainerV1::NodeTaint>]
2329
2327
  attr_accessor :taints
@@ -2369,24 +2367,24 @@ module Google
2369
2367
  include Google::Apis::Core::Hashable
2370
2368
 
2371
2369
  # A flag that specifies whether the node auto-repair is enabled for the node
2372
- # pool. If enabled, the nodes in this node pool will be monitored and, if
2373
- # they fail health checks too many times, an automatic repair action will be
2370
+ # pool. If enabled, the nodes in this node pool will be monitored and, if they
2371
+ # fail health checks too many times, an automatic repair action will be
2374
2372
  # triggered.
2375
2373
  # Corresponds to the JSON property `autoRepair`
2376
2374
  # @return [Boolean]
2377
2375
  attr_accessor :auto_repair
2378
2376
  alias_method :auto_repair?, :auto_repair
2379
2377
 
2380
- # A flag that specifies whether node auto-upgrade is enabled for the node
2381
- # pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
2382
- # up to date with the latest release version of Kubernetes.
2378
+ # A flag that specifies whether node auto-upgrade is enabled for the node pool.
2379
+ # If enabled, node auto-upgrade helps keep the nodes in your node pool up to
2380
+ # date with the latest release version of Kubernetes.
2383
2381
  # Corresponds to the JSON property `autoUpgrade`
2384
2382
  # @return [Boolean]
2385
2383
  attr_accessor :auto_upgrade
2386
2384
  alias_method :auto_upgrade?, :auto_upgrade
2387
2385
 
2388
- # AutoUpgradeOptions defines the set of options for the user to control how
2389
- # the Auto Upgrades will proceed.
2386
+ # AutoUpgradeOptions defines the set of options for the user to control how the
2387
+ # Auto Upgrades will proceed.
2390
2388
  # Corresponds to the JSON property `upgradeOptions`
2391
2389
  # @return [Google::Apis::ContainerV1::AutoUpgradeOptions]
2392
2390
  attr_accessor :upgrade_options
@@ -2403,12 +2401,12 @@ module Google
2403
2401
  end
2404
2402
  end
2405
2403
 
2406
- # NodePool contains the name and configuration for a cluster's node pool.
2407
- # Node pools are a set of nodes (i.e. VM's), with a common configuration and
2408
- # specification, under the control of the cluster master. They may have a set
2409
- # of Kubernetes labels applied to them, which may be used to reference them
2410
- # during pod scheduling. They may also be resized up or down, to accommodate
2411
- # the workload.
2404
+ # NodePool contains the name and configuration for a cluster's node pool. Node
2405
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
2406
+ # specification, under the control of the cluster master. They may have a set of
2407
+ # Kubernetes labels applied to them, which may be used to reference them during
2408
+ # pod scheduling. They may also be resized up or down, to accommodate the
2409
+ # workload.
2412
2410
  class NodePool
2413
2411
  include Google::Apis::Core::Hashable
2414
2412
 
@@ -2428,25 +2426,23 @@ module Google
2428
2426
  # @return [Google::Apis::ContainerV1::NodeConfig]
2429
2427
  attr_accessor :config
2430
2428
 
2431
- # The initial node count for the pool. You must ensure that your
2432
- # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
2433
- # is sufficient for this number of instances. You must also have available
2434
- # firewall and routes quota.
2429
+ # The initial node count for the pool. You must ensure that your Compute Engine [
2430
+ # resource quota](https://cloud.google.com/compute/quotas) is sufficient for
2431
+ # this number of instances. You must also have available firewall and routes
2432
+ # quota.
2435
2433
  # Corresponds to the JSON property `initialNodeCount`
2436
2434
  # @return [Fixnum]
2437
2435
  attr_accessor :initial_node_count
2438
2436
 
2439
- # [Output only] The resource URLs of the [managed instance
2440
- # groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-
2441
- # of-managed-instances)
2437
+ # [Output only] The resource URLs of the [managed instance groups](https://cloud.
2438
+ # google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
2442
2439
  # associated with this node pool.
2443
2440
  # Corresponds to the JSON property `instanceGroupUrls`
2444
2441
  # @return [Array<String>]
2445
2442
  attr_accessor :instance_group_urls
2446
2443
 
2447
- # The list of Google Compute Engine
2448
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
2449
- # NodePool's nodes should be located.
2444
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
2445
+ # docs/zones#available) in which the NodePool's nodes should be located.
2450
2446
  # Corresponds to the JSON property `locations`
2451
2447
  # @return [Array<String>]
2452
2448
  attr_accessor :locations
@@ -2482,30 +2478,26 @@ module Google
2482
2478
  # @return [String]
2483
2479
  attr_accessor :status
2484
2480
 
2485
- # [Output only] Additional information about the current status of this
2486
- # node pool instance, if available.
2481
+ # [Output only] Additional information about the current status of this node
2482
+ # pool instance, if available.
2487
2483
  # Corresponds to the JSON property `statusMessage`
2488
2484
  # @return [String]
2489
2485
  attr_accessor :status_message
2490
2486
 
2491
2487
  # These upgrade settings control the level of parallelism and the level of
2492
- # disruption caused by an upgrade.
2493
- # maxUnavailable controls the number of nodes that can be simultaneously
2494
- # unavailable.
2495
- # maxSurge controls the number of additional nodes that can be added to the
2496
- # node pool temporarily for the time of the upgrade to increase the number of
2497
- # available nodes.
2498
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
2499
- # nodes are being upgraded at the same time).
2500
- # Note: upgrades inevitably introduce some disruption since workloads need to
2501
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
2502
- # this holds true. (Disruption stays within the limits of
2503
- # PodDisruptionBudget, if it is configured.)
2504
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
2505
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
2506
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
2507
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
2508
- # there are always at least 4 nodes available.
2488
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
2489
+ # that can be simultaneously unavailable. maxSurge controls the number of
2490
+ # additional nodes that can be added to the node pool temporarily for the time
2491
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
2492
+ # maxSurge) determines the level of parallelism (how many nodes are being
2493
+ # upgraded at the same time). Note: upgrades inevitably introduce some
2494
+ # disruption since workloads need to be moved from old nodes to new, upgraded
2495
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
2496
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
2497
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
2498
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
2499
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
2500
+ # same time. This ensures that there are always at least 4 nodes available.
2509
2501
  # Corresponds to the JSON property `upgradeSettings`
2510
2502
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
2511
2503
  attr_accessor :upgrade_settings
@@ -2556,14 +2548,13 @@ module Google
2556
2548
  attr_accessor :enabled
2557
2549
  alias_method :enabled?, :enabled
2558
2550
 
2559
- # Maximum number of nodes in the NodePool. Must be >= min_node_count. There
2560
- # has to enough quota to scale up the cluster.
2551
+ # Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
2552
+ # to enough quota to scale up the cluster.
2561
2553
  # Corresponds to the JSON property `maxNodeCount`
2562
2554
  # @return [Fixnum]
2563
2555
  attr_accessor :max_node_count
2564
2556
 
2565
- # Minimum number of nodes in the NodePool. Must be >= 1 and <=
2566
- # max_node_count.
2557
+ # Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
2567
2558
  # Corresponds to the JSON property `minNodeCount`
2568
2559
  # @return [Fixnum]
2569
2560
  attr_accessor :min_node_count
@@ -2582,8 +2573,7 @@ module Google
2582
2573
  end
2583
2574
 
2584
2575
  # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
2585
- # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
2586
- # See
2576
+ # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
2587
2577
  # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
2588
2578
  # for more information, including usage and the valid values.
2589
2579
  class NodeTaint
@@ -2631,18 +2621,15 @@ module Google
2631
2621
  # @return [String]
2632
2622
  attr_accessor :detail
2633
2623
 
2634
- # [Output only] The time the operation completed, in
2635
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2624
+ # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.
2625
+ # org/rfc/rfc3339.txt) text format.
2636
2626
  # Corresponds to the JSON property `endTime`
2637
2627
  # @return [String]
2638
2628
  attr_accessor :end_time
2639
2629
 
2640
- # [Output only] The name of the Google Compute Engine
2641
- # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
2642
- # available)
2643
- # or
2644
- # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
2645
- # available)
2630
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
2631
+ # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
2632
+ # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
2646
2633
  # in which the cluster resides.
2647
2634
  # Corresponds to the JSON property `location`
2648
2635
  # @return [String]
@@ -2673,8 +2660,8 @@ module Google
2673
2660
  # @return [String]
2674
2661
  attr_accessor :self_link
2675
2662
 
2676
- # [Output only] The time the operation started, in
2677
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2663
+ # [Output only] The time the operation started, in [RFC3339](https://www.ietf.
2664
+ # org/rfc/rfc3339.txt) text format.
2678
2665
  # Corresponds to the JSON property `startTime`
2679
2666
  # @return [String]
2680
2667
  attr_accessor :start_time
@@ -2694,9 +2681,9 @@ module Google
2694
2681
  # @return [String]
2695
2682
  attr_accessor :target_link
2696
2683
 
2697
- # The name of the Google Compute Engine
2698
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2699
- # operation is taking place. This field is deprecated, use location instead.
2684
+ # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/
2685
+ # docs/zones#available) in which the operation is taking place. This field is
2686
+ # deprecated, use location instead.
2700
2687
  # Corresponds to the JSON property `zone`
2701
2688
  # @return [String]
2702
2689
  attr_accessor :zone
@@ -2728,18 +2715,15 @@ module Google
2728
2715
  class OperationProgress
2729
2716
  include Google::Apis::Core::Hashable
2730
2717
 
2731
- # Progress metric bundle, for example:
2732
- # metrics: [`name: "nodes done", int_value: 15`,
2733
- # `name: "nodes total", int_value: 32`]
2734
- # or
2735
- # metrics: [`name: "progress", double_value: 0.56`,
2736
- # `name: "progress scale", double_value: 1.0`]
2718
+ # Progress metric bundle, for example: metrics: [`name: "nodes done", int_value:
2719
+ # 15`, `name: "nodes total", int_value: 32`] or metrics: [`name: "progress",
2720
+ # double_value: 0.56`, `name: "progress scale", double_value: 1.0`]
2737
2721
  # Corresponds to the JSON property `metrics`
2738
2722
  # @return [Array<Google::Apis::ContainerV1::Metric>]
2739
2723
  attr_accessor :metrics
2740
2724
 
2741
- # A non-parameterized string describing an operation stage.
2742
- # Unset for single-stage operations.
2725
+ # A non-parameterized string describing an operation stage. Unset for single-
2726
+ # stage operations.
2743
2727
  # Corresponds to the JSON property `name`
2744
2728
  # @return [String]
2745
2729
  attr_accessor :name
@@ -2749,8 +2733,7 @@ module Google
2749
2733
  # @return [Array<Google::Apis::ContainerV1::OperationProgress>]
2750
2734
  attr_accessor :stages
2751
2735
 
2752
- # Status of an operation stage.
2753
- # Unset for single-stage operations.
2736
+ # Status of an operation stage. Unset for single-stage operations.
2754
2737
  # Corresponds to the JSON property `status`
2755
2738
  # @return [String]
2756
2739
  attr_accessor :status
@@ -2778,18 +2761,23 @@ module Google
2778
2761
  attr_accessor :enable_private_endpoint
2779
2762
  alias_method :enable_private_endpoint?, :enable_private_endpoint
2780
2763
 
2781
- # Whether nodes have internal IP addresses only. If enabled, all nodes are
2782
- # given only RFC 1918 private addresses and communicate with the master via
2783
- # private networking.
2764
+ # Whether nodes have internal IP addresses only. If enabled, all nodes are given
2765
+ # only RFC 1918 private addresses and communicate with the master via private
2766
+ # networking.
2784
2767
  # Corresponds to the JSON property `enablePrivateNodes`
2785
2768
  # @return [Boolean]
2786
2769
  attr_accessor :enable_private_nodes
2787
2770
  alias_method :enable_private_nodes?, :enable_private_nodes
2788
2771
 
2789
- # The IP range in CIDR notation to use for the hosted master network. This
2790
- # range will be used for assigning internal IP addresses to the master or
2791
- # set of masters, as well as the ILB VIP. This range must not overlap with
2792
- # any other ranges in use within the cluster's network.
2772
+ # Configuration for controlling master global access settings.
2773
+ # Corresponds to the JSON property `masterGlobalAccessConfig`
2774
+ # @return [Google::Apis::ContainerV1::PrivateClusterMasterGlobalAccessConfig]
2775
+ attr_accessor :master_global_access_config
2776
+
2777
+ # The IP range in CIDR notation to use for the hosted master network. This range
2778
+ # will be used for assigning internal IP addresses to the master or set of
2779
+ # masters, as well as the ILB VIP. This range must not overlap with any other
2780
+ # ranges in use within the cluster's network.
2793
2781
  # Corresponds to the JSON property `masterIpv4CidrBlock`
2794
2782
  # @return [String]
2795
2783
  attr_accessor :master_ipv4_cidr_block
@@ -2817,6 +2805,7 @@ module Google
2817
2805
  def update!(**args)
2818
2806
  @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
2819
2807
  @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
2808
+ @master_global_access_config = args[:master_global_access_config] if args.key?(:master_global_access_config)
2820
2809
  @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
2821
2810
  @peering_name = args[:peering_name] if args.key?(:peering_name)
2822
2811
  @private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
@@ -2824,36 +2813,45 @@ module Google
2824
2813
  end
2825
2814
  end
2826
2815
 
2816
+ # Configuration for controlling master global access settings.
2817
+ class PrivateClusterMasterGlobalAccessConfig
2818
+ include Google::Apis::Core::Hashable
2819
+
2820
+ # Whenever master is accessible globally or not.
2821
+ # Corresponds to the JSON property `enabled`
2822
+ # @return [Boolean]
2823
+ attr_accessor :enabled
2824
+ alias_method :enabled?, :enabled
2825
+
2826
+ def initialize(**args)
2827
+ update!(**args)
2828
+ end
2829
+
2830
+ # Update properties of this object
2831
+ def update!(**args)
2832
+ @enabled = args[:enabled] if args.key?(:enabled)
2833
+ end
2834
+ end
2835
+
2827
2836
  # Represents an arbitrary window of time that recurs.
2828
2837
  class RecurringTimeWindow
2829
2838
  include Google::Apis::Core::Hashable
2830
2839
 
2831
- # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
2832
- # this window reccurs. They go on for the span of time between the start and
2833
- # end time.
2834
- # For example, to have something repeat every weekday, you'd use:
2835
- # <code>FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR</code>
2836
- # To repeat some window daily (equivalent to the DailyMaintenanceWindow):
2837
- # <code>FREQ=DAILY</code>
2838
- # For the first weekend of every month:
2839
- # <code>FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU</code>
2840
- # This specifies how frequently the window starts. Eg, if you wanted to have
2841
- # a 9-5 UTC-4 window every weekday, you'd use something like:
2842
- # <code>
2843
- # start time = 2019-01-01T09:00:00-0400
2844
- # end time = 2019-01-01T17:00:00-0400
2845
- # recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
2846
- # </code>
2847
- # Windows can span multiple days. Eg, to make the window encompass every
2848
- # weekend from midnight Saturday till the last minute of Sunday UTC:
2849
- # <code>
2850
- # start time = 2019-01-05T00:00:00Z
2851
- # end time = 2019-01-07T23:59:00Z
2852
- # recurrence = FREQ=WEEKLY;BYDAY=SA
2853
- # </code>
2854
- # Note the start and end time's specific dates are largely arbitrary except
2855
- # to specify duration of the window and when it first starts.
2856
- # The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
2840
+ # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this
2841
+ # window reccurs. They go on for the span of time between the start and end time.
2842
+ # For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;
2843
+ # BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the
2844
+ # DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `
2845
+ # FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window
2846
+ # starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use
2847
+ # something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-
2848
+ # 01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can
2849
+ # span multiple days. Eg, to make the window encompass every weekend from
2850
+ # midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-
2851
+ # 05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA
2852
+ # ``` Note the start and end time's specific dates are largely arbitrary except
2853
+ # to specify duration of the window and when it first starts. The FREQ values of
2854
+ # HOURLY, MINUTELY, and SECONDLY are not supported.
2857
2855
  # Corresponds to the JSON property `recurrence`
2858
2856
  # @return [String]
2859
2857
  attr_accessor :recurrence
@@ -2874,11 +2872,10 @@ module Google
2874
2872
  end
2875
2873
  end
2876
2874
 
2877
- # ReleaseChannel indicates which release channel a cluster is
2878
- # subscribed to. Release channels are arranged in order of risk.
2879
- # When a cluster is subscribed to a release channel, Google maintains
2880
- # both the master version and the node version. Node auto-upgrade
2881
- # defaults to true and cannot be disabled.
2875
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
2876
+ # Release channels are arranged in order of risk. When a cluster is subscribed
2877
+ # to a release channel, Google maintains both the master version and the node
2878
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
2882
2879
  class ReleaseChannel
2883
2880
  include Google::Apis::Core::Hashable
2884
2881
 
@@ -2929,9 +2926,8 @@ module Google
2929
2926
  end
2930
2927
 
2931
2928
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
2932
- # reserving-zonal-resources)
2933
- # is the configuration of desired reservation which instances could take
2934
- # capacity from.
2929
+ # reserving-zonal-resources) is the configuration of desired reservation which
2930
+ # instances could take capacity from.
2935
2931
  class ReservationAffinity
2936
2932
  include Google::Apis::Core::Hashable
2937
2933
 
@@ -2941,8 +2937,8 @@ module Google
2941
2937
  attr_accessor :consume_reservation_type
2942
2938
 
2943
2939
  # Corresponds to the label key of a reservation resource. To target a
2944
- # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
2945
- # the key and specify the name of your reservation as its value.
2940
+ # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
2941
+ # key and specify the name of your reservation as its value.
2946
2942
  # Corresponds to the JSON property `key`
2947
2943
  # @return [String]
2948
2944
  attr_accessor :key
@@ -2964,8 +2960,8 @@ module Google
2964
2960
  end
2965
2961
  end
2966
2962
 
2967
- # Contains information about amount of some resource in the cluster.
2968
- # For memory, value should be in GB.
2963
+ # Contains information about amount of some resource in the cluster. For memory,
2964
+ # value should be in GB.
2969
2965
  class ResourceLimit
2970
2966
  include Google::Apis::Core::Hashable
2971
2967
 
@@ -3035,36 +3031,35 @@ module Google
3035
3031
  class RollbackNodePoolUpgradeRequest
3036
3032
  include Google::Apis::Core::Hashable
3037
3033
 
3038
- # Deprecated. The name of the cluster to rollback.
3039
- # This field has been deprecated and replaced by the name field.
3034
+ # Deprecated. The name of the cluster to rollback. This field has been
3035
+ # deprecated and replaced by the name field.
3040
3036
  # Corresponds to the JSON property `clusterId`
3041
3037
  # @return [String]
3042
3038
  attr_accessor :cluster_id
3043
3039
 
3044
3040
  # The name (project, location, cluster, node pool id) of the node poll to
3045
- # rollback upgrade.
3046
- # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3041
+ # rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/
3042
+ # nodePools/*`.
3047
3043
  # Corresponds to the JSON property `name`
3048
3044
  # @return [String]
3049
3045
  attr_accessor :name
3050
3046
 
3051
- # Deprecated. The name of the node pool to rollback.
3052
- # This field has been deprecated and replaced by the name field.
3047
+ # Deprecated. The name of the node pool to rollback. This field has been
3048
+ # deprecated and replaced by the name field.
3053
3049
  # Corresponds to the JSON property `nodePoolId`
3054
3050
  # @return [String]
3055
3051
  attr_accessor :node_pool_id
3056
3052
 
3057
- # Deprecated. The Google Developers Console [project ID or project
3058
- # number](https://support.google.com/cloud/answer/6158840).
3059
- # This field has been deprecated and replaced by the name field.
3053
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3054
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3055
+ # replaced by the name field.
3060
3056
  # Corresponds to the JSON property `projectId`
3061
3057
  # @return [String]
3062
3058
  attr_accessor :project_id
3063
3059
 
3064
- # Deprecated. The name of the Google Compute Engine
3065
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3066
- # cluster resides. This field has been deprecated and replaced by the name
3067
- # field.
3060
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3061
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3062
+ # been deprecated and replaced by the name field.
3068
3063
  # Corresponds to the JSON property `zone`
3069
3064
  # @return [String]
3070
3065
  attr_accessor :zone
@@ -3155,35 +3150,34 @@ module Google
3155
3150
  class SetAddonsConfigRequest
3156
3151
  include Google::Apis::Core::Hashable
3157
3152
 
3158
- # Configuration for the addons that can be automatically spun up in the
3159
- # cluster, enabling additional functionality.
3153
+ # Configuration for the addons that can be automatically spun up in the cluster,
3154
+ # enabling additional functionality.
3160
3155
  # Corresponds to the JSON property `addonsConfig`
3161
3156
  # @return [Google::Apis::ContainerV1::AddonsConfig]
3162
3157
  attr_accessor :addons_config
3163
3158
 
3164
- # Deprecated. The name of the cluster to upgrade.
3165
- # This field has been deprecated and replaced by the name field.
3159
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3160
+ # and replaced by the name field.
3166
3161
  # Corresponds to the JSON property `clusterId`
3167
3162
  # @return [String]
3168
3163
  attr_accessor :cluster_id
3169
3164
 
3170
- # The name (project, location, cluster) of the cluster to set addons.
3171
- # Specified in the format `projects/*/locations/*/clusters/*`.
3165
+ # The name (project, location, cluster) of the cluster to set addons. Specified
3166
+ # in the format `projects/*/locations/*/clusters/*`.
3172
3167
  # Corresponds to the JSON property `name`
3173
3168
  # @return [String]
3174
3169
  attr_accessor :name
3175
3170
 
3176
- # Deprecated. The Google Developers Console [project ID or project
3177
- # number](https://support.google.com/cloud/answer/6158840).
3178
- # This field has been deprecated and replaced by the name field.
3171
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3172
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3173
+ # replaced by the name field.
3179
3174
  # Corresponds to the JSON property `projectId`
3180
3175
  # @return [String]
3181
3176
  attr_accessor :project_id
3182
3177
 
3183
- # Deprecated. The name of the Google Compute Engine
3184
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3185
- # cluster resides. This field has been deprecated and replaced by the name
3186
- # field.
3178
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3179
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3180
+ # been deprecated and replaced by the name field.
3187
3181
  # Corresponds to the JSON property `zone`
3188
3182
  # @return [String]
3189
3183
  attr_accessor :zone
@@ -3208,18 +3202,17 @@ module Google
3208
3202
  class SetLabelsRequest
3209
3203
  include Google::Apis::Core::Hashable
3210
3204
 
3211
- # Deprecated. The name of the cluster.
3212
- # This field has been deprecated and replaced by the name field.
3205
+ # Deprecated. The name of the cluster. This field has been deprecated and
3206
+ # replaced by the name field.
3213
3207
  # Corresponds to the JSON property `clusterId`
3214
3208
  # @return [String]
3215
3209
  attr_accessor :cluster_id
3216
3210
 
3217
3211
  # Required. The fingerprint of the previous set of labels for this resource,
3218
- # used to detect conflicts. The fingerprint is initially generated by
3219
- # Kubernetes Engine and changes after every request to modify or update
3220
- # labels. You must always provide an up-to-date fingerprint hash when
3221
- # updating or changing labels. Make a <code>get()</code> request to the
3222
- # resource to get the latest fingerprint.
3212
+ # used to detect conflicts. The fingerprint is initially generated by Kubernetes
3213
+ # Engine and changes after every request to modify or update labels. You must
3214
+ # always provide an up-to-date fingerprint hash when updating or changing labels.
3215
+ # Make a `get()` request to the resource to get the latest fingerprint.
3223
3216
  # Corresponds to the JSON property `labelFingerprint`
3224
3217
  # @return [String]
3225
3218
  attr_accessor :label_fingerprint
@@ -3230,9 +3223,9 @@ module Google
3230
3223
  # @return [String]
3231
3224
  attr_accessor :name
3232
3225
 
3233
- # Deprecated. The Google Developers Console [project ID or project
3234
- # number](https://developers.google.com/console/help/new/#projectnumber).
3235
- # This field has been deprecated and replaced by the name field.
3226
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3227
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3228
+ # deprecated and replaced by the name field.
3236
3229
  # Corresponds to the JSON property `projectId`
3237
3230
  # @return [String]
3238
3231
  attr_accessor :project_id
@@ -3242,10 +3235,9 @@ module Google
3242
3235
  # @return [Hash<String,String>]
3243
3236
  attr_accessor :resource_labels
3244
3237
 
3245
- # Deprecated. The name of the Google Compute Engine
3246
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3247
- # cluster resides. This field has been deprecated and replaced by the name
3248
- # field.
3238
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3239
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3240
+ # been deprecated and replaced by the name field.
3249
3241
  # Corresponds to the JSON property `zone`
3250
3242
  # @return [String]
3251
3243
  attr_accessor :zone
@@ -3270,8 +3262,8 @@ module Google
3270
3262
  class SetLegacyAbacRequest
3271
3263
  include Google::Apis::Core::Hashable
3272
3264
 
3273
- # Deprecated. The name of the cluster to update.
3274
- # This field has been deprecated and replaced by the name field.
3265
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3266
+ # and replaced by the name field.
3275
3267
  # Corresponds to the JSON property `clusterId`
3276
3268
  # @return [String]
3277
3269
  attr_accessor :cluster_id
@@ -3288,17 +3280,16 @@ module Google
3288
3280
  # @return [String]
3289
3281
  attr_accessor :name
3290
3282
 
3291
- # Deprecated. The Google Developers Console [project ID or project
3292
- # number](https://support.google.com/cloud/answer/6158840).
3293
- # This field has been deprecated and replaced by the name field.
3283
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3284
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3285
+ # replaced by the name field.
3294
3286
  # Corresponds to the JSON property `projectId`
3295
3287
  # @return [String]
3296
3288
  attr_accessor :project_id
3297
3289
 
3298
- # Deprecated. The name of the Google Compute Engine
3299
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3300
- # cluster resides. This field has been deprecated and replaced by the name
3301
- # field.
3290
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3291
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3292
+ # been deprecated and replaced by the name field.
3302
3293
  # Corresponds to the JSON property `zone`
3303
3294
  # @return [String]
3304
3295
  attr_accessor :zone
@@ -3321,18 +3312,18 @@ module Google
3321
3312
  class SetLocationsRequest
3322
3313
  include Google::Apis::Core::Hashable
3323
3314
 
3324
- # Deprecated. The name of the cluster to upgrade.
3325
- # This field has been deprecated and replaced by the name field.
3315
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3316
+ # and replaced by the name field.
3326
3317
  # Corresponds to the JSON property `clusterId`
3327
3318
  # @return [String]
3328
3319
  attr_accessor :cluster_id
3329
3320
 
3330
- # Required. The desired list of Google Compute Engine
3331
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
3332
- # cluster's nodes should be located. Changing the locations a cluster is in
3333
- # will result in nodes being either created or removed from the cluster,
3334
- # depending on whether locations are being added or removed.
3335
- # This list must always include the cluster's primary zone.
3321
+ # Required. The desired list of Google Compute Engine [zones](https://cloud.
3322
+ # google.com/compute/docs/zones#available) in which the cluster's nodes should
3323
+ # be located. Changing the locations a cluster is in will result in nodes being
3324
+ # either created or removed from the cluster, depending on whether locations are
3325
+ # being added or removed. This list must always include the cluster's primary
3326
+ # zone.
3336
3327
  # Corresponds to the JSON property `locations`
3337
3328
  # @return [Array<String>]
3338
3329
  attr_accessor :locations
@@ -3343,17 +3334,16 @@ module Google
3343
3334
  # @return [String]
3344
3335
  attr_accessor :name
3345
3336
 
3346
- # Deprecated. The Google Developers Console [project ID or project
3347
- # number](https://support.google.com/cloud/answer/6158840).
3348
- # This field has been deprecated and replaced by the name field.
3337
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3338
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3339
+ # replaced by the name field.
3349
3340
  # Corresponds to the JSON property `projectId`
3350
3341
  # @return [String]
3351
3342
  attr_accessor :project_id
3352
3343
 
3353
- # Deprecated. The name of the Google Compute Engine
3354
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3355
- # cluster resides. This field has been deprecated and replaced by the name
3356
- # field.
3344
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3345
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3346
+ # been deprecated and replaced by the name field.
3357
3347
  # Corresponds to the JSON property `zone`
3358
3348
  # @return [String]
3359
3349
  attr_accessor :zone
@@ -3376,42 +3366,39 @@ module Google
3376
3366
  class SetLoggingServiceRequest
3377
3367
  include Google::Apis::Core::Hashable
3378
3368
 
3379
- # Deprecated. The name of the cluster to upgrade.
3380
- # This field has been deprecated and replaced by the name field.
3369
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3370
+ # and replaced by the name field.
3381
3371
  # Corresponds to the JSON property `clusterId`
3382
3372
  # @return [String]
3383
3373
  attr_accessor :cluster_id
3384
3374
 
3385
- # Required. The logging service the cluster should use to write logs.
3386
- # Currently available options:
3387
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
3388
- # service with a Kubernetes-native resource model
3389
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
3390
- # available as of GKE 1.15).
3391
- # * `none` - no logs will be exported from the cluster.
3392
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
3393
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
3375
+ # Required. The logging service the cluster should use to write logs. Currently
3376
+ # available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging
3377
+ # service with a Kubernetes-native resource model * `logging.googleapis.com` -
3378
+ # The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none`
3379
+ # - no logs will be exported from the cluster. If left as an empty string,`
3380
+ # logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.
3381
+ # googleapis.com` for earlier versions.
3394
3382
  # Corresponds to the JSON property `loggingService`
3395
3383
  # @return [String]
3396
3384
  attr_accessor :logging_service
3397
3385
 
3398
- # The name (project, location, cluster) of the cluster to set logging.
3399
- # Specified in the format `projects/*/locations/*/clusters/*`.
3386
+ # The name (project, location, cluster) of the cluster to set logging. Specified
3387
+ # in the format `projects/*/locations/*/clusters/*`.
3400
3388
  # Corresponds to the JSON property `name`
3401
3389
  # @return [String]
3402
3390
  attr_accessor :name
3403
3391
 
3404
- # Deprecated. The Google Developers Console [project ID or project
3405
- # number](https://support.google.com/cloud/answer/6158840).
3406
- # This field has been deprecated and replaced by the name field.
3392
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3393
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3394
+ # replaced by the name field.
3407
3395
  # Corresponds to the JSON property `projectId`
3408
3396
  # @return [String]
3409
3397
  attr_accessor :project_id
3410
3398
 
3411
- # Deprecated. The name of the Google Compute Engine
3412
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3413
- # cluster resides. This field has been deprecated and replaced by the name
3414
- # field.
3399
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3400
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3401
+ # been deprecated and replaced by the name field.
3415
3402
  # Corresponds to the JSON property `zone`
3416
3403
  # @return [String]
3417
3404
  attr_accessor :zone
@@ -3445,21 +3432,19 @@ module Google
3445
3432
  attr_accessor :maintenance_policy
3446
3433
 
3447
3434
  # The name (project, location, cluster id) of the cluster to set maintenance
3448
- # policy.
3449
- # Specified in the format `projects/*/locations/*/clusters/*`.
3435
+ # policy. Specified in the format `projects/*/locations/*/clusters/*`.
3450
3436
  # Corresponds to the JSON property `name`
3451
3437
  # @return [String]
3452
3438
  attr_accessor :name
3453
3439
 
3454
- # Required. The Google Developers Console [project ID or project
3455
- # number](https://support.google.com/cloud/answer/6158840).
3440
+ # Required. The Google Developers Console [project ID or project number](https://
3441
+ # support.google.com/cloud/answer/6158840).
3456
3442
  # Corresponds to the JSON property `projectId`
3457
3443
  # @return [String]
3458
3444
  attr_accessor :project_id
3459
3445
 
3460
- # Required. The name of the Google Compute Engine
3461
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3462
- # cluster resides.
3446
+ # Required. The name of the Google Compute Engine [zone](https://cloud.google.
3447
+ # com/compute/docs/zones#available) in which the cluster resides.
3463
3448
  # Corresponds to the JSON property `zone`
3464
3449
  # @return [String]
3465
3450
  attr_accessor :zone
@@ -3487,36 +3472,34 @@ module Google
3487
3472
  # @return [String]
3488
3473
  attr_accessor :action
3489
3474
 
3490
- # Deprecated. The name of the cluster to upgrade.
3491
- # This field has been deprecated and replaced by the name field.
3475
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3476
+ # and replaced by the name field.
3492
3477
  # Corresponds to the JSON property `clusterId`
3493
3478
  # @return [String]
3494
3479
  attr_accessor :cluster_id
3495
3480
 
3496
- # The name (project, location, cluster) of the cluster to set auth.
3497
- # Specified in the format `projects/*/locations/*/clusters/*`.
3481
+ # The name (project, location, cluster) of the cluster to set auth. Specified in
3482
+ # the format `projects/*/locations/*/clusters/*`.
3498
3483
  # Corresponds to the JSON property `name`
3499
3484
  # @return [String]
3500
3485
  attr_accessor :name
3501
3486
 
3502
- # Deprecated. The Google Developers Console [project ID or project
3503
- # number](https://support.google.com/cloud/answer/6158840).
3504
- # This field has been deprecated and replaced by the name field.
3487
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3488
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3489
+ # replaced by the name field.
3505
3490
  # Corresponds to the JSON property `projectId`
3506
3491
  # @return [String]
3507
3492
  attr_accessor :project_id
3508
3493
 
3509
3494
  # The authentication information for accessing the master endpoint.
3510
- # Authentication can be done using HTTP basic auth or using client
3511
- # certificates.
3495
+ # Authentication can be done using HTTP basic auth or using client certificates.
3512
3496
  # Corresponds to the JSON property `update`
3513
3497
  # @return [Google::Apis::ContainerV1::MasterAuth]
3514
3498
  attr_accessor :update
3515
3499
 
3516
- # Deprecated. The name of the Google Compute Engine
3517
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3518
- # cluster resides. This field has been deprecated and replaced by the name
3519
- # field.
3500
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3501
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3502
+ # been deprecated and replaced by the name field.
3520
3503
  # Corresponds to the JSON property `zone`
3521
3504
  # @return [String]
3522
3505
  attr_accessor :zone
@@ -3540,21 +3523,19 @@ module Google
3540
3523
  class SetMonitoringServiceRequest
3541
3524
  include Google::Apis::Core::Hashable
3542
3525
 
3543
- # Deprecated. The name of the cluster to upgrade.
3544
- # This field has been deprecated and replaced by the name field.
3526
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3527
+ # and replaced by the name field.
3545
3528
  # Corresponds to the JSON property `clusterId`
3546
3529
  # @return [String]
3547
3530
  attr_accessor :cluster_id
3548
3531
 
3549
3532
  # Required. The monitoring service the cluster should use to write metrics.
3550
- # Currently available options:
3551
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
3552
- # service with a Kubernetes-native resource model
3553
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
3554
- # longer available as of GKE 1.15).
3555
- # * `none` - No metrics will be exported from the cluster.
3556
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
3557
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
3533
+ # Currently available options: * "monitoring.googleapis.com/kubernetes" - The
3534
+ # Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.
3535
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
3536
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
3537
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
3538
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
3558
3539
  # Corresponds to the JSON property `monitoringService`
3559
3540
  # @return [String]
3560
3541
  attr_accessor :monitoring_service
@@ -3565,17 +3546,16 @@ module Google
3565
3546
  # @return [String]
3566
3547
  attr_accessor :name
3567
3548
 
3568
- # Deprecated. The Google Developers Console [project ID or project
3569
- # number](https://support.google.com/cloud/answer/6158840).
3570
- # This field has been deprecated and replaced by the name field.
3549
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3550
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3551
+ # replaced by the name field.
3571
3552
  # Corresponds to the JSON property `projectId`
3572
3553
  # @return [String]
3573
3554
  attr_accessor :project_id
3574
3555
 
3575
- # Deprecated. The name of the Google Compute Engine
3576
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3577
- # cluster resides. This field has been deprecated and replaced by the name
3578
- # field.
3556
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3557
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3558
+ # been deprecated and replaced by the name field.
3579
3559
  # Corresponds to the JSON property `zone`
3580
3560
  # @return [String]
3581
3561
  attr_accessor :zone
@@ -3598,8 +3578,8 @@ module Google
3598
3578
  class SetNetworkPolicyRequest
3599
3579
  include Google::Apis::Core::Hashable
3600
3580
 
3601
- # Deprecated. The name of the cluster.
3602
- # This field has been deprecated and replaced by the name field.
3581
+ # Deprecated. The name of the cluster. This field has been deprecated and
3582
+ # replaced by the name field.
3603
3583
  # Corresponds to the JSON property `clusterId`
3604
3584
  # @return [String]
3605
3585
  attr_accessor :cluster_id
@@ -3610,23 +3590,22 @@ module Google
3610
3590
  # @return [String]
3611
3591
  attr_accessor :name
3612
3592
 
3613
- # Configuration options for the NetworkPolicy feature.
3614
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
3593
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
3594
+ # docs/concepts/services-networking/networkpolicies/
3615
3595
  # Corresponds to the JSON property `networkPolicy`
3616
3596
  # @return [Google::Apis::ContainerV1::NetworkPolicy]
3617
3597
  attr_accessor :network_policy
3618
3598
 
3619
- # Deprecated. The Google Developers Console [project ID or project
3620
- # number](https://developers.google.com/console/help/new/#projectnumber).
3621
- # This field has been deprecated and replaced by the name field.
3599
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3600
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3601
+ # deprecated and replaced by the name field.
3622
3602
  # Corresponds to the JSON property `projectId`
3623
3603
  # @return [String]
3624
3604
  attr_accessor :project_id
3625
3605
 
3626
- # Deprecated. The name of the Google Compute Engine
3627
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3628
- # cluster resides. This field has been deprecated and replaced by the name
3629
- # field.
3606
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3607
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3608
+ # been deprecated and replaced by the name field.
3630
3609
  # Corresponds to the JSON property `zone`
3631
3610
  # @return [String]
3632
3611
  attr_accessor :zone
@@ -3655,36 +3634,35 @@ module Google
3655
3634
  # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
3656
3635
  attr_accessor :autoscaling
3657
3636
 
3658
- # Deprecated. The name of the cluster to upgrade.
3659
- # This field has been deprecated and replaced by the name field.
3637
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3638
+ # and replaced by the name field.
3660
3639
  # Corresponds to the JSON property `clusterId`
3661
3640
  # @return [String]
3662
3641
  attr_accessor :cluster_id
3663
3642
 
3664
3643
  # The name (project, location, cluster, node pool) of the node pool to set
3665
- # autoscaler settings. Specified in the format
3666
- # `projects/*/locations/*/clusters/*/nodePools/*`.
3644
+ # autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*
3645
+ # /nodePools/*`.
3667
3646
  # Corresponds to the JSON property `name`
3668
3647
  # @return [String]
3669
3648
  attr_accessor :name
3670
3649
 
3671
- # Deprecated. The name of the node pool to upgrade.
3672
- # This field has been deprecated and replaced by the name field.
3650
+ # Deprecated. The name of the node pool to upgrade. This field has been
3651
+ # deprecated and replaced by the name field.
3673
3652
  # Corresponds to the JSON property `nodePoolId`
3674
3653
  # @return [String]
3675
3654
  attr_accessor :node_pool_id
3676
3655
 
3677
- # Deprecated. The Google Developers Console [project ID or project
3678
- # number](https://support.google.com/cloud/answer/6158840).
3679
- # This field has been deprecated and replaced by the name field.
3656
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3657
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3658
+ # replaced by the name field.
3680
3659
  # Corresponds to the JSON property `projectId`
3681
3660
  # @return [String]
3682
3661
  attr_accessor :project_id
3683
3662
 
3684
- # Deprecated. The name of the Google Compute Engine
3685
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3686
- # cluster resides. This field has been deprecated and replaced by the name
3687
- # field.
3663
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3664
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3665
+ # been deprecated and replaced by the name field.
3688
3666
  # Corresponds to the JSON property `zone`
3689
3667
  # @return [String]
3690
3668
  attr_accessor :zone
@@ -3709,8 +3687,8 @@ module Google
3709
3687
  class SetNodePoolManagementRequest
3710
3688
  include Google::Apis::Core::Hashable
3711
3689
 
3712
- # Deprecated. The name of the cluster to update.
3713
- # This field has been deprecated and replaced by the name field.
3690
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3691
+ # and replaced by the name field.
3714
3692
  # Corresponds to the JSON property `clusterId`
3715
3693
  # @return [String]
3716
3694
  attr_accessor :cluster_id
@@ -3722,29 +3700,28 @@ module Google
3722
3700
  attr_accessor :management
3723
3701
 
3724
3702
  # The name (project, location, cluster, node pool id) of the node pool to set
3725
- # management properties. Specified in the format
3726
- # `projects/*/locations/*/clusters/*/nodePools/*`.
3703
+ # management properties. Specified in the format `projects/*/locations/*/
3704
+ # clusters/*/nodePools/*`.
3727
3705
  # Corresponds to the JSON property `name`
3728
3706
  # @return [String]
3729
3707
  attr_accessor :name
3730
3708
 
3731
- # Deprecated. The name of the node pool to update.
3732
- # This field has been deprecated and replaced by the name field.
3709
+ # Deprecated. The name of the node pool to update. This field has been
3710
+ # deprecated and replaced by the name field.
3733
3711
  # Corresponds to the JSON property `nodePoolId`
3734
3712
  # @return [String]
3735
3713
  attr_accessor :node_pool_id
3736
3714
 
3737
- # Deprecated. The Google Developers Console [project ID or project
3738
- # number](https://support.google.com/cloud/answer/6158840).
3739
- # This field has been deprecated and replaced by the name field.
3715
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3716
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3717
+ # replaced by the name field.
3740
3718
  # Corresponds to the JSON property `projectId`
3741
3719
  # @return [String]
3742
3720
  attr_accessor :project_id
3743
3721
 
3744
- # Deprecated. The name of the Google Compute Engine
3745
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3746
- # cluster resides. This field has been deprecated and replaced by the name
3747
- # field.
3722
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3723
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3724
+ # been deprecated and replaced by the name field.
3748
3725
  # Corresponds to the JSON property `zone`
3749
3726
  # @return [String]
3750
3727
  attr_accessor :zone
@@ -3764,20 +3741,18 @@ module Google
3764
3741
  end
3765
3742
  end
3766
3743
 
3767
- # SetNodePoolSizeRequest sets the size a node
3768
- # pool.
3744
+ # SetNodePoolSizeRequest sets the size a node pool.
3769
3745
  class SetNodePoolSizeRequest
3770
3746
  include Google::Apis::Core::Hashable
3771
3747
 
3772
- # Deprecated. The name of the cluster to update.
3773
- # This field has been deprecated and replaced by the name field.
3748
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3749
+ # and replaced by the name field.
3774
3750
  # Corresponds to the JSON property `clusterId`
3775
3751
  # @return [String]
3776
3752
  attr_accessor :cluster_id
3777
3753
 
3778
3754
  # The name (project, location, cluster, node pool id) of the node pool to set
3779
- # size.
3780
- # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3755
+ # size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3781
3756
  # Corresponds to the JSON property `name`
3782
3757
  # @return [String]
3783
3758
  attr_accessor :name
@@ -3787,23 +3762,22 @@ module Google
3787
3762
  # @return [Fixnum]
3788
3763
  attr_accessor :node_count
3789
3764
 
3790
- # Deprecated. The name of the node pool to update.
3791
- # This field has been deprecated and replaced by the name field.
3765
+ # Deprecated. The name of the node pool to update. This field has been
3766
+ # deprecated and replaced by the name field.
3792
3767
  # Corresponds to the JSON property `nodePoolId`
3793
3768
  # @return [String]
3794
3769
  attr_accessor :node_pool_id
3795
3770
 
3796
- # Deprecated. The Google Developers Console [project ID or project
3797
- # number](https://support.google.com/cloud/answer/6158840).
3798
- # This field has been deprecated and replaced by the name field.
3771
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3772
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3773
+ # replaced by the name field.
3799
3774
  # Corresponds to the JSON property `projectId`
3800
3775
  # @return [String]
3801
3776
  attr_accessor :project_id
3802
3777
 
3803
- # Deprecated. The name of the Google Compute Engine
3804
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3805
- # cluster resides. This field has been deprecated and replaced by the name
3806
- # field.
3778
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3779
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3780
+ # been deprecated and replaced by the name field.
3807
3781
  # Corresponds to the JSON property `zone`
3808
3782
  # @return [String]
3809
3783
  attr_accessor :zone
@@ -3827,20 +3801,20 @@ module Google
3827
3801
  class ShieldedInstanceConfig
3828
3802
  include Google::Apis::Core::Hashable
3829
3803
 
3830
- # Defines whether the instance has integrity monitoring enabled.
3831
- # Enables monitoring and attestation of the boot integrity of the instance.
3832
- # The attestation is performed against the integrity policy baseline. This
3833
- # baseline is initially derived from the implicitly trusted boot image when
3834
- # the instance is created.
3804
+ # Defines whether the instance has integrity monitoring enabled. Enables
3805
+ # monitoring and attestation of the boot integrity of the instance. The
3806
+ # attestation is performed against the integrity policy baseline. This baseline
3807
+ # is initially derived from the implicitly trusted boot image when the instance
3808
+ # is created.
3835
3809
  # Corresponds to the JSON property `enableIntegrityMonitoring`
3836
3810
  # @return [Boolean]
3837
3811
  attr_accessor :enable_integrity_monitoring
3838
3812
  alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
3839
3813
 
3840
- # Defines whether the instance has Secure Boot enabled.
3841
- # Secure Boot helps ensure that the system only runs authentic software by
3842
- # verifying the digital signature of all boot components, and halting the
3843
- # boot process if signature verification fails.
3814
+ # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure
3815
+ # that the system only runs authentic software by verifying the digital
3816
+ # signature of all boot components, and halting the boot process if signature
3817
+ # verification fails.
3844
3818
  # Corresponds to the JSON property `enableSecureBoot`
3845
3819
  # @return [Boolean]
3846
3820
  attr_accessor :enable_secure_boot
@@ -3877,26 +3851,26 @@ module Google
3877
3851
  end
3878
3852
  end
3879
3853
 
3880
- # StartIPRotationRequest creates a new IP for the cluster and then performs
3881
- # a node upgrade on each node pool to point to the new IP.
3854
+ # StartIPRotationRequest creates a new IP for the cluster and then performs a
3855
+ # node upgrade on each node pool to point to the new IP.
3882
3856
  class StartIpRotationRequest
3883
3857
  include Google::Apis::Core::Hashable
3884
3858
 
3885
- # Deprecated. The name of the cluster.
3886
- # This field has been deprecated and replaced by the name field.
3859
+ # Deprecated. The name of the cluster. This field has been deprecated and
3860
+ # replaced by the name field.
3887
3861
  # Corresponds to the JSON property `clusterId`
3888
3862
  # @return [String]
3889
3863
  attr_accessor :cluster_id
3890
3864
 
3891
- # The name (project, location, cluster id) of the cluster to start IP
3892
- # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
3865
+ # The name (project, location, cluster id) of the cluster to start IP rotation.
3866
+ # Specified in the format `projects/*/locations/*/clusters/*`.
3893
3867
  # Corresponds to the JSON property `name`
3894
3868
  # @return [String]
3895
3869
  attr_accessor :name
3896
3870
 
3897
- # Deprecated. The Google Developers Console [project ID or project
3898
- # number](https://developers.google.com/console/help/new/#projectnumber).
3899
- # This field has been deprecated and replaced by the name field.
3871
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3872
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3873
+ # deprecated and replaced by the name field.
3900
3874
  # Corresponds to the JSON property `projectId`
3901
3875
  # @return [String]
3902
3876
  attr_accessor :project_id
@@ -3907,10 +3881,9 @@ module Google
3907
3881
  attr_accessor :rotate_credentials
3908
3882
  alias_method :rotate_credentials?, :rotate_credentials
3909
3883
 
3910
- # Deprecated. The name of the Google Compute Engine
3911
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3912
- # cluster resides. This field has been deprecated and replaced by the name
3913
- # field.
3884
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3885
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3886
+ # been deprecated and replaced by the name field.
3914
3887
  # Corresponds to the JSON property `zone`
3915
3888
  # @return [String]
3916
3889
  attr_accessor :zone
@@ -3929,8 +3902,8 @@ module Google
3929
3902
  end
3930
3903
  end
3931
3904
 
3932
- # StatusCondition describes why a cluster or a node pool has a certain status
3933
- # (e.g., ERROR or DEGRADED).
3905
+ # StatusCondition describes why a cluster or a node pool has a certain status (e.
3906
+ # g., ERROR or DEGRADED).
3934
3907
  class StatusCondition
3935
3908
  include Google::Apis::Core::Hashable
3936
3909
 
@@ -3959,8 +3932,8 @@ module Google
3959
3932
  class TimeWindow
3960
3933
  include Google::Apis::Core::Hashable
3961
3934
 
3962
- # The time that the window ends. The end time should take place after the
3963
- # start time.
3935
+ # The time that the window ends. The end time should take place after the start
3936
+ # time.
3964
3937
  # Corresponds to the JSON property `endTime`
3965
3938
  # @return [String]
3966
3939
  attr_accessor :end_time
@@ -3985,36 +3958,34 @@ module Google
3985
3958
  class UpdateClusterRequest
3986
3959
  include Google::Apis::Core::Hashable
3987
3960
 
3988
- # Deprecated. The name of the cluster to upgrade.
3989
- # This field has been deprecated and replaced by the name field.
3961
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3962
+ # and replaced by the name field.
3990
3963
  # Corresponds to the JSON property `clusterId`
3991
3964
  # @return [String]
3992
3965
  attr_accessor :cluster_id
3993
3966
 
3994
- # The name (project, location, cluster) of the cluster to update.
3995
- # Specified in the format `projects/*/locations/*/clusters/*`.
3967
+ # The name (project, location, cluster) of the cluster to update. Specified in
3968
+ # the format `projects/*/locations/*/clusters/*`.
3996
3969
  # Corresponds to the JSON property `name`
3997
3970
  # @return [String]
3998
3971
  attr_accessor :name
3999
3972
 
4000
- # Deprecated. The Google Developers Console [project ID or project
4001
- # number](https://support.google.com/cloud/answer/6158840).
4002
- # This field has been deprecated and replaced by the name field.
3973
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3974
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3975
+ # replaced by the name field.
4003
3976
  # Corresponds to the JSON property `projectId`
4004
3977
  # @return [String]
4005
3978
  attr_accessor :project_id
4006
3979
 
4007
- # ClusterUpdate describes an update to the cluster. Exactly one update can
4008
- # be applied to a cluster with each request, so at most one field can be
4009
- # provided.
3980
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
3981
+ # applied to a cluster with each request, so at most one field can be provided.
4010
3982
  # Corresponds to the JSON property `update`
4011
3983
  # @return [Google::Apis::ContainerV1::ClusterUpdate]
4012
3984
  attr_accessor :update
4013
3985
 
4014
- # Deprecated. The name of the Google Compute Engine
4015
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4016
- # cluster resides. This field has been deprecated and replaced by the name
4017
- # field.
3986
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3987
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3988
+ # been deprecated and replaced by the name field.
4018
3989
  # Corresponds to the JSON property `zone`
4019
3990
  # @return [String]
4020
3991
  attr_accessor :zone
@@ -4037,41 +4008,39 @@ module Google
4037
4008
  class UpdateMasterRequest
4038
4009
  include Google::Apis::Core::Hashable
4039
4010
 
4040
- # Deprecated. The name of the cluster to upgrade.
4041
- # This field has been deprecated and replaced by the name field.
4011
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
4012
+ # and replaced by the name field.
4042
4013
  # Corresponds to the JSON property `clusterId`
4043
4014
  # @return [String]
4044
4015
  attr_accessor :cluster_id
4045
4016
 
4046
- # Required. The Kubernetes version to change the master to.
4047
- # Users may specify either explicit versions offered by Kubernetes Engine or
4048
- # version aliases, which have the following behavior:
4049
- # - "latest": picks the highest valid Kubernetes version
4050
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
4051
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
4052
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
4053
- # - "-": picks the default Kubernetes version
4017
+ # Required. The Kubernetes version to change the master to. Users may specify
4018
+ # either explicit versions offered by Kubernetes Engine or version aliases,
4019
+ # which have the following behavior: - "latest": picks the highest valid
4020
+ # Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.
4021
+ # X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version -
4022
+ # "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default
4023
+ # Kubernetes version
4054
4024
  # Corresponds to the JSON property `masterVersion`
4055
4025
  # @return [String]
4056
4026
  attr_accessor :master_version
4057
4027
 
4058
- # The name (project, location, cluster) of the cluster to update.
4059
- # Specified in the format `projects/*/locations/*/clusters/*`.
4028
+ # The name (project, location, cluster) of the cluster to update. Specified in
4029
+ # the format `projects/*/locations/*/clusters/*`.
4060
4030
  # Corresponds to the JSON property `name`
4061
4031
  # @return [String]
4062
4032
  attr_accessor :name
4063
4033
 
4064
- # Deprecated. The Google Developers Console [project ID or project
4065
- # number](https://support.google.com/cloud/answer/6158840).
4066
- # This field has been deprecated and replaced by the name field.
4034
+ # Deprecated. The Google Developers Console [project ID or project number](https:
4035
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
4036
+ # replaced by the name field.
4067
4037
  # Corresponds to the JSON property `projectId`
4068
4038
  # @return [String]
4069
4039
  attr_accessor :project_id
4070
4040
 
4071
- # Deprecated. The name of the Google Compute Engine
4072
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4073
- # cluster resides. This field has been deprecated and replaced by the name
4074
- # field.
4041
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
4042
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
4043
+ # been deprecated and replaced by the name field.
4075
4044
  # Corresponds to the JSON property `zone`
4076
4045
  # @return [String]
4077
4046
  attr_accessor :zone
@@ -4094,8 +4063,8 @@ module Google
4094
4063
  class UpdateNodePoolRequest
4095
4064
  include Google::Apis::Core::Hashable
4096
4065
 
4097
- # Deprecated. The name of the cluster to upgrade.
4098
- # This field has been deprecated and replaced by the name field.
4066
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
4067
+ # and replaced by the name field.
4099
4068
  # Corresponds to the JSON property `clusterId`
4100
4069
  # @return [String]
4101
4070
  attr_accessor :cluster_id
@@ -4105,66 +4074,59 @@ module Google
4105
4074
  # @return [String]
4106
4075
  attr_accessor :image_type
4107
4076
 
4108
- # The desired list of Google Compute Engine
4109
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
4110
- # node pool's nodes should be located. Changing the locations for a node pool
4111
- # will result in nodes being either created or removed from the node pool,
4112
- # depending on whether locations are being added or removed.
4077
+ # The desired list of Google Compute Engine [zones](https://cloud.google.com/
4078
+ # compute/docs/zones#available) in which the node pool's nodes should be located.
4079
+ # Changing the locations for a node pool will result in nodes being either
4080
+ # created or removed from the node pool, depending on whether locations are
4081
+ # being added or removed.
4113
4082
  # Corresponds to the JSON property `locations`
4114
4083
  # @return [Array<String>]
4115
4084
  attr_accessor :locations
4116
4085
 
4117
- # The name (project, location, cluster, node pool) of the node pool to
4118
- # update. Specified in the format
4119
- # `projects/*/locations/*/clusters/*/nodePools/*`.
4086
+ # The name (project, location, cluster, node pool) of the node pool to update.
4087
+ # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
4120
4088
  # Corresponds to the JSON property `name`
4121
4089
  # @return [String]
4122
4090
  attr_accessor :name
4123
4091
 
4124
- # Deprecated. The name of the node pool to upgrade.
4125
- # This field has been deprecated and replaced by the name field.
4092
+ # Deprecated. The name of the node pool to upgrade. This field has been
4093
+ # deprecated and replaced by the name field.
4126
4094
  # Corresponds to the JSON property `nodePoolId`
4127
4095
  # @return [String]
4128
4096
  attr_accessor :node_pool_id
4129
4097
 
4130
- # Required. The Kubernetes version to change the nodes to (typically an
4131
- # upgrade).
4098
+ # Required. The Kubernetes version to change the nodes to (typically an upgrade).
4132
4099
  # Users may specify either explicit versions offered by Kubernetes Engine or
4133
- # version aliases, which have the following behavior:
4134
- # - "latest": picks the highest valid Kubernetes version
4135
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
4136
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
4137
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
4138
- # - "-": picks the Kubernetes master version
4100
+ # version aliases, which have the following behavior: - "latest": picks the
4101
+ # highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N
4102
+ # patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the
4103
+ # 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-":
4104
+ # picks the Kubernetes master version
4139
4105
  # Corresponds to the JSON property `nodeVersion`
4140
4106
  # @return [String]
4141
4107
  attr_accessor :node_version
4142
4108
 
4143
- # Deprecated. The Google Developers Console [project ID or project
4144
- # number](https://support.google.com/cloud/answer/6158840).
4145
- # This field has been deprecated and replaced by the name field.
4109
+ # Deprecated. The Google Developers Console [project ID or project number](https:
4110
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
4111
+ # replaced by the name field.
4146
4112
  # Corresponds to the JSON property `projectId`
4147
4113
  # @return [String]
4148
4114
  attr_accessor :project_id
4149
4115
 
4150
4116
  # These upgrade settings control the level of parallelism and the level of
4151
- # disruption caused by an upgrade.
4152
- # maxUnavailable controls the number of nodes that can be simultaneously
4153
- # unavailable.
4154
- # maxSurge controls the number of additional nodes that can be added to the
4155
- # node pool temporarily for the time of the upgrade to increase the number of
4156
- # available nodes.
4157
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
4158
- # nodes are being upgraded at the same time).
4159
- # Note: upgrades inevitably introduce some disruption since workloads need to
4160
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
4161
- # this holds true. (Disruption stays within the limits of
4162
- # PodDisruptionBudget, if it is configured.)
4163
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
4164
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
4165
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
4166
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
4167
- # there are always at least 4 nodes available.
4117
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
4118
+ # that can be simultaneously unavailable. maxSurge controls the number of
4119
+ # additional nodes that can be added to the node pool temporarily for the time
4120
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
4121
+ # maxSurge) determines the level of parallelism (how many nodes are being
4122
+ # upgraded at the same time). Note: upgrades inevitably introduce some
4123
+ # disruption since workloads need to be moved from old nodes to new, upgraded
4124
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
4125
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
4126
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
4127
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
4128
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
4129
+ # same time. This ensures that there are always at least 4 nodes available.
4168
4130
  # Corresponds to the JSON property `upgradeSettings`
4169
4131
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
4170
4132
  attr_accessor :upgrade_settings
@@ -4175,10 +4137,9 @@ module Google
4175
4137
  # @return [Google::Apis::ContainerV1::WorkloadMetadataConfig]
4176
4138
  attr_accessor :workload_metadata_config
4177
4139
 
4178
- # Deprecated. The name of the Google Compute Engine
4179
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4180
- # cluster resides. This field has been deprecated and replaced by the name
4181
- # field.
4140
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
4141
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
4142
+ # been deprecated and replaced by the name field.
4182
4143
  # Corresponds to the JSON property `zone`
4183
4144
  # @return [String]
4184
4145
  attr_accessor :zone
@@ -4202,36 +4163,82 @@ module Google
4202
4163
  end
4203
4164
  end
4204
4165
 
4166
+ # UpgradeEvent is a notification sent to customers by the cluster server when a
4167
+ # resource is upgrading.
4168
+ class UpgradeEvent
4169
+ include Google::Apis::Core::Hashable
4170
+
4171
+ # Required. The current version before the upgrade.
4172
+ # Corresponds to the JSON property `currentVersion`
4173
+ # @return [String]
4174
+ attr_accessor :current_version
4175
+
4176
+ # Required. The operation associated with this upgrade.
4177
+ # Corresponds to the JSON property `operation`
4178
+ # @return [String]
4179
+ attr_accessor :operation
4180
+
4181
+ # Required. The time when the operation was started.
4182
+ # Corresponds to the JSON property `operationStartTime`
4183
+ # @return [String]
4184
+ attr_accessor :operation_start_time
4185
+
4186
+ # Optional. Optional relative path to the resource. For example in node pool
4187
+ # upgrades, the relative path of the node pool.
4188
+ # Corresponds to the JSON property `resource`
4189
+ # @return [String]
4190
+ attr_accessor :resource
4191
+
4192
+ # Required. The resource type that is upgrading.
4193
+ # Corresponds to the JSON property `resourceType`
4194
+ # @return [String]
4195
+ attr_accessor :resource_type
4196
+
4197
+ # Required. The target version for the upgrade.
4198
+ # Corresponds to the JSON property `targetVersion`
4199
+ # @return [String]
4200
+ attr_accessor :target_version
4201
+
4202
+ def initialize(**args)
4203
+ update!(**args)
4204
+ end
4205
+
4206
+ # Update properties of this object
4207
+ def update!(**args)
4208
+ @current_version = args[:current_version] if args.key?(:current_version)
4209
+ @operation = args[:operation] if args.key?(:operation)
4210
+ @operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
4211
+ @resource = args[:resource] if args.key?(:resource)
4212
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
4213
+ @target_version = args[:target_version] if args.key?(:target_version)
4214
+ end
4215
+ end
4216
+
4205
4217
  # These upgrade settings control the level of parallelism and the level of
4206
- # disruption caused by an upgrade.
4207
- # maxUnavailable controls the number of nodes that can be simultaneously
4208
- # unavailable.
4209
- # maxSurge controls the number of additional nodes that can be added to the
4210
- # node pool temporarily for the time of the upgrade to increase the number of
4211
- # available nodes.
4212
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
4213
- # nodes are being upgraded at the same time).
4214
- # Note: upgrades inevitably introduce some disruption since workloads need to
4215
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
4216
- # this holds true. (Disruption stays within the limits of
4217
- # PodDisruptionBudget, if it is configured.)
4218
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
4219
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
4220
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
4221
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
4222
- # there are always at least 4 nodes available.
4218
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
4219
+ # that can be simultaneously unavailable. maxSurge controls the number of
4220
+ # additional nodes that can be added to the node pool temporarily for the time
4221
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
4222
+ # maxSurge) determines the level of parallelism (how many nodes are being
4223
+ # upgraded at the same time). Note: upgrades inevitably introduce some
4224
+ # disruption since workloads need to be moved from old nodes to new, upgraded
4225
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
4226
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
4227
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
4228
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
4229
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
4230
+ # same time. This ensures that there are always at least 4 nodes available.
4223
4231
  class UpgradeSettings
4224
4232
  include Google::Apis::Core::Hashable
4225
4233
 
4226
- # The maximum number of nodes that can be created beyond the current size
4227
- # of the node pool during the upgrade process.
4234
+ # The maximum number of nodes that can be created beyond the current size of the
4235
+ # node pool during the upgrade process.
4228
4236
  # Corresponds to the JSON property `maxSurge`
4229
4237
  # @return [Fixnum]
4230
4238
  attr_accessor :max_surge
4231
4239
 
4232
- # The maximum number of nodes that can be simultaneously unavailable during
4233
- # the upgrade process. A node is considered available if its status is
4234
- # Ready.
4240
+ # The maximum number of nodes that can be simultaneously unavailable during the
4241
+ # upgrade process. A node is considered available if its status is Ready.
4235
4242
  # Corresponds to the JSON property `maxUnavailable`
4236
4243
  # @return [Fixnum]
4237
4244
  attr_accessor :max_unavailable
@@ -4257,8 +4264,7 @@ module Google
4257
4264
  # @return [String]
4258
4265
  attr_accessor :ip_cidr_range
4259
4266
 
4260
- # Network Name.
4261
- # Example: projects/my-project/global/networks/my-network
4267
+ # Network Name. Example: projects/my-project/global/networks/my-network
4262
4268
  # Corresponds to the JSON property `network`
4263
4269
  # @return [String]
4264
4270
  attr_accessor :network
@@ -4268,16 +4274,16 @@ module Google
4268
4274
  # @return [Array<Google::Apis::ContainerV1::UsableSubnetworkSecondaryRange>]
4269
4275
  attr_accessor :secondary_ip_ranges
4270
4276
 
4271
- # A human readable status message representing the reasons for cases where
4272
- # the caller cannot use the secondary ranges under the subnet. For example if
4273
- # the secondary_ip_ranges is empty due to a permission issue, an insufficient
4277
+ # A human readable status message representing the reasons for cases where the
4278
+ # caller cannot use the secondary ranges under the subnet. For example if the
4279
+ # secondary_ip_ranges is empty due to a permission issue, an insufficient
4274
4280
  # permission message will be given by status_message.
4275
4281
  # Corresponds to the JSON property `statusMessage`
4276
4282
  # @return [String]
4277
4283
  attr_accessor :status_message
4278
4284
 
4279
- # Subnetwork Name.
4280
- # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
4285
+ # Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/
4286
+ # my-subnet
4281
4287
  # Corresponds to the JSON property `subnetwork`
4282
4288
  # @return [String]
4283
4289
  attr_accessor :subnetwork
@@ -4305,8 +4311,8 @@ module Google
4305
4311
  # @return [String]
4306
4312
  attr_accessor :ip_cidr_range
4307
4313
 
4308
- # The name associated with this subnetwork secondary range, used when adding
4309
- # an alias IP range to a VM instance.
4314
+ # The name associated with this subnetwork secondary range, used when adding an
4315
+ # alias IP range to a VM instance.
4310
4316
  # Corresponds to the JSON property `rangeName`
4311
4317
  # @return [String]
4312
4318
  attr_accessor :range_name
@@ -4328,9 +4334,9 @@ module Google
4328
4334
  end
4329
4335
  end
4330
4336
 
4331
- # VerticalPodAutoscaling contains global, per-cluster information
4332
- # required by Vertical Pod Autoscaler to automatically adjust
4333
- # the resources of pods controlled by it.
4337
+ # VerticalPodAutoscaling contains global, per-cluster information required by
4338
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
4339
+ # controlled by it.
4334
4340
  class VerticalPodAutoscaling
4335
4341
  include Google::Apis::Core::Hashable
4336
4342
 
@@ -4350,8 +4356,7 @@ module Google
4350
4356
  end
4351
4357
  end
4352
4358
 
4353
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
4354
- # policies.
4359
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
4355
4360
  class WorkloadIdentityConfig
4356
4361
  include Google::Apis::Core::Hashable
4357
4362
 
@@ -4375,8 +4380,8 @@ module Google
4375
4380
  class WorkloadMetadataConfig
4376
4381
  include Google::Apis::Core::Hashable
4377
4382
 
4378
- # Mode is the configuration for how to expose metadata to workloads running
4379
- # on the node pool.
4383
+ # Mode is the configuration for how to expose metadata to workloads running on
4384
+ # the node pool.
4380
4385
  # Corresponds to the JSON property `mode`
4381
4386
  # @return [String]
4382
4387
  attr_accessor :mode