google-api-client 0.43.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (964) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +1066 -184
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/api_names.yaml +1 -0
  11. data/bin/generate-api +77 -15
  12. data/docs/oauth-server.md +4 -6
  13. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  14. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  15. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  16. data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
  17. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  18. data/generated/google/apis/accessapproval_v1.rb +1 -1
  19. data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
  20. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  21. data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
  22. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  23. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  24. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  25. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  26. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
  27. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  28. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  29. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
  30. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  31. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  32. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  33. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  34. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  35. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  36. data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
  37. data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
  38. data/generated/google/apis/admin_directory_v1/service.rb +607 -998
  39. data/generated/google/apis/admin_directory_v1.rb +6 -8
  40. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  41. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  42. data/generated/google/apis/admin_reports_v1.rb +6 -5
  43. data/generated/google/apis/admob_v1/classes.rb +31 -31
  44. data/generated/google/apis/admob_v1/service.rb +2 -1
  45. data/generated/google/apis/admob_v1.rb +6 -2
  46. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  47. data/generated/google/apis/adsense_v1_4.rb +1 -1
  48. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  49. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  50. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  51. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  52. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  53. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
  54. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
  55. data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
  56. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  57. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  58. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  59. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  60. data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
  61. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  62. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  63. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  64. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  65. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  66. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  67. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  68. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  69. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  70. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  71. data/generated/google/apis/apigee_v1/classes.rb +630 -88
  72. data/generated/google/apis/apigee_v1/representations.rb +209 -1
  73. data/generated/google/apis/apigee_v1/service.rb +401 -74
  74. data/generated/google/apis/apigee_v1.rb +6 -7
  75. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  76. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  77. data/generated/google/apis/appengine_v1/service.rb +38 -47
  78. data/generated/google/apis/appengine_v1.rb +1 -1
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  80. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  81. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  82. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  83. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  84. data/generated/google/apis/appengine_v1beta.rb +1 -1
  85. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  86. data/generated/google/apis/appsmarket_v2.rb +1 -1
  87. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  88. data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
  89. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  90. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  91. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
  92. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
  93. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  94. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  95. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  96. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  97. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  98. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  99. data/generated/google/apis/bigquery_v2/classes.rb +593 -576
  100. data/generated/google/apis/bigquery_v2/representations.rb +85 -0
  101. data/generated/google/apis/bigquery_v2/service.rb +79 -41
  102. data/generated/google/apis/bigquery_v2.rb +1 -1
  103. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  104. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  105. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  106. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  107. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  108. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  109. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  110. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  111. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  112. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  113. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  114. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  115. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  116. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  117. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  118. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  119. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  120. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  121. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  122. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  123. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  124. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  125. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  126. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  127. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  128. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  129. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  130. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  131. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
  132. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  134. data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
  135. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  136. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  137. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  138. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
  139. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  140. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  141. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  142. data/generated/google/apis/books_v1/service.rb +54 -54
  143. data/generated/google/apis/books_v1.rb +1 -1
  144. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  145. data/generated/google/apis/calendar_v3.rb +1 -1
  146. data/generated/google/apis/chat_v1/classes.rb +173 -116
  147. data/generated/google/apis/chat_v1/representations.rb +36 -0
  148. data/generated/google/apis/chat_v1/service.rb +30 -42
  149. data/generated/google/apis/chat_v1.rb +1 -1
  150. data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
  151. data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
  152. data/generated/google/apis/civicinfo_v2.rb +1 -1
  153. data/generated/google/apis/classroom_v1/classes.rb +153 -21
  154. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  155. data/generated/google/apis/classroom_v1/service.rb +240 -0
  156. data/generated/google/apis/classroom_v1.rb +7 -1
  157. data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
  158. data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
  159. data/generated/google/apis/cloudasset_v1/service.rb +296 -167
  160. data/generated/google/apis/cloudasset_v1.rb +1 -1
  161. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  162. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  163. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  164. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  165. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  166. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  167. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  168. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  169. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  170. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  171. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  172. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  173. data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
  174. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  175. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  176. data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
  177. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  178. data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
  179. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  180. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  181. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  182. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  183. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  184. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  185. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  186. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  187. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  188. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  189. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  190. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  191. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  192. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  193. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  194. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  195. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  196. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  197. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  198. data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
  199. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  200. data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
  201. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  202. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
  203. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  204. data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
  205. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  206. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  207. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  208. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  209. data/generated/google/apis/cloudiot_v1.rb +1 -1
  210. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  211. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  212. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  213. data/generated/google/apis/cloudkms_v1.rb +1 -1
  214. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  215. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  216. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  217. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  218. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  219. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  220. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  221. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  222. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  223. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  224. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  225. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  226. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  227. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  228. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  229. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  230. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  231. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  232. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  233. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  234. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  235. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  236. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  237. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  238. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  239. data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
  240. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  241. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  242. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  243. data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
  244. data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
  245. data/generated/google/apis/cloudshell_v1/service.rb +198 -25
  246. data/generated/google/apis/cloudshell_v1.rb +1 -1
  247. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  248. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  249. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  250. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  251. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  252. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  253. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  254. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  255. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  256. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  257. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  258. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  259. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  260. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  261. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  262. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  263. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  264. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  265. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  266. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  267. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  268. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  269. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  270. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  271. data/generated/google/apis/composer_v1/classes.rb +189 -242
  272. data/generated/google/apis/composer_v1/service.rb +79 -150
  273. data/generated/google/apis/composer_v1.rb +1 -1
  274. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  275. data/generated/google/apis/composer_v1beta1/service.rb +94 -179
  276. data/generated/google/apis/composer_v1beta1.rb +1 -1
  277. data/generated/google/apis/compute_alpha/classes.rb +1227 -186
  278. data/generated/google/apis/compute_alpha/representations.rb +235 -8
  279. data/generated/google/apis/compute_alpha/service.rb +2009 -1024
  280. data/generated/google/apis/compute_alpha.rb +1 -1
  281. data/generated/google/apis/compute_beta/classes.rb +1080 -108
  282. data/generated/google/apis/compute_beta/representations.rb +212 -2
  283. data/generated/google/apis/compute_beta/service.rb +1413 -741
  284. data/generated/google/apis/compute_beta.rb +1 -1
  285. data/generated/google/apis/compute_v1/classes.rb +1512 -106
  286. data/generated/google/apis/compute_v1/representations.rb +470 -1
  287. data/generated/google/apis/compute_v1/service.rb +1625 -285
  288. data/generated/google/apis/compute_v1.rb +1 -1
  289. data/generated/google/apis/container_v1/classes.rb +982 -965
  290. data/generated/google/apis/container_v1/representations.rb +60 -0
  291. data/generated/google/apis/container_v1/service.rb +435 -502
  292. data/generated/google/apis/container_v1.rb +1 -1
  293. data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
  294. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  295. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  296. data/generated/google/apis/container_v1beta1.rb +1 -1
  297. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  298. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  299. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  300. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  301. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  302. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  303. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  304. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  305. data/generated/google/apis/content_v2/classes.rb +515 -1219
  306. data/generated/google/apis/content_v2/service.rb +377 -650
  307. data/generated/google/apis/content_v2.rb +3 -4
  308. data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
  309. data/generated/google/apis/content_v2_1/representations.rb +288 -0
  310. data/generated/google/apis/content_v2_1/service.rb +987 -795
  311. data/generated/google/apis/content_v2_1.rb +3 -4
  312. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  313. data/generated/google/apis/customsearch_v1.rb +1 -1
  314. data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
  315. data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
  316. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  317. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  318. data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
  319. data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
  320. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  321. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  322. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  323. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  324. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  325. data/generated/google/apis/datafusion_v1.rb +5 -8
  326. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  327. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  328. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  329. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  330. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  331. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  332. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  333. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  334. data/generated/google/apis/dataproc_v1/classes.rb +97 -13
  335. data/generated/google/apis/dataproc_v1/representations.rb +34 -0
  336. data/generated/google/apis/dataproc_v1.rb +1 -1
  337. data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
  338. data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
  339. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  340. data/generated/google/apis/datastore_v1/classes.rb +334 -476
  341. data/generated/google/apis/datastore_v1/service.rb +52 -63
  342. data/generated/google/apis/datastore_v1.rb +1 -1
  343. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  344. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  345. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  346. data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
  347. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  348. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  349. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  350. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  351. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  352. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  353. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  354. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  355. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  356. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  357. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  358. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  359. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  360. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  361. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  362. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  363. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  364. data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
  365. data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
  366. data/generated/google/apis/dialogflow_v2.rb +1 -1
  367. data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
  368. data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
  369. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
  370. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  371. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
  372. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
  373. data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
  374. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  375. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  376. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  377. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  378. data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
  379. data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
  380. data/generated/google/apis/displayvideo_v1/service.rb +287 -32
  381. data/generated/google/apis/displayvideo_v1.rb +1 -1
  382. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  383. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  384. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  385. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  386. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  387. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  388. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  389. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  390. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  391. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  392. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  393. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  394. data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
  395. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  396. data/generated/google/apis/dlp_v2/service.rb +962 -905
  397. data/generated/google/apis/dlp_v2.rb +1 -1
  398. data/generated/google/apis/dns_v1/classes.rb +356 -198
  399. data/generated/google/apis/dns_v1/representations.rb +83 -0
  400. data/generated/google/apis/dns_v1/service.rb +83 -98
  401. data/generated/google/apis/dns_v1.rb +2 -2
  402. data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
  403. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  404. data/generated/google/apis/dns_v1beta2/service.rb +83 -98
  405. data/generated/google/apis/dns_v1beta2.rb +2 -2
  406. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  407. data/generated/google/apis/docs_v1/service.rb +17 -22
  408. data/generated/google/apis/docs_v1.rb +1 -1
  409. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  410. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  411. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  412. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  413. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  414. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  415. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  416. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
  417. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  418. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  419. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  420. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  421. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  422. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  423. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  424. data/generated/google/apis/domains_v1beta1.rb +34 -0
  425. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  426. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  427. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  428. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
  429. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  430. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  431. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  432. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  433. data/generated/google/apis/drive_v2/classes.rb +18 -7
  434. data/generated/google/apis/drive_v2/representations.rb +1 -0
  435. data/generated/google/apis/drive_v2/service.rb +79 -15
  436. data/generated/google/apis/drive_v2.rb +1 -1
  437. data/generated/google/apis/drive_v3/classes.rb +18 -8
  438. data/generated/google/apis/drive_v3/representations.rb +1 -0
  439. data/generated/google/apis/drive_v3/service.rb +59 -11
  440. data/generated/google/apis/drive_v3.rb +1 -1
  441. data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
  442. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  443. data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
  444. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  445. data/generated/google/apis/file_v1/classes.rb +155 -174
  446. data/generated/google/apis/file_v1/service.rb +43 -52
  447. data/generated/google/apis/file_v1.rb +1 -1
  448. data/generated/google/apis/file_v1beta1/classes.rb +335 -194
  449. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  450. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  451. data/generated/google/apis/file_v1beta1.rb +1 -1
  452. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  453. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  454. data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
  455. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  456. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  457. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
  458. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  459. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  460. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  461. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  462. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  464. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  465. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  466. data/generated/google/apis/firebaserules_v1.rb +1 -1
  467. data/generated/google/apis/firestore_v1/classes.rb +406 -502
  468. data/generated/google/apis/firestore_v1/service.rb +165 -201
  469. data/generated/google/apis/firestore_v1.rb +1 -1
  470. data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
  471. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  472. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  473. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  474. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  475. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  476. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  477. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  478. data/generated/google/apis/fitness_v1/service.rb +628 -0
  479. data/generated/google/apis/fitness_v1.rb +97 -0
  480. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  481. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  482. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  483. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  484. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  485. data/generated/google/apis/games_management_v1management.rb +2 -3
  486. data/generated/google/apis/games_v1/classes.rb +376 -83
  487. data/generated/google/apis/games_v1/representations.rb +118 -0
  488. data/generated/google/apis/games_v1/service.rb +118 -90
  489. data/generated/google/apis/games_v1.rb +2 -3
  490. data/generated/google/apis/gameservices_v1/classes.rb +22 -14
  491. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  492. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  493. data/generated/google/apis/gameservices_v1.rb +1 -1
  494. data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
  495. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  496. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  497. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  498. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  499. data/generated/google/apis/genomics_v1/service.rb +28 -43
  500. data/generated/google/apis/genomics_v1.rb +1 -1
  501. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  502. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  503. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  504. data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
  505. data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
  506. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  507. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  508. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  509. data/generated/google/apis/gmail_v1/service.rb +5 -4
  510. data/generated/google/apis/gmail_v1.rb +1 -1
  511. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
  512. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  513. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  514. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  515. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  516. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  517. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  518. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  519. data/generated/google/apis/healthcare_v1/service.rb +842 -855
  520. data/generated/google/apis/healthcare_v1.rb +1 -1
  521. data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
  522. data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
  523. data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
  524. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  525. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  526. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  527. data/generated/google/apis/homegraph_v1.rb +4 -1
  528. data/generated/google/apis/iam_v1/classes.rb +395 -592
  529. data/generated/google/apis/iam_v1/representations.rb +1 -0
  530. data/generated/google/apis/iam_v1/service.rb +427 -555
  531. data/generated/google/apis/iam_v1.rb +1 -1
  532. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  533. data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
  534. data/generated/google/apis/iamcredentials_v1.rb +3 -2
  535. data/generated/google/apis/iap_v1/classes.rb +253 -355
  536. data/generated/google/apis/iap_v1/representations.rb +1 -0
  537. data/generated/google/apis/iap_v1/service.rb +61 -71
  538. data/generated/google/apis/iap_v1.rb +1 -1
  539. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  540. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  541. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  542. data/generated/google/apis/iap_v1beta1.rb +1 -1
  543. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  544. data/generated/google/apis/indexing_v3.rb +1 -1
  545. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  546. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  547. data/generated/google/apis/jobs_v2/service.rb +85 -126
  548. data/generated/google/apis/jobs_v2.rb +1 -1
  549. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  550. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  551. data/generated/google/apis/jobs_v3/service.rb +101 -139
  552. data/generated/google/apis/jobs_v3.rb +1 -1
  553. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  554. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  555. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  556. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  557. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  558. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  559. data/generated/google/apis/kgsearch_v1.rb +1 -1
  560. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  561. data/generated/google/apis/licensing_v1/service.rb +56 -86
  562. data/generated/google/apis/licensing_v1.rb +4 -3
  563. data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
  564. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  565. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  566. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  567. data/generated/google/apis/localservices_v1/classes.rb +426 -0
  568. data/generated/google/apis/localservices_v1/representations.rb +174 -0
  569. data/generated/google/apis/localservices_v1/service.rb +199 -0
  570. data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
  571. data/generated/google/apis/logging_v2/classes.rb +306 -232
  572. data/generated/google/apis/logging_v2/representations.rb +79 -0
  573. data/generated/google/apis/logging_v2/service.rb +3307 -1579
  574. data/generated/google/apis/logging_v2.rb +1 -1
  575. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  576. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  577. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  578. data/generated/google/apis/managedidentities_v1.rb +1 -1
  579. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
  580. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
  581. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  582. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  583. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
  584. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
  585. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  586. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  587. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  588. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  589. data/generated/google/apis/manufacturers_v1.rb +1 -1
  590. data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
  591. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  592. data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
  593. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  594. data/generated/google/apis/ml_v1/classes.rb +1122 -1149
  595. data/generated/google/apis/ml_v1/representations.rb +82 -0
  596. data/generated/google/apis/ml_v1/service.rb +194 -253
  597. data/generated/google/apis/ml_v1.rb +1 -1
  598. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  599. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  600. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  601. data/generated/google/apis/monitoring_v1.rb +1 -1
  602. data/generated/google/apis/monitoring_v3/classes.rb +303 -345
  603. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  604. data/generated/google/apis/monitoring_v3/service.rb +176 -146
  605. data/generated/google/apis/monitoring_v3.rb +1 -1
  606. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  607. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  608. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  609. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  610. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  611. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  612. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  613. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  614. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  615. data/generated/google/apis/osconfig_v1/service.rb +26 -31
  616. data/generated/google/apis/osconfig_v1.rb +3 -3
  617. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  618. data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
  619. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  620. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  621. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  622. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  623. data/generated/google/apis/oslogin_v1.rb +1 -1
  624. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  625. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  626. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  627. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  628. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  629. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  630. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  631. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  632. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  633. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  634. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  635. data/generated/google/apis/people_v1/classes.rb +173 -63
  636. data/generated/google/apis/people_v1/representations.rb +41 -0
  637. data/generated/google/apis/people_v1/service.rb +63 -61
  638. data/generated/google/apis/people_v1.rb +1 -1
  639. data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
  640. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  641. data/generated/google/apis/playablelocations_v3.rb +1 -1
  642. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  643. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  644. data/generated/google/apis/poly_v1/classes.rb +65 -79
  645. data/generated/google/apis/poly_v1/service.rb +50 -63
  646. data/generated/google/apis/poly_v1.rb +3 -4
  647. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  648. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  649. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  650. data/generated/google/apis/privateca_v1beta1.rb +34 -0
  651. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  652. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  653. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
  654. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  655. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  656. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  657. data/generated/google/apis/pubsub_v1/service.rb +221 -247
  658. data/generated/google/apis/pubsub_v1.rb +1 -1
  659. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  660. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  661. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  662. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  663. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  664. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  665. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  666. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  667. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  668. data/generated/google/apis/pubsublite_v1/service.rb +558 -0
  669. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  670. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  671. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  672. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  673. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  674. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
  675. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
  676. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  677. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  678. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  679. data/generated/google/apis/recommender_v1/service.rb +4 -2
  680. data/generated/google/apis/recommender_v1.rb +1 -1
  681. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  682. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  683. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  684. data/generated/google/apis/redis_v1/classes.rb +91 -513
  685. data/generated/google/apis/redis_v1/representations.rb +0 -139
  686. data/generated/google/apis/redis_v1/service.rb +92 -109
  687. data/generated/google/apis/redis_v1.rb +1 -1
  688. data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
  689. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  690. data/generated/google/apis/redis_v1beta1/service.rb +126 -109
  691. data/generated/google/apis/redis_v1beta1.rb +1 -1
  692. data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
  693. data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
  694. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  695. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  696. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
  697. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
  698. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  699. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  700. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
  701. data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
  702. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  703. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  704. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  705. data/generated/google/apis/reseller_v1/service.rb +122 -173
  706. data/generated/google/apis/reseller_v1.rb +2 -2
  707. data/generated/google/apis/run_v1/classes.rb +19 -138
  708. data/generated/google/apis/run_v1/representations.rb +1 -62
  709. data/generated/google/apis/run_v1/service.rb +0 -342
  710. data/generated/google/apis/run_v1.rb +1 -1
  711. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  712. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  713. data/generated/google/apis/run_v1alpha1.rb +1 -1
  714. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  715. data/generated/google/apis/run_v1beta1.rb +1 -1
  716. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
  717. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  718. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  719. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  720. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  721. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  722. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  723. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  724. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  725. data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
  726. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  727. data/generated/google/apis/script_v1/classes.rb +88 -111
  728. data/generated/google/apis/script_v1/service.rb +63 -69
  729. data/generated/google/apis/script_v1.rb +1 -1
  730. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  731. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  732. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  733. data/generated/google/apis/searchconsole_v1.rb +7 -1
  734. data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
  735. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  736. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  737. data/generated/google/apis/secretmanager_v1.rb +1 -1
  738. data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
  739. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  740. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  741. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  742. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  743. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  744. data/generated/google/apis/securitycenter_v1.rb +1 -1
  745. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  746. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  747. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  748. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  749. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  750. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  751. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  752. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
  753. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  754. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  755. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  756. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
  757. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  758. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  759. data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
  760. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  761. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  762. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  763. data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
  764. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  765. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  766. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  767. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  768. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  769. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  770. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  771. data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
  772. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  773. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  774. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  775. data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
  776. data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
  777. data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
  778. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  779. data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
  780. data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
  781. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  782. data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
  783. data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
  784. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  785. data/generated/google/apis/serviceusage_v1.rb +1 -1
  786. data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
  787. data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
  788. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  789. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  790. data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
  791. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  792. data/generated/google/apis/sheets_v4/service.rb +113 -149
  793. data/generated/google/apis/sheets_v4.rb +1 -1
  794. data/generated/google/apis/site_verification_v1.rb +1 -1
  795. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  796. data/generated/google/apis/slides_v1/service.rb +23 -30
  797. data/generated/google/apis/slides_v1.rb +1 -1
  798. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  799. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  800. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  801. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  802. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  803. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  804. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  805. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  806. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  807. data/generated/google/apis/spanner_v1/service.rb +443 -618
  808. data/generated/google/apis/spanner_v1.rb +1 -1
  809. data/generated/google/apis/speech_v1/classes.rb +174 -220
  810. data/generated/google/apis/speech_v1/service.rb +27 -32
  811. data/generated/google/apis/speech_v1.rb +1 -1
  812. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  813. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  814. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  815. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  816. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  817. data/generated/google/apis/speech_v2beta1.rb +1 -1
  818. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
  819. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
  820. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  821. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  822. data/generated/google/apis/storage_v1/classes.rb +10 -17
  823. data/generated/google/apis/storage_v1/representations.rb +2 -3
  824. data/generated/google/apis/storage_v1/service.rb +3 -2
  825. data/generated/google/apis/storage_v1.rb +1 -1
  826. data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
  827. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  828. data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
  829. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  830. data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
  831. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  832. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  833. data/generated/google/apis/sts_v1/classes.rb +121 -0
  834. data/generated/google/apis/sts_v1/representations.rb +59 -0
  835. data/generated/google/apis/sts_v1/service.rb +90 -0
  836. data/generated/google/apis/sts_v1.rb +32 -0
  837. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  838. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  839. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  840. data/generated/google/apis/sts_v1beta.rb +32 -0
  841. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  842. data/generated/google/apis/tagmanager_v1.rb +1 -1
  843. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  844. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  845. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  846. data/generated/google/apis/tagmanager_v2.rb +1 -1
  847. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  848. data/generated/google/apis/tasks_v1/service.rb +19 -19
  849. data/generated/google/apis/tasks_v1.rb +1 -1
  850. data/generated/google/apis/testing_v1/classes.rb +384 -390
  851. data/generated/google/apis/testing_v1/representations.rb +23 -0
  852. data/generated/google/apis/testing_v1/service.rb +22 -28
  853. data/generated/google/apis/testing_v1.rb +1 -1
  854. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  855. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  856. data/generated/google/apis/texttospeech_v1.rb +1 -1
  857. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  858. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  859. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  860. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  861. data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
  862. data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
  863. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  864. data/generated/google/apis/tpu_v1/classes.rb +57 -3
  865. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  866. data/generated/google/apis/tpu_v1/service.rb +8 -8
  867. data/generated/google/apis/tpu_v1.rb +1 -1
  868. data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
  869. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  870. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  871. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  872. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  873. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  874. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  875. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  876. data/generated/google/apis/translate_v3/classes.rb +151 -177
  877. data/generated/google/apis/translate_v3/service.rb +122 -151
  878. data/generated/google/apis/translate_v3.rb +1 -1
  879. data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
  880. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  881. data/generated/google/apis/translate_v3beta1.rb +1 -1
  882. data/generated/google/apis/vault_v1/classes.rb +413 -103
  883. data/generated/google/apis/vault_v1/representations.rb +162 -0
  884. data/generated/google/apis/vault_v1/service.rb +182 -37
  885. data/generated/google/apis/vault_v1.rb +1 -1
  886. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  887. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  888. data/generated/google/apis/vectortile_v1.rb +1 -1
  889. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  890. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  891. data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
  892. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  893. data/generated/google/apis/videointelligence_v1/service.rb +38 -77
  894. data/generated/google/apis/videointelligence_v1.rb +1 -1
  895. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
  896. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  897. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  898. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  899. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
  900. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  901. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  902. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  903. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
  904. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  905. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  906. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  907. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
  908. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  909. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  910. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  911. data/generated/google/apis/vision_v1/classes.rb +16 -16
  912. data/generated/google/apis/vision_v1.rb +1 -1
  913. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  914. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  915. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  916. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  917. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  918. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  919. data/generated/google/apis/webfonts_v1.rb +2 -3
  920. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  921. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  922. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  923. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  924. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  925. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  926. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  927. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  928. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  929. data/generated/google/apis/workflows_v1beta/service.rb +438 -0
  930. data/generated/google/apis/workflows_v1beta.rb +35 -0
  931. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  932. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  933. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  934. data/generated/google/apis/youtube_v3/service.rb +3 -120
  935. data/generated/google/apis/youtube_v3.rb +1 -1
  936. data/google-api-client.gemspec +25 -24
  937. data/lib/google/apis/core/api_command.rb +1 -0
  938. data/lib/google/apis/core/http_command.rb +2 -1
  939. data/lib/google/apis/options.rb +8 -5
  940. data/lib/google/apis/version.rb +1 -1
  941. data/synth.py +40 -0
  942. metadata +134 -41
  943. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  944. data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
  945. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  946. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  947. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  948. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  949. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  950. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  951. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  952. data/generated/google/apis/dns_v2beta1.rb +0 -43
  953. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  954. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  955. data/generated/google/apis/plus_v1/representations.rb +0 -907
  956. data/generated/google/apis/plus_v1/service.rb +0 -451
  957. data/generated/google/apis/plus_v1.rb +0 -43
  958. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  959. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  960. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  961. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  962. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  963. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
  964. data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -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
 
