google-api-client 0.42.2 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200709'
29
+ REVISION = '20200828'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -31,8 +31,8 @@ module Google
31
31
  # @return [Fixnum]
32
32
  attr_accessor :accelerator_count
33
33
 
34
- # The accelerator type resource name. List of supported accelerators
35
- # [here](https://cloud.google.com/compute/docs/gpus)
34
+ # The accelerator type resource name. List of supported accelerators [here](
35
+ # https://cloud.google.com/compute/docs/gpus)
36
36
  # Corresponds to the JSON property `acceleratorType`
37
37
  # @return [String]
38
38
  attr_accessor :accelerator_type
@@ -48,8 +48,8 @@ module Google
48
48
  end
49
49
  end
50
50
 
51
- # Configuration for the addons that can be automatically spun up in the
52
- # cluster, enabling additional functionality.
51
+ # Configuration for the addons that can be automatically spun up in the cluster,
52
+ # enabling additional functionality.
53
53
  class AddonsConfig
54
54
  include Google::Apis::Core::Hashable
55
55
 
@@ -58,20 +58,25 @@ module Google
58
58
  # @return [Google::Apis::ContainerV1::CloudRunConfig]
59
59
  attr_accessor :cloud_run_config
60
60
 
61
+ # Configuration options for the Config Connector add-on.
62
+ # Corresponds to the JSON property `configConnectorConfig`
63
+ # @return [Google::Apis::ContainerV1::ConfigConnectorConfig]
64
+ attr_accessor :config_connector_config
65
+
61
66
  # Configuration for NodeLocal DNSCache
62
67
  # Corresponds to the JSON property `dnsCacheConfig`
63
68
  # @return [Google::Apis::ContainerV1::DnsCacheConfig]
64
69
  attr_accessor :dns_cache_config
65
70
 
66
71
  # Configuration options for the horizontal pod autoscaling feature, which
67
- # increases or decreases the number of replica pods a replication controller
68
- # has based on the resource usage of the existing pods.
72
+ # increases or decreases the number of replica pods a replication controller has
73
+ # based on the resource usage of the existing pods.
69
74
  # Corresponds to the JSON property `horizontalPodAutoscaling`
70
75
  # @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling]
71
76
  attr_accessor :horizontal_pod_autoscaling
72
77
 
73
- # Configuration options for the HTTP (L7) load balancing controller addon,
74
- # which makes it easy to set up HTTP load balancers for services in a cluster.
78
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
79
+ # makes it easy to set up HTTP load balancers for services in a cluster.
75
80
  # Corresponds to the JSON property `httpLoadBalancing`
76
81
  # @return [Google::Apis::ContainerV1::HttpLoadBalancing]
77
82
  attr_accessor :http_load_balancing
@@ -81,9 +86,9 @@ module Google
81
86
  # @return [Google::Apis::ContainerV1::KubernetesDashboard]
82
87
  attr_accessor :kubernetes_dashboard
83
88
 
84
- # Configuration for NetworkPolicy. This only tracks whether the addon
85
- # is enabled or not on the Master, it does not track whether network policy
86
- # is enabled for the nodes.
89
+ # Configuration for NetworkPolicy. This only tracks whether the addon is enabled
90
+ # or not on the Master, it does not track whether network policy is enabled for
91
+ # the nodes.
87
92
  # Corresponds to the JSON property `networkPolicyConfig`
88
93
  # @return [Google::Apis::ContainerV1::NetworkPolicyConfig]
89
94
  attr_accessor :network_policy_config
@@ -95,6 +100,7 @@ module Google
95
100
  # Update properties of this object
96
101
  def update!(**args)
97
102
  @cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
103
+ @config_connector_config = args[:config_connector_config] if args.key?(:config_connector_config)
98
104
  @dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
99
105
  @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
100
106
  @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
@@ -107,15 +113,15 @@ module Google
107
113
  class AuthenticatorGroupsConfig
108
114
  include Google::Apis::Core::Hashable
109
115
 
110
- # Whether this cluster should return group membership lookups
111
- # during authentication using a group of security groups.
116
+ # Whether this cluster should return group membership lookups during
117
+ # authentication using a group of security groups.
112
118
  # Corresponds to the JSON property `enabled`
113
119
  # @return [Boolean]
114
120
  attr_accessor :enabled
115
121
  alias_method :enabled?, :enabled
116
122
 
117
- # The name of the security group-of-groups to be used. Only relevant
118
- # if enabled = true.
123
+ # The name of the security group-of-groups to be used. Only relevant if enabled =
124
+ # true.
119
125
  # Corresponds to the JSON property `securityGroup`
120
126
  # @return [String]
121
127
  attr_accessor :security_group
@@ -131,20 +137,20 @@ module Google
131
137
  end
132
138
  end
133
139
 
134
- # AutoUpgradeOptions defines the set of options for the user to control how
135
- # the Auto Upgrades will proceed.
140
+ # AutoUpgradeOptions defines the set of options for the user to control how the
141
+ # Auto Upgrades will proceed.
136
142
  class AutoUpgradeOptions
137
143
  include Google::Apis::Core::Hashable
138
144
 
139
- # [Output only] This field is set when upgrades are about to commence
140
- # with the approximate start time for the upgrades, in
141
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
145
+ # [Output only] This field is set when upgrades are about to commence with the
146
+ # approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/
147
+ # rfc3339.txt) text format.
142
148
  # Corresponds to the JSON property `autoUpgradeStartTime`
143
149
  # @return [String]
144
150
  attr_accessor :auto_upgrade_start_time
145
151
 
146
- # [Output only] This field is set when upgrades are about to commence
147
- # with the description of the upgrade.
152
+ # [Output only] This field is set when upgrades are about to commence with the
153
+ # description of the upgrade.
148
154
  # Corresponds to the JSON property `description`
149
155
  # @return [String]
150
156
  attr_accessor :description
@@ -160,17 +166,49 @@ module Google
160
166
  end
161
167
  end
162
168
 
163
- # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
164
- # by NAP.
169
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
170
+ # NAP.
165
171
  class AutoprovisioningNodePoolDefaults
166
172
  include Google::Apis::Core::Hashable
167
173
 
174
+ # The Customer Managed Encryption Key used to encrypt the boot disk attached to
175
+ # each node in the node pool. This should be of the form projects/[
176
+ # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
177
+ # . For more information about protecting resources with Cloud KMS Keys please
178
+ # see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
179
+ # Corresponds to the JSON property `bootDiskKmsKey`
180
+ # @return [String]
181
+ attr_accessor :boot_disk_kms_key
182
+
183
+ # Size of the disk attached to each node, specified in GB. The smallest allowed
184
+ # disk size is 10GB. If unspecified, the default disk size is 100GB.
185
+ # Corresponds to the JSON property `diskSizeGb`
186
+ # @return [Fixnum]
187
+ attr_accessor :disk_size_gb
188
+
189
+ # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
190
+ # unspecified, the default disk type is 'pd-standard'
191
+ # Corresponds to the JSON property `diskType`
192
+ # @return [String]
193
+ attr_accessor :disk_type
194
+
168
195
  # NodeManagement defines the set of node management services turned on for the
169
196
  # node pool.
170
197
  # Corresponds to the JSON property `management`
171
198
  # @return [Google::Apis::ContainerV1::NodeManagement]
172
199
  attr_accessor :management
173
200
 
201
+ # Minimum CPU platform to be used for NAP created node pools. The instance may
202
+ # be scheduled on the specified or newer CPU platform. Applicable values are the
203
+ # friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or
204
+ # minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify
205
+ # min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-
206
+ # cpu-platform) To unset the min cpu platform field pass "automatic" as field
207
+ # value.
208
+ # Corresponds to the JSON property `minCpuPlatform`
209
+ # @return [String]
210
+ attr_accessor :min_cpu_platform
211
+
174
212
  # Scopes that are used by NAP when creating node pools.
175
213
  # Corresponds to the JSON property `oauthScopes`
176
214
  # @return [Array<String>]
@@ -181,24 +219,25 @@ module Google
181
219
  # @return [String]
182
220
  attr_accessor :service_account
183
221
 
222
+ # A set of Shielded Instance options.
223
+ # Corresponds to the JSON property `shieldedInstanceConfig`
224
+ # @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
225
+ attr_accessor :shielded_instance_config
226
+
184
227
  # These upgrade settings control the level of parallelism and the level of
185
- # disruption caused by an upgrade.
186
- # maxUnavailable controls the number of nodes that can be simultaneously
187
- # unavailable.
188
- # maxSurge controls the number of additional nodes that can be added to the
189
- # node pool temporarily for the time of the upgrade to increase the number of
190
- # available nodes.
191
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
192
- # nodes are being upgraded at the same time).
193
- # Note: upgrades inevitably introduce some disruption since workloads need to
194
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
195
- # this holds true. (Disruption stays within the limits of
196
- # PodDisruptionBudget, if it is configured.)
197
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
198
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
199
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
200
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
201
- # there are always at least 4 nodes available.
228
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
229
+ # that can be simultaneously unavailable. maxSurge controls the number of
230
+ # additional nodes that can be added to the node pool temporarily for the time
231
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
232
+ # maxSurge) determines the level of parallelism (how many nodes are being
233
+ # upgraded at the same time). Note: upgrades inevitably introduce some
234
+ # disruption since workloads need to be moved from old nodes to new, upgraded
235
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
236
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
237
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
238
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
239
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
240
+ # same time. This ensures that there are always at least 4 nodes available.
202
241
  # Corresponds to the JSON property `upgradeSettings`
203
242
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
204
243
  attr_accessor :upgrade_settings
@@ -209,9 +248,14 @@ module Google
209
248
 
210
249
  # Update properties of this object
211
250
  def update!(**args)
251
+ @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
252
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
253
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
212
254
  @management = args[:management] if args.key?(:management)
255
+ @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
213
256
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
214
257
  @service_account = args[:service_account] if args.key?(:service_account)
258
+ @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
215
259
  @upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
216
260
  end
217
261
  end
@@ -239,8 +283,8 @@ module Google
239
283
  class BinaryAuthorization
240
284
  include Google::Apis::Core::Hashable
241
285
 
242
- # Enable Binary Authorization for this cluster. If enabled, all container
243
- # images will be validated by Binary Authorization.
286
+ # Enable Binary Authorization for this cluster. If enabled, all container images
287
+ # will be validated by Binary Authorization.
244
288
  # Corresponds to the JSON property `enabled`
245
289
  # @return [Boolean]
246
290
  attr_accessor :enabled
@@ -266,23 +310,22 @@ module Google
266
310
  # @return [String]
267
311
  attr_accessor :name
268
312
 
269
- # Deprecated. The server-assigned `name` of the operation.
270
- # This field has been deprecated and replaced by the name field.
313
+ # Deprecated. The server-assigned `name` of the operation. This field has been
314
+ # deprecated and replaced by the name field.
271
315
  # Corresponds to the JSON property `operationId`
272
316
  # @return [String]
273
317
  attr_accessor :operation_id
274
318
 
275
- # Deprecated. The Google Developers Console [project ID or project
276
- # number](https://support.google.com/cloud/answer/6158840).
277
- # This field has been deprecated and replaced by the name field.
319
+ # Deprecated. The Google Developers Console [project ID or project number](https:
320
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
321
+ # replaced by the name field.
278
322
  # Corresponds to the JSON property `projectId`
279
323
  # @return [String]
280
324
  attr_accessor :project_id
281
325
 
282
- # Deprecated. The name of the Google Compute Engine
283
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
284
- # operation resides. This field has been deprecated and replaced by the name
285
- # field.
326
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
327
+ # com/compute/docs/zones#available) in which the operation resides. This field
328
+ # has been deprecated and replaced by the name field.
286
329
  # Corresponds to the JSON property `zone`
287
330
  # @return [String]
288
331
  attr_accessor :zone
@@ -355,6 +398,11 @@ module Google
355
398
  attr_accessor :disabled
356
399
  alias_method :disabled?, :disabled
357
400
 
401
+ # Which load balancer type is installed for Cloud Run.
402
+ # Corresponds to the JSON property `loadBalancerType`
403
+ # @return [String]
404
+ attr_accessor :load_balancer_type
405
+
358
406
  def initialize(**args)
359
407
  update!(**args)
360
408
  end
@@ -362,6 +410,7 @@ module Google
362
410
  # Update properties of this object
363
411
  def update!(**args)
364
412
  @disabled = args[:disabled] if args.key?(:disabled)
413
+ @load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
365
414
  end
366
415
  end
367
416
 
@@ -369,8 +418,8 @@ module Google
369
418
  class Cluster
370
419
  include Google::Apis::Core::Hashable
371
420
 
372
- # Configuration for the addons that can be automatically spun up in the
373
- # cluster, enabling additional functionality.
421
+ # Configuration for the addons that can be automatically spun up in the cluster,
422
+ # enabling additional functionality.
374
423
  # Corresponds to the JSON property `addonsConfig`
375
424
  # @return [Google::Apis::ContainerV1::AddonsConfig]
376
425
  attr_accessor :addons_config
@@ -380,10 +429,9 @@ module Google
380
429
  # @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
381
430
  attr_accessor :authenticator_groups_config
382
431
 
383
- # ClusterAutoscaling contains global, per-cluster information
384
- # required by Cluster Autoscaler to automatically adjust
385
- # the size of the cluster and create/delete
386
- # node pools based on the current needs.
432
+ # ClusterAutoscaling contains global, per-cluster information required by
433
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
434
+ # delete node pools based on the current needs.
387
435
  # Corresponds to the JSON property `autoscaling`
388
436
  # @return [Google::Apis::ContainerV1::ClusterAutoscaling]
389
437
  attr_accessor :autoscaling
@@ -393,10 +441,10 @@ module Google
393
441
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
394
442
  attr_accessor :binary_authorization
395
443
 
396
- # The IP address range of the container pods in this cluster, in
397
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
398
- # notation (e.g. `10.96.0.0/14`). Leave blank to have
399
- # one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
444
+ # The IP address range of the container pods in this cluster, in [CIDR](http://
445
+ # en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
446
+ # 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
447
+ # in `10.0.0.0/8`.
400
448
  # Corresponds to the JSON property `clusterIpv4Cidr`
401
449
  # @return [String]
402
450
  attr_accessor :cluster_ipv4_cidr
@@ -406,8 +454,8 @@ module Google
406
454
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
407
455
  attr_accessor :conditions
408
456
 
409
- # [Output only] The time the cluster was created, in
410
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
457
+ # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
458
+ # org/rfc/rfc3339.txt) text format.
411
459
  # Corresponds to the JSON property `createTime`
412
460
  # @return [String]
413
461
  attr_accessor :create_time
@@ -417,15 +465,14 @@ module Google
417
465
  # @return [String]
418
466
  attr_accessor :current_master_version
419
467
 
420
- # [Output only] The number of nodes currently in the cluster. Deprecated.
421
- # Call Kubernetes API directly to retrieve node information.
468
+ # [Output only] The number of nodes currently in the cluster. Deprecated. Call
469
+ # Kubernetes API directly to retrieve node information.
422
470
  # Corresponds to the JSON property `currentNodeCount`
423
471
  # @return [Fixnum]
424
472
  attr_accessor :current_node_count
425
473
 
426
- # [Output only] Deprecated, use
427
- # [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/
428
- # rest/v1/projects.locations.clusters.nodePools)
474
+ # [Output only] Deprecated, use [NodePools.version](https://cloud.google.com/
475
+ # kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
429
476
  # instead. The current version of the node software components. If they are
430
477
  # currently at multiple versions because they're in the process of being
431
478
  # upgraded, this reflects the minimum version of all nodes.
@@ -448,12 +495,11 @@ module Google
448
495
  # @return [String]
449
496
  attr_accessor :description
450
497
 
451
- # Kubernetes alpha features are enabled on this cluster. This includes alpha
452
- # API groups (e.g. v1alpha1) and features that may not be production ready in
453
- # the kubernetes version of the master and nodes.
454
- # The cluster has no SLA for uptime and master/node upgrades are disabled.
455
- # Alpha enabled clusters are automatically deleted thirty days after
456
- # creation.
498
+ # Kubernetes alpha features are enabled on this cluster. This includes alpha API
499
+ # groups (e.g. v1alpha1) and features that may not be production ready in the
500
+ # kubernetes version of the master and nodes. The cluster has no SLA for uptime
501
+ # and master/node upgrades are disabled. Alpha enabled clusters are
502
+ # automatically deleted thirty days after creation.
457
503
  # Corresponds to the JSON property `enableKubernetesAlpha`
458
504
  # @return [Boolean]
459
505
  attr_accessor :enable_kubernetes_alpha
@@ -465,45 +511,41 @@ module Google
465
511
  attr_accessor :enable_tpu
466
512
  alias_method :enable_tpu?, :enable_tpu
467
513
 
468
- # [Output only] The IP address of this cluster's master endpoint.
469
- # The endpoint can be accessed from the internet at
470
- # `https://username:password@endpoint/`.
471
- # See the `masterAuth` property of this resource for username and
472
- # password information.
514
+ # [Output only] The IP address of this cluster's master endpoint. The endpoint
515
+ # can be accessed from the internet at `https://username:password@endpoint/`.
516
+ # See the `masterAuth` property of this resource for username and password
517
+ # information.
473
518
  # Corresponds to the JSON property `endpoint`
474
519
  # @return [String]
475
520
  attr_accessor :endpoint
476
521
 
477
- # [Output only] The time the cluster will be automatically
478
- # deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
522
+ # [Output only] The time the cluster will be automatically deleted in [RFC3339](
523
+ # https://www.ietf.org/rfc/rfc3339.txt) text format.
479
524
  # Corresponds to the JSON property `expireTime`
480
525
  # @return [String]
481
526
  attr_accessor :expire_time
482
527
 
483
- # The initial Kubernetes version for this cluster. Valid versions are those
484
- # found in validMasterVersions returned by getServerConfig. The version can
485
- # be upgraded over time; such upgrades are reflected in
486
- # currentMasterVersion and currentNodeVersion.
487
- # Users may specify either explicit versions offered by
488
- # Kubernetes Engine or version aliases, which have the following behavior:
489
- # - "latest": picks the highest valid Kubernetes version
490
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
491
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
492
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
493
- # - "","-": picks the default Kubernetes version
528
+ # The initial Kubernetes version for this cluster. Valid versions are those
529
+ # found in validMasterVersions returned by getServerConfig. The version can be
530
+ # upgraded over time; such upgrades are reflected in currentMasterVersion and
531
+ # currentNodeVersion. Users may specify either explicit versions offered by
532
+ # Kubernetes Engine or version aliases, which have the following behavior: - "
533
+ # latest": picks the highest valid Kubernetes version - "1.X": picks the highest
534
+ # valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid
535
+ # gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes
536
+ # version - "","-": picks the default Kubernetes version
494
537
  # Corresponds to the JSON property `initialClusterVersion`
495
538
  # @return [String]
496
539
  attr_accessor :initial_cluster_version
497
540
 
498
541
  # The number of nodes to create in this cluster. You must ensure that your
