google-api-client 0.41.2 → 0.44.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (897) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +529 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -129
  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 +532 -651
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  21. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  23. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  24. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  25. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  26. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  27. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  28. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  29. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  30. data/generated/google/apis/admin_directory_v1.rb +6 -8
  31. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  32. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  33. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  34. data/generated/google/apis/admin_reports_v1.rb +6 -5
  35. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  36. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  37. data/generated/google/apis/admob_v1.rb +1 -1
  38. data/generated/google/apis/admob_v1/classes.rb +139 -268
  39. data/generated/google/apis/admob_v1/service.rb +11 -13
  40. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  41. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  42. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  43. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  44. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  45. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  47. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  48. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  50. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  53. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  56. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  57. data/generated/google/apis/apigee_v1.rb +6 -8
  58. data/generated/google/apis/apigee_v1/classes.rb +2060 -1099
  59. data/generated/google/apis/apigee_v1/representations.rb +593 -0
  60. data/generated/google/apis/apigee_v1/service.rb +2596 -1692
  61. data/generated/google/apis/appengine_v1.rb +1 -1
  62. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  63. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  64. data/generated/google/apis/appengine_v1/service.rb +38 -44
  65. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  66. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  67. data/generated/google/apis/appengine_v1beta.rb +1 -1
  68. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  69. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  70. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  71. data/generated/google/apis/appsmarket_v2.rb +1 -1
  72. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  73. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  74. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  75. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +538 -541
  78. data/generated/google/apis/bigquery_v2/representations.rb +71 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  80. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  81. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  82. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  83. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  84. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  85. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  86. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  87. data/generated/google/apis/bigqueryreservation_v1/classes.rb +146 -119
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +18 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +174 -160
  90. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  91. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  92. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  93. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +99 -96
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +3 -0
  96. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  97. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  98. data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
  99. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  100. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  101. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
  102. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  103. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  104. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  105. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  106. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  107. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  108. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  109. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  110. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  111. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  112. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  113. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  114. data/generated/google/apis/blogger_v2.rb +2 -3
  115. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  116. data/generated/google/apis/blogger_v2/service.rb +1 -2
  117. data/generated/google/apis/blogger_v3.rb +2 -3
  118. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  119. data/generated/google/apis/blogger_v3/service.rb +1 -2
  120. data/generated/google/apis/books_v1.rb +1 -1
  121. data/generated/google/apis/books_v1/classes.rb +140 -159
  122. data/generated/google/apis/books_v1/service.rb +47 -49
  123. data/generated/google/apis/calendar_v3.rb +1 -1
  124. data/generated/google/apis/chat_v1.rb +1 -1
  125. data/generated/google/apis/chat_v1/classes.rb +211 -106
  126. data/generated/google/apis/chat_v1/representations.rb +63 -0
  127. data/generated/google/apis/chat_v1/service.rb +95 -36
  128. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  129. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  130. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  131. data/generated/google/apis/civicinfo_v2.rb +1 -1
  132. data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
  133. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  134. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  135. data/generated/google/apis/classroom_v1.rb +1 -1
  136. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  137. data/generated/google/apis/classroom_v1/service.rb +645 -900
  138. data/generated/google/apis/cloudasset_v1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  140. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  141. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  143. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  144. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  146. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  147. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  148. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  149. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  150. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  151. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  152. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  153. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  154. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  155. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  156. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  157. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  158. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  159. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  160. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  161. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  162. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  163. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  164. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  165. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  166. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  167. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  168. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  169. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  170. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  171. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  172. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  173. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  174. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  175. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  176. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  177. data/generated/google/apis/cloudfunctions_v1/classes.rb +333 -534
  178. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  179. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  180. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  181. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  182. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  183. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  184. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  185. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  186. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  187. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  188. data/generated/google/apis/cloudiot_v1.rb +1 -1
  189. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  190. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  191. data/generated/google/apis/cloudkms_v1.rb +1 -1
  192. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  193. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  194. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  195. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  196. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  197. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  198. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  200. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  201. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  203. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  204. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  207. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  208. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  209. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  210. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  211. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  212. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  213. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  214. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  215. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  216. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  217. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  218. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  219. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  220. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  221. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  222. data/generated/google/apis/cloudshell_v1.rb +1 -1
  223. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  224. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  225. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  226. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  227. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  228. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  229. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  231. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  232. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  234. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  235. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  236. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  237. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  238. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  240. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  241. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  243. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  244. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  246. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  247. data/generated/google/apis/composer_v1.rb +1 -1
  248. data/generated/google/apis/composer_v1/classes.rb +190 -242
  249. data/generated/google/apis/composer_v1/service.rb +79 -150
  250. data/generated/google/apis/composer_v1beta1.rb +1 -1
  251. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  252. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  253. data/generated/google/apis/compute_alpha.rb +1 -1
  254. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  255. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  256. data/generated/google/apis/compute_alpha/service.rb +710 -699
  257. data/generated/google/apis/compute_beta.rb +1 -1
  258. data/generated/google/apis/compute_beta/classes.rb +879 -75
  259. data/generated/google/apis/compute_beta/representations.rb +204 -1
  260. data/generated/google/apis/compute_beta/service.rb +875 -607
  261. data/generated/google/apis/compute_v1.rb +1 -1
  262. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  263. data/generated/google/apis/compute_v1/representations.rb +480 -15
  264. data/generated/google/apis/compute_v1/service.rb +1076 -43
  265. data/generated/google/apis/container_v1.rb +1 -1
  266. data/generated/google/apis/container_v1/classes.rb +946 -961
  267. data/generated/google/apis/container_v1/representations.rb +69 -0
  268. data/generated/google/apis/container_v1/service.rb +435 -502
  269. data/generated/google/apis/container_v1beta1.rb +1 -1
  270. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  271. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  272. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  273. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  275. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  276. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  277. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  278. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  279. data/generated/google/apis/content_v2.rb +1 -1
  280. data/generated/google/apis/content_v2/classes.rb +20 -3
  281. data/generated/google/apis/content_v2/representations.rb +1 -0
  282. data/generated/google/apis/content_v2_1.rb +1 -1
  283. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  284. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  285. data/generated/google/apis/content_v2_1/service.rb +53 -2
  286. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  287. data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
  288. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  289. data/generated/google/apis/customsearch_v1/service.rb +461 -0
  290. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  291. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  292. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  293. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  294. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  295. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  296. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  297. data/generated/google/apis/datafusion_v1.rb +40 -0
  298. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  299. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -93
  300. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  301. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  302. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  303. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  304. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  305. data/generated/google/apis/dataproc_v1.rb +1 -1
  306. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  307. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  308. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  309. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  310. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  311. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  312. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  313. data/generated/google/apis/datastore_v1.rb +1 -1
  314. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  315. data/generated/google/apis/datastore_v1/service.rb +52 -63
  316. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  317. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  318. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  319. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  320. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  321. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  322. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  323. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  324. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  325. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  327. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  335. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  337. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  338. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1641
  339. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  340. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -984
  341. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  342. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  343. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  344. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  345. data/generated/google/apis/displayvideo_v1.rb +7 -1
  346. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1719
  347. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  348. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  349. data/generated/google/apis/dlp_v2.rb +1 -1
  350. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  351. data/generated/google/apis/dlp_v2/service.rb +962 -905
  352. data/generated/google/apis/dns_v1.rb +4 -4
  353. data/generated/google/apis/dns_v1/classes.rb +290 -162
  354. data/generated/google/apis/dns_v1/service.rb +232 -180
  355. data/generated/google/apis/dns_v1beta2.rb +1 -1
  356. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  357. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  358. data/generated/google/apis/docs_v1.rb +1 -1
  359. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  360. data/generated/google/apis/docs_v1/service.rb +17 -22
  361. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  362. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  363. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  364. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  365. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  366. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  367. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  368. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  369. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  370. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  371. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  372. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  373. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  374. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  375. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  376. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  377. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  378. data/generated/google/apis/drive_v2.rb +1 -1
  379. data/generated/google/apis/drive_v2/classes.rb +82 -8
  380. data/generated/google/apis/drive_v2/representations.rb +23 -0
  381. data/generated/google/apis/drive_v2/service.rb +102 -25
  382. data/generated/google/apis/drive_v3.rb +1 -1
  383. data/generated/google/apis/drive_v3/classes.rb +87 -8
  384. data/generated/google/apis/drive_v3/representations.rb +24 -0
  385. data/generated/google/apis/drive_v3/service.rb +67 -16
  386. data/generated/google/apis/driveactivity_v2.rb +1 -1
  387. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  388. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  389. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  390. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  391. data/generated/google/apis/fcm_v1.rb +1 -1
  392. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  393. data/generated/google/apis/fcm_v1/service.rb +5 -6
  394. data/generated/google/apis/file_v1.rb +1 -1
  395. data/generated/google/apis/file_v1/classes.rb +154 -173
  396. data/generated/google/apis/file_v1/service.rb +43 -52
  397. data/generated/google/apis/file_v1beta1.rb +1 -1
  398. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  399. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  400. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  401. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  402. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  403. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  404. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  405. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  406. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  407. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  408. data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
  409. data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
  410. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  411. data/generated/google/apis/{securitycenter_v1p1alpha1 → firebasehosting_v1}/service.rb +51 -82
  412. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  413. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  414. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  415. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
  416. data/generated/google/apis/firebaseml_v1.rb +1 -1
  417. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  418. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  419. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  420. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  421. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  422. data/generated/google/apis/firebaserules_v1.rb +1 -1
  423. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  424. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  425. data/generated/google/apis/firestore_v1.rb +1 -1
  426. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  427. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  428. data/generated/google/apis/firestore_v1/service.rb +227 -185
  429. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  430. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  431. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  432. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  433. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  434. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  435. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  436. data/generated/google/apis/fitness_v1.rb +1 -1
  437. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  438. data/generated/google/apis/fitness_v1/service.rb +125 -146
  439. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  440. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  441. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  442. data/generated/google/apis/games_management_v1management.rb +2 -3
  443. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  444. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  445. data/generated/google/apis/games_v1.rb +5 -4
  446. data/generated/google/apis/games_v1/classes.rb +320 -2085
  447. data/generated/google/apis/games_v1/representations.rb +14 -647
  448. data/generated/google/apis/games_v1/service.rb +161 -1109
  449. data/generated/google/apis/gameservices_v1.rb +1 -1
  450. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  451. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  452. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  453. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  454. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  455. data/generated/google/apis/genomics_v1.rb +1 -1
  456. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  457. data/generated/google/apis/genomics_v1/service.rb +28 -43
  458. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  459. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  460. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  461. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  462. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  463. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  464. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  465. data/generated/google/apis/gmail_v1.rb +3 -3
  466. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  467. data/generated/google/apis/gmail_v1/service.rb +263 -290
  468. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  469. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  470. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  471. data/generated/google/apis/groupsmigration_v1.rb +3 -3
  472. data/generated/google/apis/groupsmigration_v1/service.rb +4 -4
  473. data/generated/google/apis/groupssettings_v1.rb +1 -1
  474. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  475. data/generated/google/apis/healthcare_v1.rb +1 -1
  476. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  477. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  478. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  479. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  480. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  481. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  482. data/generated/google/apis/homegraph_v1.rb +1 -1
  483. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  484. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  485. data/generated/google/apis/iam_v1.rb +5 -2
  486. data/generated/google/apis/iam_v1/classes.rb +388 -573
  487. data/generated/google/apis/iam_v1/service.rb +430 -544
  488. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  489. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  490. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  491. data/generated/google/apis/iap_v1.rb +1 -1
  492. data/generated/google/apis/iap_v1/classes.rb +246 -355
  493. data/generated/google/apis/iap_v1/service.rb +61 -71
  494. data/generated/google/apis/iap_v1beta1.rb +1 -1
  495. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  496. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  497. data/generated/google/apis/indexing_v3.rb +1 -1
  498. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  499. data/generated/google/apis/kgsearch_v1.rb +1 -1
  500. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  501. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  502. data/generated/google/apis/language_v1.rb +1 -1
  503. data/generated/google/apis/language_v1/classes.rb +93 -111
  504. data/generated/google/apis/language_v1/service.rb +4 -4
  505. data/generated/google/apis/language_v1beta1.rb +1 -1
  506. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  507. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  508. data/generated/google/apis/language_v1beta2.rb +1 -1
  509. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  510. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  511. data/generated/google/apis/libraryagent_v1.rb +1 -1
  512. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  513. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  514. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  515. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  516. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  517. data/generated/google/apis/{androidpublisher_v1/classes.rb → localservices_v1.rb} +11 -6
  518. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  519. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  520. data/generated/google/apis/localservices_v1/service.rb +199 -0
  521. data/generated/google/apis/logging_v2.rb +1 -1
  522. data/generated/google/apis/logging_v2/classes.rb +174 -214
  523. data/generated/google/apis/logging_v2/representations.rb +15 -0
  524. data/generated/google/apis/logging_v2/service.rb +1017 -584
  525. data/generated/google/apis/managedidentities_v1.rb +1 -1
  526. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  527. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  528. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  529. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  530. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  531. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  532. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  533. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  534. data/generated/google/apis/manufacturers_v1.rb +1 -1
  535. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  536. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  537. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  538. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  539. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  540. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  541. data/generated/google/apis/ml_v1.rb +1 -1
  542. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  543. data/generated/google/apis/ml_v1/representations.rb +64 -0
  544. data/generated/google/apis/ml_v1/service.rb +194 -253
  545. data/generated/google/apis/monitoring_v1.rb +1 -1
  546. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  547. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  548. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  549. data/generated/google/apis/monitoring_v3.rb +1 -1
  550. data/generated/google/apis/monitoring_v3/classes.rb +263 -315
  551. data/generated/google/apis/monitoring_v3/representations.rb +3 -0
  552. data/generated/google/apis/monitoring_v3/service.rb +126 -141
  553. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  554. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  555. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  556. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  557. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  558. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  559. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  560. data/generated/google/apis/osconfig_v1.rb +1 -1
  561. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  562. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  563. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  564. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  565. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  566. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  567. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  568. data/generated/google/apis/oslogin_v1.rb +1 -1
  569. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  570. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  571. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  572. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  573. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  574. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  575. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  576. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  577. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  578. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  579. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  580. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  581. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  582. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  583. data/generated/google/apis/people_v1.rb +1 -1
  584. data/generated/google/apis/people_v1/classes.rb +493 -403
  585. data/generated/google/apis/people_v1/representations.rb +98 -0
  586. data/generated/google/apis/people_v1/service.rb +169 -385
  587. data/generated/google/apis/playablelocations_v3.rb +1 -1
  588. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  589. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  590. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  591. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  592. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  593. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  594. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  595. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  596. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  597. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  598. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  599. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  600. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  601. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  602. data/generated/google/apis/pubsub_v1.rb +1 -1
  603. data/generated/google/apis/pubsub_v1/classes.rb +407 -516
  604. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  605. data/generated/google/apis/pubsub_v1/service.rb +217 -252
  606. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  607. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  608. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  609. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  610. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  611. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  612. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  613. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  614. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  615. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  616. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  617. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  618. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  619. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  620. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  621. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  622. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  623. data/generated/google/apis/recommender_v1.rb +1 -1
  624. data/generated/google/apis/recommender_v1/classes.rb +271 -84
  625. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  626. data/generated/google/apis/recommender_v1/service.rb +143 -35
  627. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  628. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  629. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  630. data/generated/google/apis/redis_v1.rb +1 -1
  631. data/generated/google/apis/redis_v1/classes.rb +477 -116
  632. data/generated/google/apis/redis_v1/representations.rb +139 -0
  633. data/generated/google/apis/redis_v1/service.rb +93 -110
  634. data/generated/google/apis/redis_v1beta1.rb +1 -1
  635. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  636. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  637. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  638. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  639. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  640. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  641. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  642. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  643. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  644. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  645. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  646. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  647. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  648. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  649. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  650. data/generated/google/apis/reseller_v1.rb +4 -3
  651. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  652. data/generated/google/apis/reseller_v1/service.rb +247 -252
  653. data/generated/google/apis/run_v1.rb +2 -2
  654. data/generated/google/apis/run_v1/classes.rb +837 -1244
  655. data/generated/google/apis/run_v1/representations.rb +1 -1
  656. data/generated/google/apis/run_v1/service.rb +234 -248
  657. data/generated/google/apis/run_v1alpha1.rb +2 -2
  658. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  659. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  660. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  661. data/generated/google/apis/run_v1beta1.rb +2 -2
  662. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  663. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  664. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  665. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  666. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  667. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  668. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  669. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  670. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  671. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  672. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  673. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  674. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  675. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  676. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  677. data/generated/google/apis/script_v1.rb +1 -1
  678. data/generated/google/apis/script_v1/classes.rb +88 -111
  679. data/generated/google/apis/script_v1/service.rb +63 -69
  680. data/generated/google/apis/searchconsole_v1.rb +4 -3
  681. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  682. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  683. data/generated/google/apis/secretmanager_v1.rb +1 -1
  684. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  685. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  686. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  687. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  688. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  689. data/generated/google/apis/securitycenter_v1.rb +1 -1
  690. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  691. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  692. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  693. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  694. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  695. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  696. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  697. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  698. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  699. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  700. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  701. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  702. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  703. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  704. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  705. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  706. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  707. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  708. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  709. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  710. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  711. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  712. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  713. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  714. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  715. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  716. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  717. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  718. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  719. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  720. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  721. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  722. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  723. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  724. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  725. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  726. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  727. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  728. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  729. data/generated/google/apis/serviceusage_v1.rb +1 -1
  730. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  731. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  732. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  733. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  734. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  735. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  736. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  737. data/generated/google/apis/sheets_v4.rb +1 -1
  738. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  739. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  740. data/generated/google/apis/sheets_v4/service.rb +113 -149
  741. data/generated/google/apis/site_verification_v1.rb +1 -1
  742. data/generated/google/apis/slides_v1.rb +1 -1
  743. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  744. data/generated/google/apis/slides_v1/service.rb +23 -30
  745. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  746. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  747. data/generated/google/apis/spanner_v1.rb +1 -1
  748. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  749. data/generated/google/apis/spanner_v1/service.rb +443 -618
  750. data/generated/google/apis/speech_v1.rb +1 -1
  751. data/generated/google/apis/speech_v1/classes.rb +174 -220
  752. data/generated/google/apis/speech_v1/service.rb +27 -32
  753. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  754. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  755. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  756. data/generated/google/apis/speech_v2beta1.rb +1 -1
  757. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  758. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  759. data/generated/google/apis/sql_v1beta4.rb +1 -1
  760. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  761. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  762. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  763. data/generated/google/apis/storage_v1.rb +1 -1
  764. data/generated/google/apis/storage_v1/classes.rb +8 -7
  765. data/generated/google/apis/storage_v1/representations.rb +2 -2
  766. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  767. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  768. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  769. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  770. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  771. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  772. data/generated/google/apis/tagmanager_v1.rb +2 -3
  773. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  774. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  775. data/generated/google/apis/tagmanager_v2.rb +2 -3
  776. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  777. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  778. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  779. data/generated/google/apis/tasks_v1.rb +1 -1
  780. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  781. data/generated/google/apis/tasks_v1/service.rb +16 -17
  782. data/generated/google/apis/testing_v1.rb +1 -1
  783. data/generated/google/apis/testing_v1/classes.rb +383 -374
  784. data/generated/google/apis/testing_v1/representations.rb +35 -0
  785. data/generated/google/apis/testing_v1/service.rb +22 -28
  786. data/generated/google/apis/texttospeech_v1.rb +1 -1
  787. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  788. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  789. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  790. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  791. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  792. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  793. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  794. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  795. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  796. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  797. data/generated/google/apis/tpu_v1.rb +1 -1
  798. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  799. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  800. data/generated/google/apis/tpu_v1/service.rb +21 -25
  801. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  802. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  803. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  804. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  805. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  806. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  807. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  808. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  809. data/generated/google/apis/translate_v3.rb +1 -1
  810. data/generated/google/apis/translate_v3/classes.rb +148 -175
  811. data/generated/google/apis/translate_v3/service.rb +122 -138
  812. data/generated/google/apis/translate_v3beta1.rb +1 -1
  813. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  814. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  815. data/generated/google/apis/vectortile_v1.rb +1 -1
  816. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  817. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  818. data/generated/google/apis/videointelligence_v1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  820. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  821. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  826. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  827. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  828. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  829. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  830. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  831. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  832. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  833. data/generated/google/apis/vision_v1.rb +1 -1
  834. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  835. data/generated/google/apis/vision_v1/service.rb +254 -340
  836. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  837. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  838. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  839. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  840. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  841. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  842. data/generated/google/apis/webfonts_v1.rb +2 -3
  843. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  844. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  845. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  847. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  848. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  849. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  850. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  851. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  852. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  853. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  854. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  855. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  856. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  857. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  858. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  859. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  860. data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
  861. data/generated/google/apis/youtube_v3.rb +1 -1
  862. data/generated/google/apis/youtube_v3/classes.rb +1826 -1157
  863. data/generated/google/apis/youtube_v3/representations.rb +458 -0
  864. data/generated/google/apis/youtube_v3/service.rb +1303 -1274
  865. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  866. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  867. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  868. data/lib/google/apis/core/base_service.rb +7 -1
  869. data/lib/google/apis/version.rb +1 -1
  870. metadata +47 -43
  871. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  872. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -854
  873. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  874. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  875. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  876. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  877. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  878. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  879. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  880. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  881. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  882. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  883. data/generated/google/apis/dns_v2beta1.rb +0 -43
  884. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  885. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  886. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  887. data/generated/google/apis/oauth2_v2.rb +0 -40
  888. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  889. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  890. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  891. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  892. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  893. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  894. data/generated/google/apis/storage_v1beta2.rb +0 -40
  895. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  896. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  897. 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 = '20200619'