@@ -75,14 +75,14 @@ module Google
75
75
  attr_accessor :gce_persistent_disk_csi_driver_config
76
76
 
77
77
  # Configuration options for the horizontal pod autoscaling feature, which
78
- # increases or decreases the number of replica pods a replication controller
79
- # has based on the resource usage of the existing pods.
78
+ # increases or decreases the number of replica pods a replication controller has
79
+ # based on the resource usage of the existing pods.
80
80
  # Corresponds to the JSON property `horizontalPodAutoscaling`
81
81
  # @return [Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling]
82
82
  attr_accessor :horizontal_pod_autoscaling
83
83
 
84
- # Configuration options for the HTTP (L7) load balancing controller addon,
85
- # which makes it easy to set up HTTP load balancers for services in a cluster.
84
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
85
+ # makes it easy to set up HTTP load balancers for services in a cluster.
86
86
  # Corresponds to the JSON property `httpLoadBalancing`
87
87
  # @return [Google::Apis::ContainerV1beta1::HttpLoadBalancing]
88
88
  attr_accessor :http_load_balancing
@@ -102,9 +102,9 @@ module Google
102
102
  # @return [Google::Apis::ContainerV1beta1::KubernetesDashboard]
103
103
  attr_accessor :kubernetes_dashboard
104
104
 
105
- # Configuration for NetworkPolicy. This only tracks whether the addon
106
- # is enabled or not on the Master, it does not track whether network policy
107
- # is enabled for the nodes.
105
+ # Configuration for NetworkPolicy. This only tracks whether the addon is enabled
106
+ # or not on the Master, it does not track whether network policy is enabled for
107
+ # the nodes.
108
108
  # Corresponds to the JSON property `networkPolicyConfig`
109
109
  # @return [Google::Apis::ContainerV1beta1::NetworkPolicyConfig]
110
110
  attr_accessor :network_policy_config
@@ -132,15 +132,15 @@ module Google
132
132
  class AuthenticatorGroupsConfig
133
133
  include Google::Apis::Core::Hashable
134
134
 
135
- # Whether this cluster should return group membership lookups
136
- # during authentication using a group of security groups.
135
+ # Whether this cluster should return group membership lookups during
136
+ # authentication using a group of security groups.
137
137
  # Corresponds to the JSON property `enabled`
138
138
  # @return [Boolean]
139
139
  attr_accessor :enabled
140
140
  alias_method :enabled?, :enabled
141
141
 
142
- # The name of the security group-of-groups to be used. Only relevant
143
- # if enabled = true.
142
+ # The name of the security group-of-groups to be used. Only relevant if enabled =
143
+ # true.
144
144
  # Corresponds to the JSON property `securityGroup`
145
145
  # @return [String]
146
146
  attr_accessor :security_group
@@ -156,20 +156,20 @@ module Google
156
156
  end
157
157
  end
158
158
 
159
- # AutoUpgradeOptions defines the set of options for the user to control how
160
- # the Auto Upgrades will proceed.
159
+ # AutoUpgradeOptions defines the set of options for the user to control how the
160
+ # Auto Upgrades will proceed.
161
161
  class AutoUpgradeOptions
162
162
  include Google::Apis::Core::Hashable
163
163
 
164
- # [Output only] This field is set when upgrades are about to commence
165
- # with the approximate start time for the upgrades, in
166
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
164
+ # [Output only] This field is set when upgrades are about to commence with the
165
+ # approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/
166
+ # rfc3339.txt) text format.
167
167
  # Corresponds to the JSON property `autoUpgradeStartTime`
168
168
  # @return [String]
169
169
  attr_accessor :auto_upgrade_start_time
170
170
 
171
- # [Output only] This field is set when upgrades are about to commence
172
- # with the description of the upgrade.
171
+ # [Output only] This field is set when upgrades are about to commence with the
172
+ # description of the upgrade.
173
173
  # Corresponds to the JSON property `description`
174
174
  # @return [String]
175
175
  attr_accessor :description
@@ -185,11 +185,32 @@ module Google
185
185
  end
186
186
  end
187
187
 
188
- # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
189
- # by NAP.
188
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
189
+ # NAP.
190
190
  class AutoprovisioningNodePoolDefaults
191
191
  include Google::Apis::Core::Hashable
192
192
 
193
+ # The Customer Managed Encryption Key used to encrypt the boot disk attached to
194
+ # each node in the node pool. This should be of the form projects/[
195
+ # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
196
+ # . For more information about protecting resources with Cloud KMS Keys please
197
+ # see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
198
+ # Corresponds to the JSON property `bootDiskKmsKey`
199
+ # @return [String]
200
+ attr_accessor :boot_disk_kms_key
201
+
202
+ # Size of the disk attached to each node, specified in GB. The smallest allowed
203
+ # disk size is 10GB. If unspecified, the default disk size is 100GB.
204
+ # Corresponds to the JSON property `diskSizeGb`
205
+ # @return [Fixnum]
206
+ attr_accessor :disk_size_gb
207
+
208
+ # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
209
+ # unspecified, the default disk type is 'pd-standard'
210
+ # Corresponds to the JSON property `diskType`
211
+ # @return [String]
212
+ attr_accessor :disk_type
213
+
193
214
  # NodeManagement defines the set of node management services turned on for the
194
215
  # node pool.
195
216
  # Corresponds to the JSON property `management`
@@ -198,59 +219,54 @@ module Google
198
219
 
199
220
  # Minimum CPU platform to be used by this instance. The instance may be
200
221
  # scheduled on the specified or newer CPU platform. Applicable values are the
201
- # friendly names of CPU platforms, such as
202
- # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
203
- # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
204
- # information, read [how to specify min CPU
205
- # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
206
- # platform)
207
- # To unset the min cpu platform field pass "automatic"
222
+ # friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
223
+ # minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
224
+ # specify min CPU platform](https://cloud.google.com/compute/docs/instances/
225
+ # specify-min-cpu-platform) To unset the min cpu platform field pass "automatic"
208
226
  # as field value.
209
227
  # Corresponds to the JSON property `minCpuPlatform`
210
228
  # @return [String]
211
229
  attr_accessor :min_cpu_platform
212
230
 
213
- # The set of Google API scopes to be made available on all of the
214
- # node VMs under the "default" service account.
215
- # The following scopes are recommended, but not required, and by default are
216
- # not included:
217
- # * `https://www.googleapis.com/auth/compute` is required for mounting
218
- # persistent storage on your nodes.
219
- # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
220
- # communicating with **gcr.io**
221
- # (the [Google Container
222
- # Registry](https://cloud.google.com/container-registry/)).
223
- # If unspecified, no scopes are added, unless Cloud Logging or Cloud
224
- # Monitoring are enabled, in which case their required scopes will be added.
231
+ # The set of Google API scopes to be made available on all of the node VMs under
232
+ # the "default" service account. The following scopes are recommended, but not
233
+ # required, and by default are not included: * `https://www.googleapis.com/auth/
234
+ # compute` is required for mounting persistent storage on your nodes. * `https://
235
+ # www.googleapis.com/auth/devstorage.read_only` is required for communicating
236
+ # with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
237
+ # container-registry/)). If unspecified, no scopes are added, unless Cloud
238
+ # Logging or Cloud Monitoring are enabled, in which case their required scopes
239
+ # will be added.
225
240
  # Corresponds to the JSON property `oauthScopes`
226
241
  # @return [Array<String>]
227
242
  attr_accessor :oauth_scopes
228
243
 
229
- # The Google Cloud Platform Service Account to be used by the node VMs.
230
- # Specify the email address of the Service Account; otherwise, if no Service
231
- # Account is specified, the "default" service account is used.
244
+ # The Google Cloud Platform Service Account to be used by the node VMs. Specify
245
+ # the email address of the Service Account; otherwise, if no Service Account is
246
+ # specified, the "default" service account is used.
232
247
  # Corresponds to the JSON property `serviceAccount`
233
248
  # @return [String]
234
249
  attr_accessor :service_account
235
250
 
251
+ # A set of Shielded Instance options.
252
+ # Corresponds to the JSON property `shieldedInstanceConfig`
253
+ # @return [Google::Apis::ContainerV1beta1::ShieldedInstanceConfig]
254
+ attr_accessor :shielded_instance_config
255
+
236
256
  # These upgrade settings control the level of parallelism and the level of
237
- # disruption caused by an upgrade.
238
- # maxUnavailable controls the number of nodes that can be simultaneously
239
- # unavailable.
240
- # maxSurge controls the number of additional nodes that can be added to the
241
- # node pool temporarily for the time of the upgrade to increase the number of
242
- # available nodes.
243
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
244
- # nodes are being upgraded at the same time).
245
- # Note: upgrades inevitably introduce some disruption since workloads need to
246
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
247
- # this holds true. (Disruption stays within the limits of
248
- # PodDisruptionBudget, if it is configured.)
249
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
250
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
251
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
252
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
253
- # there are always at least 4 nodes available.
257
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
258
+ # that can be simultaneously unavailable. maxSurge controls the number of
259
+ # additional nodes that can be added to the node pool temporarily for the time
260
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
261
+ # maxSurge) determines the level of parallelism (how many nodes are being
262
+ # upgraded at the same time). Note: upgrades inevitably introduce some
263
+ # disruption since workloads need to be moved from old nodes to new, upgraded
264
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
265
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
266
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
267
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
268
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
269
+ # same time. This ensures that there are always at least 4 nodes available.
254
270
  # Corresponds to the JSON property `upgradeSettings`
255
271
  # @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
256
272
  attr_accessor :upgrade_settings
@@ -261,10 +277,14 @@ module Google
261
277
 
262
278
  # Update properties of this object
263
279
  def update!(**args)
280
+ @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
281
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
282
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
264
283
  @management = args[:management] if args.key?(:management)
265
284
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
266
285
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
267
286
  @service_account = args[:service_account] if args.key?(:service_account)
287
+ @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
268
288
  @upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
269
289
  end
270
290
  end
@@ -317,8 +337,8 @@ module Google
317
337
  class BinaryAuthorization
318
338
  include Google::Apis::Core::Hashable
319
339
 
320
- # Enable Binary Authorization for this cluster. If enabled, all container
321
- # images will be validated by Google Binauthz.
340
+ # Enable Binary Authorization for this cluster. If enabled, all container images
341
+ # will be validated by Google Binauthz.
322
342
  # Corresponds to the JSON property `enabled`
323
343
  # @return [Boolean]
324
344
  attr_accessor :enabled
@@ -344,23 +364,22 @@ module Google
344
364
  # @return [String]
345
365
  attr_accessor :name
346
366
 
347
- # Required. Deprecated. The server-assigned `name` of the operation.
348
- # This field has been deprecated and replaced by the name field.
367
+ # Required. Deprecated. The server-assigned `name` of the operation. This field
368
+ # has been deprecated and replaced by the name field.
349
369
  # Corresponds to the JSON property `operationId`
350
370
  # @return [String]
351
371
  attr_accessor :operation_id
352
372
 
353
373
  # Required. Deprecated. The Google Developers Console [project ID or project
354
- # number](https://support.google.com/cloud/answer/6158840).
355
- # This field has been deprecated and replaced by the name field.
374
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
375
+ # deprecated and replaced by the name field.
356
376
  # Corresponds to the JSON property `projectId`
357
377
  # @return [String]
358
378
  attr_accessor :project_id
359
379
 
360
- # Required. Deprecated. The name of the Google Compute Engine
361
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
362
- # operation resides. This field has been deprecated and replaced by the name
363
- # field.
380
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
381
+ # cloud.google.com/compute/docs/zones#available) in which the operation resides.
382
+ # This field has been deprecated and replaced by the name field.
364
383
  # Corresponds to the JSON property `zone`
365
384
  # @return [String]
366
385
  attr_accessor :zone
@@ -433,6 +452,11 @@ module Google
433
452
  attr_accessor :disabled
434
453
  alias_method :disabled?, :disabled
435
454
 
455
+ # Which load balancer type is installed for Cloud Run.
456
+ # Corresponds to the JSON property `loadBalancerType`
457
+ # @return [String]
458
+ attr_accessor :load_balancer_type
459
+
436
460
  def initialize(**args)
437
461
  update!(**args)
438
462
  end
@@ -440,6 +464,7 @@ module Google
440
464
  # Update properties of this object
441
465
  def update!(**args)
442
466
  @disabled = args[:disabled] if args.key?(:disabled)
467
+ @load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
443
468
  end
444
469
  end
445
470
 
@@ -447,8 +472,8 @@ module Google
447
472
  class Cluster
448
473
  include Google::Apis::Core::Hashable
449
474
 
450
- # Configuration for the addons that can be automatically spun up in the
451
- # cluster, enabling additional functionality.
475
+ # Configuration for the addons that can be automatically spun up in the cluster,
476
+ # enabling additional functionality.
452
477
  # Corresponds to the JSON property `addonsConfig`
453
478
  # @return [Google::Apis::ContainerV1beta1::AddonsConfig]
454
479
  attr_accessor :addons_config
@@ -458,10 +483,9 @@ module Google
458
483
  # @return [Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig]
459
484
  attr_accessor :authenticator_groups_config
460
485
 
461
- # ClusterAutoscaling contains global, per-cluster information
462
- # required by Cluster Autoscaler to automatically adjust
463
- # the size of the cluster and create/delete
464
- # node pools based on the current needs.
486
+ # ClusterAutoscaling contains global, per-cluster information required by
487
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
488
+ # delete node pools based on the current needs.
465
489
  # Corresponds to the JSON property `autoscaling`
466
490
  # @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
467
491
  attr_accessor :autoscaling
@@ -471,10 +495,10 @@ module Google
471
495
  # @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
472
496
  attr_accessor :binary_authorization
473
497
 
474
- # The IP address range of the container pods in this cluster, in
475
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
476
- # notation (e.g. `10.96.0.0/14`). Leave blank to have
477
- # one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
498
+ # The IP address range of the container pods in this cluster, in [CIDR](http://
499
+ # en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
500
+ # 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
501
+ # in `10.0.0.0/8`.
478
502
  # Corresponds to the JSON property `clusterIpv4Cidr`
479
503
  # @return [String]
480
504
  attr_accessor :cluster_ipv4_cidr
@@ -489,8 +513,14 @@ module Google
489
513
  # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
490
514
  attr_accessor :conditions
491
515
 
492
- # [Output only] The time the cluster was created, in
493
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
516
+ # ConfidentialNodes is configuration for the confidential nodes feature, which
517
+ # makes nodes run on confidential VMs.
518
+ # Corresponds to the JSON property `confidentialNodes`
519
+ # @return [Google::Apis::ContainerV1beta1::ConfidentialNodes]
520
+ attr_accessor :confidential_nodes
521
+
522
+ # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
523
+ # org/rfc/rfc3339.txt) text format.
494
524
  # Corresponds to the JSON property `createTime`
495
525
  # @return [String]
496
526
  attr_accessor :create_time
@@ -500,18 +530,17 @@ module Google
500
530
  # @return [String]
501
531
  attr_accessor :current_master_version
502
532
 
503
- # [Output only] The number of nodes currently in the cluster. Deprecated.
504
- # Call Kubernetes API directly to retrieve node information.
533
+ # [Output only] The number of nodes currently in the cluster. Deprecated. Call
534
+ # Kubernetes API directly to retrieve node information.
505
535
  # Corresponds to the JSON property `currentNodeCount`
506
536
  # @return [Fixnum]
507
537
  attr_accessor :current_node_count
508
538
 
509
- # [Output only] Deprecated, use
510
- # [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/
511
- # rest/v1beta1/projects.locations.clusters.nodePools)
512
- # instead. The current version of the node software components.
513
- # If they are currently at multiple versions because they're in the process
514
- # of being upgraded, this reflects the minimum version of all nodes.
539
+ # [Output only] Deprecated, use [NodePool.version](https://cloud.google.com/
540
+ # kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.
541
+ # nodePools) instead. The current version of the node software components. If
542
+ # they are currently at multiple versions because they're in the process of
543
+ # being upgraded, this reflects the minimum version of all nodes.
515
544
  # Corresponds to the JSON property `currentNodeVersion`
516
545
  # @return [String]
517
546
  attr_accessor :current_node_version
@@ -531,63 +560,58 @@ module Google
531
560
  # @return [String]
532
561
  attr_accessor :description
533
562
 
534
- # Kubernetes alpha features are enabled on this cluster. This includes alpha
535
- # API groups (e.g. v1beta1) and features that may not be production ready in
536
- # the kubernetes version of the master and nodes.
537
- # The cluster has no SLA for uptime and master/node upgrades are disabled.
538
- # Alpha enabled clusters are automatically deleted thirty days after
539
- # creation.
563
+ # Kubernetes alpha features are enabled on this cluster. This includes alpha API
564
+ # groups (e.g. v1beta1) and features that may not be production ready in the
565
+ # kubernetes version of the master and nodes. The cluster has no SLA for uptime
566
+ # and master/node upgrades are disabled. Alpha enabled clusters are
567
+ # automatically deleted thirty days after creation.
540
568
  # Corresponds to the JSON property `enableKubernetesAlpha`
541
569
  # @return [Boolean]
542
570
  attr_accessor :enable_kubernetes_alpha
543
571
  alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
544
572
 
545
- # Enable the ability to use Cloud TPUs in this cluster.
546
- # This field is deprecated, use tpu_config.enabled instead.
573
+ # Enable the ability to use Cloud TPUs in this cluster. This field is deprecated,
574
+ # use tpu_config.enabled instead.
547
575
  # Corresponds to the JSON property `enableTpu`
548
576
  # @return [Boolean]
549
577
  attr_accessor :enable_tpu
550
578
  alias_method :enable_tpu?, :enable_tpu
551
579
 
552
- # [Output only] The IP address of this cluster's master endpoint.
553
- # The endpoint can be accessed from the internet at
554
- # `https://username:password@endpoint/`.
555
- # See the `masterAuth` property of this resource for username and
556
- # password information.
580
+ # [Output only] The IP address of this cluster's master endpoint. The endpoint
581
+ # can be accessed from the internet at `https://username:password@endpoint/`.
582
+ # See the `masterAuth` property of this resource for username and password
583
+ # information.
557
584
  # Corresponds to the JSON property `endpoint`
558
585
  # @return [String]
559
586
  attr_accessor :endpoint
560
587
 
561
- # [Output only] The time the cluster will be automatically
562
- # deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
588
+ # [Output only] The time the cluster will be automatically deleted in [RFC3339](
589
+ # https://www.ietf.org/rfc/rfc3339.txt) text format.
563
590
  # Corresponds to the JSON property `expireTime`
564
591
  # @return [String]
565
592
  attr_accessor :expire_time
566
593
 
567
- # The initial Kubernetes version for this cluster. Valid versions are those
568
- # found in validMasterVersions returned by getServerConfig. The version can
569
- # be upgraded over time; such upgrades are reflected in
570
- # currentMasterVersion and currentNodeVersion.
571
- # Users may specify either explicit versions offered by
572
- # Kubernetes Engine or version aliases, which have the following behavior:
573
- # - "latest": picks the highest valid Kubernetes version
574
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
575
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
576
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
577
- # - "","-": picks the default Kubernetes version
594
+ # The initial Kubernetes version for this cluster. Valid versions are those
595
+ # found in validMasterVersions returned by getServerConfig. The version can be
596
+ # upgraded over time; such upgrades are reflected in currentMasterVersion and
597
+ # currentNodeVersion. Users may specify either explicit versions offered by
598
+ # Kubernetes Engine or version aliases, which have the following behavior: - "
599
+ # latest": picks the highest valid Kubernetes version - "1.X": picks the highest
600
+ # valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
601
+ # gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
602
+ # version - "","-": picks the default Kubernetes version
578
603
  # Corresponds to the JSON property `initialClusterVersion`
579
604
  # @return [String]
580
605
  attr_accessor :initial_cluster_version
581
606
 
582
607
  # The number of nodes to create in this cluster. You must ensure that your
583
- # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
584
- # is sufficient for this number of instances. You must also have available
585
- # firewall and routes quota.
586
- # For requests, this field should only be used in lieu of a
587
- # "node_pool" object, since this configuration (along with the
588
- # "node_config") will be used to create a "NodePool" object with an
589
- # auto-generated name. Do not use this and a node_pool at the same time.
590
- # This field is deprecated, use node_pool.initial_node_count instead.
608
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
609
+ # sufficient for this number of instances. You must also have available firewall
610
+ # and routes quota. For requests, this field should only be used in lieu of a "
611
+ # node_pool" object, since this configuration (along with the "node_config")
612
+ # will be used to create a "NodePool" object with an auto-generated name. Do not
613
+ # use this and a node_pool at the same time. This field is deprecated, use
614
+ # node_pool.initial_node_count instead.
591
615
  # Corresponds to the JSON property `initialNodeCount`
592
616
  # @return [Fixnum]
593
617
  attr_accessor :initial_node_count
@@ -607,39 +631,39 @@ module Google
607
631
  # @return [String]
608
632
  attr_accessor :label_fingerprint
609
633
 
610
- # Configuration for the legacy Attribute Based Access Control authorization
611
- # mode.
634
+ # Configuration for the legacy Attribute Based Access Control authorization mode.
612
635
  # Corresponds to the JSON property `legacyAbac`
613
636
  # @return [Google::Apis::ContainerV1beta1::LegacyAbac]
614
637
  attr_accessor :legacy_abac
615
638
 
616
- # [Output only] The name of the Google Compute Engine
617
- # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
618
- # available)
619
- # or
620
- # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
621
- # available)
639
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
640
+ # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
641
+ # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
622
642
  # in which the cluster resides.
623
643
  # Corresponds to the JSON property `location`
624
644
  # @return [String]
625
645
  attr_accessor :location
626
646
 
627
- # The list of Google Compute Engine
628
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
629
- # cluster's nodes should be located.
647
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
648
+ # docs/zones#available) in which the cluster's nodes should be located. This
649
+ # field provides a default value if [NodePool.Locations](https://cloud.google.
650
+ # com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.
651
+ # nodePools#NodePool.FIELDS.locations) are not specified during node pool
652
+ # creation. Warning: changing cluster locations will update the [NodePool.
653
+ # Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/
654
+ # projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node
655
+ # pools and will result in nodes being added and/or removed.
630
656
  # Corresponds to the JSON property `locations`
631
657
  # @return [Array<String>]
632
658
  attr_accessor :locations
633
659
 
634
- # The logging service the cluster should use to write logs.
635
- # Currently available options:
636
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
637
- # service with a Kubernetes-native resource model
638
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
639
- # available as of GKE 1.15).
640
- # * `none` - no logs will be exported from the cluster.
641
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
642
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
660
+ # The logging service the cluster should use to write logs. Currently available
661
+ # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
662
+ # with a Kubernetes-native resource model * `logging.googleapis.com` - The
663
+ # legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
664
+ # no logs will be exported from the cluster. If left as an empty string,`logging.
665
+ # googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
666
+ # com` for earlier versions.
643
667
  # Corresponds to the JSON property `loggingService`
644
668
  # @return [String]
645
669
  attr_accessor :logging_service
@@ -655,8 +679,7 @@ module Google
655
679
  attr_accessor :master
656
680
 
657
681
  # The authentication information for accessing the master endpoint.
658
- # Authentication can be done using HTTP basic auth or using client
659
- # certificates.
682
+ # Authentication can be done using HTTP basic auth or using client certificates.
660
683
  # Corresponds to the JSON property `masterAuth`
661
684
  # @return [Google::Apis::ContainerV1beta1::MasterAuth]
662
685
  attr_accessor :master_auth
@@ -669,44 +692,37 @@ module Google
669
692
  # @return [Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig]
670
693
  attr_accessor :master_authorized_networks_config
671
694
 
672
- # The IP prefix in CIDR notation to use for the hosted master network.
673
- # This prefix will be used for assigning private IP addresses to the
674
- # master or set of masters, as well as the ILB VIP.
675
- # This field is deprecated, use
695
+ # The IP prefix in CIDR notation to use for the hosted master network. This
696
+ # prefix will be used for assigning private IP addresses to the master or set of
697
+ # masters, as well as the ILB VIP. This field is deprecated, use
676
698
  # private_cluster_config.master_ipv4_cidr_block instead.