499
- # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
500
- # is sufficient for this number of instances. You must also have available
501
- # firewall and routes quota.
502
- # For requests, this field should only be used in lieu of a
503
- # "node_pool" object, since this configuration (along with the
504
- # "node_config") will be used to create a "NodePool" object with an
505
- # auto-generated name. Do not use this and a node_pool at the same time.
506
- # This field is deprecated, use node_pool.initial_node_count instead.
542
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
543
+ # sufficient for this number of instances. You must also have available firewall
544
+ # and routes quota. For requests, this field should only be used in lieu of a "
545
+ # node_pool" object, since this configuration (along with the "node_config")
546
+ # will be used to create a "NodePool" object with an auto-generated name. Do not
547
+ # use this and a node_pool at the same time. This field is deprecated, use
548
+ # node_pool.initial_node_count instead.
507
549
  # Corresponds to the JSON property `initialNodeCount`
508
550
  # @return [Fixnum]
509
551
  attr_accessor :initial_node_count
@@ -523,39 +565,32 @@ module Google
523
565
  # @return [String]
524
566
  attr_accessor :label_fingerprint
525
567
 
526
- # Configuration for the legacy Attribute Based Access Control authorization
527
- # mode.
568
+ # Configuration for the legacy Attribute Based Access Control authorization mode.
528
569
  # Corresponds to the JSON property `legacyAbac`
529
570
  # @return [Google::Apis::ContainerV1::LegacyAbac]
530
571
  attr_accessor :legacy_abac
531
572
 
532
- # [Output only] The name of the Google Compute Engine
533
- # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
534
- # available)
535
- # or
536
- # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
537
- # available)
573
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
574
+ # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
575
+ # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
538
576
  # in which the cluster resides.
539
577
  # Corresponds to the JSON property `location`
540
578
  # @return [String]
541
579
  attr_accessor :location
542
580
 
543
- # The list of Google Compute Engine
544
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
545
- # cluster's nodes should be located.
581
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
582
+ # docs/zones#available) in which the cluster's nodes should be located.
546
583
  # Corresponds to the JSON property `locations`
547
584
  # @return [Array<String>]
548
585
  attr_accessor :locations
549
586
 
550
- # The logging service the cluster should use to write logs.
551
- # Currently available options:
552
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
553
- # service with a Kubernetes-native resource model
554
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
555
- # available as of GKE 1.15).
556
- # * `none` - no logs will be exported from the cluster.
557
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
558
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
587
+ # The logging service the cluster should use to write logs. Currently available
588
+ # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
589
+ # with a Kubernetes-native resource model * `logging.googleapis.com` - The
590
+ # legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
591
+ # no logs will be exported from the cluster. If left as an empty string,`logging.
592
+ # googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
593
+ # com` for earlier versions.
559
594
  # Corresponds to the JSON property `loggingService`
560
595
  # @return [String]
561
596
  attr_accessor :logging_service
@@ -566,8 +601,7 @@ module Google
566
601
  attr_accessor :maintenance_policy
567
602
 
568
603
  # The authentication information for accessing the master endpoint.
569
- # Authentication can be done using HTTP basic auth or using client
570
- # certificates.
604
+ # Authentication can be done using HTTP basic auth or using client certificates.
571
605
  # Corresponds to the JSON property `masterAuth`
572
606
  # @return [Google::Apis::ContainerV1::MasterAuth]
573
607
  attr_accessor :master_auth
@@ -580,34 +614,28 @@ module Google
580
614
  # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
581
615
  attr_accessor :master_authorized_networks_config
582
616
 
583
- # The monitoring service the cluster should use to write metrics.
584
- # Currently available options:
585
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
586
- # service with a Kubernetes-native resource model
587
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
588
- # longer available as of GKE 1.15).
589
- # * `none` - No metrics will be exported from the cluster.
590
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
591
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
617
+ # The monitoring service the cluster should use to write metrics. Currently
618
+ # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
619
+ # Monitoring service with a Kubernetes-native resource model * `monitoring.
620
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
621
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
622
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
623
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
592
624
  # Corresponds to the JSON property `monitoringService`
593
625
  # @return [String]
594
626
  attr_accessor :monitoring_service
595
627
 
596
- # The name of this cluster. The name must be unique within this project
597
- # and location (e.g. zone or region), and can be up to 40 characters with
598
- # the following restrictions:
599
- # * Lowercase letters, numbers, and hyphens only.
600
- # * Must start with a letter.
601
- # * Must end with a number or a letter.
628
+ # The name of this cluster. The name must be unique within this project and
629
+ # location (e.g. zone or region), and can be up to 40 characters with the
630
+ # following restrictions: * Lowercase letters, numbers, and hyphens only. * Must
631
+ # start with a letter. * Must end with a number or a letter.
602
632
  # Corresponds to the JSON property `name`
603
633
  # @return [String]
604
634
  attr_accessor :name
605
635
 
606
- # The name of the Google Compute Engine
607
- # [network](https://cloud.google.com/compute/docs/networks-and-firewalls#
608
- # networks)
609
- # to which the cluster is connected. If left unspecified, the `default`
610
- # network will be used.
636
+ # The name of the Google Compute Engine [network](https://cloud.google.com/
637
+ # compute/docs/networks-and-firewalls#networks) to which the cluster is
638
+ # connected. If left unspecified, the `default` network will be used.
611
639
  # Corresponds to the JSON property `network`
612
640
  # @return [String]
613
641
  attr_accessor :network
@@ -617,8 +645,8 @@ module Google
617
645
  # @return [Google::Apis::ContainerV1::NetworkConfig]
618
646
  attr_accessor :network_config
619
647
 
620
- # Configuration options for the NetworkPolicy feature.
621
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
648
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
649
+ # docs/concepts/services-networking/networkpolicies/
622
650
  # Corresponds to the JSON property `networkPolicy`
623
651
  # @return [Google::Apis::ContainerV1::NetworkPolicy]
624
652
  attr_accessor :network_policy
@@ -629,16 +657,14 @@ module Google
629
657
  attr_accessor :node_config
630
658
 
631
659
  # [Output only] The size of the address space on each node for hosting
632
- # containers. This is provisioned from within the `container_ipv4_cidr`
633
- # range. This field will only be set when cluster is in route-based network
634
- # mode.
660
+ # containers. This is provisioned from within the `container_ipv4_cidr` range.
661
+ # This field will only be set when cluster is in route-based network mode.
635
662
  # Corresponds to the JSON property `nodeIpv4CidrSize`
636
663
  # @return [Fixnum]
637
664
  attr_accessor :node_ipv4_cidr_size
638
665
 
639
- # The node pools associated with this cluster.
640
- # This field should not be set if "node_config" or "initial_node_count" are
641
- # specified.
666
+ # The node pools associated with this cluster. This field should not be set if "
667
+ # node_config" or "initial_node_count" are specified.
642
668
  # Corresponds to the JSON property `nodePools`
643
669
  # @return [Array<Google::Apis::ContainerV1::NodePool>]
644
670
  attr_accessor :node_pools
@@ -648,17 +674,16 @@ module Google
648
674
  # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
649
675
  attr_accessor :private_cluster_config
650
676
 
651
- # ReleaseChannel indicates which release channel a cluster is
652
- # subscribed to. Release channels are arranged in order of risk.
653
- # When a cluster is subscribed to a release channel, Google maintains
654
- # both the master version and the node version. Node auto-upgrade
655
- # defaults to true and cannot be disabled.
677
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
678
+ # Release channels are arranged in order of risk. When a cluster is subscribed
679
+ # to a release channel, Google maintains both the master version and the node
680
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
656
681
  # Corresponds to the JSON property `releaseChannel`
657
682
  # @return [Google::Apis::ContainerV1::ReleaseChannel]
658
683
  attr_accessor :release_channel
659
684
 
660
- # The resource labels for the cluster to use to annotate any related
661
- # Google Compute Engine resources.
685
+ # The resource labels for the cluster to use to annotate any related Google
686
+ # Compute Engine resources.
662
687
  # Corresponds to the JSON property `resourceLabels`
663
688
  # @return [Hash<String,String>]
664
689
  attr_accessor :resource_labels
@@ -673,11 +698,10 @@ module Google
673
698
  # @return [String]
674
699
  attr_accessor :self_link
675
700
 
676
- # [Output only] The IP address range of the Kubernetes services in
677
- # this cluster, in
678
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
679
- # notation (e.g. `1.2.3.4/29`). Service addresses are
680
- # typically put in the last `/16` from the container CIDR.
701
+ # [Output only] The IP address range of the Kubernetes services in this cluster,
702
+ # in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
703
+ # notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
704
+ # /16` from the container CIDR.
681
705
  # Corresponds to the JSON property `servicesIpv4Cidr`
682
706
  # @return [String]
683
707
  attr_accessor :services_ipv4_cidr
@@ -692,42 +716,40 @@ module Google
692
716
  # @return [String]
693
717
  attr_accessor :status
694
718
 
695
- # [Output only] Additional information about the current status of this
696
- # cluster, if available.
719
+ # [Output only] Additional information about the current status of this cluster,
720
+ # if available.
697
721
  # Corresponds to the JSON property `statusMessage`
698
722
  # @return [String]
699
723
  attr_accessor :status_message
700
724
 
701
- # The name of the Google Compute Engine
702
- # [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
703
- # the cluster is connected.
725
+ # The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
726
+ # compute/docs/subnetworks) to which the cluster is connected.
704
727
  # Corresponds to the JSON property `subnetwork`
705
728
  # @return [String]
706
729
  attr_accessor :subnetwork
707
730
 
708
- # [Output only] The IP address range of the Cloud TPUs in this cluster, in
709
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
710
- # notation (e.g. `1.2.3.4/29`).
731
+ # [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR]
732
+ # (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
733
+ # 1.2.3.4/29`).
711
734
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
712
735
  # @return [String]
713
736
  attr_accessor :tpu_ipv4_cidr_block
714
737
 
715
- # VerticalPodAutoscaling contains global, per-cluster information
716
- # required by Vertical Pod Autoscaler to automatically adjust
717
- # the resources of pods controlled by it.
738
+ # VerticalPodAutoscaling contains global, per-cluster information required by
739
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
740
+ # controlled by it.
718
741
  # Corresponds to the JSON property `verticalPodAutoscaling`
719
742
  # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
720
743
  attr_accessor :vertical_pod_autoscaling
721
744
 
722
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
723
- # policies.
745
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
724
746
  # Corresponds to the JSON property `workloadIdentityConfig`
725
747
  # @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
726
748
  attr_accessor :workload_identity_config
727
749
 
728
- # [Output only] The name of the Google Compute Engine
729
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
730
- # cluster resides. This field is deprecated, use location instead.
750
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
751
+ # google.com/compute/docs/zones#available) in which the cluster resides. This
752
+ # field is deprecated, use location instead.
731
753
  # Corresponds to the JSON property `zone`
732
754
  # @return [String]
733
755
  attr_accessor :zone
@@ -792,22 +814,20 @@ module Google
792
814
  end
793
815
  end
794
816
 
795
- # ClusterAutoscaling contains global, per-cluster information
796
- # required by Cluster Autoscaler to automatically adjust
797
- # the size of the cluster and create/delete
798
- # node pools based on the current needs.
817
+ # ClusterAutoscaling contains global, per-cluster information required by
818
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
819
+ # delete node pools based on the current needs.
799
820
  class ClusterAutoscaling
800
821
  include Google::Apis::Core::Hashable
801
822
 
802
- # The list of Google Compute Engine
803
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
804
- # NodePool's nodes can be created by NAP.
823
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
824
+ # docs/zones#available) in which the NodePool's nodes can be created by NAP.
805
825
  # Corresponds to the JSON property `autoprovisioningLocations`
806
826
  # @return [Array<String>]
807
827
  attr_accessor :autoprovisioning_locations
808
828
 
809
- # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
810
- # by NAP.
829
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
830
+ # NAP.
811
831
  # Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
812
832
  # @return [Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults]
813
833
  attr_accessor :autoprovisioning_node_pool_defaults
@@ -818,8 +838,8 @@ module Google
818
838
  attr_accessor :enable_node_autoprovisioning
819
839
  alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
820
840
 
821
- # Contains global constraints regarding minimum and maximum
822
- # amount of resources in the cluster.
841
+ # Contains global constraints regarding minimum and maximum amount of resources
842
+ # in the cluster.
823
843
  # Corresponds to the JSON property `resourceLimits`
824
844
  # @return [Array<Google::Apis::ContainerV1::ResourceLimit>]
825
845
  attr_accessor :resource_limits
@@ -837,14 +857,13 @@ module Google
837
857
  end
838
858
  end
839
859
 
840
- # ClusterUpdate describes an update to the cluster. Exactly one update can
841
- # be applied to a cluster with each request, so at most one field can be
842
- # provided.
860
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
861
+ # applied to a cluster with each request, so at most one field can be provided.
843
862
  class ClusterUpdate
844
863
  include Google::Apis::Core::Hashable
845
864
 
846
- # Configuration for the addons that can be automatically spun up in the
847
- # cluster, enabling additional functionality.
865
+ # Configuration for the addons that can be automatically spun up in the cluster,
866
+ # enabling additional functionality.
848
867
  # Corresponds to the JSON property `desiredAddonsConfig`
849
868
  # @return [Google::Apis::ContainerV1::AddonsConfig]
850
869
  attr_accessor :desired_addons_config
@@ -854,10 +873,9 @@ module Google
854
873
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
855
874
  attr_accessor :desired_binary_authorization
856
875
 
857
- # ClusterAutoscaling contains global, per-cluster information
858
- # required by Cluster Autoscaler to automatically adjust
859
- # the size of the cluster and create/delete
860
- # node pools based on the current needs.
876
+ # ClusterAutoscaling contains global, per-cluster information required by
877
+ # Cluster Autoscaler to automatically adjust the size of the cluster and create/
878
+ # delete node pools based on the current needs.
861
879
  # Corresponds to the JSON property `desiredClusterAutoscaling`
862
880
  # @return [Google::Apis::ContainerV1::ClusterAutoscaling]
863
881
  attr_accessor :desired_cluster_autoscaling
@@ -867,8 +885,14 @@ module Google
867
885
  # @return [Google::Apis::ContainerV1::DatabaseEncryption]
868
886
  attr_accessor :desired_database_encryption
869
887
 
870
- # The desired image type for the node pool.
871
- # NOTE: Set the "desired_node_pool" field as well.
888
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
889
+ # disabled on the cluster.
890
+ # Corresponds to the JSON property `desiredDefaultSnatStatus`
891
+ # @return [Google::Apis::ContainerV1::DefaultSnatStatus]
892
+ attr_accessor :desired_default_snat_status
893
+
894
+ # The desired image type for the node pool. NOTE: Set the "desired_node_pool"
895
+ # field as well.
872
896
  # Corresponds to the JSON property `desiredImageType`
873
897
  # @return [String]
874
898
  attr_accessor :desired_image_type
@@ -879,25 +903,22 @@ module Google
879
903
  # @return [Google::Apis::ContainerV1::IntraNodeVisibilityConfig]
880
904
  attr_accessor :desired_intra_node_visibility_config
881
905
 
882
- # The desired list of Google Compute Engine
883
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
884
- # cluster's nodes should be located. Changing the locations a cluster is in
885
- # will result in nodes being either created or removed from the cluster,
886
- # depending on whether locations are being added or removed.
887
- # This list must always include the cluster's primary zone.
906
+ # The desired list of Google Compute Engine [zones](https://cloud.google.com/
907
+ # compute/docs/zones#available) in which the cluster's nodes should be located.
908
+ # Changing the locations a cluster is in will result in nodes being either
909
+ # created or removed from the cluster, depending on whether locations are being
910
+ # added or removed. This list must always include the cluster's primary zone.
888
911
  # Corresponds to the JSON property `desiredLocations`
889
912
  # @return [Array<String>]
890
913
  attr_accessor :desired_locations
891
914
 
892
- # The logging service the cluster should use to write logs.
893
- # Currently available options:
894
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
895
- # service with a Kubernetes-native resource model
896
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
897
- # available as of GKE 1.15).
898
- # * `none` - no logs will be exported from the cluster.
899
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
900
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
915
+ # The logging service the cluster should use to write logs. Currently available
916
+ # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
917
+ # with a Kubernetes-native resource model * `logging.googleapis.com` - The
918
+ # legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` -
919
+ # no logs will be exported from the cluster. If left as an empty string,`logging.
920
+ # googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.
921
+ # com` for earlier versions.
901
922
  # Corresponds to the JSON property `desiredLoggingService`
902
923
  # @return [String]
903
924
  attr_accessor :desired_logging_service
@@ -910,27 +931,24 @@ module Google
910
931
  # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
911
932
  attr_accessor :desired_master_authorized_networks_config
912
933
 
913
- # The Kubernetes version to change the master to.
914
- # Users may specify either explicit versions offered by
915
- # Kubernetes Engine or version aliases, which have the following behavior:
916
- # - "latest": picks the highest valid Kubernetes version
917
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
918
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
919
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
920
- # - "-": picks the default Kubernetes version
934
+ # The Kubernetes version to change the master to. Users may specify either
935
+ # explicit versions offered by Kubernetes Engine or version aliases, which have
936
+ # the following behavior: - "latest": picks the highest valid Kubernetes version
937
+ # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y"
938
+ # : picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N":
939
+ # picks an explicit Kubernetes version - "-": picks the default Kubernetes
940
+ # version
921
941
  # Corresponds to the JSON property `desiredMasterVersion`
922
942
  # @return [String]
923
943
  attr_accessor :desired_master_version
924
944
 
925
- # The monitoring service the cluster should use to write metrics.
926
- # Currently available options:
927
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
928
- # service with a Kubernetes-native resource model
929
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
930
- # longer available as of GKE 1.15).
931
- # * `none` - No metrics will be exported from the cluster.
932
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
933
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
945
+ # The monitoring service the cluster should use to write metrics. Currently
946
+ # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
947
+ # Monitoring service with a Kubernetes-native resource model * `monitoring.
948
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
949
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
950
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
951
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
934
952
  # Corresponds to the JSON property `desiredMonitoringService`
935
953
  # @return [String]
936
954
  attr_accessor :desired_monitoring_service
@@ -941,32 +959,33 @@ module Google
941
959
  # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
942
960
  attr_accessor :desired_node_pool_autoscaling
943
961
 
944
- # The node pool to be upgraded. This field is mandatory if
945
- # "desired_node_version", "desired_image_family" or
946
- # "desired_node_pool_autoscaling" is specified and there is more than one
947
- # node pool on the cluster.
962
+ # The node pool to be upgraded. This field is mandatory if "desired_node_version"
963
+ # , "desired_image_family" or "desired_node_pool_autoscaling" is specified and
964
+ # there is more than one node pool on the cluster.
948
965
  # Corresponds to the JSON property `desiredNodePoolId`
949
966
  # @return [String]
950
967
  attr_accessor :desired_node_pool_id
951
968
 
952
- # The Kubernetes version to change the nodes to (typically an
953
- # upgrade).
954
- # Users may specify either explicit versions offered by
955
- # Kubernetes Engine or version aliases, which have the following behavior:
956
- # - "latest": picks the highest valid Kubernetes version
957
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
958
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
959
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
960
- # - "-": picks the Kubernetes master version
969
+ # The Kubernetes version to change the nodes to (typically an upgrade). Users
970
+ # may specify either explicit versions offered by Kubernetes Engine or version
971
+ # aliases, which have the following behavior: - "latest": picks the highest
972
+ # valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in
973
+ # the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y
974
+ # version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the
975
+ # Kubernetes master version
961
976
  # Corresponds to the JSON property `desiredNodeVersion`
962
977
  # @return [String]
963
978
  attr_accessor :desired_node_version
964
979
 
