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
 
@@ -69,14 +69,14 @@ module Google
69
69
  attr_accessor :dns_cache_config
70
70
 
71
71
  # Configuration options for the horizontal pod autoscaling feature, which
72
- # increases or decreases the number of replica pods a replication controller
73
- # has based on the resource usage of the existing pods.
72
+ # increases or decreases the number of replica pods a replication controller has
73
+ # based on the resource usage of the existing pods.
74
74
  # Corresponds to the JSON property `horizontalPodAutoscaling`
75
75
  # @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling]
76
76
  attr_accessor :horizontal_pod_autoscaling
77
77
 
78
- # Configuration options for the HTTP (L7) load balancing controller addon,
79
- # which makes it easy to set up HTTP load balancers for services in a cluster.
78
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
79
+ # makes it easy to set up HTTP load balancers for services in a cluster.
80
80
  # Corresponds to the JSON property `httpLoadBalancing`
81
81
  # @return [Google::Apis::ContainerV1::HttpLoadBalancing]
82
82
  attr_accessor :http_load_balancing
@@ -86,9 +86,9 @@ module Google
86
86
  # @return [Google::Apis::ContainerV1::KubernetesDashboard]
87
87
  attr_accessor :kubernetes_dashboard
88
88
 
89
- # Configuration for NetworkPolicy. This only tracks whether the addon
90
- # is enabled or not on the Master, it does not track whether network policy
91
- # is enabled for the nodes.
89
+ # Configuration for NetworkPolicy. This only tracks whether the addon is enabled
90
+ # or not on the Master, it does not track whether network policy is enabled for
91
+ # the nodes.
92
92
  # Corresponds to the JSON property `networkPolicyConfig`
93
93
  # @return [Google::Apis::ContainerV1::NetworkPolicyConfig]
94
94
  attr_accessor :network_policy_config
@@ -113,15 +113,15 @@ module Google
113
113
  class AuthenticatorGroupsConfig
114
114
  include Google::Apis::Core::Hashable
115
115
 
116
- # Whether this cluster should return group membership lookups
117
- # during authentication using a group of security groups.
116
+ # Whether this cluster should return group membership lookups during
117
+ # authentication using a group of security groups.
118
118
  # Corresponds to the JSON property `enabled`
119
119
  # @return [Boolean]
120
120
  attr_accessor :enabled
121
121
  alias_method :enabled?, :enabled
122
122
 
123
- # The name of the security group-of-groups to be used. Only relevant
124
- # if enabled = true.
123
+ # The name of the security group-of-groups to be used. Only relevant if enabled =
124
+ # true.
125
125
  # Corresponds to the JSON property `securityGroup`
126
126
  # @return [String]
127
127
  attr_accessor :security_group
@@ -137,20 +137,20 @@ module Google
137
137
  end
138
138
  end
139
139
 
140
- # AutoUpgradeOptions defines the set of options for the user to control how
141
- # the Auto Upgrades will proceed.
140
+ # AutoUpgradeOptions defines the set of options for the user to control how the
141
+ # Auto Upgrades will proceed.
142
142
  class AutoUpgradeOptions
143
143
  include Google::Apis::Core::Hashable
144
144
 
145
- # [Output only] This field is set when upgrades are about to commence
146
- # with the approximate start time for the upgrades, in
147
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
145
+ # [Output only] This field is set when upgrades are about to commence with the
146
+ # approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/
147
+ # rfc3339.txt) text format.
148
148
  # Corresponds to the JSON property `autoUpgradeStartTime`
149
149
  # @return [String]
150
150
  attr_accessor :auto_upgrade_start_time
151
151
 
152
- # [Output only] This field is set when upgrades are about to commence
153
- # with the description of the upgrade.
152
+ # [Output only] This field is set when upgrades are about to commence with the
153
+ # description of the upgrade.
154
154
  # Corresponds to the JSON property `description`
155
155
  # @return [String]
156
156
  attr_accessor :description
@@ -166,17 +166,49 @@ module Google
166
166
  end
167
167
  end
168
168
 
169
- # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
170
- # by NAP.
169
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
170
+ # NAP.
171
171
  class AutoprovisioningNodePoolDefaults
172
172
  include Google::Apis::Core::Hashable
173
173
 
174
+ # The Customer Managed Encryption Key used to encrypt the boot disk attached to
175
+ # each node in the node pool. This should be of the form projects/[
176
+ # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
177
+ # . For more information about protecting resources with Cloud KMS Keys please
178
+ # see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
179
+ # Corresponds to the JSON property `bootDiskKmsKey`
180
+ # @return [String]
181
+ attr_accessor :boot_disk_kms_key
182
+
183
+ # Size of the disk attached to each node, specified in GB. The smallest allowed
184
+ # disk size is 10GB. If unspecified, the default disk size is 100GB.
185
+ # Corresponds to the JSON property `diskSizeGb`
186
+ # @return [Fixnum]
187
+ attr_accessor :disk_size_gb
188
+
189
+ # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
190
+ # unspecified, the default disk type is 'pd-standard'
191
+ # Corresponds to the JSON property `diskType`
192
+ # @return [String]
193
+ attr_accessor :disk_type
194
+
174
195
  # NodeManagement defines the set of node management services turned on for the
175
196
  # node pool.
176
197
  # Corresponds to the JSON property `management`
177
198
  # @return [Google::Apis::ContainerV1::NodeManagement]
178
199
  attr_accessor :management
179
200
 
201
+ # Minimum CPU platform to be used for NAP created node pools. The instance may
202
+ # be scheduled on the specified or newer CPU platform. Applicable values are the
203
+ # friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or
204
+ # minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify
205
+ # min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-
206
+ # cpu-platform) To unset the min cpu platform field pass "automatic" as field
207
+ # value.
208
+ # Corresponds to the JSON property `minCpuPlatform`
209
+ # @return [String]
210
+ attr_accessor :min_cpu_platform
211
+
180
212
  # Scopes that are used by NAP when creating node pools.
181
213
  # Corresponds to the JSON property `oauthScopes`
182
214
  # @return [Array<String>]
@@ -187,24 +219,25 @@ module Google
187
219
  # @return [String]
188
220
  attr_accessor :service_account
189
221
 
222
+ # A set of Shielded Instance options.
223
+ # Corresponds to the JSON property `shieldedInstanceConfig`
224
+ # @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
225
+ attr_accessor :shielded_instance_config
226
+
190
227
  # These upgrade settings control the level of parallelism and the level of
191
- # disruption caused by an upgrade.
192
- # maxUnavailable controls the number of nodes that can be simultaneously
193
- # unavailable.
194
- # maxSurge controls the number of additional nodes that can be added to the
195
- # node pool temporarily for the time of the upgrade to increase the number of
196
- # available nodes.
197
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
198
- # nodes are being upgraded at the same time).
199
- # Note: upgrades inevitably introduce some disruption since workloads need to
200
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
201
- # this holds true. (Disruption stays within the limits of
202
- # PodDisruptionBudget, if it is configured.)
203
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
204
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
205
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
206
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
207
- # there are always at least 4 nodes available.
228
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
229
+ # that can be simultaneously unavailable. maxSurge controls the number of
230
+ # additional nodes that can be added to the node pool temporarily for the time
231
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
232
+ # maxSurge) determines the level of parallelism (how many nodes are being
233
+ # upgraded at the same time). Note: upgrades inevitably introduce some
234
+ # disruption since workloads need to be moved from old nodes to new, upgraded
235
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
236
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
237
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
238
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
239
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
240
+ # same time. This ensures that there are always at least 4 nodes available.
208
241
  # Corresponds to the JSON property `upgradeSettings`
209
242
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
210
243
  attr_accessor :upgrade_settings
@@ -215,9 +248,14 @@ module Google
215
248
 
216
249
  # Update properties of this object
217
250
  def update!(**args)
251
+ @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
252
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
253
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
218
254
  @management = args[:management] if args.key?(:management)
255
+ @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
219
256
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
220
257
  @service_account = args[:service_account] if args.key?(:service_account)
258
+ @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
221
259
  @upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
222
260
  end
223
261
  end
@@ -245,8 +283,8 @@ module Google
245
283
  class BinaryAuthorization
246
284
  include Google::Apis::Core::Hashable
247
285
 
248
- # Enable Binary Authorization for this cluster. If enabled, all container
249
- # images will be validated by Binary Authorization.
286
+ # Enable Binary Authorization for this cluster. If enabled, all container images
287
+ # will be validated by Binary Authorization.
250
288
  # Corresponds to the JSON property `enabled`
251
289
  # @return [Boolean]
252
290
  attr_accessor :enabled
@@ -272,23 +310,22 @@ module Google
272
310
  # @return [String]
273
311
  attr_accessor :name
274
312
 
275
- # Deprecated. The server-assigned `name` of the operation.
276
- # This field has been deprecated and replaced by the name field.
313
+ # Deprecated. The server-assigned `name` of the operation. This field has been
314
+ # deprecated and replaced by the name field.
277
315
  # Corresponds to the JSON property `operationId`
278
316
  # @return [String]
279
317
  attr_accessor :operation_id
280
318
 
281
- # Deprecated. The Google Developers Console [project ID or project
282
- # number](https://support.google.com/cloud/answer/6158840).
283
- # This field has been deprecated and replaced by the name field.
319
+ # Deprecated. The Google Developers Console [project ID or project number](https:
320
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
321
+ # replaced by the name field.
284
322
  # Corresponds to the JSON property `projectId`
285
323
  # @return [String]
286
324
  attr_accessor :project_id
287
325
 
288
- # Deprecated. The name of the Google Compute Engine
289
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
290
- # operation resides. This field has been deprecated and replaced by the name
291
- # field.
326
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
327
+ # com/compute/docs/zones#available) in which the operation resides. This field
328
+ # has been deprecated and replaced by the name field.
292
329
  # Corresponds to the JSON property `zone`
293
330
  # @return [String]
294
331
  attr_accessor :zone
@@ -361,6 +398,11 @@ module Google
361
398
  attr_accessor :disabled
362
399
  alias_method :disabled?, :disabled
363
400
 
401
+ # Which load balancer type is installed for Cloud Run.
402
+ # Corresponds to the JSON property `loadBalancerType`
403
+ # @return [String]
404
+ attr_accessor :load_balancer_type
405
+
364
406
  def initialize(**args)
365
407
  update!(**args)
366
408
  end
@@ -368,6 +410,7 @@ module Google
368
410
  # Update properties of this object
369
411
  def update!(**args)
370
412
  @disabled = args[:disabled] if args.key?(:disabled)
413
+ @load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
371
414
  end
372
415
  end
373
416
 
@@ -375,8 +418,8 @@ module Google
375
418
  class Cluster
376
419
  include Google::Apis::Core::Hashable
377
420
 
378
- # Configuration for the addons that can be automatically spun up in the
379
- # cluster, enabling additional functionality.
421
+ # Configuration for the addons that can be automatically spun up in the cluster,
422
+ # enabling additional functionality.
380
423
  # Corresponds to the JSON property `addonsConfig`
381
424
  # @return [Google::Apis::ContainerV1::AddonsConfig]
382
425
  attr_accessor :addons_config
@@ -386,10 +429,9 @@ module Google
386
429
  # @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
387
430
  attr_accessor :authenticator_groups_config
388
431
 
389
- # ClusterAutoscaling contains global, per-cluster information
390
- # required by Cluster Autoscaler to automatically adjust
391
- # the size of the cluster and create/delete
392
- # node pools based on the current needs.
432
+ # ClusterAutoscaling contains global, per-cluster information required by
433
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
434
+ # delete node pools based on the current needs.
393
435
  # Corresponds to the JSON property `autoscaling`
394
436
  # @return [Google::Apis::ContainerV1::ClusterAutoscaling]
395
437
  attr_accessor :autoscaling
@@ -399,10 +441,10 @@ module Google
399
441
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
400
442
  attr_accessor :binary_authorization
401
443
 
402
- # The IP address range of the container pods in this cluster, in
403
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
404
- # notation (e.g. `10.96.0.0/14`). Leave blank to have
405
- # one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
444
+ # The IP address range of the container pods in this cluster, in [CIDR](http://
445
+ # en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
446
+ # 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
447
+ # in `10.0.0.0/8`.
406
448
  # Corresponds to the JSON property `clusterIpv4Cidr`
407
449
  # @return [String]
408
450
  attr_accessor :cluster_ipv4_cidr
@@ -412,8 +454,8 @@ module Google
412
454
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
413
455
  attr_accessor :conditions
414
456
 
415
- # [Output only] The time the cluster was created, in
416
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
457
+ # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
458
+ # org/rfc/rfc3339.txt) text format.
417
459
  # Corresponds to the JSON property `createTime`
418
460
  # @return [String]
419
461
  attr_accessor :create_time
@@ -423,15 +465,14 @@ module Google
423
465
  # @return [String]
424
466
  attr_accessor :current_master_version
425
467
 
426
- # [Output only] The number of nodes currently in the cluster. Deprecated.
427
- # Call Kubernetes API directly to retrieve node information.
468
+ # [Output only] The number of nodes currently in the cluster. Deprecated. Call
469
+ # Kubernetes API directly to retrieve node information.
428
470
  # Corresponds to the JSON property `currentNodeCount`
429
471
  # @return [Fixnum]
430
472
  attr_accessor :current_node_count
431
473
 
432
- # [Output only] Deprecated, use
433
- # [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/
434
- # rest/v1/projects.locations.clusters.nodePools)
474
+ # [Output only] Deprecated, use [NodePools.version](https://cloud.google.com/
475
+ # kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
435
476
  # instead. The current version of the node software components. If they are
436
477
  # currently at multiple versions because they're in the process of being
437
478
  # upgraded, this reflects the minimum version of all nodes.
@@ -454,12 +495,11 @@ module Google
454
495
  # @return [String]
455
496
  attr_accessor :description
456
497
 
457
- # Kubernetes alpha features are enabled on this cluster. This includes alpha
458
- # API groups (e.g. v1alpha1) and features that may not be production ready in
459
- # the kubernetes version of the master and nodes.
460
- # The cluster has no SLA for uptime and master/node upgrades are disabled.
461
- # Alpha enabled clusters are automatically deleted thirty days after
462
- # creation.
498
+ # Kubernetes alpha features are enabled on this cluster. This includes alpha API
499
+ # groups (e.g. v1alpha1) and features that may not be production ready in the
500
+ # kubernetes version of the master and nodes. The cluster has no SLA for uptime
501
+ # and master/node upgrades are disabled. Alpha enabled clusters are
502
+ # automatically deleted thirty days after creation.
463
503
  # Corresponds to the JSON property `enableKubernetesAlpha`
464
504
  # @return [Boolean]
465
505
  attr_accessor :enable_kubernetes_alpha
@@ -471,45 +511,41 @@ module Google
471
511
  attr_accessor :enable_tpu
472
512
  alias_method :enable_tpu?, :enable_tpu
473
513
 
474
- # [Output only] The IP address of this cluster's master endpoint.
475
- # The endpoint can be accessed from the internet at
476
- # `https://username:password@endpoint/`.
477
- # See the `masterAuth` property of this resource for username and
478
- # password information.
514
+ # [Output only] The IP address of this cluster's master endpoint. The endpoint
515
+ # can be accessed from the internet at `https://username:password@endpoint/`.
516
+ # See the `masterAuth` property of this resource for username and password
517
+ # information.
479
518
  # Corresponds to the JSON property `endpoint`
480
519
  # @return [String]
481
520
  attr_accessor :endpoint
482
521
 
483
- # [Output only] The time the cluster will be automatically
484
- # deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
522
+ # [Output only] The time the cluster will be automatically deleted in [RFC3339](
523
+ # https://www.ietf.org/rfc/rfc3339.txt) text format.
485
524
  # Corresponds to the JSON property `expireTime`
486
525
  # @return [String]
487
526
  attr_accessor :expire_time
488
527
 
489
- # The initial Kubernetes version for this cluster. Valid versions are those
490
- # found in validMasterVersions returned by getServerConfig. The version can
491
- # be upgraded over time; such upgrades are reflected in
492
- # currentMasterVersion and currentNodeVersion.
493
- # Users may specify either explicit versions offered by
494
- # Kubernetes Engine or version aliases, which have the following behavior:
495
- # - "latest": picks the highest valid Kubernetes version
496
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
497
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
498
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
499
- # - "","-": picks the default Kubernetes version
528
+ # The initial Kubernetes version for this cluster. Valid versions are those
529
+ # found in validMasterVersions returned by getServerConfig. The version can be
530
+ # upgraded over time; such upgrades are reflected in currentMasterVersion and
531
+ # currentNodeVersion. Users may specify either explicit versions offered by
532
+ # Kubernetes Engine or version aliases, which have the following behavior: - "
533
+ # latest": picks the highest valid Kubernetes version - "1.X": picks the highest
534
+ # valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
535
+ # gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
536
+ # version - "","-": picks the default Kubernetes version
500
537
  # Corresponds to the JSON property `initialClusterVersion`
501
538
  # @return [String]
502
539
  attr_accessor :initial_cluster_version
503
540
 
504
541
  # The number of nodes to create in this cluster. You must ensure that your
505
- # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
506
- # is sufficient for this number of instances. You must also have available
507
- # firewall and routes quota.
508
- # For requests, this field should only be used in lieu of a
509
- # "node_pool" object, since this configuration (along with the
510
- # "node_config") will be used to create a "NodePool" object with an
511
- # auto-generated name. Do not use this and a node_pool at the same time.
512
- # This field is deprecated, use node_pool.initial_node_count instead.
542
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
543
+ # sufficient for this number of instances. You must also have available firewall
544
+ # and routes quota. For requests, this field should only be used in lieu of a "
545
+ # node_pool" object, since this configuration (along with the "node_config")
546
+ # will be used to create a "NodePool" object with an auto-generated name. Do not
547
+ # use this and a node_pool at the same time. This field is deprecated, use
548
+ # node_pool.initial_node_count instead.
513
549
  # Corresponds to the JSON property `initialNodeCount`
514
550
  # @return [Fixnum]
515
551
  attr_accessor :initial_node_count
@@ -529,39 +565,39 @@ module Google
529
565
  # @return [String]
530
566
  attr_accessor :label_fingerprint
531
567
 
532
- # Configuration for the legacy Attribute Based Access Control authorization
533
- # mode.
568
+ # Configuration for the legacy Attribute Based Access Control authorization mode.
534
569
  # Corresponds to the JSON property `legacyAbac`
535
570
  # @return [Google::Apis::ContainerV1::LegacyAbac]
536
571
  attr_accessor :legacy_abac
537
572
 
538
- # [Output only] The name of the Google Compute Engine
539
- # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
540
- # available)
541
- # or
542
- # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
543
- # available)
573
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
574
+ # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
575
+ # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
544
576
  # in which the cluster resides.
545
577
  # Corresponds to the JSON property `location`
546
578
  # @return [String]
547
579
  attr_accessor :location