677
699
  # Corresponds to the JSON property `masterIpv4CidrBlock`
678
700
  # @return [String]
679
701
  attr_accessor :master_ipv4_cidr_block
680
702
 
681
- # The monitoring service the cluster should use to write metrics.
682
- # Currently available options:
683
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
684
- # service with a Kubernetes-native resource model
685
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
686
- # longer available as of GKE 1.15).
687
- # * `none` - No metrics will be exported from the cluster.
688
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
689
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
703
+ # The monitoring service the cluster should use to write metrics. Currently
704
+ # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
705
+ # Monitoring service with a Kubernetes-native resource model * `monitoring.
706
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
707
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
708
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
709
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
690
710
  # Corresponds to the JSON property `monitoringService`
691
711
  # @return [String]
692
712
  attr_accessor :monitoring_service
693
713
 
694
- # The name of this cluster. The name must be unique within this project
695
- # and location (e.g. zone or region), and can be up to 40 characters with
696
- # the following restrictions:
697
- # * Lowercase letters, numbers, and hyphens only.
698
- # * Must start with a letter.
699
- # * Must end with a number or a letter.
714
+ # The name of this cluster. The name must be unique within this project and
715
+ # location (e.g. zone or region), and can be up to 40 characters with the
716
+ # following restrictions: * Lowercase letters, numbers, and hyphens only. * Must
717
+ # start with a letter. * Must end with a number or a letter.
700
718
  # Corresponds to the JSON property `name`
701
719
  # @return [String]
702
720
  attr_accessor :name
703
721
 
704
- # The name of the Google Compute Engine
705
- # [network](https://cloud.google.com/compute/docs/networks-and-firewalls#
706
- # networks)
707
- # to which the cluster is connected. If left unspecified, the `default`
708
- # network will be used. On output this shows the network ID instead of the
709
- # name.
722
+ # The name of the Google Compute Engine [network](https://cloud.google.com/
723
+ # compute/docs/networks-and-firewalls#networks) to which the cluster is
724
+ # connected. If left unspecified, the `default` network will be used. On output
725
+ # this shows the network ID instead of the name.
710
726
  # Corresponds to the JSON property `network`
711
727
  # @return [String]
712
728
  attr_accessor :network
@@ -716,8 +732,8 @@ module Google
716
732
  # @return [Google::Apis::ContainerV1beta1::NetworkConfig]
717
733
  attr_accessor :network_config
718
734
 
719
- # Configuration options for the NetworkPolicy feature.
720
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
735
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
736
+ # docs/concepts/services-networking/networkpolicies/
721
737
  # Corresponds to the JSON property `networkPolicy`
722
738
  # @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
723
739
  attr_accessor :network_policy
@@ -728,20 +744,23 @@ module Google
728
744
  attr_accessor :node_config
729
745
 
730
746
  # [Output only] The size of the address space on each node for hosting
731
- # containers. This is provisioned from within the `container_ipv4_cidr`
732
- # range. This field will only be set when cluster is in route-based network
733
- # mode.
747
+ # containers. This is provisioned from within the `container_ipv4_cidr` range.
748
+ # This field will only be set when cluster is in route-based network mode.
734
749
  # Corresponds to the JSON property `nodeIpv4CidrSize`
735
750
  # @return [Fixnum]
736
751
  attr_accessor :node_ipv4_cidr_size
737
752
 
738
- # The node pools associated with this cluster.
739
- # This field should not be set if "node_config" or "initial_node_count" are
740
- # specified.
753
+ # The node pools associated with this cluster. This field should not be set if "
754
+ # node_config" or "initial_node_count" are specified.
741
755
  # Corresponds to the JSON property `nodePools`
742
756
  # @return [Array<Google::Apis::ContainerV1beta1::NodePool>]
743
757
  attr_accessor :node_pools
744
758
 
759
+ # NotificationConfig is the configuration of notifications.
760
+ # Corresponds to the JSON property `notificationConfig`
761
+ # @return [Google::Apis::ContainerV1beta1::NotificationConfig]
762
+ attr_accessor :notification_config
763
+
745
764
  # Configuration for the PodSecurityPolicy feature.
746
765
  # Corresponds to the JSON property `podSecurityPolicyConfig`
747
766
  # @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
@@ -749,9 +768,8 @@ module Google
749
768
 
750
769
  # If this is a private cluster setup. Private clusters are clusters that, by
751
770
  # default have no external IP addresses on the nodes and where nodes and the
752
- # master communicate over private IP addresses.
753
- # This field is deprecated, use private_cluster_config.enable_private_nodes
754
- # instead.
771
+ # master communicate over private IP addresses. This field is deprecated, use
772
+ # private_cluster_config.enable_private_nodes instead.
755
773
  # Corresponds to the JSON property `privateCluster`
756
774
  # @return [Boolean]
757
775
  attr_accessor :private_cluster
@@ -762,17 +780,16 @@ module Google
762
780
  # @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
763
781
  attr_accessor :private_cluster_config
764
782
 
765
- # ReleaseChannel indicates which release channel a cluster is
766
- # subscribed to. Release channels are arranged in order of risk.
767
- # When a cluster is subscribed to a release channel, Google maintains
768
- # both the master version and the node version. Node auto-upgrade
769
- # defaults to true and cannot be disabled.
783
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
784
+ # Release channels are arranged in order of risk. When a cluster is subscribed
785
+ # to a release channel, Google maintains both the master version and the node
786
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
770
787
  # Corresponds to the JSON property `releaseChannel`
771
788
  # @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
772
789
  attr_accessor :release_channel
773
790
 
774
- # The resource labels for the cluster to use to annotate any related
775
- # Google Compute Engine resources.
791
+ # The resource labels for the cluster to use to annotate any related Google
792
+ # Compute Engine resources.
776
793
  # Corresponds to the JSON property `resourceLabels`
777
794
  # @return [Hash<String,String>]
778
795
  attr_accessor :resource_labels
@@ -787,11 +804,10 @@ module Google
787
804
  # @return [String]
788
805
  attr_accessor :self_link
789
806
 
790
- # [Output only] The IP address range of the Kubernetes services in
791
- # this cluster, in
792
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
793
- # notation (e.g. `1.2.3.4/29`). Service addresses are
794
- # typically put in the last `/16` from the container CIDR.
807
+ # [Output only] The IP address range of the Kubernetes services in this cluster,
808
+ # in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
809
+ # notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
810
+ # /16` from the container CIDR.
795
811
  # Corresponds to the JSON property `servicesIpv4Cidr`
796
812
  # @return [String]
797
813
  attr_accessor :services_ipv4_cidr
@@ -806,16 +822,15 @@ module Google
806
822
  # @return [String]
807
823
  attr_accessor :status
808
824
 
809
- # [Output only] Additional information about the current status of this
810
- # cluster, if available.
825
+ # [Output only] Additional information about the current status of this cluster,
826
+ # if available.
811
827
  # Corresponds to the JSON property `statusMessage`
812
828
  # @return [String]
813
829
  attr_accessor :status_message
814
830
 
815
- # The name of the Google Compute Engine
816
- # [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
817
- # the cluster is connected. On output this shows the subnetwork ID instead of
818
- # the name.
831
+ # The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
832
+ # compute/docs/subnetworks) to which the cluster is connected. On output this
833
+ # shows the subnetwork ID instead of the name.
819
834
  # Corresponds to the JSON property `subnetwork`
820
835
  # @return [String]
821
836
  attr_accessor :subnetwork
@@ -825,29 +840,28 @@ module Google
825
840
  # @return [Google::Apis::ContainerV1beta1::TpuConfig]
826
841
  attr_accessor :tpu_config
827
842
 
828
- # [Output only] The IP address range of the Cloud TPUs in this cluster, in
829
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
830
- # notation (e.g. `1.2.3.4/29`).
843
+ # [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR]
844
+ # (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
845
+ # 1.2.3.4/29`).
831
846
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
832
847
  # @return [String]
833
848
  attr_accessor :tpu_ipv4_cidr_block
834
849
 
835
- # VerticalPodAutoscaling contains global, per-cluster information
836
- # required by Vertical Pod Autoscaler to automatically adjust
837
- # the resources of pods controlled by it.
850
+ # VerticalPodAutoscaling contains global, per-cluster information required by
851
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
852
+ # controlled by it.
838
853
  # Corresponds to the JSON property `verticalPodAutoscaling`
839
854
  # @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
840
855
  attr_accessor :vertical_pod_autoscaling
841
856
 
842
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
843
- # policies.
857
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
844
858
  # Corresponds to the JSON property `workloadIdentityConfig`
845
859
  # @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
846
860
  attr_accessor :workload_identity_config
847
861
 
848
- # [Output only] The name of the Google Compute Engine
849
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
850
- # cluster resides. This field is deprecated, use location instead.
862
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
863
+ # google.com/compute/docs/zones#available) in which the cluster resides. This
864
+ # field is deprecated, use location instead.
851
865
  # Corresponds to the JSON property `zone`
852
866
  # @return [String]
853
867
  attr_accessor :zone
@@ -865,6 +879,7 @@ module Google
865
879
  @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
866
880
  @cluster_telemetry = args[:cluster_telemetry] if args.key?(:cluster_telemetry)
867
881
  @conditions = args[:conditions] if args.key?(:conditions)
882
+ @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
868
883
  @create_time = args[:create_time] if args.key?(:create_time)
869
884
  @current_master_version = args[:current_master_version] if args.key?(:current_master_version)
870
885
  @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
@@ -898,6 +913,7 @@ module Google
898
913
  @node_config = args[:node_config] if args.key?(:node_config)
899
914
  @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
900
915
  @node_pools = args[:node_pools] if args.key?(:node_pools)
916
+ @notification_config = args[:notification_config] if args.key?(:notification_config)
901
917
  @pod_security_policy_config = args[:pod_security_policy_config] if args.key?(:pod_security_policy_config)
902
918
  @private_cluster = args[:private_cluster] if args.key?(:private_cluster)
903
919
  @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
@@ -918,22 +934,20 @@ module Google
918
934
  end
919
935
  end
920
936
 
921
- # ClusterAutoscaling contains global, per-cluster information
922
- # required by Cluster Autoscaler to automatically adjust
923
- # the size of the cluster and create/delete
924
- # node pools based on the current needs.
937
+ # ClusterAutoscaling contains global, per-cluster information required by
938
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
939
+ # delete node pools based on the current needs.
925
940
  class ClusterAutoscaling
926
941
  include Google::Apis::Core::Hashable
927
942
 
928
- # The list of Google Compute Engine
929
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
930
- # NodePool's nodes can be created by NAP.
943
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
944
+ # docs/zones#available) in which the NodePool's nodes can be created by NAP.
931
945
  # Corresponds to the JSON property `autoprovisioningLocations`
932
946
  # @return [Array<String>]
933
947
  attr_accessor :autoprovisioning_locations
934
948
 
935
- # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
936
- # by NAP.
949
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
950
+ # NAP.
937
951
  # Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
938
952
  # @return [Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults]
939
953
  attr_accessor :autoprovisioning_node_pool_defaults
@@ -949,8 +963,8 @@ module Google
949
963
  attr_accessor :enable_node_autoprovisioning
950
964
  alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
951
965
 
952
- # Contains global constraints regarding minimum and maximum
953
- # amount of resources in the cluster.
966
+ # Contains global constraints regarding minimum and maximum amount of resources
967
+ # in the cluster.
954
968
  # Corresponds to the JSON property `resourceLimits`
955
969
  # @return [Array<Google::Apis::ContainerV1beta1::ResourceLimit>]
956
970
  attr_accessor :resource_limits
@@ -988,14 +1002,13 @@ module Google
988
1002
  end
989
1003
  end
990
1004
 
991
- # ClusterUpdate describes an update to the cluster. Exactly one update can
992
- # be applied to a cluster with each request, so at most one field can be
993
- # provided.
1005
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
1006
+ # applied to a cluster with each request, so at most one field can be provided.
994
1007
  class ClusterUpdate
995
1008
  include Google::Apis::Core::Hashable
996
1009
 
997
- # Configuration for the addons that can be automatically spun up in the
998
- # cluster, enabling additional functionality.
1010
+ # Configuration for the addons that can be automatically spun up in the cluster,
1011
+ # enabling additional functionality.
999
1012
  # Corresponds to the JSON property `desiredAddonsConfig`
1000
1013
  # @return [Google::Apis::ContainerV1beta1::AddonsConfig]
1001
1014
  attr_accessor :desired_addons_config
@@ -1005,10 +1018,9 @@ module Google
1005
1018
  # @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
1006
1019
  attr_accessor :desired_binary_authorization
1007
1020
 
1008
- # ClusterAutoscaling contains global, per-cluster information
1009
- # required by Cluster Autoscaler to automatically adjust
1010
- # the size of the cluster and create/delete
1011
- # node pools based on the current needs.
1021
+ # ClusterAutoscaling contains global, per-cluster information required by
1022
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
1023
+ # delete node pools based on the current needs.
1012
1024
  # Corresponds to the JSON property `desiredClusterAutoscaling`
1013
1025
  # @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
1014
1026
  attr_accessor :desired_cluster_autoscaling
@@ -1023,14 +1035,19 @@ module Google
1023
1035
  # @return [Google::Apis::ContainerV1beta1::DatabaseEncryption]
1024
1036
  attr_accessor :desired_database_encryption
1025
1037
 
1026
- # DefaultSnatStatus contains the desired state of whether default sNAT should
1027
- # be disabled on the cluster.
1038
+ # The desired datapath provider for the cluster.
1039
+ # Corresponds to the JSON property `desiredDatapathProvider`
1040
+ # @return [String]
1041
+ attr_accessor :desired_datapath_provider
1042
+
1043
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
1044
+ # disabled on the cluster.
1028
1045
  # Corresponds to the JSON property `desiredDefaultSnatStatus`
1029
1046
  # @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
1030
1047
  attr_accessor :desired_default_snat_status
1031
1048
 
1032
- # The desired image type for the node pool.
1033
- # NOTE: Set the "desired_node_pool" field as well.
1049
+ # The desired image type for the node pool. NOTE: Set the "desired_node_pool"
1050
+ # field as well.
1034
1051
  # Corresponds to the JSON property `desiredImageType`
1035
1052
  # @return [String]
1036
1053
  attr_accessor :desired_image_type
@@ -1041,25 +1058,22 @@ module Google
1041
1058
  # @return [Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig]
1042
1059
  attr_accessor :desired_intra_node_visibility_config
1043
1060
 
1044
- # The desired list of Google Compute Engine
1045
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
1046
- # cluster's nodes should be located. Changing the locations a cluster is in
1047
- # will result in nodes being either created or removed from the cluster,
1048
- # depending on whether locations are being added or removed.
1049
- # This list must always include the cluster's primary zone.
1061
+ # The desired list of Google Compute Engine [zones](https://cloud.google.com/
1062
+ # compute/docs/zones#available) in which the cluster's nodes should be located.
1063
+ # This list must always include the cluster's primary zone. Warning: changing
1064
+ # cluster locations will update the locations of all node pools and will result
1065
+ # in nodes being added and/or removed.
1050
1066
  # Corresponds to the JSON property `desiredLocations`
1051
1067
  # @return [Array<String>]
1052
1068
  attr_accessor :desired_locations
1053
1069
 
1054
- # The logging service the cluster should use to write logs.
1055
- # Currently available options:
1056
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
1057
- # service with a Kubernetes-native resource model
1058
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
1059
- # available as of GKE 1.15).
1060
- # * `none` - no logs will be exported from the cluster.
1061
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
1062
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
1070
+ # The logging service the cluster should use to write logs. Currently available
1071
+ # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
1072
+ # with a Kubernetes-native resource model * `logging.googleapis.com` - The
1073
+ # legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
1074
+ # no logs will be exported from the cluster. If left as an empty string,`logging.
1075
+ # googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
1076
+ # com` for earlier versions.
1063
1077
  # Corresponds to the JSON property `desiredLoggingService`
1064
1078
  # @return [String]
1065
1079
  attr_accessor :desired_logging_service
@@ -1078,27 +1092,23 @@ module Google
1078
1092
  attr_accessor :desired_master_authorized_networks_config
1079
1093
 
1080
1094
  # The Kubernetes version to change the master to. The only valid value is the
1081
- # latest supported version.
1082
- # Users may specify either explicit versions offered by
1083
- # Kubernetes Engine or version aliases, which have the following behavior:
1084
- # - "latest": picks the highest valid Kubernetes version
1085
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
1086
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
1087
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
1088
- # - "-": picks the default Kubernetes version
1095
+ # latest supported version. Users may specify either explicit versions offered
1096
+ # by Kubernetes Engine or version aliases, which have the following behavior: - "
1097
+ # latest": picks the highest valid Kubernetes version - "1.X": picks the highest
1098
+ # valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
1099
+ # gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
1100
+ # version - "-": picks the default Kubernetes version
1089
1101
  # Corresponds to the JSON property `desiredMasterVersion`
1090
1102
  # @return [String]
1091
1103
  attr_accessor :desired_master_version
1092
1104
 
1093
- # The monitoring service the cluster should use to write metrics.
1094
- # Currently available options:
1095
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
1096
- # service with a Kubernetes-native resource model
1097
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
1098
- # longer available as of GKE 1.15).
1099
- # * `none` - No metrics will be exported from the cluster.
1100
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
1101
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
1105
+ # The monitoring service the cluster should use to write metrics. Currently
1106
+ # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
1107
+ # Monitoring service with a Kubernetes-native resource model * `monitoring.
1108
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
1109
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
1110
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
1111
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
1102
1112
  # Corresponds to the JSON property `desiredMonitoringService`
1103
1113
  # @return [String]
1104
1114
  attr_accessor :desired_monitoring_service
@@ -1109,27 +1119,30 @@ module Google
1109
1119
  # @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
1110
1120
  attr_accessor :desired_node_pool_autoscaling
1111
1121
 
1112
- # The node pool to be upgraded. This field is mandatory if
1113
- # "desired_node_version", "desired_image_family",
1114
- # "desired_node_pool_autoscaling", or "desired_workload_metadata_config"
1115
- # is specified and there is more than one node pool on the cluster.
1122
+ # The node pool to be upgraded. This field is mandatory if "desired_node_version"
1123
+ # , "desired_image_family", "desired_node_pool_autoscaling", or "
1124
+ # desired_workload_metadata_config" is specified and there is more than one node
1125
+ # pool on the cluster.
1116
1126
  # Corresponds to the JSON property `desiredNodePoolId`
1117
1127
  # @return [String]
1118
1128
  attr_accessor :desired_node_pool_id
1119
1129
 
1120
- # The Kubernetes version to change the nodes to (typically an
1121
- # upgrade).
1122
- # Users may specify either explicit versions offered by
1123
- # Kubernetes Engine or version aliases, which have the following behavior:
1124
- # - "latest": picks the highest valid Kubernetes version
1125
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
1126
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
1127
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
1128
- # - "-": picks the Kubernetes master version
1130
+ # The Kubernetes version to change the nodes to (typically an upgrade). Users
1131
+ # may specify either explicit versions offered by Kubernetes Engine or version
1132
+ # aliases, which have the following behavior: - "latest": picks the highest
1133
+ # valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in
1134
+ # the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y
1135
+ # version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the
1136
+ # Kubernetes master version
1129
1137
  # Corresponds to the JSON property `desiredNodeVersion`
1130
1138
  # @return [String]
1131
1139
  attr_accessor :desired_node_version
1132
1140
 
1141
+ # NotificationConfig is the configuration of notifications.
1142
+ # Corresponds to the JSON property `desiredNotificationConfig`
1143
+ # @return [Google::Apis::ContainerV1beta1::NotificationConfig]
1144
+ attr_accessor :desired_notification_config
1145
+
1133
1146
  # Configuration for the PodSecurityPolicy feature.
1134
1147
  # Corresponds to the JSON property `desiredPodSecurityPolicyConfig`
1135
1148
  # @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
@@ -1140,11 +1153,10 @@ module Google
1140
1153
  # @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
1141
1154
  attr_accessor :desired_private_cluster_config
1142
1155
 
1143
- # ReleaseChannel indicates which release channel a cluster is
1144
- # subscribed to. Release channels are arranged in order of risk.
1145
- # When a cluster is subscribed to a release channel, Google maintains
1146
- # both the master version and the node version. Node auto-upgrade
1147
- # defaults to true and cannot be disabled.
1156
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
1157
+ # Release channels are arranged in order of risk. When a cluster is subscribed
1158
+ # to a release channel, Google maintains both the master version and the node
1159
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
1148
1160
  # Corresponds to the JSON property `desiredReleaseChannel`
1149
1161
  # @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
1150
1162
  attr_accessor :desired_release_channel
@@ -1164,15 +1176,14 @@ module Google
1164
1176
  # @return [Google::Apis::ContainerV1beta1::TpuConfig]
1165
1177
  attr_accessor :desired_tpu_config
1166
1178
 
1167
- # VerticalPodAutoscaling contains global, per-cluster information
1168
- # required by Vertical Pod Autoscaler to automatically adjust
1169
- # the resources of pods controlled by it.
1179
+ # VerticalPodAutoscaling contains global, per-cluster information required by
1180
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
1181
+ # controlled by it.
1170
1182
  # Corresponds to the JSON property `desiredVerticalPodAutoscaling`
1171
1183
  # @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
1172
1184
  attr_accessor :desired_vertical_pod_autoscaling
1173
1185
 
1174
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
1175
- # policies.
1186
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
1176
1187
  # Corresponds to the JSON property `desiredWorkloadIdentityConfig`
1177
1188
  # @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
1178
1189
  attr_accessor :desired_workload_identity_config
@@ -1188,6 +1199,7 @@ module Google
1188
1199
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1189
1200
  @desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
1190
1201
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
1202
+ @desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
1191
1203
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1192
1204
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1193
1205
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
@@ -1200,6 +1212,7 @@ module Google
1200
1212
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1201
1213
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1202
1214
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
1215
+ @desired_notification_config = args[:desired_notification_config] if args.key?(:desired_notification_config)
1203
1216
  @desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
1204
1217
  @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
1205
1218
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
@@ -1215,8 +1228,8 @@ module Google
1215
1228
  class CompleteIpRotationRequest
1216
1229
  include Google::Apis::Core::Hashable
1217
1230
 
1218
- # Required. Deprecated. The name of the cluster.
1219
- # This field has been deprecated and replaced by the name field.
1231
+ # Required. Deprecated. The name of the cluster. This field has been deprecated
1232
+ # and replaced by the name field.
1220
1233
  # Corresponds to the JSON property `clusterId`
1221
1234
  # @return [String]
1222
1235
  attr_accessor :cluster_id
@@ -1228,16 +1241,15 @@ module Google
1228
1241
  attr_accessor :name
1229
1242
 
1230
1243
  # Required. Deprecated. The Google Developers Console [project ID or project
1231
- # number](https://developers.google.com/console/help/new/#projectnumber).
1232
- # This field has been deprecated and replaced by the name field.
1244
+ # number](https://developers.google.com/console/help/new/#projectnumber). This
1245
+ # field has been deprecated and replaced by the name field.
1233
1246
  # Corresponds to the JSON property `projectId`
1234
1247
  # @return [String]
1235
1248
  attr_accessor :project_id
1236
1249
 
1237
- # Required. Deprecated. The name of the Google Compute Engine
1238
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1239
- # cluster resides. This field has been deprecated and replaced by the name
1240
- # field.
1250
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
1251
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
1252
+ # This field has been deprecated and replaced by the name field.
1241
1253
  # Corresponds to the JSON property `zone`
1242
1254
  # @return [String]
1243
1255
  attr_accessor :zone
@@ -1255,6 +1267,27 @@ module Google
1255
1267
  end
1256
1268
  end
1257
1269
 
1270
+ # ConfidentialNodes is configuration for the confidential nodes feature, which
1271
+ # makes nodes run on confidential VMs.
1272
+ class ConfidentialNodes
1273
+ include Google::Apis::Core::Hashable
1274
+
1275
+ # Whether Confidential Nodes feature is enabled for all nodes in this cluster.
1276
+ # Corresponds to the JSON property `enabled`
1277
+ # @return [Boolean]
1278
+ attr_accessor :enabled
1279
+ alias_method :enabled?, :enabled
1280
+
1281
+ def initialize(**args)
1282
+ update!(**args)
1283
+ end
1284
+
1285
+ # Update properties of this object
1286
+ def update!(**args)
1287
+ @enabled = args[:enabled] if args.key?(:enabled)
1288
+ end
1289
+ end
1290
+
1258
1291
  # Configuration options for the Config Connector add-on.
1259
1292
  class ConfigConnectorConfig
1260
1293
  include Google::Apis::Core::Hashable
@@ -1279,9 +1312,8 @@ module Google
1279
1312
  class ConsumptionMeteringConfig
1280
1313
  include Google::Apis::Core::Hashable