965
- # ReleaseChannel indicates which release channel a cluster is
966
- # subscribed to. Release channels are arranged in order of risk.
967
- # When a cluster is subscribed to a release channel, Google maintains
968
- # both the master version and the node version. Node auto-upgrade
969
- # defaults to true and cannot be disabled.
980
+ # Configuration options for private clusters.
981
+ # Corresponds to the JSON property `desiredPrivateClusterConfig`
982
+ # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
983
+ attr_accessor :desired_private_cluster_config
984
+
985
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
986
+ # Release channels are arranged in order of risk. When a cluster is subscribed
987
+ # to a release channel, Google maintains both the master version and the node
988
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
970
989
  # Corresponds to the JSON property `desiredReleaseChannel`
971
990
  # @return [Google::Apis::ContainerV1::ReleaseChannel]
972
991
  attr_accessor :desired_release_channel
@@ -981,15 +1000,14 @@ module Google
981
1000
  # @return [Google::Apis::ContainerV1::ShieldedNodes]
982
1001
  attr_accessor :desired_shielded_nodes
983
1002
 
984
- # VerticalPodAutoscaling contains global, per-cluster information
985
- # required by Vertical Pod Autoscaler to automatically adjust
986
- # the resources of pods controlled by it.
1003
+ # VerticalPodAutoscaling contains global, per-cluster information required by
1004
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
1005
+ # controlled by it.
987
1006
  # Corresponds to the JSON property `desiredVerticalPodAutoscaling`
988
1007
  # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
989
1008
  attr_accessor :desired_vertical_pod_autoscaling
990
1009
 
991
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
992
- # policies.
1010
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
993
1011
  # Corresponds to the JSON property `desiredWorkloadIdentityConfig`
994
1012
  # @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
995
1013
  attr_accessor :desired_workload_identity_config
@@ -1004,6 +1022,7 @@ module Google
1004
1022
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1005
1023
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1006
1024
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
1025
+ @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1007
1026
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1008
1027
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1009
1028
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
@@ -1014,6 +1033,7 @@ module Google
1014
1033
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1015
1034
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1016
1035
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
1036
+ @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
1017
1037
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1018
1038
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1019
1039
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
@@ -1026,8 +1046,8 @@ module Google
1026
1046
  class CompleteIpRotationRequest
1027
1047
  include Google::Apis::Core::Hashable
1028
1048
 
1029
- # Deprecated. The name of the cluster.
1030
- # This field has been deprecated and replaced by the name field.
1049
+ # Deprecated. The name of the cluster. This field has been deprecated and
1050
+ # replaced by the name field.
1031
1051
  # Corresponds to the JSON property `clusterId`
1032
1052
  # @return [String]
1033
1053
  attr_accessor :cluster_id
@@ -1038,17 +1058,16 @@ module Google
1038
1058
  # @return [String]
1039
1059
  attr_accessor :name
1040
1060
 
1041
- # Deprecated. The Google Developers Console [project ID or project
1042
- # number](https://developers.google.com/console/help/new/#projectnumber).
1043
- # This field has been deprecated and replaced by the name field.
1061
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1062
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
1063
+ # deprecated and replaced by the name field.
1044
1064
  # Corresponds to the JSON property `projectId`
1045
1065
  # @return [String]
1046
1066
  attr_accessor :project_id
1047
1067
 
1048
- # Deprecated. The name of the Google Compute Engine
1049
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1050
- # cluster resides. This field has been deprecated and replaced by the name
1051
- # field.
1068
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1069
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1070
+ # been deprecated and replaced by the name field.
1052
1071
  # Corresponds to the JSON property `zone`
1053
1072
  # @return [String]
1054
1073
  attr_accessor :zone
@@ -1066,13 +1085,32 @@ module Google
1066
1085
  end
1067
1086
  end
1068
1087
 
1088
+ # Configuration options for the Config Connector add-on.
1089
+ class ConfigConnectorConfig
1090
+ include Google::Apis::Core::Hashable
1091
+
1092
+ # Whether Cloud Connector is enabled for this cluster.
1093
+ # Corresponds to the JSON property `enabled`
1094
+ # @return [Boolean]
1095
+ attr_accessor :enabled
1096
+ alias_method :enabled?, :enabled
1097
+
1098
+ def initialize(**args)
1099
+ update!(**args)
1100
+ end
1101
+
1102
+ # Update properties of this object
1103
+ def update!(**args)
1104
+ @enabled = args[:enabled] if args.key?(:enabled)
1105
+ end
1106
+ end
1107
+
1069
1108
  # Parameters for controlling consumption metering.
1070
1109
  class ConsumptionMeteringConfig
1071
1110
  include Google::Apis::Core::Hashable
1072
1111
 
1073
- # Whether to enable consumption metering for this cluster. If enabled, a
1074
- # second BigQuery table will be created to hold resource consumption
1075
- # records.
1112
+ # Whether to enable consumption metering for this cluster. If enabled, a second
1113
+ # BigQuery table will be created to hold resource consumption records.
1076
1114
  # Corresponds to the JSON property `enabled`
1077
1115
  # @return [Boolean]
1078
1116
  attr_accessor :enabled
@@ -1097,23 +1135,22 @@ module Google
1097
1135
  # @return [Google::Apis::ContainerV1::Cluster]
1098
1136
  attr_accessor :cluster
1099
1137
 
1100
- # The parent (project and location) where the cluster will be created.
1101
- # Specified in the format `projects/*/locations/*`.
1138
+ # The parent (project and location) where the cluster will be created. Specified
1139
+ # in the format `projects/*/locations/*`.
1102
1140
  # Corresponds to the JSON property `parent`
1103
1141
  # @return [String]
1104
1142
  attr_accessor :parent
1105
1143
 
1106
- # Deprecated. The Google Developers Console [project ID or project
1107
- # number](https://support.google.com/cloud/answer/6158840).
1108
- # This field has been deprecated and replaced by the parent field.
1144
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1145
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
1146
+ # replaced by the parent field.
1109
1147
  # Corresponds to the JSON property `projectId`
1110
1148
  # @return [String]
1111
1149
  attr_accessor :project_id
1112
1150
 
1113
- # Deprecated. The name of the Google Compute Engine
1114
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1115
- # cluster resides. This field has been deprecated and replaced by the parent
1116
- # field.
1151
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1152
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1153
+ # been deprecated and replaced by the parent field.
1117
1154
  # Corresponds to the JSON property `zone`
1118
1155
  # @return [String]
1119
1156
  attr_accessor :zone
@@ -1135,40 +1172,38 @@ module Google
1135
1172
  class CreateNodePoolRequest
1136
1173
  include Google::Apis::Core::Hashable
1137
1174
 
1138
- # Deprecated. The name of the cluster.
1139
- # This field has been deprecated and replaced by the parent field.
1175
+ # Deprecated. The name of the cluster. This field has been deprecated and
1176
+ # replaced by the parent field.
1140
1177
  # Corresponds to the JSON property `clusterId`
1141
1178
  # @return [String]
1142
1179
  attr_accessor :cluster_id
1143
1180
 
1144
- # NodePool contains the name and configuration for a cluster's node pool.
1145
- # Node pools are a set of nodes (i.e. VM's), with a common configuration and
1146
- # specification, under the control of the cluster master. They may have a set
1147
- # of Kubernetes labels applied to them, which may be used to reference them
1148
- # during pod scheduling. They may also be resized up or down, to accommodate
1149
- # the workload.
1181
+ # NodePool contains the name and configuration for a cluster's node pool. Node
1182
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
1183
+ # specification, under the control of the cluster master. They may have a set of
1184
+ # Kubernetes labels applied to them, which may be used to reference them during
1185
+ # pod scheduling. They may also be resized up or down, to accommodate the
1186
+ # workload.
1150
1187
  # Corresponds to the JSON property `nodePool`
1151
1188
  # @return [Google::Apis::ContainerV1::NodePool]
1152
1189
  attr_accessor :node_pool
1153
1190
 
1154
- # The parent (project, location, cluster id) where the node pool will be
1155
- # created. Specified in the format
1156
- # `projects/*/locations/*/clusters/*`.
1191
+ # The parent (project, location, cluster id) where the node pool will be created.
1192
+ # Specified in the format `projects/*/locations/*/clusters/*`.
1157
1193
  # Corresponds to the JSON property `parent`
1158
1194
  # @return [String]
1159
1195
  attr_accessor :parent
1160
1196
 
1161
- # Deprecated. The Google Developers Console [project ID or project
1162
- # number](https://developers.google.com/console/help/new/#projectnumber).
1163
- # This field has been deprecated and replaced by the parent field.
1197
+ # Deprecated. The Google Developers Console [project ID or project number](https:
1198
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
1199
+ # deprecated and replaced by the parent field.
1164
1200
  # Corresponds to the JSON property `projectId`
1165
1201
  # @return [String]
1166
1202
  attr_accessor :project_id
1167
1203
 
1168
- # Deprecated. The name of the Google Compute Engine
1169
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1170
- # cluster resides. This field has been deprecated and replaced by the parent
1171
- # field.
1204
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
1205
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
1206
+ # been deprecated and replaced by the parent field.
1172
1207
  # Corresponds to the JSON property `zone`
1173
1208
  # @return [String]
1174
1209
  attr_accessor :zone
@@ -1191,17 +1226,16 @@ module Google
1191
1226
  class DailyMaintenanceWindow
1192
1227
  include Google::Apis::Core::Hashable
1193
1228
 
1194
- # [Output only] Duration of the time window, automatically chosen to be
1195
- # smallest possible in the given scenario.
1196
- # Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
1197
- # format "PTnHnMnS".
1229
+ # [Output only] Duration of the time window, automatically chosen to be smallest
1230
+ # possible in the given scenario. Duration will be in [RFC3339](https://www.ietf.
1231
+ # org/rfc/rfc3339.txt) format "PTnHnMnS".
1198
1232
  # Corresponds to the JSON property `duration`
1199
1233
  # @return [String]
1200
1234
  attr_accessor :duration
1201
1235
 
1202
- # Time within the maintenance window to start the maintenance operations.
1203
- # Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
1204
- # format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
1236
+ # Time within the maintenance window to start the maintenance operations. Time
1237
+ # format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "HH:
1238
+ # MM", where HH : [00-23] and MM : [00-59] GMT.
1205
1239
  # Corresponds to the JSON property `startTime`
1206
1240
  # @return [String]
1207
1241
  attr_accessor :start_time
@@ -1221,8 +1255,8 @@ module Google
1221
1255
  class DatabaseEncryption
1222
1256
  include Google::Apis::Core::Hashable
1223
1257
 
1224
- # Name of CloudKMS key to use for the encryption of secrets in etcd.
1225
- # Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1258
+ # Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
1259
+ # projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1226
1260
  # Corresponds to the JSON property `keyName`
1227
1261
  # @return [String]
1228
1262
  attr_accessor :key_name
@@ -1243,6 +1277,27 @@ module Google
1243
1277
  end
1244
1278
  end
1245
1279
 
1280
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
1281
+ # disabled on the cluster.
1282
+ class DefaultSnatStatus
1283
+ include Google::Apis::Core::Hashable
1284
+
1285
+ # Disables cluster default sNAT rules.
1286
+ # Corresponds to the JSON property `disabled`
1287
+ # @return [Boolean]
1288
+ attr_accessor :disabled
1289
+ alias_method :disabled?, :disabled
1290
+
1291
+ def initialize(**args)
1292
+ update!(**args)
1293
+ end
1294
+
1295
+ # Update properties of this object
1296
+ def update!(**args)
1297
+ @disabled = args[:disabled] if args.key?(:disabled)
1298
+ end
1299
+ end
1300
+
1246
1301
  # Configuration for NodeLocal DNSCache
1247
1302
  class DnsCacheConfig
1248
1303
  include Google::Apis::Core::Hashable
@@ -1263,13 +1318,11 @@ module Google
1263
1318
  end
1264
1319
  end
1265
1320
 
1266
- # A generic empty message that you can re-use to avoid defining duplicated
1267
- # empty messages in your APIs. A typical example is to use it as the request
1268
- # or the response type of an API method. For instance:
1269
- # service Foo `
1270
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1271
- # `
1272
- # The JSON representation for `Empty` is empty JSON object ````.
1321
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1322
+ # messages in your APIs. A typical example is to use it as the request or the
1323
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1324
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1325
+ # `Empty` is empty JSON object ````.
1273
1326
  class Empty
1274
1327
  include Google::Apis::Core::Hashable
1275
1328
 
@@ -1291,8 +1344,7 @@ module Google
1291
1344
  # @return [Google::Apis::ContainerV1::HttpCacheControlResponseHeader]
1292
1345
  attr_accessor :cache_header
1293
1346
 
1294
- # The public component of the keys used by the cluster to sign token
1295
- # requests.
1347
+ # The public component of the keys used by the cluster to sign token requests.
1296
1348
  # Corresponds to the JSON property `keys`
1297
1349
  # @return [Array<Google::Apis::ContainerV1::Jwk>]
1298
1350
  attr_accessor :keys
@@ -1308,8 +1360,8 @@ module Google
1308
1360
  end
1309
1361
  end
1310
1362
 
1311
- # GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
1312
- # See the OpenID Connect Discovery 1.0 specification for details.
1363
+ # GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the
1364
+ # OpenID Connect Discovery 1.0 specification for details.
1313
1365
  class GetOpenIdConfigResponse
1314
1366
  include Google::Apis::Core::Hashable
1315
1367
 
@@ -1371,14 +1423,13 @@ module Google
1371
1423
  end
1372
1424
 
1373
1425
  # Configuration options for the horizontal pod autoscaling feature, which
1374
- # increases or decreases the number of replica pods a replication controller
1375
- # has based on the resource usage of the existing pods.
1426
+ # increases or decreases the number of replica pods a replication controller has
1427
+ # based on the resource usage of the existing pods.
1376
1428
  class HorizontalPodAutoscaling
1377
1429
  include Google::Apis::Core::Hashable
1378
1430
 
1379
- # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
1380
- # When enabled, it ensures that metrics are collected into Stackdriver
1381
- # Monitoring.
1431
+ # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
1432
+ # enabled, it ensures that metrics are collected into Stackdriver Monitoring.
1382
1433
  # Corresponds to the JSON property `disabled`
1383
1434
  # @return [Boolean]
1384
1435
  attr_accessor :disabled
@@ -1425,14 +1476,13 @@ module Google
1425
1476
  end
1426
1477
  end
1427
1478
 
1428
- # Configuration options for the HTTP (L7) load balancing controller addon,
1429
- # which makes it easy to set up HTTP load balancers for services in a cluster.
1479
+ # Configuration options for the HTTP (L7) load balancing controller addon, which
1480
+ # makes it easy to set up HTTP load balancers for services in a cluster.
1430
1481
  class HttpLoadBalancing
1431
1482
  include Google::Apis::Core::Hashable
1432
1483
 
1433
- # Whether the HTTP Load Balancing controller is enabled in the cluster.
1434
- # When enabled, it runs a small pod in the cluster that manages the load
1435
- # balancers.
1484
+ # Whether the HTTP Load Balancing controller is enabled in the cluster. When
1485
+ # enabled, it runs a small pod in the cluster that manages the load balancers.
1436
1486
  # Corresponds to the JSON property `disabled`
1437
1487
  # @return [Boolean]
1438
1488
  attr_accessor :disabled
@@ -1457,33 +1507,28 @@ module Google
1457
1507
  # @return [String]
1458
1508
  attr_accessor :cluster_ipv4_cidr
1459
1509
 
1460
- # The IP address range for the cluster pod IPs. If this field is set, then
1461
- # `cluster.cluster_ipv4_cidr` must be left blank.
1462
- # This field is only applicable when `use_ip_aliases` is true.
1463
- # Set to blank to have a range chosen with the default size.
1464
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1465
- # netmask.
1466
- # Set to a
1467
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1468
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1469
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1470
- # to use.
1510
+ # The IP address range for the cluster pod IPs. If this field is set, then `
1511
+ # cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable
1512
+ # when `use_ip_aliases` is true. Set to blank to have a range chosen with the
1513
+ # default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1514
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1515
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1516
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1517
+ # specific range to use.
1471
1518
  # Corresponds to the JSON property `clusterIpv4CidrBlock`
1472
1519
  # @return [String]
1473
1520
  attr_accessor :cluster_ipv4_cidr_block
1474
1521
 
1475
- # The name of the secondary range to be used for the cluster CIDR
1476
- # block. The secondary range will be used for pod IP
1477
- # addresses. This must be an existing secondary range associated
1478
- # with the cluster subnetwork.
1479
- # This field is only applicable with use_ip_aliases is true and
1480
- # create_subnetwork is false.
1522
+ # The name of the secondary range to be used for the cluster CIDR block. The
1523
+ # secondary range will be used for pod IP addresses. This must be an existing
1524
+ # secondary range associated with the cluster subnetwork. This field is only
1525
+ # applicable with use_ip_aliases is true and create_subnetwork is false.
1481
1526
  # Corresponds to the JSON property `clusterSecondaryRangeName`
1482
1527
  # @return [String]
1483
1528
  attr_accessor :cluster_secondary_range_name
1484
1529
 
1485
- # Whether a new subnetwork will be created automatically for the cluster.
1486
- # This field is only applicable when `use_ip_aliases` is true.
1530
+ # Whether a new subnetwork will be created automatically for the cluster. This
1531
+ # field is only applicable when `use_ip_aliases` is true.
1487
1532
  # Corresponds to the JSON property `createSubnetwork`
1488
1533
  # @return [Boolean]
1489
1534
  attr_accessor :create_subnetwork
@@ -1494,16 +1539,13 @@ module Google
1494
1539
  # @return [String]
1495
1540
  attr_accessor :node_ipv4_cidr
1496
1541
 
1497
- # The IP address range of the instance IPs in this cluster.
1498
- # This is applicable only if `create_subnetwork` is true.
1499
- # Set to blank to have a range chosen with the default size.
1500
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1501
- # netmask.
1502
- # Set to a
1503
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1504
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1505
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1506
- # to use.
1542
+ # The IP address range of the instance IPs in this cluster. This is applicable
1543
+ # only if `create_subnetwork` is true. Set to blank to have a range chosen with
1544
+ # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1545
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1546
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1547
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1548
+ # specific range to use.
1507
1549
  # Corresponds to the JSON property `nodeIpv4CidrBlock`
1508
1550
  # @return [String]
1509
1551
  attr_accessor :node_ipv4_cidr_block
@@ -1514,58 +1556,61 @@ module Google
1514
1556
  attr_accessor :services_ipv4_cidr
1515
1557
 
1516
1558
  # The IP address range of the services IPs in this cluster. If blank, a range
1517
- # will be automatically chosen with the default size.
1518
- # This field is only applicable when `use_ip_aliases` is true.
1519
- # Set to blank to have a range chosen with the default size.
1520
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1521
- # netmask.
1522
- # Set to a
1523
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1524
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1525
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1526
- # to use.
1559
+ # will be automatically chosen with the default size. This field is only
1560
+ # applicable when `use_ip_aliases` is true. Set to blank to have a range chosen
1561
+ # with the default size. Set to /netmask (e.g. `/14`) to have a range chosen
1562
+ # with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/
1563
+ # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
1564
+ # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
1565
+ # to pick a specific range to use.
1527
1566
  # Corresponds to the JSON property `servicesIpv4CidrBlock`
1528
1567
  # @return [String]