548
580
 
549
- # The list of Google Compute Engine
550
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
551
- # cluster's nodes should be located.
581
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
582
+ # docs/zones#available) in which the cluster's nodes should be located. This
583
+ # field provides a default value if [NodePool.Locations](https://cloud.google.
584
+ # com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.
585
+ # nodePools#NodePool.FIELDS.locations) are not specified during node pool
586
+ # creation. Warning: changing cluster locations will update the [NodePool.
587
+ # Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/
588
+ # projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node
589
+ # pools and will result in nodes being added and/or removed.
552
590
  # Corresponds to the JSON property `locations`
553
591
  # @return [Array<String>]
554
592
  attr_accessor :locations
555
593
 
556
- # The logging service the cluster should use to write logs.
557
- # Currently available options:
558
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
559
- # service with a Kubernetes-native resource model
560
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
561
- # available as of GKE 1.15).
562
- # * `none` - no logs will be exported from the cluster.
563
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
564
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
594
+ # The logging service the cluster should use to write logs. Currently available
595
+ # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
596
+ # with a Kubernetes-native resource model * `logging.googleapis.com` - The
597
+ # legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
598
+ # no logs will be exported from the cluster. If left as an empty string,`logging.
599
+ # googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
600
+ # com` for earlier versions.
565
601
  # Corresponds to the JSON property `loggingService`
566
602
  # @return [String]
567
603
  attr_accessor :logging_service
@@ -572,8 +608,7 @@ module Google
572
608
  attr_accessor :maintenance_policy
573
609
 
574
610
  # The authentication information for accessing the master endpoint.
575
- # Authentication can be done using HTTP basic auth or using client
576
- # certificates.
611
+ # Authentication can be done using HTTP basic auth or using client certificates.
577
612
  # Corresponds to the JSON property `masterAuth`
578
613
  # @return [Google::Apis::ContainerV1::MasterAuth]
579
614
  attr_accessor :master_auth
@@ -586,34 +621,28 @@ module Google
586
621
  # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
587
622
  attr_accessor :master_authorized_networks_config
588
623
 
589
- # The monitoring service the cluster should use to write metrics.
590
- # Currently available options:
591
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
592
- # service with a Kubernetes-native resource model
593
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
594
- # longer available as of GKE 1.15).
595
- # * `none` - No metrics will be exported from the cluster.
596
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
597
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
624
+ # The monitoring service the cluster should use to write metrics. Currently
625
+ # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
626
+ # Monitoring service with a Kubernetes-native resource model * `monitoring.
627
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
628
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
629
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
630
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
598
631
  # Corresponds to the JSON property `monitoringService`
599
632
  # @return [String]
600
633
  attr_accessor :monitoring_service
601
634
 
602
- # The name of this cluster. The name must be unique within this project
603
- # and location (e.g. zone or region), and can be up to 40 characters with
604
- # the following restrictions:
605
- # * Lowercase letters, numbers, and hyphens only.
606
- # * Must start with a letter.
607
- # * Must end with a number or a letter.
635
+ # The name of this cluster. The name must be unique within this project and
636
+ # location (e.g. zone or region), and can be up to 40 characters with the
637
+ # following restrictions: * Lowercase letters, numbers, and hyphens only. * Must
638
+ # start with a letter. * Must end with a number or a letter.
608
639
  # Corresponds to the JSON property `name`
609
640
  # @return [String]
610
641
  attr_accessor :name
611
642
 
612
- # The name of the Google Compute Engine
613
- # [network](https://cloud.google.com/compute/docs/networks-and-firewalls#
614
- # networks)
615
- # to which the cluster is connected. If left unspecified, the `default`
616
- # network will be used.
643
+ # The name of the Google Compute Engine [network](https://cloud.google.com/
644
+ # compute/docs/networks-and-firewalls#networks) to which the cluster is
645
+ # connected. If left unspecified, the `default` network will be used.
617
646
  # Corresponds to the JSON property `network`
618
647
  # @return [String]
619
648
  attr_accessor :network
@@ -623,8 +652,8 @@ module Google
623
652
  # @return [Google::Apis::ContainerV1::NetworkConfig]
624
653
  attr_accessor :network_config
625
654
 
626
- # Configuration options for the NetworkPolicy feature.
627
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
655
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
656
+ # docs/concepts/services-networking/networkpolicies/
628
657
  # Corresponds to the JSON property `networkPolicy`
629
658
  # @return [Google::Apis::ContainerV1::NetworkPolicy]
630
659
  attr_accessor :network_policy
@@ -635,16 +664,14 @@ module Google
635
664
  attr_accessor :node_config
636
665
 
637
666
  # [Output only] The size of the address space on each node for hosting
638
- # containers. This is provisioned from within the `container_ipv4_cidr`
639
- # range. This field will only be set when cluster is in route-based network
640
- # mode.
667
+ # containers. This is provisioned from within the `container_ipv4_cidr` range.
668
+ # This field will only be set when cluster is in route-based network mode.
641
669
  # Corresponds to the JSON property `nodeIpv4CidrSize`
642
670
  # @return [Fixnum]
643
671
  attr_accessor :node_ipv4_cidr_size
644
672
 
645
- # The node pools associated with this cluster.
646
- # This field should not be set if "node_config" or "initial_node_count" are
647
- # specified.
673
+ # The node pools associated with this cluster. This field should not be set if "
674
+ # node_config" or "initial_node_count" are specified.
648
675
  # Corresponds to the JSON property `nodePools`
649
676
  # @return [Array<Google::Apis::ContainerV1::NodePool>]
650
677
  attr_accessor :node_pools
@@ -654,17 +681,16 @@ module Google
654
681
  # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
655
682
  attr_accessor :private_cluster_config
656
683
 
657
- # ReleaseChannel indicates which release channel a cluster is
658
- # subscribed to. Release channels are arranged in order of risk.
659
- # When a cluster is subscribed to a release channel, Google maintains
660
- # both the master version and the node version. Node auto-upgrade
661
- # defaults to true and cannot be disabled.
684
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
685
+ # Release channels are arranged in order of risk. When a cluster is subscribed
686
+ # to a release channel, Google maintains both the master version and the node
687
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
662
688
  # Corresponds to the JSON property `releaseChannel`
663
689
  # @return [Google::Apis::ContainerV1::ReleaseChannel]
664
690
  attr_accessor :release_channel
665
691
 
666
- # The resource labels for the cluster to use to annotate any related
667
- # Google Compute Engine resources.
692
+ # The resource labels for the cluster to use to annotate any related Google
693
+ # Compute Engine resources.
668
694
  # Corresponds to the JSON property `resourceLabels`
669
695
  # @return [Hash<String,String>]
670
696
  attr_accessor :resource_labels
@@ -679,11 +705,10 @@ module Google
679
705
  # @return [String]
680
706
  attr_accessor :self_link
681
707
 
682
- # [Output only] The IP address range of the Kubernetes services in
683
- # this cluster, in
684
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
685
- # notation (e.g. `1.2.3.4/29`). Service addresses are
686
- # typically put in the last `/16` from the container CIDR.
708
+ # [Output only] The IP address range of the Kubernetes services in this cluster,
709
+ # in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
710
+ # notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
711
+ # /16` from the container CIDR.
687
712
  # Corresponds to the JSON property `servicesIpv4Cidr`
688
713
  # @return [String]
689
714
  attr_accessor :services_ipv4_cidr
@@ -698,42 +723,40 @@ module Google
698
723
  # @return [String]
699
724
  attr_accessor :status
700
725
 
701
- # [Output only] Additional information about the current status of this
702
- # cluster, if available.
726
+ # [Output only] Additional information about the current status of this cluster,
727
+ # if available.
703
728
  # Corresponds to the JSON property `statusMessage`
704
729
  # @return [String]
705
730
  attr_accessor :status_message
706
731
 
707
- # The name of the Google Compute Engine
708
- # [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
709
- # the cluster is connected.
732
+ # The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
733
+ # compute/docs/subnetworks) to which the cluster is connected.
710
734
  # Corresponds to the JSON property `subnetwork`
711
735
  # @return [String]
712
736
  attr_accessor :subnetwork
713
737
 
714
- # [Output only] The IP address range of the Cloud TPUs in this cluster, in
715
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
716
- # notation (e.g. `1.2.3.4/29`).
738
+ # [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR]
739
+ # (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
740
+ # 1.2.3.4/29`).
717
741
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
718
742
  # @return [String]
719
743
  attr_accessor :tpu_ipv4_cidr_block
720
744
 
721
- # VerticalPodAutoscaling contains global, per-cluster information
722
- # required by Vertical Pod Autoscaler to automatically adjust
723
- # the resources of pods controlled by it.
745
+ # VerticalPodAutoscaling contains global, per-cluster information required by
746
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
747
+ # controlled by it.
724
748
  # Corresponds to the JSON property `verticalPodAutoscaling`
725
749
  # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
726
750
  attr_accessor :vertical_pod_autoscaling
727
751
 
728
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
729
- # policies.
752
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
730
753
  # Corresponds to the JSON property `workloadIdentityConfig`
731
754
  # @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
732
755
  attr_accessor :workload_identity_config
733
756
 
734
- # [Output only] The name of the Google Compute Engine
735
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
736
- # cluster resides. This field is deprecated, use location instead.
757
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
758
+ # google.com/compute/docs/zones#available) in which the cluster resides. This
759
+ # field is deprecated, use location instead.
737
760
  # Corresponds to the JSON property `zone`
738
761
  # @return [String]
739
762
  attr_accessor :zone
@@ -798,22 +821,20 @@ module Google
798
821
  end
799
822
  end
800
823
 
801
- # ClusterAutoscaling contains global, per-cluster information
802
- # required by Cluster Autoscaler to automatically adjust
803
- # the size of the cluster and create/delete
804
- # node pools based on the current needs.
824
+ # ClusterAutoscaling contains global, per-cluster information required by
825
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
826
+ # delete node pools based on the current needs.
805
827
  class ClusterAutoscaling
806
828
  include Google::Apis::Core::Hashable
807
829
 
808
- # The list of Google Compute Engine
809
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
810
- # NodePool's nodes can be created by NAP.
830
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
831
+ # docs/zones#available) in which the NodePool's nodes can be created by NAP.
811
832
  # Corresponds to the JSON property `autoprovisioningLocations`
812
833
  # @return [Array<String>]
813
834
  attr_accessor :autoprovisioning_locations
814
835
 
815
- # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
816
- # by NAP.
836
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
837
+ # NAP.
817
838
  # Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
818
839
  # @return [Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults]
819
840
  attr_accessor :autoprovisioning_node_pool_defaults
@@ -824,8 +845,8 @@ module Google
824
845
  attr_accessor :enable_node_autoprovisioning
825
846
  alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
826
847
 
827
- # Contains global constraints regarding minimum and maximum
828
- # amount of resources in the cluster.
848
+ # Contains global constraints regarding minimum and maximum amount of resources
849
+ # in the cluster.
829
850
  # Corresponds to the JSON property `resourceLimits`
830
851
  # @return [Array<Google::Apis::ContainerV1::ResourceLimit>]
831
852
  attr_accessor :resource_limits
@@ -843,14 +864,13 @@ module Google
843
864
  end
844
865
  end
845
866
 
846
- # ClusterUpdate describes an update to the cluster. Exactly one update can
847
- # be applied to a cluster with each request, so at most one field can be
848
- # provided.
867
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
868
+ # applied to a cluster with each request, so at most one field can be provided.
849
869
  class ClusterUpdate
850
870
  include Google::Apis::Core::Hashable
851
871
 
852
- # Configuration for the addons that can be automatically spun up in the
853
- # cluster, enabling additional functionality.
872
+ # Configuration for the addons that can be automatically spun up in the cluster,
873
+ # enabling additional functionality.
854
874
  # Corresponds to the JSON property `desiredAddonsConfig`
855
875
  # @return [Google::Apis::ContainerV1::AddonsConfig]
856
876
  attr_accessor :desired_addons_config
@@ -860,10 +880,9 @@ module Google
860
880
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
861
881
  attr_accessor :desired_binary_authorization
862
882
 
863
- # ClusterAutoscaling contains global, per-cluster information
864
- # required by Cluster Autoscaler to automatically adjust
865
- # the size of the cluster and create/delete
866
- # node pools based on the current needs.
883
+ # ClusterAutoscaling contains global, per-cluster information required by
884
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
885
+ # delete node pools based on the current needs.
867
886
  # Corresponds to the JSON property `desiredClusterAutoscaling`
868
887
  # @return [Google::Apis::ContainerV1::ClusterAutoscaling]
869
888
  attr_accessor :desired_cluster_autoscaling
@@ -873,8 +892,14 @@ module Google
873
892
  # @return [Google::Apis::ContainerV1::DatabaseEncryption]
874
893
  attr_accessor :desired_database_encryption
875
894
 
876
- # The desired image type for the node pool.
877
- # NOTE: Set the "desired_node_pool" field as well.
895
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
896
+ # disabled on the cluster.
897
+ # Corresponds to the JSON property `desiredDefaultSnatStatus`
898
+ # @return [Google::Apis::ContainerV1::DefaultSnatStatus]
899
+ attr_accessor :desired_default_snat_status
900
+
901
+ # The desired image type for the node pool. NOTE: Set the "desired_node_pool"
902
+ # field as well.
878
903
  # Corresponds to the JSON property `desiredImageType`
879
904
  # @return [String]
880
905
  attr_accessor :desired_image_type
@@ -885,25 +910,22 @@ module Google
885
910
  # @return [Google::Apis::ContainerV1::IntraNodeVisibilityConfig]
886
911
  attr_accessor :desired_intra_node_visibility_config
887
912
 
888
- # The desired list of Google Compute Engine
889
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
890
- # cluster's nodes should be located. Changing the locations a cluster is in
891
- # will result in nodes being either created or removed from the cluster,
892
- # depending on whether locations are being added or removed.
893
- # This list must always include the cluster's primary zone.
913
+ # The desired list of Google Compute Engine [zones](https://cloud.google.com/
914
+ # compute/docs/zones#available) in which the cluster's nodes should be located.
915
+ # This list must always include the cluster's primary zone. Warning: changing
916
+ # cluster locations will update the locations of all node pools and will result
917
+ # in nodes being added and/or removed.
894
918
  # Corresponds to the JSON property `desiredLocations`
895
919
  # @return [Array<String>]
896
920
  attr_accessor :desired_locations
897
921
 
898
- # The logging service the cluster should use to write logs.
899
- # Currently available options:
900
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
901
- # service with a Kubernetes-native resource model
902
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
903
- # available as of GKE 1.15).
904
- # * `none` - no logs will be exported from the cluster.
905
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
906
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
922
+ # The logging service the cluster should use to write logs. Currently available
923
+ # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
924
+ # with a Kubernetes-native resource model * `logging.googleapis.com` - The
925
+ # legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
926
+ # no logs will be exported from the cluster. If left as an empty string,`logging.
927
+ # googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
928
+ # com` for earlier versions.
907
929
  # Corresponds to the JSON property `desiredLoggingService`
908
930
  # @return [String]
909
931
  attr_accessor :desired_logging_service
@@ -916,27 +938,24 @@ module Google
916
938
  # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
917
939
  attr_accessor :desired_master_authorized_networks_config
918
940
 
919
- # The Kubernetes version to change the master to.
920
- # Users may specify either explicit versions offered by
921
- # Kubernetes Engine or version aliases, which have the following behavior:
922
- # - "latest": picks the highest valid Kubernetes version
923
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
924
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
925
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
926
- # - "-": picks the default Kubernetes version
941
+ # The Kubernetes version to change the master to. Users may specify either
942
+ # explicit versions offered by Kubernetes Engine or version aliases, which have
943
+ # the following behavior: - "latest": picks the highest valid Kubernetes version
944
+ # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y"
945
+ # : picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N":
946
+ # picks an explicit Kubernetes version - "-": picks the default Kubernetes
947
+ # version
927
948
  # Corresponds to the JSON property `desiredMasterVersion`
928
949
  # @return [String]
929
950
  attr_accessor :desired_master_version
930
951
 
931
- # The monitoring service the cluster should use to write metrics.
932
- # Currently available options:
933
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
934
- # service with a Kubernetes-native resource model
935
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
936
- # longer available as of GKE 1.15).
937
- # * `none` - No metrics will be exported from the cluster.
938
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
939
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
952
+ # The monitoring service the cluster should use to write metrics. Currently
953
+ # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
954
+ # Monitoring service with a Kubernetes-native resource model * `monitoring.
955
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
956
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
957
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
958
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
940
959
  # Corresponds to the JSON property `desiredMonitoringService`
941
960
  # @return [String]
942
961
  attr_accessor :desired_monitoring_service
@@ -947,32 +966,33 @@ module Google
947
966
  # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
948
967
  attr_accessor :desired_node_pool_autoscaling
949
968
 
950
- # The node pool to be upgraded. This field is mandatory if
951
- # "desired_node_version", "desired_image_family" or
952
- # "desired_node_pool_autoscaling" is specified and there is more than one
953
- # node pool on the cluster.
969
+ # The node pool to be upgraded. This field is mandatory if "desired_node_version"
970
+ # , "desired_image_family" or "desired_node_pool_autoscaling" is specified and
971
+ # there is more than one node pool on the cluster.
954
972
  # Corresponds to the JSON property `desiredNodePoolId`
955
973
  # @return [String]
956
974
  attr_accessor :desired_node_pool_id
957
975
 
958
- # The Kubernetes version to change the nodes to (typically an
959
- # upgrade).
960
- # Users may specify either explicit versions offered by
961
- # Kubernetes Engine or version aliases, which have the following behavior:
962
- # - "latest": picks the highest valid Kubernetes version
963
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
964
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
965
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
966
- # - "-": picks the Kubernetes master version
976
+ # The Kubernetes version to change the nodes to (typically an upgrade). Users
977
+ # may specify either explicit versions offered by Kubernetes Engine or version
978
+ # aliases, which have the following behavior: - "latest": picks the highest
979
+ # valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in
980
+ # the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y
981
+ # version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the
982
+ # Kubernetes master version
967
983
  # Corresponds to the JSON property `desiredNodeVersion`
968
984
  # @return [String]
969
985
  attr_accessor :desired_node_version
970
986
 
971
- # ReleaseChannel indicates which release channel a cluster is
972
- # subscribed to. Release channels are arranged in order of risk.
973
- # When a cluster is subscribed to a release channel, Google maintains
974
- # both the master version and the node version. Node auto-upgrade
975
- # defaults to true and cannot be disabled.
987
+ # Configuration options for private clusters.
988
+ # Corresponds to the JSON property `desiredPrivateClusterConfig`
989
+ # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
990
+ attr_accessor :desired_private_cluster_config
991
+
992
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
993
+ # Release channels are arranged in order of risk. When a cluster is subscribed
994
+ # to a release channel, Google maintains both the master version and the node
995
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
976
996
  # Corresponds to the JSON property `desiredReleaseChannel`