29
+ REVISION = '20200805'
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
 
@@ -58,20 +58,25 @@ module Google
58
58
  # @return [Google::Apis::ContainerV1::CloudRunConfig]
59
59
  attr_accessor :cloud_run_config
60
60
 
61
+ # Configuration options for the Config Connector add-on.
62
+ # Corresponds to the JSON property `configConnectorConfig`
63
+ # @return [Google::Apis::ContainerV1::ConfigConnectorConfig]
64
+ attr_accessor :config_connector_config
65
+
61
66
  # Configuration for NodeLocal DNSCache
62
67
  # Corresponds to the JSON property `dnsCacheConfig`
63
68
  # @return [Google::Apis::ContainerV1::DnsCacheConfig]
64
69
  attr_accessor :dns_cache_config
65
70
 
66
71
  # Configuration options for the horizontal pod autoscaling feature, which
67
- # increases or decreases the number of replica pods a replication controller
68
- # 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.
69
74
  # Corresponds to the JSON property `horizontalPodAutoscaling`
70
75
  # @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling]
71
76
  attr_accessor :horizontal_pod_autoscaling
72
77
 
73
- # Configuration options for the HTTP (L7) load balancing controller addon,
74
- # 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.
75
80
  # Corresponds to the JSON property `httpLoadBalancing`
76
81
  # @return [Google::Apis::ContainerV1::HttpLoadBalancing]
77
82
  attr_accessor :http_load_balancing
@@ -81,9 +86,9 @@ module Google
81
86
  # @return [Google::Apis::ContainerV1::KubernetesDashboard]
82
87
  attr_accessor :kubernetes_dashboard
83
88
 
84
- # Configuration for NetworkPolicy. This only tracks whether the addon
85
- # is enabled or not on the Master, it does not track whether network policy
86
- # 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.
87
92
  # Corresponds to the JSON property `networkPolicyConfig`
88
93
  # @return [Google::Apis::ContainerV1::NetworkPolicyConfig]
89
94
  attr_accessor :network_policy_config
@@ -95,6 +100,7 @@ module Google
95
100
  # Update properties of this object
96
101
  def update!(**args)
97
102
  @cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
103
+ @config_connector_config = args[:config_connector_config] if args.key?(:config_connector_config)
98
104
  @dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
99
105
  @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
100
106
  @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
@@ -107,15 +113,15 @@ module Google
107
113
  class AuthenticatorGroupsConfig
108
114
  include Google::Apis::Core::Hashable
109
115
 
110
- # Whether this cluster should return group membership lookups
111
- # 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.
112
118
  # Corresponds to the JSON property `enabled`
113
119
  # @return [Boolean]
114
120
  attr_accessor :enabled
115
121
  alias_method :enabled?, :enabled
116
122
 
117
- # The name of the security group-of-groups to be used. Only relevant
118
- # if enabled = true.
123
+ # The name of the security group-of-groups to be used. Only relevant if enabled =
124
+ # true.
119
125
  # Corresponds to the JSON property `securityGroup`
120
126
  # @return [String]
121
127
  attr_accessor :security_group
@@ -131,20 +137,20 @@ module Google
131
137
  end
132
138
  end
133
139
 
134
- # AutoUpgradeOptions defines the set of options for the user to control how
135
- # the Auto Upgrades will proceed.
140
+ # AutoUpgradeOptions defines the set of options for the user to control how the
141
+ # Auto Upgrades will proceed.
136
142
  class AutoUpgradeOptions
137
143
  include Google::Apis::Core::Hashable
138
144
 
139
- # [Output only] This field is set when upgrades are about to commence
140
- # with the approximate start time for the upgrades, in
141
- # [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.
142
148
  # Corresponds to the JSON property `autoUpgradeStartTime`
143
149
  # @return [String]
144
150
  attr_accessor :auto_upgrade_start_time
145
151
 
146
- # [Output only] This field is set when upgrades are about to commence
147
- # 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.
148
154
  # Corresponds to the JSON property `description`
149
155
  # @return [String]
150
156
  attr_accessor :description
@@ -160,8 +166,8 @@ module Google
160
166
  end
161
167
  end
162
168
 
163
- # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
164
- # by NAP.
169
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
170
+ # NAP.
165
171
  class AutoprovisioningNodePoolDefaults
166
172
  include Google::Apis::Core::Hashable
167
173
 
@@ -182,23 +188,19 @@ module Google
182
188
  attr_accessor :service_account
183
189
 
184
190
  # These upgrade settings control the level of parallelism and the level of
185
- # disruption caused by an upgrade.
186
- # maxUnavailable controls the number of nodes that can be simultaneously
187
- # unavailable.
188
- # maxSurge controls the number of additional nodes that can be added to the
189
- # node pool temporarily for the time of the upgrade to increase the number of
190
- # available nodes.
191
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
192
- # nodes are being upgraded at the same time).
193
- # Note: upgrades inevitably introduce some disruption since workloads need to
194
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
195
- # this holds true. (Disruption stays within the limits of
196
- # PodDisruptionBudget, if it is configured.)
197
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
198
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
199
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
200
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
201
- # there are always at least 4 nodes available.
191
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
192
+ # that can be simultaneously unavailable. maxSurge controls the number of
193
+ # additional nodes that can be added to the node pool temporarily for the time
194
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
195
+ # maxSurge) determines the level of parallelism (how many nodes are being
196
+ # upgraded at the same time). Note: upgrades inevitably introduce some
197
+ # disruption since workloads need to be moved from old nodes to new, upgraded
198
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
199
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
200
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
201
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
202
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
203
+ # same time. This ensures that there are always at least 4 nodes available.
202
204
  # Corresponds to the JSON property `upgradeSettings`
203
205
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
204
206
  attr_accessor :upgrade_settings
@@ -239,8 +241,8 @@ module Google
239
241
  class BinaryAuthorization
240
242
  include Google::Apis::Core::Hashable
241
243
 
242
- # Enable Binary Authorization for this cluster. If enabled, all container
243
- # images will be validated by Binary Authorization.
244
+ # Enable Binary Authorization for this cluster. If enabled, all container images
245
+ # will be validated by Binary Authorization.
244
246
  # Corresponds to the JSON property `enabled`
245
247
  # @return [Boolean]
246
248
  attr_accessor :enabled
@@ -266,23 +268,22 @@ module Google
266
268
  # @return [String]
267
269
  attr_accessor :name
268
270
 
269
- # Deprecated. The server-assigned `name` of the operation.
270
- # This field has been deprecated and replaced by the name field.
271
+ # Deprecated. The server-assigned `name` of the operation. This field has been
272
+ # deprecated and replaced by the name field.
271
273
  # Corresponds to the JSON property `operationId`
272
274
  # @return [String]
273
275
  attr_accessor :operation_id
274
276
 
275
- # Deprecated. The Google Developers Console [project ID or project
276
- # number](https://support.google.com/cloud/answer/6158840).
277
- # This field has been deprecated and replaced by the name field.
277
+ # Deprecated. The Google Developers Console [project ID or project number](https:
278
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
279
+ # replaced by the name field.
278
280
  # Corresponds to the JSON property `projectId`
279
281
  # @return [String]
280
282
  attr_accessor :project_id
281
283
 
282
- # Deprecated. The name of the Google Compute Engine
283
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
284
- # operation resides. This field has been deprecated and replaced by the name
285
- # field.
284
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
285
+ # com/compute/docs/zones#available) in which the operation resides. This field
286
+ # has been deprecated and replaced by the name field.
286
287
  # Corresponds to the JSON property `zone`
287
288
  # @return [String]
288
289
  attr_accessor :zone
@@ -369,8 +370,8 @@ module Google
369
370
  class Cluster
370
371
  include Google::Apis::Core::Hashable
371
372
 
372
- # Configuration for the addons that can be automatically spun up in the
373
- # cluster, enabling additional functionality.
373
+ # Configuration for the addons that can be automatically spun up in the cluster,
374
+ # enabling additional functionality.
374
375
  # Corresponds to the JSON property `addonsConfig`
375
376
  # @return [Google::Apis::ContainerV1::AddonsConfig]
376
377
  attr_accessor :addons_config
@@ -380,10 +381,9 @@ module Google
380
381
  # @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
381
382
  attr_accessor :authenticator_groups_config
382
383
 
383
- # ClusterAutoscaling contains global, per-cluster information
384
- # required by Cluster Autoscaler to automatically adjust
385
- # the size of the cluster and create/delete
386
- # node pools based on the current needs.
384
+ # ClusterAutoscaling contains global, per-cluster information required by
385
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
386
+ # delete node pools based on the current needs.
387
387
  # Corresponds to the JSON property `autoscaling`
388
388
  # @return [Google::Apis::ContainerV1::ClusterAutoscaling]
389
389
  attr_accessor :autoscaling
@@ -393,10 +393,10 @@ module Google
393
393
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
394
394
  attr_accessor :binary_authorization
395
395
 
396
- # The IP address range of the container pods in this cluster, in
397
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
398
- # notation (e.g. `10.96.0.0/14`). Leave blank to have
399
- # one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
396
+ # The IP address range of the container pods in this cluster, in [CIDR](http://
397
+ # en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
398
+ # 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
399
+ # in `10.0.0.0/8`.
400
400
  # Corresponds to the JSON property `clusterIpv4Cidr`
401
401
  # @return [String]
402
402
  attr_accessor :cluster_ipv4_cidr
@@ -406,8 +406,8 @@ module Google
406
406
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
407
407
  attr_accessor :conditions
408
408
 
409
- # [Output only] The time the cluster was created, in
410
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
409
+ # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
410
+ # org/rfc/rfc3339.txt) text format.
411
411
  # Corresponds to the JSON property `createTime`
412
412
  # @return [String]
413
413
  attr_accessor :create_time
@@ -417,15 +417,14 @@ module Google
417
417
  # @return [String]
418
418
  attr_accessor :current_master_version
419
419
 
420
- # [Output only] The number of nodes currently in the cluster. Deprecated.
421
- # Call Kubernetes API directly to retrieve node information.
420
+ # [Output only] The number of nodes currently in the cluster. Deprecated. Call
421
+ # Kubernetes API directly to retrieve node information.
422
422
  # Corresponds to the JSON property `currentNodeCount`
423
423
  # @return [Fixnum]
424
424
  attr_accessor :current_node_count
425
425
 
426
- # [Output only] Deprecated, use
427
- # [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/
428
- # rest/v1/projects.locations.clusters.nodePools)
426
+ # [Output only] Deprecated, use [NodePools.version](https://cloud.google.com/
427
+ # kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
429
428
  # instead. The current version of the node software components. If they are
430
429
  # currently at multiple versions because they're in the process of being
431
430
  # upgraded, this reflects the minimum version of all nodes.
@@ -448,12 +447,11 @@ module Google
448
447
  # @return [String]
449
448
  attr_accessor :description
450
449
 
451
- # Kubernetes alpha features are enabled on this cluster. This includes alpha
452
- # API groups (e.g. v1alpha1) and features that may not be production ready in
453
- # the kubernetes version of the master and nodes.
454
- # The cluster has no SLA for uptime and master/node upgrades are disabled.
455
- # Alpha enabled clusters are automatically deleted thirty days after
456
- # creation.
450
+ # Kubernetes alpha features are enabled on this cluster. This includes alpha API
451
+ # groups (e.g. v1alpha1) and features that may not be production ready in the
452
+ # kubernetes version of the master and nodes. The cluster has no SLA for uptime
453
+ # and master/node upgrades are disabled. Alpha enabled clusters are
454
+ # automatically deleted thirty days after creation.
457
455
  # Corresponds to the JSON property `enableKubernetesAlpha`
458
456
  # @return [Boolean]
459
457
  attr_accessor :enable_kubernetes_alpha
@@ -465,45 +463,41 @@ module Google
465
463
  attr_accessor :enable_tpu
466
464
  alias_method :enable_tpu?, :enable_tpu
467
465
 
468
- # [Output only] The IP address of this cluster's master endpoint.
469
- # The endpoint can be accessed from the internet at
470
- # `https://username:password@endpoint/`.
471
- # See the `masterAuth` property of this resource for username and
472
- # password information.
466
+ # [Output only] The IP address of this cluster's master endpoint. The endpoint
467
+ # can be accessed from the internet at `https://username:password@endpoint/`.
468
+ # See the `masterAuth` property of this resource for username and password
469
+ # information.
473
470
  # Corresponds to the JSON property `endpoint`
474
471
  # @return [String]
475
472
  attr_accessor :endpoint
476
473
 
477
- # [Output only] The time the cluster will be automatically
478
- # deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
474
+ # [Output only] The time the cluster will be automatically deleted in [RFC3339](
475
+ # https://www.ietf.org/rfc/rfc3339.txt) text format.
479
476
  # Corresponds to the JSON property `expireTime`
480
477
  # @return [String]
481
478
  attr_accessor :expire_time
482
479
 
483
- # The initial Kubernetes version for this cluster. Valid versions are those
484
- # found in validMasterVersions returned by getServerConfig. The version can
485
- # be upgraded over time; such upgrades are reflected in
486
- # currentMasterVersion and currentNodeVersion.
487
- # Users may specify either explicit versions offered by
488
- # Kubernetes Engine or version aliases, which have the following behavior:
489
- # - "latest": picks the highest valid Kubernetes version
490
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
491
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
492
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
493
- # - "","-": picks the default Kubernetes version
480
+ # The initial Kubernetes version for this cluster. Valid versions are those
481
+ # found in validMasterVersions returned by getServerConfig. The version can be
482
+ # upgraded over time; such upgrades are reflected in currentMasterVersion and
483
+ # currentNodeVersion. Users may specify either explicit versions offered by
484
+ # Kubernetes Engine or version aliases, which have the following behavior: - "
485
+ # latest": picks the highest valid Kubernetes version - "1.X": picks the highest
486
+ # valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
487
+ # gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
488
+ # version - "","-": picks the default Kubernetes version
494
489
  # Corresponds to the JSON property `initialClusterVersion`
495
490
  # @return [String]
496
491
  attr_accessor :initial_cluster_version
497
492
 
498
493
  # The number of nodes to create in this cluster. You must ensure that your
499
- # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
500
- # is sufficient for this number of instances. You must also have available
501
- # firewall and routes quota.
502
- # For requests, this field should only be used in lieu of a
503
- # "node_pool" object, since this configuration (along with the
504
- # "node_config") will be used to create a "NodePool" object with an
505
- # auto-generated name. Do not use this and a node_pool at the same time.
506
- # This field is deprecated, use node_pool.initial_node_count instead.
494
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
495
+ # sufficient for this number of instances. You must also have available firewall
496
+ # and routes quota. For requests, this field should only be used in lieu of a "
497
+ # node_pool" object, since this configuration (along with the "node_config")
498
+ # will be used to create a "NodePool" object with an auto-generated name. Do not
499
+ # use this and a node_pool at the same time. This field is deprecated, use
500
+ # node_pool.initial_node_count instead.
507
501
  # Corresponds to the JSON property `initialNodeCount`
508
502
  # @return [Fixnum]
509
503
  attr_accessor :initial_node_count
@@ -523,39 +517,32 @@ module Google
523
517
  # @return [String]
524
518
  attr_accessor :label_fingerprint
525
519
 
526
- # Configuration for the legacy Attribute Based Access Control authorization
527
- # mode.
520
+ # Configuration for the legacy Attribute Based Access Control authorization mode.
528
521
  # Corresponds to the JSON property `legacyAbac`
529
522
  # @return [Google::Apis::ContainerV1::LegacyAbac]
530
523
  attr_accessor :legacy_abac
531
524
 
532
- # [Output only] The name of the Google Compute Engine
533
- # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
534
- # available)
535
- # or
536
- # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
537
- # available)
525
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
526
+ # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
527
+ # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
538
528
  # in which the cluster resides.
539
529
  # Corresponds to the JSON property `location`
540
530
  # @return [String]
541
531
  attr_accessor :location
542
532
 
543
- # The list of Google Compute Engine
544
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
545
- # cluster's nodes should be located.
533
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
534
+ # docs/zones#available) in which the cluster's nodes should be located.
546
535
  # Corresponds to the JSON property `locations`
547
536
  # @return [Array<String>]
548
537
  attr_accessor :locations
549
538
 
550
- # The logging service the cluster should use to write logs.
551
- # Currently available options:
552
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
553
- # service with a Kubernetes-native resource model
554
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
555
- # available as of GKE 1.15).
556
- # * `none` - no logs will be exported from the cluster.
557
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
558
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
539
+ # The logging service the cluster should use to write logs. Currently available
540
+ # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
541
+ # with a Kubernetes-native resource model * `logging.googleapis.com` - The
542
+ # legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
543
+ # no logs will be exported from the cluster. If left as an empty string,`logging.
544
+ # googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
545
+ # com` for earlier versions.
559
546
  # Corresponds to the JSON property `loggingService`
560
547
  # @return [String]
561
548
  attr_accessor :logging_service
@@ -566,8 +553,7 @@ module Google
566
553
  attr_accessor :maintenance_policy
567
554
 
568
555
  # The authentication information for accessing the master endpoint.
569
- # Authentication can be done using HTTP basic auth or using client
570
- # certificates.
556
+ # Authentication can be done using HTTP basic auth or using client certificates.
571
557
  # Corresponds to the JSON property `masterAuth`
572
558
  # @return [Google::Apis::ContainerV1::MasterAuth]
573
559
  attr_accessor :master_auth
@@ -580,34 +566,28 @@ module Google
580
566
  # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
581
567
  attr_accessor :master_authorized_networks_config
582
568
 
583
- # The monitoring service the cluster should use to write metrics.
584
- # Currently available options:
585
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
586
- # service with a Kubernetes-native resource model
587
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
588
- # longer available as of GKE 1.15).
589
- # * `none` - No metrics will be exported from the cluster.
590
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
591
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
569
+ # The monitoring service the cluster should use to write metrics. Currently
570
+ # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
571
+ # Monitoring service with a Kubernetes-native resource model * `monitoring.
572
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
573
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
574
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
575
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
592
576
  # Corresponds to the JSON property `monitoringService`
593
577
  # @return [String]
594
578
  attr_accessor :monitoring_service
595
579
 
596
- # The name of this cluster. The name must be unique within this project
597
- # and location (e.g. zone or region), and can be up to 40 characters with
598
- # the following restrictions:
599
- # * Lowercase letters, numbers, and hyphens only.
600
- # * Must start with a letter.
601
- # * Must end with a number or a letter.
580
+ # The name of this cluster. The name must be unique within this project and
581
+ # location (e.g. zone or region), and can be up to 40 characters with the
582
+ # following restrictions: * Lowercase letters, numbers, and hyphens only. * Must
583
+ # start with a letter. * Must end with a number or a letter.
602
584
  # Corresponds to the JSON property `name`
603
585
  # @return [String]
604
586
  attr_accessor :name
605
587
 
606
- # The name of the Google Compute Engine
607
- # [network](https://cloud.google.com/compute/docs/networks-and-firewalls#
608
- # networks)
609
- # to which the cluster is connected. If left unspecified, the `default`
610
- # network will be used.
588
+ # The name of the Google Compute Engine [network](https://cloud.google.com/
589
+ # compute/docs/networks-and-firewalls#networks) to which the cluster is
590
+ # connected. If left unspecified, the `default` network will be used.
611
591
  # Corresponds to the JSON property `network`
612
592
  # @return [String]
613
593
  attr_accessor :network
@@ -617,8 +597,8 @@ module Google
617
597
  # @return [Google::Apis::ContainerV1::NetworkConfig]
618
598
  attr_accessor :network_config
619
599
 
620
- # Configuration options for the NetworkPolicy feature.
621
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
600
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
601
+ # docs/concepts/services-networking/networkpolicies/
622
602
  # Corresponds to the JSON property `networkPolicy`
623
603
  # @return [Google::Apis::ContainerV1::NetworkPolicy]
624
604
  attr_accessor :network_policy
@@ -629,16 +609,14 @@ module Google
629
609
  attr_accessor :node_config
630
610
 
631
611
  # [Output only] The size of the address space on each node for hosting
632
- # containers. This is provisioned from within the `container_ipv4_cidr`
633
- # range. This field will only be set when cluster is in route-based network
634
- # mode.
612
+ # containers. This is provisioned from within the `container_ipv4_cidr` range.
613
+ # This field will only be set when cluster is in route-based network mode.
635
614
  # Corresponds to the JSON property `nodeIpv4CidrSize`
636
615
  # @return [Fixnum]