1281
1314
 
1282
- # Whether to enable consumption metering for this cluster. If enabled, a
1283
- # second BigQuery table will be created to hold resource consumption
1284
- # records.
1315
+ # Whether to enable consumption metering for this cluster. If enabled, a second
1316
+ # BigQuery table will be created to hold resource consumption records.
1285
1317
  # Corresponds to the JSON property `enabled`
1286
1318
  # @return [Boolean]
1287
1319
  attr_accessor :enabled
@@ -1306,23 +1338,22 @@ module Google
1306
1338
  # @return [Google::Apis::ContainerV1beta1::Cluster]
1307
1339
  attr_accessor :cluster
1308
1340
 
1309
- # The parent (project and location) where the cluster will be created.
1310
- # Specified in the format `projects/*/locations/*`.
1341
+ # The parent (project and location) where the cluster will be created. Specified
1342
+ # in the format `projects/*/locations/*`.
1311
1343
  # Corresponds to the JSON property `parent`
1312
1344
  # @return [String]
1313
1345
  attr_accessor :parent
1314
1346
 
1315
1347
  # Required. Deprecated. The Google Developers Console [project ID or project
1316
- # number](https://support.google.com/cloud/answer/6158840).
1317
- # This field has been deprecated and replaced by the parent field.
1348
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
1349
+ # deprecated and replaced by the parent field.
1318
1350
  # Corresponds to the JSON property `projectId`
1319
1351
  # @return [String]
1320
1352
  attr_accessor :project_id
1321
1353
 
1322
- # Required. Deprecated. The name of the Google Compute Engine
1323
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1324
- # cluster resides. This field has been deprecated and replaced by the parent
1325
- # field.
1354
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
1355
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
1356
+ # This field has been deprecated and replaced by the parent field.
1326
1357
  # Corresponds to the JSON property `zone`
1327
1358
  # @return [String]
1328
1359
  attr_accessor :zone
@@ -1344,40 +1375,38 @@ module Google
1344
1375
  class CreateNodePoolRequest
1345
1376
  include Google::Apis::Core::Hashable
1346
1377
 
1347
- # Required. Deprecated. The name of the cluster.
1348
- # This field has been deprecated and replaced by the parent field.
1378
+ # Required. Deprecated. The name of the cluster. This field has been deprecated
1379
+ # and replaced by the parent field.
1349
1380
  # Corresponds to the JSON property `clusterId`
1350
1381
  # @return [String]
1351
1382
  attr_accessor :cluster_id
1352
1383
 
1353
- # NodePool contains the name and configuration for a cluster's node pool.
1354
- # Node pools are a set of nodes (i.e. VM's), with a common configuration and
1355
- # specification, under the control of the cluster master. They may have a set
1356
- # of Kubernetes labels applied to them, which may be used to reference them
1357
- # during pod scheduling. They may also be resized up or down, to accommodate
1358
- # the workload.
1384
+ # NodePool contains the name and configuration for a cluster's node pool. Node
1385
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
1386
+ # specification, under the control of the cluster master. They may have a set of
1387
+ # Kubernetes labels applied to them, which may be used to reference them during
1388
+ # pod scheduling. They may also be resized up or down, to accommodate the
1389
+ # workload.
1359
1390
  # Corresponds to the JSON property `nodePool`
1360
1391
  # @return [Google::Apis::ContainerV1beta1::NodePool]
1361
1392
  attr_accessor :node_pool
1362
1393
 
1363
- # The parent (project, location, cluster id) where the node pool will be
1364
- # created. Specified in the format
1365
- # `projects/*/locations/*/clusters/*`.
1394
+ # The parent (project, location, cluster id) where the node pool will be created.
1395
+ # Specified in the format `projects/*/locations/*/clusters/*`.
1366
1396
  # Corresponds to the JSON property `parent`
1367
1397
  # @return [String]
1368
1398
  attr_accessor :parent
1369
1399
 
1370
1400
  # Required. Deprecated. The Google Developers Console [project ID or project
1371
- # number](https://developers.google.com/console/help/new/#projectnumber).
1372
- # This field has been deprecated and replaced by the parent field.
1401
+ # number](https://developers.google.com/console/help/new/#projectnumber). This
1402
+ # field has been deprecated and replaced by the parent field.
1373
1403
  # Corresponds to the JSON property `projectId`
1374
1404
  # @return [String]
1375
1405
  attr_accessor :project_id
1376
1406
 
1377
- # Required. Deprecated. The name of the Google Compute Engine
1378
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1379
- # cluster resides. This field has been deprecated and replaced by the parent
1380
- # field.
1407
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
1408
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
1409
+ # This field has been deprecated and replaced by the parent field.
1381
1410
  # Corresponds to the JSON property `zone`
1382
1411
  # @return [String]
1383
1412
  attr_accessor :zone
@@ -1400,14 +1429,14 @@ module Google
1400
1429
  class DailyMaintenanceWindow
1401
1430
  include Google::Apis::Core::Hashable
1402
1431
 
1403
- # [Output only] Duration of the time window, automatically chosen to be
1404
- # smallest possible in the given scenario.
1432
+ # [Output only] Duration of the time window, automatically chosen to be smallest
1433
+ # possible in the given scenario.
1405
1434
  # Corresponds to the JSON property `duration`
1406
1435
  # @return [String]
1407
1436
  attr_accessor :duration
1408
1437
 
1409
- # Time within the maintenance window to start the maintenance operations.
1410
- # It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
1438
+ # Time within the maintenance window to start the maintenance operations. It
1439
+ # must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
1411
1440
  # Corresponds to the JSON property `startTime`
1412
1441
  # @return [String]
1413
1442
  attr_accessor :start_time
@@ -1427,8 +1456,8 @@ module Google
1427
1456
  class DatabaseEncryption
1428
1457
  include Google::Apis::Core::Hashable
1429
1458
 
1430
- # Name of CloudKMS key to use for the encryption of secrets in etcd.
1431
- # Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1459
+ # Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
1460
+ # projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1432
1461
  # Corresponds to the JSON property `keyName`
1433
1462
  # @return [String]
1434
1463
  attr_accessor :key_name
@@ -1449,8 +1478,8 @@ module Google
1449
1478
  end
1450
1479
  end
1451
1480
 
1452
- # DefaultSnatStatus contains the desired state of whether default sNAT should
1453
- # be disabled on the cluster.
1481
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
1482
+ # disabled on the cluster.
1454
1483
  class DefaultSnatStatus
1455
1484
  include Google::Apis::Core::Hashable
1456
1485
 
@@ -1490,13 +1519,11 @@ module Google
1490
1519
  end
1491
1520
  end
1492
1521
 
1493
- # A generic empty message that you can re-use to avoid defining duplicated
1494
- # empty messages in your APIs. A typical example is to use it as the request
1495
- # or the response type of an API method. For instance:
1496
- # service Foo `
1497
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1498
- # `
1499
- # The JSON representation for `Empty` is empty JSON object ````.
1522
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1523
+ # messages in your APIs. A typical example is to use it as the request or the
1524
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1525
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1526
+ # `Empty` is empty JSON object ````.
1500
1527
  class Empty
1501
1528
  include Google::Apis::Core::Hashable
1502
1529
 
@@ -1539,8 +1566,7 @@ module Google
1539
1566
  # @return [Google::Apis::ContainerV1beta1::HttpCacheControlResponseHeader]
1540
1567
  attr_accessor :cache_header
1541
1568
 
1542
- # The public component of the keys used by the cluster to sign token
1543
- # requests.
1569
+ # The public component of the keys used by the cluster to sign token requests.
1544
1570
  # Corresponds to the JSON property `keys`
1545
1571
  # @return [Array<Google::Apis::ContainerV1beta1::Jwk>]
1546
1572
  attr_accessor :keys
@@ -1556,8 +1582,8 @@ module Google
1556
1582
  end
1557
1583
  end
1558
1584
 
1559
- # GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
1560
- # See the OpenID Connect Discovery 1.0 specification for details.
1585
+ # GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the
1586
+ # OpenID Connect Discovery 1.0 specification for details.
1561
1587
  class GetOpenIdConfigResponse
1562
1588
  include Google::Apis::Core::Hashable
1563
1589
 
@@ -1619,14 +1645,13 @@ module Google
1619
1645
  end
1620
1646
 
1621
1647
  # Configuration options for the horizontal pod autoscaling feature, which
1622
- # increases or decreases the number of replica pods a replication controller
1623
- # has based on the resource usage of the existing pods.
1648
+ # increases or decreases the number of replica pods a replication controller has
1649
+ # based on the resource usage of the existing pods.
1624
1650
  class HorizontalPodAutoscaling
1625
1651
  include Google::Apis::Core::Hashable
1626
1652
 
1627
- # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
1628
- # When enabled, it ensures that metrics are collected into Stackdriver
1629
- # Monitoring.
1653
+ # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
1654
+ # enabled, it ensures that metrics are collected into Stackdriver Monitoring.
1630
1655
  # Corresponds to the JSON property `disabled`
1631
1656
  # @return [Boolean]
1632
1657
  attr_accessor :disabled
@@ -1673,14 +1698,13 @@ module Google
1673
1698
  end
1674
1699
  end
1675
1700
 
1676
- # Configuration options for the HTTP (L7) load balancing controller addon,
1677
- # which makes it easy to set up HTTP load balancers for services in a cluster.
1701
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
1702
+ # makes it easy to set up HTTP load balancers for services in a cluster.
1678
1703
  class HttpLoadBalancing
1679
1704
  include Google::Apis::Core::Hashable
1680
1705
 
1681
- # Whether the HTTP Load Balancing controller is enabled in the cluster.
1682
- # When enabled, it runs a small pod in the cluster that manages the load
1683
- # balancers.
1706
+ # Whether the HTTP Load Balancing controller is enabled in the cluster. When
1707
+ # enabled, it runs a small pod in the cluster that manages the load balancers.
1684
1708
  # Corresponds to the JSON property `disabled`
1685
1709
  # @return [Boolean]
1686
1710
  attr_accessor :disabled
@@ -1702,15 +1726,13 @@ module Google
1702
1726
 
1703
1727
  # If true, allow allocation of cluster CIDR ranges that overlap with certain
1704
1728
  # kinds of network routes. By default we do not allow cluster CIDR ranges to
1705
- # intersect with any user declared routes. With allow_route_overlap == true,
1706
- # we allow overlapping with CIDR ranges that are larger than the cluster CIDR
1707
- # range.
1708
- # If this field is set to true, then cluster and services CIDRs must be
1709
- # fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means:
1710
- # 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and
1711
- # `services_ipv4_cidr_block` must be fully-specified.
1712
- # 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be
1713
- # fully-specified.
1729
+ # intersect with any user declared routes. With allow_route_overlap == true, we
1730
+ # allow overlapping with CIDR ranges that are larger than the cluster CIDR range.
1731
+ # If this field is set to true, then cluster and services CIDRs must be fully-
1732
+ # specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) When `
1733
+ # use_ip_aliases` is true, `cluster_ipv4_cidr_block` and `
1734
+ # services_ipv4_cidr_block` must be fully-specified. 2) When `use_ip_aliases` is
1735
+ # false, `cluster.cluster_ipv4_cidr` muse be fully-specified.
1714
1736
  # Corresponds to the JSON property `allowRouteOverlap`
1715
1737
  # @return [Boolean]
1716
1738
  attr_accessor :allow_route_overlap
@@ -1721,33 +1743,28 @@ module Google
1721
1743
  # @return [String]
1722
1744
  attr_accessor :cluster_ipv4_cidr
1723
1745
 
1724
- # The IP address range for the cluster pod IPs. If this field is set, then
1725
- # `cluster.cluster_ipv4_cidr` must be left blank.
1726
- # This field is only applicable when `use_ip_aliases` is true.
1727
- # Set to blank to have a range chosen with the default size.
1728
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1729
- # netmask.
1730
- # Set to a
1731
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1732
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1733
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1734
- # to use.
1746
+ # The IP address range for the cluster pod IPs. If this field is set, then `
1747
+ # cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable
1748
+ # when `use_ip_aliases` is true. Set to blank to have a range chosen with the
1749
+ # default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1750
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1751
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1752
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1753
+ # specific range to use.
1735
1754
  # Corresponds to the JSON property `clusterIpv4CidrBlock`
1736
1755
  # @return [String]
1737
1756
  attr_accessor :cluster_ipv4_cidr_block
1738
1757
 
1739
- # The name of the secondary range to be used for the cluster CIDR
1740
- # block. The secondary range will be used for pod IP
1741
- # addresses. This must be an existing secondary range associated
1742
- # with the cluster subnetwork.
1743
- # This field is only applicable with use_ip_aliases and
1744
- # create_subnetwork is false.
1758
+ # The name of the secondary range to be used for the cluster CIDR block. The
1759
+ # secondary range will be used for pod IP addresses. This must be an existing
1760
+ # secondary range associated with the cluster subnetwork. This field is only
1761
+ # applicable with use_ip_aliases and create_subnetwork is false.
1745
1762
  # Corresponds to the JSON property `clusterSecondaryRangeName`
1746
1763
  # @return [String]
1747
1764
  attr_accessor :cluster_secondary_range_name
1748
1765
 
1749
- # Whether a new subnetwork will be created automatically for the cluster.
1750
- # This field is only applicable when `use_ip_aliases` is true.
1766
+ # Whether a new subnetwork will be created automatically for the cluster. This
1767
+ # field is only applicable when `use_ip_aliases` is true.
1751
1768
  # Corresponds to the JSON property `createSubnetwork`
1752
1769
  # @return [Boolean]
1753
1770
  attr_accessor :create_subnetwork
@@ -1758,16 +1775,13 @@ module Google
1758
1775
  # @return [String]
1759
1776
  attr_accessor :node_ipv4_cidr
1760
1777
 
1761
- # The IP address range of the instance IPs in this cluster.
1762
- # This is applicable only if `create_subnetwork` is true.
1763
- # Set to blank to have a range chosen with the default size.
1764
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1765
- # netmask.
1766
- # Set to a
1767
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1768
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1769
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1770
- # to use.
1778
+ # The IP address range of the instance IPs in this cluster. This is applicable
1779
+ # only if `create_subnetwork` is true. Set to blank to have a range chosen with
1780
+ # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1781
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1782
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1783
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1784
+ # specific range to use.
1771
1785
  # Corresponds to the JSON property `nodeIpv4CidrBlock`
1772
1786
  # @return [String]
1773
1787
  attr_accessor :node_ipv4_cidr_block
@@ -1778,66 +1792,57 @@ module Google
1778
1792
  attr_accessor :services_ipv4_cidr
1779
1793
 
1780
1794
  # The IP address range of the services IPs in this cluster. If blank, a range
1781
- # will be automatically chosen with the default size.
1782
- # This field is only applicable when `use_ip_aliases` is true.
1783
- # Set to blank to have a range chosen with the default size.
1784
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1785
- # netmask.
1786
- # Set to a
1787
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1788
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1789
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1790
- # to use.
1795
+ # will be automatically chosen with the default size. This field is only
1796
+ # applicable when `use_ip_aliases` is true. Set to blank to have a range chosen
1797
+ # with the default size. Set to /netmask (e.g. `/14`) to have a range chosen
1798
+ # with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/
1799
+ # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
1800
+ # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
1801
+ # to pick a specific range to use.
1791
1802
  # Corresponds to the JSON property `servicesIpv4CidrBlock`
1792
1803
  # @return [String]
1793
1804
  attr_accessor :services_ipv4_cidr_block
1794
1805
 
1795
- # The name of the secondary range to be used as for the services
1796
- # CIDR block. The secondary range will be used for service
1797
- # ClusterIPs. This must be an existing secondary range associated
1798
- # with the cluster subnetwork.
1799
- # This field is only applicable with use_ip_aliases and
1800
- # create_subnetwork is false.
1806
+ # The name of the secondary range to be used as for the services CIDR block. The
1807
+ # secondary range will be used for service ClusterIPs. This must be an existing
1808
+ # secondary range associated with the cluster subnetwork. This field is only
1809
+ # applicable with use_ip_aliases and create_subnetwork is false.
1801
1810
  # Corresponds to the JSON property `servicesSecondaryRangeName`
1802
1811
  # @return [String]
1803
1812
  attr_accessor :services_secondary_range_name
1804
1813
 
1805
- # A custom subnetwork name to be used if `create_subnetwork` is true. If
1806
- # this field is empty, then an automatic name will be chosen for the new
1807
- # subnetwork.
1814
+ # A custom subnetwork name to be used if `create_subnetwork` is true. If this
1815
+ # field is empty, then an automatic name will be chosen for the new subnetwork.
1808
1816
  # Corresponds to the JSON property `subnetworkName`
1809
1817
  # @return [String]
1810
1818
  attr_accessor :subnetwork_name
1811
1819
 
1812
1820
  # The IP address range of the Cloud TPUs in this cluster. If unspecified, a
1813
- # range will be automatically chosen with the default size.
1814
- # This field is only applicable when `use_ip_aliases` is true.
1815
- # If unspecified, the range will use the default size.
1816
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1817
- # netmask.
1818
- # Set to a
1819
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1820
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1821
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1822
- # to use.
1823
- # This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.
1821
+ # range will be automatically chosen with the default size. This field is only
1822
+ # applicable when `use_ip_aliases` is true. If unspecified, the range will use
1823
+ # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1824
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1825
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1826
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1827
+ # specific range to use. This field is deprecated, use cluster.tpu_config.
1828
+ # ipv4_cidr_block instead.
1824
1829
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
1825
1830
  # @return [String]
1826
1831
  attr_accessor :tpu_ipv4_cidr_block
1827
1832
 
1828
- # Whether alias IPs will be used for pod IPs in the cluster.
1829
- # This is used in conjunction with use_routes. It cannot
1830
- # be true if use_routes is true. If both use_ip_aliases and use_routes are
1831
- # false, then the server picks the default IP allocation mode
1833
+ # Whether alias IPs will be used for pod IPs in the cluster. This is used in
1834
+ # conjunction with use_routes. It cannot be true if use_routes is true. If both
1835
+ # use_ip_aliases and use_routes are false, then the server picks the default IP
1836
+ # allocation mode
1832
1837
  # Corresponds to the JSON property `useIpAliases`
1833
1838
  # @return [Boolean]
1834
1839
  attr_accessor :use_ip_aliases
1835
1840
  alias_method :use_ip_aliases?, :use_ip_aliases
1836
1841
 
1837
- # Whether routes will be used for pod IPs in the cluster.
1838
- # This is used in conjunction with use_ip_aliases. It cannot be true if
1839
- # use_ip_aliases is true. If both use_ip_aliases and use_routes are false,
1840
- # then the server picks the default IP allocation mode
1842
+ # Whether routes will be used for pod IPs in the cluster. This is used in
1843
+ # conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true.
1844
+ # If both use_ip_aliases and use_routes are false, then the server picks the
1845
+ # default IP allocation mode
1841
1846
  # Corresponds to the JSON property `useRoutes`
1842
1847
  # @return [Boolean]
1843
1848
  attr_accessor :use_routes
@@ -2020,15 +2025,14 @@ module Google
2020
2025
  end
2021
2026
  end
2022
2027
 
2023
- # Configuration for the legacy Attribute Based Access Control authorization
2024
- # mode.
2028
+ # Configuration for the legacy Attribute Based Access Control authorization mode.
2025
2029
  class LegacyAbac
2026
2030
  include Google::Apis::Core::Hashable
2027
2031
 
2028
2032
  # Whether the ABAC authorizer is enabled for this cluster. When enabled,
2029
- # identities in the system, including service accounts, nodes, and
2030
- # controllers, will have statically granted permissions beyond those
2031
- # provided by the RBAC configuration or IAM.
2033
+ # identities in the system, including service accounts, nodes, and controllers,
2034
+ # will have statically granted permissions beyond those provided by the RBAC
2035
+ # configuration or IAM.
2032
2036
  # Corresponds to the JSON property `enabled`
2033
2037
  # @return [Boolean]
2034
2038
  attr_accessor :enabled
@@ -2048,18 +2052,10 @@ module Google
2048
2052
  class LinuxNodeConfig
2049
2053
  include Google::Apis::Core::Hashable
2050
2054
 
2051
- # The Linux kernel parameters to be applied to the nodes and all pods running
2052
- # on the nodes.
2053
- # The following parameters are supported.
2054
- # net.core.netdev_max_backlog
2055
- # net.core.rmem_max
2056
- # net.core.wmem_default
2057
- # net.core.wmem_max
2058
- # net.core.optmem_max
2059
- # net.core.somaxconn
2060
- # net.ipv4.tcp_rmem
2061
- # net.ipv4.tcp_wmem
2062
- # net.ipv4.tcp_tw_reuse
2055
+ # The Linux kernel parameters to be applied to the nodes and all pods running on
2056
+ # the nodes. The following parameters are supported. net.core.netdev_max_backlog
2057
+ # net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max
2058
+ # net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
2063
2059
  # Corresponds to the JSON property `sysctls`
2064
2060
  # @return [Hash<String,String>]
2065
2061
  attr_accessor :sysctls
@@ -2078,14 +2074,13 @@ module Google
2078
2074
  class ListClustersResponse
2079
2075
  include Google::Apis::Core::Hashable
2080
2076
 
2081
- # A list of clusters in the project in the specified zone, or
2082
- # across all ones.
2077
+ # A list of clusters in the project in the specified zone, or across all ones.
2083
2078
  # Corresponds to the JSON property `clusters`
2084
2079
  # @return [Array<Google::Apis::ContainerV1beta1::Cluster>]
2085
2080
  attr_accessor :clusters
2086
2081
 
2087
- # If any zones are listed here, the list of clusters returned
2088
- # may be missing those zones.
2082
+ # If any zones are listed here, the list of clusters returned may be missing
2083
+ # those zones.
2089
2084
  # Corresponds to the JSON property `missingZones`
2090
2085
  # @return [Array<String>]
2091
2086
  attr_accessor :missing_zones
@@ -2111,10 +2106,10 @@ module Google
2111
2106
  # @return [Array<Google::Apis::ContainerV1beta1::Location>]
2112
2107
  attr_accessor :locations
2113
2108
 
2114
- # Only return ListLocationsResponse that occur after the page_token. This
2115
- # value should be populated from the ListLocationsResponse.next_page_token if
2116
- # that response token was set (which happens when listing more Locations than
2117
- # fit in a single ListLocationsResponse).
2109
+ # Only return ListLocationsResponse that occur after the page_token. This value
2110
+ # should be populated from the ListLocationsResponse.next_page_token if that
2111
+ # response token was set (which happens when listing more Locations than fit in
2112
+ # a single ListLocationsResponse).
2118
2113
  # Corresponds to the JSON property `nextPageToken`
2119
2114
  # @return [String]
2120
2115
  attr_accessor :next_page_token
@@ -2153,8 +2148,8 @@ module Google
2153
2148
  class ListOperationsResponse
2154
2149
  include Google::Apis::Core::Hashable
2155
2150
 
2156
- # If any zones are listed here, the list of operations returned
2157
- # may be missing the operations from those zones.
2151
+ # If any zones are listed here, the list of operations returned may be missing
2152
+ # the operations from those zones.
2158
2153
  # Corresponds to the JSON property `missingZones`
2159
2154
  # @return [Array<String>]
2160
2155
  attr_accessor :missing_zones
@@ -2175,15 +2170,14 @@ module Google
2175
2170
  end
2176
2171
  end
2177
2172
 
2178
- # ListUsableSubnetworksResponse is the response of
2179
- # ListUsableSubnetworksRequest.
2173
+ # ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
2180
2174
  class ListUsableSubnetworksResponse
2181
2175
  include Google::Apis::Core::Hashable
2182
2176
 
2183
- # This token allows you to get the next page of results for list requests.
2184
- # If the number of results is larger than `page_size`, use the
2185
- # `next_page_token` as a value for the query parameter `page_token` in the
2186
- # next request. The value will become empty when there are no more pages.
2177
+ # This token allows you to get the next page of results for list requests. If
2178
+ # the number of results is larger than `page_size`, use the `next_page_token` as
2179
+ # a value for the query parameter `page_token` in the next request. The value
2180
+ # will become empty when there are no more pages.
2187
2181
  # Corresponds to the JSON property `nextPageToken`
2188
2182
  # @return [String]
2189
2183
  attr_accessor :next_page_token
@@ -2204,13 +2198,13 @@ module Google
2204
2198
  end
2205
2199
  end
2206
2200
 
2207
- # Location returns the location name, and if the location is recommended
2208
- # for GKE cluster scheduling.
2201
+ # Location returns the location name, and if the location is recommended for GKE
2202
+ # cluster scheduling.
2209
2203
  class Location
2210
2204
  include Google::Apis::Core::Hashable
2211
2205
 