977
997
  # @return [Google::Apis::ContainerV1::ReleaseChannel]
978
998
  attr_accessor :desired_release_channel
@@ -987,15 +1007,14 @@ module Google
987
1007
  # @return [Google::Apis::ContainerV1::ShieldedNodes]
988
1008
  attr_accessor :desired_shielded_nodes
989
1009
 
990
- # VerticalPodAutoscaling contains global, per-cluster information
991
- # required by Vertical Pod Autoscaler to automatically adjust
992
- # the resources of pods controlled by it.
1010
+ # VerticalPodAutoscaling contains global, per-cluster information required by
1011
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
1012
+ # controlled by it.
993
1013
  # Corresponds to the JSON property `desiredVerticalPodAutoscaling`
994
1014
  # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
995
1015
  attr_accessor :desired_vertical_pod_autoscaling
996
1016
 
997
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
998
- # policies.
1017
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
999
1018
  # Corresponds to the JSON property `desiredWorkloadIdentityConfig`
1000
1019
  # @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
1001
1020
  attr_accessor :desired_workload_identity_config
@@ -1010,6 +1029,7 @@ module Google
1010
1029
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1011
1030
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1012
1031
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
1032
+ @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1013
1033
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1014
1034
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1015
1035
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
@@ -1020,6 +1040,7 @@ module Google
1020
1040
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1021
1041
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1022
1042
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
1043
+ @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
1023
1044
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1024
1045
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1025
1046
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
@@ -1032,8 +1053,8 @@ module Google
1032
1053
  class CompleteIpRotationRequest
1033
1054
  include Google::Apis::Core::Hashable
1034
1055
 
1035
- # Deprecated. The name of the cluster.
1036
- # This field has been deprecated and replaced by the name field.
1056
+ # Deprecated. The name of the cluster. This field has been deprecated and
1057
+ # replaced by the name field.
1037
1058
  # Corresponds to the JSON property `clusterId`
1038
1059
  # @return [String]
1039
1060
  attr_accessor :cluster_id
@@ -1044,17 +1065,16 @@ module Google
1044
1065
  # @return [String]
1045
1066
  attr_accessor :name
1046
1067
 
1047
- # Deprecated. The Google Developers Console [project ID or project
1048
- # number](https://developers.google.com/console/help/new/#projectnumber).
1049
- # This field has been deprecated and replaced by the name field.
1068
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1069
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
1070
+ # deprecated and replaced by the name field.
1050
1071
  # Corresponds to the JSON property `projectId`
1051
1072
  # @return [String]
1052
1073
  attr_accessor :project_id
1053
1074
 
1054
- # Deprecated. The name of the Google Compute Engine
1055
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1056
- # cluster resides. This field has been deprecated and replaced by the name
1057
- # field.
1075
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1076
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1077
+ # been deprecated and replaced by the name field.
1058
1078
  # Corresponds to the JSON property `zone`
1059
1079
  # @return [String]
1060
1080
  attr_accessor :zone
@@ -1096,9 +1116,8 @@ module Google
1096
1116
  class ConsumptionMeteringConfig
1097
1117
  include Google::Apis::Core::Hashable
1098
1118
 
1099
- # Whether to enable consumption metering for this cluster. If enabled, a
1100
- # second BigQuery table will be created to hold resource consumption
1101
- # records.
1119
+ # Whether to enable consumption metering for this cluster. If enabled, a second
1120
+ # BigQuery table will be created to hold resource consumption records.
1102
1121
  # Corresponds to the JSON property `enabled`
1103
1122
  # @return [Boolean]
1104
1123
  attr_accessor :enabled
@@ -1123,23 +1142,22 @@ module Google
1123
1142
  # @return [Google::Apis::ContainerV1::Cluster]
1124
1143
  attr_accessor :cluster
1125
1144
 
1126
- # The parent (project and location) where the cluster will be created.
1127
- # Specified in the format `projects/*/locations/*`.
1145
+ # The parent (project and location) where the cluster will be created. Specified
1146
+ # in the format `projects/*/locations/*`.
1128
1147
  # Corresponds to the JSON property `parent`
1129
1148
  # @return [String]
1130
1149
  attr_accessor :parent
1131
1150
 
1132
- # Deprecated. The Google Developers Console [project ID or project
1133
- # number](https://support.google.com/cloud/answer/6158840).
1134
- # This field has been deprecated and replaced by the parent field.
1151
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1152
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
1153
+ # replaced by the parent field.
1135
1154
  # Corresponds to the JSON property `projectId`
1136
1155
  # @return [String]
1137
1156
  attr_accessor :project_id
1138
1157
 
1139
- # Deprecated. The name of the Google Compute Engine
1140
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1141
- # cluster resides. This field has been deprecated and replaced by the parent
1142
- # field.
1158
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1159
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1160
+ # been deprecated and replaced by the parent field.
1143
1161
  # Corresponds to the JSON property `zone`
1144
1162
  # @return [String]
1145
1163
  attr_accessor :zone
@@ -1161,40 +1179,38 @@ module Google
1161
1179
  class CreateNodePoolRequest
1162
1180
  include Google::Apis::Core::Hashable
1163
1181
 
1164
- # Deprecated. The name of the cluster.
1165
- # This field has been deprecated and replaced by the parent field.
1182
+ # Deprecated. The name of the cluster. This field has been deprecated and
1183
+ # replaced by the parent field.
1166
1184
  # Corresponds to the JSON property `clusterId`
1167
1185
  # @return [String]
1168
1186
  attr_accessor :cluster_id
1169
1187
 
1170
- # NodePool contains the name and configuration for a cluster's node pool.
1171
- # Node pools are a set of nodes (i.e. VM's), with a common configuration and
1172
- # specification, under the control of the cluster master. They may have a set
1173
- # of Kubernetes labels applied to them, which may be used to reference them
1174
- # during pod scheduling. They may also be resized up or down, to accommodate
1175
- # the workload.
1188
+ # NodePool contains the name and configuration for a cluster's node pool. Node
1189
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
1190
+ # specification, under the control of the cluster master. They may have a set of
1191
+ # Kubernetes labels applied to them, which may be used to reference them during
1192
+ # pod scheduling. They may also be resized up or down, to accommodate the
1193
+ # workload.
1176
1194
  # Corresponds to the JSON property `nodePool`
1177
1195
  # @return [Google::Apis::ContainerV1::NodePool]
1178
1196
  attr_accessor :node_pool
1179
1197
 
1180
- # The parent (project, location, cluster id) where the node pool will be
1181
- # created. Specified in the format
1182
- # `projects/*/locations/*/clusters/*`.
1198
+ # The parent (project, location, cluster id) where the node pool will be created.
1199
+ # Specified in the format `projects/*/locations/*/clusters/*`.
1183
1200
  # Corresponds to the JSON property `parent`
1184
1201
  # @return [String]
1185
1202
  attr_accessor :parent
1186
1203
 
1187
- # Deprecated. The Google Developers Console [project ID or project
1188
- # number](https://developers.google.com/console/help/new/#projectnumber).
1189
- # This field has been deprecated and replaced by the parent field.
1204
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1205
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
1206
+ # deprecated and replaced by the parent field.
1190
1207
  # Corresponds to the JSON property `projectId`
1191
1208
  # @return [String]
1192
1209
  attr_accessor :project_id
1193
1210
 
1194
- # Deprecated. The name of the Google Compute Engine
1195
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1196
- # cluster resides. This field has been deprecated and replaced by the parent
1197
- # field.
1211
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1212
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1213
+ # been deprecated and replaced by the parent field.
1198
1214
  # Corresponds to the JSON property `zone`
1199
1215
  # @return [String]
1200
1216
  attr_accessor :zone
@@ -1217,17 +1233,16 @@ module Google
1217
1233
  class DailyMaintenanceWindow
1218
1234
  include Google::Apis::Core::Hashable
1219
1235
 
1220
- # [Output only] Duration of the time window, automatically chosen to be
1221
- # smallest possible in the given scenario.
1222
- # Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
1223
- # format "PTnHnMnS".
1236
+ # [Output only] Duration of the time window, automatically chosen to be smallest
1237
+ # possible in the given scenario. Duration will be in [RFC3339](https://www.ietf.
1238
+ # org/rfc/rfc3339.txt) format "PTnHnMnS".
1224
1239
  # Corresponds to the JSON property `duration`
1225
1240
  # @return [String]
1226
1241
  attr_accessor :duration
1227
1242
 
1228
- # Time within the maintenance window to start the maintenance operations.
1229
- # Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
1230
- # format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
1243
+ # Time within the maintenance window to start the maintenance operations. Time
1244
+ # format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "HH:
1245
+ # MM", where HH : [00-23] and MM : [00-59] GMT.
1231
1246
  # Corresponds to the JSON property `startTime`
1232
1247
  # @return [String]
1233
1248
  attr_accessor :start_time
@@ -1247,8 +1262,8 @@ module Google
1247
1262
  class DatabaseEncryption
1248
1263
  include Google::Apis::Core::Hashable
1249
1264
 
1250
- # Name of CloudKMS key to use for the encryption of secrets in etcd.
1251
- # Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1265
+ # Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
1266
+ # projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1252
1267
  # Corresponds to the JSON property `keyName`
1253
1268
  # @return [String]
1254
1269
  attr_accessor :key_name
@@ -1269,6 +1284,27 @@ module Google
1269
1284
  end
1270
1285
  end
1271
1286
 
1287
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
1288
+ # disabled on the cluster.
1289
+ class DefaultSnatStatus
1290
+ include Google::Apis::Core::Hashable
1291
+
1292
+ # Disables cluster default sNAT rules.
1293
+ # Corresponds to the JSON property `disabled`
1294
+ # @return [Boolean]
1295
+ attr_accessor :disabled
1296
+ alias_method :disabled?, :disabled
1297
+
1298
+ def initialize(**args)
1299
+ update!(**args)
1300
+ end
1301
+
1302
+ # Update properties of this object
1303
+ def update!(**args)
1304
+ @disabled = args[:disabled] if args.key?(:disabled)
1305
+ end
1306
+ end
1307
+
1272
1308
  # Configuration for NodeLocal DNSCache
1273
1309
  class DnsCacheConfig
1274
1310
  include Google::Apis::Core::Hashable
@@ -1289,13 +1325,11 @@ module Google
1289
1325
  end
1290
1326
  end
1291
1327
 
1292
- # A generic empty message that you can re-use to avoid defining duplicated
1293
- # empty messages in your APIs. A typical example is to use it as the request
1294
- # or the response type of an API method. For instance:
1295
- # service Foo `
1296
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1297
- # `
1298
- # The JSON representation for `Empty` is empty JSON object ````.
1328
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1329
+ # messages in your APIs. A typical example is to use it as the request or the
1330
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1331
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1332
+ # `Empty` is empty JSON object ````.
1299
1333
  class Empty
1300
1334
  include Google::Apis::Core::Hashable
1301
1335
 
@@ -1317,8 +1351,7 @@ module Google
1317
1351
  # @return [Google::Apis::ContainerV1::HttpCacheControlResponseHeader]
1318
1352
  attr_accessor :cache_header
1319
1353
 
1320
- # The public component of the keys used by the cluster to sign token
1321
- # requests.
1354
+ # The public component of the keys used by the cluster to sign token requests.
1322
1355
  # Corresponds to the JSON property `keys`
1323
1356
  # @return [Array<Google::Apis::ContainerV1::Jwk>]
1324
1357
  attr_accessor :keys
@@ -1334,8 +1367,8 @@ module Google
1334
1367
  end
1335
1368
  end
1336
1369
 
1337
- # GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
1338
- # See the OpenID Connect Discovery 1.0 specification for details.
1370
+ # GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the
1371
+ # OpenID Connect Discovery 1.0 specification for details.
1339
1372
  class GetOpenIdConfigResponse
1340
1373
  include Google::Apis::Core::Hashable
1341
1374
 
@@ -1397,14 +1430,13 @@ module Google
1397
1430
  end
1398
1431
 
1399
1432
  # Configuration options for the horizontal pod autoscaling feature, which
1400
- # increases or decreases the number of replica pods a replication controller
1401
- # has based on the resource usage of the existing pods.
1433
+ # increases or decreases the number of replica pods a replication controller has
1434
+ # based on the resource usage of the existing pods.
1402
1435
  class HorizontalPodAutoscaling
1403
1436
  include Google::Apis::Core::Hashable
1404
1437
 
1405
- # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
1406
- # When enabled, it ensures that metrics are collected into Stackdriver
1407
- # Monitoring.
1438
+ # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
1439
+ # enabled, it ensures that metrics are collected into Stackdriver Monitoring.
1408
1440
  # Corresponds to the JSON property `disabled`
1409
1441
  # @return [Boolean]
1410
1442
  attr_accessor :disabled
@@ -1451,14 +1483,13 @@ module Google
1451
1483
  end
1452
1484
  end
1453
1485
 
1454
- # Configuration options for the HTTP (L7) load balancing controller addon,
1455
- # which makes it easy to set up HTTP load balancers for services in a cluster.
1486
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
1487
+ # makes it easy to set up HTTP load balancers for services in a cluster.
1456
1488
  class HttpLoadBalancing
1457
1489
  include Google::Apis::Core::Hashable
1458
1490
 
1459
- # Whether the HTTP Load Balancing controller is enabled in the cluster.
1460
- # When enabled, it runs a small pod in the cluster that manages the load
1461
- # balancers.
1491
+ # Whether the HTTP Load Balancing controller is enabled in the cluster. When
1492
+ # enabled, it runs a small pod in the cluster that manages the load balancers.
1462
1493
  # Corresponds to the JSON property `disabled`
1463
1494
  # @return [Boolean]
1464
1495
  attr_accessor :disabled
@@ -1483,33 +1514,28 @@ module Google
1483
1514
  # @return [String]
1484
1515
  attr_accessor :cluster_ipv4_cidr
1485
1516
 
1486
- # The IP address range for the cluster pod IPs. If this field is set, then
1487
- # `cluster.cluster_ipv4_cidr` must be left blank.
1488
- # This field is only applicable when `use_ip_aliases` is true.
1489
- # Set to blank to have a range chosen with the default size.
1490
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1491
- # netmask.
1492
- # Set to a
1493
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1494
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1495
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1496
- # to use.
1517
+ # The IP address range for the cluster pod IPs. If this field is set, then `
1518
+ # cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable
1519
+ # when `use_ip_aliases` is true. Set to blank to have a range chosen with the
1520
+ # default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1521
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1522
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1523
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1524
+ # specific range to use.
1497
1525
  # Corresponds to the JSON property `clusterIpv4CidrBlock`
1498
1526
  # @return [String]
1499
1527
  attr_accessor :cluster_ipv4_cidr_block
1500
1528
 
1501
- # The name of the secondary range to be used for the cluster CIDR
1502
- # block. The secondary range will be used for pod IP
1503
- # addresses. This must be an existing secondary range associated
1504
- # with the cluster subnetwork.
1505
- # This field is only applicable with use_ip_aliases is true and
1506
- # create_subnetwork is false.
1529
+ # The name of the secondary range to be used for the cluster CIDR block. The
1530
+ # secondary range will be used for pod IP addresses. This must be an existing
1531
+ # secondary range associated with the cluster subnetwork. This field is only
1532
+ # applicable with use_ip_aliases is true and create_subnetwork is false.
1507
1533
  # Corresponds to the JSON property `clusterSecondaryRangeName`
1508
1534
  # @return [String]
1509
1535
  attr_accessor :cluster_secondary_range_name
1510
1536
 
1511
- # Whether a new subnetwork will be created automatically for the cluster.
1512
- # This field is only applicable when `use_ip_aliases` is true.
1537
+ # Whether a new subnetwork will be created automatically for the cluster. This
1538
+ # field is only applicable when `use_ip_aliases` is true.
1513
1539
  # Corresponds to the JSON property `createSubnetwork`
1514
1540
  # @return [Boolean]
1515
1541
  attr_accessor :create_subnetwork
@@ -1520,16 +1546,13 @@ module Google
1520
1546
  # @return [String]
1521
1547
  attr_accessor :node_ipv4_cidr
1522
1548
 
1523
- # The IP address range of the instance IPs in this cluster.
1524
- # This is applicable only if `create_subnetwork` is true.
1525
- # Set to blank to have a range chosen with the default size.
1526
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1527
- # netmask.
1528
- # Set to a
1529
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1530
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1531
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1532
- # to use.
1549
+ # The IP address range of the instance IPs in this cluster. This is applicable
1550
+ # only if `create_subnetwork` is true. Set to blank to have a range chosen with
1551
+ # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1552
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1553
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1554
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1555
+ # specific range to use.
1533
1556
  # Corresponds to the JSON property `nodeIpv4CidrBlock`
1534
1557
  # @return [String]
1535
1558
  attr_accessor :node_ipv4_cidr_block
@@ -1540,58 +1563,61 @@ module Google
1540
1563
  attr_accessor :services_ipv4_cidr
1541
1564
 
1542
1565
  # The IP address range of the services IPs in this cluster. If blank, a range
1543
- # will be automatically chosen with the default size.
1544
- # This field is only applicable when `use_ip_aliases` is true.
1545
- # Set to blank to have a range chosen with the default size.
1546
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1547
- # netmask.
1548
- # Set to a
1549
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1550
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1551
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1552
- # to use.
1566
+ # will be automatically chosen with the default size. This field is only
1567
+ # applicable when `use_ip_aliases` is true. Set to blank to have a range chosen
1568
+ # with the default size. Set to /netmask (e.g. `/14`) to have a range chosen
1569
+ # with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/
1570
+ # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
1571
+ # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
1572
+ # to pick a specific range to use.
1553
1573
  # Corresponds to the JSON property `servicesIpv4CidrBlock`
1554
1574
  # @return [String]
1555
1575
  attr_accessor :services_ipv4_cidr_block
1556
1576
 
1557
- # The name of the secondary range to be used as for the services
1558
- # CIDR block. The secondary range will be used for service
1559
- # ClusterIPs. This must be an existing secondary range associated
1560
- # with the cluster subnetwork.
1561
- # This field is only applicable with use_ip_aliases is true and
1562
- # create_subnetwork is false.
1577
+ # The name of the secondary range to be used as for the services CIDR block. The
1578
+ # secondary range will be used for service ClusterIPs. This must be an existing
1579
+ # secondary range associated with the cluster subnetwork. This field is only
1580
+ # applicable with use_ip_aliases is true and create_subnetwork is false.
1563
1581
  # Corresponds to the JSON property `servicesSecondaryRangeName`
1564
1582
  # @return [String]
1565
1583
  attr_accessor :services_secondary_range_name
1566
1584
 
1567
- # A custom subnetwork name to be used if `create_subnetwork` is true. If
1568
- # this field is empty, then an automatic name will be chosen for the new
1569
- # subnetwork.
1585
+ # A custom subnetwork name to be used if `create_subnetwork` is true. If this
1586
+ # field is empty, then an automatic name will be chosen for the new subnetwork.
1570
1587
  # Corresponds to the JSON property `subnetworkName`
