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