2212
- # Contains the name of the resource requested.
2213
- # Specified in the format `projects/*/locations/*`.
2206
+ # Contains the name of the resource requested. Specified in the format `projects/
2207
+ # */locations/*`.
2214
2208
  # Corresponds to the JSON property `name`
2215
2209
  # @return [String]
2216
2210
  attr_accessor :name
@@ -2221,8 +2215,7 @@ module Google
2221
2215
  attr_accessor :recommended
2222
2216
  alias_method :recommended?, :recommended
2223
2217
 
2224
- # Contains the type of location this Location is for.
2225
- # Regional or Zonal.
2218
+ # Contains the type of location this Location is for. Regional or Zonal.
2226
2219
  # Corresponds to the JSON property `type`
2227
2220
  # @return [String]
2228
2221
  attr_accessor :type
@@ -2244,10 +2237,10 @@ module Google
2244
2237
  include Google::Apis::Core::Hashable
2245
2238
 
2246
2239
  # A hash identifying the version of this policy, so that updates to fields of
2247
- # the policy won't accidentally undo intermediate changes (and so that users
2248
- # of the API unaware of some fields won't accidentally remove other fields).
2249
- # Make a <code>get()</code> request to the cluster to get the current
2250
- # resource version and include it with requests to set the policy.
2240
+ # the policy won't accidentally undo intermediate changes (and so that users of
2241
+ # the API unaware of some fields won't accidentally remove other fields). Make a
2242
+ # `get()` request to the cluster to get the current resource version and include
2243
+ # it with requests to set the policy.
2251
2244
  # Corresponds to the JSON property `resourceVersion`
2252
2245
  # @return [String]
2253
2246
  attr_accessor :resource_version
@@ -2277,8 +2270,8 @@ module Google
2277
2270
  # @return [Google::Apis::ContainerV1beta1::DailyMaintenanceWindow]
2278
2271
  attr_accessor :daily_maintenance_window
2279
2272
 
2280
- # Exceptions to maintenance window. Non-emergency maintenance should not
2281
- # occur in these windows.
2273
+ # Exceptions to maintenance window. Non-emergency maintenance should not occur
2274
+ # in these windows.
2282
2275
  # Corresponds to the JSON property `maintenanceExclusions`
2283
2276
  # @return [Hash<String,Google::Apis::ContainerV1beta1::TimeWindow>]
2284
2277
  attr_accessor :maintenance_exclusions
@@ -2314,8 +2307,7 @@ module Google
2314
2307
  end
2315
2308
 
2316
2309
  # The authentication information for accessing the master endpoint.
2317
- # Authentication can be done using HTTP basic auth or using client
2318
- # certificates.
2310
+ # Authentication can be done using HTTP basic auth or using client certificates.
2319
2311
  class MasterAuth
2320
2312
  include Google::Apis::Core::Hashable
2321
2313
 
@@ -2330,8 +2322,8 @@ module Google
2330
2322
  # @return [Google::Apis::ContainerV1beta1::ClientCertificateConfig]
2331
2323
  attr_accessor :client_certificate_config
2332
2324
 
2333
- # [Output only] Base64-encoded private key used by clients to authenticate
2334
- # to the cluster endpoint.
2325
+ # [Output only] Base64-encoded private key used by clients to authenticate to
2326
+ # the cluster endpoint.
2335
2327
  # Corresponds to the JSON property `clientKey`
2336
2328
  # @return [String]
2337
2329
  attr_accessor :client_key
@@ -2343,15 +2335,22 @@ module Google
2343
2335
 
2344
2336
  # The password to use for HTTP basic authentication to the master endpoint.
2345
2337
  # Because the master endpoint is open to the Internet, you should create a
2346
- # strong password. If a password is provided for cluster creation, username
2347
- # must be non-empty.
2338
+ # strong password. If a password is provided for cluster creation, username must
2339
+ # be non-empty. Warning: basic authentication is deprecated, and will be removed
2340
+ # in GKE control plane versions 1.19 and newer. For a list of recommended
2341
+ # authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/
2342
+ # how-to/api-server-authentication
2348
2343
  # Corresponds to the JSON property `password`
2349
2344
  # @return [String]
2350
2345
  attr_accessor :password
2351
2346
 
2352
- # The username to use for HTTP basic authentication to the master endpoint.
2353
- # For clusters v1.6.0 and later, basic authentication can be disabled by
2354
- # leaving username unspecified (or setting it to the empty string).
2347
+ # The username to use for HTTP basic authentication to the master endpoint. For
2348
+ # clusters v1.6.0 and later, basic authentication can be disabled by leaving
2349
+ # username unspecified (or setting it to the empty string). Warning: basic
2350
+ # authentication is deprecated, and will be removed in GKE control plane
2351
+ # versions 1.19 and newer. For a list of recommended authentication methods, see:
2352
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-
2353
+ # authentication
2355
2354
  # Corresponds to the JSON property `username`
2356
2355
  # @return [String]
2357
2356
  attr_accessor :username
@@ -2378,8 +2377,8 @@ module Google
2378
2377
  class MasterAuthorizedNetworksConfig
2379
2378
  include Google::Apis::Core::Hashable
2380
2379
 
2381
- # cidr_blocks define up to 10 external networks that could access
2382
- # Kubernetes master through HTTPS.
2380
+ # cidr_blocks define up to 10 external networks that could access Kubernetes
2381
+ # master through HTTPS.
2383
2382
  # Corresponds to the JSON property `cidrBlocks`
2384
2383
  # @return [Array<Google::Apis::ContainerV1beta1::CidrBlock>]
2385
2384
  attr_accessor :cidr_blocks
@@ -2461,31 +2460,35 @@ module Google
2461
2460
  class NetworkConfig
2462
2461
  include Google::Apis::Core::Hashable
2463
2462
 
2464
- # DefaultSnatStatus contains the desired state of whether default sNAT should
2465
- # be disabled on the cluster.
2463
+ # The desired datapath provider for this cluster. By default, uses the IPTables-
2464
+ # based kube-proxy implementation.
2465
+ # Corresponds to the JSON property `datapathProvider`
2466
+ # @return [String]
2467
+ attr_accessor :datapath_provider
2468
+
2469
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
2470
+ # disabled on the cluster.
2466
2471
  # Corresponds to the JSON property `defaultSnatStatus`
2467
2472
  # @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
2468
2473
  attr_accessor :default_snat_status
2469
2474
 
2470
- # Whether Intra-node visibility is enabled for this cluster.
2471
- # This makes same node pod to pod traffic visible for VPC network.
2475
+ # Whether Intra-node visibility is enabled for this cluster. This makes same
2476
+ # node pod to pod traffic visible for VPC network.
2472
2477
  # Corresponds to the JSON property `enableIntraNodeVisibility`
2473
2478
  # @return [Boolean]
2474
2479
  attr_accessor :enable_intra_node_visibility
2475
2480
  alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
2476
2481
 
2477
- # Output only. The relative name of the Google Compute Engine
2478
- # network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
2479
- # to which the cluster is connected. Example:
2480
- # projects/my-project/global/networks/my-network
2482
+ # Output only. The relative name of the Google Compute Engine network(https://
2483
+ # cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
2484
+ # cluster is connected. Example: projects/my-project/global/networks/my-network
2481
2485
  # Corresponds to the JSON property `network`
2482
2486
  # @return [String]
2483
2487
  attr_accessor :network
2484
2488
 
2485
- # Output only. The relative name of the Google Compute Engine
2486
- # [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
2487
- # cluster is connected. Example:
2488
- # projects/my-project/regions/us-central1/subnetworks/my-subnet
2489
+ # Output only. The relative name of the Google Compute Engine [subnetwork](https:
2490
+ # //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
2491
+ # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
2489
2492
  # Corresponds to the JSON property `subnetwork`
2490
2493
  # @return [String]
2491
2494
  attr_accessor :subnetwork
@@ -2496,6 +2499,7 @@ module Google
2496
2499
 
2497
2500
  # Update properties of this object
2498
2501
  def update!(**args)
2502
+ @datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
2499
2503
  @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2500
2504
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2501
2505
  @network = args[:network] if args.key?(:network)
@@ -2503,8 +2507,8 @@ module Google
2503
2507
  end
2504
2508
  end
2505
2509
 
2506
- # Configuration options for the NetworkPolicy feature.
2507
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
2510
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
2511
+ # docs/concepts/services-networking/networkpolicies/
2508
2512
  class NetworkPolicy
2509
2513
  include Google::Apis::Core::Hashable
2510
2514
 
@@ -2530,9 +2534,9 @@ module Google
2530
2534
  end
2531
2535
  end
2532
2536
 
2533
- # Configuration for NetworkPolicy. This only tracks whether the addon
2534
- # is enabled or not on the Master, it does not track whether network policy
2535
- # is enabled for the nodes.
2537
+ # Configuration for NetworkPolicy. This only tracks whether the addon is enabled
2538
+ # or not on the Master, it does not track whether network policy is enabled for
2539
+ # the nodes.
2536
2540
  class NetworkPolicyConfig
2537
2541
  include Google::Apis::Core::Hashable
2538
2542
 
@@ -2556,39 +2560,35 @@ module Google
2556
2560
  class NodeConfig
2557
2561
  include Google::Apis::Core::Hashable
2558
2562
 
2559
- # A list of hardware accelerators to be attached to each node.
2560
- # See https://cloud.google.com/compute/docs/gpus for more information about
2561
- # support for GPUs.
2563
+ # A list of hardware accelerators to be attached to each node. See https://cloud.
2564
+ # google.com/compute/docs/gpus for more information about support for GPUs.
2562
2565
  # Corresponds to the JSON property `accelerators`
2563
2566
  # @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
2564
2567
  attr_accessor :accelerators
2565
2568
 
2566
- # The Customer Managed Encryption Key used to encrypt the boot disk attached
2567
- # to each node in the node pool. This should be of the form
2568
- # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/
2569
- # [KEY_NAME].
2570
- # For more information about protecting resources with Cloud KMS Keys please
2571
- # see:
2572
- # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2569
+ # The Customer Managed Encryption Key used to encrypt the boot disk attached to
2570
+ # each node in the node pool. This should be of the form projects/[
2571
+ # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
2572
+ # . For more information about protecting resources with Cloud KMS Keys please
2573
+ # see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2573
2574
  # Corresponds to the JSON property `bootDiskKmsKey`
2574
2575
  # @return [String]
2575
2576
  attr_accessor :boot_disk_kms_key
2576
2577
 
2577
- # Size of the disk attached to each node, specified in GB.
2578
- # The smallest allowed disk size is 10GB.
2579
- # If unspecified, the default disk size is 100GB.
2578
+ # Size of the disk attached to each node, specified in GB. The smallest allowed
2579
+ # disk size is 10GB. If unspecified, the default disk size is 100GB.
2580
2580
  # Corresponds to the JSON property `diskSizeGb`
2581
2581
  # @return [Fixnum]
2582
2582
  attr_accessor :disk_size_gb
2583
2583
 
2584
- # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
2585
- # If unspecified, the default disk type is 'pd-standard'
2584
+ # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
2585
+ # unspecified, the default disk type is 'pd-standard'
2586
2586
  # Corresponds to the JSON property `diskType`
2587
2587
  # @return [String]
2588
2588
  attr_accessor :disk_type
2589
2589
 
2590
- # The image type to use for this node. Note that for a given image type,
2591
- # the latest version of it will be used.
2590
+ # The image type to use for this node. Note that for a given image type, the
2591
+ # latest version of it will be used.
2592
2592
  # Corresponds to the JSON property `imageType`
2593
2593
  # @return [String]
2594
2594
  attr_accessor :image_type
@@ -2599,13 +2599,12 @@ module Google
2599
2599
  attr_accessor :kubelet_config
2600
2600
 
2601
2601
  # The map of Kubernetes labels (key/value pairs) to be applied to each node.
2602
- # These will added in addition to any default label(s) that
2603
- # Kubernetes may apply to the node.
2604
- # In case of conflict in label keys, the applied set may differ depending on
2605
- # the Kubernetes version -- it's best to assume the behavior is undefined
2606
- # and conflicts should be avoided.
2607
- # For more information, including usage and the valid values, see:
2608
- # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2602
+ # These will added in addition to any default label(s) that Kubernetes may apply
2603
+ # to the node. In case of conflict in label keys, the applied set may differ
2604
+ # depending on the Kubernetes version -- it's best to assume the behavior is
2605
+ # undefined and conflicts should be avoided. For more information, including
2606
+ # usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/
2607
+ # working-with-objects/labels/
2609
2608
  # Corresponds to the JSON property `labels`
2610
2609
  # @return [Hash<String,String>]
2611
2610
  attr_accessor :labels
@@ -2615,105 +2614,81 @@ module Google
2615
2614
  # @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
2616
2615
  attr_accessor :linux_node_config
2617
2616
 
2618
- # The number of local SSD disks to be attached to the node.
2619
- # The limit for this value is dependent upon the maximum number of
2620
- # disks available on a machine per zone. See:
2621
- # https://cloud.google.com/compute/docs/disks/local-ssd
2622
- # for more information.
2617
+ # The number of local SSD disks to be attached to the node. The limit for this
2618
+ # value is dependent upon the maximum number of disks available on a machine per
2619
+ # zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
2620
+ # information.
2623
2621
  # Corresponds to the JSON property `localSsdCount`
2624
2622
  # @return [Fixnum]
2625
2623
  attr_accessor :local_ssd_count
2626
2624
 
2627
- # The name of a Google Compute Engine [machine
2628
- # type](https://cloud.google.com/compute/docs/machine-types) (e.g.
2629
- # `n1-standard-1`).
2630
- # If unspecified, the default machine type is
2631
- # `n1-standard-1`.
2625
+ # The name of a Google Compute Engine [machine type](https://cloud.google.com/
2626
+ # compute/docs/machine-types). If unspecified, the default machine type is `e2-
2627
+ # medium`.
2632
2628
  # Corresponds to the JSON property `machineType`
2633
2629
  # @return [String]
2634
2630
  attr_accessor :machine_type
2635
2631
 
2636
- # The metadata key/value pairs assigned to instances in the cluster.
2637
- # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
2638
- # in length. These are reflected as part of a URL in the metadata server.
2639
- # Additionally, to avoid ambiguity, keys must not conflict with any other
2640
- # metadata keys for the project or be one of the reserved keys:
2641
- # "cluster-location"
2642
- # "cluster-name"
2643
- # "cluster-uid"
2644
- # "configure-sh"
2645
- # "containerd-configure-sh"
2646
- # "enable-oslogin"
2647
- # "gci-ensure-gke-docker"
2648
- # "gci-metrics-enabled"
2649
- # "gci-update-strategy"
2650
- # "instance-template"
2651
- # "kube-env"
2652
- # "startup-script"
2653
- # "user-data"
2654
- # "disable-address-manager"
2655
- # "windows-startup-script-ps1"
2656
- # "common-psm1"
2657
- # "k8s-node-setup-psm1"
2658
- # "install-ssh-psm1"
2659
- # "user-profile-psm1"
2660
- # "serial-port-logging-enable"
2661
- # Values are free-form strings, and only have meaning as interpreted by
2662
- # the image running in the instance. The only restriction placed on them is
2663
- # that each value's size must be less than or equal to 32 KB.
2664
- # The total size of all keys and values must be less than 512 KB.
2632
+ # The metadata key/value pairs assigned to instances in the cluster. Keys must
2633
+ # conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length.
2634
+ # These are reflected as part of a URL in the metadata server. Additionally, to
2635
+ # avoid ambiguity, keys must not conflict with any other metadata keys for the
2636
+ # project or be one of the reserved keys: - "cluster-location" - "cluster-name" -
2637
+ # "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-oslogin"
2638
+ # - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
2639
+ # instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
2640
+ # address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
2641
+ # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" The following keys are
2642
+ # reserved for Windows nodes: - "serial-port-logging-enable" Values are free-
2643
+ # form strings, and only have meaning as interpreted by the image running in the
2644
+ # instance. The only restriction placed on them is that each value's size must
2645
+ # be less than or equal to 32 KB. The total size of all keys and values must be
2646
+ # less than 512 KB.
2665
2647
  # Corresponds to the JSON property `metadata`
2666
2648
  # @return [Hash<String,String>]
2667
2649
  attr_accessor :metadata
2668
2650
 
2669
2651
  # Minimum CPU platform to be used by this instance. The instance may be
2670
2652
  # scheduled on the specified or newer CPU platform. Applicable values are the
2671
- # friendly names of CPU platforms, such as
2672
- # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
2673
- # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
2674
- # information, read [how to specify min CPU
2675
- # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
2676
- # platform)
2653
+ # friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
2654
+ # minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
2655
+ # specify min CPU platform](https://cloud.google.com/compute/docs/instances/
2656
+ # specify-min-cpu-platform)
2677
2657
  # Corresponds to the JSON property `minCpuPlatform`
2678
2658
  # @return [String]
2679
2659
  attr_accessor :min_cpu_platform
2680
2660
 
2681
- # Setting this field will assign instances of this
2682
- # pool to run on the specified node group. This is useful for running
2683
- # workloads on [sole tenant
2684
- # nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
2661
+ # Setting this field will assign instances of this pool to run on the specified
2662
+ # node group. This is useful for running workloads on [sole tenant nodes](https:/
2663
+ # /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
2685
2664
  # Corresponds to the JSON property `nodeGroup`
2686
2665
  # @return [String]
2687
2666
  attr_accessor :node_group
2688
2667
 
2689
- # The set of Google API scopes to be made available on all of the
2690
- # node VMs under the "default" service account.
2691
- # The following scopes are recommended, but not required, and by default are
2692
- # not included:
2693
- # * `https://www.googleapis.com/auth/compute` is required for mounting
2694
- # persistent storage on your nodes.
2695
- # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
2696
- # communicating with **gcr.io**
2697
- # (the [Google Container
2698
- # Registry](https://cloud.google.com/container-registry/)).
2699
- # If unspecified, no scopes are added, unless Cloud Logging or Cloud
2700
- # Monitoring are enabled, in which case their required scopes will be added.
2668
+ # The set of Google API scopes to be made available on all of the node VMs under
2669
+ # the "default" service account. The following scopes are recommended, but not
2670
+ # required, and by default are not included: * `https://www.googleapis.com/auth/
2671
+ # compute` is required for mounting persistent storage on your nodes. * `https://
2672
+ # www.googleapis.com/auth/devstorage.read_only` is required for communicating
2673
+ # with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
2674
+ # container-registry/)). If unspecified, no scopes are added, unless Cloud
2675
+ # Logging or Cloud Monitoring are enabled, in which case their required scopes
2676
+ # will be added.
2701
2677
  # Corresponds to the JSON property `oauthScopes`
2702
2678
  # @return [Array<String>]
2703
2679
  attr_accessor :oauth_scopes
2704
2680
 
2705
- # Whether the nodes are created as preemptible VM instances. See:
2706
- # https://cloud.google.com/compute/docs/instances/preemptible for more
2707
- # inforamtion about preemptible VM instances.
2681
+ # Whether the nodes are created as preemptible VM instances. See: https://cloud.
2682
+ # google.com/compute/docs/instances/preemptible for more inforamtion about
2683
+ # preemptible VM instances.
2708
2684
  # Corresponds to the JSON property `preemptible`
2709
2685
  # @return [Boolean]
2710
2686
  attr_accessor :preemptible
2711
2687
  alias_method :preemptible?, :preemptible
2712
2688
 
2713
2689
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
2714
- # reserving-zonal-resources)
2715
- # is the configuration of desired reservation which instances could take
2716
- # capacity from.
2690
+ # reserving-zonal-resources) is the configuration of desired reservation which
2691
+ # instances could take capacity from.
2717
2692
  # Corresponds to the JSON property `reservationAffinity`
2718
2693
  # @return [Google::Apis::ContainerV1beta1::ReservationAffinity]
2719
2694
  attr_accessor :reservation_affinity
@@ -2723,9 +2698,9 @@ module Google
2723
2698
  # @return [Google::Apis::ContainerV1beta1::SandboxConfig]
2724
2699
  attr_accessor :sandbox_config
2725
2700
 
2726
- # The Google Cloud Platform Service Account to be used by the node VMs.
2727
- # Specify the email address of the Service Account; otherwise, if no Service
2728
- # Account is specified, the "default" service account is used.
2701
+ # The Google Cloud Platform Service Account to be used by the node VMs. Specify
2702
+ # the email address of the Service Account; otherwise, if no Service Account is
2703
+ # specified, the "default" service account is used.
2729
2704
  # Corresponds to the JSON property `serviceAccount`
2730
2705
  # @return [String]
2731
2706
  attr_accessor :service_account
@@ -2736,16 +2711,16 @@ module Google
2736
2711
  attr_accessor :shielded_instance_config
2737
2712
 
2738
2713
  # The list of instance tags applied to all nodes. Tags are used to identify
2739
- # valid sources or targets for network firewalls and are specified by
2740
- # the client during cluster or node pool creation. Each tag within the list
2741
- # must comply with RFC1035.
2714
+ # valid sources or targets for network firewalls and are specified by the client
2715
+ # during cluster or node pool creation. Each tag within the list must comply
2716
+ # with RFC1035.
2742
2717
  # Corresponds to the JSON property `tags`
2743
2718
  # @return [Array<String>]
2744
2719
  attr_accessor :tags
2745
2720
 
2746
- # List of kubernetes taints to be applied to each node.
2747
- # For more information, including usage and the valid values, see:
2748
- # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2721
+ # List of kubernetes taints to be applied to each node. For more information,
2722
+ # including usage and the valid values, see: https://kubernetes.io/docs/concepts/
2723
+ # configuration/taint-and-toleration/
2749
2724
  # Corresponds to the JSON property `taints`
2750
2725
  # @return [Array<Google::Apis::ContainerV1beta1::NodeTaint>]
2751
2726
  attr_accessor :taints
@@ -2791,35 +2766,32 @@ module Google
2791
2766
  class NodeKubeletConfig
2792
2767
  include Google::Apis::Core::Hashable
2793
2768
 
2794
- # Enable CPU CFS quota enforcement for containers that specify CPU limits.
2795
- # If this option is enabled, kubelet uses CFS quota
2796
- # (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to
2797
- # enforce container CPU limits. Otherwise, CPU limits will not be enforced at
2798
- # all.
2799
- # Disable this option to mitigate CPU throttling problems while still having
2800
- # your pods to be in Guaranteed QoS class by specifying the CPU limits.
2801
- # The default value is 'true' if unspecified.
2769
+ # Enable CPU CFS quota enforcement for containers that specify CPU limits. This
2770
+ # option is enabled by default which makes kubelet use CFS quota (https://www.
2771
+ # kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU
2772
+ # limits. Otherwise, CPU limits will not be enforced at all. Disable this option
2773
+ # to mitigate CPU throttling problems while still having your pods to be in
2774
+ # Guaranteed QoS class by specifying the CPU limits. The default value is 'true'
2775
+ # if unspecified.
2802
2776
  # Corresponds to the JSON property `cpuCfsQuota`
2803
2777
  # @return [Boolean]
2804
2778
  attr_accessor :cpu_cfs_quota
2805
2779
  alias_method :cpu_cfs_quota?, :cpu_cfs_quota
2806
2780
 
2807
- # Set the CPU CFS quota period value 'cpu.cfs_period_us'.
2808
- # The string must be a sequence of decimal numbers, each with optional
2809
- # fraction and a unit suffix, such as "300ms".
2810
- # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
2811
- # The value must be a positive duration.
2781
+ # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a
2782
+ # sequence of decimal numbers, each with optional fraction and a unit suffix,
2783
+ # such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
2784
+ # . The value must be a positive duration.
2812
2785
  # Corresponds to the JSON property `cpuCfsQuotaPeriod`
2813
2786
  # @return [String]
2814
2787
  attr_accessor :cpu_cfs_quota_period
2815
2788
 
2816
- # Control the CPU management policy on the node.
2817
- # See
2818
- # https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
2819
- # The following values are allowed.
2820
- # - "none": the default, which represents the existing scheduling behavior.
2821
- # - "static": allows pods with certain resource characteristics to be
2822
- # granted increased CPU affinity and exclusivity on the node.
2789
+ # Control the CPU management policy on the node. See https://kubernetes.io/docs/
2790
+ # tasks/administer-cluster/cpu-management-policies/ The following values are
2791
+ # allowed. - "none": the default, which represents the existing scheduling
2792
+ # behavior. - "static": allows pods with certain resource characteristics to be
2793
+ # granted increased CPU affinity and exclusivity on the node. The default value
2794
+ # is 'none' if unspecified.
2823
2795
  # Corresponds to the JSON property `cpuManagerPolicy`
2824
2796
  # @return [String]
2825
2797
  attr_accessor :cpu_manager_policy
@@ -2853,8 +2825,8 @@ module Google
2853
2825
  attr_accessor :auto_upgrade
2854
2826
  alias_method :auto_upgrade?, :auto_upgrade