1571
1588
  # @return [String]
1572
1589
  attr_accessor :subnetwork_name
1573
1590
 
1574
1591
  # The IP address range of the Cloud TPUs in this cluster. If unspecified, a
1575
- # range will be automatically chosen with the default size.
1576
- # This field is only applicable when `use_ip_aliases` is true.
1577
- # If unspecified, the range will use the default size.
1578
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1579
- # netmask.
1580
- # Set to a
1581
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1582
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1583
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1584
- # to use.
1592
+ # range will be automatically chosen with the default size. This field is only
1593
+ # applicable when `use_ip_aliases` is true. If unspecified, the range will use
1594
+ # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1595
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1596
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1597
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1598
+ # specific range to use.
1585
1599
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
1586
1600
  # @return [String]
1587
1601
  attr_accessor :tpu_ipv4_cidr_block
1588
1602
 
1589
- # Whether alias IPs will be used for pod IPs in the cluster.
1603
+ # Whether alias IPs will be used for pod IPs in the cluster. This is used in
1604
+ # conjunction with use_routes. It cannot be true if use_routes is true. If both
1605
+ # use_ip_aliases and use_routes are false, then the server picks the default IP
1606
+ # allocation mode
1590
1607
  # Corresponds to the JSON property `useIpAliases`
1591
1608
  # @return [Boolean]
1592
1609
  attr_accessor :use_ip_aliases
1593
1610
  alias_method :use_ip_aliases?, :use_ip_aliases
1594
1611
 
1612
+ # Whether routes will be used for pod IPs in the cluster. This is used in
1613
+ # conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true.
1614
+ # If both use_ip_aliases and use_routes are false, then the server picks the
1615
+ # default IP allocation mode
1616
+ # Corresponds to the JSON property `useRoutes`
1617
+ # @return [Boolean]
1618
+ attr_accessor :use_routes
1619
+ alias_method :use_routes?, :use_routes
1620
+
1595
1621
  def initialize(**args)
1596
1622
  update!(**args)
1597
1623
  end
@@ -1610,6 +1636,7 @@ module Google
1610
1636
  @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
1611
1637
  @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
1612
1638
  @use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
1639
+ @use_routes = args[:use_routes] if args.key?(:use_routes)
1613
1640
  end
1614
1641
  end
1615
1642
 
@@ -1721,15 +1748,14 @@ module Google
1721
1748
  end
1722
1749
  end
1723
1750
 
1724
- # Configuration for the legacy Attribute Based Access Control authorization
1725
- # mode.
1751
+ # Configuration for the legacy Attribute Based Access Control authorization mode.
1726
1752
  class LegacyAbac
1727
1753
  include Google::Apis::Core::Hashable
1728
1754
 
1729
1755
  # Whether the ABAC authorizer is enabled for this cluster. When enabled,
1730
- # identities in the system, including service accounts, nodes, and
1731
- # controllers, will have statically granted permissions beyond those
1732
- # provided by the RBAC configuration or IAM.
1756
+ # identities in the system, including service accounts, nodes, and controllers,
1757
+ # will have statically granted permissions beyond those provided by the RBAC
1758
+ # configuration or IAM.
1733
1759
  # Corresponds to the JSON property `enabled`
1734
1760
  # @return [Boolean]
1735
1761
  attr_accessor :enabled
@@ -1749,14 +1775,13 @@ module Google
1749
1775
  class ListClustersResponse
1750
1776
  include Google::Apis::Core::Hashable
1751
1777
 
1752
- # A list of clusters in the project in the specified zone, or
1753
- # across all ones.
1778
+ # A list of clusters in the project in the specified zone, or across all ones.
1754
1779
  # Corresponds to the JSON property `clusters`
1755
1780
  # @return [Array<Google::Apis::ContainerV1::Cluster>]
1756
1781
  attr_accessor :clusters
1757
1782
 
1758
- # If any zones are listed here, the list of clusters returned
1759
- # may be missing those zones.
1783
+ # If any zones are listed here, the list of clusters returned may be missing
1784
+ # those zones.
1760
1785
  # Corresponds to the JSON property `missingZones`
1761
1786
  # @return [Array<String>]
1762
1787
  attr_accessor :missing_zones
@@ -1795,8 +1820,8 @@ module Google
1795
1820
  class ListOperationsResponse
1796
1821
  include Google::Apis::Core::Hashable
1797
1822
 
1798
- # If any zones are listed here, the list of operations returned
1799
- # may be missing the operations from those zones.
1823
+ # If any zones are listed here, the list of operations returned may be missing
1824
+ # the operations from those zones.
1800
1825
  # Corresponds to the JSON property `missingZones`
1801
1826
  # @return [Array<String>]
1802
1827
  attr_accessor :missing_zones
@@ -1817,15 +1842,14 @@ module Google
1817
1842
  end
1818
1843
  end
1819
1844
 
1820
- # ListUsableSubnetworksResponse is the response of
1821
- # ListUsableSubnetworksRequest.
1845
+ # ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
1822
1846
  class ListUsableSubnetworksResponse
1823
1847
  include Google::Apis::Core::Hashable
1824
1848
 
1825
- # This token allows you to get the next page of results for list requests.
1826
- # If the number of results is larger than `page_size`, use the
1827
- # `next_page_token` as a value for the query parameter `page_token` in the
1828
- # next request. The value will become empty when there are no more pages.
1849
+ # This token allows you to get the next page of results for list requests. If
1850
+ # the number of results is larger than `page_size`, use the `next_page_token` as
1851
+ # a value for the query parameter `page_token` in the next request. The value
1852
+ # will become empty when there are no more pages.
1829
1853
  # Corresponds to the JSON property `nextPageToken`
1830
1854
  # @return [String]
1831
1855
  attr_accessor :next_page_token
@@ -1851,10 +1875,10 @@ module Google
1851
1875
  include Google::Apis::Core::Hashable
1852
1876
 
1853
1877
  # A hash identifying the version of this policy, so that updates to fields of
1854
- # the policy won't accidentally undo intermediate changes (and so that users
1855
- # of the API unaware of some fields won't accidentally remove other fields).
1856
- # Make a <code>get()</code> request to the cluster to get the current
1857
- # resource version and include it with requests to set the policy.
1878
+ # the policy won't accidentally undo intermediate changes (and so that users of
1879
+ # the API unaware of some fields won't accidentally remove other fields). Make a
1880
+ # `get()` request to the cluster to get the current resource version and include
1881
+ # it with requests to set the policy.
1858
1882
  # Corresponds to the JSON property `resourceVersion`
1859
1883
  # @return [String]
1860
1884
  attr_accessor :resource_version
@@ -1884,8 +1908,8 @@ module Google
1884
1908
  # @return [Google::Apis::ContainerV1::DailyMaintenanceWindow]
1885
1909
  attr_accessor :daily_maintenance_window
1886
1910
 
1887
- # Exceptions to maintenance window. Non-emergency maintenance should not
1888
- # occur in these windows.
1911
+ # Exceptions to maintenance window. Non-emergency maintenance should not occur
1912
+ # in these windows.
1889
1913
  # Corresponds to the JSON property `maintenanceExclusions`
1890
1914
  # @return [Hash<String,Google::Apis::ContainerV1::TimeWindow>]
1891
1915
  attr_accessor :maintenance_exclusions
@@ -1908,8 +1932,7 @@ module Google
1908
1932
  end
1909
1933
 
1910
1934
  # The authentication information for accessing the master endpoint.
1911
- # Authentication can be done using HTTP basic auth or using client
1912
- # certificates.
1935
+ # Authentication can be done using HTTP basic auth or using client certificates.
1913
1936
  class MasterAuth
1914
1937
  include Google::Apis::Core::Hashable
1915
1938
 
@@ -1924,29 +1947,36 @@ module Google
1924
1947
  # @return [Google::Apis::ContainerV1::ClientCertificateConfig]
1925
1948
  attr_accessor :client_certificate_config
1926
1949
 
1927
- # [Output only] Base64-encoded private key used by clients to authenticate
1928
- # to the cluster endpoint.
1950
+ # [Output only] Base64-encoded private key used by clients to authenticate to
1951
+ # the cluster endpoint.
1929
1952
  # Corresponds to the JSON property `clientKey`
1930
1953
  # @return [String]
1931
1954
  attr_accessor :client_key
1932
1955
 
1933
- # [Output only] Base64-encoded public certificate that is the root of
1934
- # trust for the cluster.
1956
+ # [Output only] Base64-encoded public certificate that is the root of trust for
1957
+ # the cluster.
1935
1958
  # Corresponds to the JSON property `clusterCaCertificate`
1936
1959
  # @return [String]
1937
1960
  attr_accessor :cluster_ca_certificate
1938
1961
 
1939
1962
  # The password to use for HTTP basic authentication to the master endpoint.
1940
1963
  # Because the master endpoint is open to the Internet, you should create a
1941
- # strong password. If a password is provided for cluster creation, username
1942
- # must be non-empty.
1964
+ # strong password. If a password is provided for cluster creation, username must
1965
+ # be non-empty. Warning: basic authentication is deprecated, and will be removed
1966
+ # in GKE control plane versions 1.19 and newer. For a list of recommended
1967
+ # authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/
1968
+ # how-to/api-server-authentication
1943
1969
  # Corresponds to the JSON property `password`
1944
1970
  # @return [String]
1945
1971
  attr_accessor :password
1946
1972
 
1947
- # The username to use for HTTP basic authentication to the master endpoint.
1948
- # For clusters v1.6.0 and later, basic authentication can be disabled by
1949
- # leaving username unspecified (or setting it to the empty string).
1973
+ # The username to use for HTTP basic authentication to the master endpoint. For
1974
+ # clusters v1.6.0 and later, basic authentication can be disabled by leaving
1975
+ # username unspecified (or setting it to the empty string). Warning: basic
1976
+ # authentication is deprecated, and will be removed in GKE control plane
1977
+ # versions 1.19 and newer. For a list of recommended authentication methods, see:
1978
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-
1979
+ # authentication
1950
1980
  # Corresponds to the JSON property `username`
1951
1981
  # @return [String]
1952
1982
  attr_accessor :username
@@ -1973,8 +2003,8 @@ module Google
1973
2003
  class MasterAuthorizedNetworksConfig
1974
2004
  include Google::Apis::Core::Hashable
1975
2005
 
1976
- # cidr_blocks define up to 50 external networks that could access
1977
- # Kubernetes master through HTTPS.
2006
+ # cidr_blocks define up to 50 external networks that could access Kubernetes
2007
+ # master through HTTPS.
1978
2008
  # Corresponds to the JSON property `cidrBlocks`
1979
2009
  # @return [Array<Google::Apis::ContainerV1::CidrBlock>]
1980
2010
  attr_accessor :cidr_blocks
@@ -2056,25 +2086,29 @@ module Google
2056
2086
  class NetworkConfig
2057
2087
  include Google::Apis::Core::Hashable
2058
2088
 
2059
- # Whether Intra-node visibility is enabled for this cluster.
2060
- # This makes same node pod to pod traffic visible for VPC network.
2089
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
2090
+ # disabled on the cluster.
2091
+ # Corresponds to the JSON property `defaultSnatStatus`
2092
+ # @return [Google::Apis::ContainerV1::DefaultSnatStatus]
2093
+ attr_accessor :default_snat_status
2094
+
2095
+ # Whether Intra-node visibility is enabled for this cluster. This makes same
2096
+ # node pod to pod traffic visible for VPC network.
2061
2097
  # Corresponds to the JSON property `enableIntraNodeVisibility`
2062
2098
  # @return [Boolean]
2063
2099
  attr_accessor :enable_intra_node_visibility
2064
2100
  alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
2065
2101
 
2066
- # Output only. The relative name of the Google Compute Engine
2067
- # network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
2068
- # to which the cluster is connected. Example:
2069
- # projects/my-project/global/networks/my-network
2102
+ # Output only. The relative name of the Google Compute Engine network(https://
2103
+ # cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
2104
+ # cluster is connected. Example: projects/my-project/global/networks/my-network
2070
2105
  # Corresponds to the JSON property `network`
2071
2106
  # @return [String]
2072
2107
  attr_accessor :network
2073
2108
 
2074
- # Output only. The relative name of the Google Compute Engine
2075
- # [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
2076
- # cluster is connected. Example:
2077
- # projects/my-project/regions/us-central1/subnetworks/my-subnet
2109
+ # Output only. The relative name of the Google Compute Engine [subnetwork](https:
2110
+ # //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
2111
+ # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
2078
2112
  # Corresponds to the JSON property `subnetwork`
2079
2113
  # @return [String]
2080
2114
  attr_accessor :subnetwork
@@ -2085,14 +2119,15 @@ module Google
2085
2119
 
2086
2120
  # Update properties of this object
2087
2121
  def update!(**args)
2122
+ @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2088
2123
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2089
2124
  @network = args[:network] if args.key?(:network)
2090
2125
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
2091
2126
  end
2092
2127
  end
2093
2128
 
2094
- # Configuration options for the NetworkPolicy feature.
2095
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
2129
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
2130
+ # docs/concepts/services-networking/networkpolicies/
2096
2131
  class NetworkPolicy
2097
2132
  include Google::Apis::Core::Hashable
2098
2133
 
@@ -2118,9 +2153,9 @@ module Google
2118
2153
  end
2119
2154
  end
2120
2155
 
2121
- # Configuration for NetworkPolicy. This only tracks whether the addon
2122
- # is enabled or not on the Master, it does not track whether network policy
2123
- # is enabled for the nodes.
2156
+ # Configuration for NetworkPolicy. This only tracks whether the addon is enabled
2157
+ # or not on the Master, it does not track whether network policy is enabled for
2158
+ # the nodes.
2124
2159
  class NetworkPolicyConfig
2125
2160
  include Google::Apis::Core::Hashable
2126
2161
 
@@ -2144,154 +2179,125 @@ module Google
2144
2179
  class NodeConfig
2145
2180
  include Google::Apis::Core::Hashable
2146
2181
 
2147
- # A list of hardware accelerators to be attached to each node.
2148
- # See https://cloud.google.com/compute/docs/gpus for more information about
2149
- # support for GPUs.
2182
+ # A list of hardware accelerators to be attached to each node. See https://cloud.
2183
+ # google.com/compute/docs/gpus for more information about support for GPUs.
2150
2184
  # Corresponds to the JSON property `accelerators`
2151
2185
  # @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
2152
2186
  attr_accessor :accelerators
2153
2187
 
2154
- # The Customer Managed Encryption Key used to encrypt the boot disk attached
2155
- # to each node in the node pool. This should be of the form
2156
- # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/
2157
- # [KEY_NAME].
2158
- # For more information about protecting resources with Cloud KMS Keys please
2159
- # see:
2160
- # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2188
+ # The Customer Managed Encryption Key used to encrypt the boot disk attached to
2189
+ # each node in the node pool. This should be of the form projects/[
2190
+ # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
2191
+ # . For more information about protecting resources with Cloud KMS Keys please
2192
+ # see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2161
2193
  # Corresponds to the JSON property `bootDiskKmsKey`
2162
2194
  # @return [String]
2163
2195
  attr_accessor :boot_disk_kms_key
2164
2196
 
2165
- # Size of the disk attached to each node, specified in GB.
2166
- # The smallest allowed disk size is 10GB.
2167
- # If unspecified, the default disk size is 100GB.
2197
+ # Size of the disk attached to each node, specified in GB. The smallest allowed
2198
+ # disk size is 10GB. If unspecified, the default disk size is 100GB.
2168
2199
  # Corresponds to the JSON property `diskSizeGb`
2169
2200
  # @return [Fixnum]
2170
2201
  attr_accessor :disk_size_gb
2171
2202
 
2172
- # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
2173
- # If unspecified, the default disk type is 'pd-standard'
2203
+ # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
2204
+ # unspecified, the default disk type is 'pd-standard'
2174
2205
  # Corresponds to the JSON property `diskType`
2175
2206
  # @return [String]
2176
2207
  attr_accessor :disk_type
2177
2208
 
2178
- # The image type to use for this node. Note that for a given image type,
2179
- # the latest version of it will be used.
2209
+ # The image type to use for this node. Note that for a given image type, the
2210
+ # latest version of it will be used.
2180
2211
  # Corresponds to the JSON property `imageType`
2181
2212
  # @return [String]
2182
2213
  attr_accessor :image_type
2183
2214
 
2184
2215
  # The map of Kubernetes labels (key/value pairs) to be applied to each node.
2185
- # These will added in addition to any default label(s) that
2186
- # Kubernetes may apply to the node.
2187
- # In case of conflict in label keys, the applied set may differ depending on
2188
- # the Kubernetes version -- it's best to assume the behavior is undefined
2189
- # and conflicts should be avoided.
2190
- # For more information, including usage and the valid values, see:
2191
- # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2216
+ # These will added in addition to any default label(s) that Kubernetes may apply
2217
+ # to the node. In case of conflict in label keys, the applied set may differ
2218
+ # depending on the Kubernetes version -- it's best to assume the behavior is
2219
+ # undefined and conflicts should be avoided. For more information, including
2220
+ # usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/
2221
+ # working-with-objects/labels/
2192
2222
  # Corresponds to the JSON property `labels`
2193
2223
  # @return [Hash<String,String>]
2194
2224
  attr_accessor :labels
2195
2225
 
2196
- # The number of local SSD disks to be attached to the node.
2197
- # The limit for this value is dependent upon the maximum number of
2198
- # disks available on a machine per zone. See:
2199
- # https://cloud.google.com/compute/docs/disks/local-ssd
2200
- # for more information.
2226
+ # The number of local SSD disks to be attached to the node. The limit for this
2227
+ # value is dependent upon the maximum number of disks available on a machine per
2228
+ # zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
2229
+ # information.
2201
2230
  # Corresponds to the JSON property `localSsdCount`
2202
2231
  # @return [Fixnum]
2203
2232
  attr_accessor :local_ssd_count
2204
2233
 
2205
- # The name of a Google Compute Engine [machine
2206
- # type](https://cloud.google.com/compute/docs/machine-types) (e.g.
2207
- # `n1-standard-1`).
2208
- # If unspecified, the default machine type is
2209
- # `n1-standard-1`.
2234
+ # The name of a Google Compute Engine [machine type](https://cloud.google.com/
2235
+ # compute/docs/machine-types) If unspecified, the default machine type is `e2-
2236
+ # medium`.
2210
2237
  # Corresponds to the JSON property `machineType`
2211
2238
  # @return [String]
2212
2239
  attr_accessor :machine_type
2213
2240
 