637
616
  attr_accessor :node_ipv4_cidr_size
638
617
 
639
- # The node pools associated with this cluster.
640
- # This field should not be set if "node_config" or "initial_node_count" are
641
- # specified.
618
+ # The node pools associated with this cluster. This field should not be set if "
619
+ # node_config" or "initial_node_count" are specified.
642
620
  # Corresponds to the JSON property `nodePools`
643
621
  # @return [Array<Google::Apis::ContainerV1::NodePool>]
644
622
  attr_accessor :node_pools
@@ -648,17 +626,16 @@ module Google
648
626
  # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
649
627
  attr_accessor :private_cluster_config
650
628
 
651
- # ReleaseChannel indicates which release channel a cluster is
652
- # subscribed to. Release channels are arranged in order of risk.
653
- # When a cluster is subscribed to a release channel, Google maintains
654
- # both the master version and the node version. Node auto-upgrade
655
- # defaults to true and cannot be disabled.
629
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
630
+ # Release channels are arranged in order of risk. When a cluster is subscribed
631
+ # to a release channel, Google maintains both the master version and the node
632
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
656
633
  # Corresponds to the JSON property `releaseChannel`
657
634
  # @return [Google::Apis::ContainerV1::ReleaseChannel]
658
635
  attr_accessor :release_channel
659
636
 
660
- # The resource labels for the cluster to use to annotate any related
661
- # Google Compute Engine resources.
637
+ # The resource labels for the cluster to use to annotate any related Google
638
+ # Compute Engine resources.
662
639
  # Corresponds to the JSON property `resourceLabels`
663
640
  # @return [Hash<String,String>]
664
641
  attr_accessor :resource_labels
@@ -673,11 +650,10 @@ module Google
673
650
  # @return [String]
674
651
  attr_accessor :self_link
675
652
 
676
- # [Output only] The IP address range of the Kubernetes services in
677
- # this cluster, in
678
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
679
- # notation (e.g. `1.2.3.4/29`). Service addresses are
680
- # typically put in the last `/16` from the container CIDR.
653
+ # [Output only] The IP address range of the Kubernetes services in this cluster,
654
+ # in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
655
+ # notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
656
+ # /16` from the container CIDR.
681
657
  # Corresponds to the JSON property `servicesIpv4Cidr`
682
658
  # @return [String]
683
659
  attr_accessor :services_ipv4_cidr
@@ -692,42 +668,40 @@ module Google
692
668
  # @return [String]
693
669
  attr_accessor :status
694
670
 
695
- # [Output only] Additional information about the current status of this
696
- # cluster, if available.
671
+ # [Output only] Additional information about the current status of this cluster,
672
+ # if available.
697
673
  # Corresponds to the JSON property `statusMessage`
698
674
  # @return [String]
699
675
  attr_accessor :status_message
700
676
 
701
- # The name of the Google Compute Engine
702
- # [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
703
- # the cluster is connected.
677
+ # The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
678
+ # compute/docs/subnetworks) to which the cluster is connected.
704
679
  # Corresponds to the JSON property `subnetwork`
705
680
  # @return [String]
706
681
  attr_accessor :subnetwork
707
682
 
708
- # [Output only] The IP address range of the Cloud TPUs in this cluster, in
709
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
710
- # notation (e.g. `1.2.3.4/29`).
683
+ # [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR]
684
+ # (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
685
+ # 1.2.3.4/29`).
711
686
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
712
687
  # @return [String]
713
688
  attr_accessor :tpu_ipv4_cidr_block
714
689
 
715
- # VerticalPodAutoscaling contains global, per-cluster information
716
- # required by Vertical Pod Autoscaler to automatically adjust
717
- # the resources of pods controlled by it.
690
+ # VerticalPodAutoscaling contains global, per-cluster information required by
691
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
692
+ # controlled by it.
718
693
  # Corresponds to the JSON property `verticalPodAutoscaling`
719
694
  # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
720
695
  attr_accessor :vertical_pod_autoscaling
721
696
 
722
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
723
- # policies.
697
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
724
698
  # Corresponds to the JSON property `workloadIdentityConfig`
725
699
  # @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
726
700
  attr_accessor :workload_identity_config
727
701
 
728
- # [Output only] The name of the Google Compute Engine
729
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
730
- # cluster resides. This field is deprecated, use location instead.
702
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
703
+ # google.com/compute/docs/zones#available) in which the cluster resides. This
704
+ # field is deprecated, use location instead.
731
705
  # Corresponds to the JSON property `zone`
732
706
  # @return [String]
733
707
  attr_accessor :zone
@@ -792,22 +766,20 @@ module Google
792
766
  end
793
767
  end
794
768
 
795
- # ClusterAutoscaling contains global, per-cluster information
796
- # required by Cluster Autoscaler to automatically adjust
797
- # the size of the cluster and create/delete
798
- # node pools based on the current needs.
769
+ # ClusterAutoscaling contains global, per-cluster information required by
770
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
771
+ # delete node pools based on the current needs.
799
772
  class ClusterAutoscaling
800
773
  include Google::Apis::Core::Hashable
801
774
 
802
- # The list of Google Compute Engine
803
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
804
- # NodePool's nodes can be created by NAP.
775
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
776
+ # docs/zones#available) in which the NodePool's nodes can be created by NAP.
805
777
  # Corresponds to the JSON property `autoprovisioningLocations`
806
778
  # @return [Array<String>]
807
779
  attr_accessor :autoprovisioning_locations
808
780
 
809
- # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
810
- # by NAP.
781
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
782
+ # NAP.
811
783
  # Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
812
784
  # @return [Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults]
813
785
  attr_accessor :autoprovisioning_node_pool_defaults
@@ -818,8 +790,8 @@ module Google
818
790
  attr_accessor :enable_node_autoprovisioning
819
791
  alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
820
792
 
821
- # Contains global constraints regarding minimum and maximum
822
- # amount of resources in the cluster.
793
+ # Contains global constraints regarding minimum and maximum amount of resources
794
+ # in the cluster.
823
795
  # Corresponds to the JSON property `resourceLimits`
824
796
  # @return [Array<Google::Apis::ContainerV1::ResourceLimit>]
825
797
  attr_accessor :resource_limits
@@ -837,14 +809,13 @@ module Google
837
809
  end
838
810
  end
839
811
 
840
- # ClusterUpdate describes an update to the cluster. Exactly one update can
841
- # be applied to a cluster with each request, so at most one field can be
842
- # provided.
812
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
813
+ # applied to a cluster with each request, so at most one field can be provided.
843
814
  class ClusterUpdate
844
815
  include Google::Apis::Core::Hashable
845
816
 
846
- # Configuration for the addons that can be automatically spun up in the
847
- # cluster, enabling additional functionality.
817
+ # Configuration for the addons that can be automatically spun up in the cluster,
818
+ # enabling additional functionality.
848
819
  # Corresponds to the JSON property `desiredAddonsConfig`
849
820
  # @return [Google::Apis::ContainerV1::AddonsConfig]
850
821
  attr_accessor :desired_addons_config
@@ -854,10 +825,9 @@ module Google
854
825
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
855
826
  attr_accessor :desired_binary_authorization
856
827
 
857
- # ClusterAutoscaling contains global, per-cluster information
858
- # required by Cluster Autoscaler to automatically adjust
859
- # the size of the cluster and create/delete
860
- # node pools based on the current needs.
828
+ # ClusterAutoscaling contains global, per-cluster information required by
829
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
830
+ # delete node pools based on the current needs.
861
831
  # Corresponds to the JSON property `desiredClusterAutoscaling`
862
832
  # @return [Google::Apis::ContainerV1::ClusterAutoscaling]
863
833
  attr_accessor :desired_cluster_autoscaling
@@ -867,8 +837,14 @@ module Google
867
837
  # @return [Google::Apis::ContainerV1::DatabaseEncryption]
868
838
  attr_accessor :desired_database_encryption
869
839
 
870
- # The desired image type for the node pool.
871
- # NOTE: Set the "desired_node_pool" field as well.
840
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
841
+ # disabled on the cluster.
842
+ # Corresponds to the JSON property `desiredDefaultSnatStatus`
843
+ # @return [Google::Apis::ContainerV1::DefaultSnatStatus]
844
+ attr_accessor :desired_default_snat_status
845
+
846
+ # The desired image type for the node pool. NOTE: Set the "desired_node_pool"
847
+ # field as well.
872
848
  # Corresponds to the JSON property `desiredImageType`
873
849
  # @return [String]
874
850
  attr_accessor :desired_image_type
@@ -879,25 +855,22 @@ module Google
879
855
  # @return [Google::Apis::ContainerV1::IntraNodeVisibilityConfig]
880
856
  attr_accessor :desired_intra_node_visibility_config
881
857
 
882
- # The desired list of Google Compute Engine
883
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
884
- # cluster's nodes should be located. Changing the locations a cluster is in
885
- # will result in nodes being either created or removed from the cluster,
886
- # depending on whether locations are being added or removed.
887
- # This list must always include the cluster's primary zone.
858
+ # The desired list of Google Compute Engine [zones](https://cloud.google.com/
859
+ # compute/docs/zones#available) in which the cluster's nodes should be located.
860
+ # Changing the locations a cluster is in will result in nodes being either
861
+ # created or removed from the cluster, depending on whether locations are being
862
+ # added or removed. This list must always include the cluster's primary zone.
888
863
  # Corresponds to the JSON property `desiredLocations`
889
864
  # @return [Array<String>]
890
865
  attr_accessor :desired_locations
891
866
 
892
- # The logging service the cluster should use to write logs.
893
- # Currently available options:
894
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
895
- # service with a Kubernetes-native resource model
896
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
897
- # available as of GKE 1.15).
898
- # * `none` - no logs will be exported from the cluster.
899
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
900
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
867
+ # The logging service the cluster should use to write logs. Currently available
868
+ # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
869
+ # with a Kubernetes-native resource model * `logging.googleapis.com` - The
870
+ # legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
871
+ # no logs will be exported from the cluster. If left as an empty string,`logging.
872
+ # googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
873
+ # com` for earlier versions.
901
874
  # Corresponds to the JSON property `desiredLoggingService`
902
875
  # @return [String]
903
876
  attr_accessor :desired_logging_service
@@ -910,27 +883,24 @@ module Google
910
883
  # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
911
884
  attr_accessor :desired_master_authorized_networks_config
912
885
 
913
- # The Kubernetes version to change the master to.
914
- # Users may specify either explicit versions offered by
915
- # Kubernetes Engine or version aliases, which have the following behavior:
916
- # - "latest": picks the highest valid Kubernetes version
917
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
918
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
919
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
920
- # - "-": picks the default Kubernetes version
886
+ # The Kubernetes version to change the master to. Users may specify either
887
+ # explicit versions offered by Kubernetes Engine or version aliases, which have
888
+ # the following behavior: - "latest": picks the highest valid Kubernetes version
889
+ # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y"
890
+ # : picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N":
891
+ # picks an explicit Kubernetes version - "-": picks the default Kubernetes
892
+ # version
921
893
  # Corresponds to the JSON property `desiredMasterVersion`
922
894
  # @return [String]
923
895
  attr_accessor :desired_master_version
924
896
 
925
- # The monitoring service the cluster should use to write metrics.
926
- # Currently available options:
927
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
928
- # service with a Kubernetes-native resource model
929
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
930
- # longer available as of GKE 1.15).
931
- # * `none` - No metrics will be exported from the cluster.
932
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
933
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
897
+ # The monitoring service the cluster should use to write metrics. Currently
898
+ # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
899
+ # Monitoring service with a Kubernetes-native resource model * `monitoring.
900
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
901
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
902
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
903
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
934
904
  # Corresponds to the JSON property `desiredMonitoringService`
935
905
  # @return [String]
936
906
  attr_accessor :desired_monitoring_service
@@ -941,32 +911,33 @@ module Google
941
911
  # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
942
912
  attr_accessor :desired_node_pool_autoscaling
943
913
 
944
- # The node pool to be upgraded. This field is mandatory if
945
- # "desired_node_version", "desired_image_family" or
946
- # "desired_node_pool_autoscaling" is specified and there is more than one
947
- # node pool on the cluster.
914
+ # The node pool to be upgraded. This field is mandatory if "desired_node_version"
915
+ # , "desired_image_family" or "desired_node_pool_autoscaling" is specified and
916
+ # there is more than one node pool on the cluster.
948
917
  # Corresponds to the JSON property `desiredNodePoolId`
949
918
  # @return [String]
950
919
  attr_accessor :desired_node_pool_id
951
920
 
952
- # The Kubernetes version to change the nodes to (typically an
953
- # upgrade).
954
- # Users may specify either explicit versions offered by
955
- # Kubernetes Engine or version aliases, which have the following behavior:
956
- # - "latest": picks the highest valid Kubernetes version
957
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
958
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
959
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
960
- # - "-": picks the Kubernetes master version
921
+ # The Kubernetes version to change the nodes to (typically an upgrade). Users
922
+ # may specify either explicit versions offered by Kubernetes Engine or version
923
+ # aliases, which have the following behavior: - "latest": picks the highest
924
+ # valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in
925
+ # the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y
926
+ # version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the
927
+ # Kubernetes master version
961
928
  # Corresponds to the JSON property `desiredNodeVersion`
962
929
  # @return [String]
963
930
  attr_accessor :desired_node_version
964
931
 
965
- # ReleaseChannel indicates which release channel a cluster is
966
- # subscribed to. Release channels are arranged in order of risk.
967
- # When a cluster is subscribed to a release channel, Google maintains
968
- # both the master version and the node version. Node auto-upgrade
969
- # defaults to true and cannot be disabled.
932
+ # Configuration options for private clusters.
933
+ # Corresponds to the JSON property `desiredPrivateClusterConfig`
934
+ # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
935
+ attr_accessor :desired_private_cluster_config
936
+
937
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
938
+ # Release channels are arranged in order of risk. When a cluster is subscribed
939
+ # to a release channel, Google maintains both the master version and the node
940
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
970
941
  # Corresponds to the JSON property `desiredReleaseChannel`
971
942
  # @return [Google::Apis::ContainerV1::ReleaseChannel]
972
943
  attr_accessor :desired_release_channel
@@ -981,15 +952,14 @@ module Google
981
952
  # @return [Google::Apis::ContainerV1::ShieldedNodes]
982
953
  attr_accessor :desired_shielded_nodes
983
954
 
984
- # VerticalPodAutoscaling contains global, per-cluster information
985
- # required by Vertical Pod Autoscaler to automatically adjust
986
- # the resources of pods controlled by it.
955
+ # VerticalPodAutoscaling contains global, per-cluster information required by
956
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
957
+ # controlled by it.
987
958
  # Corresponds to the JSON property `desiredVerticalPodAutoscaling`
988
959
  # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
989
960
  attr_accessor :desired_vertical_pod_autoscaling
990
961
 
991
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
992
- # policies.
962
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
993
963
  # Corresponds to the JSON property `desiredWorkloadIdentityConfig`
994
964
  # @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
995
965
  attr_accessor :desired_workload_identity_config
@@ -1004,6 +974,7 @@ module Google
1004
974
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1005
975
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1006
976
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
977
+ @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1007
978
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1008
979
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1009
980
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
@@ -1014,6 +985,7 @@ module Google
1014
985
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1015
986
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1016
987
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
988
+ @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
1017
989
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1018
990
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1019
991
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
@@ -1026,8 +998,8 @@ module Google
1026
998
  class CompleteIpRotationRequest
1027
999
  include Google::Apis::Core::Hashable
1028
1000
 
1029
- # Deprecated. The name of the cluster.
1030
- # This field has been deprecated and replaced by the name field.
1001
+ # Deprecated. The name of the cluster. This field has been deprecated and
1002
+ # replaced by the name field.
1031
1003
  # Corresponds to the JSON property `clusterId`
1032
1004
  # @return [String]
1033
1005
  attr_accessor :cluster_id
@@ -1038,17 +1010,16 @@ module Google
1038
1010
  # @return [String]
1039
1011
  attr_accessor :name
1040
1012
 
1041
- # Deprecated. The Google Developers Console [project ID or project
1042
- # number](https://developers.google.com/console/help/new/#projectnumber).
1043
- # This field has been deprecated and replaced by the name field.
1013
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1014
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
1015
+ # deprecated and replaced by the name field.
1044
1016
  # Corresponds to the JSON property `projectId`
1045
1017
  # @return [String]
1046
1018
  attr_accessor :project_id
1047
1019
 
1048
- # Deprecated. The name of the Google Compute Engine
1049
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1050
- # cluster resides. This field has been deprecated and replaced by the name
1051
- # field.
1020
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1021
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1022
+ # been deprecated and replaced by the name field.
1052
1023
  # Corresponds to the JSON property `zone`
1053
1024
  # @return [String]
1054
1025
  attr_accessor :zone
@@ -1066,13 +1037,32 @@ module Google
1066
1037
  end
1067
1038
  end
1068
1039
 
1040
+ # Configuration options for the Config Connector add-on.
1041
+ class ConfigConnectorConfig
1042
+ include Google::Apis::Core::Hashable
1043
+
1044
+ # Whether Cloud Connector is enabled for this cluster.
1045
+ # Corresponds to the JSON property `enabled`
1046
+ # @return [Boolean]
1047
+ attr_accessor :enabled
1048
+ alias_method :enabled?, :enabled
1049
+
1050
+ def initialize(**args)
1051
+ update!(**args)
1052
+ end
1053
+
1054
+ # Update properties of this object
1055
+ def update!(**args)
1056
+ @enabled = args[:enabled] if args.key?(:enabled)
1057
+ end
1058
+ end
1059
+
1069
1060
  # Parameters for controlling consumption metering.
1070
1061
  class ConsumptionMeteringConfig
1071
1062
  include Google::Apis::Core::Hashable
1072
1063
 
1073
- # Whether to enable consumption metering for this cluster. If enabled, a
1074
- # second BigQuery table will be created to hold resource consumption
1075
- # records.
1064
+ # Whether to enable consumption metering for this cluster. If enabled, a second
1065
+ # BigQuery table will be created to hold resource consumption records.
1076
1066
  # Corresponds to the JSON property `enabled`
1077
1067
  # @return [Boolean]
1078
1068
  attr_accessor :enabled
@@ -1097,23 +1087,22 @@ module Google
1097
1087
  # @return [Google::Apis::ContainerV1::Cluster]
1098
1088
  attr_accessor :cluster
1099
1089
 
1100
- # The parent (project and location) where the cluster will be created.
1101
- # Specified in the format `projects/*/locations/*`.
1090
+ # The parent (project and location) where the cluster will be created. Specified
1091
+ # in the format `projects/*/locations/*`.
1102
1092
  # Corresponds to the JSON property `parent`
1103
1093
  # @return [String]
1104
1094
  attr_accessor :parent
1105
1095
 
1106
- # Deprecated. The Google Developers Console [project ID or project
1107
- # number](https://support.google.com/cloud/answer/6158840).
1108
- # This field has been deprecated and replaced by the parent field.
1096
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1097
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
1098
+ # replaced by the parent field.
1109
1099
  # Corresponds to the JSON property `projectId`
1110
1100
  # @return [String]
1111
1101
  attr_accessor :project_id
1112
1102
 
1113
- # Deprecated. The name of the Google Compute Engine
1114
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1115
- # cluster resides. This field has been deprecated and replaced by the parent
1116
- # field.
1103
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1104
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1105
+ # been deprecated and replaced by the parent field.
1117
1106
  # Corresponds to the JSON property `zone`
1118
1107
  # @return [String]
1119
1108
  attr_accessor :zone
@@ -1135,40 +1124,38 @@ module Google
1135
1124
  class CreateNodePoolRequest
1136
1125
  include Google::Apis::Core::Hashable
1137
1126
 
1138
- # Deprecated. The name of the cluster.
1139
- # This field has been deprecated and replaced by the parent field.
1127
+ # Deprecated. The name of the cluster. This field has been deprecated and
1128
+ # replaced by the parent field.
1140
1129
  # Corresponds to the JSON property `clusterId`
1141
1130
  # @return [String]
1142
1131
  attr_accessor :cluster_id
1143
1132
 
1144
- # NodePool contains the name and configuration for a cluster's node pool.
1145
- # Node pools are a set of nodes (i.e. VM's), with a common configuration and
1146
- # specification, under the control of the cluster master. They may have a set
1147
- # of Kubernetes labels applied to them, which may be used to reference them
1148
- # during pod scheduling. They may also be resized up or down, to accommodate
1149
- # the workload.
1133
+ # NodePool contains the name and configuration for a cluster's node pool. Node
1134
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
1135
+ # specification, under the control of the cluster master. They may have a set of
1136
+ # Kubernetes labels applied to them, which may be used to reference them during
1137
+ # pod scheduling. They may also be resized up or down, to accommodate the
1138
+ # workload.
1150
1139
  # Corresponds to the JSON property `nodePool`
1151
1140
  # @return [Google::Apis::ContainerV1::NodePool]
1152
1141
  attr_accessor :node_pool
1153
1142
 