1529
1568
  attr_accessor :services_ipv4_cidr_block
1530
1569
 
1531
- # The name of the secondary range to be used as for the services
1532
- # CIDR block. The secondary range will be used for service
1533
- # ClusterIPs. This must be an existing secondary range associated
1534
- # with the cluster subnetwork.
1535
- # This field is only applicable with use_ip_aliases is true and
1536
- # create_subnetwork is false.
1570
+ # The name of the secondary range to be used as for the services CIDR block. The
1571
+ # secondary range will be used for service ClusterIPs. This must be an existing
1572
+ # secondary range associated with the cluster subnetwork. This field is only
1573
+ # applicable with use_ip_aliases is true and create_subnetwork is false.
1537
1574
  # Corresponds to the JSON property `servicesSecondaryRangeName`
1538
1575
  # @return [String]
1539
1576
  attr_accessor :services_secondary_range_name
1540
1577
 
1541
- # A custom subnetwork name to be used if `create_subnetwork` is true. If
1542
- # this field is empty, then an automatic name will be chosen for the new
1543
- # subnetwork.
1578
+ # A custom subnetwork name to be used if `create_subnetwork` is true. If this
1579
+ # field is empty, then an automatic name will be chosen for the new subnetwork.
1544
1580
  # Corresponds to the JSON property `subnetworkName`
1545
1581
  # @return [String]
1546
1582
  attr_accessor :subnetwork_name
1547
1583
 
1548
1584
  # The IP address range of the Cloud TPUs in this cluster. If unspecified, a
1549
- # range will be automatically chosen with the default size.
1550
- # This field is only applicable when `use_ip_aliases` is true.
1551
- # If unspecified, the range will use the default size.
1552
- # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1553
- # netmask.
1554
- # Set to a
1555
- # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1556
- # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1557
- # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1558
- # to use.
1585
+ # range will be automatically chosen with the default size. This field is only
1586
+ # applicable when `use_ip_aliases` is true. If unspecified, the range will use
1587
+ # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
1588
+ # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
1589
+ # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
1590
+ # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
1591
+ # specific range to use.
1559
1592
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
1560
1593
  # @return [String]
1561
1594
  attr_accessor :tpu_ipv4_cidr_block
1562
1595
 
1563
- # Whether alias IPs will be used for pod IPs in the cluster.
1596
+ # Whether alias IPs will be used for pod IPs in the cluster. This is used in
1597
+ # conjunction with use_routes. It cannot be true if use_routes is true. If both
1598
+ # use_ip_aliases and use_routes are false, then the server picks the default IP
1599
+ # allocation mode
1564
1600
  # Corresponds to the JSON property `useIpAliases`
1565
1601
  # @return [Boolean]
1566
1602
  attr_accessor :use_ip_aliases
1567
1603
  alias_method :use_ip_aliases?, :use_ip_aliases
1568
1604
 
1605
+ # Whether routes will be used for pod IPs in the cluster. This is used in
1606
+ # conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true.
1607
+ # If both use_ip_aliases and use_routes are false, then the server picks the
1608
+ # default IP allocation mode
1609
+ # Corresponds to the JSON property `useRoutes`
1610
+ # @return [Boolean]
1611
+ attr_accessor :use_routes
1612
+ alias_method :use_routes?, :use_routes
1613
+
1569
1614
  def initialize(**args)
1570
1615
  update!(**args)
1571
1616
  end
@@ -1584,6 +1629,7 @@ module Google
1584
1629
  @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
1585
1630
  @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
1586
1631
  @use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
1632
+ @use_routes = args[:use_routes] if args.key?(:use_routes)
1587
1633
  end
1588
1634
  end
1589
1635
 
@@ -1695,15 +1741,14 @@ module Google
1695
1741
  end
1696
1742
  end
1697
1743
 
1698
- # Configuration for the legacy Attribute Based Access Control authorization
1699
- # mode.
1744
+ # Configuration for the legacy Attribute Based Access Control authorization mode.
1700
1745
  class LegacyAbac
1701
1746
  include Google::Apis::Core::Hashable
1702
1747
 
1703
1748
  # Whether the ABAC authorizer is enabled for this cluster. When enabled,
1704
- # identities in the system, including service accounts, nodes, and
1705
- # controllers, will have statically granted permissions beyond those
1706
- # provided by the RBAC configuration or IAM.
1749
+ # identities in the system, including service accounts, nodes, and controllers,
1750
+ # will have statically granted permissions beyond those provided by the RBAC
1751
+ # configuration or IAM.
1707
1752
  # Corresponds to the JSON property `enabled`
1708
1753
  # @return [Boolean]
1709
1754
  attr_accessor :enabled
@@ -1723,14 +1768,13 @@ module Google
1723
1768
  class ListClustersResponse
1724
1769
  include Google::Apis::Core::Hashable
1725
1770
 
1726
- # A list of clusters in the project in the specified zone, or
1727
- # across all ones.
1771
+ # A list of clusters in the project in the specified zone, or across all ones.
1728
1772
  # Corresponds to the JSON property `clusters`
1729
1773
  # @return [Array<Google::Apis::ContainerV1::Cluster>]
1730
1774
  attr_accessor :clusters
1731
1775
 
1732
- # If any zones are listed here, the list of clusters returned
1733
- # may be missing those zones.
1776
+ # If any zones are listed here, the list of clusters returned may be missing
1777
+ # those zones.
1734
1778
  # Corresponds to the JSON property `missingZones`
1735
1779
  # @return [Array<String>]
1736
1780
  attr_accessor :missing_zones
@@ -1769,8 +1813,8 @@ module Google
1769
1813
  class ListOperationsResponse
1770
1814
  include Google::Apis::Core::Hashable
1771
1815
 
1772
- # If any zones are listed here, the list of operations returned
1773
- # may be missing the operations from those zones.
1816
+ # If any zones are listed here, the list of operations returned may be missing
1817
+ # the operations from those zones.
1774
1818
  # Corresponds to the JSON property `missingZones`
1775
1819
  # @return [Array<String>]
1776
1820
  attr_accessor :missing_zones
@@ -1791,15 +1835,14 @@ module Google
1791
1835
  end
1792
1836
  end
1793
1837
 
1794
- # ListUsableSubnetworksResponse is the response of
1795
- # ListUsableSubnetworksRequest.
1838
+ # ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
1796
1839
  class ListUsableSubnetworksResponse
1797
1840
  include Google::Apis::Core::Hashable
1798
1841
 
1799
- # This token allows you to get the next page of results for list requests.
1800
- # If the number of results is larger than `page_size`, use the
1801
- # `next_page_token` as a value for the query parameter `page_token` in the
1802
- # next request. The value will become empty when there are no more pages.
1842
+ # This token allows you to get the next page of results for list requests. If
1843
+ # the number of results is larger than `page_size`, use the `next_page_token` as
1844
+ # a value for the query parameter `page_token` in the next request. The value
1845
+ # will become empty when there are no more pages.
1803
1846
  # Corresponds to the JSON property `nextPageToken`
1804
1847
  # @return [String]
1805
1848
  attr_accessor :next_page_token
@@ -1825,10 +1868,10 @@ module Google
1825
1868
  include Google::Apis::Core::Hashable
1826
1869
 
1827
1870
  # A hash identifying the version of this policy, so that updates to fields of
1828
- # the policy won't accidentally undo intermediate changes (and so that users
1829
- # of the API unaware of some fields won't accidentally remove other fields).
1830
- # Make a <code>get()</code> request to the cluster to get the current
1831
- # resource version and include it with requests to set the policy.
1871
+ # the policy won't accidentally undo intermediate changes (and so that users of
1872
+ # the API unaware of some fields won't accidentally remove other fields). Make a
1873
+ # `get()` request to the cluster to get the current resource version and include
1874
+ # it with requests to set the policy.
1832
1875
  # Corresponds to the JSON property `resourceVersion`
1833
1876
  # @return [String]
1834
1877
  attr_accessor :resource_version
@@ -1858,8 +1901,8 @@ module Google
1858
1901
  # @return [Google::Apis::ContainerV1::DailyMaintenanceWindow]
1859
1902
  attr_accessor :daily_maintenance_window
1860
1903
 
1861
- # Exceptions to maintenance window. Non-emergency maintenance should not
1862
- # occur in these windows.
1904
+ # Exceptions to maintenance window. Non-emergency maintenance should not occur
1905
+ # in these windows.
1863
1906
  # Corresponds to the JSON property `maintenanceExclusions`
1864
1907
  # @return [Hash<String,Google::Apis::ContainerV1::TimeWindow>]
1865
1908
  attr_accessor :maintenance_exclusions
@@ -1882,8 +1925,7 @@ module Google
1882
1925
  end
1883
1926
 
1884
1927
  # The authentication information for accessing the master endpoint.
1885
- # Authentication can be done using HTTP basic auth or using client
1886
- # certificates.
1928
+ # Authentication can be done using HTTP basic auth or using client certificates.
1887
1929
  class MasterAuth
1888
1930
  include Google::Apis::Core::Hashable
1889
1931
 
@@ -1898,29 +1940,36 @@ module Google
1898
1940
  # @return [Google::Apis::ContainerV1::ClientCertificateConfig]
1899
1941
  attr_accessor :client_certificate_config
1900
1942
 
1901
- # [Output only] Base64-encoded private key used by clients to authenticate
1902
- # to the cluster endpoint.
1943
+ # [Output only] Base64-encoded private key used by clients to authenticate to
1944
+ # the cluster endpoint.
1903
1945
  # Corresponds to the JSON property `clientKey`
1904
1946
  # @return [String]
1905
1947
  attr_accessor :client_key
1906
1948
 
1907
- # [Output only] Base64-encoded public certificate that is the root of
1908
- # trust for the cluster.
1949
+ # [Output only] Base64-encoded public certificate that is the root of trust for
1950
+ # the cluster.
1909
1951
  # Corresponds to the JSON property `clusterCaCertificate`
1910
1952
  # @return [String]
1911
1953
  attr_accessor :cluster_ca_certificate
1912
1954
 
1913
1955
  # The password to use for HTTP basic authentication to the master endpoint.
1914
1956
  # Because the master endpoint is open to the Internet, you should create a
1915
- # strong password. If a password is provided for cluster creation, username
1916
- # must be non-empty.
1957
+ # strong password. If a password is provided for cluster creation, username must
1958
+ # be non-empty. Warning: basic authentication is deprecated, and will be removed
1959
+ # in GKE control plane versions 1.19 and newer. For a list of recommended
1960
+ # authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/
1961
+ # how-to/api-server-authentication
1917
1962
  # Corresponds to the JSON property `password`
1918
1963
  # @return [String]
1919
1964
  attr_accessor :password
1920
1965
 
1921
- # The username to use for HTTP basic authentication to the master endpoint.
1922
- # For clusters v1.6.0 and later, basic authentication can be disabled by
1923
- # leaving username unspecified (or setting it to the empty string).
1966
+ # The username to use for HTTP basic authentication to the master endpoint. For
1967
+ # clusters v1.6.0 and later, basic authentication can be disabled by leaving
1968
+ # username unspecified (or setting it to the empty string). Warning: basic
1969
+ # authentication is deprecated, and will be removed in GKE control plane
1970
+ # versions 1.19 and newer. For a list of recommended authentication methods, see:
1971
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-
1972
+ # authentication
1924
1973
  # Corresponds to the JSON property `username`
1925
1974
  # @return [String]
1926
1975
  attr_accessor :username
@@ -1947,8 +1996,8 @@ module Google
1947
1996
  class MasterAuthorizedNetworksConfig
1948
1997
  include Google::Apis::Core::Hashable
1949
1998
 
1950
- # cidr_blocks define up to 50 external networks that could access
1951
- # Kubernetes master through HTTPS.
1999
+ # cidr_blocks define up to 50 external networks that could access Kubernetes
2000
+ # master through HTTPS.
1952
2001
  # Corresponds to the JSON property `cidrBlocks`
1953
2002
  # @return [Array<Google::Apis::ContainerV1::CidrBlock>]
1954
2003
  attr_accessor :cidr_blocks
@@ -2030,25 +2079,29 @@ module Google
2030
2079
  class NetworkConfig
2031
2080
  include Google::Apis::Core::Hashable
2032
2081
 
2033
- # Whether Intra-node visibility is enabled for this cluster.
2034
- # This makes same node pod to pod traffic visible for VPC network.
2082
+ # DefaultSnatStatus contains the desired state of whether default sNAT should be
2083
+ # disabled on the cluster.
2084
+ # Corresponds to the JSON property `defaultSnatStatus`
2085
+ # @return [Google::Apis::ContainerV1::DefaultSnatStatus]
2086
+ attr_accessor :default_snat_status
2087
+
2088
+ # Whether Intra-node visibility is enabled for this cluster. This makes same
2089
+ # node pod to pod traffic visible for VPC network.
2035
2090
  # Corresponds to the JSON property `enableIntraNodeVisibility`
2036
2091
  # @return [Boolean]
2037
2092
  attr_accessor :enable_intra_node_visibility
2038
2093
  alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
2039
2094
 
2040
- # Output only. The relative name of the Google Compute Engine
2041
- # network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
2042
- # to which the cluster is connected. Example:
2043
- # projects/my-project/global/networks/my-network
2095
+ # Output only. The relative name of the Google Compute Engine network(https://
2096
+ # cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
2097
+ # cluster is connected. Example: projects/my-project/global/networks/my-network
2044
2098
  # Corresponds to the JSON property `network`
2045
2099
  # @return [String]
2046
2100
  attr_accessor :network
2047
2101
 
2048
- # Output only. The relative name of the Google Compute Engine
2049
- # [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
2050
- # cluster is connected. Example:
2051
- # projects/my-project/regions/us-central1/subnetworks/my-subnet
2102
+ # Output only. The relative name of the Google Compute Engine [subnetwork](https:
2103
+ # //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
2104
+ # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
2052
2105
  # Corresponds to the JSON property `subnetwork`
2053
2106
  # @return [String]
2054
2107
  attr_accessor :subnetwork
@@ -2059,14 +2112,15 @@ module Google
2059
2112
 
2060
2113
  # Update properties of this object
2061
2114
  def update!(**args)
2115
+ @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2062
2116
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2063
2117
  @network = args[:network] if args.key?(:network)
2064
2118
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
2065
2119
  end
2066
2120
  end
2067
2121
 
2068
- # Configuration options for the NetworkPolicy feature.
2069
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
2122
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
2123
+ # docs/concepts/services-networking/networkpolicies/
2070
2124
  class NetworkPolicy
2071
2125
  include Google::Apis::Core::Hashable
2072
2126
 
@@ -2092,9 +2146,9 @@ module Google
2092
2146
  end
2093
2147
  end
2094
2148
 
2095
- # Configuration for NetworkPolicy. This only tracks whether the addon
2096
- # is enabled or not on the Master, it does not track whether network policy
2097
- # is enabled for the nodes.
2149
+ # Configuration for NetworkPolicy. This only tracks whether the addon is enabled
2150
+ # or not on the Master, it does not track whether network policy is enabled for
2151
+ # the nodes.
2098
2152
  class NetworkPolicyConfig
2099
2153
  include Google::Apis::Core::Hashable
2100
2154
 
@@ -2118,154 +2172,124 @@ module Google
2118
2172
  class NodeConfig
2119
2173
  include Google::Apis::Core::Hashable
2120
2174
 
2121
- # A list of hardware accelerators to be attached to each node.
2122
- # See https://cloud.google.com/compute/docs/gpus for more information about
2123
- # support for GPUs.
2175
+ # A list of hardware accelerators to be attached to each node. See https://cloud.
2176
+ # google.com/compute/docs/gpus for more information about support for GPUs.
2124
2177
  # Corresponds to the JSON property `accelerators`
2125
2178
  # @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
2126
2179
  attr_accessor :accelerators
2127
2180
 
2128
- # The Customer Managed Encryption Key used to encrypt the boot disk attached
2129
- # to each node in the node pool. This should be of the form
2130
- # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/
2131
- # [KEY_NAME].
2132
- # For more information about protecting resources with Cloud KMS Keys please
2133
- # see:
2134
- # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2181
+ # The Customer Managed Encryption Key used to encrypt the boot disk attached to
2182
+ # each node in the node pool. This should be of the form projects/[
2183
+ # KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
2184
+ # . For more information about protecting resources with Cloud KMS Keys please
2185
+ # see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2135
2186
  # Corresponds to the JSON property `bootDiskKmsKey`
2136
2187
  # @return [String]
2137
2188
  attr_accessor :boot_disk_kms_key
2138
2189
 
2139
- # Size of the disk attached to each node, specified in GB.
2140
- # The smallest allowed disk size is 10GB.
2141
- # If unspecified, the default disk size is 100GB.
2190
+ # Size of the disk attached to each node, specified in GB. The smallest allowed
2191
+ # disk size is 10GB. If unspecified, the default disk size is 100GB.
2142
2192
  # Corresponds to the JSON property `diskSizeGb`
2143
2193
  # @return [Fixnum]
2144
2194
  attr_accessor :disk_size_gb
2145
2195
 
2146
- # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
2147
- # If unspecified, the default disk type is 'pd-standard'
2196
+ # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
2197
+ # unspecified, the default disk type is 'pd-standard'
2148
2198
  # Corresponds to the JSON property `diskType`
2149
2199
  # @return [String]
2150
2200
  attr_accessor :disk_type
2151
2201
 
2152
- # The image type to use for this node. Note that for a given image type,
2153
- # the latest version of it will be used.
2202
+ # The image type to use for this node. Note that for a given image type, the
2203
+ # latest version of it will be used.
2154
2204
  # Corresponds to the JSON property `imageType`
2155
2205
  # @return [String]
2156
2206
  attr_accessor :image_type
2157
2207
 
2158
2208
  # The map of Kubernetes labels (key/value pairs) to be applied to each node.
2159
- # These will added in addition to any default label(s) that
2160
- # Kubernetes may apply to the node.
2161
- # In case of conflict in label keys, the applied set may differ depending on
2162
- # the Kubernetes version -- it's best to assume the behavior is undefined
2163
- # and conflicts should be avoided.
2164
- # For more information, including usage and the valid values, see:
2165
- # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2209
+ # These will added in addition to any default label(s) that Kubernetes may apply
2210
+ # to the node. In case of conflict in label keys, the applied set may differ
2211
+ # depending on the Kubernetes version -- it's best to assume the behavior is
2212
+ # undefined and conflicts should be avoided. For more information, including
2213
+ # usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/
2214
+ # working-with-objects/labels/
2166
2215
  # Corresponds to the JSON property `labels`
2167
2216
  # @return [Hash<String,String>]
2168
2217
  attr_accessor :labels
2169
2218
 
2170
- # The number of local SSD disks to be attached to the node.
2171
- # The limit for this value is dependent upon the maximum number of
2172
- # disks available on a machine per zone. See:
2173
- # https://cloud.google.com/compute/docs/disks/local-ssd
2174
- # for more information.
2219
+ # The number of local SSD disks to be attached to the node. The limit for this
2220
+ # value is dependent upon the maximum number of disks available on a machine per
2221
+ # zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
2222
+ # information.
2175
2223
  # Corresponds to the JSON property `localSsdCount`
2176
2224
  # @return [Fixnum]
2177
2225
  attr_accessor :local_ssd_count
2178
2226
 