2214
- # The metadata key/value pairs assigned to instances in the cluster.
2215
- # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
2216
- # in length. These are reflected as part of a URL in the metadata server.
2217
- # Additionally, to avoid ambiguity, keys must not conflict with any other
2218
- # metadata keys for the project or be one of the reserved keys:
2219
- # "cluster-location"
2220
- # "cluster-name"
2221
- # "cluster-uid"
2222
- # "configure-sh"
2223
- # "containerd-configure-sh"
2224
- # "enable-os-login"
2225
- # "gci-ensure-gke-docker"
2226
- # "gci-metrics-enabled"
2227
- # "gci-update-strategy"
2228
- # "instance-template"
2229
- # "kube-env"
2230
- # "startup-script"
2231
- # "user-data"
2232
- # "disable-address-manager"
2233
- # "windows-startup-script-ps1"
2234
- # "common-psm1"
2235
- # "k8s-node-setup-psm1"
2236
- # "install-ssh-psm1"
2237
- # "user-profile-psm1"
2238
- # "serial-port-logging-enable"
2239
- # Values are free-form strings, and only have meaning as interpreted by
2240
- # the image running in the instance. The only restriction placed on them is
2241
- # that each value's size must be less than or equal to 32 KB.
2242
- # The total size of all keys and values must be less than 512 KB.
2241
+ # The metadata key/value pairs assigned to instances in the cluster. Keys must
2242
+ # conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length.
2243
+ # These are reflected as part of a URL in the metadata server. Additionally, to
2244
+ # avoid ambiguity, keys must not conflict with any other metadata keys for the
2245
+ # project or be one of the reserved keys: - "cluster-location" - "cluster-name" -
2246
+ # "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login"
2247
+ # - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
2248
+ # instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
2249
+ # address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
2250
+ # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" The following keys are
2251
+ # reserved for Windows nodes: - "serial-port-logging-enable" Values are free-
2252
+ # form strings, and only have meaning as interpreted by the image running in the
2253
+ # instance. The only restriction placed on them is that each value's size must
2254
+ # be less than or equal to 32 KB. The total size of all keys and values must be
2255
+ # less than 512 KB.
2243
2256
  # Corresponds to the JSON property `metadata`
2244
2257
  # @return [Hash<String,String>]
2245
2258
  attr_accessor :metadata
2246
2259
 
2247
2260
  # Minimum CPU platform to be used by this instance. The instance may be
2248
2261
  # scheduled on the specified or newer CPU platform. Applicable values are the
2249
- # friendly names of CPU platforms, such as
2250
- # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
2251
- # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
2252
- # information, read [how to specify min CPU
2253
- # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
2254
- # platform)
2262
+ # friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
2263
+ # minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
2264
+ # specify min CPU platform](https://cloud.google.com/compute/docs/instances/
2265
+ # specify-min-cpu-platform)
2255
2266
  # Corresponds to the JSON property `minCpuPlatform`
2256
2267
  # @return [String]
2257
2268
  attr_accessor :min_cpu_platform
2258
2269
 
2259
- # Setting this field will assign instances of this
2260
- # pool to run on the specified node group. This is useful for running
2261
- # workloads on [sole tenant
2262
- # nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
2270
+ # Setting this field will assign instances of this pool to run on the specified
2271
+ # node group. This is useful for running workloads on [sole tenant nodes](https:/
2272
+ # /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
2263
2273
  # Corresponds to the JSON property `nodeGroup`
2264
2274
  # @return [String]
2265
2275
  attr_accessor :node_group
2266
2276
 
2267
- # The set of Google API scopes to be made available on all of the
2268
- # node VMs under the "default" service account.
2269
- # The following scopes are recommended, but not required, and by default are
2270
- # not included:
2271
- # * `https://www.googleapis.com/auth/compute` is required for mounting
2272
- # persistent storage on your nodes.
2273
- # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
2274
- # communicating with **gcr.io**
2275
- # (the [Google Container
2276
- # Registry](https://cloud.google.com/container-registry/)).
2277
- # If unspecified, no scopes are added, unless Cloud Logging or Cloud
2278
- # Monitoring are enabled, in which case their required scopes will be added.
2277
+ # The set of Google API scopes to be made available on all of the node VMs under
2278
+ # the "default" service account. The following scopes are recommended, but not
2279
+ # required, and by default are not included: * `https://www.googleapis.com/auth/
2280
+ # compute` is required for mounting persistent storage on your nodes. * `https://
2281
+ # www.googleapis.com/auth/devstorage.read_only` is required for communicating
2282
+ # with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
2283
+ # container-registry/)). If unspecified, no scopes are added, unless Cloud
2284
+ # Logging or Cloud Monitoring are enabled, in which case their required scopes
2285
+ # will be added.
2279
2286
  # Corresponds to the JSON property `oauthScopes`
2280
2287
  # @return [Array<String>]
2281
2288
  attr_accessor :oauth_scopes
2282
2289
 
2283
- # Whether the nodes are created as preemptible VM instances. See:
2284
- # https://cloud.google.com/compute/docs/instances/preemptible for more
2285
- # information about preemptible VM instances.
2290
+ # Whether the nodes are created as preemptible VM instances. See: https://cloud.
2291
+ # google.com/compute/docs/instances/preemptible for more information about
2292
+ # preemptible VM instances.
2286
2293
  # Corresponds to the JSON property `preemptible`
2287
2294
  # @return [Boolean]
2288
2295
  attr_accessor :preemptible
2289
2296
  alias_method :preemptible?, :preemptible
2290
2297
 
2291
2298
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
2292
- # reserving-zonal-resources)
2293
- # is the configuration of desired reservation which instances could take
2294
- # capacity from.
2299
+ # reserving-zonal-resources) is the configuration of desired reservation which
2300
+ # instances could take capacity from.
2295
2301
  # Corresponds to the JSON property `reservationAffinity`
2296
2302
  # @return [Google::Apis::ContainerV1::ReservationAffinity]
2297
2303
  attr_accessor :reservation_affinity
@@ -2301,9 +2307,9 @@ module Google
2301
2307
  # @return [Google::Apis::ContainerV1::SandboxConfig]
2302
2308
  attr_accessor :sandbox_config
2303
2309
 
2304
- # The Google Cloud Platform Service Account to be used by the node VMs.
2305
- # Specify the email address of the Service Account; otherwise, if no Service
2306
- # Account is specified, the "default" service account is used.
2310
+ # The Google Cloud Platform Service Account to be used by the node VMs. Specify
2311
+ # the email address of the Service Account; otherwise, if no Service Account is
2312
+ # specified, the "default" service account is used.
2307
2313
  # Corresponds to the JSON property `serviceAccount`
2308
2314
  # @return [String]
2309
2315
  attr_accessor :service_account
@@ -2314,16 +2320,16 @@ module Google
2314
2320
  attr_accessor :shielded_instance_config
2315
2321
 
2316
2322
  # The list of instance tags applied to all nodes. Tags are used to identify
2317
- # valid sources or targets for network firewalls and are specified by
2318
- # the client during cluster or node pool creation. Each tag within the list
2319
- # must comply with RFC1035.
2323
+ # valid sources or targets for network firewalls and are specified by the client
2324
+ # during cluster or node pool creation. Each tag within the list must comply
2325
+ # with RFC1035.
2320
2326
  # Corresponds to the JSON property `tags`
2321
2327
  # @return [Array<String>]
2322
2328
  attr_accessor :tags
2323
2329
 
2324
- # List of kubernetes taints to be applied to each node.
2325
- # For more information, including usage and the valid values, see:
2326
- # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2330
+ # List of kubernetes taints to be applied to each node. For more information,
2331
+ # including usage and the valid values, see: https://kubernetes.io/docs/concepts/
2332
+ # configuration/taint-and-toleration/
2327
2333
  # Corresponds to the JSON property `taints`
2328
2334
  # @return [Array<Google::Apis::ContainerV1::NodeTaint>]
2329
2335
  attr_accessor :taints
@@ -2369,24 +2375,24 @@ module Google
2369
2375
  include Google::Apis::Core::Hashable
2370
2376
 
2371
2377
  # A flag that specifies whether the node auto-repair is enabled for the node
2372
- # pool. If enabled, the nodes in this node pool will be monitored and, if
2373
- # they fail health checks too many times, an automatic repair action will be
2378
+ # pool. If enabled, the nodes in this node pool will be monitored and, if they
2379
+ # fail health checks too many times, an automatic repair action will be
2374
2380
  # triggered.
2375
2381
  # Corresponds to the JSON property `autoRepair`
2376
2382
  # @return [Boolean]
2377
2383
  attr_accessor :auto_repair
2378
2384
  alias_method :auto_repair?, :auto_repair
2379
2385
 
2380
- # A flag that specifies whether node auto-upgrade is enabled for the node
2381
- # pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
2382
- # up to date with the latest release version of Kubernetes.
2386
+ # A flag that specifies whether node auto-upgrade is enabled for the node pool.
2387
+ # If enabled, node auto-upgrade helps keep the nodes in your node pool up to
2388
+ # date with the latest release version of Kubernetes.
2383
2389
  # Corresponds to the JSON property `autoUpgrade`
2384
2390
  # @return [Boolean]
2385
2391
  attr_accessor :auto_upgrade
2386
2392
  alias_method :auto_upgrade?, :auto_upgrade
2387
2393
 
2388
- # AutoUpgradeOptions defines the set of options for the user to control how
2389
- # the Auto Upgrades will proceed.
2394
+ # AutoUpgradeOptions defines the set of options for the user to control how the
2395
+ # Auto Upgrades will proceed.
2390
2396
  # Corresponds to the JSON property `upgradeOptions`
2391
2397
  # @return [Google::Apis::ContainerV1::AutoUpgradeOptions]
2392
2398
  attr_accessor :upgrade_options
@@ -2403,12 +2409,12 @@ module Google
2403
2409
  end
2404
2410
  end
2405
2411
 
2406
- # NodePool contains the name and configuration for a cluster's node pool.
2407
- # Node pools are a set of nodes (i.e. VM's), with a common configuration and
2408
- # specification, under the control of the cluster master. They may have a set
2409
- # of Kubernetes labels applied to them, which may be used to reference them
2410
- # during pod scheduling. They may also be resized up or down, to accommodate
2411
- # the workload.
2412
+ # NodePool contains the name and configuration for a cluster's node pool. Node
2413
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
2414
+ # specification, under the control of the cluster master. They may have a set of
2415
+ # Kubernetes labels applied to them, which may be used to reference them during
2416
+ # pod scheduling. They may also be resized up or down, to accommodate the
2417
+ # workload.
2412
2418
  class NodePool
2413
2419
  include Google::Apis::Core::Hashable
2414
2420
 
@@ -2428,25 +2434,27 @@ module Google
2428
2434
  # @return [Google::Apis::ContainerV1::NodeConfig]
2429
2435
  attr_accessor :config
2430
2436
 
2431
- # The initial node count for the pool. You must ensure that your
2432
- # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
2433
- # is sufficient for this number of instances. You must also have available
2434
- # firewall and routes quota.
2437
+ # The initial node count for the pool. You must ensure that your Compute Engine [
2438
+ # resource quota](https://cloud.google.com/compute/quotas) is sufficient for
2439
+ # this number of instances. You must also have available firewall and routes
2440
+ # quota.
2435
2441
  # Corresponds to the JSON property `initialNodeCount`
2436
2442
  # @return [Fixnum]
2437
2443
  attr_accessor :initial_node_count
2438
2444
 
2439
- # [Output only] The resource URLs of the [managed instance
2440
- # groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-
2441
- # of-managed-instances)
2445
+ # [Output only] The resource URLs of the [managed instance groups](https://cloud.
2446
+ # google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
2442
2447
  # associated with this node pool.
2443
2448
  # Corresponds to the JSON property `instanceGroupUrls`
2444
2449
  # @return [Array<String>]
2445
2450
  attr_accessor :instance_group_urls
2446
2451
 
2447
- # The list of Google Compute Engine
2448
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
2449
- # NodePool's nodes should be located.
2452
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
2453
+ # docs/zones#available) in which the NodePool's nodes should be located. If this
2454
+ # value is unspecified during node pool creation, the [Cluster.Locations](https:/
2455
+ # /cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.
2456
+ # clusters#Cluster.FIELDS.locations) value will be used, instead. Warning:
2457
+ # changing node pool locations will result in nodes being added and/or removed.
2450
2458
  # Corresponds to the JSON property `locations`
2451
2459
  # @return [Array<String>]
2452
2460
  attr_accessor :locations
@@ -2482,30 +2490,26 @@ module Google
2482
2490
  # @return [String]
2483
2491
  attr_accessor :status
2484
2492
 
2485
- # [Output only] Additional information about the current status of this
2486
- # node pool instance, if available.
2493
+ # [Output only] Additional information about the current status of this node
2494
+ # pool instance, if available.
2487
2495
  # Corresponds to the JSON property `statusMessage`
2488
2496
  # @return [String]
2489
2497
  attr_accessor :status_message
2490
2498
 
2491
2499
  # These upgrade settings control the level of parallelism and the level of
2492
- # disruption caused by an upgrade.
2493
- # maxUnavailable controls the number of nodes that can be simultaneously
2494
- # unavailable.
2495
- # maxSurge controls the number of additional nodes that can be added to the
2496
- # node pool temporarily for the time of the upgrade to increase the number of
2497
- # available nodes.
2498
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
2499
- # nodes are being upgraded at the same time).
2500
- # Note: upgrades inevitably introduce some disruption since workloads need to
2501
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
2502
- # this holds true. (Disruption stays within the limits of
2503
- # PodDisruptionBudget, if it is configured.)
2504
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
2505
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
2506
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
2507
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
2508
- # there are always at least 4 nodes available.
2500
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
2501
+ # that can be simultaneously unavailable. maxSurge controls the number of
2502
+ # additional nodes that can be added to the node pool temporarily for the time
2503
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
2504
+ # maxSurge) determines the level of parallelism (how many nodes are being
2505
+ # upgraded at the same time). Note: upgrades inevitably introduce some
2506
+ # disruption since workloads need to be moved from old nodes to new, upgraded
2507
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
2508
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
2509
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
2510
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
2511
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
2512
+ # same time. This ensures that there are always at least 4 nodes available.
2509
2513
  # Corresponds to the JSON property `upgradeSettings`
2510
2514
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
2511
2515
  attr_accessor :upgrade_settings
@@ -2556,14 +2560,13 @@ module Google
2556
2560
  attr_accessor :enabled
2557
2561
  alias_method :enabled?, :enabled
2558
2562
 
2559
- # Maximum number of nodes in the NodePool. Must be >= min_node_count. There
2560
- # has to enough quota to scale up the cluster.
2563
+ # Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
2564
+ # to enough quota to scale up the cluster.
2561
2565
  # Corresponds to the JSON property `maxNodeCount`
2562
2566
  # @return [Fixnum]
2563
2567
  attr_accessor :max_node_count
2564
2568
 
2565
- # Minimum number of nodes in the NodePool. Must be >= 1 and <=
2566
- # max_node_count.
2569
+ # Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
2567
2570
  # Corresponds to the JSON property `minNodeCount`
2568
2571
  # @return [Fixnum]
2569
2572
  attr_accessor :min_node_count
@@ -2582,8 +2585,7 @@ module Google
2582
2585
  end
2583
2586
 
2584
2587
  # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
2585
- # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
2586
- # See
2588
+ # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
2587
2589
  # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
2588
2590
  # for more information, including usage and the valid values.
2589
2591
  class NodeTaint
@@ -2631,18 +2633,15 @@ module Google
2631
2633
  # @return [String]
2632
2634
  attr_accessor :detail
2633
2635
 
2634
- # [Output only] The time the operation completed, in
2635
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2636
+ # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.
2637
+ # org/rfc/rfc3339.txt) text format.
2636
2638
  # Corresponds to the JSON property `endTime`
2637
2639
  # @return [String]
2638
2640
  attr_accessor :end_time
2639
2641
 
2640
- # [Output only] The name of the Google Compute Engine
2641
- # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
2642
- # available)
2643
- # or
2644
- # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
2645
- # available)
2642
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
2643
+ # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
2644
+ # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
2646
2645
  # in which the cluster resides.
2647
2646
  # Corresponds to the JSON property `location`
2648
2647
  # @return [String]
@@ -2673,8 +2672,8 @@ module Google
2673
2672
  # @return [String]
2674
2673
  attr_accessor :self_link
2675
2674
 
2676
- # [Output only] The time the operation started, in
2677
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2675
+ # [Output only] The time the operation started, in [RFC3339](https://www.ietf.
2676
+ # org/rfc/rfc3339.txt) text format.
2678
2677
  # Corresponds to the JSON property `startTime`
2679
2678
  # @return [String]
2680
2679
  attr_accessor :start_time
@@ -2694,9 +2693,9 @@ module Google
2694
2693
  # @return [String]
2695
2694
  attr_accessor :target_link
2696
2695
 
2697
- # The name of the Google Compute Engine
2698
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2699
- # operation is taking place. This field is deprecated, use location instead.
2696
+ # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/
2697
+ # docs/zones#available) in which the operation is taking place. This field is
2698
+ # deprecated, use location instead.
2700
2699
  # Corresponds to the JSON property `zone`
2701
2700
  # @return [String]
2702
2701
  attr_accessor :zone
@@ -2728,18 +2727,15 @@ module Google
2728
2727
  class OperationProgress
2729
2728
  include Google::Apis::Core::Hashable
2730
2729
 
2731
- # Progress metric bundle, for example:
2732
- # metrics: [`name: "nodes done", int_value: 15`,
2733
- # `name: "nodes total", int_value: 32`]
2734
- # or
2735
- # metrics: [`name: "progress", double_value: 0.56`,
2736
- # `name: "progress scale", double_value: 1.0`]
2730
+ # Progress metric bundle, for example: metrics: [`name: "nodes done", int_value:
2731
+ # 15`, `name: "nodes total", int_value: 32`] or metrics: [`name: "progress",
2732
+ # double_value: 0.56`, `name: "progress scale", double_value: 1.0`]
2737
2733
  # Corresponds to the JSON property `metrics`
2738
2734
  # @return [Array<Google::Apis::ContainerV1::Metric>]
2739
2735
  attr_accessor :metrics
2740
2736
 
2741
- # A non-parameterized string describing an operation stage.
2742
- # Unset for single-stage operations.
2737
+ # A non-parameterized string describing an operation stage. Unset for single-
2738
+ # stage operations.
2743
2739
  # Corresponds to the JSON property `name`
2744
2740
  # @return [String]
2745
2741
  attr_accessor :name
@@ -2749,8 +2745,7 @@ module Google
2749
2745
  # @return [Array<Google::Apis::ContainerV1::OperationProgress>]
2750
2746
  attr_accessor :stages
2751
2747
 
2752
- # Status of an operation stage.
2753
- # Unset for single-stage operations.
2748
+ # Status of an operation stage. Unset for single-stage operations.
2754
2749
  # Corresponds to the JSON property `status`
2755
2750
  # @return [String]
2756
2751
  attr_accessor :status