1154
- # The parent (project, location, cluster id) where the node pool will be
1155
- # created. Specified in the format
1156
- # `projects/*/locations/*/clusters/*`.
1143
+ # The parent (project, location, cluster id) where the node pool will be created.
1144
+ # Specified in the format `projects/*/locations/*/clusters/*`.
1157
1145
  # Corresponds to the JSON property `parent`
1158
1146
  # @return [String]
1159
1147
  attr_accessor :parent
1160
1148
 
1161
- # Deprecated. The Google Developers Console [project ID or project
1162
- # number](https://developers.google.com/console/help/new/#projectnumber).
1163
- # This field has been deprecated and replaced by the parent field.
1149
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1150
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
1151
+ # deprecated and replaced by the parent field.
1164
1152
  # Corresponds to the JSON property `projectId`
1165
1153
  # @return [String]
1166
1154
  attr_accessor :project_id
1167
1155
 
1168
- # Deprecated. The name of the Google Compute Engine
1169
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1170
- # cluster resides. This field has been deprecated and replaced by the parent
1171
- # field.
1156
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1157
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1158
+ # been deprecated and replaced by the parent field.
1172
1159
  # Corresponds to the JSON property `zone`
1173
1160
  # @return [String]
1174
1161
  attr_accessor :zone
@@ -1191,17 +1178,16 @@ module Google
1191
1178
  class DailyMaintenanceWindow
1192
1179
  include Google::Apis::Core::Hashable
1193
1180
 
1194
- # [Output only] Duration of the time window, automatically chosen to be
1195
- # smallest possible in the given scenario.
1196
- # Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
1197
- # format "PTnHnMnS".
1181
+ # [Output only] Duration of the time window, automatically chosen to be smallest
1182
+ # possible in the given scenario. Duration will be in [RFC3339](https://www.ietf.
1183
+ # org/rfc/rfc3339.txt) format "PTnHnMnS".
1198
1184
  # Corresponds to the JSON property `duration`
1199
1185
  # @return [String]
1200
1186
  attr_accessor :duration
1201
1187
 
1202
- # Time within the maintenance window to start the maintenance operations.
1203
- # Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
1204
- # format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
1188
+ # Time within the maintenance window to start the maintenance operations. Time
1189
+ # format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "HH:
1190
+ # MM", where HH : [00-23] and MM : [00-59] GMT.
1205
1191
  # Corresponds to the JSON property `startTime`
1206
1192
  # @return [String]
1207
1193
  attr_accessor :start_time
@@ -1221,8 +1207,8 @@ module Google
1221
1207
  class DatabaseEncryption
1222
1208
  include Google::Apis::Core::Hashable
1223
1209
 
1224
- # Name of CloudKMS key to use for the encryption of secrets in etcd.
1225
- # Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1210
+ # Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
1211
+ # projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1226
1212
  # Corresponds to the JSON property `keyName`
1227
1213
  # @return [String]
1228
1214
  attr_accessor :key_name
@@ -1243,6 +1229,27 @@ module Google
1243
1229
  end
1244
1230
  end
1245
1231
 
1232
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
1233
+ # disabled on the cluster.
1234
+ class DefaultSnatStatus
1235
+ include Google::Apis::Core::Hashable
1236
+
1237
+ # Disables cluster default sNAT rules.
1238
+ # Corresponds to the JSON property `disabled`
1239
+ # @return [Boolean]
1240
+ attr_accessor :disabled
1241
+ alias_method :disabled?, :disabled
1242
+
1243
+ def initialize(**args)
1244
+ update!(**args)
1245
+ end
1246
+
1247
+ # Update properties of this object
1248
+ def update!(**args)
1249
+ @disabled = args[:disabled] if args.key?(:disabled)
1250
+ end
1251
+ end
1252
+
1246
1253
  # Configuration for NodeLocal DNSCache
1247
1254
  class DnsCacheConfig
1248
1255
  include Google::Apis::Core::Hashable
@@ -1263,13 +1270,11 @@ module Google
1263
1270
  end
1264
1271
  end
1265
1272
 
1266
- # A generic empty message that you can re-use to avoid defining duplicated
1267
- # empty messages in your APIs. A typical example is to use it as the request
1268
- # or the response type of an API method. For instance:
1269
- # service Foo `
1270
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1271
- # `
1272
- # The JSON representation for `Empty` is empty JSON object ````.
1273
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1274
+ # messages in your APIs. A typical example is to use it as the request or the
1275
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1276
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1277
+ # `Empty` is empty JSON object ````.
1273
1278
  class Empty
1274
1279
  include Google::Apis::Core::Hashable
1275
1280
 
@@ -1291,8 +1296,7 @@ module Google
1291
1296
  # @return [Google::Apis::ContainerV1::HttpCacheControlResponseHeader]
1292
1297
  attr_accessor :cache_header
1293
1298
 
1294
- # The public component of the keys used by the cluster to sign token
1295
- # requests.
1299
+ # The public component of the keys used by the cluster to sign token requests.
1296
1300
  # Corresponds to the JSON property `keys`
1297
1301
  # @return [Array<Google::Apis::ContainerV1::Jwk>]
1298
1302
  attr_accessor :keys
@@ -1308,8 +1312,8 @@ module Google
1308
1312
  end
1309
1313
  end
1310
1314
 
1311
- # GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
1312
- # See the OpenID Connect Discovery 1.0 specification for details.
1315
+ # GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the
1316
+ # OpenID Connect Discovery 1.0 specification for details.
1313
1317
  class GetOpenIdConfigResponse
1314
1318
  include Google::Apis::Core::Hashable
1315
1319
 
@@ -1371,14 +1375,13 @@ module Google
1371
1375
  end
1372
1376
 
1373
1377
  # Configuration options for the horizontal pod autoscaling feature, which
1374
- # increases or decreases the number of replica pods a replication controller
1375
- # has based on the resource usage of the existing pods.
1378
+ # increases or decreases the number of replica pods a replication controller has
1379
+ # based on the resource usage of the existing pods.
1376
1380
  class HorizontalPodAutoscaling
1377
1381
  include Google::Apis::Core::Hashable
1378
1382
 
1379
- # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
1380
- # When enabled, it ensures that metrics are collected into Stackdriver
1381
- # Monitoring.
1383
+ # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
1384
+ # enabled, it ensures that metrics are collected into Stackdriver Monitoring.
1382
1385
  # Corresponds to the JSON property `disabled`
1383
1386
  # @return [Boolean]
1384
1387
  attr_accessor :disabled
@@ -1425,14 +1428,13 @@ module Google
1425
1428
  end
1426
1429
  end
1427
1430
 
1428
- # Configuration options for the HTTP (L7) load balancing controller addon,
1429
- # which makes it easy to set up HTTP load balancers for services in a cluster.
1431
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
1432
+ # makes it easy to set up HTTP load balancers for services in a cluster.
1430
1433
  class HttpLoadBalancing
1431
1434
  include Google::Apis::Core::Hashable
1432
1435
 
1433
- # Whether the HTTP Load Balancing controller is enabled in the cluster.
1434
- # When enabled, it runs a small pod in the cluster that manages the load
1435
- # balancers.
1436
+ # Whether the HTTP Load Balancing controller is enabled in the cluster. When
1437
+ # enabled, it runs a small pod in the cluster that manages the load balancers.
1436
1438
  # Corresponds to the JSON property `disabled`
1437
1439
  # @return [Boolean]
1438
1440
  attr_accessor :disabled
@@ -1457,33 +1459,28 @@ module Google
1457
1459
  # @return [String]
1458
1460
  attr_accessor :cluster_ipv4_cidr
1459
1461
 
1460
- # The IP address range for the cluster pod IPs. If this field is set, then
1461
- # `cluster.cluster_ipv4_cidr` must be left blank.
1462
- # This field is only applicable when `use_ip_aliases` is true.
1463
- # Set to blank to have a range chosen with the default size.
1464
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1465
- # netmask.
1466
- # Set to a
1467
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1468
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1469
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1470
- # to use.
1462
+ # The IP address range for the cluster pod IPs. If this field is set, then `
1463
+ # cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable
1464
+ # when `use_ip_aliases` is true. Set to blank to have a range chosen with the
1465
+ # default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1466
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1467
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1468
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1469
+ # specific range to use.
1471
1470
  # Corresponds to the JSON property `clusterIpv4CidrBlock`
1472
1471
  # @return [String]
1473
1472
  attr_accessor :cluster_ipv4_cidr_block
1474
1473
 
1475
- # The name of the secondary range to be used for the cluster CIDR
1476
- # block. The secondary range will be used for pod IP
1477
- # addresses. This must be an existing secondary range associated
1478
- # with the cluster subnetwork.
1479
- # This field is only applicable with use_ip_aliases is true and
1480
- # create_subnetwork is false.
1474
+ # The name of the secondary range to be used for the cluster CIDR block. The
1475
+ # secondary range will be used for pod IP addresses. This must be an existing
1476
+ # secondary range associated with the cluster subnetwork. This field is only
1477
+ # applicable with use_ip_aliases is true and create_subnetwork is false.
1481
1478
  # Corresponds to the JSON property `clusterSecondaryRangeName`
1482
1479
  # @return [String]
1483
1480
  attr_accessor :cluster_secondary_range_name
1484
1481
 
1485
- # Whether a new subnetwork will be created automatically for the cluster.
1486
- # This field is only applicable when `use_ip_aliases` is true.
1482
+ # Whether a new subnetwork will be created automatically for the cluster. This
1483
+ # field is only applicable when `use_ip_aliases` is true.
1487
1484
  # Corresponds to the JSON property `createSubnetwork`
1488
1485
  # @return [Boolean]
1489
1486
  attr_accessor :create_subnetwork
@@ -1494,16 +1491,13 @@ module Google
1494
1491
  # @return [String]
1495
1492
  attr_accessor :node_ipv4_cidr
1496
1493
 
1497
- # The IP address range of the instance IPs in this cluster.
1498
- # This is applicable only if `create_subnetwork` is true.
1499
- # Set to blank to have a range chosen with the default size.
1500
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1501
- # netmask.
1502
- # Set to a
1503
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1504
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1505
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1506
- # to use.
1494
+ # The IP address range of the instance IPs in this cluster. This is applicable
1495
+ # only if `create_subnetwork` is true. Set to blank to have a range chosen with
1496
+ # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1497
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1498
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1499
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1500
+ # specific range to use.
1507
1501
  # Corresponds to the JSON property `nodeIpv4CidrBlock`
1508
1502
  # @return [String]
1509
1503
  attr_accessor :node_ipv4_cidr_block
@@ -1514,58 +1508,61 @@ module Google
1514
1508
  attr_accessor :services_ipv4_cidr
1515
1509
 
1516
1510
  # The IP address range of the services IPs in this cluster. If blank, a range
1517
- # will be automatically chosen with the default size.
1518
- # This field is only applicable when `use_ip_aliases` is true.
1519
- # Set to blank to have a range chosen with the default size.
1520
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1521
- # netmask.
1522
- # Set to a
1523
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1524
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1525
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1526
- # to use.
1511
+ # will be automatically chosen with the default size. This field is only
1512
+ # applicable when `use_ip_aliases` is true. Set to blank to have a range chosen
1513
+ # with the default size. Set to /netmask (e.g. `/14`) to have a range chosen
1514
+ # with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/
1515
+ # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
1516
+ # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
1517
+ # to pick a specific range to use.
1527
1518
  # Corresponds to the JSON property `servicesIpv4CidrBlock`
1528
1519
  # @return [String]
1529
1520
  attr_accessor :services_ipv4_cidr_block
1530
1521
 
1531
- # The name of the secondary range to be used as for the services
1532
- # CIDR block. The secondary range will be used for service
1533
- # ClusterIPs. This must be an existing secondary range associated
1534
- # with the cluster subnetwork.
1535
- # This field is only applicable with use_ip_aliases is true and
1536
- # create_subnetwork is false.
1522
+ # The name of the secondary range to be used as for the services CIDR block. The
1523
+ # secondary range will be used for service ClusterIPs. 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.
1537
1526
  # Corresponds to the JSON property `servicesSecondaryRangeName`
1538
1527
  # @return [String]
1539
1528
  attr_accessor :services_secondary_range_name
1540
1529
 
1541
- # A custom subnetwork name to be used if `create_subnetwork` is true. If
1542
- # this field is empty, then an automatic name will be chosen for the new
1543
- # subnetwork.
1530
+ # A custom subnetwork name to be used if `create_subnetwork` is true. If this
1531
+ # field is empty, then an automatic name will be chosen for the new subnetwork.
1544
1532
  # Corresponds to the JSON property `subnetworkName`
1545
1533
  # @return [String]
1546
1534
  attr_accessor :subnetwork_name
1547
1535
 
1548
1536
  # The IP address range of the Cloud TPUs in this cluster. If unspecified, a
1549
- # range will be automatically chosen with the default size.
1550
- # This field is only applicable when `use_ip_aliases` is true.
1551
- # If unspecified, the range will use the default size.
1552
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1553
- # netmask.
1554
- # Set to a
1555
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1556
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1557
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1558
- # to use.
1537
+ # range will be automatically chosen with the default size. This field is only
1538
+ # applicable when `use_ip_aliases` is true. If unspecified, the range will use
1539
+ # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1540
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1541
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1542
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1543
+ # specific range to use.
1559
1544
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
1560
1545
  # @return [String]
1561
1546
  attr_accessor :tpu_ipv4_cidr_block
1562
1547
 
1563
- # Whether alias IPs will be used for pod IPs in the cluster.
1548
+ # Whether alias IPs will be used for pod IPs in the cluster. This is used in
1549
+ # conjunction with use_routes. It cannot be true if use_routes is true. If both
1550
+ # use_ip_aliases and use_routes are false, then the server picks the default IP
1551
+ # allocation mode
1564
1552
  # Corresponds to the JSON property `useIpAliases`
1565
1553
  # @return [Boolean]
1566
1554
  attr_accessor :use_ip_aliases
1567
1555
  alias_method :use_ip_aliases?, :use_ip_aliases
1568
1556
 
1557
+ # Whether routes will be used for pod IPs in the cluster. This is used in
1558
+ # conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true.
1559
+ # If both use_ip_aliases and use_routes are false, then the server picks the
1560
+ # default IP allocation mode
1561
+ # Corresponds to the JSON property `useRoutes`
1562
+ # @return [Boolean]
1563
+ attr_accessor :use_routes
1564
+ alias_method :use_routes?, :use_routes
1565
+
1569
1566
  def initialize(**args)
1570
1567
  update!(**args)
1571
1568
  end
@@ -1584,6 +1581,7 @@ module Google
1584
1581
  @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
1585
1582
  @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
1586
1583
  @use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
1584
+ @use_routes = args[:use_routes] if args.key?(:use_routes)
1587
1585
  end
1588
1586
  end
1589
1587
 
@@ -1695,15 +1693,14 @@ module Google
1695
1693
  end
1696
1694
  end
1697
1695
 
1698
- # Configuration for the legacy Attribute Based Access Control authorization
1699
- # mode.
1696
+ # Configuration for the legacy Attribute Based Access Control authorization mode.
1700
1697
  class LegacyAbac
1701
1698
  include Google::Apis::Core::Hashable
1702
1699
 
1703
1700
  # Whether the ABAC authorizer is enabled for this cluster. When enabled,
1704
- # identities in the system, including service accounts, nodes, and
1705
- # controllers, will have statically granted permissions beyond those
1706
- # provided by the RBAC configuration or IAM.
1701
+ # identities in the system, including service accounts, nodes, and controllers,
1702
+ # will have statically granted permissions beyond those provided by the RBAC
1703
+ # configuration or IAM.
1707
1704
  # Corresponds to the JSON property `enabled`
1708
1705
  # @return [Boolean]
1709
1706
  attr_accessor :enabled
@@ -1723,14 +1720,13 @@ module Google
1723
1720
  class ListClustersResponse
1724
1721
  include Google::Apis::Core::Hashable
1725
1722
 
1726
- # A list of clusters in the project in the specified zone, or
1727
- # across all ones.
1723
+ # A list of clusters in the project in the specified zone, or across all ones.
1728
1724
  # Corresponds to the JSON property `clusters`
1729
1725
  # @return [Array<Google::Apis::ContainerV1::Cluster>]
1730
1726
  attr_accessor :clusters
1731
1727
 
1732
- # If any zones are listed here, the list of clusters returned
1733
- # may be missing those zones.
1728
+ # If any zones are listed here, the list of clusters returned may be missing
1729
+ # those zones.
1734
1730
  # Corresponds to the JSON property `missingZones`
1735
1731
  # @return [Array<String>]
1736
1732
  attr_accessor :missing_zones
@@ -1769,8 +1765,8 @@ module Google
1769
1765
  class ListOperationsResponse
1770
1766
  include Google::Apis::Core::Hashable
1771
1767
 
1772
- # If any zones are listed here, the list of operations returned
1773
- # may be missing the operations from those zones.
1768
+ # If any zones are listed here, the list of operations returned may be missing
1769
+ # the operations from those zones.
1774
1770
  # Corresponds to the JSON property `missingZones`
1775
1771
  # @return [Array<String>]
1776
1772
  attr_accessor :missing_zones
@@ -1791,15 +1787,14 @@ module Google
1791
1787
  end
1792
1788
  end
1793
1789
 
1794
- # ListUsableSubnetworksResponse is the response of
1795
- # ListUsableSubnetworksRequest.
1790
+ # ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
1796
1791
  class ListUsableSubnetworksResponse
1797
1792
  include Google::Apis::Core::Hashable
1798
1793
 
1799
- # This token allows you to get the next page of results for list requests.
1800
- # If the number of results is larger than `page_size`, use the
1801
- # `next_page_token` as a value for the query parameter `page_token` in the
1802
- # next request. The value will become empty when there are no more pages.
1794
+ # This token allows you to get the next page of results for list requests. If
1795
+ # the number of results is larger than `page_size`, use the `next_page_token` as
1796
+ # a value for the query parameter `page_token` in the next request. The value
1797
+ # will become empty when there are no more pages.
1803
1798
  # Corresponds to the JSON property `nextPageToken`
1804
1799
  # @return [String]
1805
1800
  attr_accessor :next_page_token
@@ -1825,10 +1820,10 @@ module Google
1825
1820
  include Google::Apis::Core::Hashable
1826
1821
 
1827
1822
  # A hash identifying the version of this policy, so that updates to fields of
1828
- # the policy won't accidentally undo intermediate changes (and so that users
1829
- # of the API unaware of some fields won't accidentally remove other fields).
1830
- # Make a <code>get()</code> request to the cluster to get the current
1831
- # resource version and include it with requests to set the policy.
1823
+ # the policy won't accidentally undo intermediate changes (and so that users of
1824
+ # the API unaware of some fields won't accidentally remove other fields). Make a
1825
+ # `get()` request to the cluster to get the current resource version and include
1826
+ # it with requests to set the policy.
1832
1827
  # Corresponds to the JSON property `resourceVersion`
1833
1828
  # @return [String]
1834
1829
  attr_accessor :resource_version
@@ -1858,8 +1853,8 @@ module Google
1858
1853
  # @return [Google::Apis::ContainerV1::DailyMaintenanceWindow]
1859
1854
  attr_accessor :daily_maintenance_window
1860
1855
 
1861
- # Exceptions to maintenance window. Non-emergency maintenance should not
1862
- # occur in these windows.
1856
+ # Exceptions to maintenance window. Non-emergency maintenance should not occur
1857
+ # in these windows.
1863
1858
  # Corresponds to the JSON property `maintenanceExclusions`
1864
1859
  # @return [Hash<String,Google::Apis::ContainerV1::TimeWindow>]
1865
1860
  attr_accessor :maintenance_exclusions
@@ -1882,8 +1877,7 @@ module Google
1882
1877
  end
1883
1878
 
1884
1879
  # The authentication information for accessing the master endpoint.
1885
- # Authentication can be done using HTTP basic auth or using client
1886
- # certificates.
1880
+ # Authentication can be done using HTTP basic auth or using client certificates.
1887
1881
  class MasterAuth
1888
1882
  include Google::Apis::Core::Hashable
1889
1883
 
@@ -1898,29 +1892,29 @@ module Google
1898
1892
  # @return [Google::Apis::ContainerV1::ClientCertificateConfig]
1899
1893
  attr_accessor :client_certificate_config
1900
1894
 
1901
- # [Output only] Base64-encoded private key used by clients to authenticate
1902
- # to the cluster endpoint.
1895
+ # [Output only] Base64-encoded private key used by clients to authenticate to
1896
+ # the cluster endpoint.
1903
1897
  # Corresponds to the JSON property `clientKey`
1904
1898
  # @return [String]
1905
1899
  attr_accessor :client_key
1906
1900
 
1907
- # [Output only] Base64-encoded public certificate that is the root of
1908
- # trust for the cluster.
1901
+ # [Output only] Base64-encoded public certificate that is the root of trust for
1902
+ # the cluster.
1909
1903
  # Corresponds to the JSON property `clusterCaCertificate`
1910
1904
  # @return [String]
1911
1905
  attr_accessor :cluster_ca_certificate
1912
1906
 
1913
1907
  # The password to use for HTTP basic authentication to the master endpoint.
1914
1908
  # Because the master endpoint is open to the Internet, you should create a