2179
- # The name of a Google Compute Engine [machine
2180
- # type](https://cloud.google.com/compute/docs/machine-types) (e.g.
2181
- # `n1-standard-1`).
2182
- # If unspecified, the default machine type is
2183
- # `n1-standard-1`.
2227
+ # The name of a Google Compute Engine [machine type](https://cloud.google.com/
2228
+ # compute/docs/machine-types) If unspecified, the default machine type is `e2-
2229
+ # medium`.
2184
2230
  # Corresponds to the JSON property `machineType`
2185
2231
  # @return [String]
2186
2232
  attr_accessor :machine_type
2187
2233
 
2188
- # The metadata key/value pairs assigned to instances in the cluster.
2189
- # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
2190
- # in length. These are reflected as part of a URL in the metadata server.
2191
- # Additionally, to avoid ambiguity, keys must not conflict with any other
2192
- # metadata keys for the project or be one of the reserved keys:
2193
- # "cluster-location"
2194
- # "cluster-name"
2195
- # "cluster-uid"
2196
- # "configure-sh"
2197
- # "containerd-configure-sh"
2198
- # "enable-os-login"
2199
- # "gci-ensure-gke-docker"
2200
- # "gci-metrics-enabled"
2201
- # "gci-update-strategy"
2202
- # "instance-template"
2203
- # "kube-env"
2204
- # "startup-script"
2205
- # "user-data"
2206
- # "disable-address-manager"
2207
- # "windows-startup-script-ps1"
2208
- # "common-psm1"
2209
- # "k8s-node-setup-psm1"
2210
- # "install-ssh-psm1"
2211
- # "user-profile-psm1"
2212
- # "serial-port-logging-enable"
2213
- # Values are free-form strings, and only have meaning as interpreted by
2214
- # the image running in the instance. The only restriction placed on them is
2215
- # that each value's size must be less than or equal to 32 KB.
2216
- # The total size of all keys and values must be less than 512 KB.
2234
+ # The metadata key/value pairs assigned to instances in the cluster. Keys must
2235
+ # conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length.
2236
+ # These are reflected as part of a URL in the metadata server. Additionally, to
2237
+ # avoid ambiguity, keys must not conflict with any other metadata keys for the
2238
+ # project or be one of the reserved keys: - "cluster-location" - "cluster-name" -
2239
+ # "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login"
2240
+ # - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
2241
+ # instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
2242
+ # address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
2243
+ # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" - "serial-port-logging-
2244
+ # enable" Values are free-form strings, and only have meaning as interpreted by
2245
+ # the image running in the instance. The only restriction placed on them is that
2246
+ # each value's size must be less than or equal to 32 KB. The total size of all
2247
+ # keys and values must be less than 512 KB.
2217
2248
  # Corresponds to the JSON property `metadata`
2218
2249
  # @return [Hash<String,String>]
2219
2250
  attr_accessor :metadata
2220
2251
 
2221
2252
  # Minimum CPU platform to be used by this instance. The instance may be
2222
2253
  # scheduled on the specified or newer CPU platform. Applicable values are the
2223
- # friendly names of CPU platforms, such as
2224
- # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
2225
- # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
2226
- # information, read [how to specify min CPU
2227
- # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
2228
- # platform)
2254
+ # friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
2255
+ # minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
2256
+ # specify min CPU platform](https://cloud.google.com/compute/docs/instances/
2257
+ # specify-min-cpu-platform)
2229
2258
  # Corresponds to the JSON property `minCpuPlatform`
2230
2259
  # @return [String]
2231
2260
  attr_accessor :min_cpu_platform
2232
2261
 
2233
- # Setting this field will assign instances of this
2234
- # pool to run on the specified node group. This is useful for running
2235
- # workloads on [sole tenant
2236
- # nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
2262
+ # Setting this field will assign instances of this pool to run on the specified
2263
+ # node group. This is useful for running workloads on [sole tenant nodes](https:/
2264
+ # /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
2237
2265
  # Corresponds to the JSON property `nodeGroup`
2238
2266
  # @return [String]
2239
2267
  attr_accessor :node_group
2240
2268
 
2241
- # The set of Google API scopes to be made available on all of the
2242
- # node VMs under the "default" service account.
2243
- # The following scopes are recommended, but not required, and by default are
2244
- # not included:
2245
- # * `https://www.googleapis.com/auth/compute` is required for mounting
2246
- # persistent storage on your nodes.
2247
- # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
2248
- # communicating with **gcr.io**
2249
- # (the [Google Container
2250
- # Registry](https://cloud.google.com/container-registry/)).
2251
- # If unspecified, no scopes are added, unless Cloud Logging or Cloud
2252
- # Monitoring are enabled, in which case their required scopes will be added.
2269
+ # The set of Google API scopes to be made available on all of the node VMs under
2270
+ # the "default" service account. The following scopes are recommended, but not
2271
+ # required, and by default are not included: * `https://www.googleapis.com/auth/
2272
+ # compute` is required for mounting persistent storage on your nodes. * `https://
2273
+ # www.googleapis.com/auth/devstorage.read_only` is required for communicating
2274
+ # with **gcr.io** (the [Google Container Registry](https://cloud.google.com/
2275
+ # container-registry/)). If unspecified, no scopes are added, unless Cloud
2276
+ # Logging or Cloud Monitoring are enabled, in which case their required scopes
2277
+ # will be added.
2253
2278
  # Corresponds to the JSON property `oauthScopes`
2254
2279
  # @return [Array<String>]
2255
2280
  attr_accessor :oauth_scopes
2256
2281
 
2257
- # Whether the nodes are created as preemptible VM instances. See:
2258
- # https://cloud.google.com/compute/docs/instances/preemptible for more
2259
- # information about preemptible VM instances.
2282
+ # Whether the nodes are created as preemptible VM instances. See: https://cloud.
2283
+ # google.com/compute/docs/instances/preemptible for more information about
2284
+ # preemptible VM instances.
2260
2285
  # Corresponds to the JSON property `preemptible`
2261
2286
  # @return [Boolean]
2262
2287
  attr_accessor :preemptible
2263
2288
  alias_method :preemptible?, :preemptible
2264
2289
 
2265
2290
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
2266
- # reserving-zonal-resources)
2267
- # is the configuration of desired reservation which instances could take
2268
- # capacity from.
2291
+ # reserving-zonal-resources) is the configuration of desired reservation which
2292
+ # instances could take capacity from.
2269
2293
  # Corresponds to the JSON property `reservationAffinity`
2270
2294
  # @return [Google::Apis::ContainerV1::ReservationAffinity]
2271
2295
  attr_accessor :reservation_affinity
@@ -2275,9 +2299,9 @@ module Google
2275
2299
  # @return [Google::Apis::ContainerV1::SandboxConfig]
2276
2300
  attr_accessor :sandbox_config
2277
2301
 
2278
- # The Google Cloud Platform Service Account to be used by the node VMs.
2279
- # Specify the email address of the Service Account; otherwise, if no Service
2280
- # Account is specified, the "default" service account is used.
2302
+ # The Google Cloud Platform Service Account to be used by the node VMs. Specify
2303
+ # the email address of the Service Account; otherwise, if no Service Account is
2304
+ # specified, the "default" service account is used.
2281
2305
  # Corresponds to the JSON property `serviceAccount`
2282
2306
  # @return [String]
2283
2307
  attr_accessor :service_account
@@ -2288,16 +2312,16 @@ module Google
2288
2312
  attr_accessor :shielded_instance_config
2289
2313
 
2290
2314
  # The list of instance tags applied to all nodes. Tags are used to identify
2291
- # valid sources or targets for network firewalls and are specified by
2292
- # the client during cluster or node pool creation. Each tag within the list
2293
- # must comply with RFC1035.
2315
+ # valid sources or targets for network firewalls and are specified by the client
2316
+ # during cluster or node pool creation. Each tag within the list must comply
2317
+ # with RFC1035.
2294
2318
  # Corresponds to the JSON property `tags`
2295
2319
  # @return [Array<String>]
2296
2320
  attr_accessor :tags
2297
2321
 
2298
- # List of kubernetes taints to be applied to each node.
2299
- # For more information, including usage and the valid values, see:
2300
- # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2322
+ # List of kubernetes taints to be applied to each node. For more information,
2323
+ # including usage and the valid values, see: https://kubernetes.io/docs/concepts/
2324
+ # configuration/taint-and-toleration/
2301
2325
  # Corresponds to the JSON property `taints`
2302
2326
  # @return [Array<Google::Apis::ContainerV1::NodeTaint>]
2303
2327
  attr_accessor :taints
@@ -2343,24 +2367,24 @@ module Google
2343
2367
  include Google::Apis::Core::Hashable
2344
2368
 
2345
2369
  # A flag that specifies whether the node auto-repair is enabled for the node
2346
- # pool. If enabled, the nodes in this node pool will be monitored and, if
2347
- # they fail health checks too many times, an automatic repair action will be
2370
+ # pool. If enabled, the nodes in this node pool will be monitored and, if they
2371
+ # fail health checks too many times, an automatic repair action will be
2348
2372
  # triggered.
2349
2373
  # Corresponds to the JSON property `autoRepair`
2350
2374
  # @return [Boolean]
2351
2375
  attr_accessor :auto_repair
2352
2376
  alias_method :auto_repair?, :auto_repair
2353
2377
 
2354
- # A flag that specifies whether node auto-upgrade is enabled for the node
2355
- # pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
2356
- # up to date with the latest release version of Kubernetes.
2378
+ # A flag that specifies whether node auto-upgrade is enabled for the node pool.
2379
+ # If enabled, node auto-upgrade helps keep the nodes in your node pool up to
2380
+ # date with the latest release version of Kubernetes.
2357
2381
  # Corresponds to the JSON property `autoUpgrade`
2358
2382
  # @return [Boolean]
2359
2383
  attr_accessor :auto_upgrade
2360
2384
  alias_method :auto_upgrade?, :auto_upgrade
2361
2385
 
2362
- # AutoUpgradeOptions defines the set of options for the user to control how
2363
- # the Auto Upgrades will proceed.
2386
+ # AutoUpgradeOptions defines the set of options for the user to control how the
2387
+ # Auto Upgrades will proceed.
2364
2388
  # Corresponds to the JSON property `upgradeOptions`
2365
2389
  # @return [Google::Apis::ContainerV1::AutoUpgradeOptions]
2366
2390
  attr_accessor :upgrade_options
@@ -2377,12 +2401,12 @@ module Google
2377
2401
  end
2378
2402
  end
2379
2403
 
2380
- # NodePool contains the name and configuration for a cluster's node pool.
2381
- # Node pools are a set of nodes (i.e. VM's), with a common configuration and
2382
- # specification, under the control of the cluster master. They may have a set
2383
- # of Kubernetes labels applied to them, which may be used to reference them
2384
- # during pod scheduling. They may also be resized up or down, to accommodate
2385
- # the workload.
2404
+ # NodePool contains the name and configuration for a cluster's node pool. Node
2405
+ # pools are a set of nodes (i.e. VM's), with a common configuration and
2406
+ # specification, under the control of the cluster master. They may have a set of
2407
+ # Kubernetes labels applied to them, which may be used to reference them during
2408
+ # pod scheduling. They may also be resized up or down, to accommodate the
2409
+ # workload.
2386
2410
  class NodePool
2387
2411
  include Google::Apis::Core::Hashable
2388
2412
 
@@ -2402,25 +2426,23 @@ module Google
2402
2426
  # @return [Google::Apis::ContainerV1::NodeConfig]
2403
2427
  attr_accessor :config
2404
2428
 
2405
- # The initial node count for the pool. You must ensure that your
2406
- # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
2407
- # is sufficient for this number of instances. You must also have available
2408
- # firewall and routes quota.
2429
+ # The initial node count for the pool. You must ensure that your Compute Engine [
2430
+ # resource quota](https://cloud.google.com/compute/quotas) is sufficient for
2431
+ # this number of instances. You must also have available firewall and routes
2432
+ # quota.
2409
2433
  # Corresponds to the JSON property `initialNodeCount`
2410
2434
  # @return [Fixnum]
2411
2435
  attr_accessor :initial_node_count
2412
2436
 
2413
- # [Output only] The resource URLs of the [managed instance
2414
- # groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-
2415
- # of-managed-instances)
2437
+ # [Output only] The resource URLs of the [managed instance groups](https://cloud.
2438
+ # google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
2416
2439
  # associated with this node pool.
2417
2440
  # Corresponds to the JSON property `instanceGroupUrls`
2418
2441
  # @return [Array<String>]
2419
2442
  attr_accessor :instance_group_urls
2420
2443
 
2421
- # The list of Google Compute Engine
2422
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
2423
- # NodePool's nodes should be located.
2444
+ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
2445
+ # docs/zones#available) in which the NodePool's nodes should be located.
2424
2446
  # Corresponds to the JSON property `locations`
2425
2447
  # @return [Array<String>]
2426
2448
  attr_accessor :locations
@@ -2456,30 +2478,26 @@ module Google
2456
2478
  # @return [String]
2457
2479
  attr_accessor :status
2458
2480
 
2459
- # [Output only] Additional information about the current status of this
2460
- # node pool instance, if available.
2481
+ # [Output only] Additional information about the current status of this node
2482
+ # pool instance, if available.
2461
2483
  # Corresponds to the JSON property `statusMessage`
2462
2484
  # @return [String]
2463
2485
  attr_accessor :status_message
2464
2486
 
2465
2487
  # These upgrade settings control the level of parallelism and the level of
2466
- # disruption caused by an upgrade.
2467
- # maxUnavailable controls the number of nodes that can be simultaneously
2468
- # unavailable.
2469
- # maxSurge controls the number of additional nodes that can be added to the
2470
- # node pool temporarily for the time of the upgrade to increase the number of
2471
- # available nodes.
2472
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
2473
- # nodes are being upgraded at the same time).
2474
- # Note: upgrades inevitably introduce some disruption since workloads need to
2475
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
2476
- # this holds true. (Disruption stays within the limits of
2477
- # PodDisruptionBudget, if it is configured.)
2478
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
2479
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
2480
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
2481
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
2482
- # there are always at least 4 nodes available.
2488
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
2489
+ # that can be simultaneously unavailable. maxSurge controls the number of
2490
+ # additional nodes that can be added to the node pool temporarily for the time
2491
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
2492
+ # maxSurge) determines the level of parallelism (how many nodes are being
2493
+ # upgraded at the same time). Note: upgrades inevitably introduce some
2494
+ # disruption since workloads need to be moved from old nodes to new, upgraded
2495
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
2496
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
2497
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
2498
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
2499
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
2500
+ # same time. This ensures that there are always at least 4 nodes available.
2483
2501
  # Corresponds to the JSON property `upgradeSettings`
2484
2502
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
2485
2503
  attr_accessor :upgrade_settings
@@ -2530,14 +2548,13 @@ module Google
2530
2548
  attr_accessor :enabled
2531
2549
  alias_method :enabled?, :enabled
2532
2550
 
2533
- # Maximum number of nodes in the NodePool. Must be >= min_node_count. There
2534
- # has to enough quota to scale up the cluster.
2551
+ # Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
2552
+ # to enough quota to scale up the cluster.
2535
2553
  # Corresponds to the JSON property `maxNodeCount`
2536
2554
  # @return [Fixnum]
2537
2555
  attr_accessor :max_node_count
2538
2556
 
2539
- # Minimum number of nodes in the NodePool. Must be >= 1 and <=
2540
- # max_node_count.
2557
+ # Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
2541
2558
  # Corresponds to the JSON property `minNodeCount`
2542
2559
  # @return [Fixnum]
2543
2560
  attr_accessor :min_node_count
@@ -2556,8 +2573,7 @@ module Google
2556
2573
  end
2557
2574
 
2558
2575
  # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
2559
- # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
2560
- # See
2576
+ # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
2561
2577
  # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
2562
2578
  # for more information, including usage and the valid values.
2563
2579
  class NodeTaint
@@ -2605,18 +2621,15 @@ module Google
2605
2621
  # @return [String]
2606
2622
  attr_accessor :detail
2607
2623
 
2608
- # [Output only] The time the operation completed, in
2609
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2624
+ # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.
2625
+ # org/rfc/rfc3339.txt) text format.
2610
2626
  # Corresponds to the JSON property `endTime`
2611
2627
  # @return [String]
2612
2628
  attr_accessor :end_time
2613
2629
 
2614
- # [Output only] The name of the Google Compute Engine
2615
- # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
2616
- # available)
2617
- # or
2618
- # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#
2619
- # available)
2630
+ # [Output only] The name of the Google Compute Engine [zone](https://cloud.
2631
+ # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
2632
+ # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
2620
2633
  # in which the cluster resides.
2621
2634
  # Corresponds to the JSON property `location`
2622
2635
  # @return [String]
@@ -2647,8 +2660,8 @@ module Google
2647
2660
  # @return [String]
2648
2661
  attr_accessor :self_link
2649
2662
 
2650
- # [Output only] The time the operation started, in
2651
- # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2663
+ # [Output only] The time the operation started, in [RFC3339](https://www.ietf.
2664
+ # org/rfc/rfc3339.txt) text format.
2652
2665
  # Corresponds to the JSON property `startTime`
2653
2666
  # @return [String]
2654
2667
  attr_accessor :start_time
@@ -2668,9 +2681,9 @@ module Google
2668
2681
  # @return [String]
2669
2682
  attr_accessor :target_link
2670
2683
 
2671
- # The name of the Google Compute Engine
2672
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2673
- # operation is taking place. This field is deprecated, use location instead.
2684
+ # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/
2685
+ # docs/zones#available) in which the operation is taking place. This field is
2686
+ # deprecated, use location instead.
2674
2687
  # Corresponds to the JSON property `zone`
2675
2688
  # @return [String]
2676
2689
  attr_accessor :zone
@@ -2702,18 +2715,15 @@ module Google
2702
2715
  class OperationProgress
2703
2716
  include Google::Apis::Core::Hashable
2704
2717
 
2705
- # Progress metric bundle, for example:
2706
- # metrics: [`name: "nodes done", int_value: 15`,
2707
- # `name: "nodes total", int_value: 32`]
2708
- # or
2709
- # metrics: [`name: "progress", double_value: 0.56`,
2710
- # `name: "progress scale", double_value: 1.0`]
2718
+ # Progress metric bundle, for example: metrics: [`name: "nodes done", int_value:
2719
+ # 15`, `name: "nodes total", int_value: 32`] or metrics: [`name: "progress",
2720
+ # double_value: 0.56`, `name: "progress scale", double_value: 1.0`]
2711
2721
  # Corresponds to the JSON property `metrics`
2712
2722
  # @return [Array<Google::Apis::ContainerV1::Metric>]
2713
2723
  attr_accessor :metrics
2714
2724
 
2715
- # A non-parameterized string describing an operation stage.
2716
- # Unset for single-stage operations.
2725
+ # A non-parameterized string describing an operation stage. Unset for single-
2726
+ # stage operations.
2717
2727
  # Corresponds to the JSON property `name`
2718
2728
  # @return [String]
2719
2729
  attr_accessor :name
@@ -2723,8 +2733,7 @@ module Google
2723
2733
  # @return [Array<Google::Apis::ContainerV1::OperationProgress>]
2724
2734
  attr_accessor :stages
2725
2735
 
2726
- # Status of an operation stage.
2727
- # Unset for single-stage operations.
2736
+ # Status of an operation stage. Unset for single-stage operations.
2728
2737
  # Corresponds to the JSON property `status`