@@ -2778,18 +2773,23 @@ module Google
2778
2773
  attr_accessor :enable_private_endpoint
2779
2774
  alias_method :enable_private_endpoint?, :enable_private_endpoint
2780
2775
 
2781
- # Whether nodes have internal IP addresses only. If enabled, all nodes are
2782
- # given only RFC 1918 private addresses and communicate with the master via
2783
- # private networking.
2776
+ # Whether nodes have internal IP addresses only. If enabled, all nodes are given
2777
+ # only RFC 1918 private addresses and communicate with the master via private
2778
+ # networking.
2784
2779
  # Corresponds to the JSON property `enablePrivateNodes`
2785
2780
  # @return [Boolean]
2786
2781
  attr_accessor :enable_private_nodes
2787
2782
  alias_method :enable_private_nodes?, :enable_private_nodes
2788
2783
 
2789
- # The IP range in CIDR notation to use for the hosted master network. This
2790
- # range will be used for assigning internal IP addresses to the master or
2791
- # set of masters, as well as the ILB VIP. This range must not overlap with
2792
- # any other ranges in use within the cluster's network.
2784
+ # Configuration for controlling master global access settings.
2785
+ # Corresponds to the JSON property `masterGlobalAccessConfig`
2786
+ # @return [Google::Apis::ContainerV1::PrivateClusterMasterGlobalAccessConfig]
2787
+ attr_accessor :master_global_access_config
2788
+
2789
+ # The IP range in CIDR notation to use for the hosted master network. This range
2790
+ # will be used for assigning internal IP addresses to the master or set of
2791
+ # masters, as well as the ILB VIP. This range must not overlap with any other
2792
+ # ranges in use within the cluster's network.
2793
2793
  # Corresponds to the JSON property `masterIpv4CidrBlock`
2794
2794
  # @return [String]
2795
2795
  attr_accessor :master_ipv4_cidr_block
@@ -2817,6 +2817,7 @@ module Google
2817
2817
  def update!(**args)
2818
2818
  @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
2819
2819
  @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
2820
+ @master_global_access_config = args[:master_global_access_config] if args.key?(:master_global_access_config)
2820
2821
  @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
2821
2822
  @peering_name = args[:peering_name] if args.key?(:peering_name)
2822
2823
  @private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
@@ -2824,36 +2825,45 @@ module Google
2824
2825
  end
2825
2826
  end
2826
2827
 
2828
+ # Configuration for controlling master global access settings.
2829
+ class PrivateClusterMasterGlobalAccessConfig
2830
+ include Google::Apis::Core::Hashable
2831
+
2832
+ # Whenever master is accessible globally or not.
2833
+ # Corresponds to the JSON property `enabled`
2834
+ # @return [Boolean]
2835
+ attr_accessor :enabled
2836
+ alias_method :enabled?, :enabled
2837
+
2838
+ def initialize(**args)
2839
+ update!(**args)
2840
+ end
2841
+
2842
+ # Update properties of this object
2843
+ def update!(**args)
2844
+ @enabled = args[:enabled] if args.key?(:enabled)
2845
+ end
2846
+ end
2847
+
2827
2848
  # Represents an arbitrary window of time that recurs.
2828
2849
  class RecurringTimeWindow
2829
2850
  include Google::Apis::Core::Hashable
2830
2851
 
2831
- # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
2832
- # this window reccurs. They go on for the span of time between the start and
2833
- # end time.
2834
- # For example, to have something repeat every weekday, you'd use:
2835
- # <code>FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR</code>
2836
- # To repeat some window daily (equivalent to the DailyMaintenanceWindow):
2837
- # <code>FREQ=DAILY</code>
2838
- # For the first weekend of every month:
2839
- # <code>FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU</code>
2840
- # This specifies how frequently the window starts. Eg, if you wanted to have
2841
- # a 9-5 UTC-4 window every weekday, you'd use something like:
2842
- # <code>
2843
- # start time = 2019-01-01T09:00:00-0400
2844
- # end time = 2019-01-01T17:00:00-0400
2845
- # recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
2846
- # </code>
2847
- # Windows can span multiple days. Eg, to make the window encompass every
2848
- # weekend from midnight Saturday till the last minute of Sunday UTC:
2849
- # <code>
2850
- # start time = 2019-01-05T00:00:00Z
2851
- # end time = 2019-01-07T23:59:00Z
2852
- # recurrence = FREQ=WEEKLY;BYDAY=SA
2853
- # </code>
2854
- # Note the start and end time's specific dates are largely arbitrary except
2855
- # to specify duration of the window and when it first starts.
2856
- # The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
2852
+ # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this
2853
+ # window reccurs. They go on for the span of time between the start and end time.
2854
+ # For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;
2855
+ # BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the
2856
+ # DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `
2857
+ # FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window
2858
+ # starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use
2859
+ # something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-
2860
+ # 01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can
2861
+ # span multiple days. Eg, to make the window encompass every weekend from
2862
+ # midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-
2863
+ # 05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA
2864
+ # ``` Note the start and end time's specific dates are largely arbitrary except
2865
+ # to specify duration of the window and when it first starts. The FREQ values of
2866
+ # HOURLY, MINUTELY, and SECONDLY are not supported.
2857
2867
  # Corresponds to the JSON property `recurrence`
2858
2868
  # @return [String]
2859
2869
  attr_accessor :recurrence
@@ -2874,11 +2884,10 @@ module Google
2874
2884
  end
2875
2885
  end
2876
2886
 
2877
- # ReleaseChannel indicates which release channel a cluster is
2878
- # subscribed to. Release channels are arranged in order of risk.
2879
- # When a cluster is subscribed to a release channel, Google maintains
2880
- # both the master version and the node version. Node auto-upgrade
2881
- # defaults to true and cannot be disabled.
2887
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
2888
+ # Release channels are arranged in order of risk. When a cluster is subscribed
2889
+ # to a release channel, Google maintains both the master version and the node
2890
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
2882
2891
  class ReleaseChannel
2883
2892
  include Google::Apis::Core::Hashable
2884
2893
 
@@ -2929,9 +2938,8 @@ module Google
2929
2938
  end
2930
2939
 
2931
2940
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
2932
- # reserving-zonal-resources)
2933
- # is the configuration of desired reservation which instances could take
2934
- # capacity from.
2941
+ # reserving-zonal-resources) is the configuration of desired reservation which
2942
+ # instances could take capacity from.
2935
2943
  class ReservationAffinity
2936
2944
  include Google::Apis::Core::Hashable
2937
2945
 
@@ -2941,8 +2949,8 @@ module Google
2941
2949
  attr_accessor :consume_reservation_type
2942
2950
 
2943
2951
  # Corresponds to the label key of a reservation resource. To target a
2944
- # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
2945
- # the key and specify the name of your reservation as its value.
2952
+ # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
2953
+ # key and specify the name of your reservation as its value.
2946
2954
  # Corresponds to the JSON property `key`
2947
2955
  # @return [String]
2948
2956
  attr_accessor :key
@@ -2964,8 +2972,8 @@ module Google
2964
2972
  end
2965
2973
  end
2966
2974
 
2967
- # Contains information about amount of some resource in the cluster.
2968
- # For memory, value should be in GB.
2975
+ # Contains information about amount of some resource in the cluster. For memory,
2976
+ # value should be in GB.
2969
2977
  class ResourceLimit
2970
2978
  include Google::Apis::Core::Hashable
2971
2979
 
@@ -3035,36 +3043,35 @@ module Google
3035
3043
  class RollbackNodePoolUpgradeRequest
3036
3044
  include Google::Apis::Core::Hashable
3037
3045
 
3038
- # Deprecated. The name of the cluster to rollback.
3039
- # This field has been deprecated and replaced by the name field.
3046
+ # Deprecated. The name of the cluster to rollback. This field has been
3047
+ # deprecated and replaced by the name field.
3040
3048
  # Corresponds to the JSON property `clusterId`
3041
3049
  # @return [String]
3042
3050
  attr_accessor :cluster_id
3043
3051
 
3044
3052
  # The name (project, location, cluster, node pool id) of the node poll to
3045
- # rollback upgrade.
3046
- # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3053
+ # rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/
3054
+ # nodePools/*`.
3047
3055
  # Corresponds to the JSON property `name`
3048
3056
  # @return [String]
3049
3057
  attr_accessor :name
3050
3058
 
3051
- # Deprecated. The name of the node pool to rollback.
3052
- # This field has been deprecated and replaced by the name field.
3059
+ # Deprecated. The name of the node pool to rollback. This field has been
3060
+ # deprecated and replaced by the name field.
3053
3061
  # Corresponds to the JSON property `nodePoolId`
3054
3062
  # @return [String]
3055
3063
  attr_accessor :node_pool_id
3056
3064
 
3057
- # Deprecated. The Google Developers Console [project ID or project
3058
- # number](https://support.google.com/cloud/answer/6158840).
3059
- # This field has been deprecated and replaced by the name field.
3065
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3066
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3067
+ # replaced by the name field.
3060
3068
  # Corresponds to the JSON property `projectId`
3061
3069
  # @return [String]
3062
3070
  attr_accessor :project_id
3063
3071
 
3064
- # Deprecated. The name of the Google Compute Engine
3065
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3066
- # cluster resides. This field has been deprecated and replaced by the name
3067
- # field.
3072
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3073
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3074
+ # been deprecated and replaced by the name field.
3068
3075
  # Corresponds to the JSON property `zone`
3069
3076
  # @return [String]
3070
3077
  attr_accessor :zone
@@ -3155,35 +3162,34 @@ module Google
3155
3162
  class SetAddonsConfigRequest
3156
3163
  include Google::Apis::Core::Hashable
3157
3164
 
3158
- # Configuration for the addons that can be automatically spun up in the
3159
- # cluster, enabling additional functionality.
3165
+ # Configuration for the addons that can be automatically spun up in the cluster,
3166
+ # enabling additional functionality.
3160
3167
  # Corresponds to the JSON property `addonsConfig`
3161
3168
  # @return [Google::Apis::ContainerV1::AddonsConfig]
3162
3169
  attr_accessor :addons_config
3163
3170
 
3164
- # Deprecated. The name of the cluster to upgrade.
3165
- # This field has been deprecated and replaced by the name field.
3171
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3172
+ # and replaced by the name field.
3166
3173
  # Corresponds to the JSON property `clusterId`
3167
3174
  # @return [String]
3168
3175
  attr_accessor :cluster_id
3169
3176
 
3170
- # The name (project, location, cluster) of the cluster to set addons.
3171
- # Specified in the format `projects/*/locations/*/clusters/*`.
3177
+ # The name (project, location, cluster) of the cluster to set addons. Specified
3178
+ # in the format `projects/*/locations/*/clusters/*`.
3172
3179
  # Corresponds to the JSON property `name`
3173
3180
  # @return [String]
3174
3181
  attr_accessor :name
3175
3182
 
3176
- # Deprecated. The Google Developers Console [project ID or project
3177
- # number](https://support.google.com/cloud/answer/6158840).
3178
- # This field has been deprecated and replaced by the name field.
3183
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3184
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3185
+ # replaced by the name field.
3179
3186
  # Corresponds to the JSON property `projectId`
3180
3187
  # @return [String]
3181
3188
  attr_accessor :project_id
3182
3189
 
3183
- # Deprecated. The name of the Google Compute Engine
3184
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3185
- # cluster resides. This field has been deprecated and replaced by the name
3186
- # field.
3190
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3191
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3192
+ # been deprecated and replaced by the name field.
3187
3193
  # Corresponds to the JSON property `zone`
3188
3194
  # @return [String]
3189
3195
  attr_accessor :zone
@@ -3208,18 +3214,17 @@ module Google
3208
3214
  class SetLabelsRequest
3209
3215
  include Google::Apis::Core::Hashable
3210
3216
 
3211
- # Deprecated. The name of the cluster.
3212
- # This field has been deprecated and replaced by the name field.
3217
+ # Deprecated. The name of the cluster. This field has been deprecated and
3218
+ # replaced by the name field.
3213
3219
  # Corresponds to the JSON property `clusterId`
3214
3220
  # @return [String]
3215
3221
  attr_accessor :cluster_id
3216
3222
 
3217
3223
  # Required. The fingerprint of the previous set of labels for this resource,
3218
- # used to detect conflicts. The fingerprint is initially generated by
3219
- # Kubernetes Engine and changes after every request to modify or update
3220
- # labels. You must always provide an up-to-date fingerprint hash when
3221
- # updating or changing labels. Make a <code>get()</code> request to the
3222
- # resource to get the latest fingerprint.
3224
+ # used to detect conflicts. The fingerprint is initially generated by Kubernetes
3225
+ # Engine and changes after every request to modify or update labels. You must
3226
+ # always provide an up-to-date fingerprint hash when updating or changing labels.
3227
+ # Make a `get()` request to the resource to get the latest fingerprint.
3223
3228
  # Corresponds to the JSON property `labelFingerprint`
3224
3229
  # @return [String]
3225
3230
  attr_accessor :label_fingerprint
@@ -3230,9 +3235,9 @@ module Google
3230
3235
  # @return [String]
3231
3236
  attr_accessor :name
3232
3237
 
3233
- # Deprecated. The Google Developers Console [project ID or project
3234
- # number](https://developers.google.com/console/help/new/#projectnumber).
3235
- # This field has been deprecated and replaced by the name field.
3238
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3239
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3240
+ # deprecated and replaced by the name field.
3236
3241
  # Corresponds to the JSON property `projectId`
3237
3242
  # @return [String]
3238
3243
  attr_accessor :project_id
@@ -3242,10 +3247,9 @@ module Google
3242
3247
  # @return [Hash<String,String>]
3243
3248
  attr_accessor :resource_labels
3244
3249
 
3245
- # Deprecated. The name of the Google Compute Engine
3246
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3247
- # cluster resides. This field has been deprecated and replaced by the name
3248
- # field.
3250
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3251
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3252
+ # been deprecated and replaced by the name field.
3249
3253
  # Corresponds to the JSON property `zone`
3250
3254
  # @return [String]
3251
3255
  attr_accessor :zone
@@ -3270,8 +3274,8 @@ module Google
3270
3274
  class SetLegacyAbacRequest
3271
3275
  include Google::Apis::Core::Hashable
3272
3276
 
3273
- # Deprecated. The name of the cluster to update.
3274
- # This field has been deprecated and replaced by the name field.
3277
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3278
+ # and replaced by the name field.
3275
3279
  # Corresponds to the JSON property `clusterId`
3276
3280
  # @return [String]
3277
3281
  attr_accessor :cluster_id
@@ -3288,17 +3292,16 @@ module Google
3288
3292
  # @return [String]
3289
3293
  attr_accessor :name
3290
3294
 
3291
- # Deprecated. The Google Developers Console [project ID or project
3292
- # number](https://support.google.com/cloud/answer/6158840).
3293
- # This field has been deprecated and replaced by the name field.
3295
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3296
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3297
+ # replaced by the name field.
3294
3298
  # Corresponds to the JSON property `projectId`
3295
3299
  # @return [String]
3296
3300
  attr_accessor :project_id
3297
3301
 
3298
- # Deprecated. The name of the Google Compute Engine
3299
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3300
- # cluster resides. This field has been deprecated and replaced by the name
3301
- # field.
3302
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3303
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3304
+ # been deprecated and replaced by the name field.
3302
3305
  # Corresponds to the JSON property `zone`
3303
3306
  # @return [String]
3304
3307
  attr_accessor :zone
@@ -3321,18 +3324,18 @@ module Google
3321
3324
  class SetLocationsRequest
3322
3325
  include Google::Apis::Core::Hashable
3323
3326
 
3324
- # Deprecated. The name of the cluster to upgrade.
3325
- # This field has been deprecated and replaced by the name field.
3327
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3328
+ # and replaced by the name field.
3326
3329
  # Corresponds to the JSON property `clusterId`
3327
3330
  # @return [String]
3328
3331
  attr_accessor :cluster_id
3329
3332
 
3330
- # Required. The desired list of Google Compute Engine
3331
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
3332
- # cluster's nodes should be located. Changing the locations a cluster is in
3333
- # will result in nodes being either created or removed from the cluster,
3334
- # depending on whether locations are being added or removed.
3335
- # This list must always include the cluster's primary zone.
3333
+ # Required. The desired list of Google Compute Engine [zones](https://cloud.
3334
+ # google.com/compute/docs/zones#available) in which the cluster's nodes should
3335
+ # be located. Changing the locations a cluster is in will result in nodes being
3336
+ # either created or removed from the cluster, depending on whether locations are
3337
+ # being added or removed. This list must always include the cluster's primary
3338
+ # zone.
3336
3339
  # Corresponds to the JSON property `locations`
3337
3340
  # @return [Array<String>]
3338
3341
  attr_accessor :locations
@@ -3343,17 +3346,16 @@ module Google
3343
3346
  # @return [String]
3344
3347
  attr_accessor :name
3345
3348
 
3346
- # Deprecated. The Google Developers Console [project ID or project
3347
- # number](https://support.google.com/cloud/answer/6158840).
3348
- # This field has been deprecated and replaced by the name field.
3349
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3350
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3351
+ # replaced by the name field.
3349
3352
  # Corresponds to the JSON property `projectId`
3350
3353
  # @return [String]
3351
3354
  attr_accessor :project_id
3352
3355
 
3353
- # Deprecated. The name of the Google Compute Engine
3354
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3355
- # cluster resides. This field has been deprecated and replaced by the name
3356
- # field.
3356
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3357
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3358
+ # been deprecated and replaced by the name field.
3357
3359
  # Corresponds to the JSON property `zone`
3358
3360
  # @return [String]
3359
3361
  attr_accessor :zone
@@ -3376,42 +3378,39 @@ module Google
3376
3378
  class SetLoggingServiceRequest
3377
3379
  include Google::Apis::Core::Hashable
3378
3380
 
3379
- # Deprecated. The name of the cluster to upgrade.
3380
- # This field has been deprecated and replaced by the name field.
3381
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3382
+ # and replaced by the name field.
3381
3383
  # Corresponds to the JSON property `clusterId`
3382
3384
  # @return [String]
3383
3385
  attr_accessor :cluster_id
3384
3386
 
3385
- # Required. The logging service the cluster should use to write logs.
3386
- # Currently available options:
3387
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
3388
- # service with a Kubernetes-native resource model
3389
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
3390
- # available as of GKE 1.15).
3391
- # * `none` - no logs will be exported from the cluster.
3392
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
3393
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
3387
+ # Required. The logging service the cluster should use to write logs. Currently
3388
+ # available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging
3389
+ # service with a Kubernetes-native resource model * `logging.googleapis.com` -
3390
+ # The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none`
3391
+ # - no logs will be exported from the cluster. If left as an empty string,`
3392
+ # logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.
3393
+ # googleapis.com` for earlier versions.
3394
3394
  # Corresponds to the JSON property `loggingService`
3395
3395
  # @return [String]
3396
3396
  attr_accessor :logging_service