1915
- # strong password. If a password is provided for cluster creation, username
1916
- # must be non-empty.
1909
+ # strong password. If a password is provided for cluster creation, username must
1910
+ # be non-empty.
1917
1911
  # Corresponds to the JSON property `password`
1918
1912
  # @return [String]
1919
1913
  attr_accessor :password
1920
1914
 
1921
- # The username to use for HTTP basic authentication to the master endpoint.
1922
- # For clusters v1.6.0 and later, basic authentication can be disabled by
1923
- # leaving username unspecified (or setting it to the empty string).
1915
+ # The username to use for HTTP basic authentication to the master endpoint. For
1916
+ # clusters v1.6.0 and later, basic authentication can be disabled by leaving
1917
+ # username unspecified (or setting it to the empty string).
1924
1918
  # Corresponds to the JSON property `username`
1925
1919
  # @return [String]
1926
1920
  attr_accessor :username
@@ -1947,8 +1941,8 @@ module Google
1947
1941
  class MasterAuthorizedNetworksConfig
1948
1942
  include Google::Apis::Core::Hashable
1949
1943
 
1950
- # cidr_blocks define up to 50 external networks that could access
1951
- # Kubernetes master through HTTPS.
1944
+ # cidr_blocks define up to 50 external networks that could access Kubernetes
1945
+ # master through HTTPS.
1952
1946
  # Corresponds to the JSON property `cidrBlocks`
1953
1947
  # @return [Array<Google::Apis::ContainerV1::CidrBlock>]
1954
1948
  attr_accessor :cidr_blocks
@@ -2030,25 +2024,29 @@ module Google
2030
2024
  class NetworkConfig
2031
2025
  include Google::Apis::Core::Hashable
2032
2026
 
2033
- # Whether Intra-node visibility is enabled for this cluster.
2034
- # This makes same node pod to pod traffic visible for VPC network.
2027
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
2028
+ # disabled on the cluster.
2029
+ # Corresponds to the JSON property `defaultSnatStatus`
2030
+ # @return [Google::Apis::ContainerV1::DefaultSnatStatus]
2031
+ attr_accessor :default_snat_status
2032
+
2033
+ # Whether Intra-node visibility is enabled for this cluster. This makes same
2034
+ # node pod to pod traffic visible for VPC network.
2035
2035
  # Corresponds to the JSON property `enableIntraNodeVisibility`
2036
2036
  # @return [Boolean]
2037
2037
  attr_accessor :enable_intra_node_visibility
2038
2038
  alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
2039
2039
 
2040
- # Output only. The relative name of the Google Compute Engine
2041
- # network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
2042
- # to which the cluster is connected. Example:
2043
- # projects/my-project/global/networks/my-network
2040
+ # Output only. The relative name of the Google Compute Engine network(https://
2041
+ # cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
2042
+ # cluster is connected. Example: projects/my-project/global/networks/my-network
2044
2043
  # Corresponds to the JSON property `network`
2045
2044
  # @return [String]
2046
2045
  attr_accessor :network
2047
2046
 
2048
- # Output only. The relative name of the Google Compute Engine
2049
- # [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
2050
- # cluster is connected. Example:
2051
- # projects/my-project/regions/us-central1/subnetworks/my-subnet
2047
+ # Output only. The relative name of the Google Compute Engine [subnetwork](https:
2048
+ # //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
2049
+ # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
2052
2050
  # Corresponds to the JSON property `subnetwork`
2053
2051
  # @return [String]
2054
2052
  attr_accessor :subnetwork
@@ -2059,14 +2057,15 @@ module Google
2059
2057
 
2060
2058
  # Update properties of this object
2061
2059
  def update!(**args)
2060
+ @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2062
2061
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2063
2062
  @network = args[:network] if args.key?(:network)
2064
2063
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
2065
2064
  end
2066
2065
  end
2067
2066
 
2068
- # Configuration options for the NetworkPolicy feature.
2069
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
2067
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
2068
+ # docs/concepts/services-networking/networkpolicies/
2070
2069
  class NetworkPolicy
2071
2070
  include Google::Apis::Core::Hashable
2072
2071
 
@@ -2092,9 +2091,9 @@ module Google
2092
2091
  end
2093
2092
  end
2094
2093
 
2095
- # Configuration for NetworkPolicy. This only tracks whether the addon
2096
- # is enabled or not on the Master, it does not track whether network policy
2097
- # is enabled for the nodes.
2094
+ # Configuration for NetworkPolicy. This only tracks whether the addon is enabled
2095
+ # or not on the Master, it does not track whether network policy is enabled for
2096
+ # the nodes.
2098
2097
  class NetworkPolicyConfig
2099
2098
  include Google::Apis::Core::Hashable
2100
2099
 
@@ -2118,146 +2117,124 @@ module Google
2118
2117
  class NodeConfig
2119
2118
  include Google::Apis::Core::Hashable
2120
2119
 
2121
- # A list of hardware accelerators to be attached to each node.
2122
- # See https://cloud.google.com/compute/docs/gpus for more information about
2123
- # support for GPUs.
2120
+ # A list of hardware accelerators to be attached to each node. See https://cloud.
2121
+ # google.com/compute/docs/gpus for more information about support for GPUs.
2124
2122
  # Corresponds to the JSON property `accelerators`
2125
2123
  # @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
2126
2124
  attr_accessor :accelerators
2127
2125
 
2128
- # The Customer Managed Encryption Key used to encrypt the boot disk attached
2129
- # to each node in the node pool. This should be of the form
2130
- # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/
2131
- # [KEY_NAME].
2132
- # For more information about protecting resources with Cloud KMS Keys please
2133
- # see:
2134
- # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2126
+ # The Customer Managed Encryption Key used to encrypt the boot disk attached to
2127
+ # each node in the node pool. This should be of the form projects/[
2128
+ # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
2129
+ # . For more information about protecting resources with Cloud KMS Keys please
2130
+ # see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2135
2131
  # Corresponds to the JSON property `bootDiskKmsKey`
2136
2132
  # @return [String]
2137
2133
  attr_accessor :boot_disk_kms_key
2138
2134
 
2139
- # Size of the disk attached to each node, specified in GB.
2140
- # The smallest allowed disk size is 10GB.
2141
- # If unspecified, the default disk size is 100GB.
2135
+ # Size of the disk attached to each node, specified in GB. The smallest allowed
2136
+ # disk size is 10GB. If unspecified, the default disk size is 100GB.
2142
2137
  # Corresponds to the JSON property `diskSizeGb`
2143
2138
  # @return [Fixnum]
2144
2139
  attr_accessor :disk_size_gb
2145
2140
 
2146
- # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
2147
- # If unspecified, the default disk type is 'pd-standard'
2141
+ # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
2142
+ # unspecified, the default disk type is 'pd-standard'
2148
2143
  # Corresponds to the JSON property `diskType`
2149
2144
  # @return [String]
2150
2145
  attr_accessor :disk_type
2151
2146
 
2152
- # The image type to use for this node. Note that for a given image type,
2153
- # the latest version of it will be used.
2147
+ # The image type to use for this node. Note that for a given image type, the
2148
+ # latest version of it will be used.
2154
2149
  # Corresponds to the JSON property `imageType`
2155
2150
  # @return [String]
2156
2151
  attr_accessor :image_type
2157
2152
 
2158
2153
  # The map of Kubernetes labels (key/value pairs) to be applied to each node.
2159
- # These will added in addition to any default label(s) that
2160
- # Kubernetes may apply to the node.
2161
- # In case of conflict in label keys, the applied set may differ depending on
2162
- # the Kubernetes version -- it's best to assume the behavior is undefined
2163
- # and conflicts should be avoided.
2164
- # For more information, including usage and the valid values, see:
2165
- # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2154
+ # These will added in addition to any default label(s) that Kubernetes may apply
2155
+ # to the node. In case of conflict in label keys, the applied set may differ
2156
+ # depending on the Kubernetes version -- it's best to assume the behavior is
2157
+ # undefined and conflicts should be avoided. For more information, including
2158
+ # usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/
2159
+ # working-with-objects/labels/
2166
2160
  # Corresponds to the JSON property `labels`
2167
2161
  # @return [Hash<String,String>]
2168
2162
  attr_accessor :labels
2169
2163
 
2170
- # The number of local SSD disks to be attached to the node.
2171
- # The limit for this value is dependent upon the maximum number of
2172
- # disks available on a machine per zone. See:
2173
- # https://cloud.google.com/compute/docs/disks/local-ssd
2174
- # for more information.
2164
+ # The number of local SSD disks to be attached to the node. The limit for this
2165
+ # value is dependent upon the maximum number of disks available on a machine per
2166
+ # zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
2167
+ # information.
2175
2168
  # Corresponds to the JSON property `localSsdCount`
2176
2169
  # @return [Fixnum]
2177
2170
  attr_accessor :local_ssd_count
2178
2171
 
2179
- # The name of a Google Compute Engine [machine
2180
- # type](https://cloud.google.com/compute/docs/machine-types) (e.g.
2181
- # `n1-standard-1`).
2182
- # If unspecified, the default machine type is
2183
- # `n1-standard-1`.
2172
+ # The name of a Google Compute Engine [machine type](https://cloud.google.com/
2173
+ # compute/docs/machine-types) If unspecified, the default machine type is `e2-
2174
+ # medium`.
2184
2175
  # Corresponds to the JSON property `machineType`
2185
2176
  # @return [String]
2186
2177
  attr_accessor :machine_type
2187
2178
 
2188
- # The metadata key/value pairs assigned to instances in the cluster.
2189
- # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
2190
- # in length. These are reflected as part of a URL in the metadata server.
2191
- # Additionally, to avoid ambiguity, keys must not conflict with any other
2192
- # metadata keys for the project or be one of the reserved keys:
2193
- # "cluster-location"
2194
- # "cluster-name"
2195
- # "cluster-uid"
2196
- # "configure-sh"
2197
- # "containerd-configure-sh"
2198
- # "enable-os-login"
2199
- # "gci-ensure-gke-docker"
2200
- # "gci-metrics-enabled"
2201
- # "gci-update-strategy"
2202
- # "instance-template"
2203
- # "kube-env"
2204
- # "startup-script"
2205
- # "user-data"
2206
- # "disable-address-manager"
2207
- # "windows-startup-script-ps1"
2208
- # "common-psm1"
2209
- # "k8s-node-setup-psm1"
2210
- # "install-ssh-psm1"
2211
- # "user-profile-psm1"
2212
- # "serial-port-logging-enable"
2213
- # Values are free-form strings, and only have meaning as interpreted by
2214
- # the image running in the instance. The only restriction placed on them is
2215
- # that each value's size must be less than or equal to 32 KB.
2216
- # The total size of all keys and values must be less than 512 KB.
2179
+ # The metadata key/value pairs assigned to instances in the cluster. Keys must
2180
+ # conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length.
2181
+ # These are reflected as part of a URL in the metadata server. Additionally, to
2182
+ # avoid ambiguity, keys must not conflict with any other metadata keys for the
2183
+ # project or be one of the reserved keys: - "cluster-location" - "cluster-name" -
2184
+ # "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login"
2185
+ # - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
2186
+ # instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
2187
+ # address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
2188
+ # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" - "serial-port-logging-
2189
+ # enable" Values are free-form strings, and only have meaning as interpreted by
2190
+ # the image running in the instance. The only restriction placed on them is that
2191
+ # each value's size must be less than or equal to 32 KB. The total size of all
2192
+ # keys and values must be less than 512 KB.
2217
2193
  # Corresponds to the JSON property `metadata`
2218
2194
  # @return [Hash<String,String>]
2219
2195
  attr_accessor :metadata
2220
2196
 
2221
2197
  # Minimum CPU platform to be used by this instance. The instance may be
2222
2198
  # scheduled on the specified or newer CPU platform. Applicable values are the
2223
- # friendly names of CPU platforms, such as
2224
- # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
2225
- # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
2226
- # information, read [how to specify min CPU
2227
- # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
2228
- # platform)
2199
+ # friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
2200
+ # minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
2201
+ # specify min CPU platform](https://cloud.google.com/compute/docs/instances/
2202
+ # specify-min-cpu-platform)
2229
2203
  # Corresponds to the JSON property `minCpuPlatform`
2230
2204
  # @return [String]
2231
2205
  attr_accessor :min_cpu_platform
2232
2206
 
2233
- # The set of Google API scopes to be made available on all of the
2234
- # node VMs under the "default" service account.
2235
- # The following scopes are recommended, but not required, and by default are
2236
- # not included:
2237
- # * `https://www.googleapis.com/auth/compute` is required for mounting
2238
- # persistent storage on your nodes.
2239
- # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
2240
- # communicating with **gcr.io**
2241
- # (the [Google Container
2242
- # Registry](https://cloud.google.com/container-registry/)).
2243
- # If unspecified, no scopes are added, unless Cloud Logging or Cloud
2244
- # Monitoring are enabled, in which case their required scopes will be added.
2207
+ # Setting this field will assign instances of this pool to run on the specified
2208
+ # node group. This is useful for running workloads on [sole tenant nodes](https:/
2209
+ # /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
2210
+ # Corresponds to the JSON property `nodeGroup`
2211
+ # @return [String]
2212
+ attr_accessor :node_group
2213
+
2214
+ # The set of Google API scopes to be made available on all of the node VMs under
2215
+ # the "default" service account. The following scopes are recommended, but not
2216
+ # required, and by default are not included: * `https://www.googleapis.com/auth/
2217
+ # compute` is required for mounting persistent storage on your nodes. * `https://
2218
+ # www.googleapis.com/auth/devstorage.read_only` is required for communicating
2219
+ # with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
2220
+ # container-registry/)). If unspecified, no scopes are added, unless Cloud
2221
+ # Logging or Cloud Monitoring are enabled, in which case their required scopes
2222
+ # will be added.
2245
2223
  # Corresponds to the JSON property `oauthScopes`
2246
2224
  # @return [Array<String>]
2247
2225
  attr_accessor :oauth_scopes
2248
2226
 
2249
- # Whether the nodes are created as preemptible VM instances. See:
2250
- # https://cloud.google.com/compute/docs/instances/preemptible for more
2251
- # information about preemptible VM instances.
2227
+ # Whether the nodes are created as preemptible VM instances. See: https://cloud.
2228
+ # google.com/compute/docs/instances/preemptible for more information about
2229
+ # preemptible VM instances.
2252
2230
  # Corresponds to the JSON property `preemptible`
2253
2231
  # @return [Boolean]
2254
2232
  attr_accessor :preemptible
2255
2233
  alias_method :preemptible?, :preemptible
2256
2234
 
2257
2235
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
2258
- # reserving-zonal-resources)
2259
- # is the configuration of desired reservation which instances could take
2260
- # capacity from.
2236
+ # reserving-zonal-resources) is the configuration of desired reservation which
2237
+ # instances could take capacity from.
2261
2238
  # Corresponds to the JSON property `reservationAffinity`
2262
2239
  # @return [Google::Apis::ContainerV1::ReservationAffinity]
2263
2240
  attr_accessor :reservation_affinity
@@ -2267,9 +2244,9 @@ module Google
2267
2244
  # @return [Google::Apis::ContainerV1::SandboxConfig]
2268
2245
  attr_accessor :sandbox_config
2269
2246
 
2270
- # The Google Cloud Platform Service Account to be used by the node VMs.
2271
- # Specify the email address of the Service Account; otherwise, if no Service
2272
- # Account is specified, the "default" service account is used.
2247
+ # The Google Cloud Platform Service Account to be used by the node VMs. Specify
2248
+ # the email address of the Service Account; otherwise, if no Service Account is
2249
+ # specified, the "default" service account is used.
2273
2250
  # Corresponds to the JSON property `serviceAccount`
2274
2251
  # @return [String]
2275
2252
  attr_accessor :service_account
@@ -2280,16 +2257,16 @@ module Google
2280
2257
  attr_accessor :shielded_instance_config
2281
2258
 
2282
2259
  # The list of instance tags applied to all nodes. Tags are used to identify
2283
- # valid sources or targets for network firewalls and are specified by
2284
- # the client during cluster or node pool creation. Each tag within the list
2285
- # must comply with RFC1035.
2260
+ # valid sources or targets for network firewalls and are specified by the client
2261
+ # during cluster or node pool creation. Each tag within the list must comply
2262
+ # with RFC1035.
2286
2263
  # Corresponds to the JSON property `tags`
2287
2264
  # @return [Array<String>]
2288
2265
  attr_accessor :tags
2289
2266
 
2290
- # List of kubernetes taints to be applied to each node.
2291
- # For more information, including usage and the valid values, see:
2292
- # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2267
+ # List of kubernetes taints to be applied to each node. For more information,
2268
+ # including usage and the valid values, see: https://kubernetes.io/docs/concepts/
2269
+ # configuration/taint-and-toleration/
2293
2270
  # Corresponds to the JSON property `taints`
2294
2271
  # @return [Array<Google::Apis::ContainerV1::NodeTaint>]
2295
2272
  attr_accessor :taints
@@ -2316,6 +2293,7 @@ module Google
2316
2293
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2317
2294
  @metadata = args[:metadata] if args.key?(:metadata)
2318
2295
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
2296
+ @node_group = args[:node_group] if args.key?(:node_group)
2319
2297
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
2320
2298
  @preemptible = args[:preemptible] if args.key?(:preemptible)
2321
2299
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
@@ -2334,24 +2312,24 @@ module Google
2334
2312
  include Google::Apis::Core::Hashable
2335
2313
 
2336
2314
  # A flag that specifies whether the node auto-repair is enabled for the node
2337
- # pool. If enabled, the nodes in this node pool will be monitored and, if
2338
- # they fail health checks too many times, an automatic repair action will be
2315
+ # pool. If enabled, the nodes in this node pool will be monitored and, if they
2316
+ # fail health checks too many times, an automatic repair action will be
2339
2317
  # triggered.
2340
2318
  # Corresponds to the JSON property `autoRepair`
2341
2319
  # @return [Boolean]
2342
2320
  attr_accessor :auto_repair
2343
2321
  alias_method :auto_repair?, :auto_repair
2344
2322
 
2345
- # A flag that specifies whether node auto-upgrade is enabled for the node
2346
- # pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
2347
- # up to date with the latest release version of Kubernetes.
2323
+ # A flag that specifies whether node auto-upgrade is enabled for the node pool.
2324
+ # If enabled, node auto-upgrade helps keep the nodes in your node pool up to
2325
+ # date with the latest release version of Kubernetes.
2348
2326
  # Corresponds to the JSON property `autoUpgrade`
2349
2327
  # @return [Boolean]
2350
2328
  attr_accessor :auto_upgrade
2351
2329
  alias_method :auto_upgrade?, :auto_upgrade
2352
2330
 
2353
- # AutoUpgradeOptions defines the set of options for the user to control how
2354
- # the Auto Upgrades will proceed.
2331
+ # AutoUpgradeOptions defines the set of options for the user to control how the
2332
+ # Auto Upgrades will proceed.
2355
2333
  # Corresponds to the JSON property `upgradeOptions`
2356
2334
  # @return [Google::Apis::ContainerV1::AutoUpgradeOptions]
2357
2335
  attr_accessor :upgrade_options
@@ -2368,12 +2346,12 @@ module Google
2368
2346
  end
2369
2347
  end
2370
2348
 
2371
- # NodePool contains the name and configuration for a cluster's node pool.
2372
- # Node pools are a set of nodes (i.e. VM's), with a common configuration and
2373
- # specification, under the control of the cluster master. They may have a set
2374
- # of Kubernetes labels applied to them, which may be used to reference them
2375
- # during pod scheduling. They may also be resized up or down, to accommodate
2376
- # the workload.
2349
+ # NodePool contains the name and configuration for a cluster's node pool. Node
2350
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
2351
+ # specification, under the control of the cluster master. They may have a set of
2352
+ # Kubernetes labels applied to them, which may be used to reference them during
2353
+ # pod scheduling. They may also be resized up or down, to accommodate the
2354
+ # workload.
2377
2355
  class NodePool
2378
2356
  include Google::Apis::Core::Hashable
2379
2357
 
@@ -2393,25 +2371,23 @@ module Google
2393
2371
  # @return [Google::Apis::ContainerV1::NodeConfig]
2394
2372
  attr_accessor :config
2395
2373
 
2396
- # The initial node count for the pool. You must ensure that your
2397
- # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
2398
- # is sufficient for this number of instances. You must also have available
2399
- # firewall and routes quota.
2374
+ # The initial node count for the pool. You must ensure that your Compute Engine [
2375
+ # resource quota](https://cloud.google.com/compute/quotas) is sufficient for
2376
+ # this number of instances. You must also have available firewall and routes
2377
+ # quota.
2400
2378
  # Corresponds to the JSON property `initialNodeCount`
2401
2379
  # @return [Fixnum]
2402
2380
  attr_accessor :initial_node_count
2403
2381
 
2404
- # [Output only] The resource URLs of the [managed instance
2405
- # groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-
2406
- # of-managed-instances)
2382
+ # [Output only] The resource URLs of the [managed instance groups](https://cloud.
2383
+ # google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
2407
2384
  # associated with this node pool.