2729
2738
  # @return [String]
2730
2739
  attr_accessor :status
@@ -2752,18 +2761,23 @@ module Google
2752
2761
  attr_accessor :enable_private_endpoint
2753
2762
  alias_method :enable_private_endpoint?, :enable_private_endpoint
2754
2763
 
2755
- # Whether nodes have internal IP addresses only. If enabled, all nodes are
2756
- # given only RFC 1918 private addresses and communicate with the master via
2757
- # private networking.
2764
+ # Whether nodes have internal IP addresses only. If enabled, all nodes are given
2765
+ # only RFC 1918 private addresses and communicate with the master via private
2766
+ # networking.
2758
2767
  # Corresponds to the JSON property `enablePrivateNodes`
2759
2768
  # @return [Boolean]
2760
2769
  attr_accessor :enable_private_nodes
2761
2770
  alias_method :enable_private_nodes?, :enable_private_nodes
2762
2771
 
2763
- # The IP range in CIDR notation to use for the hosted master network. This
2764
- # range will be used for assigning internal IP addresses to the master or
2765
- # set of masters, as well as the ILB VIP. This range must not overlap with
2766
- # any other ranges in use within the cluster's network.
2772
+ # Configuration for controlling master global access settings.
2773
+ # Corresponds to the JSON property `masterGlobalAccessConfig`
2774
+ # @return [Google::Apis::ContainerV1::PrivateClusterMasterGlobalAccessConfig]
2775
+ attr_accessor :master_global_access_config
2776
+
2777
+ # The IP range in CIDR notation to use for the hosted master network. This range
2778
+ # will be used for assigning internal IP addresses to the master or set of
2779
+ # masters, as well as the ILB VIP. This range must not overlap with any other
2780
+ # ranges in use within the cluster's network.
2767
2781
  # Corresponds to the JSON property `masterIpv4CidrBlock`
2768
2782
  # @return [String]
2769
2783
  attr_accessor :master_ipv4_cidr_block
@@ -2791,6 +2805,7 @@ module Google
2791
2805
  def update!(**args)
2792
2806
  @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
2793
2807
  @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
2808
+ @master_global_access_config = args[:master_global_access_config] if args.key?(:master_global_access_config)
2794
2809
  @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
2795
2810
  @peering_name = args[:peering_name] if args.key?(:peering_name)
2796
2811
  @private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
@@ -2798,36 +2813,45 @@ module Google
2798
2813
  end
2799
2814
  end
2800
2815
 
2816
+ # Configuration for controlling master global access settings.
2817
+ class PrivateClusterMasterGlobalAccessConfig
2818
+ include Google::Apis::Core::Hashable
2819
+
2820
+ # Whenever master is accessible globally or not.
2821
+ # Corresponds to the JSON property `enabled`
2822
+ # @return [Boolean]
2823
+ attr_accessor :enabled
2824
+ alias_method :enabled?, :enabled
2825
+
2826
+ def initialize(**args)
2827
+ update!(**args)
2828
+ end
2829
+
2830
+ # Update properties of this object
2831
+ def update!(**args)
2832
+ @enabled = args[:enabled] if args.key?(:enabled)
2833
+ end
2834
+ end
2835
+
2801
2836
  # Represents an arbitrary window of time that recurs.
2802
2837
  class RecurringTimeWindow
2803
2838
  include Google::Apis::Core::Hashable
2804
2839
 
2805
- # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
2806
- # this window reccurs. They go on for the span of time between the start and
2807
- # end time.
2808
- # For example, to have something repeat every weekday, you'd use:
2809
- # <code>FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR</code>
2810
- # To repeat some window daily (equivalent to the DailyMaintenanceWindow):
2811
- # <code>FREQ=DAILY</code>
2812
- # For the first weekend of every month:
2813
- # <code>FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU</code>
2814
- # This specifies how frequently the window starts. Eg, if you wanted to have
2815
- # a 9-5 UTC-4 window every weekday, you'd use something like:
2816
- # <code>
2817
- # start time = 2019-01-01T09:00:00-0400
2818
- # end time = 2019-01-01T17:00:00-0400
2819
- # recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
2820
- # </code>
2821
- # Windows can span multiple days. Eg, to make the window encompass every
2822
- # weekend from midnight Saturday till the last minute of Sunday UTC:
2823
- # <code>
2824
- # start time = 2019-01-05T00:00:00Z
2825
- # end time = 2019-01-07T23:59:00Z
2826
- # recurrence = FREQ=WEEKLY;BYDAY=SA
2827
- # </code>
2828
- # Note the start and end time's specific dates are largely arbitrary except
2829
- # to specify duration of the window and when it first starts.
2830
- # The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
2840
+ # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this
2841
+ # window reccurs. They go on for the span of time between the start and end time.
2842
+ # For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;
2843
+ # BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the
2844
+ # DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `
2845
+ # FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window
2846
+ # starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use
2847
+ # something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-
2848
+ # 01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can
2849
+ # span multiple days. Eg, to make the window encompass every weekend from
2850
+ # midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-
2851
+ # 05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA
2852
+ # ``` Note the start and end time's specific dates are largely arbitrary except
2853
+ # to specify duration of the window and when it first starts. The FREQ values of
2854
+ # HOURLY, MINUTELY, and SECONDLY are not supported.
2831
2855
  # Corresponds to the JSON property `recurrence`
2832
2856
  # @return [String]
2833
2857
  attr_accessor :recurrence
@@ -2848,11 +2872,10 @@ module Google
2848
2872
  end
2849
2873
  end
2850
2874
 
2851
- # ReleaseChannel indicates which release channel a cluster is
2852
- # subscribed to. Release channels are arranged in order of risk.
2853
- # When a cluster is subscribed to a release channel, Google maintains
2854
- # both the master version and the node version. Node auto-upgrade
2855
- # defaults to true and cannot be disabled.
2875
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
2876
+ # Release channels are arranged in order of risk. When a cluster is subscribed
2877
+ # to a release channel, Google maintains both the master version and the node
2878
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
2856
2879
  class ReleaseChannel
2857
2880
  include Google::Apis::Core::Hashable
2858
2881
 
@@ -2903,9 +2926,8 @@ module Google
2903
2926
  end
2904
2927
 
2905
2928
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
2906
- # reserving-zonal-resources)
2907
- # is the configuration of desired reservation which instances could take
2908
- # capacity from.
2929
+ # reserving-zonal-resources) is the configuration of desired reservation which
2930
+ # instances could take capacity from.
2909
2931
  class ReservationAffinity
2910
2932
  include Google::Apis::Core::Hashable
2911
2933
 
@@ -2915,8 +2937,8 @@ module Google
2915
2937
  attr_accessor :consume_reservation_type
2916
2938
 
2917
2939
  # Corresponds to the label key of a reservation resource. To target a
2918
- # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
2919
- # the key and specify the name of your reservation as its value.
2940
+ # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
2941
+ # key and specify the name of your reservation as its value.
2920
2942
  # Corresponds to the JSON property `key`
2921
2943
  # @return [String]
2922
2944
  attr_accessor :key
@@ -2938,8 +2960,8 @@ module Google
2938
2960
  end
2939
2961
  end
2940
2962
 
2941
- # Contains information about amount of some resource in the cluster.
2942
- # For memory, value should be in GB.
2963
+ # Contains information about amount of some resource in the cluster. For memory,
2964
+ # value should be in GB.
2943
2965
  class ResourceLimit
2944
2966
  include Google::Apis::Core::Hashable
2945
2967
 
@@ -3009,36 +3031,35 @@ module Google
3009
3031
  class RollbackNodePoolUpgradeRequest
3010
3032
  include Google::Apis::Core::Hashable
3011
3033
 
3012
- # Deprecated. The name of the cluster to rollback.
3013
- # This field has been deprecated and replaced by the name field.
3034
+ # Deprecated. The name of the cluster to rollback. This field has been
3035
+ # deprecated and replaced by the name field.
3014
3036
  # Corresponds to the JSON property `clusterId`
3015
3037
  # @return [String]
3016
3038
  attr_accessor :cluster_id
3017
3039
 
3018
3040
  # The name (project, location, cluster, node pool id) of the node poll to
3019
- # rollback upgrade.
3020
- # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3041
+ # rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/
3042
+ # nodePools/*`.
3021
3043
  # Corresponds to the JSON property `name`
3022
3044
  # @return [String]
3023
3045
  attr_accessor :name
3024
3046
 
3025
- # Deprecated. The name of the node pool to rollback.
3026
- # This field has been deprecated and replaced by the name field.
3047
+ # Deprecated. The name of the node pool to rollback. This field has been
3048
+ # deprecated and replaced by the name field.
3027
3049
  # Corresponds to the JSON property `nodePoolId`
3028
3050
  # @return [String]
3029
3051
  attr_accessor :node_pool_id
3030
3052
 
3031
- # Deprecated. The Google Developers Console [project ID or project
3032
- # number](https://support.google.com/cloud/answer/6158840).
3033
- # This field has been deprecated and replaced by the name field.
3053
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3054
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3055
+ # replaced by the name field.
3034
3056
  # Corresponds to the JSON property `projectId`
3035
3057
  # @return [String]
3036
3058
  attr_accessor :project_id
3037
3059
 
3038
- # Deprecated. The name of the Google Compute Engine
3039
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3040
- # cluster resides. This field has been deprecated and replaced by the name
3041
- # field.
3060
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3061
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3062
+ # been deprecated and replaced by the name field.
3042
3063
  # Corresponds to the JSON property `zone`
3043
3064
  # @return [String]
3044
3065
  attr_accessor :zone
@@ -3129,35 +3150,34 @@ module Google
3129
3150
  class SetAddonsConfigRequest
3130
3151
  include Google::Apis::Core::Hashable
3131
3152
 
3132
- # Configuration for the addons that can be automatically spun up in the
3133
- # cluster, enabling additional functionality.
3153
+ # Configuration for the addons that can be automatically spun up in the cluster,
3154
+ # enabling additional functionality.
3134
3155
  # Corresponds to the JSON property `addonsConfig`
3135
3156
  # @return [Google::Apis::ContainerV1::AddonsConfig]
3136
3157
  attr_accessor :addons_config
3137
3158
 
3138
- # Deprecated. The name of the cluster to upgrade.
3139
- # This field has been deprecated and replaced by the name field.
3159
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3160
+ # and replaced by the name field.
3140
3161
  # Corresponds to the JSON property `clusterId`
3141
3162
  # @return [String]
3142
3163
  attr_accessor :cluster_id
3143
3164
 
3144
- # The name (project, location, cluster) of the cluster to set addons.
3145
- # Specified in the format `projects/*/locations/*/clusters/*`.
3165
+ # The name (project, location, cluster) of the cluster to set addons. Specified
3166
+ # in the format `projects/*/locations/*/clusters/*`.
3146
3167
  # Corresponds to the JSON property `name`
3147
3168
  # @return [String]
3148
3169
  attr_accessor :name
3149
3170
 
3150
- # Deprecated. The Google Developers Console [project ID or project
3151
- # number](https://support.google.com/cloud/answer/6158840).
3152
- # This field has been deprecated and replaced by the name field.
3171
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3172
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3173
+ # replaced by the name field.
3153
3174
  # Corresponds to the JSON property `projectId`
3154
3175
  # @return [String]
3155
3176
  attr_accessor :project_id
3156
3177
 
3157
- # Deprecated. The name of the Google Compute Engine
3158
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3159
- # cluster resides. This field has been deprecated and replaced by the name
3160
- # field.
3178
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3179
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3180
+ # been deprecated and replaced by the name field.
3161
3181
  # Corresponds to the JSON property `zone`
3162
3182
  # @return [String]
3163
3183
  attr_accessor :zone
@@ -3182,18 +3202,17 @@ module Google
3182
3202
  class SetLabelsRequest
3183
3203
  include Google::Apis::Core::Hashable
3184
3204
 
3185
- # Deprecated. The name of the cluster.
3186
- # This field has been deprecated and replaced by the name field.
3205
+ # Deprecated. The name of the cluster. This field has been deprecated and
3206
+ # replaced by the name field.
3187
3207
  # Corresponds to the JSON property `clusterId`
3188
3208
  # @return [String]
3189
3209
  attr_accessor :cluster_id
3190
3210
 
3191
3211
  # Required. The fingerprint of the previous set of labels for this resource,
3192
- # used to detect conflicts. The fingerprint is initially generated by
3193
- # Kubernetes Engine and changes after every request to modify or update
3194
- # labels. You must always provide an up-to-date fingerprint hash when
3195
- # updating or changing labels. Make a <code>get()</code> request to the
3196
- # resource to get the latest fingerprint.
3212
+ # used to detect conflicts. The fingerprint is initially generated by Kubernetes
3213
+ # Engine and changes after every request to modify or update labels. You must
3214
+ # always provide an up-to-date fingerprint hash when updating or changing labels.
3215
+ # Make a `get()` request to the resource to get the latest fingerprint.
3197
3216
  # Corresponds to the JSON property `labelFingerprint`
3198
3217
  # @return [String]
3199
3218
  attr_accessor :label_fingerprint
@@ -3204,9 +3223,9 @@ module Google
3204
3223
  # @return [String]
3205
3224
  attr_accessor :name
3206
3225
 
3207
- # Deprecated. The Google Developers Console [project ID or project
3208
- # number](https://developers.google.com/console/help/new/#projectnumber).
3209
- # This field has been deprecated and replaced by the name field.
3226
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3227
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3228
+ # deprecated and replaced by the name field.
3210
3229
  # Corresponds to the JSON property `projectId`
3211
3230
  # @return [String]
3212
3231
  attr_accessor :project_id
@@ -3216,10 +3235,9 @@ module Google
3216
3235
  # @return [Hash<String,String>]
3217
3236
  attr_accessor :resource_labels
3218
3237
 
3219
- # Deprecated. The name of the Google Compute Engine
3220
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3221
- # cluster resides. This field has been deprecated and replaced by the name
3222
- # field.
3238
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3239
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3240
+ # been deprecated and replaced by the name field.
3223
3241
  # Corresponds to the JSON property `zone`
3224
3242
  # @return [String]
3225
3243
  attr_accessor :zone
@@ -3244,8 +3262,8 @@ module Google
3244
3262
  class SetLegacyAbacRequest
3245
3263
  include Google::Apis::Core::Hashable
3246
3264
 
3247
- # Deprecated. The name of the cluster to update.
3248
- # This field has been deprecated and replaced by the name field.
3265
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3266
+ # and replaced by the name field.
3249
3267
  # Corresponds to the JSON property `clusterId`
3250
3268
  # @return [String]
3251
3269
  attr_accessor :cluster_id
@@ -3262,17 +3280,16 @@ module Google
3262
3280
  # @return [String]
3263
3281
  attr_accessor :name
3264
3282
 
3265
- # Deprecated. The Google Developers Console [project ID or project
3266
- # number](https://support.google.com/cloud/answer/6158840).
3267
- # This field has been deprecated and replaced by the name field.
3283
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3284
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3285
+ # replaced by the name field.
3268
3286
  # Corresponds to the JSON property `projectId`
3269
3287
  # @return [String]
3270
3288
  attr_accessor :project_id
3271
3289
 
3272
- # Deprecated. The name of the Google Compute Engine
3273
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3274
- # cluster resides. This field has been deprecated and replaced by the name
3275
- # field.
3290
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3291
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3292
+ # been deprecated and replaced by the name field.
3276
3293
  # Corresponds to the JSON property `zone`
3277
3294
  # @return [String]
3278
3295
  attr_accessor :zone
@@ -3295,18 +3312,18 @@ module Google
3295
3312
  class SetLocationsRequest
3296
3313
  include Google::Apis::Core::Hashable
3297
3314
 
3298
- # Deprecated. The name of the cluster to upgrade.
3299
- # This field has been deprecated and replaced by the name field.
3315
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3316
+ # and replaced by the name field.
3300
3317
  # Corresponds to the JSON property `clusterId`
3301
3318
  # @return [String]
3302
3319
  attr_accessor :cluster_id
3303
3320
 
3304
- # Required. The desired list of Google Compute Engine
3305
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
3306
- # cluster's nodes should be located. Changing the locations a cluster is in
3307
- # will result in nodes being either created or removed from the cluster,
3308
- # depending on whether locations are being added or removed.
3309
- # This list must always include the cluster's primary zone.
3321
+ # Required. The desired list of Google Compute Engine [zones](https://cloud.
3322
+ # google.com/compute/docs/zones#available) in which the cluster's nodes should
3323
+ # be located. Changing the locations a cluster is in will result in nodes being
3324
+ # either created or removed from the cluster, depending on whether locations are
3325
+ # being added or removed. This list must always include the cluster's primary
3326
+ # zone.
3310
3327
  # Corresponds to the JSON property `locations`
3311
3328
  # @return [Array<String>]
3312
3329
  attr_accessor :locations
@@ -3317,17 +3334,16 @@ module Google
3317
3334
  # @return [String]
3318
3335
  attr_accessor :name
3319
3336
 
3320
- # Deprecated. The Google Developers Console [project ID or project
3321
- # number](https://support.google.com/cloud/answer/6158840).
3322
- # This field has been deprecated and replaced by the name field.
3337
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3338
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3339
+ # replaced by the name field.
3323
3340
  # Corresponds to the JSON property `projectId`
3324
3341
  # @return [String]
3325
3342
  attr_accessor :project_id
3326
3343
 
3327
- # Deprecated. The name of the Google Compute Engine
3328
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3329
- # cluster resides. This field has been deprecated and replaced by the name
3330
- # field.
3344
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3345
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3346
+ # been deprecated and replaced by the name field.
3331
3347
  # Corresponds to the JSON property `zone`
3332
3348
  # @return [String]
3333
3349
  attr_accessor :zone
@@ -3350,42 +3366,39 @@ module Google
3350
3366
  class SetLoggingServiceRequest
3351
3367
  include Google::Apis::Core::Hashable
3352
3368
 
3353
- # Deprecated. The name of the cluster to upgrade.
3354
- # This field has been deprecated and replaced by the name field.
3369
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3370
+ # and replaced by the name field.
3355
3371
  # Corresponds to the JSON property `clusterId`
3356
3372
  # @return [String]
3357
3373
  attr_accessor :cluster_id
3358
3374
 
3359
- # Required. The logging service the cluster should use to write logs.
3360
- # Currently available options:
3361
- # * `logging.googleapis.com/kubernetes` - The Cloud Logging
3362
- # service with a Kubernetes-native resource model
3363
- # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
3364
- # available as of GKE 1.15).
3365
- # * `none` - no logs will be exported from the cluster.
3366
- # If left as an empty string,`logging.googleapis.com/kubernetes` will be
3367
- # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
3375
+ # Required. The logging service the cluster should use to write logs. Currently
3376
+ # available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging
3377
+ # service with a Kubernetes-native resource model * `logging.googleapis.com` -
3378
+ # The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none`
3379
+ # - no logs will be exported from the cluster. If left as an empty string,`
3380
+ # logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.
3381
+ # googleapis.com` for earlier versions.
3368
3382
  # Corresponds to the JSON property `loggingService`
3369
3383
  # @return [String]
3370
3384
  attr_accessor :logging_service
3371
3385
 
3372
- # The name (project, location, cluster) of the cluster to set logging.
3373
- # Specified in the format `projects/*/locations/*/clusters/*`.
3386
+ # The name (project, location, cluster) of the cluster to set logging. Specified
3387
+ # in the format `projects/*/locations/*/clusters/*`.
3374
3388
  # Corresponds to the JSON property `name`