3397
3397
 
3398
- # The name (project, location, cluster) of the cluster to set logging.
3399
- # Specified in the format `projects/*/locations/*/clusters/*`.
3398
+ # The name (project, location, cluster) of the cluster to set logging. Specified
3399
+ # in the format `projects/*/locations/*/clusters/*`.
3400
3400
  # Corresponds to the JSON property `name`
3401
3401
  # @return [String]
3402
3402
  attr_accessor :name
3403
3403
 
3404
- # Deprecated. The Google Developers Console [project ID or project
3405
- # number](https://support.google.com/cloud/answer/6158840).
3406
- # This field has been deprecated and replaced by the name field.
3404
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3405
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3406
+ # replaced by the name field.
3407
3407
  # Corresponds to the JSON property `projectId`
3408
3408
  # @return [String]
3409
3409
  attr_accessor :project_id
3410
3410
 
3411
- # Deprecated. The name of the Google Compute Engine
3412
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3413
- # cluster resides. This field has been deprecated and replaced by the name
3414
- # field.
3411
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3412
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3413
+ # been deprecated and replaced by the name field.
3415
3414
  # Corresponds to the JSON property `zone`
3416
3415
  # @return [String]
3417
3416
  attr_accessor :zone
@@ -3445,21 +3444,19 @@ module Google
3445
3444
  attr_accessor :maintenance_policy
3446
3445
 
3447
3446
  # The name (project, location, cluster id) of the cluster to set maintenance
3448
- # policy.
3449
- # Specified in the format `projects/*/locations/*/clusters/*`.
3447
+ # policy. Specified in the format `projects/*/locations/*/clusters/*`.
3450
3448
  # Corresponds to the JSON property `name`
3451
3449
  # @return [String]
3452
3450
  attr_accessor :name
3453
3451
 
3454
- # Required. The Google Developers Console [project ID or project
3455
- # number](https://support.google.com/cloud/answer/6158840).
3452
+ # Required. The Google Developers Console [project ID or project number](https://
3453
+ # support.google.com/cloud/answer/6158840).
3456
3454
  # Corresponds to the JSON property `projectId`
3457
3455
  # @return [String]
3458
3456
  attr_accessor :project_id
3459
3457
 
3460
- # Required. The name of the Google Compute Engine
3461
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3462
- # cluster resides.
3458
+ # Required. The name of the Google Compute Engine [zone](https://cloud.google.
3459
+ # com/compute/docs/zones#available) in which the cluster resides.
3463
3460
  # Corresponds to the JSON property `zone`
3464
3461
  # @return [String]
3465
3462
  attr_accessor :zone
@@ -3487,36 +3484,34 @@ module Google
3487
3484
  # @return [String]
3488
3485
  attr_accessor :action
3489
3486
 
3490
- # Deprecated. The name of the cluster to upgrade.
3491
- # This field has been deprecated and replaced by the name field.
3487
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3488
+ # and replaced by the name field.
3492
3489
  # Corresponds to the JSON property `clusterId`
3493
3490
  # @return [String]
3494
3491
  attr_accessor :cluster_id
3495
3492
 
3496
- # The name (project, location, cluster) of the cluster to set auth.
3497
- # Specified in the format `projects/*/locations/*/clusters/*`.
3493
+ # The name (project, location, cluster) of the cluster to set auth. Specified in
3494
+ # the format `projects/*/locations/*/clusters/*`.
3498
3495
  # Corresponds to the JSON property `name`
3499
3496
  # @return [String]
3500
3497
  attr_accessor :name
3501
3498
 
3502
- # Deprecated. The Google Developers Console [project ID or project
3503
- # number](https://support.google.com/cloud/answer/6158840).
3504
- # This field has been deprecated and replaced by the name field.
3499
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3500
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3501
+ # replaced by the name field.
3505
3502
  # Corresponds to the JSON property `projectId`
3506
3503
  # @return [String]
3507
3504
  attr_accessor :project_id
3508
3505
 
3509
3506
  # The authentication information for accessing the master endpoint.
3510
- # Authentication can be done using HTTP basic auth or using client
3511
- # certificates.
3507
+ # Authentication can be done using HTTP basic auth or using client certificates.
3512
3508
  # Corresponds to the JSON property `update`
3513
3509
  # @return [Google::Apis::ContainerV1::MasterAuth]
3514
3510
  attr_accessor :update
3515
3511
 
3516
- # Deprecated. The name of the Google Compute Engine
3517
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3518
- # cluster resides. This field has been deprecated and replaced by the name
3519
- # field.
3512
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3513
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3514
+ # been deprecated and replaced by the name field.
3520
3515
  # Corresponds to the JSON property `zone`
3521
3516
  # @return [String]
3522
3517
  attr_accessor :zone
@@ -3540,21 +3535,19 @@ module Google
3540
3535
  class SetMonitoringServiceRequest
3541
3536
  include Google::Apis::Core::Hashable
3542
3537
 
3543
- # Deprecated. The name of the cluster to upgrade.
3544
- # This field has been deprecated and replaced by the name field.
3538
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3539
+ # and replaced by the name field.
3545
3540
  # Corresponds to the JSON property `clusterId`
3546
3541
  # @return [String]
3547
3542
  attr_accessor :cluster_id
3548
3543
 
3549
3544
  # Required. The monitoring service the cluster should use to write metrics.
3550
- # Currently available options:
3551
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
3552
- # service with a Kubernetes-native resource model
3553
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
3554
- # longer available as of GKE 1.15).
3555
- # * `none` - No metrics will be exported from the cluster.
3556
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
3557
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
3545
+ # Currently available options: * "monitoring.googleapis.com/kubernetes" - The
3546
+ # Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.
3547
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
3548
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
3549
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
3550
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
3558
3551
  # Corresponds to the JSON property `monitoringService`
3559
3552
  # @return [String]
3560
3553
  attr_accessor :monitoring_service
@@ -3565,17 +3558,16 @@ module Google
3565
3558
  # @return [String]
3566
3559
  attr_accessor :name
3567
3560
 
3568
- # Deprecated. The Google Developers Console [project ID or project
3569
- # number](https://support.google.com/cloud/answer/6158840).
3570
- # This field has been deprecated and replaced by the name field.
3561
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3562
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3563
+ # replaced by the name field.
3571
3564
  # Corresponds to the JSON property `projectId`
3572
3565
  # @return [String]
3573
3566
  attr_accessor :project_id
3574
3567
 
3575
- # Deprecated. The name of the Google Compute Engine
3576
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3577
- # cluster resides. This field has been deprecated and replaced by the name
3578
- # field.
3568
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3569
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3570
+ # been deprecated and replaced by the name field.
3579
3571
  # Corresponds to the JSON property `zone`
3580
3572
  # @return [String]
3581
3573
  attr_accessor :zone
@@ -3598,8 +3590,8 @@ module Google
3598
3590
  class SetNetworkPolicyRequest
3599
3591
  include Google::Apis::Core::Hashable
3600
3592
 
3601
- # Deprecated. The name of the cluster.
3602
- # This field has been deprecated and replaced by the name field.
3593
+ # Deprecated. The name of the cluster. This field has been deprecated and
3594
+ # replaced by the name field.
3603
3595
  # Corresponds to the JSON property `clusterId`
3604
3596
  # @return [String]
3605
3597
  attr_accessor :cluster_id
@@ -3610,23 +3602,22 @@ module Google
3610
3602
  # @return [String]
3611
3603
  attr_accessor :name
3612
3604
 
3613
- # Configuration options for the NetworkPolicy feature.
3614
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
3605
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
3606
+ # docs/concepts/services-networking/networkpolicies/
3615
3607
  # Corresponds to the JSON property `networkPolicy`
3616
3608
  # @return [Google::Apis::ContainerV1::NetworkPolicy]
3617
3609
  attr_accessor :network_policy
3618
3610
 
3619
- # Deprecated. The Google Developers Console [project ID or project
3620
- # number](https://developers.google.com/console/help/new/#projectnumber).
3621
- # This field has been deprecated and replaced by the name field.
3611
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3612
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3613
+ # deprecated and replaced by the name field.
3622
3614
  # Corresponds to the JSON property `projectId`
3623
3615
  # @return [String]
3624
3616
  attr_accessor :project_id
3625
3617
 
3626
- # Deprecated. The name of the Google Compute Engine
3627
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3628
- # cluster resides. This field has been deprecated and replaced by the name
3629
- # field.
3618
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3619
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3620
+ # been deprecated and replaced by the name field.
3630
3621
  # Corresponds to the JSON property `zone`
3631
3622
  # @return [String]
3632
3623
  attr_accessor :zone
@@ -3655,36 +3646,35 @@ module Google
3655
3646
  # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
3656
3647
  attr_accessor :autoscaling
3657
3648
 
3658
- # Deprecated. The name of the cluster to upgrade.
3659
- # This field has been deprecated and replaced by the name field.
3649
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3650
+ # and replaced by the name field.
3660
3651
  # Corresponds to the JSON property `clusterId`
3661
3652
  # @return [String]
3662
3653
  attr_accessor :cluster_id
3663
3654
 
3664
3655
  # The name (project, location, cluster, node pool) of the node pool to set
3665
- # autoscaler settings. Specified in the format
3666
- # `projects/*/locations/*/clusters/*/nodePools/*`.
3656
+ # autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*
3657
+ # /nodePools/*`.
3667
3658
  # Corresponds to the JSON property `name`
3668
3659
  # @return [String]
3669
3660
  attr_accessor :name
3670
3661
 
3671
- # Deprecated. The name of the node pool to upgrade.
3672
- # This field has been deprecated and replaced by the name field.
3662
+ # Deprecated. The name of the node pool to upgrade. This field has been
3663
+ # deprecated and replaced by the name field.
3673
3664
  # Corresponds to the JSON property `nodePoolId`
3674
3665
  # @return [String]
3675
3666
  attr_accessor :node_pool_id
3676
3667
 
3677
- # Deprecated. The Google Developers Console [project ID or project
3678
- # number](https://support.google.com/cloud/answer/6158840).
3679
- # This field has been deprecated and replaced by the name field.
3668
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3669
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3670
+ # replaced by the name field.
3680
3671
  # Corresponds to the JSON property `projectId`
3681
3672
  # @return [String]
3682
3673
  attr_accessor :project_id
3683
3674
 
3684
- # Deprecated. The name of the Google Compute Engine
3685
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3686
- # cluster resides. This field has been deprecated and replaced by the name
3687
- # field.
3675
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3676
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3677
+ # been deprecated and replaced by the name field.
3688
3678
  # Corresponds to the JSON property `zone`
3689
3679
  # @return [String]
3690
3680
  attr_accessor :zone
@@ -3709,8 +3699,8 @@ module Google
3709
3699
  class SetNodePoolManagementRequest
3710
3700
  include Google::Apis::Core::Hashable
3711
3701
 
3712
- # Deprecated. The name of the cluster to update.
3713
- # This field has been deprecated and replaced by the name field.
3702
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3703
+ # and replaced by the name field.
3714
3704
  # Corresponds to the JSON property `clusterId`
3715
3705
  # @return [String]
3716
3706
  attr_accessor :cluster_id
@@ -3722,29 +3712,28 @@ module Google
3722
3712
  attr_accessor :management
3723
3713
 
3724
3714
  # The name (project, location, cluster, node pool id) of the node pool to set
3725
- # management properties. Specified in the format
3726
- # `projects/*/locations/*/clusters/*/nodePools/*`.
3715
+ # management properties. Specified in the format `projects/*/locations/*/
3716
+ # clusters/*/nodePools/*`.
3727
3717
  # Corresponds to the JSON property `name`
3728
3718
  # @return [String]
3729
3719
  attr_accessor :name
3730
3720
 
3731
- # Deprecated. The name of the node pool to update.
3732
- # This field has been deprecated and replaced by the name field.
3721
+ # Deprecated. The name of the node pool to update. This field has been
3722
+ # deprecated and replaced by the name field.
3733
3723
  # Corresponds to the JSON property `nodePoolId`
3734
3724
  # @return [String]
3735
3725
  attr_accessor :node_pool_id
3736
3726
 
3737
- # Deprecated. The Google Developers Console [project ID or project
3738
- # number](https://support.google.com/cloud/answer/6158840).
3739
- # This field has been deprecated and replaced by the name field.
3727
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3728
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3729
+ # replaced by the name field.
3740
3730
  # Corresponds to the JSON property `projectId`
3741
3731
  # @return [String]
3742
3732
  attr_accessor :project_id
3743
3733
 
3744
- # Deprecated. The name of the Google Compute Engine
3745
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3746
- # cluster resides. This field has been deprecated and replaced by the name
3747
- # field.
3734
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3735
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3736
+ # been deprecated and replaced by the name field.
3748
3737
  # Corresponds to the JSON property `zone`
3749
3738
  # @return [String]
3750
3739
  attr_accessor :zone
@@ -3764,20 +3753,18 @@ module Google
3764
3753
  end
3765
3754
  end
3766
3755
 
3767
- # SetNodePoolSizeRequest sets the size a node
3768
- # pool.
3756
+ # SetNodePoolSizeRequest sets the size a node pool.
3769
3757
  class SetNodePoolSizeRequest
3770
3758
  include Google::Apis::Core::Hashable
3771
3759
 
3772
- # Deprecated. The name of the cluster to update.
3773
- # This field has been deprecated and replaced by the name field.
3760
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3761
+ # and replaced by the name field.
3774
3762
  # Corresponds to the JSON property `clusterId`
3775
3763
  # @return [String]
3776
3764
  attr_accessor :cluster_id
3777
3765
 
3778
3766
  # The name (project, location, cluster, node pool id) of the node pool to set
3779
- # size.
3780
- # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3767
+ # size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3781
3768
  # Corresponds to the JSON property `name`
3782
3769
  # @return [String]
3783
3770
  attr_accessor :name
@@ -3787,23 +3774,22 @@ module Google
3787
3774
  # @return [Fixnum]
3788
3775
  attr_accessor :node_count
3789
3776
 
3790
- # Deprecated. The name of the node pool to update.
3791
- # This field has been deprecated and replaced by the name field.
3777
+ # Deprecated. The name of the node pool to update. This field has been
3778
+ # deprecated and replaced by the name field.
3792
3779
  # Corresponds to the JSON property `nodePoolId`
3793
3780
  # @return [String]
3794
3781
  attr_accessor :node_pool_id
3795
3782
 
3796
- # Deprecated. The Google Developers Console [project ID or project
3797
- # number](https://support.google.com/cloud/answer/6158840).
3798
- # This field has been deprecated and replaced by the name field.
3783
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3784
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3785
+ # replaced by the name field.
3799
3786
  # Corresponds to the JSON property `projectId`
3800
3787
  # @return [String]
3801
3788
  attr_accessor :project_id
3802
3789
 
3803
- # Deprecated. The name of the Google Compute Engine
3804
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3805
- # cluster resides. This field has been deprecated and replaced by the name
3806
- # field.
3790
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3791
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3792
+ # been deprecated and replaced by the name field.
3807
3793
  # Corresponds to the JSON property `zone`
3808
3794
  # @return [String]
3809
3795
  attr_accessor :zone
@@ -3827,20 +3813,20 @@ module Google
3827
3813
  class ShieldedInstanceConfig
3828
3814
  include Google::Apis::Core::Hashable
3829
3815
 
3830
- # Defines whether the instance has integrity monitoring enabled.
3831
- # Enables monitoring and attestation of the boot integrity of the instance.
3832
- # The attestation is performed against the integrity policy baseline. This
3833
- # baseline is initially derived from the implicitly trusted boot image when
3834
- # the instance is created.
3816
+ # Defines whether the instance has integrity monitoring enabled. Enables
3817
+ # monitoring and attestation of the boot integrity of the instance. The
3818
+ # attestation is performed against the integrity policy baseline. This baseline
3819
+ # is initially derived from the implicitly trusted boot image when the instance
3820
+ # is created.
3835
3821
  # Corresponds to the JSON property `enableIntegrityMonitoring`
3836
3822
  # @return [Boolean]
3837
3823
  attr_accessor :enable_integrity_monitoring
3838
3824
  alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
3839
3825
 
3840
- # Defines whether the instance has Secure Boot enabled.
3841
- # Secure Boot helps ensure that the system only runs authentic software by
3842
- # verifying the digital signature of all boot components, and halting the
3843
- # boot process if signature verification fails.
3826
+ # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure
3827
+ # that the system only runs authentic software by verifying the digital
3828
+ # signature of all boot components, and halting the boot process if signature
3829
+ # verification fails.
3844
3830
  # Corresponds to the JSON property `enableSecureBoot`
3845
3831
  # @return [Boolean]
3846
3832
  attr_accessor :enable_secure_boot
@@ -3877,26 +3863,26 @@ module Google
3877
3863
  end
3878
3864
  end
3879
3865
 
3880
- # StartIPRotationRequest creates a new IP for the cluster and then performs
3881
- # a node upgrade on each node pool to point to the new IP.
3866
+ # StartIPRotationRequest creates a new IP for the cluster and then performs a
3867
+ # node upgrade on each node pool to point to the new IP.
3882
3868
  class StartIpRotationRequest
3883
3869
  include Google::Apis::Core::Hashable
3884
3870
 
3885
- # Deprecated. The name of the cluster.
3886
- # This field has been deprecated and replaced by the name field.
3871
+ # Deprecated. The name of the cluster. This field has been deprecated and
3872
+ # replaced by the name field.
3887
3873
  # Corresponds to the JSON property `clusterId`
3888
3874
  # @return [String]
3889
3875
  attr_accessor :cluster_id
3890
3876
 
3891
- # The name (project, location, cluster id) of the cluster to start IP
3892
- # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
3877
+ # The name (project, location, cluster id) of the cluster to start IP rotation.
3878
+ # Specified in the format `projects/*/locations/*/clusters/*`.
3893
3879
  # Corresponds to the JSON property `name`
3894
3880
  # @return [String]
3895
3881
  attr_accessor :name
3896
3882
 
3897
- # Deprecated. The Google Developers Console [project ID or project
3898
- # number](https://developers.google.com/console/help/new/#projectnumber).
3899
- # This field has been deprecated and replaced by the name field.
3883
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3884
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3885
+ # deprecated and replaced by the name field.
3900
3886
  # Corresponds to the JSON property `projectId`
3901
3887
  # @return [String]
3902
3888
  attr_accessor :project_id
@@ -3907,10 +3893,9 @@ module Google
3907
3893
  attr_accessor :rotate_credentials
3908
3894
  alias_method :rotate_credentials?, :rotate_credentials
3909
3895
 
3910
- # Deprecated. The name of the Google Compute Engine
3911
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3912
- # cluster resides. This field has been deprecated and replaced by the name
3913
- # field.
3896
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3897
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3898
+ # been deprecated and replaced by the name field.
3914
3899
  # Corresponds to the JSON property `zone`
3915
3900
  # @return [String]