2408
2385
  # Corresponds to the JSON property `instanceGroupUrls`
2409
2386
  # @return [Array<String>]
2410
2387
  attr_accessor :instance_group_urls
2411
2388
 
2412
- # The list of Google Compute Engine
2413
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
2414
- # NodePool's nodes should be located.
2389
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
2390
+ # docs/zones#available) in which the NodePool's nodes should be located.
2415
2391
  # Corresponds to the JSON property `locations`
2416
2392
  # @return [Array<String>]
2417
2393
  attr_accessor :locations
@@ -2447,30 +2423,26 @@ module Google
2447
2423
  # @return [String]
2448
2424
  attr_accessor :status
2449
2425
 
2450
- # [Output only] Additional information about the current status of this
2451
- # node pool instance, if available.
2426
+ # [Output only] Additional information about the current status of this node
2427
+ # pool instance, if available.
2452
2428
  # Corresponds to the JSON property `statusMessage`
2453
2429
  # @return [String]
2454
2430
  attr_accessor :status_message
2455
2431
 
2456
2432
  # These upgrade settings control the level of parallelism and the level of
2457
- # disruption caused by an upgrade.
2458
- # maxUnavailable controls the number of nodes that can be simultaneously
2459
- # unavailable.
2460
- # maxSurge controls the number of additional nodes that can be added to the
2461
- # node pool temporarily for the time of the upgrade to increase the number of
2462
- # available nodes.
2463
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
2464
- # nodes are being upgraded at the same time).
2465
- # Note: upgrades inevitably introduce some disruption since workloads need to
2466
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
2467
- # this holds true. (Disruption stays within the limits of
2468
- # PodDisruptionBudget, if it is configured.)
2469
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
2470
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
2471
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
2472
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
2473
- # there are always at least 4 nodes available.
2433
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
2434
+ # that can be simultaneously unavailable. maxSurge controls the number of
2435
+ # additional nodes that can be added to the node pool temporarily for the time
2436
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
2437
+ # maxSurge) determines the level of parallelism (how many nodes are being
2438
+ # upgraded at the same time). Note: upgrades inevitably introduce some
2439
+ # disruption since workloads need to be moved from old nodes to new, upgraded
2440
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
2441
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
2442
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
2443
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
2444
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
2445
+ # same time. This ensures that there are always at least 4 nodes available.
2474
2446
  # Corresponds to the JSON property `upgradeSettings`
2475
2447
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
2476
2448
  attr_accessor :upgrade_settings
@@ -2521,14 +2493,13 @@ module Google
2521
2493
  attr_accessor :enabled
2522
2494
  alias_method :enabled?, :enabled
2523
2495
 
2524
- # Maximum number of nodes in the NodePool. Must be >= min_node_count. There
2525
- # has to enough quota to scale up the cluster.
2496
+ # Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
2497
+ # to enough quota to scale up the cluster.
2526
2498
  # Corresponds to the JSON property `maxNodeCount`
2527
2499
  # @return [Fixnum]
2528
2500
  attr_accessor :max_node_count
2529
2501
 
2530
- # Minimum number of nodes in the NodePool. Must be >= 1 and <=
2531
- # max_node_count.
2502
+ # Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
2532
2503
  # Corresponds to the JSON property `minNodeCount`
2533
2504
  # @return [Fixnum]
2534
2505
  attr_accessor :min_node_count
@@ -2547,8 +2518,7 @@ module Google
2547
2518
  end
2548
2519
 
2549
2520
  # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
2550
- # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
2551
- # See
2521
+ # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
2552
2522
  # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
2553
2523
  # for more information, including usage and the valid values.
2554
2524
  class NodeTaint
@@ -2596,18 +2566,15 @@ module Google
2596
2566
  # @return [String]
2597
2567
  attr_accessor :detail
2598
2568
 
2599
- # [Output only] The time the operation completed, in
2600
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2569
+ # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.
2570
+ # org/rfc/rfc3339.txt) text format.
2601
2571
  # Corresponds to the JSON property `endTime`
2602
2572
  # @return [String]
2603
2573
  attr_accessor :end_time
2604
2574
 
2605
- # [Output only] The name of the Google Compute Engine
2606
- # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
2607
- # available)
2608
- # or
2609
- # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
2610
- # available)
2575
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
2576
+ # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
2577
+ # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
2611
2578
  # in which the cluster resides.
2612
2579
  # Corresponds to the JSON property `location`
2613
2580
  # @return [String]
@@ -2638,8 +2605,8 @@ module Google
2638
2605
  # @return [String]
2639
2606
  attr_accessor :self_link
2640
2607
 
2641
- # [Output only] The time the operation started, in
2642
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2608
+ # [Output only] The time the operation started, in [RFC3339](https://www.ietf.
2609
+ # org/rfc/rfc3339.txt) text format.
2643
2610
  # Corresponds to the JSON property `startTime`
2644
2611
  # @return [String]
2645
2612
  attr_accessor :start_time
@@ -2659,9 +2626,9 @@ module Google
2659
2626
  # @return [String]
2660
2627
  attr_accessor :target_link
2661
2628
 
2662
- # The name of the Google Compute Engine
2663
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2664
- # operation is taking place. This field is deprecated, use location instead.
2629
+ # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/
2630
+ # docs/zones#available) in which the operation is taking place. This field is
2631
+ # deprecated, use location instead.
2665
2632
  # Corresponds to the JSON property `zone`
2666
2633
  # @return [String]
2667
2634
  attr_accessor :zone
@@ -2693,18 +2660,15 @@ module Google
2693
2660
  class OperationProgress
2694
2661
  include Google::Apis::Core::Hashable
2695
2662
 
2696
- # Progress metric bundle, for example:
2697
- # metrics: [`name: "nodes done", int_value: 15`,
2698
- # `name: "nodes total", int_value: 32`]
2699
- # or
2700
- # metrics: [`name: "progress", double_value: 0.56`,
2701
- # `name: "progress scale", double_value: 1.0`]
2663
+ # Progress metric bundle, for example: metrics: [`name: "nodes done", int_value:
2664
+ # 15`, `name: "nodes total", int_value: 32`] or metrics: [`name: "progress",
2665
+ # double_value: 0.56`, `name: "progress scale", double_value: 1.0`]
2702
2666
  # Corresponds to the JSON property `metrics`
2703
2667
  # @return [Array<Google::Apis::ContainerV1::Metric>]
2704
2668
  attr_accessor :metrics
2705
2669
 
2706
- # A non-parameterized string describing an operation stage.
2707
- # Unset for single-stage operations.
2670
+ # A non-parameterized string describing an operation stage. Unset for single-
2671
+ # stage operations.
2708
2672
  # Corresponds to the JSON property `name`
2709
2673
  # @return [String]
2710
2674
  attr_accessor :name
@@ -2714,8 +2678,7 @@ module Google
2714
2678
  # @return [Array<Google::Apis::ContainerV1::OperationProgress>]
2715
2679
  attr_accessor :stages
2716
2680
 
2717
- # Status of an operation stage.
2718
- # Unset for single-stage operations.
2681
+ # Status of an operation stage. Unset for single-stage operations.
2719
2682
  # Corresponds to the JSON property `status`
2720
2683
  # @return [String]
2721
2684
  attr_accessor :status
@@ -2743,18 +2706,23 @@ module Google
2743
2706
  attr_accessor :enable_private_endpoint
2744
2707
  alias_method :enable_private_endpoint?, :enable_private_endpoint
2745
2708
 
2746
- # Whether nodes have internal IP addresses only. If enabled, all nodes are
2747
- # given only RFC 1918 private addresses and communicate with the master via
2748
- # private networking.
2709
+ # Whether nodes have internal IP addresses only. If enabled, all nodes are given
2710
+ # only RFC 1918 private addresses and communicate with the master via private
2711
+ # networking.
2749
2712
  # Corresponds to the JSON property `enablePrivateNodes`
2750
2713
  # @return [Boolean]
2751
2714
  attr_accessor :enable_private_nodes
2752
2715
  alias_method :enable_private_nodes?, :enable_private_nodes
2753
2716
 
2754
- # The IP range in CIDR notation to use for the hosted master network. This
2755
- # range will be used for assigning internal IP addresses to the master or
2756
- # set of masters, as well as the ILB VIP. This range must not overlap with
2757
- # any other ranges in use within the cluster's network.
2717
+ # Configuration for controlling master global access settings.
2718
+ # Corresponds to the JSON property `masterGlobalAccessConfig`
2719
+ # @return [Google::Apis::ContainerV1::PrivateClusterMasterGlobalAccessConfig]
2720
+ attr_accessor :master_global_access_config
2721
+
2722
+ # The IP range in CIDR notation to use for the hosted master network. This range
2723
+ # will be used for assigning internal IP addresses to the master or set of
2724
+ # masters, as well as the ILB VIP. This range must not overlap with any other
2725
+ # ranges in use within the cluster's network.
2758
2726
  # Corresponds to the JSON property `masterIpv4CidrBlock`
2759
2727
  # @return [String]
2760
2728
  attr_accessor :master_ipv4_cidr_block
@@ -2782,6 +2750,7 @@ module Google
2782
2750
  def update!(**args)
2783
2751
  @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
2784
2752
  @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
2753
+ @master_global_access_config = args[:master_global_access_config] if args.key?(:master_global_access_config)
2785
2754
  @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
2786
2755
  @peering_name = args[:peering_name] if args.key?(:peering_name)
2787
2756
  @private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
@@ -2789,36 +2758,45 @@ module Google
2789
2758
  end
2790
2759
  end
2791
2760
 
2761
+ # Configuration for controlling master global access settings.
2762
+ class PrivateClusterMasterGlobalAccessConfig
2763
+ include Google::Apis::Core::Hashable
2764
+
2765
+ # Whenever master is accessible globally or not.
2766
+ # Corresponds to the JSON property `enabled`
2767
+ # @return [Boolean]
2768
+ attr_accessor :enabled
2769
+ alias_method :enabled?, :enabled
2770
+
2771
+ def initialize(**args)
2772
+ update!(**args)
2773
+ end
2774
+
2775
+ # Update properties of this object
2776
+ def update!(**args)
2777
+ @enabled = args[:enabled] if args.key?(:enabled)
2778
+ end
2779
+ end
2780
+
2792
2781
  # Represents an arbitrary window of time that recurs.
2793
2782
  class RecurringTimeWindow
2794
2783
  include Google::Apis::Core::Hashable
2795
2784
 
2796
- # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
2797
- # this window reccurs. They go on for the span of time between the start and
2798
- # end time.
2799
- # For example, to have something repeat every weekday, you'd use:
2800
- # <code>FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR</code>
2801
- # To repeat some window daily (equivalent to the DailyMaintenanceWindow):
2802
- # <code>FREQ=DAILY</code>
2803
- # For the first weekend of every month:
2804
- # <code>FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU</code>
2805
- # This specifies how frequently the window starts. Eg, if you wanted to have
2806
- # a 9-5 UTC-4 window every weekday, you'd use something like:
2807
- # <code>
2808
- # start time = 2019-01-01T09:00:00-0400
2809
- # end time = 2019-01-01T17:00:00-0400
2810
- # recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
2811
- # </code>
2812
- # Windows can span multiple days. Eg, to make the window encompass every
2813
- # weekend from midnight Saturday till the last minute of Sunday UTC:
2814
- # <code>
2815
- # start time = 2019-01-05T00:00:00Z
2816
- # end time = 2019-01-07T23:59:00Z
2817
- # recurrence = FREQ=WEEKLY;BYDAY=SA
2818
- # </code>
2819
- # Note the start and end time's specific dates are largely arbitrary except
2820
- # to specify duration of the window and when it first starts.
2821
- # The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
2785
+ # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this
2786
+ # window reccurs. They go on for the span of time between the start and end time.
2787
+ # For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;
2788
+ # BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the
2789
+ # DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `
2790
+ # FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window
2791
+ # starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use
2792
+ # something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-
2793
+ # 01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can
2794
+ # span multiple days. Eg, to make the window encompass every weekend from
2795
+ # midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-
2796
+ # 05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA
2797
+ # ``` Note the start and end time's specific dates are largely arbitrary except
2798
+ # to specify duration of the window and when it first starts. The FREQ values of
2799
+ # HOURLY, MINUTELY, and SECONDLY are not supported.
2822
2800
  # Corresponds to the JSON property `recurrence`
2823
2801
  # @return [String]
2824
2802
  attr_accessor :recurrence
@@ -2839,11 +2817,10 @@ module Google
2839
2817
  end
2840
2818
  end
2841
2819
 
2842
- # ReleaseChannel indicates which release channel a cluster is
2843
- # subscribed to. Release channels are arranged in order of risk.
2844
- # When a cluster is subscribed to a release channel, Google maintains
2845
- # both the master version and the node version. Node auto-upgrade
2846
- # defaults to true and cannot be disabled.
2820
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
2821
+ # Release channels are arranged in order of risk. When a cluster is subscribed
2822
+ # to a release channel, Google maintains both the master version and the node
2823
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
2847
2824
  class ReleaseChannel
2848
2825
  include Google::Apis::Core::Hashable
2849
2826
 
@@ -2894,9 +2871,8 @@ module Google
2894
2871
  end
2895
2872
 
2896
2873
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
2897
- # reserving-zonal-resources)
2898
- # is the configuration of desired reservation which instances could take
2899
- # capacity from.
2874
+ # reserving-zonal-resources) is the configuration of desired reservation which
2875
+ # instances could take capacity from.
2900
2876
  class ReservationAffinity
2901
2877
  include Google::Apis::Core::Hashable
2902
2878
 
@@ -2906,8 +2882,8 @@ module Google
2906
2882
  attr_accessor :consume_reservation_type
2907
2883
 
2908
2884
  # Corresponds to the label key of a reservation resource. To target a
2909
- # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
2910
- # the key and specify the name of your reservation as its value.
2885
+ # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
2886
+ # key and specify the name of your reservation as its value.
2911
2887
  # Corresponds to the JSON property `key`
2912
2888
  # @return [String]
2913
2889
  attr_accessor :key
@@ -2929,8 +2905,8 @@ module Google
2929
2905
  end
2930
2906
  end
2931
2907
 
2932
- # Contains information about amount of some resource in the cluster.
2933
- # For memory, value should be in GB.
2908
+ # Contains information about amount of some resource in the cluster. For memory,
2909
+ # value should be in GB.
2934
2910
  class ResourceLimit
2935
2911
  include Google::Apis::Core::Hashable
2936
2912
 
@@ -3000,36 +2976,35 @@ module Google
3000
2976
  class RollbackNodePoolUpgradeRequest
3001
2977
  include Google::Apis::Core::Hashable
3002
2978
 
3003
- # Deprecated. The name of the cluster to rollback.
3004
- # This field has been deprecated and replaced by the name field.
2979
+ # Deprecated. The name of the cluster to rollback. This field has been
2980
+ # deprecated and replaced by the name field.
3005
2981
  # Corresponds to the JSON property `clusterId`
3006
2982
  # @return [String]
3007
2983
  attr_accessor :cluster_id
3008
2984
 
3009
2985
  # The name (project, location, cluster, node pool id) of the node poll to
3010
- # rollback upgrade.
3011
- # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
2986
+ # rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/
2987
+ # nodePools/*`.
3012
2988
  # Corresponds to the JSON property `name`
3013
2989
  # @return [String]
3014
2990
  attr_accessor :name
3015
2991
 
3016
- # Deprecated. The name of the node pool to rollback.
3017
- # This field has been deprecated and replaced by the name field.
2992
+ # Deprecated. The name of the node pool to rollback. This field has been
2993
+ # deprecated and replaced by the name field.
3018
2994
  # Corresponds to the JSON property `nodePoolId`
3019
2995
  # @return [String]
3020
2996
  attr_accessor :node_pool_id
3021
2997
 
3022
- # Deprecated. The Google Developers Console [project ID or project
3023
- # number](https://support.google.com/cloud/answer/6158840).
3024
- # This field has been deprecated and replaced by the name field.
2998
+ # Deprecated. The Google Developers Console [project ID or project number](https:
2999
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3000
+ # replaced by the name field.
3025
3001
  # Corresponds to the JSON property `projectId`
3026
3002
  # @return [String]
3027
3003
  attr_accessor :project_id
3028
3004
 
3029
- # Deprecated. The name of the Google Compute Engine
3030
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3031
- # cluster resides. This field has been deprecated and replaced by the name
3032
- # field.
3005
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3006
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3007
+ # been deprecated and replaced by the name field.
3033
3008
  # Corresponds to the JSON property `zone`
3034
3009
  # @return [String]
3035
3010
  attr_accessor :zone
@@ -3120,35 +3095,34 @@ module Google
3120
3095
  class SetAddonsConfigRequest
3121
3096
  include Google::Apis::Core::Hashable
3122
3097
 
3123
- # Configuration for the addons that can be automatically spun up in the
3124
- # cluster, enabling additional functionality.
3098
+ # Configuration for the addons that can be automatically spun up in the cluster,
3099
+ # enabling additional functionality.
3125
3100
  # Corresponds to the JSON property `addonsConfig`
3126
3101
  # @return [Google::Apis::ContainerV1::AddonsConfig]
3127
3102
  attr_accessor :addons_config
3128
3103
 
3129
- # Deprecated. The name of the cluster to upgrade.
3130
- # This field has been deprecated and replaced by the name field.
3104
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3105
+ # and replaced by the name field.
3131
3106
  # Corresponds to the JSON property `clusterId`
3132
3107
  # @return [String]
3133
3108
  attr_accessor :cluster_id
3134
3109
 
3135
- # The name (project, location, cluster) of the cluster to set addons.
3136
- # Specified in the format `projects/*/locations/*/clusters/*`.
3110
+ # The name (project, location, cluster) of the cluster to set addons. Specified
3111
+ # in the format `projects/*/locations/*/clusters/*`.
3137
3112
  # Corresponds to the JSON property `name`
3138
3113
  # @return [String]
3139
3114
  attr_accessor :name
3140
3115
 
3141
- # Deprecated. The Google Developers Console [project ID or project
3142
- # number](https://support.google.com/cloud/answer/6158840).
3143
- # This field has been deprecated and replaced by the name field.
3116
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3117
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3118
+ # replaced by the name field.
3144
3119
  # Corresponds to the JSON property `projectId`
3145
3120
  # @return [String]
3146
3121
  attr_accessor :project_id
3147
3122
 
3148
- # Deprecated. The name of the Google Compute Engine
3149
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3150
- # cluster resides. This field has been deprecated and replaced by the name
3151
- # field.
3123
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3124
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3125
+ # been deprecated and replaced by the name field.
3152
3126
  # Corresponds to the JSON property `zone`
3153
3127
  # @return [String]
3154
3128
  attr_accessor :zone
@@ -3173,18 +3147,17 @@ module Google
3173
3147
  class SetLabelsRequest
3174
3148
  include Google::Apis::Core::Hashable
3175
3149
 
3176
- # Deprecated. The name of the cluster.
3177
- # This field has been deprecated and replaced by the name field.
3150
+ # Deprecated. The name of the cluster. This field has been deprecated and
3151
+ # replaced by the name field.
3178
3152
  # Corresponds to the JSON property `clusterId`
3179
3153
  # @return [String]
3180
3154
  attr_accessor :cluster_id
3181
3155
 
3182
3156
  # Required. The fingerprint of the previous set of labels for this resource,
3183
- # used to detect conflicts. The fingerprint is initially generated by
3184
- # Kubernetes Engine and changes after every request to modify or update
3185
- # labels. You must always provide an up-to-date fingerprint hash when
3186
- # updating or changing labels. Make a <code>get()</code> request to the
3187
- # resource to get the latest fingerprint.
3157
+ # used to detect conflicts. The fingerprint is initially generated by Kubernetes
3158
+ # Engine and changes after every request to modify or update labels. You must
3159
+ # always provide an up-to-date fingerprint hash when updating or changing labels.
3160
+ # Make a `get()` request to the resource to get the latest fingerprint.
3188
3161
  # Corresponds to the JSON property `labelFingerprint`
3189
3162
  # @return [String]
3190
3163
  attr_accessor :label_fingerprint
@@ -3195,9 +3168,9 @@ module Google
3195
3168
  # @return [String]
3196
3169
  attr_accessor :name
3197
3170
 
3198
- # Deprecated. The Google Developers Console [project ID or project
3199
- # number](https://developers.google.com/console/help/new/#projectnumber).
3200
- # This field has been deprecated and replaced by the name field.
3171
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3172
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3173
+ # deprecated and replaced by the name field.
3201
3174
  # Corresponds to the JSON property `projectId`
3202
3175
  # @return [String]
3203
3176
  attr_accessor :project_id
@@ -3207,10 +3180,9 @@ module Google
3207
3180
  # @return [Hash<String,String>]
3208
3181
  attr_accessor :resource_labels
3209
3182
 
3210
- # Deprecated. The name of the Google Compute Engine
3211
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3212
- # cluster resides. This field has been deprecated and replaced by the name
3213
- # field.
3183
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3184
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3185
+ # been deprecated and replaced by the name field.
3214
3186
  # Corresponds to the JSON property `zone`
3215
3187
  # @return [String]