2855
2827
 
2856
- # AutoUpgradeOptions defines the set of options for the user to control how
2857
- # the Auto Upgrades will proceed.
2828
+ # AutoUpgradeOptions defines the set of options for the user to control how the
2829
+ # Auto Upgrades will proceed.
2858
2830
  # Corresponds to the JSON property `upgradeOptions`
2859
2831
  # @return [Google::Apis::ContainerV1beta1::AutoUpgradeOptions]
2860
2832
  attr_accessor :upgrade_options
@@ -2871,12 +2843,12 @@ module Google
2871
2843
  end
2872
2844
  end
2873
2845
 
2874
- # NodePool contains the name and configuration for a cluster's node pool.
2875
- # Node pools are a set of nodes (i.e. VM's), with a common configuration and
2876
- # specification, under the control of the cluster master. They may have a set
2877
- # of Kubernetes labels applied to them, which may be used to reference them
2878
- # during pod scheduling. They may also be resized up or down, to accommodate
2879
- # the workload.
2846
+ # NodePool contains the name and configuration for a cluster's node pool. Node
2847
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
2848
+ # specification, under the control of the cluster master. They may have a set of
2849
+ # Kubernetes labels applied to them, which may be used to reference them during
2850
+ # pod scheduling. They may also be resized up or down, to accommodate the
2851
+ # workload.
2880
2852
  class NodePool
2881
2853
  include Google::Apis::Core::Hashable
2882
2854
 
@@ -2896,25 +2868,27 @@ module Google
2896
2868
  # @return [Google::Apis::ContainerV1beta1::NodeConfig]
2897
2869
  attr_accessor :config
2898
2870
 
2899
- # The initial node count for the pool. You must ensure that your
2900
- # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
2901
- # is sufficient for this number of instances. You must also have available
2902
- # firewall and routes quota.
2871
+ # The initial node count for the pool. You must ensure that your Compute Engine [
2872
+ # resource quota](https://cloud.google.com/compute/quotas) is sufficient for
2873
+ # this number of instances. You must also have available firewall and routes
2874
+ # quota.
2903
2875
  # Corresponds to the JSON property `initialNodeCount`
2904
2876
  # @return [Fixnum]
2905
2877
  attr_accessor :initial_node_count
2906
2878
 
2907
- # [Output only] The resource URLs of the [managed instance
2908
- # groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-
2909
- # of-managed-instances)
2879
+ # [Output only] The resource URLs of the [managed instance groups](https://cloud.
2880
+ # google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
2910
2881
  # associated with this node pool.
2911
2882
  # Corresponds to the JSON property `instanceGroupUrls`
2912
2883
  # @return [Array<String>]
2913
2884
  attr_accessor :instance_group_urls
2914
2885
 
2915
- # The list of Google Compute Engine
2916
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
2917
- # NodePool's nodes should be located.
2886
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
2887
+ # docs/zones#available) in which the NodePool's nodes should be located. If this
2888
+ # value is unspecified during node pool creation, the [Cluster.Locations](https:/
2889
+ # /cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.
2890
+ # clusters#Cluster.FIELDS.locations) value will be used, instead. Warning:
2891
+ # changing node pool locations will result in nodes being added and/or removed.
2918
2892
  # Corresponds to the JSON property `locations`
2919
2893
  # @return [Array<String>]
2920
2894
  attr_accessor :locations
@@ -2950,30 +2924,26 @@ module Google
2950
2924
  # @return [String]
2951
2925
  attr_accessor :status
2952
2926
 
2953
- # [Output only] Additional information about the current status of this
2954
- # node pool instance, if available.
2927
+ # [Output only] Additional information about the current status of this node
2928
+ # pool instance, if available.
2955
2929
  # Corresponds to the JSON property `statusMessage`
2956
2930
  # @return [String]
2957
2931
  attr_accessor :status_message
2958
2932
 
2959
2933
  # These upgrade settings control the level of parallelism and the level of
2960
- # disruption caused by an upgrade.
2961
- # maxUnavailable controls the number of nodes that can be simultaneously
2962
- # unavailable.
2963
- # maxSurge controls the number of additional nodes that can be added to the
2964
- # node pool temporarily for the time of the upgrade to increase the number of
2965
- # available nodes.
2966
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
2967
- # nodes are being upgraded at the same time).
2968
- # Note: upgrades inevitably introduce some disruption since workloads need to
2969
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
2970
- # this holds true. (Disruption stays within the limits of
2971
- # PodDisruptionBudget, if it is configured.)
2972
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
2973
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
2974
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
2975
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
2976
- # there are always at least 4 nodes available.
2934
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
2935
+ # that can be simultaneously unavailable. maxSurge controls the number of
2936
+ # additional nodes that can be added to the node pool temporarily for the time
2937
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
2938
+ # maxSurge) determines the level of parallelism (how many nodes are being
2939
+ # upgraded at the same time). Note: upgrades inevitably introduce some
2940
+ # disruption since workloads need to be moved from old nodes to new, upgraded
2941
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
2942
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
2943
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
2944
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
2945
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
2946
+ # same time. This ensures that there are always at least 4 nodes available.
2977
2947
  # Corresponds to the JSON property `upgradeSettings`
2978
2948
  # @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
2979
2949
  attr_accessor :upgrade_settings
@@ -3024,14 +2994,13 @@ module Google
3024
2994
  attr_accessor :enabled
3025
2995
  alias_method :enabled?, :enabled
3026
2996
 
3027
- # Maximum number of nodes in the NodePool. Must be >= min_node_count. There
3028
- # has to enough quota to scale up the cluster.
2997
+ # Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
2998
+ # to enough quota to scale up the cluster.
3029
2999
  # Corresponds to the JSON property `maxNodeCount`
3030
3000
  # @return [Fixnum]
3031
3001
  attr_accessor :max_node_count
3032
3002
 
3033
- # Minimum number of nodes in the NodePool. Must be >= 1 and <=
3034
- # max_node_count.
3003
+ # Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
3035
3004
  # Corresponds to the JSON property `minNodeCount`
3036
3005
  # @return [Fixnum]
3037
3006
  attr_accessor :min_node_count
@@ -3050,8 +3019,7 @@ module Google
3050
3019
  end
3051
3020
 
3052
3021
  # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
3053
- # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
3054
- # See
3022
+ # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
3055
3023
  # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
3056
3024
  # for more information, including usage and the valid values.
3057
3025
  class NodeTaint
@@ -3084,12 +3052,32 @@ module Google
3084
3052
  end
3085
3053
  end
3086
3054
 
3055
+ # NotificationConfig is the configuration of notifications.
3056
+ class NotificationConfig
3057
+ include Google::Apis::Core::Hashable
3058
+
3059
+ # Pub/Sub specific notification config.
3060
+ # Corresponds to the JSON property `pubsub`
3061
+ # @return [Google::Apis::ContainerV1beta1::PubSub]
3062
+ attr_accessor :pubsub
3063
+
3064
+ def initialize(**args)
3065
+ update!(**args)
3066
+ end
3067
+
3068
+ # Update properties of this object
3069
+ def update!(**args)
3070
+ @pubsub = args[:pubsub] if args.key?(:pubsub)
3071
+ end
3072
+ end
3073
+
3087
3074
  # This operation resource represents operations that may have happened or are
3088
3075
  # happening on the cluster. All fields are output only.
3089
3076
  class Operation
3090
3077
  include Google::Apis::Core::Hashable
3091
3078
 
3092
- # Which conditions caused the current cluster state.
3079
+ # Which conditions caused the current cluster state. Deprecated. Use field error
3080
+ # instead.
3093
3081
  # Corresponds to the JSON property `clusterConditions`
3094
3082
  # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
3095
3083
  attr_accessor :cluster_conditions
@@ -3099,18 +3087,25 @@ module Google
3099
3087
  # @return [String]
3100
3088
  attr_accessor :detail
3101
3089
 
3102
- # [Output only] The time the operation completed, in
3103
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
3090
+ # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.
3091
+ # org/rfc/rfc3339.txt) text format.
3104
3092
  # Corresponds to the JSON property `endTime`
3105
3093
  # @return [String]
3106
3094
  attr_accessor :end_time
3107
3095
 
3108
- # [Output only] The name of the Google Compute Engine
3109
- # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
3110
- # available)
3111
- # or
3112
- # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
3113
- # available)
3096
+ # The `Status` type defines a logical error model that is suitable for different
3097
+ # programming environments, including REST APIs and RPC APIs. It is used by [
3098
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3099
+ # data: error code, error message, and error details. You can find out more
3100
+ # about this error model and how to work with it in the [API Design Guide](https:
3101
+ # //cloud.google.com/apis/design/errors).
3102
+ # Corresponds to the JSON property `error`
3103
+ # @return [Google::Apis::ContainerV1beta1::Status]
3104
+ attr_accessor :error
3105
+
3106
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
3107
+ # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
3108
+ # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
3114
3109
  # in which the cluster resides.
3115
3110
  # Corresponds to the JSON property `location`
3116
3111
  # @return [String]
@@ -3121,7 +3116,8 @@ module Google
3121
3116
  # @return [String]
3122
3117
  attr_accessor :name
3123
3118
 
3124
- # Which conditions caused the current node pool state.
3119
+ # Which conditions caused the current node pool state. Deprecated. Use field
3120
+ # error instead.
3125
3121
  # Corresponds to the JSON property `nodepoolConditions`
3126
3122
  # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
3127
3123
  attr_accessor :nodepool_conditions
@@ -3141,8 +3137,8 @@ module Google
3141
3137
  # @return [String]
3142
3138
  attr_accessor :self_link
3143
3139
 
3144
- # [Output only] The time the operation started, in
3145
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
3140
+ # [Output only] The time the operation started, in [RFC3339](https://www.ietf.
3141
+ # org/rfc/rfc3339.txt) text format.
3146
3142
  # Corresponds to the JSON property `startTime`
3147
3143
  # @return [String]
3148
3144
  attr_accessor :start_time
@@ -3153,6 +3149,7 @@ module Google
3153
3149
  attr_accessor :status
3154
3150
 
3155
3151
  # Output only. If an error has occurred, a textual description of the error.
3152
+ # Deprecated. Use field error instead.
3156
3153
  # Corresponds to the JSON property `statusMessage`
3157
3154
  # @return [String]
3158
3155
  attr_accessor :status_message
@@ -3162,9 +3159,9 @@ module Google
3162
3159
  # @return [String]
3163
3160
  attr_accessor :target_link
3164
3161
 
3165
- # The name of the Google Compute Engine
3166
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3167
- # operation is taking place. This field is deprecated, use location instead.
3162
+ # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/
3163
+ # docs/zones#available) in which the operation is taking place. This field is
3164
+ # deprecated, use location instead.
3168
3165
  # Corresponds to the JSON property `zone`
3169
3166
  # @return [String]
3170
3167
  attr_accessor :zone
@@ -3178,6 +3175,7 @@ module Google
3178
3175
  @cluster_conditions = args[:cluster_conditions] if args.key?(:cluster_conditions)
3179
3176
  @detail = args[:detail] if args.key?(:detail)
3180
3177
  @end_time = args[:end_time] if args.key?(:end_time)
3178
+ @error = args[:error] if args.key?(:error)
3181
3179
  @location = args[:location] if args.key?(:location)
3182
3180
  @name = args[:name] if args.key?(:name)
3183
3181
  @nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
@@ -3196,18 +3194,15 @@ module Google
3196
3194
  class OperationProgress
3197
3195
  include Google::Apis::Core::Hashable
3198
3196
 
3199
- # Progress metric bundle, for example:
3200
- # metrics: [`name: "nodes done", int_value: 15`,
3201
- # `name: "nodes total", int_value: 32`]
3202
- # or
3203
- # metrics: [`name: "progress", double_value: 0.56`,
3204
- # `name: "progress scale", double_value: 1.0`]
3197
+ # Progress metric bundle, for example: metrics: [`name: "nodes done", int_value:
3198
+ # 15`, `name: "nodes total", int_value: 32`] or metrics: [`name: "progress",
3199
+ # double_value: 0.56`, `name: "progress scale", double_value: 1.0`]
3205
3200
  # Corresponds to the JSON property `metrics`
3206
3201
  # @return [Array<Google::Apis::ContainerV1beta1::Metric>]
3207
3202
  attr_accessor :metrics
3208
3203
 
3209
- # A non-parameterized string describing an operation stage.
3210
- # Unset for single-stage operations.
3204
+ # A non-parameterized string describing an operation stage. Unset for single-
3205
+ # stage operations.
3211
3206
  # Corresponds to the JSON property `name`
3212
3207
  # @return [String]
3213
3208
  attr_accessor :name
@@ -3217,8 +3212,7 @@ module Google
3217
3212
  # @return [Array<Google::Apis::ContainerV1beta1::OperationProgress>]
3218
3213
  attr_accessor :stages
3219
3214
 
3220
- # Status of an operation stage.
3221
- # Unset for single-stage operations.
3215
+ # Status of an operation stage. Unset for single-stage operations.
3222
3216
  # Corresponds to the JSON property `status`
3223
3217
  # @return [String]
3224
3218
  attr_accessor :status
@@ -3267,9 +3261,9 @@ module Google
3267
3261
  attr_accessor :enable_private_endpoint
3268
3262
  alias_method :enable_private_endpoint?, :enable_private_endpoint
3269
3263
 
3270
- # Whether nodes have internal IP addresses only. If enabled, all nodes are
3271
- # given only RFC 1918 private addresses and communicate with the master via
3272
- # private networking.
3264
+ # Whether nodes have internal IP addresses only. If enabled, all nodes are given
3265
+ # only RFC 1918 private addresses and communicate with the master via private
3266
+ # networking.
3273
3267
  # Corresponds to the JSON property `enablePrivateNodes`
3274
3268
  # @return [Boolean]
3275
3269
  attr_accessor :enable_private_nodes
@@ -3280,10 +3274,10 @@ module Google
3280
3274
  # @return [Google::Apis::ContainerV1beta1::PrivateClusterMasterGlobalAccessConfig]
3281
3275
  attr_accessor :master_global_access_config
3282
3276
 
3283
- # The IP range in CIDR notation to use for the hosted master network. This
3284
- # range will be used for assigning internal IP addresses to the master or
3285
- # set of masters, as well as the ILB VIP. This range must not overlap with
3286
- # any other ranges in use within the cluster's network.
3277
+ # The IP range in CIDR notation to use for the hosted master network. This range
3278
+ # will be used for assigning internal IP addresses to the master or set of
3279
+ # masters, as well as the ILB VIP. This range must not overlap with any other
3280
+ # ranges in use within the cluster's network.
3287
3281
  # Corresponds to the JSON property `masterIpv4CidrBlock`
3288
3282
  # @return [String]
3289
3283
  attr_accessor :master_ipv4_cidr_block
@@ -3339,36 +3333,52 @@ module Google
3339
3333
  end
3340
3334
  end
3341
3335
 
3336
+ # Pub/Sub specific notification config.
3337
+ class PubSub
3338
+ include Google::Apis::Core::Hashable
3339
+
3340
+ # Enable notifications for Pub/Sub.
3341
+ # Corresponds to the JSON property `enabled`
3342
+ # @return [Boolean]
3343
+ attr_accessor :enabled
3344
+ alias_method :enabled?, :enabled
3345
+
3346
+ # The desired Pub/Sub topic to which notifications will be sent by GKE. Format
3347
+ # is `projects/`project`/topics/`topic``.
3348
+ # Corresponds to the JSON property `topic`
3349
+ # @return [String]
3350
+ attr_accessor :topic
3351
+
3352
+ def initialize(**args)
3353
+ update!(**args)
3354
+ end
3355
+
3356
+ # Update properties of this object
3357
+ def update!(**args)
3358
+ @enabled = args[:enabled] if args.key?(:enabled)
3359
+ @topic = args[:topic] if args.key?(:topic)
3360
+ end
3361
+ end
3362
+
3342
3363
  # Represents an arbitrary window of time that recurs.
3343
3364
  class RecurringTimeWindow
3344
3365
  include Google::Apis::Core::Hashable
3345
3366
 
3346
- # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
3347
- # this window reccurs. They go on for the span of time between the start and
3348
- # end time.
3349
- # For example, to have something repeat every weekday, you'd use:
3350
- # <code>FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR</code>
3351
- # To repeat some window daily (equivalent to the DailyMaintenanceWindow):
3352
- # <code>FREQ=DAILY</code>
3353
- # For the first weekend of every month:
3354
- # <code>FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU</code>
3355
- # This specifies how frequently the window starts. Eg, if you wanted to have
3356
- # a 9-5 UTC-4 window every weekday, you'd use something like:
3357
- # <code>
3358
- # start time = 2019-01-01T09:00:00-0400
3359
- # end time = 2019-01-01T17:00:00-0400
3360
- # recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
3361
- # </code>
3362
- # Windows can span multiple days. Eg, to make the window encompass every
3363
- # weekend from midnight Saturday till the last minute of Sunday UTC:
3364
- # <code>
3365
- # start time = 2019-01-05T00:00:00Z
3366
- # end time = 2019-01-07T23:59:00Z
3367
- # recurrence = FREQ=WEEKLY;BYDAY=SA
3368
- # </code>
3369
- # Note the start and end time's specific dates are largely arbitrary except
3370
- # to specify duration of the window and when it first starts.
3371
- # The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
3367
+ # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this
3368
+ # window reccurs. They go on for the span of time between the start and end time.
3369
+ # For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;
3370
+ # BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the
3371
+ # DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `
3372
+ # FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window
3373
+ # starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use
3374
+ # something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-
3375
+ # 01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can
3376
+ # span multiple days. Eg, to make the window encompass every weekend from
3377
+ # midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-
3378
+ # 05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA
3379
+ # ``` Note the start and end time's specific dates are largely arbitrary except
3380
+ # to specify duration of the window and when it first starts. The FREQ values of
3381
+ # HOURLY, MINUTELY, and SECONDLY are not supported.
3372
3382
  # Corresponds to the JSON property `recurrence`
3373
3383
  # @return [String]
3374
3384
  attr_accessor :recurrence
@@ -3389,11 +3399,10 @@ module Google
3389
3399
  end
3390
3400
  end
3391
3401
 
3392
- # ReleaseChannel indicates which release channel a cluster is
3393
- # subscribed to. Release channels are arranged in order of risk.
3394
- # When a cluster is subscribed to a release channel, Google maintains
3395
- # both the master version and the node version. Node auto-upgrade
3396
- # defaults to true and cannot be disabled.
3402
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
3403
+ # Release channels are arranged in order of risk. When a cluster is subscribed
3404
+ # to a release channel, Google maintains both the master version and the node
3405
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
3397
3406
  class ReleaseChannel
3398
3407
  include Google::Apis::Core::Hashable
3399
3408
 
@@ -3416,9 +3425,8 @@ module Google
3416
3425
  class ReleaseChannelConfig
3417
3426
  include Google::Apis::Core::Hashable
3418
3427
 
3419
- # Deprecated.
3420
- # This field has been deprecated and replaced with the valid_versions
3421
- # field.
3428
+ # Deprecated. This field has been deprecated and replaced with the
3429
+ # valid_versions field.
3422
3430
  # Corresponds to the JSON property `availableVersions`
3423
3431
  # @return [Array<Google::Apis::ContainerV1beta1::AvailableVersion>]
3424
3432
  attr_accessor :available_versions
@@ -3452,9 +3460,8 @@ module Google
3452
3460
  end
3453
3461
 
3454
3462
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
3455
- # reserving-zonal-resources)
3456
- # is the configuration of desired reservation which instances could take
3457
- # capacity from.
3463
+ # reserving-zonal-resources) is the configuration of desired reservation which
3464
+ # instances could take capacity from.
3458
3465
  class ReservationAffinity
3459
3466
  include Google::Apis::Core::Hashable
3460
3467
 
@@ -3464,8 +3471,8 @@ module Google
3464
3471
  attr_accessor :consume_reservation_type
3465
3472
 
3466
3473
  # Corresponds to the label key of a reservation resource. To target a
3467
- # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
3468
- # the key and specify the name of your reservation as its value.
3474
+ # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
3475
+ # key and specify the name of your reservation as its value.
3469
3476
  # Corresponds to the JSON property `key`
3470
3477
  # @return [String]
3471
3478
  attr_accessor :key
@@ -3487,8 +3494,8 @@ module Google
3487
3494
  end
3488
3495
  end
3489
3496
 
3490
- # Contains information about amount of some resource in the cluster.
3491
- # For memory, value should be in GB.
3497
+ # Contains information about amount of some resource in the cluster. For memory,
3498
+ # value should be in GB.
3492
3499
  class ResourceLimit
3493
3500
  include Google::Apis::Core::Hashable
3494
3501
 
@@ -3558,36 +3565,35 @@ module Google
3558
3565
  class RollbackNodePoolUpgradeRequest
3559
3566
  include Google::Apis::Core::Hashable
3560
3567
 
3561
- # Required. Deprecated. The name of the cluster to rollback.
3562
- # This field has been deprecated and replaced by the name field.
3568
+ # Required. Deprecated. The name of the cluster to rollback. This field has been
3569
+ # deprecated and replaced by the name field.
3563
3570
  # Corresponds to the JSON property `clusterId`
3564
3571
  # @return [String]
3565
3572
  attr_accessor :cluster_id
3566
3573
 
3567
3574
  # The name (project, location, cluster, node pool id) of the node poll to
3568
- # rollback upgrade.
3569
- # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3575
+ # rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/
3576
+ # nodePools/*`.
3570
3577
  # Corresponds to the JSON property `name`
3571
3578
  # @return [String]
3572
3579
  attr_accessor :name
3573
3580
 
3574
- # Required. Deprecated. The name of the node pool to rollback.
3575
- # This field has been deprecated and replaced by the name field.
3581
+ # Required. Deprecated. The name of the node pool to rollback. This field has
3582
+ # been deprecated and replaced by the name field.
3576
3583
  # Corresponds to the JSON property `nodePoolId`
3577
3584
  # @return [String]
3578
3585
  attr_accessor :node_pool_id
3579
3586
 
3580
3587
  # Required. Deprecated. The Google Developers Console [project ID or project
3581
- # number](https://support.google.com/cloud/answer/6158840).
3582
- # This field has been deprecated and replaced by the name field.
3588
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
3589
+ # deprecated and replaced by the name field.
3583
3590
  # Corresponds to the JSON property `projectId`
3584
3591
  # @return [String]
3585
3592
  attr_accessor :project_id
3586
3593
 
3587
- # Required. Deprecated. The name of the Google Compute Engine
3588
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3589
- # cluster resides. This field has been deprecated and replaced by the name
3590
- # field.
3594
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
3595
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
3596
+ # This field has been deprecated and replaced by the name field.
3591
3597
  # Corresponds to the JSON property `zone`
3592
3598
  # @return [String]
3593
3599
  attr_accessor :zone
@@ -3684,35 +3690,34 @@ module Google
3684
3690
  class SetAddonsConfigRequest
3685
3691
  include Google::Apis::Core::Hashable
3686
3692
 
3687
- # Configuration for the addons that can be automatically spun up in the
3688
- # cluster, enabling additional functionality.
3693
+ # Configuration for the addons that can be automatically spun up in the cluster,
3694
+ # enabling additional functionality.
3689
3695
  # Corresponds to the JSON property `addonsConfig`
3690
3696
  # @return [Google::Apis::ContainerV1beta1::AddonsConfig]
3691
3697
  attr_accessor :addons_config
3692
3698
 
3693
- # Required. Deprecated. The name of the cluster to upgrade.
3694
- # This field has been deprecated and replaced by the name field.
3699
+ # Required. Deprecated. The name of the cluster to upgrade. This field has been
3700
+ # deprecated and replaced by the name field.
3695
3701
  # Corresponds to the JSON property `clusterId`
3696
3702
  # @return [String]
3697
3703
  attr_accessor :cluster_id
3698
3704
 
3699
- # The name (project, location, cluster) of the cluster to set addons.
3700
- # Specified in the format `projects/*/locations/*/clusters/*`.
3705
+ # The name (project, location, cluster) of the cluster to set addons. Specified
3706
+ # in the format `projects/*/locations/*/clusters/*`.
3701
3707
  # Corresponds to the JSON property `name`
3702
3708
  # @return [String]
3703
3709
  attr_accessor :name
3704
3710
 
3705
3711
  # Required. Deprecated. The Google Developers Console [project ID or project
3706
- # number](https://support.google.com/cloud/answer/6158840).
3707
- # This field has been deprecated and replaced by the name field.
3712
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
3713
+ # deprecated and replaced by the name field.
3708
3714
  # Corresponds to the JSON property `projectId`
3709
3715
  # @return [String]
3710
3716
  attr_accessor :project_id
3711
3717
 
