google-api-client 0.42.2 → 0.45.0

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