3216
3188
  attr_accessor :zone
@@ -3235,8 +3207,8 @@ module Google
3235
3207
  class SetLegacyAbacRequest
3236
3208
  include Google::Apis::Core::Hashable
3237
3209
 
3238
- # Deprecated. The name of the cluster to update.
3239
- # This field has been deprecated and replaced by the name field.
3210
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3211
+ # and replaced by the name field.
3240
3212
  # Corresponds to the JSON property `clusterId`
3241
3213
  # @return [String]
3242
3214
  attr_accessor :cluster_id
@@ -3253,17 +3225,16 @@ module Google
3253
3225
  # @return [String]
3254
3226
  attr_accessor :name
3255
3227
 
3256
- # Deprecated. The Google Developers Console [project ID or project
3257
- # number](https://support.google.com/cloud/answer/6158840).
3258
- # This field has been deprecated and replaced by the name field.
3228
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3229
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3230
+ # replaced by the name field.
3259
3231
  # Corresponds to the JSON property `projectId`
3260
3232
  # @return [String]
3261
3233
  attr_accessor :project_id
3262
3234
 
3263
- # Deprecated. The name of the Google Compute Engine
3264
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3265
- # cluster resides. This field has been deprecated and replaced by the name
3266
- # field.
3235
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3236
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3237
+ # been deprecated and replaced by the name field.
3267
3238
  # Corresponds to the JSON property `zone`
3268
3239
  # @return [String]
3269
3240
  attr_accessor :zone
@@ -3286,18 +3257,18 @@ module Google
3286
3257
  class SetLocationsRequest
3287
3258
  include Google::Apis::Core::Hashable
3288
3259
 
3289
- # Deprecated. The name of the cluster to upgrade.
3290
- # This field has been deprecated and replaced by the name field.
3260
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3261
+ # and replaced by the name field.
3291
3262
  # Corresponds to the JSON property `clusterId`
3292
3263
  # @return [String]
3293
3264
  attr_accessor :cluster_id
3294
3265
 
3295
- # Required. The desired list of Google Compute Engine
3296
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
3297
- # cluster's nodes should be located. Changing the locations a cluster is in
3298
- # will result in nodes being either created or removed from the cluster,
3299
- # depending on whether locations are being added or removed.
3300
- # This list must always include the cluster's primary zone.
3266
+ # Required. The desired list of Google Compute Engine [zones](https://cloud.
3267
+ # google.com/compute/docs/zones#available) in which the cluster's nodes should
3268
+ # be located. Changing the locations a cluster is in will result in nodes being
3269
+ # either created or removed from the cluster, depending on whether locations are
3270
+ # being added or removed. This list must always include the cluster's primary
3271
+ # zone.
3301
3272
  # Corresponds to the JSON property `locations`
3302
3273
  # @return [Array<String>]
3303
3274
  attr_accessor :locations
@@ -3308,17 +3279,16 @@ module Google
3308
3279
  # @return [String]
3309
3280
  attr_accessor :name
3310
3281
 
3311
- # Deprecated. The Google Developers Console [project ID or project
3312
- # number](https://support.google.com/cloud/answer/6158840).
3313
- # This field has been deprecated and replaced by the name field.
3282
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3283
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3284
+ # replaced by the name field.
3314
3285
  # Corresponds to the JSON property `projectId`
3315
3286
  # @return [String]
3316
3287
  attr_accessor :project_id
3317
3288
 
3318
- # Deprecated. The name of the Google Compute Engine
3319
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3320
- # cluster resides. This field has been deprecated and replaced by the name
3321
- # field.
3289
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3290
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3291
+ # been deprecated and replaced by the name field.
3322
3292
  # Corresponds to the JSON property `zone`
3323
3293
  # @return [String]
3324
3294
  attr_accessor :zone
@@ -3341,42 +3311,39 @@ module Google
3341
3311
  class SetLoggingServiceRequest
3342
3312
  include Google::Apis::Core::Hashable
3343
3313
 
3344
- # Deprecated. The name of the cluster to upgrade.
3345
- # This field has been deprecated and replaced by the name field.
3314
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3315
+ # and replaced by the name field.
3346
3316
  # Corresponds to the JSON property `clusterId`
3347
3317
  # @return [String]
3348
3318
  attr_accessor :cluster_id
3349
3319
 
3350
- # Required. The logging service the cluster should use to write logs.
3351
- # Currently available options:
3352
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
3353
- # service with a Kubernetes-native resource model
3354
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
3355
- # available as of GKE 1.15).
3356
- # * `none` - no logs will be exported from the cluster.
3357
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
3358
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
3320
+ # Required. The logging service the cluster should use to write logs. Currently
3321
+ # available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging
3322
+ # service with a Kubernetes-native resource model * `logging.googleapis.com` -
3323
+ # The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none`
3324
+ # - no logs will be exported from the cluster. If left as an empty string,`
3325
+ # logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.
3326
+ # googleapis.com` for earlier versions.
3359
3327
  # Corresponds to the JSON property `loggingService`
3360
3328
  # @return [String]
3361
3329
  attr_accessor :logging_service
3362
3330
 
3363
- # The name (project, location, cluster) of the cluster to set logging.
3364
- # Specified in the format `projects/*/locations/*/clusters/*`.
3331
+ # The name (project, location, cluster) of the cluster to set logging. Specified
3332
+ # in the format `projects/*/locations/*/clusters/*`.
3365
3333
  # Corresponds to the JSON property `name`
3366
3334
  # @return [String]
3367
3335
  attr_accessor :name
3368
3336
 
3369
- # Deprecated. The Google Developers Console [project ID or project
3370
- # number](https://support.google.com/cloud/answer/6158840).
3371
- # 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.
3372
3340
  # Corresponds to the JSON property `projectId`
3373
3341
  # @return [String]
3374
3342
  attr_accessor :project_id
3375
3343
 
3376
- # Deprecated. The name of the Google Compute Engine
3377
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3378
- # cluster resides. This field has been deprecated and replaced by the name
3379
- # 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.
3380
3347
  # Corresponds to the JSON property `zone`
3381
3348
  # @return [String]
3382
3349
  attr_accessor :zone
@@ -3410,21 +3377,19 @@ module Google
3410
3377
  attr_accessor :maintenance_policy
3411
3378
 
3412
3379
  # The name (project, location, cluster id) of the cluster to set maintenance
3413
- # policy.
3414
- # Specified in the format `projects/*/locations/*/clusters/*`.
3380
+ # policy. Specified in the format `projects/*/locations/*/clusters/*`.
3415
3381
  # Corresponds to the JSON property `name`
3416
3382
  # @return [String]
3417
3383
  attr_accessor :name
3418
3384
 
3419
- # Required. The Google Developers Console [project ID or project
3420
- # number](https://support.google.com/cloud/answer/6158840).
3385
+ # Required. The Google Developers Console [project ID or project number](https://
3386
+ # support.google.com/cloud/answer/6158840).
3421
3387
  # Corresponds to the JSON property `projectId`
3422
3388
  # @return [String]
3423
3389
  attr_accessor :project_id
3424
3390
 
3425
- # Required. The name of the Google Compute Engine
3426
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3427
- # cluster resides.
3391
+ # Required. The name of the Google Compute Engine [zone](https://cloud.google.
3392
+ # com/compute/docs/zones#available) in which the cluster resides.
3428
3393
  # Corresponds to the JSON property `zone`
3429
3394
  # @return [String]
3430
3395
  attr_accessor :zone
@@ -3452,36 +3417,34 @@ module Google
3452
3417
  # @return [String]
3453
3418
  attr_accessor :action
3454
3419
 
3455
- # Deprecated. The name of the cluster to upgrade.
3456
- # This field has been deprecated and replaced by the name field.
3420
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3421
+ # and replaced by the name field.
3457
3422
  # Corresponds to the JSON property `clusterId`
3458
3423
  # @return [String]
3459
3424
  attr_accessor :cluster_id
3460
3425
 
3461
- # The name (project, location, cluster) of the cluster to set auth.
3462
- # Specified in the format `projects/*/locations/*/clusters/*`.
3426
+ # The name (project, location, cluster) of the cluster to set auth. Specified in
3427
+ # the format `projects/*/locations/*/clusters/*`.
3463
3428
  # Corresponds to the JSON property `name`
3464
3429
  # @return [String]
3465
3430
  attr_accessor :name
3466
3431
 
3467
- # Deprecated. The Google Developers Console [project ID or project
3468
- # number](https://support.google.com/cloud/answer/6158840).
3469
- # This field has been deprecated and replaced by the name field.
3432
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3433
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3434
+ # replaced by the name field.
3470
3435
  # Corresponds to the JSON property `projectId`
3471
3436
  # @return [String]
3472
3437
  attr_accessor :project_id
3473
3438
 
3474
3439
  # The authentication information for accessing the master endpoint.
3475
- # Authentication can be done using HTTP basic auth or using client
3476
- # certificates.
3440
+ # Authentication can be done using HTTP basic auth or using client certificates.
3477
3441
  # Corresponds to the JSON property `update`
3478
3442
  # @return [Google::Apis::ContainerV1::MasterAuth]
3479
3443
  attr_accessor :update
3480
3444
 
3481
- # Deprecated. The name of the Google Compute Engine
3482
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3483
- # cluster resides. This field has been deprecated and replaced by the name
3484
- # field.
3445
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3446
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3447
+ # been deprecated and replaced by the name field.
3485
3448
  # Corresponds to the JSON property `zone`
3486
3449
  # @return [String]
3487
3450
  attr_accessor :zone
@@ -3505,21 +3468,19 @@ module Google
3505
3468
  class SetMonitoringServiceRequest
3506
3469
  include Google::Apis::Core::Hashable
3507
3470
 
3508
- # Deprecated. The name of the cluster to upgrade.
3509
- # This field has been deprecated and replaced by the name field.
3471
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3472
+ # and replaced by the name field.
3510
3473
  # Corresponds to the JSON property `clusterId`
3511
3474
  # @return [String]
3512
3475
  attr_accessor :cluster_id
3513
3476
 
3514
3477
  # Required. The monitoring service the cluster should use to write metrics.
3515
- # Currently available options:
3516
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
3517
- # service with a Kubernetes-native resource model
3518
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
3519
- # longer available as of GKE 1.15).
3520
- # * `none` - No metrics will be exported from the cluster.
3521
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
3522
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
3478
+ # Currently available options: * "monitoring.googleapis.com/kubernetes" - The
3479
+ # Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.
3480
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
3481
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
3482
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
3483
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
3523
3484
  # Corresponds to the JSON property `monitoringService`
3524
3485
  # @return [String]
3525
3486
  attr_accessor :monitoring_service
@@ -3530,17 +3491,16 @@ module Google
3530
3491
  # @return [String]
3531
3492
  attr_accessor :name
3532
3493
 
3533
- # Deprecated. The Google Developers Console [project ID or project
3534
- # number](https://support.google.com/cloud/answer/6158840).
3535
- # This field has been deprecated and replaced by the name field.
3494
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3495
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3496
+ # replaced by the name field.
3536
3497
  # Corresponds to the JSON property `projectId`
3537
3498
  # @return [String]
3538
3499
  attr_accessor :project_id
3539
3500
 
3540
- # Deprecated. The name of the Google Compute Engine
3541
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3542
- # cluster resides. This field has been deprecated and replaced by the name
3543
- # field.
3501
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3502
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3503
+ # been deprecated and replaced by the name field.
3544
3504
  # Corresponds to the JSON property `zone`
3545
3505
  # @return [String]
3546
3506
  attr_accessor :zone
@@ -3563,8 +3523,8 @@ module Google
3563
3523
  class SetNetworkPolicyRequest
3564
3524
  include Google::Apis::Core::Hashable
3565
3525
 
3566
- # Deprecated. The name of the cluster.
3567
- # This field has been deprecated and replaced by the name field.
3526
+ # Deprecated. The name of the cluster. This field has been deprecated and
3527
+ # replaced by the name field.
3568
3528
  # Corresponds to the JSON property `clusterId`
3569
3529
  # @return [String]
3570
3530
  attr_accessor :cluster_id
@@ -3575,23 +3535,22 @@ module Google
3575
3535
  # @return [String]
3576
3536
  attr_accessor :name
3577
3537
 
3578
- # Configuration options for the NetworkPolicy feature.
3579
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
3538
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
3539
+ # docs/concepts/services-networking/networkpolicies/
3580
3540
  # Corresponds to the JSON property `networkPolicy`
3581
3541
  # @return [Google::Apis::ContainerV1::NetworkPolicy]
3582
3542
  attr_accessor :network_policy
3583
3543
 
3584
- # Deprecated. The Google Developers Console [project ID or project
3585
- # number](https://developers.google.com/console/help/new/#projectnumber).
3586
- # This field has been deprecated and replaced by the name field.
3544
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3545
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3546
+ # deprecated and replaced by the name field.
3587
3547
  # Corresponds to the JSON property `projectId`
3588
3548
  # @return [String]
3589
3549
  attr_accessor :project_id
3590
3550
 
3591
- # Deprecated. The name of the Google Compute Engine
3592
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3593
- # cluster resides. This field has been deprecated and replaced by the name
3594
- # field.
3551
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3552
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3553
+ # been deprecated and replaced by the name field.
3595
3554
  # Corresponds to the JSON property `zone`
3596
3555
  # @return [String]
3597
3556
  attr_accessor :zone
@@ -3620,36 +3579,35 @@ module Google
3620
3579
  # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
3621
3580
  attr_accessor :autoscaling
3622
3581
 
3623
- # Deprecated. The name of the cluster to upgrade.
3624
- # This field has been deprecated and replaced by the name field.
3582
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3583
+ # and replaced by the name field.
3625
3584
  # Corresponds to the JSON property `clusterId`
3626
3585
  # @return [String]
3627
3586
  attr_accessor :cluster_id
3628
3587
 
3629
3588
  # The name (project, location, cluster, node pool) of the node pool to set
3630
- # autoscaler settings. Specified in the format
3631
- # `projects/*/locations/*/clusters/*/nodePools/*`.
3589
+ # autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*
3590
+ # /nodePools/*`.
3632
3591
  # Corresponds to the JSON property `name`
3633
3592
  # @return [String]
3634
3593
  attr_accessor :name
3635
3594
 
3636
- # Deprecated. The name of the node pool to upgrade.
3637
- # This field has been deprecated and replaced by the name field.
3595
+ # Deprecated. The name of the node pool to upgrade. This field has been
3596
+ # deprecated and replaced by the name field.
3638
3597
  # Corresponds to the JSON property `nodePoolId`
3639
3598
  # @return [String]
3640
3599
  attr_accessor :node_pool_id
3641
3600
 
3642
- # Deprecated. The Google Developers Console [project ID or project
3643
- # number](https://support.google.com/cloud/answer/6158840).
3644
- # This field has been deprecated and replaced by the name field.
3601
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3602
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3603
+ # replaced by the name field.
3645
3604
  # Corresponds to the JSON property `projectId`
3646
3605
  # @return [String]
3647
3606
  attr_accessor :project_id
3648
3607
 
3649
- # Deprecated. The name of the Google Compute Engine
3650
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3651
- # cluster resides. This field has been deprecated and replaced by the name
3652
- # field.
3608
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3609
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3610
+ # been deprecated and replaced by the name field.
3653
3611
  # Corresponds to the JSON property `zone`
3654
3612
  # @return [String]
3655
3613
  attr_accessor :zone
@@ -3674,8 +3632,8 @@ module Google
3674
3632
  class SetNodePoolManagementRequest
3675
3633
  include Google::Apis::Core::Hashable
3676
3634
 
3677
- # Deprecated. The name of the cluster to update.
3678
- # This field has been deprecated and replaced by the name field.
3635
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3636
+ # and replaced by the name field.
3679
3637
  # Corresponds to the JSON property `clusterId`
3680
3638
  # @return [String]
3681
3639
  attr_accessor :cluster_id
@@ -3687,29 +3645,28 @@ module Google
3687
3645
  attr_accessor :management
3688
3646
 
3689
3647
  # The name (project, location, cluster, node pool id) of the node pool to set
3690
- # management properties. Specified in the format
3691
- # `projects/*/locations/*/clusters/*/nodePools/*`.
3648
+ # management properties. Specified in the format `projects/*/locations/*/
3649
+ # clusters/*/nodePools/*`.
3692
3650
  # Corresponds to the JSON property `name`
3693
3651
  # @return [String]
3694
3652
  attr_accessor :name
3695
3653
 
3696
- # Deprecated. The name of the node pool to update.
3697
- # This field has been deprecated and replaced by the name field.
3654
+ # Deprecated. The name of the node pool to update. This field has been
3655
+ # deprecated and replaced by the name field.
3698
3656
  # Corresponds to the JSON property `nodePoolId`
3699
3657
  # @return [String]
3700
3658
  attr_accessor :node_pool_id
3701
3659
 
3702
- # Deprecated. The Google Developers Console [project ID or project
3703
- # number](https://support.google.com/cloud/answer/6158840).
3704
- # This field has been deprecated and replaced by the name field.
3660
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3661
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3662
+ # replaced by the name field.
3705
3663
  # Corresponds to the JSON property `projectId`
3706
3664
  # @return [String]
3707
3665
  attr_accessor :project_id
3708
3666
 
3709
- # Deprecated. The name of the Google Compute Engine
3710
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3711
- # cluster resides. This field has been deprecated and replaced by the name
3712
- # field.
3667
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3668
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3669
+ # been deprecated and replaced by the name field.
3713
3670
  # Corresponds to the JSON property `zone`
3714
3671
  # @return [String]
3715
3672
  attr_accessor :zone
@@ -3729,20 +3686,18 @@ module Google
3729
3686
  end
3730
3687
  end
3731
3688
 
3732
- # SetNodePoolSizeRequest sets the size a node
3733
- # pool.
3689
+ # SetNodePoolSizeRequest sets the size a node pool.
3734
3690
  class SetNodePoolSizeRequest
3735
3691
  include Google::Apis::Core::Hashable
3736
3692
 
3737
- # Deprecated. The name of the cluster to update.
3738
- # This field has been deprecated and replaced by the name field.
3693
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3694
+ # and replaced by the name field.
3739
3695
  # Corresponds to the JSON property `clusterId`
3740
3696
  # @return [String]
3741
3697
  attr_accessor :cluster_id
3742
3698
 
3743
3699
  # The name (project, location, cluster, node pool id) of the node pool to set
3744
- # size.
3745
- # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3700
+ # size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3746
3701
  # Corresponds to the JSON property `name`
3747
3702
  # @return [String]
3748
3703
  attr_accessor :name
@@ -3752,23 +3707,22 @@ module Google
3752
3707
  # @return [Fixnum]
3753
3708
  attr_accessor :node_count
3754
3709
 
3755
- # Deprecated. The name of the node pool to update.
3756
- # This field has been deprecated and replaced by the name field.
3710
+ # Deprecated. The name of the node pool to update. This field has been
3711
+ # deprecated and replaced by the name field.
3757
3712
  # Corresponds to the JSON property `nodePoolId`
3758
3713
  # @return [String]
3759
3714
  attr_accessor :node_pool_id
3760
3715
 
3761
- # Deprecated. The Google Developers Console [project ID or project
3762
- # number](https://support.google.com/cloud/answer/6158840).
3763
- # This field has been deprecated and replaced by the name field.
3716
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3717
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3718
+ # replaced by the name field.
3764
3719
  # Corresponds to the JSON property `projectId`
3765
3720
  # @return [String]
3766
3721
  attr_accessor :project_id
3767
3722
 
3768
- # Deprecated. The name of the Google Compute Engine
3769
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3770
- # cluster resides. This field has been deprecated and replaced by the name
3771
- # field.
3723
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3724
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3725
+ # been deprecated and replaced by the name field.
3772
3726
  # Corresponds to the JSON property `zone`
3773
3727
  # @return [String]
3774
3728
  attr_accessor :zone
@@ -3792,20 +3746,20 @@ module Google
3792
3746
  class ShieldedInstanceConfig
3793
3747
  include Google::Apis::Core::Hashable
3794
3748
 
3795
- # Defines whether the instance has integrity monitoring enabled.
3796
- # Enables monitoring and attestation of the boot integrity of the instance.
3797
- # The attestation is performed against the integrity policy baseline. This
3798
- # baseline is initially derived from the implicitly trusted boot image when
3799
- # the instance is created.
3749
+ # Defines whether the instance has integrity monitoring enabled. Enables
3750
+ # monitoring and attestation of the boot integrity of the instance. The
3751
+ # attestation is performed against the integrity policy baseline. This baseline
3752
+ # is initially derived from the implicitly trusted boot image when the instance
3753
+ # is created.
3800
3754
  # Corresponds to the JSON property `enableIntegrityMonitoring`
3801
3755
  # @return [Boolean]
3802
3756
  attr_accessor :enable_integrity_monitoring
3803
3757
  alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
3804
3758
 
3805
- # Defines whether the instance has Secure Boot enabled.
3806
- # Secure Boot helps ensure that the system only runs authentic software by
3807
- # verifying the digital signature of all boot components, and halting the
3808
- # boot process if signature verification fails.
3759
+ # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure
3760
+ # that the system only runs authentic software by verifying the digital
3761
+ # signature of all boot components, and halting the boot process if signature
3762
+ # verification fails.
3809
3763
  # Corresponds to the JSON property `enableSecureBoot`