3712
- # Required. Deprecated. The name of the Google Compute Engine
3713
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3714
- # cluster resides. This field has been deprecated and replaced by the name
3715
- # field.
3718
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
3719
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
3720
+ # This field has been deprecated and replaced by the name field.
3716
3721
  # Corresponds to the JSON property `zone`
3717
3722
  # @return [String]
3718
3723
  attr_accessor :zone
@@ -3737,18 +3742,17 @@ module Google
3737
3742
  class SetLabelsRequest
3738
3743
  include Google::Apis::Core::Hashable
3739
3744
 
3740
- # Required. Deprecated. The name of the cluster.
3741
- # This field has been deprecated and replaced by the name field.
3745
+ # Required. Deprecated. The name of the cluster. This field has been deprecated
3746
+ # and replaced by the name field.
3742
3747
  # Corresponds to the JSON property `clusterId`
3743
3748
  # @return [String]
3744
3749
  attr_accessor :cluster_id
3745
3750
 
3746
3751
  # Required. The fingerprint of the previous set of labels for this resource,
3747
- # used to detect conflicts. The fingerprint is initially generated by
3748
- # Kubernetes Engine and changes after every request to modify or update
3749
- # labels. You must always provide an up-to-date fingerprint hash when
3750
- # updating or changing labels. Make a <code>get()</code> request to the
3751
- # resource to get the latest fingerprint.
3752
+ # used to detect conflicts. The fingerprint is initially generated by Kubernetes
3753
+ # Engine and changes after every request to modify or update labels. You must
3754
+ # always provide an up-to-date fingerprint hash when updating or changing labels.
3755
+ # Make a `get()` request to the resource to get the latest fingerprint.
3752
3756
  # Corresponds to the JSON property `labelFingerprint`
3753
3757
  # @return [String]
3754
3758
  attr_accessor :label_fingerprint
@@ -3760,8 +3764,8 @@ module Google
3760
3764
  attr_accessor :name
3761
3765
 
3762
3766
  # Required. Deprecated. The Google Developers Console [project ID or project
3763
- # number](https://developers.google.com/console/help/new/#projectnumber).
3764
- # This field has been deprecated and replaced by the name field.
3767
+ # number](https://developers.google.com/console/help/new/#projectnumber). This
3768
+ # field has been deprecated and replaced by the name field.
3765
3769
  # Corresponds to the JSON property `projectId`
3766
3770
  # @return [String]
3767
3771
  attr_accessor :project_id
@@ -3771,10 +3775,9 @@ module Google
3771
3775
  # @return [Hash<String,String>]
3772
3776
  attr_accessor :resource_labels
3773
3777
 
3774
- # Required. Deprecated. The name of the Google Compute Engine
3775
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3776
- # cluster resides. This field has been deprecated and replaced by the name
3777
- # field.
3778
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
3779
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
3780
+ # This field has been deprecated and replaced by the name field.
3778
3781
  # Corresponds to the JSON property `zone`
3779
3782
  # @return [String]
3780
3783
  attr_accessor :zone
@@ -3799,8 +3802,8 @@ module Google
3799
3802
  class SetLegacyAbacRequest
3800
3803
  include Google::Apis::Core::Hashable
3801
3804
 
3802
- # Required. Deprecated. The name of the cluster to update.
3803
- # This field has been deprecated and replaced by the name field.
3805
+ # Required. Deprecated. The name of the cluster to update. This field has been
3806
+ # deprecated and replaced by the name field.
3804
3807
  # Corresponds to the JSON property `clusterId`
3805
3808
  # @return [String]
3806
3809
  attr_accessor :cluster_id
@@ -3818,16 +3821,15 @@ module Google
3818
3821
  attr_accessor :name
3819
3822
 
3820
3823
  # Required. Deprecated. The Google Developers Console [project ID or project
3821
- # number](https://support.google.com/cloud/answer/6158840).
3822
- # This field has been deprecated and replaced by the name field.
3824
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
3825
+ # deprecated and replaced by the name field.
3823
3826
  # Corresponds to the JSON property `projectId`
3824
3827
  # @return [String]
3825
3828
  attr_accessor :project_id
3826
3829
 
3827
- # Required. Deprecated. The name of the Google Compute Engine
3828
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3829
- # cluster resides. This field has been deprecated and replaced by the name
3830
- # field.
3830
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
3831
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
3832
+ # This field has been deprecated and replaced by the name field.
3831
3833
  # Corresponds to the JSON property `zone`
3832
3834
  # @return [String]
3833
3835
  attr_accessor :zone
@@ -3850,18 +3852,18 @@ module Google
3850
3852
  class SetLocationsRequest
3851
3853
  include Google::Apis::Core::Hashable
3852
3854
 
3853
- # Required. Deprecated. The name of the cluster to upgrade.
3854
- # This field has been deprecated and replaced by the name field.
3855
+ # Required. Deprecated. The name of the cluster to upgrade. This field has been
3856
+ # deprecated and replaced by the name field.
3855
3857
  # Corresponds to the JSON property `clusterId`
3856
3858
  # @return [String]
3857
3859
  attr_accessor :cluster_id
3858
3860
 
3859
- # Required. The desired list of Google Compute Engine
3860
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
3861
- # cluster's nodes should be located. Changing the locations a cluster is in
3862
- # will result in nodes being either created or removed from the cluster,
3863
- # depending on whether locations are being added or removed.
3864
- # This list must always include the cluster's primary zone.
3861
+ # Required. The desired list of Google Compute Engine [zones](https://cloud.
3862
+ # google.com/compute/docs/zones#available) in which the cluster's nodes should
3863
+ # be located. Changing the locations a cluster is in will result in nodes being
3864
+ # either created or removed from the cluster, depending on whether locations are
3865
+ # being added or removed. This list must always include the cluster's primary
3866
+ # zone.
3865
3867
  # Corresponds to the JSON property `locations`
3866
3868
  # @return [Array<String>]
3867
3869
  attr_accessor :locations
@@ -3873,16 +3875,15 @@ module Google
3873
3875
  attr_accessor :name
3874
3876
 
3875
3877
  # Required. Deprecated. The Google Developers Console [project ID or project
3876
- # number](https://support.google.com/cloud/answer/6158840).
3877
- # This field has been deprecated and replaced by the name field.
3878
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
3879
+ # deprecated and replaced by the name field.
3878
3880
  # Corresponds to the JSON property `projectId`
3879
3881
  # @return [String]
3880
3882
  attr_accessor :project_id
3881
3883
 
3882
- # Required. Deprecated. The name of the Google Compute Engine
3883
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3884
- # cluster resides. This field has been deprecated and replaced by the name
3885
- # field.
3884
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
3885
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
3886
+ # This field has been deprecated and replaced by the name field.
3886
3887
  # Corresponds to the JSON property `zone`
3887
3888
  # @return [String]
3888
3889
  attr_accessor :zone
@@ -3905,42 +3906,39 @@ module Google
3905
3906
  class SetLoggingServiceRequest
3906
3907
  include Google::Apis::Core::Hashable
3907
3908
 
3908
- # Required. Deprecated. The name of the cluster to upgrade.
3909
- # This field has been deprecated and replaced by the name field.
3909
+ # Required. Deprecated. The name of the cluster to upgrade. This field has been
3910
+ # deprecated and replaced by the name field.
3910
3911
  # Corresponds to the JSON property `clusterId`
3911
3912
  # @return [String]
3912
3913
  attr_accessor :cluster_id
3913
3914
 
3914
- # Required. The logging service the cluster should use to write logs.
3915
- # Currently available options:
3916
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
3917
- # service with a Kubernetes-native resource model
3918
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
3919
- # available as of GKE 1.15).
3920
- # * `none` - no logs will be exported from the cluster.
3921
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
3922
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
3915
+ # Required. The logging service the cluster should use to write logs. Currently
3916
+ # available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging
3917
+ # service with a Kubernetes-native resource model * `logging.googleapis.com` -
3918
+ # The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none`
3919
+ # - no logs will be exported from the cluster. If left as an empty string,`
3920
+ # logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.
3921
+ # googleapis.com` for earlier versions.
3923
3922
  # Corresponds to the JSON property `loggingService`
3924
3923
  # @return [String]
3925
3924
  attr_accessor :logging_service
3926
3925
 
3927
- # The name (project, location, cluster) of the cluster to set logging.
3928
- # Specified in the format `projects/*/locations/*/clusters/*`.
3926
+ # The name (project, location, cluster) of the cluster to set logging. Specified
3927
+ # in the format `projects/*/locations/*/clusters/*`.
3929
3928
  # Corresponds to the JSON property `name`
3930
3929
  # @return [String]
3931
3930
  attr_accessor :name
3932
3931
 
3933
3932
  # Required. Deprecated. The Google Developers Console [project ID or project
3934
- # number](https://support.google.com/cloud/answer/6158840).
3935
- # This field has been deprecated and replaced by the name field.
3933
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
3934
+ # deprecated and replaced by the name field.
3936
3935
  # Corresponds to the JSON property `projectId`
3937
3936
  # @return [String]
3938
3937
  attr_accessor :project_id
3939
3938
 
3940
- # Required. Deprecated. The name of the Google Compute Engine
3941
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3942
- # cluster resides. This field has been deprecated and replaced by the name
3943
- # field.
3939
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
3940
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
3941
+ # This field has been deprecated and replaced by the name field.
3944
3942
  # Corresponds to the JSON property `zone`
3945
3943
  # @return [String]
3946
3944
  attr_accessor :zone
@@ -3974,21 +3972,19 @@ module Google
3974
3972
  attr_accessor :maintenance_policy
3975
3973
 
3976
3974
  # The name (project, location, cluster id) of the cluster to set maintenance
3977
- # policy.
3978
- # Specified in the format `projects/*/locations/*/clusters/*`.
3975
+ # policy. Specified in the format `projects/*/locations/*/clusters/*`.
3979
3976
  # Corresponds to the JSON property `name`
3980
3977
  # @return [String]
3981
3978
  attr_accessor :name
3982
3979
 
3983
- # Required. The Google Developers Console [project ID or project
3984
- # number](https://support.google.com/cloud/answer/6158840).
3980
+ # Required. The Google Developers Console [project ID or project number](https://
3981
+ # support.google.com/cloud/answer/6158840).
3985
3982
  # Corresponds to the JSON property `projectId`
3986
3983
  # @return [String]
3987
3984
  attr_accessor :project_id
3988
3985
 
3989
- # Required. The name of the Google Compute Engine
3990
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3991
- # cluster resides.
3986
+ # Required. The name of the Google Compute Engine [zone](https://cloud.google.
3987
+ # com/compute/docs/zones#available) in which the cluster resides.
3992
3988
  # Corresponds to the JSON property `zone`
3993
3989
  # @return [String]
3994
3990
  attr_accessor :zone
@@ -4016,36 +4012,34 @@ module Google
4016
4012
  # @return [String]
4017
4013
  attr_accessor :action
4018
4014
 
4019
- # Required. Deprecated. The name of the cluster to upgrade.
4020
- # This field has been deprecated and replaced by the name field.
4015
+ # Required. Deprecated. The name of the cluster to upgrade. This field has been
4016
+ # deprecated and replaced by the name field.
4021
4017
  # Corresponds to the JSON property `clusterId`
4022
4018
  # @return [String]
4023
4019
  attr_accessor :cluster_id
4024
4020
 
4025
- # The name (project, location, cluster) of the cluster to set auth.
4026
- # Specified in the format `projects/*/locations/*/clusters/*`.
4021
+ # The name (project, location, cluster) of the cluster to set auth. Specified in
4022
+ # the format `projects/*/locations/*/clusters/*`.
4027
4023
  # Corresponds to the JSON property `name`
4028
4024
  # @return [String]
4029
4025
  attr_accessor :name
4030
4026
 
4031
4027
  # Required. Deprecated. The Google Developers Console [project ID or project
4032
- # number](https://support.google.com/cloud/answer/6158840).
4033
- # This field has been deprecated and replaced by the name field.
4028
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
4029
+ # deprecated and replaced by the name field.
4034
4030
  # Corresponds to the JSON property `projectId`
4035
4031
  # @return [String]
4036
4032
  attr_accessor :project_id
4037
4033
 
4038
4034
  # The authentication information for accessing the master endpoint.
4039
- # Authentication can be done using HTTP basic auth or using client
4040
- # certificates.
4035
+ # Authentication can be done using HTTP basic auth or using client certificates.
4041
4036
  # Corresponds to the JSON property `update`
4042
4037
  # @return [Google::Apis::ContainerV1beta1::MasterAuth]
4043
4038
  attr_accessor :update
4044
4039
 
4045
- # Required. Deprecated. The name of the Google Compute Engine
4046
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4047
- # cluster resides. This field has been deprecated and replaced by the name
4048
- # field.
4040
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
4041
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
4042
+ # This field has been deprecated and replaced by the name field.
4049
4043
  # Corresponds to the JSON property `zone`
4050
4044
  # @return [String]
4051
4045
  attr_accessor :zone
@@ -4069,21 +4063,19 @@ module Google
4069
4063
  class SetMonitoringServiceRequest
4070
4064
  include Google::Apis::Core::Hashable
4071
4065
 
4072
- # Required. Deprecated. The name of the cluster to upgrade.
4073
- # This field has been deprecated and replaced by the name field.
4066
+ # Required. Deprecated. The name of the cluster to upgrade. This field has been
4067
+ # deprecated and replaced by the name field.
4074
4068
  # Corresponds to the JSON property `clusterId`
4075
4069
  # @return [String]
4076
4070
  attr_accessor :cluster_id
4077
4071
 
4078
4072
  # Required. The monitoring service the cluster should use to write metrics.
4079
- # Currently available options:
4080
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
4081
- # service with a Kubernetes-native resource model
4082
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
4083
- # longer available as of GKE 1.15).
4084
- # * `none` - No metrics will be exported from the cluster.
4085
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
4086
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
4073
+ # Currently available options: * "monitoring.googleapis.com/kubernetes" - The
4074
+ # Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.
4075
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
4076
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
4077
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
4078
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
4087
4079
  # Corresponds to the JSON property `monitoringService`
4088
4080
  # @return [String]
4089
4081
  attr_accessor :monitoring_service
@@ -4095,16 +4087,15 @@ module Google
4095
4087
  attr_accessor :name
4096
4088
 
4097
4089
  # Required. Deprecated. The Google Developers Console [project ID or project
4098
- # number](https://support.google.com/cloud/answer/6158840).
4099
- # This field has been deprecated and replaced by the name field.
4090
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
4091
+ # deprecated and replaced by the name field.
4100
4092
  # Corresponds to the JSON property `projectId`
4101
4093
  # @return [String]
4102
4094
  attr_accessor :project_id
4103
4095
 
4104
- # Required. Deprecated. The name of the Google Compute Engine
4105
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4106
- # cluster resides. This field has been deprecated and replaced by the name
4107
- # field.
4096
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
4097
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
4098
+ # This field has been deprecated and replaced by the name field.
4108
4099
  # Corresponds to the JSON property `zone`
4109
4100
  # @return [String]
4110
4101
  attr_accessor :zone
@@ -4127,8 +4118,8 @@ module Google
4127
4118
  class SetNetworkPolicyRequest
4128
4119
  include Google::Apis::Core::Hashable
4129
4120
 
4130
- # Required. Deprecated. The name of the cluster.
4131
- # This field has been deprecated and replaced by the name field.
4121
+ # Required. Deprecated. The name of the cluster. This field has been deprecated
4122
+ # and replaced by the name field.
4132
4123
  # Corresponds to the JSON property `clusterId`
4133
4124
  # @return [String]
4134
4125
  attr_accessor :cluster_id
@@ -4139,23 +4130,22 @@ module Google
4139
4130
  # @return [String]
4140
4131
  attr_accessor :name
4141
4132
 
4142
- # Configuration options for the NetworkPolicy feature.
4143
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
4133
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
4134
+ # docs/concepts/services-networking/networkpolicies/
4144
4135
  # Corresponds to the JSON property `networkPolicy`
4145
4136
  # @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
4146
4137
  attr_accessor :network_policy
4147
4138
 
4148
4139
  # Required. Deprecated. The Google Developers Console [project ID or project
4149
- # number](https://developers.google.com/console/help/new/#projectnumber).
4150
- # This field has been deprecated and replaced by the name field.
4140
+ # number](https://developers.google.com/console/help/new/#projectnumber). This
4141
+ # field has been deprecated and replaced by the name field.
4151
4142
  # Corresponds to the JSON property `projectId`
4152
4143
  # @return [String]
4153
4144
  attr_accessor :project_id
4154
4145
 
4155
- # Required. Deprecated. The name of the Google Compute Engine
4156
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4157
- # cluster resides. This field has been deprecated and replaced by the name
4158
- # field.
4146
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
4147
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
4148
+ # This field has been deprecated and replaced by the name field.
4159
4149
  # Corresponds to the JSON property `zone`
4160
4150
  # @return [String]
4161
4151
  attr_accessor :zone
@@ -4184,36 +4174,35 @@ module Google
4184
4174
  # @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
4185
4175
  attr_accessor :autoscaling
4186
4176
 
4187
- # Required. Deprecated. The name of the cluster to upgrade.
4188
- # This field has been deprecated and replaced by the name field.
4177
+ # Required. Deprecated. The name of the cluster to upgrade. This field has been
4178
+ # deprecated and replaced by the name field.
4189
4179
  # Corresponds to the JSON property `clusterId`
4190
4180
  # @return [String]
4191
4181
  attr_accessor :cluster_id
4192
4182
 
4193
4183
  # The name (project, location, cluster, node pool) of the node pool to set
4194
- # autoscaler settings. Specified in the format
4195
- # `projects/*/locations/*/clusters/*/nodePools/*`.
4184
+ # autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*
4185
+ # /nodePools/*`.
4196
4186
  # Corresponds to the JSON property `name`
4197
4187
  # @return [String]
4198
4188
  attr_accessor :name
4199
4189
 
4200
- # Required. Deprecated. The name of the node pool to upgrade.
4201
- # This field has been deprecated and replaced by the name field.
4190
+ # Required. Deprecated. The name of the node pool to upgrade. This field has
4191
+ # been deprecated and replaced by the name field.
4202
4192
  # Corresponds to the JSON property `nodePoolId`
4203
4193
  # @return [String]
4204
4194
  attr_accessor :node_pool_id
4205
4195
 
4206
4196
  # Required. Deprecated. The Google Developers Console [project ID or project
4207
- # number](https://support.google.com/cloud/answer/6158840).
4208
- # This field has been deprecated and replaced by the name field.
4197
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
4198
+ # deprecated and replaced by the name field.
4209
4199
  # Corresponds to the JSON property `projectId`
4210
4200
  # @return [String]
4211
4201
  attr_accessor :project_id
4212
4202
 
4213
- # Required. Deprecated. The name of the Google Compute Engine
4214
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4215
- # cluster resides. This field has been deprecated and replaced by the name
4216
- # field.
4203
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
4204
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
4205
+ # This field has been deprecated and replaced by the name field.
4217
4206
  # Corresponds to the JSON property `zone`
4218
4207
  # @return [String]
4219
4208
  attr_accessor :zone
@@ -4238,8 +4227,8 @@ module Google
4238
4227
  class SetNodePoolManagementRequest
4239
4228
  include Google::Apis::Core::Hashable
4240
4229
 
4241
- # Required. Deprecated. The name of the cluster to update.
4242
- # This field has been deprecated and replaced by the name field.
4230
+ # Required. Deprecated. The name of the cluster to update. This field has been
4231
+ # deprecated and replaced by the name field.
4243
4232
  # Corresponds to the JSON property `clusterId`
4244
4233
  # @return [String]
4245
4234
  attr_accessor :cluster_id
@@ -4251,29 +4240,28 @@ module Google
4251
4240
  attr_accessor :management
4252
4241
 
4253
4242
  # The name (project, location, cluster, node pool id) of the node pool to set
4254
- # management properties. Specified in the format
4255
- # `projects/*/locations/*/clusters/*/nodePools/*`.
4243
+ # management properties. Specified in the format `projects/*/locations/*/
4244
+ # clusters/*/nodePools/*`.
4256
4245
  # Corresponds to the JSON property `name`
4257
4246
  # @return [String]
4258
4247
  attr_accessor :name
4259
4248
 
4260
- # Required. Deprecated. The name of the node pool to update.
4261
- # This field has been deprecated and replaced by the name field.
4249
+ # Required. Deprecated. The name of the node pool to update. This field has been
4250
+ # deprecated and replaced by the name field.
4262
4251
  # Corresponds to the JSON property `nodePoolId`
4263
4252
  # @return [String]
4264
4253
  attr_accessor :node_pool_id
4265
4254
 
4266
4255
  # Required. Deprecated. The Google Developers Console [project ID or project
4267
- # number](https://support.google.com/cloud/answer/6158840).
4268
- # This field has been deprecated and replaced by the name field.
4256
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
4257
+ # deprecated and replaced by the name field.
4269
4258
  # Corresponds to the JSON property `projectId`
4270
4259
  # @return [String]
4271
4260
  attr_accessor :project_id
4272
4261
 
4273
- # Required. Deprecated. The name of the Google Compute Engine
4274
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4275
- # cluster resides. This field has been deprecated and replaced by the name
4276
- # field.
4262
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
4263
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
4264
+ # This field has been deprecated and replaced by the name field.
4277
4265
  # Corresponds to the JSON property `zone`
4278
4266
  # @return [String]
4279
4267
  attr_accessor :zone
@@ -4293,20 +4281,18 @@ module Google
4293
4281
  end
4294
4282
  end
4295
4283
 
4296
- # SetNodePoolSizeRequest sets the size a node
4297
- # pool.
4284
+ # SetNodePoolSizeRequest sets the size a node pool.
4298
4285
  class SetNodePoolSizeRequest
4299
4286
  include Google::Apis::Core::Hashable
4300
4287
 
4301
- # Required. Deprecated. The name of the cluster to update.
4302
- # This field has been deprecated and replaced by the name field.
4288
+ # Required. Deprecated. The name of the cluster to update. This field has been
4289
+ # deprecated and replaced by the name field.
4303
4290
  # Corresponds to the JSON property `clusterId`
4304
4291
  # @return [String]
4305
4292
  attr_accessor :cluster_id
4306
4293
 
4307
4294
  # The name (project, location, cluster, node pool id) of the node pool to set
4308
- # size.
4309
- # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
4295
+ # size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
4310
4296
  # Corresponds to the JSON property `name`
4311
4297
  # @return [String]
4312
4298
  attr_accessor :name
@@ -4316,23 +4302,22 @@ module Google
4316
4302
  # @return [Fixnum]
4317
4303
  attr_accessor :node_count
4318
4304
 
4319
- # Required. Deprecated. The name of the node pool to update.
4320
- # This field has been deprecated and replaced by the name field.
4305
+ # Required. Deprecated. The name of the node pool to update. This field has been
4306
+ # deprecated and replaced by the name field.
4321
4307
  # Corresponds to the JSON property `nodePoolId`
4322
4308
  # @return [String]
4323
4309
  attr_accessor :node_pool_id
4324
4310
 
4325
4311
  # Required. Deprecated. The Google Developers Console [project ID or project
4326
- # number](https://support.google.com/cloud/answer/6158840).
4327
- # This field has been deprecated and replaced by the name field.
4312
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
4313
+ # deprecated and replaced by the name field.
4328
4314
  # Corresponds to the JSON property `projectId`
4329
4315
  # @return [String]
4330
4316
  attr_accessor :project_id
4331
4317
 
4332
- # Required. Deprecated. The name of the Google Compute Engine
4333
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4334
- # cluster resides. This field has been deprecated and replaced by the name
4335
- # field.
4318
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
4319
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
4320
+ # This field has been deprecated and replaced by the name field.
4336
4321
  # Corresponds to the JSON property `zone`
4337
4322
  # @return [String]
4338
4323
  attr_accessor :zone
@@ -4356,20 +4341,20 @@ module Google
4356
4341
  class ShieldedInstanceConfig
4357
4342
  include Google::Apis::Core::Hashable
4358
4343
 
4359
- # Defines whether the instance has integrity monitoring enabled.
4360
- # Enables monitoring and attestation of the boot integrity of the instance.
4361
- # The attestation is performed against the integrity policy baseline. This
4362
- # baseline is initially derived from the implicitly trusted boot image when
4363
- # the instance is created.
4344
+ # Defines whether the instance has integrity monitoring enabled. Enables
4345
+ # monitoring and attestation of the boot integrity of the instance. The
4346
+ # attestation is performed against the integrity policy baseline. This baseline
4347
+ # is initially derived from the implicitly trusted boot image when the instance
4348
+ # is created.
4364
4349
  # Corresponds to the JSON property `enableIntegrityMonitoring`
4365
4350
  # @return [Boolean]
4366
4351
  attr_accessor :enable_integrity_monitoring
4367
4352
  alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
4368
4353
 