3375
3389
  # @return [String]
3376
3390
  attr_accessor :name
3377
3391
 
3378
- # Deprecated. The Google Developers Console [project ID or project
3379
- # number](https://support.google.com/cloud/answer/6158840).
3380
- # This field has been deprecated and replaced by the name field.
3392
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3393
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3394
+ # replaced by the name field.
3381
3395
  # Corresponds to the JSON property `projectId`
3382
3396
  # @return [String]
3383
3397
  attr_accessor :project_id
3384
3398
 
3385
- # Deprecated. The name of the Google Compute Engine
3386
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3387
- # cluster resides. This field has been deprecated and replaced by the name
3388
- # field.
3399
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3400
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3401
+ # been deprecated and replaced by the name field.
3389
3402
  # Corresponds to the JSON property `zone`
3390
3403
  # @return [String]
3391
3404
  attr_accessor :zone
@@ -3419,21 +3432,19 @@ module Google
3419
3432
  attr_accessor :maintenance_policy
3420
3433
 
3421
3434
  # The name (project, location, cluster id) of the cluster to set maintenance
3422
- # policy.
3423
- # Specified in the format `projects/*/locations/*/clusters/*`.
3435
+ # policy. Specified in the format `projects/*/locations/*/clusters/*`.
3424
3436
  # Corresponds to the JSON property `name`
3425
3437
  # @return [String]
3426
3438
  attr_accessor :name
3427
3439
 
3428
- # Required. The Google Developers Console [project ID or project
3429
- # number](https://support.google.com/cloud/answer/6158840).
3440
+ # Required. The Google Developers Console [project ID or project number](https://
3441
+ # support.google.com/cloud/answer/6158840).
3430
3442
  # Corresponds to the JSON property `projectId`
3431
3443
  # @return [String]
3432
3444
  attr_accessor :project_id
3433
3445
 
3434
- # Required. The name of the Google Compute Engine
3435
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3436
- # cluster resides.
3446
+ # Required. The name of the Google Compute Engine [zone](https://cloud.google.
3447
+ # com/compute/docs/zones#available) in which the cluster resides.
3437
3448
  # Corresponds to the JSON property `zone`
3438
3449
  # @return [String]
3439
3450
  attr_accessor :zone
@@ -3461,36 +3472,34 @@ module Google
3461
3472
  # @return [String]
3462
3473
  attr_accessor :action
3463
3474
 
3464
- # Deprecated. The name of the cluster to upgrade.
3465
- # This field has been deprecated and replaced by the name field.
3475
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3476
+ # and replaced by the name field.
3466
3477
  # Corresponds to the JSON property `clusterId`
3467
3478
  # @return [String]
3468
3479
  attr_accessor :cluster_id
3469
3480
 
3470
- # The name (project, location, cluster) of the cluster to set auth.
3471
- # Specified in the format `projects/*/locations/*/clusters/*`.
3481
+ # The name (project, location, cluster) of the cluster to set auth. Specified in
3482
+ # the format `projects/*/locations/*/clusters/*`.
3472
3483
  # Corresponds to the JSON property `name`
3473
3484
  # @return [String]
3474
3485
  attr_accessor :name
3475
3486
 
3476
- # Deprecated. The Google Developers Console [project ID or project
3477
- # number](https://support.google.com/cloud/answer/6158840).
3478
- # This field has been deprecated and replaced by the name field.
3487
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3488
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3489
+ # replaced by the name field.
3479
3490
  # Corresponds to the JSON property `projectId`
3480
3491
  # @return [String]
3481
3492
  attr_accessor :project_id
3482
3493
 
3483
3494
  # The authentication information for accessing the master endpoint.
3484
- # Authentication can be done using HTTP basic auth or using client
3485
- # certificates.
3495
+ # Authentication can be done using HTTP basic auth or using client certificates.
3486
3496
  # Corresponds to the JSON property `update`
3487
3497
  # @return [Google::Apis::ContainerV1::MasterAuth]
3488
3498
  attr_accessor :update
3489
3499
 
3490
- # Deprecated. The name of the Google Compute Engine
3491
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3492
- # cluster resides. This field has been deprecated and replaced by the name
3493
- # field.
3500
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3501
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3502
+ # been deprecated and replaced by the name field.
3494
3503
  # Corresponds to the JSON property `zone`
3495
3504
  # @return [String]
3496
3505
  attr_accessor :zone
@@ -3514,21 +3523,19 @@ module Google
3514
3523
  class SetMonitoringServiceRequest
3515
3524
  include Google::Apis::Core::Hashable
3516
3525
 
3517
- # Deprecated. The name of the cluster to upgrade.
3518
- # This field has been deprecated and replaced by the name field.
3526
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3527
+ # and replaced by the name field.
3519
3528
  # Corresponds to the JSON property `clusterId`
3520
3529
  # @return [String]
3521
3530
  attr_accessor :cluster_id
3522
3531
 
3523
3532
  # Required. The monitoring service the cluster should use to write metrics.
3524
- # Currently available options:
3525
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
3526
- # service with a Kubernetes-native resource model
3527
- # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
3528
- # longer available as of GKE 1.15).
3529
- # * `none` - No metrics will be exported from the cluster.
3530
- # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
3531
- # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
3533
+ # Currently available options: * "monitoring.googleapis.com/kubernetes" - The
3534
+ # Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.
3535
+ # googleapis.com` - The legacy Cloud Monitoring service (no longer available as
3536
+ # of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
3537
+ # as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE
3538
+ # 1.14+ or `monitoring.googleapis.com` for earlier versions.
3532
3539
  # Corresponds to the JSON property `monitoringService`
3533
3540
  # @return [String]
3534
3541
  attr_accessor :monitoring_service
@@ -3539,17 +3546,16 @@ module Google
3539
3546
  # @return [String]
3540
3547
  attr_accessor :name
3541
3548
 
3542
- # Deprecated. The Google Developers Console [project ID or project
3543
- # number](https://support.google.com/cloud/answer/6158840).
3544
- # This field has been deprecated and replaced by the name field.
3549
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3550
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3551
+ # replaced by the name field.
3545
3552
  # Corresponds to the JSON property `projectId`
3546
3553
  # @return [String]
3547
3554
  attr_accessor :project_id
3548
3555
 
3549
- # Deprecated. The name of the Google Compute Engine
3550
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3551
- # cluster resides. This field has been deprecated and replaced by the name
3552
- # field.
3556
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3557
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3558
+ # been deprecated and replaced by the name field.
3553
3559
  # Corresponds to the JSON property `zone`
3554
3560
  # @return [String]
3555
3561
  attr_accessor :zone
@@ -3572,8 +3578,8 @@ module Google
3572
3578
  class SetNetworkPolicyRequest
3573
3579
  include Google::Apis::Core::Hashable
3574
3580
 
3575
- # Deprecated. The name of the cluster.
3576
- # This field has been deprecated and replaced by the name field.
3581
+ # Deprecated. The name of the cluster. This field has been deprecated and
3582
+ # replaced by the name field.
3577
3583
  # Corresponds to the JSON property `clusterId`
3578
3584
  # @return [String]
3579
3585
  attr_accessor :cluster_id
@@ -3584,23 +3590,22 @@ module Google
3584
3590
  # @return [String]
3585
3591
  attr_accessor :name
3586
3592
 
3587
- # Configuration options for the NetworkPolicy feature.
3588
- # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
3593
+ # Configuration options for the NetworkPolicy feature. https://kubernetes.io/
3594
+ # docs/concepts/services-networking/networkpolicies/
3589
3595
  # Corresponds to the JSON property `networkPolicy`
3590
3596
  # @return [Google::Apis::ContainerV1::NetworkPolicy]
3591
3597
  attr_accessor :network_policy
3592
3598
 
3593
- # Deprecated. The Google Developers Console [project ID or project
3594
- # number](https://developers.google.com/console/help/new/#projectnumber).
3595
- # This field has been deprecated and replaced by the name field.
3599
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3600
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3601
+ # deprecated and replaced by the name field.
3596
3602
  # Corresponds to the JSON property `projectId`
3597
3603
  # @return [String]
3598
3604
  attr_accessor :project_id
3599
3605
 
3600
- # Deprecated. The name of the Google Compute Engine
3601
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3602
- # cluster resides. This field has been deprecated and replaced by the name
3603
- # field.
3606
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3607
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3608
+ # been deprecated and replaced by the name field.
3604
3609
  # Corresponds to the JSON property `zone`
3605
3610
  # @return [String]
3606
3611
  attr_accessor :zone
@@ -3629,36 +3634,35 @@ module Google
3629
3634
  # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
3630
3635
  attr_accessor :autoscaling
3631
3636
 
3632
- # Deprecated. The name of the cluster to upgrade.
3633
- # This field has been deprecated and replaced by the name field.
3637
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3638
+ # and replaced by the name field.
3634
3639
  # Corresponds to the JSON property `clusterId`
3635
3640
  # @return [String]
3636
3641
  attr_accessor :cluster_id
3637
3642
 
3638
3643
  # The name (project, location, cluster, node pool) of the node pool to set
3639
- # autoscaler settings. Specified in the format
3640
- # `projects/*/locations/*/clusters/*/nodePools/*`.
3644
+ # autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*
3645
+ # /nodePools/*`.
3641
3646
  # Corresponds to the JSON property `name`
3642
3647
  # @return [String]
3643
3648
  attr_accessor :name
3644
3649
 
3645
- # Deprecated. The name of the node pool to upgrade.
3646
- # This field has been deprecated and replaced by the name field.
3650
+ # Deprecated. The name of the node pool to upgrade. This field has been
3651
+ # deprecated and replaced by the name field.
3647
3652
  # Corresponds to the JSON property `nodePoolId`
3648
3653
  # @return [String]
3649
3654
  attr_accessor :node_pool_id
3650
3655
 
3651
- # Deprecated. The Google Developers Console [project ID or project
3652
- # number](https://support.google.com/cloud/answer/6158840).
3653
- # This field has been deprecated and replaced by the name field.
3656
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3657
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3658
+ # replaced by the name field.
3654
3659
  # Corresponds to the JSON property `projectId`
3655
3660
  # @return [String]
3656
3661
  attr_accessor :project_id
3657
3662
 
3658
- # Deprecated. The name of the Google Compute Engine
3659
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3660
- # cluster resides. This field has been deprecated and replaced by the name
3661
- # field.
3663
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3664
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3665
+ # been deprecated and replaced by the name field.
3662
3666
  # Corresponds to the JSON property `zone`
3663
3667
  # @return [String]
3664
3668
  attr_accessor :zone
@@ -3683,8 +3687,8 @@ module Google
3683
3687
  class SetNodePoolManagementRequest
3684
3688
  include Google::Apis::Core::Hashable
3685
3689
 
3686
- # Deprecated. The name of the cluster to update.
3687
- # This field has been deprecated and replaced by the name field.
3690
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3691
+ # and replaced by the name field.
3688
3692
  # Corresponds to the JSON property `clusterId`
3689
3693
  # @return [String]
3690
3694
  attr_accessor :cluster_id
@@ -3696,29 +3700,28 @@ module Google
3696
3700
  attr_accessor :management
3697
3701
 
3698
3702
  # The name (project, location, cluster, node pool id) of the node pool to set
3699
- # management properties. Specified in the format
3700
- # `projects/*/locations/*/clusters/*/nodePools/*`.
3703
+ # management properties. Specified in the format `projects/*/locations/*/
3704
+ # clusters/*/nodePools/*`.
3701
3705
  # Corresponds to the JSON property `name`
3702
3706
  # @return [String]
3703
3707
  attr_accessor :name
3704
3708
 
3705
- # Deprecated. The name of the node pool to update.
3706
- # This field has been deprecated and replaced by the name field.
3709
+ # Deprecated. The name of the node pool to update. This field has been
3710
+ # deprecated and replaced by the name field.
3707
3711
  # Corresponds to the JSON property `nodePoolId`
3708
3712
  # @return [String]
3709
3713
  attr_accessor :node_pool_id
3710
3714
 
3711
- # Deprecated. The Google Developers Console [project ID or project
3712
- # number](https://support.google.com/cloud/answer/6158840).
3713
- # This field has been deprecated and replaced by the name field.
3715
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3716
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3717
+ # replaced by the name field.
3714
3718
  # Corresponds to the JSON property `projectId`
3715
3719
  # @return [String]
3716
3720
  attr_accessor :project_id
3717
3721
 
3718
- # Deprecated. The name of the Google Compute Engine
3719
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3720
- # cluster resides. This field has been deprecated and replaced by the name
3721
- # field.
3722
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3723
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3724
+ # been deprecated and replaced by the name field.
3722
3725
  # Corresponds to the JSON property `zone`
3723
3726
  # @return [String]
3724
3727
  attr_accessor :zone
@@ -3738,20 +3741,18 @@ module Google
3738
3741
  end
3739
3742
  end
3740
3743
 
3741
- # SetNodePoolSizeRequest sets the size a node
3742
- # pool.
3744
+ # SetNodePoolSizeRequest sets the size a node pool.
3743
3745
  class SetNodePoolSizeRequest
3744
3746
  include Google::Apis::Core::Hashable
3745
3747
 
3746
- # Deprecated. The name of the cluster to update.
3747
- # This field has been deprecated and replaced by the name field.
3748
+ # Deprecated. The name of the cluster to update. This field has been deprecated
3749
+ # and replaced by the name field.
3748
3750
  # Corresponds to the JSON property `clusterId`
3749
3751
  # @return [String]
3750
3752
  attr_accessor :cluster_id
3751
3753
 
3752
3754
  # The name (project, location, cluster, node pool id) of the node pool to set
3753
- # size.
3754
- # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3755
+ # size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
3755
3756
  # Corresponds to the JSON property `name`
3756
3757
  # @return [String]
3757
3758
  attr_accessor :name
@@ -3761,23 +3762,22 @@ module Google
3761
3762
  # @return [Fixnum]
3762
3763
  attr_accessor :node_count
3763
3764
 
3764
- # Deprecated. The name of the node pool to update.
3765
- # This field has been deprecated and replaced by the name field.
3765
+ # Deprecated. The name of the node pool to update. This field has been
3766
+ # deprecated and replaced by the name field.
3766
3767
  # Corresponds to the JSON property `nodePoolId`
3767
3768
  # @return [String]
3768
3769
  attr_accessor :node_pool_id
3769
3770
 
3770
- # Deprecated. The Google Developers Console [project ID or project
3771
- # number](https://support.google.com/cloud/answer/6158840).
3772
- # This field has been deprecated and replaced by the name field.
3771
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3772
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3773
+ # replaced by the name field.
3773
3774
  # Corresponds to the JSON property `projectId`
3774
3775
  # @return [String]
3775
3776
  attr_accessor :project_id
3776
3777
 
3777
- # Deprecated. The name of the Google Compute Engine
3778
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3779
- # cluster resides. This field has been deprecated and replaced by the name
3780
- # field.
3778
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3779
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3780
+ # been deprecated and replaced by the name field.
3781
3781
  # Corresponds to the JSON property `zone`
3782
3782
  # @return [String]
3783
3783
  attr_accessor :zone
@@ -3801,20 +3801,20 @@ module Google
3801
3801
  class ShieldedInstanceConfig
3802
3802
  include Google::Apis::Core::Hashable
3803
3803
 
3804
- # Defines whether the instance has integrity monitoring enabled.
3805
- # Enables monitoring and attestation of the boot integrity of the instance.
3806
- # The attestation is performed against the integrity policy baseline. This
3807
- # baseline is initially derived from the implicitly trusted boot image when
3808
- # the instance is created.
3804
+ # Defines whether the instance has integrity monitoring enabled. Enables
3805
+ # monitoring and attestation of the boot integrity of the instance. The
3806
+ # attestation is performed against the integrity policy baseline. This baseline
3807
+ # is initially derived from the implicitly trusted boot image when the instance
3808
+ # is created.
3809
3809
  # Corresponds to the JSON property `enableIntegrityMonitoring`
3810
3810
  # @return [Boolean]
3811
3811
  attr_accessor :enable_integrity_monitoring
3812
3812
  alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
3813
3813
 
3814
- # Defines whether the instance has Secure Boot enabled.
3815
- # Secure Boot helps ensure that the system only runs authentic software by
3816
- # verifying the digital signature of all boot components, and halting the
3817
- # boot process if signature verification fails.
3814
+ # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure
3815
+ # that the system only runs authentic software by verifying the digital
3816
+ # signature of all boot components, and halting the boot process if signature
3817
+ # verification fails.
3818
3818
  # Corresponds to the JSON property `enableSecureBoot`
3819
3819
  # @return [Boolean]
3820
3820
  attr_accessor :enable_secure_boot
@@ -3851,26 +3851,26 @@ module Google
3851
3851
  end
3852
3852
  end
3853
3853
 
3854
- # StartIPRotationRequest creates a new IP for the cluster and then performs
3855
- # a node upgrade on each node pool to point to the new IP.
3854
+ # StartIPRotationRequest creates a new IP for the cluster and then performs a
3855
+ # node upgrade on each node pool to point to the new IP.
3856
3856
  class StartIpRotationRequest
3857
3857
  include Google::Apis::Core::Hashable
3858
3858
 
3859
- # Deprecated. The name of the cluster.
3860
- # This field has been deprecated and replaced by the name field.
3859
+ # Deprecated. The name of the cluster. This field has been deprecated and
3860
+ # replaced by the name field.
3861
3861
  # Corresponds to the JSON property `clusterId`
3862
3862
  # @return [String]
3863
3863
  attr_accessor :cluster_id
3864
3864
 
3865
- # The name (project, location, cluster id) of the cluster to start IP
3866
- # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
3865
+ # The name (project, location, cluster id) of the cluster to start IP rotation.
3866
+ # Specified in the format `projects/*/locations/*/clusters/*`.
3867
3867
  # Corresponds to the JSON property `name`
3868
3868
  # @return [String]
3869
3869
  attr_accessor :name
3870
3870
 
3871
- # Deprecated. The Google Developers Console [project ID or project
3872
- # number](https://developers.google.com/console/help/new/#projectnumber).
3873
- # This field has been deprecated and replaced by the name field.
3871
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3872
+ # //developers.google.com/console/help/new/#projectnumber). This field has been
3873
+ # deprecated and replaced by the name field.
3874
3874
  # Corresponds to the JSON property `projectId`
3875
3875
  # @return [String]
3876
3876
  attr_accessor :project_id
@@ -3881,10 +3881,9 @@ module Google
3881
3881
  attr_accessor :rotate_credentials
3882
3882
  alias_method :rotate_credentials?, :rotate_credentials
3883
3883
 
3884
- # Deprecated. The name of the Google Compute Engine
3885
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3886
- # cluster resides. This field has been deprecated and replaced by the name
3887
- # field.
3884
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3885
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3886
+ # been deprecated and replaced by the name field.
3888
3887
  # Corresponds to the JSON property `zone`
3889
3888
  # @return [String]
3890
3889
  attr_accessor :zone
@@ -3903,8 +3902,8 @@ module Google
3903
3902
  end
3904
3903
  end
3905
3904
 
3906
- # StatusCondition describes why a cluster or a node pool has a certain status
3907
- # (e.g., ERROR or DEGRADED).
3905
+ # StatusCondition describes why a cluster or a node pool has a certain status (e.
3906
+ # g., ERROR or DEGRADED).
3908
3907
  class StatusCondition