3810
3764
  # @return [Boolean]
3811
3765
  attr_accessor :enable_secure_boot
@@ -3842,26 +3796,26 @@ module Google
3842
3796
  end
3843
3797
  end
3844
3798
 
3845
- # StartIPRotationRequest creates a new IP for the cluster and then performs
3846
- # a node upgrade on each node pool to point to the new IP.
3799
+ # StartIPRotationRequest creates a new IP for the cluster and then performs a
3800
+ # node upgrade on each node pool to point to the new IP.
3847
3801
  class StartIpRotationRequest
3848
3802
  include Google::Apis::Core::Hashable
3849
3803
 
3850
- # Deprecated. The name of the cluster.
3851
- # This field has been deprecated and replaced by the name field.
3804
+ # Deprecated. The name of the cluster. This field has been deprecated and
3805
+ # replaced by the name field.
3852
3806
  # Corresponds to the JSON property `clusterId`
3853
3807
  # @return [String]
3854
3808
  attr_accessor :cluster_id
3855
3809
 
3856
- # The name (project, location, cluster id) of the cluster to start IP
3857
- # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
3810
+ # The name (project, location, cluster id) of the cluster to start IP rotation.
3811
+ # Specified in the format `projects/*/locations/*/clusters/*`.
3858
3812
  # Corresponds to the JSON property `name`
3859
3813
  # @return [String]
3860
3814
  attr_accessor :name
3861
3815
 
3862
- # Deprecated. The Google Developers Console [project ID or project
3863
- # number](https://developers.google.com/console/help/new/#projectnumber).
3864
- # This field has been deprecated and replaced by the name field.
3816
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3817
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3818
+ # deprecated and replaced by the name field.
3865
3819
  # Corresponds to the JSON property `projectId`
3866
3820
  # @return [String]
3867
3821
  attr_accessor :project_id
@@ -3872,10 +3826,9 @@ module Google
3872
3826
  attr_accessor :rotate_credentials
3873
3827
  alias_method :rotate_credentials?, :rotate_credentials
3874
3828
 
3875
- # Deprecated. The name of the Google Compute Engine
3876
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3877
- # cluster resides. This field has been deprecated and replaced by the name
3878
- # field.
3829
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3830
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3831
+ # been deprecated and replaced by the name field.
3879
3832
  # Corresponds to the JSON property `zone`
3880
3833
  # @return [String]
3881
3834
  attr_accessor :zone
@@ -3894,8 +3847,8 @@ module Google
3894
3847
  end
3895
3848
  end
3896
3849
 
3897
- # StatusCondition describes why a cluster or a node pool has a certain status
3898
- # (e.g., ERROR or DEGRADED).
3850
+ # StatusCondition describes why a cluster or a node pool has a certain status (e.
3851
+ # g., ERROR or DEGRADED).
3899
3852
  class StatusCondition
3900
3853
  include Google::Apis::Core::Hashable
3901
3854
 
@@ -3924,8 +3877,8 @@ module Google
3924
3877
  class TimeWindow
3925
3878
  include Google::Apis::Core::Hashable
3926
3879
 
3927
- # The time that the window ends. The end time should take place after the
3928
- # start time.
3880
+ # The time that the window ends. The end time should take place after the start
3881
+ # time.
3929
3882
  # Corresponds to the JSON property `endTime`
3930
3883
  # @return [String]
3931
3884
  attr_accessor :end_time
@@ -3950,36 +3903,34 @@ module Google
3950
3903
  class UpdateClusterRequest
3951
3904
  include Google::Apis::Core::Hashable
3952
3905
 
3953
- # Deprecated. The name of the cluster to upgrade.
3954
- # This field has been deprecated and replaced by the name field.
3906
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3907
+ # and replaced by the name field.
3955
3908
  # Corresponds to the JSON property `clusterId`
3956
3909
  # @return [String]
3957
3910
  attr_accessor :cluster_id
3958
3911
 
3959
- # The name (project, location, cluster) of the cluster to update.
3960
- # Specified in the format `projects/*/locations/*/clusters/*`.
3912
+ # The name (project, location, cluster) of the cluster to update. Specified in
3913
+ # the format `projects/*/locations/*/clusters/*`.
3961
3914
  # Corresponds to the JSON property `name`
3962
3915
  # @return [String]
3963
3916
  attr_accessor :name
3964
3917
 
3965
- # Deprecated. The Google Developers Console [project ID or project
3966
- # number](https://support.google.com/cloud/answer/6158840).
3967
- # This field has been deprecated and replaced by the name field.
3918
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3919
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3920
+ # replaced by the name field.
3968
3921
  # Corresponds to the JSON property `projectId`
3969
3922
  # @return [String]
3970
3923
  attr_accessor :project_id
3971
3924
 
3972
- # ClusterUpdate describes an update to the cluster. Exactly one update can
3973
- # be applied to a cluster with each request, so at most one field can be
3974
- # provided.
3925
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
3926
+ # applied to a cluster with each request, so at most one field can be provided.
3975
3927
  # Corresponds to the JSON property `update`
3976
3928
  # @return [Google::Apis::ContainerV1::ClusterUpdate]
3977
3929
  attr_accessor :update
3978
3930
 
3979
- # Deprecated. The name of the Google Compute Engine
3980
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3981
- # cluster resides. This field has been deprecated and replaced by the name
3982
- # field.
3931
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3932
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3933
+ # been deprecated and replaced by the name field.
3983
3934
  # Corresponds to the JSON property `zone`
3984
3935
  # @return [String]
3985
3936
  attr_accessor :zone
@@ -4002,41 +3953,39 @@ module Google
4002
3953
  class UpdateMasterRequest
4003
3954
  include Google::Apis::Core::Hashable
4004
3955
 
4005
- # Deprecated. The name of the cluster to upgrade.
4006
- # This field has been deprecated and replaced by the name field.
3956
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3957
+ # and replaced by the name field.
4007
3958
  # Corresponds to the JSON property `clusterId`
4008
3959
  # @return [String]
4009
3960
  attr_accessor :cluster_id
4010
3961
 
4011
- # Required. The Kubernetes version to change the master to.
4012
- # Users may specify either explicit versions offered by Kubernetes Engine or
4013
- # version aliases, which have the following behavior:
4014
- # - "latest": picks the highest valid Kubernetes version
4015
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
4016
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
4017
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
4018
- # - "-": picks the default Kubernetes version
3962
+ # Required. The Kubernetes version to change the master to. Users may specify
3963
+ # either explicit versions offered by Kubernetes Engine or version aliases,
3964
+ # which have the following behavior: - "latest": picks the highest valid
3965
+ # Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.
3966
+ # X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version -
3967
+ # "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default
3968
+ # Kubernetes version
4019
3969
  # Corresponds to the JSON property `masterVersion`
4020
3970
  # @return [String]
4021
3971
  attr_accessor :master_version
4022
3972
 
4023
- # The name (project, location, cluster) of the cluster to update.
4024
- # Specified in the format `projects/*/locations/*/clusters/*`.
3973
+ # The name (project, location, cluster) of the cluster to update. Specified in
3974
+ # the format `projects/*/locations/*/clusters/*`.
4025
3975
  # Corresponds to the JSON property `name`
4026
3976
  # @return [String]
4027
3977
  attr_accessor :name
4028
3978
 
4029
- # Deprecated. The Google Developers Console [project ID or project
4030
- # number](https://support.google.com/cloud/answer/6158840).
4031
- # This field has been deprecated and replaced by the name field.
3979
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3980
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3981
+ # replaced by the name field.
4032
3982
  # Corresponds to the JSON property `projectId`
4033
3983
  # @return [String]
4034
3984
  attr_accessor :project_id
4035
3985
 
4036
- # Deprecated. The name of the Google Compute Engine
4037
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4038
- # cluster resides. This field has been deprecated and replaced by the name
4039
- # 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.
4040
3989
  # Corresponds to the JSON property `zone`
4041
3990
  # @return [String]
4042
3991
  attr_accessor :zone
@@ -4059,8 +4008,8 @@ module Google
4059
4008
  class UpdateNodePoolRequest
4060
4009
  include Google::Apis::Core::Hashable
4061
4010
 
4062
- # Deprecated. The name of the cluster to upgrade.
4063
- # 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.
4064
4013
  # Corresponds to the JSON property `clusterId`
4065
4014
  # @return [String]
4066
4015
  attr_accessor :cluster_id
@@ -4070,66 +4019,59 @@ module Google
4070
4019
  # @return [String]
4071
4020
  attr_accessor :image_type
4072
4021
 
4073
- # The desired list of Google Compute Engine
4074
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
4075
- # node pool's nodes should be located. Changing the locations for a node pool
4076
- # will result in nodes being either created or removed from the node pool,
4077
- # depending on whether locations are being added or removed.
4022
+ # The desired list of Google Compute Engine [zones](https://cloud.google.com/
4023
+ # compute/docs/zones#available) in which the node pool's nodes should be located.
4024
+ # Changing the locations for a node pool will result in nodes being either
4025
+ # created or removed from the node pool, depending on whether locations are
4026
+ # being added or removed.
4078
4027
  # Corresponds to the JSON property `locations`
4079
4028
  # @return [Array<String>]
4080
4029
  attr_accessor :locations
4081
4030
 
4082
- # The name (project, location, cluster, node pool) of the node pool to
4083
- # update. Specified in the format
4084
- # `projects/*/locations/*/clusters/*/nodePools/*`.
4031
+ # The name (project, location, cluster, node pool) of the node pool to update.
4032
+ # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
4085
4033
  # Corresponds to the JSON property `name`
4086
4034
  # @return [String]
4087
4035
  attr_accessor :name
4088
4036
 
4089
- # Deprecated. The name of the node pool to upgrade.
4090
- # This field has been deprecated and replaced by the name field.
4037
+ # Deprecated. The name of the node pool to upgrade. This field has been
4038
+ # deprecated and replaced by the name field.
4091
4039
  # Corresponds to the JSON property `nodePoolId`
4092
4040
  # @return [String]
4093
4041
  attr_accessor :node_pool_id
4094
4042
 
4095
- # Required. The Kubernetes version to change the nodes to (typically an
4096
- # upgrade).
4043
+ # Required. The Kubernetes version to change the nodes to (typically an upgrade).
4097
4044
  # Users may specify either explicit versions offered by Kubernetes Engine or
4098
- # version aliases, which have the following behavior:
4099
- # - "latest": picks the highest valid Kubernetes version
4100
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
4101
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
4102
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
4103
- # - "-": picks the Kubernetes master version
4045
+ # version aliases, which have the following behavior: - "latest": picks the
4046
+ # highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N
4047
+ # patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the
4048
+ # 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-":
4049
+ # picks the Kubernetes master version
4104
4050
  # Corresponds to the JSON property `nodeVersion`
4105
4051
  # @return [String]
4106
4052
  attr_accessor :node_version
4107
4053
 
4108
- # Deprecated. The Google Developers Console [project ID or project
4109
- # number](https://support.google.com/cloud/answer/6158840).
4110
- # This field has been deprecated and replaced by the name field.
4054
+ # Deprecated. The Google Developers Console [project ID or project number](https:
4055
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
4056
+ # replaced by the name field.
4111
4057
  # Corresponds to the JSON property `projectId`
4112
4058
  # @return [String]
4113
4059
  attr_accessor :project_id
4114
4060
 
4115
4061
  # These upgrade settings control the level of parallelism and the level of
4116
- # disruption caused by an upgrade.
4117
- # maxUnavailable controls the number of nodes that can be simultaneously
4118
- # unavailable.
4119
- # maxSurge controls the number of additional nodes that can be added to the
4120
- # node pool temporarily for the time of the upgrade to increase the number of
4121
- # available nodes.
4122
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
4123
- # nodes are being upgraded at the same time).
4124
- # Note: upgrades inevitably introduce some disruption since workloads need to
4125
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
4126
- # this holds true. (Disruption stays within the limits of
4127
- # PodDisruptionBudget, if it is configured.)
4128
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
4129
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
4130
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
4131
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
4132
- # there are always at least 4 nodes available.
4062
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
4063
+ # that can be simultaneously unavailable. maxSurge controls the number of
4064
+ # additional nodes that can be added to the node pool temporarily for the time
4065
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
4066
+ # maxSurge) determines the level of parallelism (how many nodes are being
4067
+ # upgraded at the same time). Note: upgrades inevitably introduce some
4068
+ # disruption since workloads need to be moved from old nodes to new, upgraded
4069
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
4070
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
4071
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
4072
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
4073
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
4074
+ # same time. This ensures that there are always at least 4 nodes available.
4133
4075
  # Corresponds to the JSON property `upgradeSettings`
4134
4076
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
4135
4077
  attr_accessor :upgrade_settings
@@ -4140,10 +4082,9 @@ module Google
4140
4082
  # @return [Google::Apis::ContainerV1::WorkloadMetadataConfig]
4141
4083
  attr_accessor :workload_metadata_config
4142
4084
 
4143
- # Deprecated. The name of the Google Compute Engine
4144
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4145
- # cluster resides. This field has been deprecated and replaced by the name
4146
- # field.
4085
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
4086
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
4087
+ # been deprecated and replaced by the name field.
4147
4088
  # Corresponds to the JSON property `zone`
4148
4089
  # @return [String]
4149
4090
  attr_accessor :zone
@@ -4167,36 +4108,82 @@ module Google
4167
4108
  end
4168
4109
  end
4169
4110
 
4111
+ # UpgradeEvent is a notification sent to customers by the cluster server when a
4112
+ # resource is upgrading.
4113
+ class UpgradeEvent
4114
+ include Google::Apis::Core::Hashable
4115
+
4116
+ # Required. The current version before the upgrade.
4117
+ # Corresponds to the JSON property `currentVersion`
4118
+ # @return [String]
4119
+ attr_accessor :current_version
4120
+
4121
+ # Required. The operation associated with this upgrade.
4122
+ # Corresponds to the JSON property `operation`
4123
+ # @return [String]
4124
+ attr_accessor :operation
4125
+
4126
+ # Required. The time when the operation was started.
4127
+ # Corresponds to the JSON property `operationStartTime`
4128
+ # @return [String]
4129
+ attr_accessor :operation_start_time
4130
+
4131
+ # Optional. Optional relative path to the resource. For example in node pool
4132
+ # upgrades, the relative path of the node pool.
4133
+ # Corresponds to the JSON property `resource`
4134
+ # @return [String]
4135
+ attr_accessor :resource
4136
+
4137
+ # Required. The resource type that is upgrading.
4138
+ # Corresponds to the JSON property `resourceType`
4139
+ # @return [String]
4140
+ attr_accessor :resource_type
4141
+
4142
+ # Required. The target version for the upgrade.
4143
+ # Corresponds to the JSON property `targetVersion`
4144
+ # @return [String]
4145
+ attr_accessor :target_version
4146
+
4147
+ def initialize(**args)
4148
+ update!(**args)
4149
+ end
4150
+
4151
+ # Update properties of this object
4152
+ def update!(**args)
4153
+ @current_version = args[:current_version] if args.key?(:current_version)
4154
+ @operation = args[:operation] if args.key?(:operation)
4155
+ @operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
4156
+ @resource = args[:resource] if args.key?(:resource)
4157
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
4158
+ @target_version = args[:target_version] if args.key?(:target_version)
4159
+ end
4160
+ end
4161
+
4170
4162
  # These upgrade settings control the level of parallelism and the level of
4171
- # disruption caused by an upgrade.
4172
- # maxUnavailable controls the number of nodes that can be simultaneously
4173
- # unavailable.
4174
- # maxSurge controls the number of additional nodes that can be added to the
4175
- # node pool temporarily for the time of the upgrade to increase the number of
4176
- # available nodes.
4177
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
4178
- # nodes are being upgraded at the same time).
4179
- # Note: upgrades inevitably introduce some disruption since workloads need to
4180
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
4181
- # this holds true. (Disruption stays within the limits of
4182
- # PodDisruptionBudget, if it is configured.)
4183
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
4184
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
4185
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
4186
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
4187
- # there are always at least 4 nodes available.
4163
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
4164
+ # that can be simultaneously unavailable. maxSurge controls the number of
4165
+ # additional nodes that can be added to the node pool temporarily for the time
4166
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
4167
+ # maxSurge) determines the level of parallelism (how many nodes are being
4168
+ # upgraded at the same time). Note: upgrades inevitably introduce some
4169
+ # disruption since workloads need to be moved from old nodes to new, upgraded
4170
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
4171
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
4172
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
4173
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
4174
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
4175
+ # same time. This ensures that there are always at least 4 nodes available.
4188
4176
  class UpgradeSettings
4189
4177
  include Google::Apis::Core::Hashable
4190
4178
 
4191
- # The maximum number of nodes that can be created beyond the current size
4192
- # of the node pool during the upgrade process.
4179
+ # The maximum number of nodes that can be created beyond the current size of the
4180
+ # node pool during the upgrade process.
4193
4181
  # Corresponds to the JSON property `maxSurge`
4194
4182
  # @return [Fixnum]
4195
4183
  attr_accessor :max_surge
4196
4184
 
4197
- # The maximum number of nodes that can be simultaneously unavailable during
4198
- # the upgrade process. A node is considered available if its status is
4199
- # Ready.
4185
+ # The maximum number of nodes that can be simultaneously unavailable during the
4186
+ # upgrade process. A node is considered available if its status is Ready.
4200
4187
  # Corresponds to the JSON property `maxUnavailable`
4201
4188
  # @return [Fixnum]
4202
4189
  attr_accessor :max_unavailable
@@ -4222,8 +4209,7 @@ module Google
4222
4209
  # @return [String]
4223
4210
  attr_accessor :ip_cidr_range
4224
4211
 
4225
- # Network Name.
4226
- # Example: projects/my-project/global/networks/my-network
4212
+ # Network Name. Example: projects/my-project/global/networks/my-network
4227
4213
  # Corresponds to the JSON property `network`
4228
4214
  # @return [String]
4229
4215
  attr_accessor :network
@@ -4233,16 +4219,16 @@ module Google
4233
4219
  # @return [Array<Google::Apis::ContainerV1::UsableSubnetworkSecondaryRange>]
4234
4220
  attr_accessor :secondary_ip_ranges
4235
4221
 
4236
- # A human readable status message representing the reasons for cases where
4237
- # the caller cannot use the secondary ranges under the subnet. For example if
4238
- # the secondary_ip_ranges is empty due to a permission issue, an insufficient
4222
+ # A human readable status message representing the reasons for cases where the
4223
+ # caller cannot use the secondary ranges under the subnet. For example if the
4224
+ # secondary_ip_ranges is empty due to a permission issue, an insufficient
4239
4225
  # permission message will be given by status_message.
4240
4226
  # Corresponds to the JSON property `statusMessage`
4241
4227
  # @return [String]
4242
4228
  attr_accessor :status_message
4243
4229
 
4244
- # Subnetwork Name.
4245
- # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
4230
+ # Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/
4231
+ # my-subnet
4246
4232
  # Corresponds to the JSON property `subnetwork`
4247
4233
  # @return [String]
4248
4234
  attr_accessor :subnetwork
@@ -4270,8 +4256,8 @@ module Google
4270
4256
  # @return [String]
4271
4257
  attr_accessor :ip_cidr_range
4272
4258
 
4273
- # The name associated with this subnetwork secondary range, used when adding
4274
- # an alias IP range to a VM instance.
4259
+ # The name associated with this subnetwork secondary range, used when adding an
4260
+ # alias IP range to a VM instance.
4275
4261
  # Corresponds to the JSON property `rangeName`
4276
4262
  # @return [String]
4277
4263
  attr_accessor :range_name
@@ -4293,9 +4279,9 @@ module Google
4293
4279
  end
4294
4280
  end
4295
4281
 
4296
- # VerticalPodAutoscaling contains global, per-cluster information
4297
- # required by Vertical Pod Autoscaler to automatically adjust
4298
- # the resources of pods controlled by it.
4282
+ # VerticalPodAutoscaling contains global, per-cluster information required by
4283
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
4284
+ # controlled by it.
4299
4285
  class VerticalPodAutoscaling
4300
4286
  include Google::Apis::Core::Hashable
4301
4287
 
@@ -4315,8 +4301,7 @@ module Google
4315
4301
  end
4316
4302
  end
4317
4303
 
4318
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
4319
- # policies.
4304
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
4320
4305
  class WorkloadIdentityConfig
4321
4306
  include Google::Apis::Core::Hashable
4322
4307
 
@@ -4340,8 +4325,8 @@ module Google
4340
4325
  class WorkloadMetadataConfig
4341
4326
  include Google::Apis::Core::Hashable
4342
4327
 
4343
- # Mode is the configuration for how to expose metadata to workloads running
4344
- # on the node pool.
4328
+ # Mode is the configuration for how to expose metadata to workloads running on
4329
+ # the node pool.
4345
4330
  # Corresponds to the JSON property `mode`
4346
4331
  # @return [String]
4347
4332
  attr_accessor :mode