3916
3901
  attr_accessor :zone
@@ -3929,8 +3914,8 @@ module Google
3929
3914
  end
3930
3915
  end
3931
3916
 
3932
- # StatusCondition describes why a cluster or a node pool has a certain status
3933
- # (e.g., ERROR or DEGRADED).
3917
+ # StatusCondition describes why a cluster or a node pool has a certain status (e.
3918
+ # g., ERROR or DEGRADED).
3934
3919
  class StatusCondition
3935
3920
  include Google::Apis::Core::Hashable
3936
3921
 
@@ -3959,8 +3944,8 @@ module Google
3959
3944
  class TimeWindow
3960
3945
  include Google::Apis::Core::Hashable
3961
3946
 
3962
- # The time that the window ends. The end time should take place after the
3963
- # start time.
3947
+ # The time that the window ends. The end time should take place after the start
3948
+ # time.
3964
3949
  # Corresponds to the JSON property `endTime`
3965
3950
  # @return [String]
3966
3951
  attr_accessor :end_time
@@ -3985,36 +3970,34 @@ module Google
3985
3970
  class UpdateClusterRequest
3986
3971
  include Google::Apis::Core::Hashable
3987
3972
 
3988
- # Deprecated. The name of the cluster to upgrade.
3989
- # This field has been deprecated and replaced by the name field.
3973
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3974
+ # and replaced by the name field.
3990
3975
  # Corresponds to the JSON property `clusterId`
3991
3976
  # @return [String]
3992
3977
  attr_accessor :cluster_id
3993
3978
 
3994
- # The name (project, location, cluster) of the cluster to update.
3995
- # Specified in the format `projects/*/locations/*/clusters/*`.
3979
+ # The name (project, location, cluster) of the cluster to update. Specified in
3980
+ # the format `projects/*/locations/*/clusters/*`.
3996
3981
  # Corresponds to the JSON property `name`
3997
3982
  # @return [String]
3998
3983
  attr_accessor :name
3999
3984
 
4000
- # Deprecated. The Google Developers Console [project ID or project
4001
- # number](https://support.google.com/cloud/answer/6158840).
4002
- # This field has been deprecated and replaced by the name field.
3985
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3986
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3987
+ # replaced by the name field.
4003
3988
  # Corresponds to the JSON property `projectId`
4004
3989
  # @return [String]
4005
3990
  attr_accessor :project_id
4006
3991
 
4007
- # ClusterUpdate describes an update to the cluster. Exactly one update can
4008
- # be applied to a cluster with each request, so at most one field can be
4009
- # provided.
3992
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
3993
+ # applied to a cluster with each request, so at most one field can be provided.
4010
3994
  # Corresponds to the JSON property `update`
4011
3995
  # @return [Google::Apis::ContainerV1::ClusterUpdate]
4012
3996
  attr_accessor :update
4013
3997
 
4014
- # Deprecated. The name of the Google Compute Engine
4015
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4016
- # cluster resides. This field has been deprecated and replaced by the name
4017
- # field.
3998
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3999
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
4000
+ # been deprecated and replaced by the name field.
4018
4001
  # Corresponds to the JSON property `zone`
4019
4002
  # @return [String]
4020
4003
  attr_accessor :zone
@@ -4037,41 +4020,39 @@ module Google
4037
4020
  class UpdateMasterRequest
4038
4021
  include Google::Apis::Core::Hashable
4039
4022
 
4040
- # Deprecated. The name of the cluster to upgrade.
4041
- # This field has been deprecated and replaced by the name field.
4023
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
4024
+ # and replaced by the name field.
4042
4025
  # Corresponds to the JSON property `clusterId`
4043
4026
  # @return [String]
4044
4027
  attr_accessor :cluster_id
4045
4028
 
4046
- # Required. The Kubernetes version to change the master to.
4047
- # Users may specify either explicit versions offered by Kubernetes Engine or
4048
- # version aliases, which have the following behavior:
4049
- # - "latest": picks the highest valid Kubernetes version
4050
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
4051
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
4052
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
4053
- # - "-": picks the default Kubernetes version
4029
+ # Required. The Kubernetes version to change the master to. Users may specify
4030
+ # either explicit versions offered by Kubernetes Engine or version aliases,
4031
+ # which have the following behavior: - "latest": picks the highest valid
4032
+ # Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.
4033
+ # X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version -
4034
+ # "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default
4035
+ # Kubernetes version
4054
4036
  # Corresponds to the JSON property `masterVersion`
4055
4037
  # @return [String]
4056
4038
  attr_accessor :master_version
4057
4039
 
4058
- # The name (project, location, cluster) of the cluster to update.
4059
- # Specified in the format `projects/*/locations/*/clusters/*`.
4040
+ # The name (project, location, cluster) of the cluster to update. Specified in
4041
+ # the format `projects/*/locations/*/clusters/*`.
4060
4042
  # Corresponds to the JSON property `name`
4061
4043
  # @return [String]
4062
4044
  attr_accessor :name
4063
4045
 
4064
- # Deprecated. The Google Developers Console [project ID or project
4065
- # number](https://support.google.com/cloud/answer/6158840).
4066
- # This field has been deprecated and replaced by the name field.
4046
+ # Deprecated. The Google Developers Console [project ID or project number](https:
4047
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
4048
+ # replaced by the name field.
4067
4049
  # Corresponds to the JSON property `projectId`
4068
4050
  # @return [String]
4069
4051
  attr_accessor :project_id
4070
4052
 
4071
- # Deprecated. The name of the Google Compute Engine
4072
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4073
- # cluster resides. This field has been deprecated and replaced by the name
4074
- # field.
4053
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
4054
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
4055
+ # been deprecated and replaced by the name field.
4075
4056
  # Corresponds to the JSON property `zone`
4076
4057
  # @return [String]
4077
4058
  attr_accessor :zone
@@ -4094,8 +4075,8 @@ module Google
4094
4075
  class UpdateNodePoolRequest
4095
4076
  include Google::Apis::Core::Hashable
4096
4077
 
4097
- # Deprecated. The name of the cluster to upgrade.
4098
- # This field has been deprecated and replaced by the name field.
4078
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
4079
+ # and replaced by the name field.
4099
4080
  # Corresponds to the JSON property `clusterId`
4100
4081
  # @return [String]
4101
4082
  attr_accessor :cluster_id
@@ -4105,66 +4086,59 @@ module Google
4105
4086
  # @return [String]
4106
4087
  attr_accessor :image_type
4107
4088
 
4108
- # The desired list of Google Compute Engine
4109
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
4110
- # node pool's nodes should be located. Changing the locations for a node pool
4111
- # will result in nodes being either created or removed from the node pool,
4112
- # depending on whether locations are being added or removed.
4089
+ # The desired list of Google Compute Engine [zones](https://cloud.google.com/
4090
+ # compute/docs/zones#available) in which the node pool's nodes should be located.
4091
+ # Changing the locations for a node pool will result in nodes being either
4092
+ # created or removed from the node pool, depending on whether locations are
4093
+ # being added or removed.
4113
4094
  # Corresponds to the JSON property `locations`
4114
4095
  # @return [Array<String>]
4115
4096
  attr_accessor :locations
4116
4097
 
4117
- # The name (project, location, cluster, node pool) of the node pool to
4118
- # update. Specified in the format
4119
- # `projects/*/locations/*/clusters/*/nodePools/*`.
4098
+ # The name (project, location, cluster, node pool) of the node pool to update.
4099
+ # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
4120
4100
  # Corresponds to the JSON property `name`
4121
4101
  # @return [String]
4122
4102
  attr_accessor :name
4123
4103
 
4124
- # Deprecated. The name of the node pool to upgrade.
4125
- # This field has been deprecated and replaced by the name field.
4104
+ # Deprecated. The name of the node pool to upgrade. This field has been
4105
+ # deprecated and replaced by the name field.
4126
4106
  # Corresponds to the JSON property `nodePoolId`
4127
4107
  # @return [String]
4128
4108
  attr_accessor :node_pool_id
4129
4109
 
4130
- # Required. The Kubernetes version to change the nodes to (typically an
4131
- # upgrade).
4110
+ # Required. The Kubernetes version to change the nodes to (typically an upgrade).
4132
4111
  # Users may specify either explicit versions offered by Kubernetes Engine or
4133
- # version aliases, which have the following behavior:
4134
- # - "latest": picks the highest valid Kubernetes version
4135
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
4136
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
4137
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
4138
- # - "-": picks the Kubernetes master version
4112
+ # version aliases, which have the following behavior: - "latest": picks the
4113
+ # highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N
4114
+ # patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the
4115
+ # 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-":
4116
+ # picks the Kubernetes master version
4139
4117
  # Corresponds to the JSON property `nodeVersion`
4140
4118
  # @return [String]
4141
4119
  attr_accessor :node_version
4142
4120
 
4143
- # Deprecated. The Google Developers Console [project ID or project
4144
- # number](https://support.google.com/cloud/answer/6158840).
4145
- # This field has been deprecated and replaced by the name field.
4121
+ # Deprecated. The Google Developers Console [project ID or project number](https:
4122
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
4123
+ # replaced by the name field.
4146
4124
  # Corresponds to the JSON property `projectId`
4147
4125
  # @return [String]
4148
4126
  attr_accessor :project_id
4149
4127
 
4150
4128
  # These upgrade settings control the level of parallelism and the level of
4151
- # disruption caused by an upgrade.
4152
- # maxUnavailable controls the number of nodes that can be simultaneously
4153
- # unavailable.
4154
- # maxSurge controls the number of additional nodes that can be added to the
4155
- # node pool temporarily for the time of the upgrade to increase the number of
4156
- # available nodes.
4157
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
4158
- # nodes are being upgraded at the same time).
4159
- # Note: upgrades inevitably introduce some disruption since workloads need to
4160
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
4161
- # this holds true. (Disruption stays within the limits of
4162
- # PodDisruptionBudget, if it is configured.)
4163
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
4164
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
4165
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
4166
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
4167
- # there are always at least 4 nodes available.
4129
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
4130
+ # that can be simultaneously unavailable. maxSurge controls the number of
4131
+ # additional nodes that can be added to the node pool temporarily for the time
4132
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
4133
+ # maxSurge) determines the level of parallelism (how many nodes are being
4134
+ # upgraded at the same time). Note: upgrades inevitably introduce some
4135
+ # disruption since workloads need to be moved from old nodes to new, upgraded
4136
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
4137
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
4138
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
4139
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
4140
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
4141
+ # same time. This ensures that there are always at least 4 nodes available.
4168
4142
  # Corresponds to the JSON property `upgradeSettings`
4169
4143
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
4170
4144
  attr_accessor :upgrade_settings
@@ -4175,10 +4149,9 @@ module Google
4175
4149
  # @return [Google::Apis::ContainerV1::WorkloadMetadataConfig]
4176
4150
  attr_accessor :workload_metadata_config
4177
4151
 
4178
- # Deprecated. The name of the Google Compute Engine
4179
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4180
- # cluster resides. This field has been deprecated and replaced by the name
4181
- # field.
4152
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
4153
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
4154
+ # been deprecated and replaced by the name field.
4182
4155
  # Corresponds to the JSON property `zone`
4183
4156
  # @return [String]
4184
4157
  attr_accessor :zone
@@ -4202,36 +4175,82 @@ module Google
4202
4175
  end
4203
4176
  end
4204
4177
 
4178
+ # UpgradeEvent is a notification sent to customers by the cluster server when a
4179
+ # resource is upgrading.
4180
+ class UpgradeEvent
4181
+ include Google::Apis::Core::Hashable
4182
+
4183
+ # Required. The current version before the upgrade.
4184
+ # Corresponds to the JSON property `currentVersion`
4185
+ # @return [String]
4186
+ attr_accessor :current_version
4187
+
4188
+ # Required. The operation associated with this upgrade.
4189
+ # Corresponds to the JSON property `operation`
4190
+ # @return [String]
4191
+ attr_accessor :operation
4192
+
4193
+ # Required. The time when the operation was started.
4194
+ # Corresponds to the JSON property `operationStartTime`
4195
+ # @return [String]
4196
+ attr_accessor :operation_start_time
4197
+
4198
+ # Optional. Optional relative path to the resource. For example in node pool
4199
+ # upgrades, the relative path of the node pool.
4200
+ # Corresponds to the JSON property `resource`
4201
+ # @return [String]
4202
+ attr_accessor :resource
4203
+
4204
+ # Required. The resource type that is upgrading.
4205
+ # Corresponds to the JSON property `resourceType`
4206
+ # @return [String]
4207
+ attr_accessor :resource_type
4208
+
4209
+ # Required. The target version for the upgrade.
4210
+ # Corresponds to the JSON property `targetVersion`
4211
+ # @return [String]
4212
+ attr_accessor :target_version
4213
+
4214
+ def initialize(**args)
4215
+ update!(**args)
4216
+ end
4217
+
4218
+ # Update properties of this object
4219
+ def update!(**args)
4220
+ @current_version = args[:current_version] if args.key?(:current_version)
4221
+ @operation = args[:operation] if args.key?(:operation)
4222
+ @operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
4223
+ @resource = args[:resource] if args.key?(:resource)
4224
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
4225
+ @target_version = args[:target_version] if args.key?(:target_version)
4226
+ end
4227
+ end
4228
+
4205
4229
  # These upgrade settings control the level of parallelism and the level of
4206
- # disruption caused by an upgrade.
4207
- # maxUnavailable controls the number of nodes that can be simultaneously
4208
- # unavailable.
4209
- # maxSurge controls the number of additional nodes that can be added to the
4210
- # node pool temporarily for the time of the upgrade to increase the number of
4211
- # available nodes.
4212
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
4213
- # nodes are being upgraded at the same time).
4214
- # Note: upgrades inevitably introduce some disruption since workloads need to
4215
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
4216
- # this holds true. (Disruption stays within the limits of
4217
- # PodDisruptionBudget, if it is configured.)
4218
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
4219
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
4220
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
4221
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
4222
- # there are always at least 4 nodes available.
4230
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
4231
+ # that can be simultaneously unavailable. maxSurge controls the number of
4232
+ # additional nodes that can be added to the node pool temporarily for the time
4233
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
4234
+ # maxSurge) determines the level of parallelism (how many nodes are being
4235
+ # upgraded at the same time). Note: upgrades inevitably introduce some
4236
+ # disruption since workloads need to be moved from old nodes to new, upgraded
4237
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
4238
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
4239
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
4240
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
4241
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
4242
+ # same time. This ensures that there are always at least 4 nodes available.
4223
4243
  class UpgradeSettings
4224
4244
  include Google::Apis::Core::Hashable
4225
4245
 
4226
- # The maximum number of nodes that can be created beyond the current size
4227
- # of the node pool during the upgrade process.
4246
+ # The maximum number of nodes that can be created beyond the current size of the
4247
+ # node pool during the upgrade process.
4228
4248
  # Corresponds to the JSON property `maxSurge`
4229
4249
  # @return [Fixnum]
4230
4250
  attr_accessor :max_surge
4231
4251
 
4232
- # The maximum number of nodes that can be simultaneously unavailable during
4233
- # the upgrade process. A node is considered available if its status is
4234
- # Ready.
4252
+ # The maximum number of nodes that can be simultaneously unavailable during the
4253
+ # upgrade process. A node is considered available if its status is Ready.
4235
4254
  # Corresponds to the JSON property `maxUnavailable`
4236
4255
  # @return [Fixnum]
4237
4256
  attr_accessor :max_unavailable
@@ -4257,8 +4276,7 @@ module Google
4257
4276
  # @return [String]
4258
4277
  attr_accessor :ip_cidr_range
4259
4278
 
4260
- # Network Name.
4261
- # Example: projects/my-project/global/networks/my-network
4279
+ # Network Name. Example: projects/my-project/global/networks/my-network
4262
4280
  # Corresponds to the JSON property `network`
4263
4281
  # @return [String]
4264
4282
  attr_accessor :network
@@ -4268,16 +4286,16 @@ module Google
4268
4286
  # @return [Array<Google::Apis::ContainerV1::UsableSubnetworkSecondaryRange>]
4269
4287
  attr_accessor :secondary_ip_ranges
4270
4288
 
4271
- # A human readable status message representing the reasons for cases where
4272
- # the caller cannot use the secondary ranges under the subnet. For example if
4273
- # the secondary_ip_ranges is empty due to a permission issue, an insufficient
4289
+ # A human readable status message representing the reasons for cases where the
4290
+ # caller cannot use the secondary ranges under the subnet. For example if the
4291
+ # secondary_ip_ranges is empty due to a permission issue, an insufficient
4274
4292
  # permission message will be given by status_message.
4275
4293
  # Corresponds to the JSON property `statusMessage`
4276
4294
  # @return [String]
4277
4295
  attr_accessor :status_message
4278
4296
 
4279
- # Subnetwork Name.
4280
- # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
4297
+ # Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/
4298
+ # my-subnet
4281
4299
  # Corresponds to the JSON property `subnetwork`
4282
4300
  # @return [String]
4283
4301
  attr_accessor :subnetwork
@@ -4305,8 +4323,8 @@ module Google
4305
4323
  # @return [String]
4306
4324
  attr_accessor :ip_cidr_range
4307
4325
 
4308
- # The name associated with this subnetwork secondary range, used when adding
4309
- # an alias IP range to a VM instance.
4326
+ # The name associated with this subnetwork secondary range, used when adding an
4327
+ # alias IP range to a VM instance.
4310
4328
  # Corresponds to the JSON property `rangeName`
4311
4329
  # @return [String]
4312
4330
  attr_accessor :range_name
@@ -4328,9 +4346,9 @@ module Google
4328
4346
  end
4329
4347
  end
4330
4348
 
4331
- # VerticalPodAutoscaling contains global, per-cluster information
4332
- # required by Vertical Pod Autoscaler to automatically adjust
4333
- # the resources of pods controlled by it.
4349
+ # VerticalPodAutoscaling contains global, per-cluster information required by
4350
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
4351
+ # controlled by it.
4334
4352
  class VerticalPodAutoscaling
4335
4353
  include Google::Apis::Core::Hashable
4336
4354
 
@@ -4350,8 +4368,7 @@ module Google
4350
4368
  end
4351
4369
  end
4352
4370
 
4353
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
4354
- # policies.
4371
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
4355
4372
  class WorkloadIdentityConfig
4356
4373
  include Google::Apis::Core::Hashable
4357
4374
 
@@ -4375,8 +4392,8 @@ module Google
4375
4392
  class WorkloadMetadataConfig
4376
4393
  include Google::Apis::Core::Hashable
4377
4394
 
4378
- # Mode is the configuration for how to expose metadata to workloads running
4379
- # on the node pool.
4395
+ # Mode is the configuration for how to expose metadata to workloads running on
4396
+ # the node pool.
4380
4397
  # Corresponds to the JSON property `mode`
4381
4398
  # @return [String]
4382
4399
  attr_accessor :mode