4369
- # Defines whether the instance has Secure Boot enabled.
4370
- # Secure Boot helps ensure that the system only runs authentic software by
4371
- # verifying the digital signature of all boot components, and halting the
4372
- # boot process if signature verification fails.
4354
+ # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure
4355
+ # that the system only runs authentic software by verifying the digital
4356
+ # signature of all boot components, and halting the boot process if signature
4357
+ # verification fails.
4373
4358
  # Corresponds to the JSON property `enableSecureBoot`
4374
4359
  # @return [Boolean]
4375
4360
  attr_accessor :enable_secure_boot
@@ -4406,26 +4391,26 @@ module Google
4406
4391
  end
4407
4392
  end
4408
4393
 
4409
- # StartIPRotationRequest creates a new IP for the cluster and then performs
4410
- # a node upgrade on each node pool to point to the new IP.
4394
+ # StartIPRotationRequest creates a new IP for the cluster and then performs a
4395
+ # node upgrade on each node pool to point to the new IP.
4411
4396
  class StartIpRotationRequest
4412
4397
  include Google::Apis::Core::Hashable
4413
4398
 
4414
- # Required. Deprecated. The name of the cluster.
4415
- # This field has been deprecated and replaced by the name field.
4399
+ # Required. Deprecated. The name of the cluster. This field has been deprecated
4400
+ # and replaced by the name field.
4416
4401
  # Corresponds to the JSON property `clusterId`
4417
4402
  # @return [String]
4418
4403
  attr_accessor :cluster_id
4419
4404
 
4420
- # The name (project, location, cluster id) of the cluster to start IP
4421
- # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
4405
+ # The name (project, location, cluster id) of the cluster to start IP rotation.
4406
+ # Specified in the format `projects/*/locations/*/clusters/*`.
4422
4407
  # Corresponds to the JSON property `name`
4423
4408
  # @return [String]
4424
4409
  attr_accessor :name
4425
4410
 
4426
4411
  # Required. Deprecated. The Google Developers Console [project ID or project
4427
- # number](https://developers.google.com/console/help/new/#projectnumber).
4428
- # This field has been deprecated and replaced by the name field.
4412
+ # number](https://developers.google.com/console/help/new/#projectnumber). This
4413
+ # field has been deprecated and replaced by the name field.
4429
4414
  # Corresponds to the JSON property `projectId`
4430
4415
  # @return [String]
4431
4416
  attr_accessor :project_id
@@ -4436,10 +4421,9 @@ module Google
4436
4421
  attr_accessor :rotate_credentials
4437
4422
  alias_method :rotate_credentials?, :rotate_credentials
4438
4423
 
4439
- # Required. Deprecated. The name of the Google Compute Engine
4440
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4441
- # cluster resides. This field has been deprecated and replaced by the name
4442
- # field.
4424
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
4425
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
4426
+ # This field has been deprecated and replaced by the name field.
4443
4427
  # Corresponds to the JSON property `zone`
4444
4428
  # @return [String]
4445
4429
  attr_accessor :zone
@@ -4458,12 +4442,57 @@ module Google
4458
4442
  end
4459
4443
  end
4460
4444
 
4461
- # StatusCondition describes why a cluster or a node pool has a certain status
4462
- # (e.g., ERROR or DEGRADED).
4445
+ # The `Status` type defines a logical error model that is suitable for different
4446
+ # programming environments, including REST APIs and RPC APIs. It is used by [
4447
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
4448
+ # data: error code, error message, and error details. You can find out more
4449
+ # about this error model and how to work with it in the [API Design Guide](https:
4450
+ # //cloud.google.com/apis/design/errors).
4451
+ class Status
4452
+ include Google::Apis::Core::Hashable
4453
+
4454
+ # The status code, which should be an enum value of google.rpc.Code.
4455
+ # Corresponds to the JSON property `code`
4456
+ # @return [Fixnum]
4457
+ attr_accessor :code
4458
+
4459
+ # A list of messages that carry the error details. There is a common set of
4460
+ # message types for APIs to use.
4461
+ # Corresponds to the JSON property `details`
4462
+ # @return [Array<Hash<String,Object>>]
4463
+ attr_accessor :details
4464
+
4465
+ # A developer-facing error message, which should be in English. Any user-facing
4466
+ # error message should be localized and sent in the google.rpc.Status.details
4467
+ # field, or localized by the client.
4468
+ # Corresponds to the JSON property `message`
4469
+ # @return [String]
4470
+ attr_accessor :message
4471
+
4472
+ def initialize(**args)
4473
+ update!(**args)
4474
+ end
4475
+
4476
+ # Update properties of this object
4477
+ def update!(**args)
4478
+ @code = args[:code] if args.key?(:code)
4479
+ @details = args[:details] if args.key?(:details)
4480
+ @message = args[:message] if args.key?(:message)
4481
+ end
4482
+ end
4483
+
4484
+ # StatusCondition describes why a cluster or a node pool has a certain status (e.
4485
+ # g., ERROR or DEGRADED).
4463
4486
  class StatusCondition
4464
4487
  include Google::Apis::Core::Hashable
4465
4488
 
4466
- # Machine-friendly representation of the condition
4489
+ # Canonical code of the condition.
4490
+ # Corresponds to the JSON property `canonicalCode`
4491
+ # @return [String]
4492
+ attr_accessor :canonical_code
4493
+
4494
+ # Machine-friendly representation of the condition Deprecated. Use
4495
+ # canonical_code instead.
4467
4496
  # Corresponds to the JSON property `code`
4468
4497
  # @return [String]
4469
4498
  attr_accessor :code
@@ -4479,6 +4508,7 @@ module Google
4479
4508
 
4480
4509
  # Update properties of this object
4481
4510
  def update!(**args)
4511
+ @canonical_code = args[:canonical_code] if args.key?(:canonical_code)
4482
4512
  @code = args[:code] if args.key?(:code)
4483
4513
  @message = args[:message] if args.key?(:message)
4484
4514
  end
@@ -4488,8 +4518,8 @@ module Google
4488
4518
  class TimeWindow
4489
4519
  include Google::Apis::Core::Hashable
4490
4520
 
4491
- # The time that the window ends. The end time should take place after the
4492
- # start time.
4521
+ # The time that the window ends. The end time should take place after the start
4522
+ # time.
4493
4523
  # Corresponds to the JSON property `endTime`
4494
4524
  # @return [String]
4495
4525
  attr_accessor :end_time
@@ -4547,36 +4577,34 @@ module Google
4547
4577
  class UpdateClusterRequest
4548
4578
  include Google::Apis::Core::Hashable
4549
4579
 
4550
- # Required. Deprecated. The name of the cluster to upgrade.
4551
- # This field has been deprecated and replaced by the name field.
4580
+ # Required. Deprecated. The name of the cluster to upgrade. This field has been
4581
+ # deprecated and replaced by the name field.
4552
4582
  # Corresponds to the JSON property `clusterId`
4553
4583
  # @return [String]
4554
4584
  attr_accessor :cluster_id
4555
4585
 
4556
- # The name (project, location, cluster) of the cluster to update.
4557
- # Specified in the format `projects/*/locations/*/clusters/*`.
4586
+ # The name (project, location, cluster) of the cluster to update. Specified in
4587
+ # the format `projects/*/locations/*/clusters/*`.
4558
4588
  # Corresponds to the JSON property `name`
4559
4589
  # @return [String]
4560
4590
  attr_accessor :name
4561
4591
 
4562
4592
  # Required. Deprecated. The Google Developers Console [project ID or project
4563
- # number](https://support.google.com/cloud/answer/6158840).
4564
- # This field has been deprecated and replaced by the name field.
4593
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
4594
+ # deprecated and replaced by the name field.
4565
4595
  # Corresponds to the JSON property `projectId`
4566
4596
  # @return [String]
4567
4597
  attr_accessor :project_id
4568
4598
 
4569
- # ClusterUpdate describes an update to the cluster. Exactly one update can
4570
- # be applied to a cluster with each request, so at most one field can be
4571
- # provided.
4599
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
4600
+ # applied to a cluster with each request, so at most one field can be provided.
4572
4601
  # Corresponds to the JSON property `update`
4573
4602
  # @return [Google::Apis::ContainerV1beta1::ClusterUpdate]
4574
4603
  attr_accessor :update
4575
4604
 
4576
- # Required. Deprecated. The name of the Google Compute Engine
4577
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4578
- # cluster resides. This field has been deprecated and replaced by the name
4579
- # field.
4605
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
4606
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
4607
+ # This field has been deprecated and replaced by the name field.
4580
4608
  # Corresponds to the JSON property `zone`
4581
4609
  # @return [String]
4582
4610
  attr_accessor :zone
@@ -4599,41 +4627,39 @@ module Google
4599
4627
  class UpdateMasterRequest
4600
4628
  include Google::Apis::Core::Hashable
4601
4629
 
4602
- # Required. Deprecated. The name of the cluster to upgrade.
4603
- # This field has been deprecated and replaced by the name field.
4630
+ # Required. Deprecated. The name of the cluster to upgrade. This field has been
4631
+ # deprecated and replaced by the name field.
4604
4632
  # Corresponds to the JSON property `clusterId`
4605
4633
  # @return [String]
4606
4634
  attr_accessor :cluster_id
4607
4635
 
4608
- # Required. The Kubernetes version to change the master to.
4609
- # Users may specify either explicit versions offered by
4610
- # Kubernetes Engine or version aliases, which have the following behavior:
4611
- # - "latest": picks the highest valid Kubernetes version
4612
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
4613
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
4614
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
4615
- # - "-": picks the default Kubernetes version
4636
+ # Required. The Kubernetes version to change the master to. Users may specify
4637
+ # either explicit versions offered by Kubernetes Engine or version aliases,
4638
+ # which have the following behavior: - "latest": picks the highest valid
4639
+ # Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.
4640
+ # X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version -
4641
+ # "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default
4642
+ # Kubernetes version
4616
4643
  # Corresponds to the JSON property `masterVersion`
4617
4644
  # @return [String]
4618
4645
  attr_accessor :master_version
4619
4646
 
4620
- # The name (project, location, cluster) of the cluster to update.
4621
- # Specified in the format `projects/*/locations/*/clusters/*`.
4647
+ # The name (project, location, cluster) of the cluster to update. Specified in
4648
+ # the format `projects/*/locations/*/clusters/*`.
4622
4649
  # Corresponds to the JSON property `name`
4623
4650
  # @return [String]
4624
4651
  attr_accessor :name
4625
4652
 
4626
4653
  # Required. Deprecated. The Google Developers Console [project ID or project
4627
- # number](https://support.google.com/cloud/answer/6158840).
4628
- # This field has been deprecated and replaced by the name field.
4654
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
4655
+ # deprecated and replaced by the name field.
4629
4656
  # Corresponds to the JSON property `projectId`
4630
4657
  # @return [String]
4631
4658
  attr_accessor :project_id
4632
4659
 
4633
- # Required. Deprecated. The name of the Google Compute Engine
4634
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4635
- # cluster resides. This field has been deprecated and replaced by the name
4636
- # field.
4660
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
4661
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
4662
+ # This field has been deprecated and replaced by the name field.
4637
4663
  # Corresponds to the JSON property `zone`
4638
4664
  # @return [String]
4639
4665
  attr_accessor :zone
@@ -4656,8 +4682,8 @@ module Google
4656
4682
  class UpdateNodePoolRequest
4657
4683
  include Google::Apis::Core::Hashable
4658
4684
 
4659
- # Required. Deprecated. The name of the cluster to upgrade.
4660
- # This field has been deprecated and replaced by the name field.
4685
+ # Required. Deprecated. The name of the cluster to upgrade. This field has been
4686
+ # deprecated and replaced by the name field.
4661
4687
  # Corresponds to the JSON property `clusterId`
4662
4688
  # @return [String]
4663
4689
  attr_accessor :cluster_id
@@ -4677,66 +4703,59 @@ module Google
4677
4703
  # @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
4678
4704
  attr_accessor :linux_node_config
4679
4705
 
4680
- # The desired list of Google Compute Engine
4681
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
4682
- # node pool's nodes should be located. Changing the locations for a node pool
4683
- # will result in nodes being either created or removed from the node pool,
4684
- # depending on whether locations are being added or removed.
4706
+ # The desired list of Google Compute Engine [zones](https://cloud.google.com/
4707
+ # compute/docs/zones#available) in which the node pool's nodes should be located.
4708
+ # Changing the locations for a node pool will result in nodes being either
4709
+ # created or removed from the node pool, depending on whether locations are
4710
+ # being added or removed.
4685
4711
  # Corresponds to the JSON property `locations`
4686
4712
  # @return [Array<String>]
4687
4713
  attr_accessor :locations
4688
4714
 
4689
- # The name (project, location, cluster, node pool) of the node pool to
4690
- # update. Specified in the format
4691
- # `projects/*/locations/*/clusters/*/nodePools/*`.
4715
+ # The name (project, location, cluster, node pool) of the node pool to update.
4716
+ # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
4692
4717
  # Corresponds to the JSON property `name`
4693
4718
  # @return [String]
4694
4719
  attr_accessor :name
4695
4720
 
4696
- # Required. Deprecated. The name of the node pool to upgrade.
4697
- # This field has been deprecated and replaced by the name field.
4721
+ # Required. Deprecated. The name of the node pool to upgrade. This field has
4722
+ # been deprecated and replaced by the name field.
4698
4723
  # Corresponds to the JSON property `nodePoolId`
4699
4724
  # @return [String]
4700
4725
  attr_accessor :node_pool_id
4701
4726
 
4702
- # Required. The Kubernetes version to change the nodes to (typically an
4703
- # upgrade).
4727
+ # Required. The Kubernetes version to change the nodes to (typically an upgrade).
4704
4728
  # Users may specify either explicit versions offered by Kubernetes Engine or
4705
- # version aliases, which have the following behavior:
4706
- # - "latest": picks the highest valid Kubernetes version
4707
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
4708
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
4709
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
4710
- # - "-": picks the Kubernetes master version
4729
+ # version aliases, which have the following behavior: - "latest": picks the
4730
+ # highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N
4731
+ # patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the
4732
+ # 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-":
4733
+ # picks the Kubernetes master version
4711
4734
  # Corresponds to the JSON property `nodeVersion`
4712
4735
  # @return [String]
4713
4736
  attr_accessor :node_version
4714
4737
 
4715
4738
  # Required. Deprecated. The Google Developers Console [project ID or project
4716
- # number](https://support.google.com/cloud/answer/6158840).
4717
- # This field has been deprecated and replaced by the name field.
4739
+ # number](https://support.google.com/cloud/answer/6158840). This field has been
4740
+ # deprecated and replaced by the name field.
4718
4741
  # Corresponds to the JSON property `projectId`
4719
4742
  # @return [String]
4720
4743
  attr_accessor :project_id
4721
4744
 
4722
4745
  # These upgrade settings control the level of parallelism and the level of
4723
- # disruption caused by an upgrade.
4724
- # maxUnavailable controls the number of nodes that can be simultaneously
4725
- # unavailable.
4726
- # maxSurge controls the number of additional nodes that can be added to the
4727
- # node pool temporarily for the time of the upgrade to increase the number of
4728
- # available nodes.
4729
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
4730
- # nodes are being upgraded at the same time).
4731
- # Note: upgrades inevitably introduce some disruption since workloads need to
4732
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
4733
- # this holds true. (Disruption stays within the limits of
4734
- # PodDisruptionBudget, if it is configured.)
4735
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
4736
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
4737
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
4738
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
4739
- # there are always at least 4 nodes available.
4746
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
4747
+ # that can be simultaneously unavailable. maxSurge controls the number of
4748
+ # additional nodes that can be added to the node pool temporarily for the time
4749
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
4750
+ # maxSurge) determines the level of parallelism (how many nodes are being
4751
+ # upgraded at the same time). Note: upgrades inevitably introduce some
4752
+ # disruption since workloads need to be moved from old nodes to new, upgraded
4753
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
4754
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
4755
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
4756
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
4757
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
4758
+ # same time. This ensures that there are always at least 4 nodes available.
4740
4759
  # Corresponds to the JSON property `upgradeSettings`
4741
4760
  # @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
4742
4761
  attr_accessor :upgrade_settings
@@ -4747,10 +4766,9 @@ module Google
4747
4766
  # @return [Google::Apis::ContainerV1beta1::WorkloadMetadataConfig]
4748
4767
  attr_accessor :workload_metadata_config
4749
4768
 
4750
- # Required. Deprecated. The name of the Google Compute Engine
4751
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4752
- # cluster resides. This field has been deprecated and replaced by the name
4753
- # field.
4769
+ # Required. Deprecated. The name of the Google Compute Engine [zone](https://
4770
+ # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
4771
+ # This field has been deprecated and replaced by the name field.
4754
4772
  # Corresponds to the JSON property `zone`
4755
4773
  # @return [String]
4756
4774
  attr_accessor :zone
@@ -4776,36 +4794,82 @@ module Google
4776
4794
  end
4777
4795
  end
4778
4796
 
4797
+ # UpgradeEvent is a notification sent to customers by the cluster server when a
4798
+ # resource is upgrading.
4799
+ class UpgradeEvent
4800
+ include Google::Apis::Core::Hashable
4801
+
4802
+ # Required. The current version before the upgrade.
4803
+ # Corresponds to the JSON property `currentVersion`
4804
+ # @return [String]
4805
+ attr_accessor :current_version
4806
+
4807
+ # Required. The operation associated with this upgrade.
4808
+ # Corresponds to the JSON property `operation`
4809
+ # @return [String]
4810
+ attr_accessor :operation
4811
+
4812
+ # Required. The time when the operation was started.
4813
+ # Corresponds to the JSON property `operationStartTime`
4814
+ # @return [String]
4815
+ attr_accessor :operation_start_time
4816
+
4817
+ # Optional. Optional relative path to the resource. For example in node pool
4818
+ # upgrades, the relative path of the node pool.
4819
+ # Corresponds to the JSON property `resource`
4820
+ # @return [String]
4821
+ attr_accessor :resource
4822
+
4823
+ # Required. The resource type that is upgrading.
4824
+ # Corresponds to the JSON property `resourceType`
4825
+ # @return [String]
4826
+ attr_accessor :resource_type
4827
+
4828
+ # Required. The target version for the upgrade.
4829
+ # Corresponds to the JSON property `targetVersion`
4830
+ # @return [String]
4831
+ attr_accessor :target_version
4832
+
4833
+ def initialize(**args)
4834
+ update!(**args)
4835
+ end
4836
+
4837
+ # Update properties of this object
4838
+ def update!(**args)
4839
+ @current_version = args[:current_version] if args.key?(:current_version)
4840
+ @operation = args[:operation] if args.key?(:operation)
4841
+ @operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
4842
+ @resource = args[:resource] if args.key?(:resource)
4843
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
4844
+ @target_version = args[:target_version] if args.key?(:target_version)
4845
+ end
4846
+ end
4847
+
4779
4848
  # These upgrade settings control the level of parallelism and the level of
4780
- # disruption caused by an upgrade.
4781
- # maxUnavailable controls the number of nodes that can be simultaneously
4782
- # unavailable.
4783
- # maxSurge controls the number of additional nodes that can be added to the
4784
- # node pool temporarily for the time of the upgrade to increase the number of
4785
- # available nodes.
4786
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
4787
- # nodes are being upgraded at the same time).
4788
- # Note: upgrades inevitably introduce some disruption since workloads need to
4789
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
4790
- # this holds true. (Disruption stays within the limits of
4791
- # PodDisruptionBudget, if it is configured.)
4792
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
4793
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
4794
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
4795
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
4796
- # there are always at least 4 nodes available.
4849
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
4850
+ # that can be simultaneously unavailable. maxSurge controls the number of
4851
+ # additional nodes that can be added to the node pool temporarily for the time
4852
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
4853
+ # maxSurge) determines the level of parallelism (how many nodes are being
4854
+ # upgraded at the same time). Note: upgrades inevitably introduce some
4855
+ # disruption since workloads need to be moved from old nodes to new, upgraded
4856
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
4857
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
4858
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
4859
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
4860
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
4861
+ # same time. This ensures that there are always at least 4 nodes available.
4797
4862
  class UpgradeSettings
4798
4863
  include Google::Apis::Core::Hashable
4799
4864
 
4800
- # The maximum number of nodes that can be created beyond the current size
4801
- # of the node pool during the upgrade process.
4865
+ # The maximum number of nodes that can be created beyond the current size of the
4866
+ # node pool during the upgrade process.
4802
4867
  # Corresponds to the JSON property `maxSurge`
4803
4868
  # @return [Fixnum]
4804
4869
  attr_accessor :max_surge
4805
4870
 
4806
- # The maximum number of nodes that can be simultaneously unavailable during
4807
- # the upgrade process. A node is considered available if its status is
4808
- # Ready.
4871
+ # The maximum number of nodes that can be simultaneously unavailable during the
4872
+ # upgrade process. A node is considered available if its status is Ready.
4809
4873
  # Corresponds to the JSON property `maxUnavailable`
4810
4874
  # @return [Fixnum]
4811
4875
  attr_accessor :max_unavailable
@@ -4831,8 +4895,7 @@ module Google
4831
4895
  # @return [String]
4832
4896
  attr_accessor :ip_cidr_range
4833
4897
 
4834
- # Network Name.
4835
- # Example: projects/my-project/global/networks/my-network
4898
+ # Network Name. Example: projects/my-project/global/networks/my-network
4836
4899
  # Corresponds to the JSON property `network`
4837
4900
  # @return [String]
4838
4901
  attr_accessor :network
@@ -4842,16 +4905,16 @@ module Google
4842
4905
  # @return [Array<Google::Apis::ContainerV1beta1::UsableSubnetworkSecondaryRange>]
4843
4906
  attr_accessor :secondary_ip_ranges
4844
4907
 
4845
- # A human readable status message representing the reasons for cases where
4846
- # the caller cannot use the secondary ranges under the subnet. For example if
4847
- # the secondary_ip_ranges is empty due to a permission issue, an insufficient
4908
+ # A human readable status message representing the reasons for cases where the
4909
+ # caller cannot use the secondary ranges under the subnet. For example if the
4910
+ # secondary_ip_ranges is empty due to a permission issue, an insufficient
4848
4911
  # permission message will be given by status_message.
4849
4912
  # Corresponds to the JSON property `statusMessage`
4850
4913
  # @return [String]
4851
4914
  attr_accessor :status_message
4852
4915
 
4853
- # Subnetwork Name.
4854
- # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
4916
+ # Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/
4917
+ # my-subnet
4855
4918
  # Corresponds to the JSON property `subnetwork`
4856
4919
  # @return [String]
4857
4920
  attr_accessor :subnetwork
@@ -4879,8 +4942,8 @@ module Google
4879
4942
  # @return [String]
4880
4943
  attr_accessor :ip_cidr_range
4881
4944
 
4882
- # The name associated with this subnetwork secondary range, used when adding
4883
- # an alias IP range to a VM instance.
4945
+ # The name associated with this subnetwork secondary range, used when adding an
4946
+ # alias IP range to a VM instance.
4884
4947
  # Corresponds to the JSON property `rangeName`
4885
4948
  # @return [String]
4886
4949
  attr_accessor :range_name
@@ -4902,9 +4965,9 @@ module Google
4902
4965
  end
4903
4966
  end
4904
4967
 
4905
- # VerticalPodAutoscaling contains global, per-cluster information
4906
- # required by Vertical Pod Autoscaler to automatically adjust
4907
- # the resources of pods controlled by it.
4968
+ # VerticalPodAutoscaling contains global, per-cluster information required by
4969
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
4970
+ # controlled by it.
4908
4971
  class VerticalPodAutoscaling
4909
4972
  include Google::Apis::Core::Hashable
4910
4973
 
@@ -4924,8 +4987,7 @@ module Google
4924
4987
  end
4925
4988
  end
4926
4989
 
4927
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
4928
- # policies.
4990
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
4929
4991
  class WorkloadIdentityConfig
4930
4992
  include Google::Apis::Core::Hashable
4931
4993
 
@@ -4961,14 +5023,14 @@ module Google
4961
5023
  class WorkloadMetadataConfig
4962
5024
  include Google::Apis::Core::Hashable
4963
5025
 
4964
- # Mode is the configuration for how to expose metadata to workloads running
4965
- # on the node pool.
5026
+ # Mode is the configuration for how to expose metadata to workloads running on
5027
+ # the node pool.
4966
5028
  # Corresponds to the JSON property `mode`
4967
5029
  # @return [String]
4968
5030
  attr_accessor :mode
4969
5031
 
4970
- # NodeMetadata is the configuration for how to expose metadata to the
4971
- # workloads running on the node.
5032
+ # NodeMetadata is the configuration for how to expose metadata to the workloads
5033
+ # running on the node.
4972
5034
  # Corresponds to the JSON property `nodeMetadata`
4973
5035
  # @return [String]
4974
5036
  attr_accessor :node_metadata