3909
3908
  include Google::Apis::Core::Hashable
3910
3909
 
@@ -3933,8 +3932,8 @@ module Google
3933
3932
  class TimeWindow
3934
3933
  include Google::Apis::Core::Hashable
3935
3934
 
3936
- # The time that the window ends. The end time should take place after the
3937
- # start time.
3935
+ # The time that the window ends. The end time should take place after the start
3936
+ # time.
3938
3937
  # Corresponds to the JSON property `endTime`
3939
3938
  # @return [String]
3940
3939
  attr_accessor :end_time
@@ -3959,36 +3958,34 @@ module Google
3959
3958
  class UpdateClusterRequest
3960
3959
  include Google::Apis::Core::Hashable
3961
3960
 
3962
- # Deprecated. The name of the cluster to upgrade.
3963
- # This field has been deprecated and replaced by the name field.
3961
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
3962
+ # and replaced by the name field.
3964
3963
  # Corresponds to the JSON property `clusterId`
3965
3964
  # @return [String]
3966
3965
  attr_accessor :cluster_id
3967
3966
 
3968
- # The name (project, location, cluster) of the cluster to update.
3969
- # Specified in the format `projects/*/locations/*/clusters/*`.
3967
+ # The name (project, location, cluster) of the cluster to update. Specified in
3968
+ # the format `projects/*/locations/*/clusters/*`.
3970
3969
  # Corresponds to the JSON property `name`
3971
3970
  # @return [String]
3972
3971
  attr_accessor :name
3973
3972
 
3974
- # Deprecated. The Google Developers Console [project ID or project
3975
- # number](https://support.google.com/cloud/answer/6158840).
3976
- # This field has been deprecated and replaced by the name field.
3973
+ # Deprecated. The Google Developers Console [project ID or project number](https:
3974
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
3975
+ # replaced by the name field.
3977
3976
  # Corresponds to the JSON property `projectId`
3978
3977
  # @return [String]
3979
3978
  attr_accessor :project_id
3980
3979
 
3981
- # ClusterUpdate describes an update to the cluster. Exactly one update can
3982
- # be applied to a cluster with each request, so at most one field can be
3983
- # provided.
3980
+ # ClusterUpdate describes an update to the cluster. Exactly one update can be
3981
+ # applied to a cluster with each request, so at most one field can be provided.
3984
3982
  # Corresponds to the JSON property `update`
3985
3983
  # @return [Google::Apis::ContainerV1::ClusterUpdate]
3986
3984
  attr_accessor :update
3987
3985
 
3988
- # Deprecated. The name of the Google Compute Engine
3989
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3990
- # cluster resides. This field has been deprecated and replaced by the name
3991
- # field.
3986
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
3987
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
3988
+ # been deprecated and replaced by the name field.
3992
3989
  # Corresponds to the JSON property `zone`
3993
3990
  # @return [String]
3994
3991
  attr_accessor :zone
@@ -4011,41 +4008,39 @@ module Google
4011
4008
  class UpdateMasterRequest
4012
4009
  include Google::Apis::Core::Hashable
4013
4010
 
4014
- # Deprecated. The name of the cluster to upgrade.
4015
- # This field has been deprecated and replaced by the name field.
4011
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
4012
+ # and replaced by the name field.
4016
4013
  # Corresponds to the JSON property `clusterId`
4017
4014
  # @return [String]
4018
4015
  attr_accessor :cluster_id
4019
4016
 
4020
- # Required. The Kubernetes version to change the master to.
4021
- # Users may specify either explicit versions offered by Kubernetes Engine or
4022
- # version aliases, which have the following behavior:
4023
- # - "latest": picks the highest valid Kubernetes version
4024
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
4025
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
4026
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
4027
- # - "-": picks the default Kubernetes version
4017
+ # Required. The Kubernetes version to change the master to. Users may specify
4018
+ # either explicit versions offered by Kubernetes Engine or version aliases,
4019
+ # which have the following behavior: - "latest": picks the highest valid
4020
+ # Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.
4021
+ # X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version -
4022
+ # "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default
4023
+ # Kubernetes version
4028
4024
  # Corresponds to the JSON property `masterVersion`
4029
4025
  # @return [String]
4030
4026
  attr_accessor :master_version
4031
4027
 
4032
- # The name (project, location, cluster) of the cluster to update.
4033
- # Specified in the format `projects/*/locations/*/clusters/*`.
4028
+ # The name (project, location, cluster) of the cluster to update. Specified in
4029
+ # the format `projects/*/locations/*/clusters/*`.
4034
4030
  # Corresponds to the JSON property `name`
4035
4031
  # @return [String]
4036
4032
  attr_accessor :name
4037
4033
 
4038
- # Deprecated. The Google Developers Console [project ID or project
4039
- # number](https://support.google.com/cloud/answer/6158840).
4040
- # This field has been deprecated and replaced by the name field.
4034
+ # Deprecated. The Google Developers Console [project ID or project number](https:
4035
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
4036
+ # replaced by the name field.
4041
4037
  # Corresponds to the JSON property `projectId`
4042
4038
  # @return [String]
4043
4039
  attr_accessor :project_id
4044
4040
 
4045
- # 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.
4041
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
4042
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
4043
+ # been deprecated and replaced by the name field.
4049
4044
  # Corresponds to the JSON property `zone`
4050
4045
  # @return [String]
4051
4046
  attr_accessor :zone
@@ -4068,8 +4063,8 @@ module Google
4068
4063
  class UpdateNodePoolRequest
4069
4064
  include Google::Apis::Core::Hashable
4070
4065
 
4071
- # Deprecated. The name of the cluster to upgrade.
4072
- # This field has been deprecated and replaced by the name field.
4066
+ # Deprecated. The name of the cluster to upgrade. This field has been deprecated
4067
+ # and replaced by the name field.
4073
4068
  # Corresponds to the JSON property `clusterId`
4074
4069
  # @return [String]
4075
4070
  attr_accessor :cluster_id
@@ -4079,66 +4074,59 @@ module Google
4079
4074
  # @return [String]
4080
4075
  attr_accessor :image_type
4081
4076
 
4082
- # The desired list of Google Compute Engine
4083
- # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
4084
- # node pool's nodes should be located. Changing the locations for a node pool
4085
- # will result in nodes being either created or removed from the node pool,
4086
- # depending on whether locations are being added or removed.
4077
+ # The desired list of Google Compute Engine [zones](https://cloud.google.com/
4078
+ # compute/docs/zones#available) in which the node pool's nodes should be located.
4079
+ # Changing the locations for a node pool will result in nodes being either
4080
+ # created or removed from the node pool, depending on whether locations are
4081
+ # being added or removed.
4087
4082
  # Corresponds to the JSON property `locations`
4088
4083
  # @return [Array<String>]
4089
4084
  attr_accessor :locations
4090
4085
 
4091
- # The name (project, location, cluster, node pool) of the node pool to
4092
- # update. Specified in the format
4093
- # `projects/*/locations/*/clusters/*/nodePools/*`.
4086
+ # The name (project, location, cluster, node pool) of the node pool to update.
4087
+ # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
4094
4088
  # Corresponds to the JSON property `name`
4095
4089
  # @return [String]
4096
4090
  attr_accessor :name
4097
4091
 
4098
- # Deprecated. The name of the node pool to upgrade.
4099
- # This field has been deprecated and replaced by the name field.
4092
+ # Deprecated. The name of the node pool to upgrade. This field has been
4093
+ # deprecated and replaced by the name field.
4100
4094
  # Corresponds to the JSON property `nodePoolId`
4101
4095
  # @return [String]
4102
4096
  attr_accessor :node_pool_id
4103
4097
 
4104
- # Required. The Kubernetes version to change the nodes to (typically an
4105
- # upgrade).
4098
+ # Required. The Kubernetes version to change the nodes to (typically an upgrade).
4106
4099
  # Users may specify either explicit versions offered by Kubernetes Engine or
4107
- # version aliases, which have the following behavior:
4108
- # - "latest": picks the highest valid Kubernetes version
4109
- # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
4110
- # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
4111
- # - "1.X.Y-gke.N": picks an explicit Kubernetes version
4112
- # - "-": picks the Kubernetes master version
4100
+ # version aliases, which have the following behavior: - "latest": picks the
4101
+ # highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N
4102
+ # patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the
4103
+ # 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-":
4104
+ # picks the Kubernetes master version
4113
4105
  # Corresponds to the JSON property `nodeVersion`
4114
4106
  # @return [String]
4115
4107
  attr_accessor :node_version
4116
4108
 
4117
- # Deprecated. The Google Developers Console [project ID or project
4118
- # number](https://support.google.com/cloud/answer/6158840).
4119
- # This field has been deprecated and replaced by the name field.
4109
+ # Deprecated. The Google Developers Console [project ID or project number](https:
4110
+ # //support.google.com/cloud/answer/6158840). This field has been deprecated and
4111
+ # replaced by the name field.
4120
4112
  # Corresponds to the JSON property `projectId`
4121
4113
  # @return [String]
4122
4114
  attr_accessor :project_id
4123
4115
 
4124
4116
  # These upgrade settings control the level of parallelism and the level of
4125
- # disruption caused by an upgrade.
4126
- # maxUnavailable controls the number of nodes that can be simultaneously
4127
- # unavailable.
4128
- # maxSurge controls the number of additional nodes that can be added to the
4129
- # node pool temporarily for the time of the upgrade to increase the number of
4130
- # available nodes.
4131
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
4132
- # nodes are being upgraded at the same time).
4133
- # Note: upgrades inevitably introduce some disruption since workloads need to
4134
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
4135
- # this holds true. (Disruption stays within the limits of
4136
- # PodDisruptionBudget, if it is configured.)
4137
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
4138
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
4139
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
4140
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
4141
- # there are always at least 4 nodes available.
4117
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
4118
+ # that can be simultaneously unavailable. maxSurge controls the number of
4119
+ # additional nodes that can be added to the node pool temporarily for the time
4120
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
4121
+ # maxSurge) determines the level of parallelism (how many nodes are being
4122
+ # upgraded at the same time). Note: upgrades inevitably introduce some
4123
+ # disruption since workloads need to be moved from old nodes to new, upgraded
4124
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
4125
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
4126
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
4127
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
4128
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
4129
+ # same time. This ensures that there are always at least 4 nodes available.
4142
4130
  # Corresponds to the JSON property `upgradeSettings`
4143
4131
  # @return [Google::Apis::ContainerV1::UpgradeSettings]
4144
4132
  attr_accessor :upgrade_settings
@@ -4149,10 +4137,9 @@ module Google
4149
4137
  # @return [Google::Apis::ContainerV1::WorkloadMetadataConfig]
4150
4138
  attr_accessor :workload_metadata_config
4151
4139
 
4152
- # Deprecated. The name of the Google Compute Engine
4153
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4154
- # cluster resides. This field has been deprecated and replaced by the name
4155
- # field.
4140
+ # Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
4141
+ # com/compute/docs/zones#available) in which the cluster resides. This field has
4142
+ # been deprecated and replaced by the name field.
4156
4143
  # Corresponds to the JSON property `zone`
4157
4144
  # @return [String]
4158
4145
  attr_accessor :zone
@@ -4176,36 +4163,82 @@ module Google
4176
4163
  end
4177
4164
  end
4178
4165
 
4166
+ # UpgradeEvent is a notification sent to customers by the cluster server when a
4167
+ # resource is upgrading.
4168
+ class UpgradeEvent
4169
+ include Google::Apis::Core::Hashable
4170
+
4171
+ # Required. The current version before the upgrade.
4172
+ # Corresponds to the JSON property `currentVersion`
4173
+ # @return [String]
4174
+ attr_accessor :current_version
4175
+
4176
+ # Required. The operation associated with this upgrade.
4177
+ # Corresponds to the JSON property `operation`
4178
+ # @return [String]
4179
+ attr_accessor :operation
4180
+
4181
+ # Required. The time when the operation was started.
4182
+ # Corresponds to the JSON property `operationStartTime`
4183
+ # @return [String]
4184
+ attr_accessor :operation_start_time
4185
+
4186
+ # Optional. Optional relative path to the resource. For example in node pool
4187
+ # upgrades, the relative path of the node pool.
4188
+ # Corresponds to the JSON property `resource`
4189
+ # @return [String]
4190
+ attr_accessor :resource
4191
+
4192
+ # Required. The resource type that is upgrading.
4193
+ # Corresponds to the JSON property `resourceType`
4194
+ # @return [String]
4195
+ attr_accessor :resource_type
4196
+
4197
+ # Required. The target version for the upgrade.
4198
+ # Corresponds to the JSON property `targetVersion`
4199
+ # @return [String]
4200
+ attr_accessor :target_version
4201
+
4202
+ def initialize(**args)
4203
+ update!(**args)
4204
+ end
4205
+
4206
+ # Update properties of this object
4207
+ def update!(**args)
4208
+ @current_version = args[:current_version] if args.key?(:current_version)
4209
+ @operation = args[:operation] if args.key?(:operation)
4210
+ @operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
4211
+ @resource = args[:resource] if args.key?(:resource)
4212
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
4213
+ @target_version = args[:target_version] if args.key?(:target_version)
4214
+ end
4215
+ end
4216
+
4179
4217
  # These upgrade settings control the level of parallelism and the level of
4180
- # disruption caused by an upgrade.
4181
- # maxUnavailable controls the number of nodes that can be simultaneously
4182
- # unavailable.
4183
- # maxSurge controls the number of additional nodes that can be added to the
4184
- # node pool temporarily for the time of the upgrade to increase the number of
4185
- # available nodes.
4186
- # (maxUnavailable + maxSurge) determines the level of parallelism (how many
4187
- # nodes are being upgraded at the same time).
4188
- # Note: upgrades inevitably introduce some disruption since workloads need to
4189
- # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
4190
- # this holds true. (Disruption stays within the limits of
4191
- # PodDisruptionBudget, if it is configured.)
4192
- # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
4193
- # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
4194
- # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
4195
- # down 3 old (not yet upgraded) nodes at the same time. This ensures that
4196
- # there are always at least 4 nodes available.
4218
+ # disruption caused by an upgrade. maxUnavailable controls the number of nodes
4219
+ # that can be simultaneously unavailable. maxSurge controls the number of
4220
+ # additional nodes that can be added to the node pool temporarily for the time
4221
+ # of the upgrade to increase the number of available nodes. (maxUnavailable +
4222
+ # maxSurge) determines the level of parallelism (how many nodes are being
4223
+ # upgraded at the same time). Note: upgrades inevitably introduce some
4224
+ # disruption since workloads need to be moved from old nodes to new, upgraded
4225
+ # ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the
4226
+ # limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical
4227
+ # node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the
4228
+ # upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
4229
+ # upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
4230
+ # same time. This ensures that there are always at least 4 nodes available.
4197
4231
  class UpgradeSettings
4198
4232
  include Google::Apis::Core::Hashable
4199
4233
 
4200
- # The maximum number of nodes that can be created beyond the current size
4201
- # of the node pool during the upgrade process.
4234
+ # The maximum number of nodes that can be created beyond the current size of the
4235
+ # node pool during the upgrade process.
4202
4236
  # Corresponds to the JSON property `maxSurge`
4203
4237
  # @return [Fixnum]
4204
4238
  attr_accessor :max_surge
4205
4239
 
4206
- # The maximum number of nodes that can be simultaneously unavailable during
4207
- # the upgrade process. A node is considered available if its status is
4208
- # Ready.
4240
+ # The maximum number of nodes that can be simultaneously unavailable during the
4241
+ # upgrade process. A node is considered available if its status is Ready.
4209
4242
  # Corresponds to the JSON property `maxUnavailable`
4210
4243
  # @return [Fixnum]
4211
4244
  attr_accessor :max_unavailable
@@ -4231,8 +4264,7 @@ module Google
4231
4264
  # @return [String]
4232
4265
  attr_accessor :ip_cidr_range
4233
4266
 
4234
- # Network Name.
4235
- # Example: projects/my-project/global/networks/my-network
4267
+ # Network Name. Example: projects/my-project/global/networks/my-network
4236
4268
  # Corresponds to the JSON property `network`
4237
4269
  # @return [String]
4238
4270
  attr_accessor :network
@@ -4242,16 +4274,16 @@ module Google
4242
4274
  # @return [Array<Google::Apis::ContainerV1::UsableSubnetworkSecondaryRange>]
4243
4275
  attr_accessor :secondary_ip_ranges
4244
4276
 
4245
- # A human readable status message representing the reasons for cases where
4246
- # the caller cannot use the secondary ranges under the subnet. For example if
4247
- # the secondary_ip_ranges is empty due to a permission issue, an insufficient
4277
+ # A human readable status message representing the reasons for cases where the
4278
+ # caller cannot use the secondary ranges under the subnet. For example if the
4279
+ # secondary_ip_ranges is empty due to a permission issue, an insufficient
4248
4280
  # permission message will be given by status_message.
4249
4281
  # Corresponds to the JSON property `statusMessage`
4250
4282
  # @return [String]
4251
4283
  attr_accessor :status_message
4252
4284
 
4253
- # Subnetwork Name.
4254
- # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
4285
+ # Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/
4286
+ # my-subnet
4255
4287
  # Corresponds to the JSON property `subnetwork`
4256
4288
  # @return [String]
4257
4289
  attr_accessor :subnetwork
@@ -4279,8 +4311,8 @@ module Google
4279
4311
  # @return [String]
4280
4312
  attr_accessor :ip_cidr_range
4281
4313
 
4282
- # The name associated with this subnetwork secondary range, used when adding
4283
- # an alias IP range to a VM instance.
4314
+ # The name associated with this subnetwork secondary range, used when adding an
4315
+ # alias IP range to a VM instance.
4284
4316
  # Corresponds to the JSON property `rangeName`
4285
4317
  # @return [String]
4286
4318
  attr_accessor :range_name
@@ -4302,9 +4334,9 @@ module Google
4302
4334
  end
4303
4335
  end
4304
4336
 
4305
- # VerticalPodAutoscaling contains global, per-cluster information
4306
- # required by Vertical Pod Autoscaler to automatically adjust
4307
- # the resources of pods controlled by it.
4337
+ # VerticalPodAutoscaling contains global, per-cluster information required by
4338
+ # Vertical Pod Autoscaler to automatically adjust the resources of pods
4339
+ # controlled by it.
4308
4340
  class VerticalPodAutoscaling
4309
4341
  include Google::Apis::Core::Hashable
4310
4342
 
@@ -4324,8 +4356,7 @@ module Google
4324
4356
  end
4325
4357
  end
4326
4358
 
4327
- # Configuration for the use of Kubernetes Service Accounts in GCP IAM
4328
- # policies.
4359
+ # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
4329
4360
  class WorkloadIdentityConfig
4330
4361
  include Google::Apis::Core::Hashable
4331
4362
 
@@ -4349,8 +4380,8 @@ module Google
4349
4380
  class WorkloadMetadataConfig
4350
4381
  include Google::Apis::Core::Hashable
4351
4382
 
4352
- # Mode is the configuration for how to expose metadata to workloads running
4353
- # on the node pool.
4383
+ # Mode is the configuration for how to expose metadata to workloads running on
4384
+ # the node pool.
4354
4385
  # Corresponds to the JSON property `mode`
4355
4386
  # @return [String]
4356
4387
  attr_accessor :mode