google-api-client 0.19.8 → 0.20.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 (355) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -4
  3. data/CHANGELOG.md +106 -0
  4. data/MIGRATING.md +3 -3
  5. data/README.md +6 -9
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -7
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -8
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +84 -9
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  13. data/generated/google/apis/admin_directory_v1.rb +1 -1
  14. data/generated/google/apis/admin_directory_v1/classes.rb +11 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +21 -7
  16. data/generated/google/apis/analytics_v3.rb +1 -1
  17. data/generated/google/apis/analytics_v3/service.rb +1 -1
  18. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  19. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +52 -35
  20. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +33 -20
  21. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  22. data/generated/google/apis/androidenterprise_v1/classes.rb +44 -0
  23. data/generated/google/apis/androidenterprise_v1/representations.rb +17 -0
  24. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  25. data/generated/google/apis/androidmanagement_v1/classes.rb +66 -0
  26. data/generated/google/apis/androidmanagement_v1/representations.rb +10 -0
  27. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  28. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -72
  29. data/generated/google/apis/androidpublisher_v2/representations.rb +5 -34
  30. data/generated/google/apis/androidpublisher_v2/service.rb +6 -52
  31. data/generated/google/apis/appengine_v1.rb +2 -2
  32. data/generated/google/apis/appengine_v1/classes.rb +82 -7
  33. data/generated/google/apis/appengine_v1/representations.rb +32 -0
  34. data/generated/google/apis/appengine_v1/service.rb +2 -2
  35. data/generated/google/apis/appengine_v1alpha.rb +2 -2
  36. data/generated/google/apis/appengine_v1alpha/classes.rb +35 -0
  37. data/generated/google/apis/appengine_v1alpha/representations.rb +16 -0
  38. data/generated/google/apis/appengine_v1alpha/service.rb +2 -2
  39. data/generated/google/apis/appengine_v1beta.rb +2 -2
  40. data/generated/google/apis/appengine_v1beta/classes.rb +51 -7
  41. data/generated/google/apis/appengine_v1beta/representations.rb +17 -0
  42. data/generated/google/apis/appengine_v1beta/service.rb +2 -2
  43. data/generated/google/apis/appengine_v1beta4.rb +2 -2
  44. data/generated/google/apis/appengine_v1beta4/classes.rb +50 -6
  45. data/generated/google/apis/appengine_v1beta4/representations.rb +17 -0
  46. data/generated/google/apis/appengine_v1beta4/service.rb +2 -2
  47. data/generated/google/apis/appengine_v1beta5.rb +2 -2
  48. data/generated/google/apis/appengine_v1beta5/classes.rb +50 -6
  49. data/generated/google/apis/appengine_v1beta5/representations.rb +17 -0
  50. data/generated/google/apis/appengine_v1beta5/service.rb +2 -2
  51. data/generated/google/apis/bigquery_v2.rb +1 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +19 -11
  53. data/generated/google/apis/bigquery_v2/representations.rb +4 -3
  54. data/generated/google/apis/bigquery_v2/service.rb +9 -1
  55. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  56. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +9 -6
  57. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  58. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1 -1
  59. data/generated/google/apis/calendar_v3.rb +1 -1
  60. data/generated/google/apis/calendar_v3/classes.rb +3 -1
  61. data/generated/google/apis/{firebaseremoteconfig_v1.rb → chat_v1.rb} +8 -9
  62. data/generated/google/apis/chat_v1/classes.rb +890 -0
  63. data/generated/google/apis/chat_v1/representations.rb +445 -0
  64. data/generated/google/apis/chat_v1/service.rb +344 -0
  65. data/generated/google/apis/cloudbilling_v1.rb +2 -2
  66. data/generated/google/apis/cloudbilling_v1/classes.rb +341 -5
  67. data/generated/google/apis/cloudbilling_v1/representations.rb +103 -0
  68. data/generated/google/apis/cloudbilling_v1/service.rb +217 -10
  69. data/generated/google/apis/cloudbuild_v1.rb +2 -2
  70. data/generated/google/apis/cloudbuild_v1/classes.rb +180 -84
  71. data/generated/google/apis/cloudbuild_v1/representations.rb +35 -0
  72. data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
  73. data/generated/google/apis/cloudiot_v1.rb +2 -2
  74. data/generated/google/apis/cloudiot_v1/classes.rb +13 -142
  75. data/generated/google/apis/cloudiot_v1/representations.rb +0 -32
  76. data/generated/google/apis/cloudiot_v1/service.rb +2 -2
  77. data/generated/google/apis/cloudkms_v1.rb +1 -1
  78. data/generated/google/apis/cloudkms_v1/classes.rb +7 -1
  79. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  80. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  81. data/generated/google/apis/cloudresourcemanager_v1.rb +2 -2
  82. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -2
  83. data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -5
  84. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +2 -2
  85. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -6
  87. data/generated/google/apis/{clouduseraccounts_beta.rb → cloudresourcemanager_v2.rb} +10 -16
  88. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +821 -0
  89. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +304 -0
  90. data/generated/google/apis/cloudresourcemanager_v2/service.rb +534 -0
  91. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +2 -2
  92. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  93. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  94. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +7 -0
  95. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  96. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  97. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -0
  98. data/generated/google/apis/compute_alpha.rb +1 -1
  99. data/generated/google/apis/compute_alpha/classes.rb +216 -120
  100. data/generated/google/apis/compute_alpha/representations.rb +25 -1
  101. data/generated/google/apis/compute_alpha/service.rb +1354 -1621
  102. data/generated/google/apis/compute_beta.rb +1 -1
  103. data/generated/google/apis/compute_beta/classes.rb +548 -85
  104. data/generated/google/apis/compute_beta/representations.rb +159 -0
  105. data/generated/google/apis/compute_beta/service.rb +1971 -1460
  106. data/generated/google/apis/compute_v1.rb +1 -1
  107. data/generated/google/apis/compute_v1/classes.rb +206 -70
  108. data/generated/google/apis/compute_v1/representations.rb +32 -0
  109. data/generated/google/apis/compute_v1/service.rb +1184 -1278
  110. data/generated/google/apis/container_v1.rb +1 -1
  111. data/generated/google/apis/container_v1/classes.rb +742 -9
  112. data/generated/google/apis/container_v1/representations.rb +90 -0
  113. data/generated/google/apis/container_v1/service.rb +1380 -100
  114. data/generated/google/apis/container_v1beta1.rb +1 -1
  115. data/generated/google/apis/container_v1beta1/classes.rb +191 -138
  116. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  117. data/generated/google/apis/container_v1beta1/service.rb +236 -231
  118. data/generated/google/apis/content_v2.rb +1 -1
  119. data/generated/google/apis/content_v2/classes.rb +2690 -1540
  120. data/generated/google/apis/content_v2/representations.rb +491 -0
  121. data/generated/google/apis/content_v2/service.rb +684 -0
  122. data/generated/google/apis/content_v2sandbox.rb +1 -1
  123. data/generated/google/apis/content_v2sandbox/classes.rb +2 -1
  124. data/generated/google/apis/dataflow_v1b3.rb +2 -2
  125. data/generated/google/apis/dataflow_v1b3/classes.rb +95 -0
  126. data/generated/google/apis/dataflow_v1b3/representations.rb +36 -0
  127. data/generated/google/apis/dataflow_v1b3/service.rb +1 -1
  128. data/generated/google/apis/dataproc_v1.rb +1 -1
  129. data/generated/google/apis/dataproc_v1/classes.rb +56 -45
  130. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  131. data/generated/google/apis/dataproc_v1/service.rb +30 -3
  132. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  133. data/generated/google/apis/dataproc_v1beta2/classes.rb +77 -53
  134. data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
  135. data/generated/google/apis/dataproc_v1beta2/service.rb +484 -18
  136. data/generated/google/apis/datastore_v1.rb +1 -1
  137. data/generated/google/apis/datastore_v1/classes.rb +372 -0
  138. data/generated/google/apis/datastore_v1/representations.rb +132 -0
  139. data/generated/google/apis/datastore_v1/service.rb +77 -0
  140. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  141. data/generated/google/apis/datastore_v1beta1/classes.rb +255 -0
  142. data/generated/google/apis/datastore_v1beta1/representations.rb +100 -0
  143. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  144. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -0
  145. data/generated/google/apis/datastore_v1beta3/representations.rb +100 -0
  146. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  147. data/generated/google/apis/deploymentmanager_alpha/classes.rb +6 -1
  148. data/generated/google/apis/deploymentmanager_alpha/service.rb +121 -145
  149. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  150. data/generated/google/apis/deploymentmanager_v2/service.rb +79 -91
  151. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  152. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -1
  153. data/generated/google/apis/deploymentmanager_v2beta/service.rb +121 -145
  154. data/generated/google/apis/dialogflow_v2.rb +35 -0
  155. data/generated/google/apis/dialogflow_v2/classes.rb +3994 -0
  156. data/generated/google/apis/dialogflow_v2/representations.rb +1670 -0
  157. data/generated/google/apis/dialogflow_v2/service.rb +1397 -0
  158. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  159. data/generated/google/apis/dialogflow_v2beta1/classes.rb +39 -11
  160. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  161. data/generated/google/apis/dialogflow_v2beta1/service.rb +559 -16
  162. data/generated/google/apis/dlp_v2.rb +36 -0
  163. data/generated/google/apis/dlp_v2/classes.rb +6431 -0
  164. data/generated/google/apis/dlp_v2/representations.rb +3116 -0
  165. data/generated/google/apis/dlp_v2/service.rb +1300 -0
  166. data/generated/google/apis/dlp_v2beta1.rb +4 -4
  167. data/generated/google/apis/dlp_v2beta1/classes.rb +38 -0
  168. data/generated/google/apis/dlp_v2beta1/representations.rb +17 -0
  169. data/generated/google/apis/dlp_v2beta1/service.rb +3 -3
  170. data/generated/google/apis/dlp_v2beta2.rb +4 -4
  171. data/generated/google/apis/dlp_v2beta2/classes.rb +229 -1
  172. data/generated/google/apis/dlp_v2beta2/representations.rb +91 -0
  173. data/generated/google/apis/dlp_v2beta2/service.rb +3 -3
  174. data/generated/google/apis/dns_v1.rb +1 -1
  175. data/generated/google/apis/dns_v1/classes.rb +496 -0
  176. data/generated/google/apis/dns_v1/representations.rb +188 -0
  177. data/generated/google/apis/dns_v1/service.rb +319 -6
  178. data/generated/google/apis/dns_v1beta2.rb +1 -1
  179. data/generated/google/apis/dns_v1beta2/classes.rb +0 -19
  180. data/generated/google/apis/dns_v1beta2/representations.rb +0 -14
  181. data/generated/google/apis/dns_v1beta2/service.rb +2 -4
  182. data/generated/google/apis/dns_v2beta1.rb +1 -1
  183. data/generated/google/apis/dns_v2beta1/classes.rb +6 -19
  184. data/generated/google/apis/dns_v2beta1/representations.rb +1 -14
  185. data/generated/google/apis/dns_v2beta1/service.rb +2 -4
  186. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  187. data/generated/google/apis/doubleclicksearch_v2/classes.rb +4 -0
  188. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  189. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +2 -2
  190. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  191. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
  192. data/generated/google/apis/genomics_v1.rb +1 -1
  193. data/generated/google/apis/genomics_v1/classes.rb +271 -1
  194. data/generated/google/apis/genomics_v1/representations.rb +140 -0
  195. data/generated/google/apis/genomics_v1/service.rb +9 -1
  196. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  197. data/generated/google/apis/genomics_v1alpha2/classes.rb +271 -1
  198. data/generated/google/apis/genomics_v1alpha2/representations.rb +140 -0
  199. data/generated/google/apis/genomics_v1alpha2/service.rb +9 -1
  200. data/generated/google/apis/genomics_v2alpha1.rb +37 -0
  201. data/generated/google/apis/genomics_v2alpha1/classes.rb +1306 -0
  202. data/generated/google/apis/genomics_v2alpha1/representations.rb +535 -0
  203. data/generated/google/apis/genomics_v2alpha1/service.rb +261 -0
  204. data/generated/google/apis/gmail_v1.rb +1 -1
  205. data/generated/google/apis/gmail_v1/classes.rb +2 -1
  206. data/generated/google/apis/iam_v1.rb +1 -1
  207. data/generated/google/apis/iam_v1/classes.rb +1 -1
  208. data/generated/google/apis/language_v1.rb +2 -2
  209. data/generated/google/apis/language_v1/classes.rb +2 -1
  210. data/generated/google/apis/language_v1/service.rb +1 -1
  211. data/generated/google/apis/language_v1beta1.rb +2 -2
  212. data/generated/google/apis/language_v1beta1/service.rb +1 -1
  213. data/generated/google/apis/language_v1beta2.rb +2 -2
  214. data/generated/google/apis/language_v1beta2/classes.rb +2 -1
  215. data/generated/google/apis/language_v1beta2/service.rb +1 -1
  216. data/generated/google/apis/logging_v2.rb +1 -1
  217. data/generated/google/apis/logging_v2beta1.rb +1 -1
  218. data/generated/google/apis/manufacturers_v1.rb +1 -1
  219. data/generated/google/apis/manufacturers_v1/service.rb +14 -11
  220. data/generated/google/apis/ml_v1.rb +2 -2
  221. data/generated/google/apis/ml_v1/classes.rb +180 -5
  222. data/generated/google/apis/ml_v1/representations.rb +49 -0
  223. data/generated/google/apis/ml_v1/service.rb +1 -1
  224. data/generated/google/apis/monitoring_v3.rb +1 -1
  225. data/generated/google/apis/monitoring_v3/classes.rb +797 -2
  226. data/generated/google/apis/monitoring_v3/representations.rb +279 -0
  227. data/generated/google/apis/monitoring_v3/service.rb +612 -0
  228. data/generated/google/apis/oslogin_v1.rb +2 -2
  229. data/generated/google/apis/oslogin_v1/service.rb +1 -1
  230. data/generated/google/apis/oslogin_v1alpha.rb +2 -2
  231. data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
  232. data/generated/google/apis/oslogin_v1beta.rb +2 -2
  233. data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
  234. data/generated/google/apis/pagespeedonline_v4.rb +32 -0
  235. data/generated/google/apis/pagespeedonline_v4/classes.rb +795 -0
  236. data/generated/google/apis/pagespeedonline_v4/representations.rb +335 -0
  237. data/generated/google/apis/pagespeedonline_v4/service.rb +129 -0
  238. data/generated/google/apis/people_v1.rb +2 -2
  239. data/generated/google/apis/people_v1/classes.rb +5 -2
  240. data/generated/google/apis/people_v1/service.rb +9 -7
  241. data/generated/google/apis/poly_v1.rb +1 -1
  242. data/generated/google/apis/poly_v1/classes.rb +153 -0
  243. data/generated/google/apis/poly_v1/representations.rb +67 -0
  244. data/generated/google/apis/proximitybeacon_v1beta1.rb +2 -2
  245. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +1 -1
  246. data/generated/google/apis/pubsub_v1.rb +1 -1
  247. data/generated/google/apis/pubsub_v1/classes.rb +3 -0
  248. data/generated/google/apis/pubsub_v1/service.rb +7 -0
  249. data/generated/google/apis/script_v1.rb +2 -2
  250. data/generated/google/apis/script_v1/service.rb +1 -1
  251. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  252. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -126
  253. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -30
  254. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -13
  255. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  256. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
  257. data/generated/google/apis/servicecontrol_v1/service.rb +9 -6
  258. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  259. data/generated/google/apis/servicemanagement_v1/classes.rb +44 -157
  260. data/generated/google/apis/servicemanagement_v1/representations.rb +2 -48
  261. data/generated/google/apis/servicemanagement_v1/service.rb +9 -0
  262. data/generated/google/apis/{serviceusage_v1.rb → serviceusage_v1beta1.rb} +6 -6
  263. data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/classes.rb +290 -325
  264. data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/representations.rb +105 -163
  265. data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/service.rb +105 -163
  266. data/generated/google/apis/serviceuser_v1.rb +2 -2
  267. data/generated/google/apis/serviceuser_v1/classes.rb +44 -101
  268. data/generated/google/apis/serviceuser_v1/representations.rb +2 -30
  269. data/generated/google/apis/serviceuser_v1/service.rb +1 -1
  270. data/generated/google/apis/sheets_v4.rb +1 -1
  271. data/generated/google/apis/sheets_v4/classes.rb +643 -10
  272. data/generated/google/apis/sheets_v4/representations.rb +53 -0
  273. data/generated/google/apis/slides_v1.rb +1 -1
  274. data/generated/google/apis/slides_v1/classes.rb +92 -9
  275. data/generated/google/apis/slides_v1/representations.rb +21 -0
  276. data/generated/google/apis/slides_v1/service.rb +3 -2
  277. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  278. data/generated/google/apis/sourcerepo_v1/classes.rb +4 -73
  279. data/generated/google/apis/sourcerepo_v1/representations.rb +0 -20
  280. data/generated/google/apis/spanner_v1.rb +1 -1
  281. data/generated/google/apis/spanner_v1/classes.rb +238 -2
  282. data/generated/google/apis/spanner_v1/representations.rb +86 -0
  283. data/generated/google/apis/spanner_v1/service.rb +80 -0
  284. data/generated/google/apis/speech_v1.rb +2 -2
  285. data/generated/google/apis/speech_v1/classes.rb +14 -19
  286. data/generated/google/apis/speech_v1/representations.rb +0 -1
  287. data/generated/google/apis/speech_v1/service.rb +1 -1
  288. data/generated/google/apis/speech_v1beta1.rb +2 -2
  289. data/generated/google/apis/speech_v1beta1/service.rb +1 -1
  290. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  291. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -6
  292. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  293. data/generated/google/apis/storage_v1.rb +1 -1
  294. data/generated/google/apis/storage_v1/service.rb +3 -6
  295. data/generated/google/apis/storagetransfer_v1.rb +2 -2
  296. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  297. data/generated/google/apis/testing_v1.rb +1 -1
  298. data/generated/google/apis/testing_v1/classes.rb +107 -2
  299. data/generated/google/apis/testing_v1/representations.rb +38 -0
  300. data/generated/google/apis/texttospeech_v1beta1.rb +34 -0
  301. data/generated/google/apis/texttospeech_v1beta1/classes.rb +278 -0
  302. data/generated/google/apis/texttospeech_v1beta1/representations.rb +133 -0
  303. data/generated/google/apis/texttospeech_v1beta1/service.rb +128 -0
  304. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  305. data/generated/google/apis/toolresults_v1beta3/classes.rb +30 -16
  306. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  307. data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -0
  308. data/generated/google/apis/tpu_v1alpha1/representations.rb +30 -0
  309. data/generated/google/apis/tpu_v1alpha1/service.rb +73 -1
  310. data/generated/google/apis/vault_v1.rb +1 -1
  311. data/generated/google/apis/vault_v1/classes.rb +29 -3
  312. data/generated/google/apis/vault_v1/representations.rb +15 -0
  313. data/generated/google/apis/vault_v1/service.rb +8 -2
  314. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  315. data/generated/google/apis/videointelligence_v1beta1/classes.rb +650 -0
  316. data/generated/google/apis/videointelligence_v1beta1/representations.rb +315 -0
  317. data/generated/google/apis/vision_v1.rb +2 -2
  318. data/generated/google/apis/vision_v1/classes.rb +290 -2
  319. data/generated/google/apis/vision_v1/representations.rb +128 -0
  320. data/generated/google/apis/vision_v1/service.rb +187 -1
  321. data/generated/google/apis/vision_v1p1beta1.rb +2 -2
  322. data/generated/google/apis/vision_v1p1beta1/classes.rb +136 -2
  323. data/generated/google/apis/vision_v1p1beta1/representations.rb +71 -0
  324. data/generated/google/apis/vision_v1p1beta1/service.rb +1 -1
  325. data/generated/google/apis/vision_v1p2beta1.rb +39 -0
  326. data/generated/google/apis/vision_v1p2beta1/classes.rb +2172 -0
  327. data/generated/google/apis/vision_v1p2beta1/representations.rb +895 -0
  328. data/generated/google/apis/vision_v1p2beta1/service.rb +126 -0
  329. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  330. data/generated/google/apis/youtube_v3.rb +1 -1
  331. data/generated/google/apis/youtube_v3/classes.rb +12 -0
  332. data/generated/google/apis/youtube_v3/representations.rb +2 -0
  333. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  334. data/lib/google/apis/core/json_representation.rb +1 -1
  335. data/lib/google/apis/version.rb +3 -3
  336. data/samples/web/Gemfile +3 -0
  337. metadata +38 -26
  338. data/generated/google/apis/clouduseraccounts_alpha.rb +0 -44
  339. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +0 -1188
  340. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +0 -494
  341. data/generated/google/apis/clouduseraccounts_alpha/service.rb +0 -1152
  342. data/generated/google/apis/clouduseraccounts_beta/classes.rb +0 -845
  343. data/generated/google/apis/clouduseraccounts_beta/representations.rb +0 -352
  344. data/generated/google/apis/clouduseraccounts_beta/service.rb +0 -908
  345. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +0 -44
  346. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +0 -1188
  347. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +0 -494
  348. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +0 -1152
  349. data/generated/google/apis/clouduseraccounts_vm_beta.rb +0 -44
  350. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +0 -845
  351. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +0 -352
  352. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +0 -908
  353. data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +0 -200
  354. data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +0 -89
  355. data/generated/google/apis/firebaseremoteconfig_v1/service.rb +0 -153
@@ -355,6 +355,10 @@ module Google
355
355
  class CancelOperationRequest
356
356
  # @private
357
357
  class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :name, as: 'name'
359
+ property :operation_id, as: 'operationId'
360
+ property :project_id, as: 'projectId'
361
+ property :zone, as: 'zone'
358
362
  end
359
363
  end
360
364
 
@@ -395,6 +399,7 @@ module Google
395
399
  property :label_fingerprint, as: 'labelFingerprint'
396
400
  property :legacy_abac, as: 'legacyAbac', class: Google::Apis::ContainerV1::LegacyAbac, decorator: Google::Apis::ContainerV1::LegacyAbac::Representation
397
401
 
402
+ property :location, as: 'location'
398
403
  collection :locations, as: 'locations'
399
404
  property :logging_service, as: 'loggingService'
400
405
  property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::MaintenancePolicy, decorator: Google::Apis::ContainerV1::MaintenancePolicy::Representation
@@ -444,6 +449,10 @@ module Google
444
449
  class CompleteIpRotationRequest
445
450
  # @private
446
451
  class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :cluster_id, as: 'clusterId'
453
+ property :name, as: 'name'
454
+ property :project_id, as: 'projectId'
455
+ property :zone, as: 'zone'
447
456
  end
448
457
  end
449
458
 
@@ -452,14 +461,21 @@ module Google
452
461
  class Representation < Google::Apis::Core::JsonRepresentation
453
462
  property :cluster, as: 'cluster', class: Google::Apis::ContainerV1::Cluster, decorator: Google::Apis::ContainerV1::Cluster::Representation
454
463
 
464
+ property :parent, as: 'parent'
465
+ property :project_id, as: 'projectId'
466
+ property :zone, as: 'zone'
455
467
  end
456
468
  end
457
469
 
458
470
  class CreateNodePoolRequest
459
471
  # @private
460
472
  class Representation < Google::Apis::Core::JsonRepresentation
473
+ property :cluster_id, as: 'clusterId'
461
474
  property :node_pool, as: 'nodePool', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
462
475
 
476
+ property :parent, as: 'parent'
477
+ property :project_id, as: 'projectId'
478
+ property :zone, as: 'zone'
463
479
  end
464
480
  end
465
481
 
@@ -663,6 +679,7 @@ module Google
663
679
  class Representation < Google::Apis::Core::JsonRepresentation
664
680
  property :detail, as: 'detail'
665
681
  property :end_time, as: 'endTime'
682
+ property :location, as: 'location'
666
683
  property :name, as: 'name'
667
684
  property :operation_type, as: 'operationType'
668
685
  property :self_link, as: 'selfLink'
@@ -677,6 +694,11 @@ module Google
677
694
  class RollbackNodePoolUpgradeRequest
678
695
  # @private
679
696
  class Representation < Google::Apis::Core::JsonRepresentation
697
+ property :cluster_id, as: 'clusterId'
698
+ property :name, as: 'name'
699
+ property :node_pool_id, as: 'nodePoolId'
700
+ property :project_id, as: 'projectId'
701
+ property :zone, as: 'zone'
680
702
  end
681
703
  end
682
704
 
@@ -696,43 +718,67 @@ module Google
696
718
  class Representation < Google::Apis::Core::JsonRepresentation
697
719
  property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
698
720
 
721
+ property :cluster_id, as: 'clusterId'
722
+ property :name, as: 'name'
723
+ property :project_id, as: 'projectId'
724
+ property :zone, as: 'zone'
699
725
  end
700
726
  end
701
727
 
702
728
  class SetLabelsRequest
703
729
  # @private
704
730
  class Representation < Google::Apis::Core::JsonRepresentation
731
+ property :cluster_id, as: 'clusterId'
705
732
  property :label_fingerprint, as: 'labelFingerprint'
733
+ property :name, as: 'name'
734
+ property :project_id, as: 'projectId'
706
735
  hash :resource_labels, as: 'resourceLabels'
736
+ property :zone, as: 'zone'
707
737
  end
708
738
  end
709
739
 
710
740
  class SetLegacyAbacRequest
711
741
  # @private
712
742
  class Representation < Google::Apis::Core::JsonRepresentation
743
+ property :cluster_id, as: 'clusterId'
713
744
  property :enabled, as: 'enabled'
745
+ property :name, as: 'name'
746
+ property :project_id, as: 'projectId'
747
+ property :zone, as: 'zone'
714
748
  end
715
749
  end
716
750
 
717
751
  class SetLocationsRequest
718
752
  # @private
719
753
  class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :cluster_id, as: 'clusterId'
720
755
  collection :locations, as: 'locations'
756
+ property :name, as: 'name'
757
+ property :project_id, as: 'projectId'
758
+ property :zone, as: 'zone'
721
759
  end
722
760
  end
723
761
 
724
762
  class SetLoggingServiceRequest
725
763
  # @private
726
764
  class Representation < Google::Apis::Core::JsonRepresentation
765
+ property :cluster_id, as: 'clusterId'
727
766
  property :logging_service, as: 'loggingService'
767
+ property :name, as: 'name'
768
+ property :project_id, as: 'projectId'
769
+ property :zone, as: 'zone'
728
770
  end
729
771
  end
730
772
 
731
773
  class SetMaintenancePolicyRequest
732
774
  # @private
733
775
  class Representation < Google::Apis::Core::JsonRepresentation
776
+ property :cluster_id, as: 'clusterId'
734
777
  property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::MaintenancePolicy, decorator: Google::Apis::ContainerV1::MaintenancePolicy::Representation
735
778
 
779
+ property :name, as: 'name'
780
+ property :project_id, as: 'projectId'
781
+ property :zone, as: 'zone'
736
782
  end
737
783
  end
738
784
 
@@ -740,23 +786,35 @@ module Google
740
786
  # @private
741
787
  class Representation < Google::Apis::Core::JsonRepresentation
742
788
  property :action, as: 'action'
789
+ property :cluster_id, as: 'clusterId'
790
+ property :name, as: 'name'
791
+ property :project_id, as: 'projectId'
743
792
  property :update, as: 'update', class: Google::Apis::ContainerV1::MasterAuth, decorator: Google::Apis::ContainerV1::MasterAuth::Representation
744
793
 
794
+ property :zone, as: 'zone'
745
795
  end
746
796
  end
747
797
 
748
798
  class SetMonitoringServiceRequest
749
799
  # @private
750
800
  class Representation < Google::Apis::Core::JsonRepresentation
801
+ property :cluster_id, as: 'clusterId'
751
802
  property :monitoring_service, as: 'monitoringService'
803
+ property :name, as: 'name'
804
+ property :project_id, as: 'projectId'
805
+ property :zone, as: 'zone'
752
806
  end
753
807
  end
754
808
 
755
809
  class SetNetworkPolicyRequest
756
810
  # @private
757
811
  class Representation < Google::Apis::Core::JsonRepresentation
812
+ property :cluster_id, as: 'clusterId'
813
+ property :name, as: 'name'
758
814
  property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1::NetworkPolicy, decorator: Google::Apis::ContainerV1::NetworkPolicy::Representation
759
815
 
816
+ property :project_id, as: 'projectId'
817
+ property :zone, as: 'zone'
760
818
  end
761
819
  end
762
820
 
@@ -765,50 +823,82 @@ module Google
765
823
  class Representation < Google::Apis::Core::JsonRepresentation
766
824
  property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
767
825
 
826
+ property :cluster_id, as: 'clusterId'
827
+ property :name, as: 'name'
828
+ property :node_pool_id, as: 'nodePoolId'
829
+ property :project_id, as: 'projectId'
830
+ property :zone, as: 'zone'
768
831
  end
769
832
  end
770
833
 
771
834
  class SetNodePoolManagementRequest
772
835
  # @private
773
836
  class Representation < Google::Apis::Core::JsonRepresentation
837
+ property :cluster_id, as: 'clusterId'
774
838
  property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation
775
839
 
840
+ property :name, as: 'name'
841
+ property :node_pool_id, as: 'nodePoolId'
842
+ property :project_id, as: 'projectId'
843
+ property :zone, as: 'zone'
776
844
  end
777
845
  end
778
846
 
779
847
  class SetNodePoolSizeRequest
780
848
  # @private
781
849
  class Representation < Google::Apis::Core::JsonRepresentation
850
+ property :cluster_id, as: 'clusterId'
851
+ property :name, as: 'name'
782
852
  property :node_count, as: 'nodeCount'
853
+ property :node_pool_id, as: 'nodePoolId'
854
+ property :project_id, as: 'projectId'
855
+ property :zone, as: 'zone'
783
856
  end
784
857
  end
785
858
 
786
859
  class StartIpRotationRequest
787
860
  # @private
788
861
  class Representation < Google::Apis::Core::JsonRepresentation
862
+ property :cluster_id, as: 'clusterId'
863
+ property :name, as: 'name'
864
+ property :project_id, as: 'projectId'
865
+ property :zone, as: 'zone'
789
866
  end
790
867
  end
791
868
 
792
869
  class UpdateClusterRequest
793
870
  # @private
794
871
  class Representation < Google::Apis::Core::JsonRepresentation
872
+ property :cluster_id, as: 'clusterId'
873
+ property :name, as: 'name'
874
+ property :project_id, as: 'projectId'
795
875
  property :update, as: 'update', class: Google::Apis::ContainerV1::ClusterUpdate, decorator: Google::Apis::ContainerV1::ClusterUpdate::Representation
796
876
 
877
+ property :zone, as: 'zone'
797
878
  end
798
879
  end
799
880
 
800
881
  class UpdateMasterRequest
801
882
  # @private
802
883
  class Representation < Google::Apis::Core::JsonRepresentation
884
+ property :cluster_id, as: 'clusterId'
803
885
  property :master_version, as: 'masterVersion'
886
+ property :name, as: 'name'
887
+ property :project_id, as: 'projectId'
888
+ property :zone, as: 'zone'
804
889
  end
805
890
  end
806
891
 
807
892
  class UpdateNodePoolRequest
808
893
  # @private
809
894
  class Representation < Google::Apis::Core::JsonRepresentation
895
+ property :cluster_id, as: 'clusterId'
810
896
  property :image_type, as: 'imageType'
897
+ property :name, as: 'name'
898
+ property :node_pool_id, as: 'nodePoolId'
811
899
  property :node_version, as: 'nodeVersion'
900
+ property :project_id, as: 'projectId'
901
+ property :zone, as: 'zone'
812
902
  end
813
903
  end
814
904
  end
@@ -49,12 +49,1168 @@ module Google
49
49
  end
50
50
 
51
51
  # Returns configuration info about the Kubernetes Engine service.
52
+ # @param [String] name
53
+ # The name (project and location) of the server config to get
54
+ # Specified in the format 'projects/*/locations/*'.
52
55
  # @param [String] project_id
53
- # The Google Developers Console [project ID or project
56
+ # Deprecated. The Google Developers Console [project ID or project
57
+ # number](https://support.google.com/cloud/answer/6158840).
58
+ # This field has been deprecated and replaced by the name field.
59
+ # @param [String] zone
60
+ # Deprecated. The name of the Google Compute Engine
61
+ # [zone](/compute/docs/zones#available) to return operations for.
62
+ # This field has been deprecated and replaced by the name field.
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # Available to use for quota purposes for server-side applications. Can be any
67
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
+ # @param [Google::Apis::RequestOptions] options
69
+ # Request-specific options
70
+ #
71
+ # @yield [result, err] Result & error if block supplied
72
+ # @yieldparam result [Google::Apis::ContainerV1::ServerConfig] parsed result object
73
+ # @yieldparam err [StandardError] error object if request failed
74
+ #
75
+ # @return [Google::Apis::ContainerV1::ServerConfig]
76
+ #
77
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
80
+ def get_project_location_server_config(name, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
81
+ command = make_simple_command(:get, 'v1/{+name}/serverConfig', options)
82
+ command.response_representation = Google::Apis::ContainerV1::ServerConfig::Representation
83
+ command.response_class = Google::Apis::ContainerV1::ServerConfig
84
+ command.params['name'] = name unless name.nil?
85
+ command.query['projectId'] = project_id unless project_id.nil?
86
+ command.query['zone'] = zone unless zone.nil?
87
+ command.query['fields'] = fields unless fields.nil?
88
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
89
+ execute_or_queue_command(command, &block)
90
+ end
91
+
92
+ # Completes master IP rotation.
93
+ # @param [String] name
94
+ # The name (project, location, cluster id) of the cluster to complete IP
95
+ # rotation.
96
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
97
+ # @param [Google::Apis::ContainerV1::CompleteIpRotationRequest] complete_ip_rotation_request_object
98
+ # @param [String] fields
99
+ # Selector specifying which fields to include in a partial response.
100
+ # @param [String] quota_user
101
+ # Available to use for quota purposes for server-side applications. Can be any
102
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
103
+ # @param [Google::Apis::RequestOptions] options
104
+ # Request-specific options
105
+ #
106
+ # @yield [result, err] Result & error if block supplied
107
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
108
+ # @yieldparam err [StandardError] error object if request failed
109
+ #
110
+ # @return [Google::Apis::ContainerV1::Operation]
111
+ #
112
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
113
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
115
+ def complete_project_location_cluster_ip_rotation(name, complete_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
116
+ command = make_simple_command(:post, 'v1/{+name}:completeIpRotation', options)
117
+ command.request_representation = Google::Apis::ContainerV1::CompleteIpRotationRequest::Representation
118
+ command.request_object = complete_ip_rotation_request_object
119
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
120
+ command.response_class = Google::Apis::ContainerV1::Operation
121
+ command.params['name'] = name unless name.nil?
122
+ command.query['fields'] = fields unless fields.nil?
123
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
124
+ execute_or_queue_command(command, &block)
125
+ end
126
+
127
+ # Creates a cluster, consisting of the specified number and type of Google
128
+ # Compute Engine instances.
129
+ # By default, the cluster is created in the project's
130
+ # [default network](/compute/docs/networks-and-firewalls#networks).
131
+ # One firewall is added for the cluster. After cluster creation,
132
+ # the cluster creates routes for each node to allow the containers
133
+ # on that node to communicate with all other instances in the
134
+ # cluster.
135
+ # Finally, an entry is added to the project's global metadata indicating
136
+ # which CIDR range is being used by the cluster.
137
+ # @param [String] parent
138
+ # The parent (project and location) where the cluster will be created.
139
+ # Specified in the format 'projects/*/locations/*'.
140
+ # @param [Google::Apis::ContainerV1::CreateClusterRequest] create_cluster_request_object
141
+ # @param [String] fields
142
+ # Selector specifying which fields to include in a partial response.
143
+ # @param [String] quota_user
144
+ # Available to use for quota purposes for server-side applications. Can be any
145
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
146
+ # @param [Google::Apis::RequestOptions] options
147
+ # Request-specific options
148
+ #
149
+ # @yield [result, err] Result & error if block supplied
150
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
151
+ # @yieldparam err [StandardError] error object if request failed
152
+ #
153
+ # @return [Google::Apis::ContainerV1::Operation]
154
+ #
155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
158
+ def create_project_location_cluster(parent, create_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
159
+ command = make_simple_command(:post, 'v1/{+parent}/clusters', options)
160
+ command.request_representation = Google::Apis::ContainerV1::CreateClusterRequest::Representation
161
+ command.request_object = create_cluster_request_object
162
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
163
+ command.response_class = Google::Apis::ContainerV1::Operation
164
+ command.params['parent'] = parent unless parent.nil?
165
+ command.query['fields'] = fields unless fields.nil?
166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
167
+ execute_or_queue_command(command, &block)
168
+ end
169
+
170
+ # Deletes the cluster, including the Kubernetes endpoint and all worker
171
+ # nodes.
172
+ # Firewalls and routes that were configured during cluster creation
173
+ # are also deleted.
174
+ # Other Google Compute Engine resources that might be in use by the cluster
175
+ # (e.g. load balancer resources) will not be deleted if they weren't present
176
+ # at the initial create time.
177
+ # @param [String] name
178
+ # The name (project, location, cluster) of the cluster to delete.
179
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
180
+ # @param [String] cluster_id
181
+ # Deprecated. The name of the cluster to delete.
182
+ # This field has been deprecated and replaced by the name field.
183
+ # @param [String] project_id
184
+ # Deprecated. The Google Developers Console [project ID or project
185
+ # number](https://support.google.com/cloud/answer/6158840).
186
+ # This field has been deprecated and replaced by the name field.
187
+ # @param [String] zone
188
+ # Deprecated. The name of the Google Compute Engine
189
+ # [zone](/compute/docs/zones#available) in which the cluster
190
+ # resides.
191
+ # This field has been deprecated and replaced by the name field.
192
+ # @param [String] fields
193
+ # Selector specifying which fields to include in a partial response.
194
+ # @param [String] quota_user
195
+ # Available to use for quota purposes for server-side applications. Can be any
196
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
197
+ # @param [Google::Apis::RequestOptions] options
198
+ # Request-specific options
199
+ #
200
+ # @yield [result, err] Result & error if block supplied
201
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
202
+ # @yieldparam err [StandardError] error object if request failed
203
+ #
204
+ # @return [Google::Apis::ContainerV1::Operation]
205
+ #
206
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
207
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
208
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
209
+ def delete_project_location_cluster(name, cluster_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
210
+ command = make_simple_command(:delete, 'v1/{+name}', options)
211
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
212
+ command.response_class = Google::Apis::ContainerV1::Operation
213
+ command.params['name'] = name unless name.nil?
214
+ command.query['clusterId'] = cluster_id unless cluster_id.nil?
215
+ command.query['projectId'] = project_id unless project_id.nil?
216
+ command.query['zone'] = zone unless zone.nil?
217
+ command.query['fields'] = fields unless fields.nil?
218
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
219
+ execute_or_queue_command(command, &block)
220
+ end
221
+
222
+ # Gets the details of a specific cluster.
223
+ # @param [String] name
224
+ # The name (project, location, cluster) of the cluster to retrieve.
225
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
226
+ # @param [String] cluster_id
227
+ # Deprecated. The name of the cluster to retrieve.
228
+ # This field has been deprecated and replaced by the name field.
229
+ # @param [String] project_id
230
+ # Deprecated. The Google Developers Console [project ID or project
231
+ # number](https://support.google.com/cloud/answer/6158840).
232
+ # This field has been deprecated and replaced by the name field.
233
+ # @param [String] zone
234
+ # Deprecated. The name of the Google Compute Engine
235
+ # [zone](/compute/docs/zones#available) in which the cluster
236
+ # resides.
237
+ # This field has been deprecated and replaced by the name field.
238
+ # @param [String] fields
239
+ # Selector specifying which fields to include in a partial response.
240
+ # @param [String] quota_user
241
+ # Available to use for quota purposes for server-side applications. Can be any
242
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
243
+ # @param [Google::Apis::RequestOptions] options
244
+ # Request-specific options
245
+ #
246
+ # @yield [result, err] Result & error if block supplied
247
+ # @yieldparam result [Google::Apis::ContainerV1::Cluster] parsed result object
248
+ # @yieldparam err [StandardError] error object if request failed
249
+ #
250
+ # @return [Google::Apis::ContainerV1::Cluster]
251
+ #
252
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
253
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
254
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
255
+ def get_project_location_cluster(name, cluster_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
256
+ command = make_simple_command(:get, 'v1/{+name}', options)
257
+ command.response_representation = Google::Apis::ContainerV1::Cluster::Representation
258
+ command.response_class = Google::Apis::ContainerV1::Cluster
259
+ command.params['name'] = name unless name.nil?
260
+ command.query['clusterId'] = cluster_id unless cluster_id.nil?
261
+ command.query['projectId'] = project_id unless project_id.nil?
262
+ command.query['zone'] = zone unless zone.nil?
263
+ command.query['fields'] = fields unless fields.nil?
264
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
265
+ execute_or_queue_command(command, &block)
266
+ end
267
+
268
+ # Lists all clusters owned by a project in either the specified zone or all
269
+ # zones.
270
+ # @param [String] parent
271
+ # The parent (project and location) where the clusters will be listed.
272
+ # Specified in the format 'projects/*/locations/*'.
273
+ # Location "-" matches all zones and all regions.
274
+ # @param [String] project_id
275
+ # Deprecated. The Google Developers Console [project ID or project
276
+ # number](https://support.google.com/cloud/answer/6158840).
277
+ # This field has been deprecated and replaced by the parent field.
278
+ # @param [String] zone
279
+ # Deprecated. The name of the Google Compute Engine
280
+ # [zone](/compute/docs/zones#available) in which the cluster
281
+ # resides, or "-" for all zones.
282
+ # This field has been deprecated and replaced by the parent field.
283
+ # @param [String] fields
284
+ # Selector specifying which fields to include in a partial response.
285
+ # @param [String] quota_user
286
+ # Available to use for quota purposes for server-side applications. Can be any
287
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
288
+ # @param [Google::Apis::RequestOptions] options
289
+ # Request-specific options
290
+ #
291
+ # @yield [result, err] Result & error if block supplied
292
+ # @yieldparam result [Google::Apis::ContainerV1::ListClustersResponse] parsed result object
293
+ # @yieldparam err [StandardError] error object if request failed
294
+ #
295
+ # @return [Google::Apis::ContainerV1::ListClustersResponse]
296
+ #
297
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
298
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
299
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
300
+ def list_project_location_clusters(parent, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
301
+ command = make_simple_command(:get, 'v1/{+parent}/clusters', options)
302
+ command.response_representation = Google::Apis::ContainerV1::ListClustersResponse::Representation
303
+ command.response_class = Google::Apis::ContainerV1::ListClustersResponse
304
+ command.params['parent'] = parent unless parent.nil?
305
+ command.query['projectId'] = project_id unless project_id.nil?
306
+ command.query['zone'] = zone unless zone.nil?
307
+ command.query['fields'] = fields unless fields.nil?
308
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
309
+ execute_or_queue_command(command, &block)
310
+ end
311
+
312
+ # Sets the addons of a specific cluster.
313
+ # @param [String] name
314
+ # The name (project, location, cluster) of the cluster to set addons.
315
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
316
+ # @param [Google::Apis::ContainerV1::SetAddonsConfigRequest] set_addons_config_request_object
317
+ # @param [String] fields
318
+ # Selector specifying which fields to include in a partial response.
319
+ # @param [String] quota_user
320
+ # Available to use for quota purposes for server-side applications. Can be any
321
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
322
+ # @param [Google::Apis::RequestOptions] options
323
+ # Request-specific options
324
+ #
325
+ # @yield [result, err] Result & error if block supplied
326
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
327
+ # @yieldparam err [StandardError] error object if request failed
328
+ #
329
+ # @return [Google::Apis::ContainerV1::Operation]
330
+ #
331
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
332
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
333
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
334
+ def set_cluster_addons_config(name, set_addons_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
335
+ command = make_simple_command(:post, 'v1/{+name}:setAddons', options)
336
+ command.request_representation = Google::Apis::ContainerV1::SetAddonsConfigRequest::Representation
337
+ command.request_object = set_addons_config_request_object
338
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
339
+ command.response_class = Google::Apis::ContainerV1::Operation
340
+ command.params['name'] = name unless name.nil?
341
+ command.query['fields'] = fields unless fields.nil?
342
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
343
+ execute_or_queue_command(command, &block)
344
+ end
345
+
346
+ # Enables or disables the ABAC authorization mechanism on a cluster.
347
+ # @param [String] name
348
+ # The name (project, location, cluster id) of the cluster to set legacy abac.
349
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
350
+ # @param [Google::Apis::ContainerV1::SetLegacyAbacRequest] set_legacy_abac_request_object
351
+ # @param [String] fields
352
+ # Selector specifying which fields to include in a partial response.
353
+ # @param [String] quota_user
354
+ # Available to use for quota purposes for server-side applications. Can be any
355
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
356
+ # @param [Google::Apis::RequestOptions] options
357
+ # Request-specific options
358
+ #
359
+ # @yield [result, err] Result & error if block supplied
360
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
361
+ # @yieldparam err [StandardError] error object if request failed
362
+ #
363
+ # @return [Google::Apis::ContainerV1::Operation]
364
+ #
365
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
366
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
367
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
368
+ def set_cluster_legacy_abac(name, set_legacy_abac_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
369
+ command = make_simple_command(:post, 'v1/{+name}:setLegacyAbac', options)
370
+ command.request_representation = Google::Apis::ContainerV1::SetLegacyAbacRequest::Representation
371
+ command.request_object = set_legacy_abac_request_object
372
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
373
+ command.response_class = Google::Apis::ContainerV1::Operation
374
+ command.params['name'] = name unless name.nil?
375
+ command.query['fields'] = fields unless fields.nil?
376
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
377
+ execute_or_queue_command(command, &block)
378
+ end
379
+
380
+ # Sets the locations of a specific cluster.
381
+ # @param [String] name
382
+ # The name (project, location, cluster) of the cluster to set locations.
383
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
384
+ # @param [Google::Apis::ContainerV1::SetLocationsRequest] set_locations_request_object
385
+ # @param [String] fields
386
+ # Selector specifying which fields to include in a partial response.
387
+ # @param [String] quota_user
388
+ # Available to use for quota purposes for server-side applications. Can be any
389
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
390
+ # @param [Google::Apis::RequestOptions] options
391
+ # Request-specific options
392
+ #
393
+ # @yield [result, err] Result & error if block supplied
394
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
395
+ # @yieldparam err [StandardError] error object if request failed
396
+ #
397
+ # @return [Google::Apis::ContainerV1::Operation]
398
+ #
399
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
400
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
401
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
402
+ def set_cluster_locations(name, set_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
403
+ command = make_simple_command(:post, 'v1/{+name}:setLocations', options)
404
+ command.request_representation = Google::Apis::ContainerV1::SetLocationsRequest::Representation
405
+ command.request_object = set_locations_request_object
406
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
407
+ command.response_class = Google::Apis::ContainerV1::Operation
408
+ command.params['name'] = name unless name.nil?
409
+ command.query['fields'] = fields unless fields.nil?
410
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
411
+ execute_or_queue_command(command, &block)
412
+ end
413
+
414
+ # Sets the logging service of a specific cluster.
415
+ # @param [String] name
416
+ # The name (project, location, cluster) of the cluster to set logging.
417
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
418
+ # @param [Google::Apis::ContainerV1::SetLoggingServiceRequest] set_logging_service_request_object
419
+ # @param [String] fields
420
+ # Selector specifying which fields to include in a partial response.
421
+ # @param [String] quota_user
422
+ # Available to use for quota purposes for server-side applications. Can be any
423
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
424
+ # @param [Google::Apis::RequestOptions] options
425
+ # Request-specific options
426
+ #
427
+ # @yield [result, err] Result & error if block supplied
428
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
429
+ # @yieldparam err [StandardError] error object if request failed
430
+ #
431
+ # @return [Google::Apis::ContainerV1::Operation]
432
+ #
433
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
434
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
435
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
436
+ def set_cluster_logging_service(name, set_logging_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
437
+ command = make_simple_command(:post, 'v1/{+name}:setLogging', options)
438
+ command.request_representation = Google::Apis::ContainerV1::SetLoggingServiceRequest::Representation
439
+ command.request_object = set_logging_service_request_object
440
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
441
+ command.response_class = Google::Apis::ContainerV1::Operation
442
+ command.params['name'] = name unless name.nil?
443
+ command.query['fields'] = fields unless fields.nil?
444
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
445
+ execute_or_queue_command(command, &block)
446
+ end
447
+
448
+ # Sets the maintenance policy for a cluster.
449
+ # @param [String] name
450
+ # The name (project, location, cluster id) of the cluster to set maintenance
451
+ # policy.
452
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
453
+ # @param [Google::Apis::ContainerV1::SetMaintenancePolicyRequest] set_maintenance_policy_request_object
454
+ # @param [String] fields
455
+ # Selector specifying which fields to include in a partial response.
456
+ # @param [String] quota_user
457
+ # Available to use for quota purposes for server-side applications. Can be any
458
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
459
+ # @param [Google::Apis::RequestOptions] options
460
+ # Request-specific options
461
+ #
462
+ # @yield [result, err] Result & error if block supplied
463
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
464
+ # @yieldparam err [StandardError] error object if request failed
465
+ #
466
+ # @return [Google::Apis::ContainerV1::Operation]
467
+ #
468
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
469
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
470
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
471
+ def set_project_location_cluster_maintenance_policy(name, set_maintenance_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
472
+ command = make_simple_command(:post, 'v1/{+name}:setMaintenancePolicy', options)
473
+ command.request_representation = Google::Apis::ContainerV1::SetMaintenancePolicyRequest::Representation
474
+ command.request_object = set_maintenance_policy_request_object
475
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
476
+ command.response_class = Google::Apis::ContainerV1::Operation
477
+ command.params['name'] = name unless name.nil?
478
+ command.query['fields'] = fields unless fields.nil?
479
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
480
+ execute_or_queue_command(command, &block)
481
+ end
482
+
483
+ # Used to set master auth materials. Currently supports :-
484
+ # Changing the admin password of a specific cluster.
485
+ # This can be either via password generation or explicitly set the password.
486
+ # @param [String] name
487
+ # The name (project, location, cluster) of the cluster to set auth.
488
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
489
+ # @param [Google::Apis::ContainerV1::SetMasterAuthRequest] set_master_auth_request_object
490
+ # @param [String] fields
491
+ # Selector specifying which fields to include in a partial response.
492
+ # @param [String] quota_user
493
+ # Available to use for quota purposes for server-side applications. Can be any
494
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
495
+ # @param [Google::Apis::RequestOptions] options
496
+ # Request-specific options
497
+ #
498
+ # @yield [result, err] Result & error if block supplied
499
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
500
+ # @yieldparam err [StandardError] error object if request failed
501
+ #
502
+ # @return [Google::Apis::ContainerV1::Operation]
503
+ #
504
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
505
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
506
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
507
+ def set_project_location_cluster_master_auth(name, set_master_auth_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
508
+ command = make_simple_command(:post, 'v1/{+name}:setMasterAuth', options)
509
+ command.request_representation = Google::Apis::ContainerV1::SetMasterAuthRequest::Representation
510
+ command.request_object = set_master_auth_request_object
511
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
512
+ command.response_class = Google::Apis::ContainerV1::Operation
513
+ command.params['name'] = name unless name.nil?
514
+ command.query['fields'] = fields unless fields.nil?
515
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
516
+ execute_or_queue_command(command, &block)
517
+ end
518
+
519
+ # Sets the monitoring service of a specific cluster.
520
+ # @param [String] name
521
+ # The name (project, location, cluster) of the cluster to set monitoring.
522
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
523
+ # @param [Google::Apis::ContainerV1::SetMonitoringServiceRequest] set_monitoring_service_request_object
524
+ # @param [String] fields
525
+ # Selector specifying which fields to include in a partial response.
526
+ # @param [String] quota_user
527
+ # Available to use for quota purposes for server-side applications. Can be any
528
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
529
+ # @param [Google::Apis::RequestOptions] options
530
+ # Request-specific options
531
+ #
532
+ # @yield [result, err] Result & error if block supplied
533
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
534
+ # @yieldparam err [StandardError] error object if request failed
535
+ #
536
+ # @return [Google::Apis::ContainerV1::Operation]
537
+ #
538
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
539
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
540
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
541
+ def set_cluster_monitoring_service(name, set_monitoring_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
542
+ command = make_simple_command(:post, 'v1/{+name}:setMonitoring', options)
543
+ command.request_representation = Google::Apis::ContainerV1::SetMonitoringServiceRequest::Representation
544
+ command.request_object = set_monitoring_service_request_object
545
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
546
+ command.response_class = Google::Apis::ContainerV1::Operation
547
+ command.params['name'] = name unless name.nil?
548
+ command.query['fields'] = fields unless fields.nil?
549
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
550
+ execute_or_queue_command(command, &block)
551
+ end
552
+
553
+ # Enables/Disables Network Policy for a cluster.
554
+ # @param [String] name
555
+ # The name (project, location, cluster id) of the cluster to set networking
556
+ # policy.
557
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
558
+ # @param [Google::Apis::ContainerV1::SetNetworkPolicyRequest] set_network_policy_request_object
559
+ # @param [String] fields
560
+ # Selector specifying which fields to include in a partial response.
561
+ # @param [String] quota_user
562
+ # Available to use for quota purposes for server-side applications. Can be any
563
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
564
+ # @param [Google::Apis::RequestOptions] options
565
+ # Request-specific options
566
+ #
567
+ # @yield [result, err] Result & error if block supplied
568
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
569
+ # @yieldparam err [StandardError] error object if request failed
570
+ #
571
+ # @return [Google::Apis::ContainerV1::Operation]
572
+ #
573
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
574
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
575
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
576
+ def set_project_location_cluster_network_policy(name, set_network_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
577
+ command = make_simple_command(:post, 'v1/{+name}:setNetworkPolicy', options)
578
+ command.request_representation = Google::Apis::ContainerV1::SetNetworkPolicyRequest::Representation
579
+ command.request_object = set_network_policy_request_object
580
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
581
+ command.response_class = Google::Apis::ContainerV1::Operation
582
+ command.params['name'] = name unless name.nil?
583
+ command.query['fields'] = fields unless fields.nil?
584
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
585
+ execute_or_queue_command(command, &block)
586
+ end
587
+
588
+ # Sets labels on a cluster.
589
+ # @param [String] name
590
+ # The name (project, location, cluster id) of the cluster to set labels.
591
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
592
+ # @param [Google::Apis::ContainerV1::SetLabelsRequest] set_labels_request_object
593
+ # @param [String] fields
594
+ # Selector specifying which fields to include in a partial response.
595
+ # @param [String] quota_user
596
+ # Available to use for quota purposes for server-side applications. Can be any
597
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
598
+ # @param [Google::Apis::RequestOptions] options
599
+ # Request-specific options
600
+ #
601
+ # @yield [result, err] Result & error if block supplied
602
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
603
+ # @yieldparam err [StandardError] error object if request failed
604
+ #
605
+ # @return [Google::Apis::ContainerV1::Operation]
606
+ #
607
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
608
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
609
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
610
+ def set_project_location_cluster_resource_labels(name, set_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
611
+ command = make_simple_command(:post, 'v1/{+name}:setResourceLabels', options)
612
+ command.request_representation = Google::Apis::ContainerV1::SetLabelsRequest::Representation
613
+ command.request_object = set_labels_request_object
614
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
615
+ command.response_class = Google::Apis::ContainerV1::Operation
616
+ command.params['name'] = name unless name.nil?
617
+ command.query['fields'] = fields unless fields.nil?
618
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
619
+ execute_or_queue_command(command, &block)
620
+ end
621
+
622
+ # Start master IP rotation.
623
+ # @param [String] name
624
+ # The name (project, location, cluster id) of the cluster to start IP rotation.
625
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
626
+ # @param [Google::Apis::ContainerV1::StartIpRotationRequest] start_ip_rotation_request_object
627
+ # @param [String] fields
628
+ # Selector specifying which fields to include in a partial response.
629
+ # @param [String] quota_user
630
+ # Available to use for quota purposes for server-side applications. Can be any
631
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
632
+ # @param [Google::Apis::RequestOptions] options
633
+ # Request-specific options
634
+ #
635
+ # @yield [result, err] Result & error if block supplied
636
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
637
+ # @yieldparam err [StandardError] error object if request failed
638
+ #
639
+ # @return [Google::Apis::ContainerV1::Operation]
640
+ #
641
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
642
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
643
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
644
+ def start_project_location_cluster_ip_rotation(name, start_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
645
+ command = make_simple_command(:post, 'v1/{+name}:startIpRotation', options)
646
+ command.request_representation = Google::Apis::ContainerV1::StartIpRotationRequest::Representation
647
+ command.request_object = start_ip_rotation_request_object
648
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
649
+ command.response_class = Google::Apis::ContainerV1::Operation
650
+ command.params['name'] = name unless name.nil?
651
+ command.query['fields'] = fields unless fields.nil?
652
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
653
+ execute_or_queue_command(command, &block)
654
+ end
655
+
656
+ # Updates the settings of a specific cluster.
657
+ # @param [String] name
658
+ # The name (project, location, cluster) of the cluster to update.
659
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
660
+ # @param [Google::Apis::ContainerV1::UpdateClusterRequest] update_cluster_request_object
661
+ # @param [String] fields
662
+ # Selector specifying which fields to include in a partial response.
663
+ # @param [String] quota_user
664
+ # Available to use for quota purposes for server-side applications. Can be any
665
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
666
+ # @param [Google::Apis::RequestOptions] options
667
+ # Request-specific options
668
+ #
669
+ # @yield [result, err] Result & error if block supplied
670
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
671
+ # @yieldparam err [StandardError] error object if request failed
672
+ #
673
+ # @return [Google::Apis::ContainerV1::Operation]
674
+ #
675
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
676
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
677
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
678
+ def update_project_location_cluster(name, update_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
679
+ command = make_simple_command(:put, 'v1/{+name}', options)
680
+ command.request_representation = Google::Apis::ContainerV1::UpdateClusterRequest::Representation
681
+ command.request_object = update_cluster_request_object
682
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
683
+ command.response_class = Google::Apis::ContainerV1::Operation
684
+ command.params['name'] = name unless name.nil?
685
+ command.query['fields'] = fields unless fields.nil?
686
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
687
+ execute_or_queue_command(command, &block)
688
+ end
689
+
690
+ # Updates the master of a specific cluster.
691
+ # @param [String] name
692
+ # The name (project, location, cluster) of the cluster to update.
693
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
694
+ # @param [Google::Apis::ContainerV1::UpdateMasterRequest] update_master_request_object
695
+ # @param [String] fields
696
+ # Selector specifying which fields to include in a partial response.
697
+ # @param [String] quota_user
698
+ # Available to use for quota purposes for server-side applications. Can be any
699
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
700
+ # @param [Google::Apis::RequestOptions] options
701
+ # Request-specific options
702
+ #
703
+ # @yield [result, err] Result & error if block supplied
704
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
705
+ # @yieldparam err [StandardError] error object if request failed
706
+ #
707
+ # @return [Google::Apis::ContainerV1::Operation]
708
+ #
709
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
710
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
711
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
712
+ def update_cluster_master(name, update_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
713
+ command = make_simple_command(:post, 'v1/{+name}:updateMaster', options)
714
+ command.request_representation = Google::Apis::ContainerV1::UpdateMasterRequest::Representation
715
+ command.request_object = update_master_request_object
716
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
717
+ command.response_class = Google::Apis::ContainerV1::Operation
718
+ command.params['name'] = name unless name.nil?
719
+ command.query['fields'] = fields unless fields.nil?
720
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
721
+ execute_or_queue_command(command, &block)
722
+ end
723
+
724
+ # Creates a node pool for a cluster.
725
+ # @param [String] parent
726
+ # The parent (project, location, cluster id) where the node pool will be created.
727
+ # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
728
+ # @param [Google::Apis::ContainerV1::CreateNodePoolRequest] create_node_pool_request_object
729
+ # @param [String] fields
730
+ # Selector specifying which fields to include in a partial response.
731
+ # @param [String] quota_user
732
+ # Available to use for quota purposes for server-side applications. Can be any
733
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
734
+ # @param [Google::Apis::RequestOptions] options
735
+ # Request-specific options
736
+ #
737
+ # @yield [result, err] Result & error if block supplied
738
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
739
+ # @yieldparam err [StandardError] error object if request failed
740
+ #
741
+ # @return [Google::Apis::ContainerV1::Operation]
742
+ #
743
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
744
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
745
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
746
+ def create_project_location_cluster_node_pool(parent, create_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
747
+ command = make_simple_command(:post, 'v1/{+parent}/nodePools', options)
748
+ command.request_representation = Google::Apis::ContainerV1::CreateNodePoolRequest::Representation
749
+ command.request_object = create_node_pool_request_object
750
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
751
+ command.response_class = Google::Apis::ContainerV1::Operation
752
+ command.params['parent'] = parent unless parent.nil?
753
+ command.query['fields'] = fields unless fields.nil?
754
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
755
+ execute_or_queue_command(command, &block)
756
+ end
757
+
758
+ # Deletes a node pool from a cluster.
759
+ # @param [String] name
760
+ # The name (project, location, cluster, node pool id) of the node pool to delete.
761
+ # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
762
+ # @param [String] cluster_id
763
+ # Deprecated. The name of the cluster.
764
+ # This field has been deprecated and replaced by the name field.
765
+ # @param [String] node_pool_id
766
+ # Deprecated. The name of the node pool to delete.
767
+ # This field has been deprecated and replaced by the name field.
768
+ # @param [String] project_id
769
+ # Deprecated. The Google Developers Console [project ID or project
770
+ # number](https://developers.google.com/console/help/new/#projectnumber).
771
+ # This field has been deprecated and replaced by the name field.
772
+ # @param [String] zone
773
+ # Deprecated. The name of the Google Compute Engine
774
+ # [zone](/compute/docs/zones#available) in which the cluster
775
+ # resides.
776
+ # This field has been deprecated and replaced by the name field.
777
+ # @param [String] fields
778
+ # Selector specifying which fields to include in a partial response.
779
+ # @param [String] quota_user
780
+ # Available to use for quota purposes for server-side applications. Can be any
781
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
782
+ # @param [Google::Apis::RequestOptions] options
783
+ # Request-specific options
784
+ #
785
+ # @yield [result, err] Result & error if block supplied
786
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
787
+ # @yieldparam err [StandardError] error object if request failed
788
+ #
789
+ # @return [Google::Apis::ContainerV1::Operation]
790
+ #
791
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
792
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
793
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
794
+ def delete_project_location_cluster_node_pool(name, cluster_id: nil, node_pool_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
795
+ command = make_simple_command(:delete, 'v1/{+name}', options)
796
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
797
+ command.response_class = Google::Apis::ContainerV1::Operation
798
+ command.params['name'] = name unless name.nil?
799
+ command.query['clusterId'] = cluster_id unless cluster_id.nil?
800
+ command.query['nodePoolId'] = node_pool_id unless node_pool_id.nil?
801
+ command.query['projectId'] = project_id unless project_id.nil?
802
+ command.query['zone'] = zone unless zone.nil?
803
+ command.query['fields'] = fields unless fields.nil?
804
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
805
+ execute_or_queue_command(command, &block)
806
+ end
807
+
808
+ # Retrieves the node pool requested.
809
+ # @param [String] name
810
+ # The name (project, location, cluster, node pool id) of the node pool to get.
811
+ # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
812
+ # @param [String] cluster_id
813
+ # Deprecated. The name of the cluster.
814
+ # This field has been deprecated and replaced by the name field.
815
+ # @param [String] node_pool_id
816
+ # Deprecated. The name of the node pool.
817
+ # This field has been deprecated and replaced by the name field.
818
+ # @param [String] project_id
819
+ # Deprecated. The Google Developers Console [project ID or project
820
+ # number](https://developers.google.com/console/help/new/#projectnumber).
821
+ # This field has been deprecated and replaced by the name field.
822
+ # @param [String] zone
823
+ # Deprecated. The name of the Google Compute Engine
824
+ # [zone](/compute/docs/zones#available) in which the cluster
825
+ # resides.
826
+ # This field has been deprecated and replaced by the name field.
827
+ # @param [String] fields
828
+ # Selector specifying which fields to include in a partial response.
829
+ # @param [String] quota_user
830
+ # Available to use for quota purposes for server-side applications. Can be any
831
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
832
+ # @param [Google::Apis::RequestOptions] options
833
+ # Request-specific options
834
+ #
835
+ # @yield [result, err] Result & error if block supplied
836
+ # @yieldparam result [Google::Apis::ContainerV1::NodePool] parsed result object
837
+ # @yieldparam err [StandardError] error object if request failed
838
+ #
839
+ # @return [Google::Apis::ContainerV1::NodePool]
840
+ #
841
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
842
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
843
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
844
+ def get_project_location_cluster_node_pool(name, cluster_id: nil, node_pool_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
845
+ command = make_simple_command(:get, 'v1/{+name}', options)
846
+ command.response_representation = Google::Apis::ContainerV1::NodePool::Representation
847
+ command.response_class = Google::Apis::ContainerV1::NodePool
848
+ command.params['name'] = name unless name.nil?
849
+ command.query['clusterId'] = cluster_id unless cluster_id.nil?
850
+ command.query['nodePoolId'] = node_pool_id unless node_pool_id.nil?
851
+ command.query['projectId'] = project_id unless project_id.nil?
852
+ command.query['zone'] = zone unless zone.nil?
853
+ command.query['fields'] = fields unless fields.nil?
854
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
855
+ execute_or_queue_command(command, &block)
856
+ end
857
+
858
+ # Lists the node pools for a cluster.
859
+ # @param [String] parent
860
+ # The parent (project, location, cluster id) where the node pools will be listed.
861
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
862
+ # @param [String] cluster_id
863
+ # Deprecated. The name of the cluster.
864
+ # This field has been deprecated and replaced by the parent field.
865
+ # @param [String] project_id
866
+ # Deprecated. The Google Developers Console [project ID or project
867
+ # number](https://developers.google.com/console/help/new/#projectnumber).
868
+ # This field has been deprecated and replaced by the parent field.
869
+ # @param [String] zone
870
+ # Deprecated. The name of the Google Compute Engine
871
+ # [zone](/compute/docs/zones#available) in which the cluster
872
+ # resides.
873
+ # This field has been deprecated and replaced by the parent field.
874
+ # @param [String] fields
875
+ # Selector specifying which fields to include in a partial response.
876
+ # @param [String] quota_user
877
+ # Available to use for quota purposes for server-side applications. Can be any
878
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
879
+ # @param [Google::Apis::RequestOptions] options
880
+ # Request-specific options
881
+ #
882
+ # @yield [result, err] Result & error if block supplied
883
+ # @yieldparam result [Google::Apis::ContainerV1::ListNodePoolsResponse] parsed result object
884
+ # @yieldparam err [StandardError] error object if request failed
885
+ #
886
+ # @return [Google::Apis::ContainerV1::ListNodePoolsResponse]
887
+ #
888
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
889
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
890
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
891
+ def list_project_location_cluster_node_pools(parent, cluster_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
892
+ command = make_simple_command(:get, 'v1/{+parent}/nodePools', options)
893
+ command.response_representation = Google::Apis::ContainerV1::ListNodePoolsResponse::Representation
894
+ command.response_class = Google::Apis::ContainerV1::ListNodePoolsResponse
895
+ command.params['parent'] = parent unless parent.nil?
896
+ command.query['clusterId'] = cluster_id unless cluster_id.nil?
897
+ command.query['projectId'] = project_id unless project_id.nil?
898
+ command.query['zone'] = zone unless zone.nil?
899
+ command.query['fields'] = fields unless fields.nil?
900
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
901
+ execute_or_queue_command(command, &block)
902
+ end
903
+
904
+ # Roll back the previously Aborted or Failed NodePool upgrade.
905
+ # This will be an no-op if the last upgrade successfully completed.
906
+ # @param [String] name
907
+ # The name (project, location, cluster, node pool id) of the node poll to
908
+ # rollback upgrade.
909
+ # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
910
+ # @param [Google::Apis::ContainerV1::RollbackNodePoolUpgradeRequest] rollback_node_pool_upgrade_request_object
911
+ # @param [String] fields
912
+ # Selector specifying which fields to include in a partial response.
913
+ # @param [String] quota_user
914
+ # Available to use for quota purposes for server-side applications. Can be any
915
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
916
+ # @param [Google::Apis::RequestOptions] options
917
+ # Request-specific options
918
+ #
919
+ # @yield [result, err] Result & error if block supplied
920
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
921
+ # @yieldparam err [StandardError] error object if request failed
922
+ #
923
+ # @return [Google::Apis::ContainerV1::Operation]
924
+ #
925
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
926
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
927
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
928
+ def rollback_project_location_cluster_node_pool(name, rollback_node_pool_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
929
+ command = make_simple_command(:post, 'v1/{+name}:rollback', options)
930
+ command.request_representation = Google::Apis::ContainerV1::RollbackNodePoolUpgradeRequest::Representation
931
+ command.request_object = rollback_node_pool_upgrade_request_object
932
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
933
+ command.response_class = Google::Apis::ContainerV1::Operation
934
+ command.params['name'] = name unless name.nil?
935
+ command.query['fields'] = fields unless fields.nil?
936
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
937
+ execute_or_queue_command(command, &block)
938
+ end
939
+
940
+ # Sets the autoscaling settings of a specific node pool.
941
+ # @param [String] name
942
+ # The name (project, location, cluster, node pool) of the node pool to set
943
+ # autoscaler settings. Specified in the format
944
+ # 'projects/*/locations/*/clusters/*/nodePools/*'.
945
+ # @param [Google::Apis::ContainerV1::SetNodePoolAutoscalingRequest] set_node_pool_autoscaling_request_object
946
+ # @param [String] fields
947
+ # Selector specifying which fields to include in a partial response.
948
+ # @param [String] quota_user
949
+ # Available to use for quota purposes for server-side applications. Can be any
950
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
951
+ # @param [Google::Apis::RequestOptions] options
952
+ # Request-specific options
953
+ #
954
+ # @yield [result, err] Result & error if block supplied
955
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
956
+ # @yieldparam err [StandardError] error object if request failed
957
+ #
958
+ # @return [Google::Apis::ContainerV1::Operation]
959
+ #
960
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
961
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
962
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
963
+ def set_project_location_cluster_node_pool_autoscaling(name, set_node_pool_autoscaling_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
964
+ command = make_simple_command(:post, 'v1/{+name}:setAutoscaling', options)
965
+ command.request_representation = Google::Apis::ContainerV1::SetNodePoolAutoscalingRequest::Representation
966
+ command.request_object = set_node_pool_autoscaling_request_object
967
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
968
+ command.response_class = Google::Apis::ContainerV1::Operation
969
+ command.params['name'] = name unless name.nil?
970
+ command.query['fields'] = fields unless fields.nil?
971
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
972
+ execute_or_queue_command(command, &block)
973
+ end
974
+
975
+ # Sets the NodeManagement options for a node pool.
976
+ # @param [String] name
977
+ # The name (project, location, cluster, node pool id) of the node pool to set
978
+ # management properties. Specified in the format
979
+ # 'projects/*/locations/*/clusters/*/nodePools/*'.
980
+ # @param [Google::Apis::ContainerV1::SetNodePoolManagementRequest] set_node_pool_management_request_object
981
+ # @param [String] fields
982
+ # Selector specifying which fields to include in a partial response.
983
+ # @param [String] quota_user
984
+ # Available to use for quota purposes for server-side applications. Can be any
985
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
986
+ # @param [Google::Apis::RequestOptions] options
987
+ # Request-specific options
988
+ #
989
+ # @yield [result, err] Result & error if block supplied
990
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
991
+ # @yieldparam err [StandardError] error object if request failed
992
+ #
993
+ # @return [Google::Apis::ContainerV1::Operation]
994
+ #
995
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
996
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
997
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
998
+ def set_project_location_cluster_node_pool_management(name, set_node_pool_management_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
999
+ command = make_simple_command(:post, 'v1/{+name}:setManagement', options)
1000
+ command.request_representation = Google::Apis::ContainerV1::SetNodePoolManagementRequest::Representation
1001
+ command.request_object = set_node_pool_management_request_object
1002
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
1003
+ command.response_class = Google::Apis::ContainerV1::Operation
1004
+ command.params['name'] = name unless name.nil?
1005
+ command.query['fields'] = fields unless fields.nil?
1006
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1007
+ execute_or_queue_command(command, &block)
1008
+ end
1009
+
1010
+ # Sets the size of a specific node pool.
1011
+ # @param [String] name
1012
+ # The name (project, location, cluster, node pool id) of the node pool to set
1013
+ # size.
1014
+ # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
1015
+ # @param [Google::Apis::ContainerV1::SetNodePoolSizeRequest] set_node_pool_size_request_object
1016
+ # @param [String] fields
1017
+ # Selector specifying which fields to include in a partial response.
1018
+ # @param [String] quota_user
1019
+ # Available to use for quota purposes for server-side applications. Can be any
1020
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1021
+ # @param [Google::Apis::RequestOptions] options
1022
+ # Request-specific options
1023
+ #
1024
+ # @yield [result, err] Result & error if block supplied
1025
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
1026
+ # @yieldparam err [StandardError] error object if request failed
1027
+ #
1028
+ # @return [Google::Apis::ContainerV1::Operation]
1029
+ #
1030
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1031
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1032
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1033
+ def set_project_location_cluster_node_pool_size(name, set_node_pool_size_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1034
+ command = make_simple_command(:post, 'v1/{+name}:setSize', options)
1035
+ command.request_representation = Google::Apis::ContainerV1::SetNodePoolSizeRequest::Representation
1036
+ command.request_object = set_node_pool_size_request_object
1037
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
1038
+ command.response_class = Google::Apis::ContainerV1::Operation
1039
+ command.params['name'] = name unless name.nil?
1040
+ command.query['fields'] = fields unless fields.nil?
1041
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1042
+ execute_or_queue_command(command, &block)
1043
+ end
1044
+
1045
+ # Updates the version and/or image type of a specific node pool.
1046
+ # @param [String] name
1047
+ # The name (project, location, cluster, node pool) of the node pool to update.
1048
+ # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
1049
+ # @param [Google::Apis::ContainerV1::UpdateNodePoolRequest] update_node_pool_request_object
1050
+ # @param [String] fields
1051
+ # Selector specifying which fields to include in a partial response.
1052
+ # @param [String] quota_user
1053
+ # Available to use for quota purposes for server-side applications. Can be any
1054
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1055
+ # @param [Google::Apis::RequestOptions] options
1056
+ # Request-specific options
1057
+ #
1058
+ # @yield [result, err] Result & error if block supplied
1059
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
1060
+ # @yieldparam err [StandardError] error object if request failed
1061
+ #
1062
+ # @return [Google::Apis::ContainerV1::Operation]
1063
+ #
1064
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1065
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1066
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1067
+ def update_project_location_cluster_node_pool(name, update_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1068
+ command = make_simple_command(:put, 'v1/{+name}', options)
1069
+ command.request_representation = Google::Apis::ContainerV1::UpdateNodePoolRequest::Representation
1070
+ command.request_object = update_node_pool_request_object
1071
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
1072
+ command.response_class = Google::Apis::ContainerV1::Operation
1073
+ command.params['name'] = name unless name.nil?
1074
+ command.query['fields'] = fields unless fields.nil?
1075
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1076
+ execute_or_queue_command(command, &block)
1077
+ end
1078
+
1079
+ # Cancels the specified operation.
1080
+ # @param [String] name
1081
+ # The name (project, location, operation id) of the operation to cancel.
1082
+ # Specified in the format 'projects/*/locations/*/operations/*'.
1083
+ # @param [Google::Apis::ContainerV1::CancelOperationRequest] cancel_operation_request_object
1084
+ # @param [String] fields
1085
+ # Selector specifying which fields to include in a partial response.
1086
+ # @param [String] quota_user
1087
+ # Available to use for quota purposes for server-side applications. Can be any
1088
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1089
+ # @param [Google::Apis::RequestOptions] options
1090
+ # Request-specific options
1091
+ #
1092
+ # @yield [result, err] Result & error if block supplied
1093
+ # @yieldparam result [Google::Apis::ContainerV1::Empty] parsed result object
1094
+ # @yieldparam err [StandardError] error object if request failed
1095
+ #
1096
+ # @return [Google::Apis::ContainerV1::Empty]
1097
+ #
1098
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1099
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1100
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1101
+ def cancel_project_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1102
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
1103
+ command.request_representation = Google::Apis::ContainerV1::CancelOperationRequest::Representation
1104
+ command.request_object = cancel_operation_request_object
1105
+ command.response_representation = Google::Apis::ContainerV1::Empty::Representation
1106
+ command.response_class = Google::Apis::ContainerV1::Empty
1107
+ command.params['name'] = name unless name.nil?
1108
+ command.query['fields'] = fields unless fields.nil?
1109
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1110
+ execute_or_queue_command(command, &block)
1111
+ end
1112
+
1113
+ # Gets the specified operation.
1114
+ # @param [String] name
1115
+ # The name (project, location, operation id) of the operation to get.
1116
+ # Specified in the format 'projects/*/locations/*/operations/*'.
1117
+ # @param [String] operation_id
1118
+ # Deprecated. The server-assigned `name` of the operation.
1119
+ # This field has been deprecated and replaced by the name field.
1120
+ # @param [String] project_id
1121
+ # Deprecated. The Google Developers Console [project ID or project
1122
+ # number](https://support.google.com/cloud/answer/6158840).
1123
+ # This field has been deprecated and replaced by the name field.
1124
+ # @param [String] zone
1125
+ # Deprecated. The name of the Google Compute Engine
1126
+ # [zone](/compute/docs/zones#available) in which the cluster
1127
+ # resides.
1128
+ # This field has been deprecated and replaced by the name field.
1129
+ # @param [String] fields
1130
+ # Selector specifying which fields to include in a partial response.
1131
+ # @param [String] quota_user
1132
+ # Available to use for quota purposes for server-side applications. Can be any
1133
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1134
+ # @param [Google::Apis::RequestOptions] options
1135
+ # Request-specific options
1136
+ #
1137
+ # @yield [result, err] Result & error if block supplied
1138
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
1139
+ # @yieldparam err [StandardError] error object if request failed
1140
+ #
1141
+ # @return [Google::Apis::ContainerV1::Operation]
1142
+ #
1143
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1144
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1145
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1146
+ def get_project_location_operation(name, operation_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
1147
+ command = make_simple_command(:get, 'v1/{+name}', options)
1148
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
1149
+ command.response_class = Google::Apis::ContainerV1::Operation
1150
+ command.params['name'] = name unless name.nil?
1151
+ command.query['operationId'] = operation_id unless operation_id.nil?
1152
+ command.query['projectId'] = project_id unless project_id.nil?
1153
+ command.query['zone'] = zone unless zone.nil?
1154
+ command.query['fields'] = fields unless fields.nil?
1155
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1156
+ execute_or_queue_command(command, &block)
1157
+ end
1158
+
1159
+ # Lists all operations in a project in a specific zone or all zones.
1160
+ # @param [String] parent
1161
+ # The parent (project and location) where the operations will be listed.
1162
+ # Specified in the format 'projects/*/locations/*'.
1163
+ # Location "-" matches all zones and all regions.
1164
+ # @param [String] project_id
1165
+ # Deprecated. The Google Developers Console [project ID or project
1166
+ # number](https://support.google.com/cloud/answer/6158840).
1167
+ # This field has been deprecated and replaced by the parent field.
1168
+ # @param [String] zone
1169
+ # Deprecated. The name of the Google Compute Engine [zone](/compute/docs/zones#
1170
+ # available)
1171
+ # to return operations for, or `-` for all zones.
1172
+ # This field has been deprecated and replaced by the parent field.
1173
+ # @param [String] fields
1174
+ # Selector specifying which fields to include in a partial response.
1175
+ # @param [String] quota_user
1176
+ # Available to use for quota purposes for server-side applications. Can be any
1177
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1178
+ # @param [Google::Apis::RequestOptions] options
1179
+ # Request-specific options
1180
+ #
1181
+ # @yield [result, err] Result & error if block supplied
1182
+ # @yieldparam result [Google::Apis::ContainerV1::ListOperationsResponse] parsed result object
1183
+ # @yieldparam err [StandardError] error object if request failed
1184
+ #
1185
+ # @return [Google::Apis::ContainerV1::ListOperationsResponse]
1186
+ #
1187
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1188
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1189
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1190
+ def list_project_location_operations(parent, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
1191
+ command = make_simple_command(:get, 'v1/{+parent}/operations', options)
1192
+ command.response_representation = Google::Apis::ContainerV1::ListOperationsResponse::Representation
1193
+ command.response_class = Google::Apis::ContainerV1::ListOperationsResponse
1194
+ command.params['parent'] = parent unless parent.nil?
1195
+ command.query['projectId'] = project_id unless project_id.nil?
1196
+ command.query['zone'] = zone unless zone.nil?
1197
+ command.query['fields'] = fields unless fields.nil?
1198
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1199
+ execute_or_queue_command(command, &block)
1200
+ end
1201
+
1202
+ # Returns configuration info about the Kubernetes Engine service.
1203
+ # @param [String] project_id
1204
+ # Deprecated. The Google Developers Console [project ID or project
54
1205
  # number](https://support.google.com/cloud/answer/6158840).
1206
+ # This field has been deprecated and replaced by the name field.
55
1207
  # @param [String] zone
56
- # The name of the Google Compute Engine [zone](/compute/docs/zones#available)
57
- # to return operations for.
1208
+ # Deprecated. The name of the Google Compute Engine
1209
+ # [zone](/compute/docs/zones#available) to return operations for.
1210
+ # This field has been deprecated and replaced by the name field.
1211
+ # @param [String] name
1212
+ # The name (project and location) of the server config to get
1213
+ # Specified in the format 'projects/*/locations/*'.
58
1214
  # @param [String] fields
59
1215
  # Selector specifying which fields to include in a partial response.
60
1216
  # @param [String] quota_user
@@ -72,12 +1228,13 @@ module Google
72
1228
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
1229
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
1230
  # @raise [Google::Apis::AuthorizationError] Authorization is required
75
- def get_project_zone_serverconfig(project_id, zone, fields: nil, quota_user: nil, options: nil, &block)
1231
+ def get_project_zone_serverconfig(project_id, zone, name: nil, fields: nil, quota_user: nil, options: nil, &block)
76
1232
  command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/serverconfig', options)
77
1233
  command.response_representation = Google::Apis::ContainerV1::ServerConfig::Representation
78
1234
  command.response_class = Google::Apis::ContainerV1::ServerConfig
79
1235
  command.params['projectId'] = project_id unless project_id.nil?
80
1236
  command.params['zone'] = zone unless zone.nil?
1237
+ command.query['name'] = name unless name.nil?
81
1238
  command.query['fields'] = fields unless fields.nil?
82
1239
  command.query['quotaUser'] = quota_user unless quota_user.nil?
83
1240
  execute_or_queue_command(command, &block)
@@ -85,14 +1242,17 @@ module Google
85
1242
 
86
1243
  # Sets the addons of a specific cluster.
87
1244
  # @param [String] project_id
88
- # The Google Developers Console [project ID or project
1245
+ # Deprecated. The Google Developers Console [project ID or project
89
1246
  # number](https://support.google.com/cloud/answer/6158840).
1247
+ # This field has been deprecated and replaced by the name field.
90
1248
  # @param [String] zone
91
- # The name of the Google Compute Engine
1249
+ # Deprecated. The name of the Google Compute Engine
92
1250
  # [zone](/compute/docs/zones#available) in which the cluster
93
1251
  # resides.
1252
+ # This field has been deprecated and replaced by the name field.
94
1253
  # @param [String] cluster_id
95
- # The name of the cluster to upgrade.
1254
+ # Deprecated. The name of the cluster to upgrade.
1255
+ # This field has been deprecated and replaced by the name field.
96
1256
  # @param [Google::Apis::ContainerV1::SetAddonsConfigRequest] set_addons_config_request_object
97
1257
  # @param [String] fields
98
1258
  # Selector specifying which fields to include in a partial response.
@@ -127,14 +1287,17 @@ module Google
127
1287
 
128
1288
  # Completes master IP rotation.
129
1289
  # @param [String] project_id
130
- # The Google Developers Console [project ID or project
1290
+ # Deprecated. The Google Developers Console [project ID or project
131
1291
  # number](https://developers.google.com/console/help/new/#projectnumber).
1292
+ # This field has been deprecated and replaced by the name field.
132
1293
  # @param [String] zone
133
- # The name of the Google Compute Engine
1294
+ # Deprecated. The name of the Google Compute Engine
134
1295
  # [zone](/compute/docs/zones#available) in which the cluster
135
1296
  # resides.
1297
+ # This field has been deprecated and replaced by the name field.
136
1298
  # @param [String] cluster_id
137
- # The name of the cluster.
1299
+ # Deprecated. The name of the cluster.
1300
+ # This field has been deprecated and replaced by the name field.
138
1301
  # @param [Google::Apis::ContainerV1::CompleteIpRotationRequest] complete_ip_rotation_request_object
139
1302
  # @param [String] fields
140
1303
  # Selector specifying which fields to include in a partial response.
@@ -178,12 +1341,14 @@ module Google
178
1341
  # Finally, an entry is added to the project's global metadata indicating
179
1342
  # which CIDR range is being used by the cluster.
180
1343
  # @param [String] project_id
181
- # The Google Developers Console [project ID or project
1344
+ # Deprecated. The Google Developers Console [project ID or project
182
1345
  # number](https://support.google.com/cloud/answer/6158840).
1346
+ # This field has been deprecated and replaced by the parent field.
183
1347
  # @param [String] zone
184
- # The name of the Google Compute Engine
1348
+ # Deprecated. The name of the Google Compute Engine
185
1349
  # [zone](/compute/docs/zones#available) in which the cluster
186
1350
  # resides.
1351
+ # This field has been deprecated and replaced by the parent field.
187
1352
  # @param [Google::Apis::ContainerV1::CreateClusterRequest] create_cluster_request_object
188
1353
  # @param [String] fields
189
1354
  # Selector specifying which fields to include in a partial response.
@@ -223,14 +1388,20 @@ module Google
223
1388
  # (e.g. load balancer resources) will not be deleted if they weren't present
224
1389
  # at the initial create time.
225
1390
  # @param [String] project_id
226
- # The Google Developers Console [project ID or project
1391
+ # Deprecated. The Google Developers Console [project ID or project
227
1392
  # number](https://support.google.com/cloud/answer/6158840).
1393
+ # This field has been deprecated and replaced by the name field.
228
1394
  # @param [String] zone
229
- # The name of the Google Compute Engine
1395
+ # Deprecated. The name of the Google Compute Engine
230
1396
  # [zone](/compute/docs/zones#available) in which the cluster
231
1397
  # resides.
1398
+ # This field has been deprecated and replaced by the name field.
232
1399
  # @param [String] cluster_id
233
- # The name of the cluster to delete.
1400
+ # Deprecated. The name of the cluster to delete.
1401
+ # This field has been deprecated and replaced by the name field.
1402
+ # @param [String] name
1403
+ # The name (project, location, cluster) of the cluster to delete.
1404
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
234
1405
  # @param [String] fields
235
1406
  # Selector specifying which fields to include in a partial response.
236
1407
  # @param [String] quota_user
@@ -248,13 +1419,14 @@ module Google
248
1419
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
249
1420
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
250
1421
  # @raise [Google::Apis::AuthorizationError] Authorization is required
251
- def delete_zone_cluster(project_id, zone, cluster_id, fields: nil, quota_user: nil, options: nil, &block)
1422
+ def delete_zone_cluster(project_id, zone, cluster_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
252
1423
  command = make_simple_command(:delete, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
253
1424
  command.response_representation = Google::Apis::ContainerV1::Operation::Representation
254
1425
  command.response_class = Google::Apis::ContainerV1::Operation
255
1426
  command.params['projectId'] = project_id unless project_id.nil?
256
1427
  command.params['zone'] = zone unless zone.nil?
257
1428
  command.params['clusterId'] = cluster_id unless cluster_id.nil?
1429
+ command.query['name'] = name unless name.nil?
258
1430
  command.query['fields'] = fields unless fields.nil?
259
1431
  command.query['quotaUser'] = quota_user unless quota_user.nil?
260
1432
  execute_or_queue_command(command, &block)
@@ -262,14 +1434,20 @@ module Google
262
1434
 
263
1435
  # Gets the details of a specific cluster.
264
1436
  # @param [String] project_id
265
- # The Google Developers Console [project ID or project
1437
+ # Deprecated. The Google Developers Console [project ID or project
266
1438
  # number](https://support.google.com/cloud/answer/6158840).
1439
+ # This field has been deprecated and replaced by the name field.
267
1440
  # @param [String] zone
268
- # The name of the Google Compute Engine
1441
+ # Deprecated. The name of the Google Compute Engine
269
1442
  # [zone](/compute/docs/zones#available) in which the cluster
270
1443
  # resides.
1444
+ # This field has been deprecated and replaced by the name field.
271
1445
  # @param [String] cluster_id
272
- # The name of the cluster to retrieve.
1446
+ # Deprecated. The name of the cluster to retrieve.
1447
+ # This field has been deprecated and replaced by the name field.
1448
+ # @param [String] name
1449
+ # The name (project, location, cluster) of the cluster to retrieve.
1450
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
273
1451
  # @param [String] fields
274
1452
  # Selector specifying which fields to include in a partial response.
275
1453
  # @param [String] quota_user
@@ -287,13 +1465,14 @@ module Google
287
1465
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
288
1466
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
289
1467
  # @raise [Google::Apis::AuthorizationError] Authorization is required
290
- def get_zone_cluster(project_id, zone, cluster_id, fields: nil, quota_user: nil, options: nil, &block)
1468
+ def get_zone_cluster(project_id, zone, cluster_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
291
1469
  command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
292
1470
  command.response_representation = Google::Apis::ContainerV1::Cluster::Representation
293
1471
  command.response_class = Google::Apis::ContainerV1::Cluster
294
1472
  command.params['projectId'] = project_id unless project_id.nil?
295
1473
  command.params['zone'] = zone unless zone.nil?
296
1474
  command.params['clusterId'] = cluster_id unless cluster_id.nil?
1475
+ command.query['name'] = name unless name.nil?
297
1476
  command.query['fields'] = fields unless fields.nil?
298
1477
  command.query['quotaUser'] = quota_user unless quota_user.nil?
299
1478
  execute_or_queue_command(command, &block)
@@ -301,14 +1480,17 @@ module Google
301
1480
 
302
1481
  # Enables or disables the ABAC authorization mechanism on a cluster.
303
1482
  # @param [String] project_id
304
- # The Google Developers Console [project ID or project
1483
+ # Deprecated. The Google Developers Console [project ID or project
305
1484
  # number](https://support.google.com/cloud/answer/6158840).
1485
+ # This field has been deprecated and replaced by the name field.
306
1486
  # @param [String] zone
307
- # The name of the Google Compute Engine
1487
+ # Deprecated. The name of the Google Compute Engine
308
1488
  # [zone](/compute/docs/zones#available) in which the cluster
309
1489
  # resides.
1490
+ # This field has been deprecated and replaced by the name field.
310
1491
  # @param [String] cluster_id
311
- # The name of the cluster to update.
1492
+ # Deprecated. The name of the cluster to update.
1493
+ # This field has been deprecated and replaced by the name field.
312
1494
  # @param [Google::Apis::ContainerV1::SetLegacyAbacRequest] set_legacy_abac_request_object
313
1495
  # @param [String] fields
314
1496
  # Selector specifying which fields to include in a partial response.
@@ -344,12 +1526,18 @@ module Google
344
1526
  # Lists all clusters owned by a project in either the specified zone or all
345
1527
  # zones.
346
1528
  # @param [String] project_id
347
- # The Google Developers Console [project ID or project
1529
+ # Deprecated. The Google Developers Console [project ID or project
348
1530
  # number](https://support.google.com/cloud/answer/6158840).
1531
+ # This field has been deprecated and replaced by the parent field.
349
1532
  # @param [String] zone
350
- # The name of the Google Compute Engine
1533
+ # Deprecated. The name of the Google Compute Engine
351
1534
  # [zone](/compute/docs/zones#available) in which the cluster
352
1535
  # resides, or "-" for all zones.
1536
+ # This field has been deprecated and replaced by the parent field.
1537
+ # @param [String] parent
1538
+ # The parent (project and location) where the clusters will be listed.
1539
+ # Specified in the format 'projects/*/locations/*'.
1540
+ # Location "-" matches all zones and all regions.
353
1541
  # @param [String] fields
354
1542
  # Selector specifying which fields to include in a partial response.
355
1543
  # @param [String] quota_user
@@ -367,12 +1555,13 @@ module Google
367
1555
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
368
1556
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
369
1557
  # @raise [Google::Apis::AuthorizationError] Authorization is required
370
- def list_zone_clusters(project_id, zone, fields: nil, quota_user: nil, options: nil, &block)
1558
+ def list_zone_clusters(project_id, zone, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
371
1559
  command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters', options)
372
1560
  command.response_representation = Google::Apis::ContainerV1::ListClustersResponse::Representation
373
1561
  command.response_class = Google::Apis::ContainerV1::ListClustersResponse
374
1562
  command.params['projectId'] = project_id unless project_id.nil?
375
1563
  command.params['zone'] = zone unless zone.nil?
1564
+ command.query['parent'] = parent unless parent.nil?
376
1565
  command.query['fields'] = fields unless fields.nil?
377
1566
  command.query['quotaUser'] = quota_user unless quota_user.nil?
378
1567
  execute_or_queue_command(command, &block)
@@ -380,14 +1569,17 @@ module Google
380
1569
 
381
1570
  # Sets the locations of a specific cluster.
382
1571
  # @param [String] project_id
383
- # The Google Developers Console [project ID or project
1572
+ # Deprecated. The Google Developers Console [project ID or project
384
1573
  # number](https://support.google.com/cloud/answer/6158840).
1574
+ # This field has been deprecated and replaced by the name field.
385
1575
  # @param [String] zone
386
- # The name of the Google Compute Engine
1576
+ # Deprecated. The name of the Google Compute Engine
387
1577
  # [zone](/compute/docs/zones#available) in which the cluster
388
1578
  # resides.
1579
+ # This field has been deprecated and replaced by the name field.
389
1580
  # @param [String] cluster_id
390
- # The name of the cluster to upgrade.
1581
+ # Deprecated. The name of the cluster to upgrade.
1582
+ # This field has been deprecated and replaced by the name field.
391
1583
  # @param [Google::Apis::ContainerV1::SetLocationsRequest] set_locations_request_object
392
1584
  # @param [String] fields
393
1585
  # Selector specifying which fields to include in a partial response.
@@ -422,14 +1614,17 @@ module Google
422
1614
 
423
1615
  # Sets the logging service of a specific cluster.
424
1616
  # @param [String] project_id
425
- # The Google Developers Console [project ID or project
1617
+ # Deprecated. The Google Developers Console [project ID or project
426
1618
  # number](https://support.google.com/cloud/answer/6158840).
1619
+ # This field has been deprecated and replaced by the name field.
427
1620
  # @param [String] zone
428
- # The name of the Google Compute Engine
1621
+ # Deprecated. The name of the Google Compute Engine
429
1622
  # [zone](/compute/docs/zones#available) in which the cluster
430
1623
  # resides.
1624
+ # This field has been deprecated and replaced by the name field.
431
1625
  # @param [String] cluster_id
432
- # The name of the cluster to upgrade.
1626
+ # Deprecated. The name of the cluster to upgrade.
1627
+ # This field has been deprecated and replaced by the name field.
433
1628
  # @param [Google::Apis::ContainerV1::SetLoggingServiceRequest] set_logging_service_request_object
434
1629
  # @param [String] fields
435
1630
  # Selector specifying which fields to include in a partial response.
@@ -464,14 +1659,17 @@ module Google
464
1659
 
465
1660
  # Updates the master of a specific cluster.
466
1661
  # @param [String] project_id
467
- # The Google Developers Console [project ID or project
1662
+ # Deprecated. The Google Developers Console [project ID or project
468
1663
  # number](https://support.google.com/cloud/answer/6158840).
1664
+ # This field has been deprecated and replaced by the name field.
469
1665
  # @param [String] zone
470
- # The name of the Google Compute Engine
1666
+ # Deprecated. The name of the Google Compute Engine
471
1667
  # [zone](/compute/docs/zones#available) in which the cluster
472
1668
  # resides.
1669
+ # This field has been deprecated and replaced by the name field.
473
1670
  # @param [String] cluster_id
474
- # The name of the cluster to upgrade.
1671
+ # Deprecated. The name of the cluster to upgrade.
1672
+ # This field has been deprecated and replaced by the name field.
475
1673
  # @param [Google::Apis::ContainerV1::UpdateMasterRequest] update_master_request_object
476
1674
  # @param [String] fields
477
1675
  # Selector specifying which fields to include in a partial response.
@@ -506,14 +1704,17 @@ module Google
506
1704
 
507
1705
  # Sets the monitoring service of a specific cluster.
508
1706
  # @param [String] project_id
509
- # The Google Developers Console [project ID or project
1707
+ # Deprecated. The Google Developers Console [project ID or project
510
1708
  # number](https://support.google.com/cloud/answer/6158840).
1709
+ # This field has been deprecated and replaced by the name field.
511
1710
  # @param [String] zone
512
- # The name of the Google Compute Engine
1711
+ # Deprecated. The name of the Google Compute Engine
513
1712
  # [zone](/compute/docs/zones#available) in which the cluster
514
1713
  # resides.
1714
+ # This field has been deprecated and replaced by the name field.
515
1715
  # @param [String] cluster_id
516
- # The name of the cluster to upgrade.
1716
+ # Deprecated. The name of the cluster to upgrade.
1717
+ # This field has been deprecated and replaced by the name field.
517
1718
  # @param [Google::Apis::ContainerV1::SetMonitoringServiceRequest] set_monitoring_service_request_object
518
1719
  # @param [String] fields
519
1720
  # Selector specifying which fields to include in a partial response.
@@ -548,14 +1749,17 @@ module Google
548
1749
 
549
1750
  # Sets labels on a cluster.
550
1751
  # @param [String] project_id
551
- # The Google Developers Console [project ID or project
1752
+ # Deprecated. The Google Developers Console [project ID or project
552
1753
  # number](https://developers.google.com/console/help/new/#projectnumber).
1754
+ # This field has been deprecated and replaced by the name field.
553
1755
  # @param [String] zone
554
- # The name of the Google Compute Engine
1756
+ # Deprecated. The name of the Google Compute Engine
555
1757
  # [zone](/compute/docs/zones#available) in which the cluster
556
1758
  # resides.
1759
+ # This field has been deprecated and replaced by the name field.
557
1760
  # @param [String] cluster_id
558
- # The name of the cluster.
1761
+ # Deprecated. The name of the cluster.
1762
+ # This field has been deprecated and replaced by the name field.
559
1763
  # @param [Google::Apis::ContainerV1::SetLabelsRequest] set_labels_request_object
560
1764
  # @param [String] fields
561
1765
  # Selector specifying which fields to include in a partial response.
@@ -634,14 +1838,17 @@ module Google
634
1838
  # Changing the admin password of a specific cluster.
635
1839
  # This can be either via password generation or explicitly set the password.
636
1840
  # @param [String] project_id
637
- # The Google Developers Console [project ID or project
1841
+ # Deprecated. The Google Developers Console [project ID or project
638
1842
  # number](https://support.google.com/cloud/answer/6158840).
1843
+ # This field has been deprecated and replaced by the name field.
639
1844
  # @param [String] zone
640
- # The name of the Google Compute Engine
1845
+ # Deprecated. The name of the Google Compute Engine
641
1846
  # [zone](/compute/docs/zones#available) in which the cluster
642
1847
  # resides.
1848
+ # This field has been deprecated and replaced by the name field.
643
1849
  # @param [String] cluster_id
644
- # The name of the cluster to upgrade.
1850
+ # Deprecated. The name of the cluster to upgrade.
1851
+ # This field has been deprecated and replaced by the name field.
645
1852
  # @param [Google::Apis::ContainerV1::SetMasterAuthRequest] set_master_auth_request_object
646
1853
  # @param [String] fields
647
1854
  # Selector specifying which fields to include in a partial response.
@@ -676,14 +1883,17 @@ module Google
676
1883
 
677
1884
  # Enables/Disables Network Policy for a cluster.
678
1885
  # @param [String] project_id
679
- # The Google Developers Console [project ID or project
1886
+ # Deprecated. The Google Developers Console [project ID or project
680
1887
  # number](https://developers.google.com/console/help/new/#projectnumber).
1888
+ # This field has been deprecated and replaced by the name field.
681
1889
  # @param [String] zone
682
- # The name of the Google Compute Engine
1890
+ # Deprecated. The name of the Google Compute Engine
683
1891
  # [zone](/compute/docs/zones#available) in which the cluster
684
1892
  # resides.
1893
+ # This field has been deprecated and replaced by the name field.
685
1894
  # @param [String] cluster_id
686
- # The name of the cluster.
1895
+ # Deprecated. The name of the cluster.
1896
+ # This field has been deprecated and replaced by the name field.
687
1897
  # @param [Google::Apis::ContainerV1::SetNetworkPolicyRequest] set_network_policy_request_object
688
1898
  # @param [String] fields
689
1899
  # Selector specifying which fields to include in a partial response.
@@ -718,14 +1928,17 @@ module Google
718
1928
 
719
1929
  # Start master IP rotation.
720
1930
  # @param [String] project_id
721
- # The Google Developers Console [project ID or project
1931
+ # Deprecated. The Google Developers Console [project ID or project
722
1932
  # number](https://developers.google.com/console/help/new/#projectnumber).
1933
+ # This field has been deprecated and replaced by the name field.
723
1934
  # @param [String] zone
724
- # The name of the Google Compute Engine
1935
+ # Deprecated. The name of the Google Compute Engine
725
1936
  # [zone](/compute/docs/zones#available) in which the cluster
726
1937
  # resides.
1938
+ # This field has been deprecated and replaced by the name field.
727
1939
  # @param [String] cluster_id
728
- # The name of the cluster.
1940
+ # Deprecated. The name of the cluster.
1941
+ # This field has been deprecated and replaced by the name field.
729
1942
  # @param [Google::Apis::ContainerV1::StartIpRotationRequest] start_ip_rotation_request_object
730
1943
  # @param [String] fields
731
1944
  # Selector specifying which fields to include in a partial response.
@@ -760,14 +1973,17 @@ module Google
760
1973
 
761
1974
  # Updates the settings of a specific cluster.
762
1975
  # @param [String] project_id
763
- # The Google Developers Console [project ID or project
1976
+ # Deprecated. The Google Developers Console [project ID or project
764
1977
  # number](https://support.google.com/cloud/answer/6158840).
1978
+ # This field has been deprecated and replaced by the name field.
765
1979
  # @param [String] zone
766
- # The name of the Google Compute Engine
1980
+ # Deprecated. The name of the Google Compute Engine
767
1981
  # [zone](/compute/docs/zones#available) in which the cluster
768
1982
  # resides.
1983
+ # This field has been deprecated and replaced by the name field.
769
1984
  # @param [String] cluster_id
770
- # The name of the cluster to upgrade.
1985
+ # Deprecated. The name of the cluster to upgrade.
1986
+ # This field has been deprecated and replaced by the name field.
771
1987
  # @param [Google::Apis::ContainerV1::UpdateClusterRequest] update_cluster_request_object
772
1988
  # @param [String] fields
773
1989
  # Selector specifying which fields to include in a partial response.
@@ -802,16 +2018,20 @@ module Google
802
2018
 
803
2019
  # Sets the autoscaling settings of a specific node pool.
804
2020
  # @param [String] project_id
805
- # The Google Developers Console [project ID or project
2021
+ # Deprecated. The Google Developers Console [project ID or project
806
2022
  # number](https://support.google.com/cloud/answer/6158840).
2023
+ # This field has been deprecated and replaced by the name field.
807
2024
  # @param [String] zone
808
- # The name of the Google Compute Engine
2025
+ # Deprecated. The name of the Google Compute Engine
809
2026
  # [zone](/compute/docs/zones#available) in which the cluster
810
2027
  # resides.
2028
+ # This field has been deprecated and replaced by the name field.
811
2029
  # @param [String] cluster_id
812
- # The name of the cluster to upgrade.
2030
+ # Deprecated. The name of the cluster to upgrade.
2031
+ # This field has been deprecated and replaced by the name field.
813
2032
  # @param [String] node_pool_id
814
- # The name of the node pool to upgrade.
2033
+ # Deprecated. The name of the node pool to upgrade.
2034
+ # This field has been deprecated and replaced by the name field.
815
2035
  # @param [Google::Apis::ContainerV1::SetNodePoolAutoscalingRequest] set_node_pool_autoscaling_request_object
816
2036
  # @param [String] fields
817
2037
  # Selector specifying which fields to include in a partial response.
@@ -847,14 +2067,17 @@ module Google
847
2067
 
848
2068
  # Creates a node pool for a cluster.
849
2069
  # @param [String] project_id
850
- # The Google Developers Console [project ID or project
2070
+ # Deprecated. The Google Developers Console [project ID or project
851
2071
  # number](https://developers.google.com/console/help/new/#projectnumber).
2072
+ # This field has been deprecated and replaced by the parent field.
852
2073
  # @param [String] zone
853
- # The name of the Google Compute Engine
2074
+ # Deprecated. The name of the Google Compute Engine
854
2075
  # [zone](/compute/docs/zones#available) in which the cluster
855
2076
  # resides.
2077
+ # This field has been deprecated and replaced by the parent field.
856
2078
  # @param [String] cluster_id
857
- # The name of the cluster.
2079
+ # Deprecated. The name of the cluster.
2080
+ # This field has been deprecated and replaced by the parent field.
858
2081
  # @param [Google::Apis::ContainerV1::CreateNodePoolRequest] create_node_pool_request_object
859
2082
  # @param [String] fields
860
2083
  # Selector specifying which fields to include in a partial response.
@@ -889,16 +2112,23 @@ module Google
889
2112
 
890
2113
  # Deletes a node pool from a cluster.
891
2114
  # @param [String] project_id
892
- # The Google Developers Console [project ID or project
2115
+ # Deprecated. The Google Developers Console [project ID or project
893
2116
  # number](https://developers.google.com/console/help/new/#projectnumber).
2117
+ # This field has been deprecated and replaced by the name field.
894
2118
  # @param [String] zone
895
- # The name of the Google Compute Engine
2119
+ # Deprecated. The name of the Google Compute Engine
896
2120
  # [zone](/compute/docs/zones#available) in which the cluster
897
2121
  # resides.
2122
+ # This field has been deprecated and replaced by the name field.
898
2123
  # @param [String] cluster_id
899
- # The name of the cluster.
2124
+ # Deprecated. The name of the cluster.
2125
+ # This field has been deprecated and replaced by the name field.
900
2126
  # @param [String] node_pool_id
901
- # The name of the node pool to delete.
2127
+ # Deprecated. The name of the node pool to delete.
2128
+ # This field has been deprecated and replaced by the name field.
2129
+ # @param [String] name
2130
+ # The name (project, location, cluster, node pool id) of the node pool to delete.
2131
+ # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
902
2132
  # @param [String] fields
903
2133
  # Selector specifying which fields to include in a partial response.
904
2134
  # @param [String] quota_user
@@ -916,7 +2146,7 @@ module Google
916
2146
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
917
2147
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
918
2148
  # @raise [Google::Apis::AuthorizationError] Authorization is required
919
- def delete_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, fields: nil, quota_user: nil, options: nil, &block)
2149
+ def delete_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
920
2150
  command = make_simple_command(:delete, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options)
921
2151
  command.response_representation = Google::Apis::ContainerV1::Operation::Representation
922
2152
  command.response_class = Google::Apis::ContainerV1::Operation
@@ -924,6 +2154,7 @@ module Google
924
2154
  command.params['zone'] = zone unless zone.nil?
925
2155
  command.params['clusterId'] = cluster_id unless cluster_id.nil?
926
2156
  command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil?
2157
+ command.query['name'] = name unless name.nil?
927
2158
  command.query['fields'] = fields unless fields.nil?
928
2159
  command.query['quotaUser'] = quota_user unless quota_user.nil?
929
2160
  execute_or_queue_command(command, &block)
@@ -931,16 +2162,23 @@ module Google
931
2162
 
932
2163
  # Retrieves the node pool requested.
933
2164
  # @param [String] project_id
934
- # The Google Developers Console [project ID or project
2165
+ # Deprecated. The Google Developers Console [project ID or project
935
2166
  # number](https://developers.google.com/console/help/new/#projectnumber).
2167
+ # This field has been deprecated and replaced by the name field.
936
2168
  # @param [String] zone
937
- # The name of the Google Compute Engine
2169
+ # Deprecated. The name of the Google Compute Engine
938
2170
  # [zone](/compute/docs/zones#available) in which the cluster
939
2171
  # resides.
2172
+ # This field has been deprecated and replaced by the name field.
940
2173
  # @param [String] cluster_id
941
- # The name of the cluster.
2174
+ # Deprecated. The name of the cluster.
2175
+ # This field has been deprecated and replaced by the name field.
942
2176
  # @param [String] node_pool_id
943
- # The name of the node pool.
2177
+ # Deprecated. The name of the node pool.
2178
+ # This field has been deprecated and replaced by the name field.
2179
+ # @param [String] name
2180
+ # The name (project, location, cluster, node pool id) of the node pool to get.
2181
+ # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
944
2182
  # @param [String] fields
945
2183
  # Selector specifying which fields to include in a partial response.
946
2184
  # @param [String] quota_user
@@ -958,7 +2196,7 @@ module Google
958
2196
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
959
2197
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
960
2198
  # @raise [Google::Apis::AuthorizationError] Authorization is required
961
- def get_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, fields: nil, quota_user: nil, options: nil, &block)
2199
+ def get_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
962
2200
  command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options)
963
2201
  command.response_representation = Google::Apis::ContainerV1::NodePool::Representation
964
2202
  command.response_class = Google::Apis::ContainerV1::NodePool
@@ -966,6 +2204,7 @@ module Google
966
2204
  command.params['zone'] = zone unless zone.nil?
967
2205
  command.params['clusterId'] = cluster_id unless cluster_id.nil?
968
2206
  command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil?
2207
+ command.query['name'] = name unless name.nil?
969
2208
  command.query['fields'] = fields unless fields.nil?
970
2209
  command.query['quotaUser'] = quota_user unless quota_user.nil?
971
2210
  execute_or_queue_command(command, &block)
@@ -973,14 +2212,20 @@ module Google
973
2212
 
974
2213
  # Lists the node pools for a cluster.
975
2214
  # @param [String] project_id
976
- # The Google Developers Console [project ID or project
2215
+ # Deprecated. The Google Developers Console [project ID or project
977
2216
  # number](https://developers.google.com/console/help/new/#projectnumber).
2217
+ # This field has been deprecated and replaced by the parent field.
978
2218
  # @param [String] zone
979
- # The name of the Google Compute Engine
2219
+ # Deprecated. The name of the Google Compute Engine
980
2220
  # [zone](/compute/docs/zones#available) in which the cluster
981
2221
  # resides.
2222
+ # This field has been deprecated and replaced by the parent field.
982
2223
  # @param [String] cluster_id
983
- # The name of the cluster.
2224
+ # Deprecated. The name of the cluster.
2225
+ # This field has been deprecated and replaced by the parent field.
2226
+ # @param [String] parent
2227
+ # The parent (project, location, cluster id) where the node pools will be listed.
2228
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
984
2229
  # @param [String] fields
985
2230
  # Selector specifying which fields to include in a partial response.
986
2231
  # @param [String] quota_user
@@ -998,13 +2243,14 @@ module Google
998
2243
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
999
2244
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1000
2245
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1001
- def list_project_zone_cluster_node_pools(project_id, zone, cluster_id, fields: nil, quota_user: nil, options: nil, &block)
2246
+ def list_project_zone_cluster_node_pools(project_id, zone, cluster_id, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
1002
2247
  command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', options)
1003
2248
  command.response_representation = Google::Apis::ContainerV1::ListNodePoolsResponse::Representation
1004
2249
  command.response_class = Google::Apis::ContainerV1::ListNodePoolsResponse
1005
2250
  command.params['projectId'] = project_id unless project_id.nil?
1006
2251
  command.params['zone'] = zone unless zone.nil?
1007
2252
  command.params['clusterId'] = cluster_id unless cluster_id.nil?
2253
+ command.query['parent'] = parent unless parent.nil?
1008
2254
  command.query['fields'] = fields unless fields.nil?
1009
2255
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1010
2256
  execute_or_queue_command(command, &block)
@@ -1013,16 +2259,20 @@ module Google
1013
2259
  # Roll back the previously Aborted or Failed NodePool upgrade.
1014
2260
  # This will be an no-op if the last upgrade successfully completed.
1015
2261
  # @param [String] project_id
1016
- # The Google Developers Console [project ID or project
2262
+ # Deprecated. The Google Developers Console [project ID or project
1017
2263
  # number](https://support.google.com/cloud/answer/6158840).
2264
+ # This field has been deprecated and replaced by the name field.
1018
2265
  # @param [String] zone
1019
- # The name of the Google Compute Engine
2266
+ # Deprecated. The name of the Google Compute Engine
1020
2267
  # [zone](/compute/docs/zones#available) in which the cluster
1021
2268
  # resides.
2269
+ # This field has been deprecated and replaced by the name field.
1022
2270
  # @param [String] cluster_id
1023
- # The name of the cluster to rollback.
2271
+ # Deprecated. The name of the cluster to rollback.
2272
+ # This field has been deprecated and replaced by the name field.
1024
2273
  # @param [String] node_pool_id
1025
- # The name of the node pool to rollback.
2274
+ # Deprecated. The name of the node pool to rollback.
2275
+ # This field has been deprecated and replaced by the name field.
1026
2276
  # @param [Google::Apis::ContainerV1::RollbackNodePoolUpgradeRequest] rollback_node_pool_upgrade_request_object
1027
2277
  # @param [String] fields
1028
2278
  # Selector specifying which fields to include in a partial response.
@@ -1058,16 +2308,20 @@ module Google
1058
2308
 
1059
2309
  # Sets the NodeManagement options for a node pool.
1060
2310
  # @param [String] project_id
1061
- # The Google Developers Console [project ID or project
2311
+ # Deprecated. The Google Developers Console [project ID or project
1062
2312
  # number](https://support.google.com/cloud/answer/6158840).
2313
+ # This field has been deprecated and replaced by the name field.
1063
2314
  # @param [String] zone
1064
- # The name of the Google Compute Engine
2315
+ # Deprecated. The name of the Google Compute Engine
1065
2316
  # [zone](/compute/docs/zones#available) in which the cluster
1066
2317
  # resides.
2318
+ # This field has been deprecated and replaced by the name field.
1067
2319
  # @param [String] cluster_id
1068
- # The name of the cluster to update.
2320
+ # Deprecated. The name of the cluster to update.
2321
+ # This field has been deprecated and replaced by the name field.
1069
2322
  # @param [String] node_pool_id
1070
- # The name of the node pool to update.
2323
+ # Deprecated. The name of the node pool to update.
2324
+ # This field has been deprecated and replaced by the name field.
1071
2325
  # @param [Google::Apis::ContainerV1::SetNodePoolManagementRequest] set_node_pool_management_request_object
1072
2326
  # @param [String] fields
1073
2327
  # Selector specifying which fields to include in a partial response.
@@ -1103,16 +2357,20 @@ module Google
1103
2357
 
1104
2358
  # Sets the size of a specific node pool.
1105
2359
  # @param [String] project_id
1106
- # The Google Developers Console [project ID or project
2360
+ # Deprecated. The Google Developers Console [project ID or project
1107
2361
  # number](https://support.google.com/cloud/answer/6158840).
2362
+ # This field has been deprecated and replaced by the name field.
1108
2363
  # @param [String] zone
1109
- # The name of the Google Compute Engine
2364
+ # Deprecated. The name of the Google Compute Engine
1110
2365
  # [zone](/compute/docs/zones#available) in which the cluster
1111
2366
  # resides.
2367
+ # This field has been deprecated and replaced by the name field.
1112
2368
  # @param [String] cluster_id
1113
- # The name of the cluster to update.
2369
+ # Deprecated. The name of the cluster to update.
2370
+ # This field has been deprecated and replaced by the name field.
1114
2371
  # @param [String] node_pool_id
1115
- # The name of the node pool to update.
2372
+ # Deprecated. The name of the node pool to update.
2373
+ # This field has been deprecated and replaced by the name field.
1116
2374
  # @param [Google::Apis::ContainerV1::SetNodePoolSizeRequest] set_node_pool_size_request_object
1117
2375
  # @param [String] fields
1118
2376
  # Selector specifying which fields to include in a partial response.
@@ -1148,16 +2406,20 @@ module Google
1148
2406
 
1149
2407
  # Updates the version and/or image type of a specific node pool.
1150
2408
  # @param [String] project_id
1151
- # The Google Developers Console [project ID or project
2409
+ # Deprecated. The Google Developers Console [project ID or project
1152
2410
  # number](https://support.google.com/cloud/answer/6158840).
2411
+ # This field has been deprecated and replaced by the name field.
1153
2412
  # @param [String] zone
1154
- # The name of the Google Compute Engine
2413
+ # Deprecated. The name of the Google Compute Engine
1155
2414
  # [zone](/compute/docs/zones#available) in which the cluster
1156
2415
  # resides.
2416
+ # This field has been deprecated and replaced by the name field.
1157
2417
  # @param [String] cluster_id
1158
- # The name of the cluster to upgrade.
2418
+ # Deprecated. The name of the cluster to upgrade.
2419
+ # This field has been deprecated and replaced by the name field.
1159
2420
  # @param [String] node_pool_id
1160
- # The name of the node pool to upgrade.
2421
+ # Deprecated. The name of the node pool to upgrade.
2422
+ # This field has been deprecated and replaced by the name field.
1161
2423
  # @param [Google::Apis::ContainerV1::UpdateNodePoolRequest] update_node_pool_request_object
1162
2424
  # @param [String] fields
1163
2425
  # Selector specifying which fields to include in a partial response.
@@ -1193,13 +2455,16 @@ module Google
1193
2455
 
1194
2456
  # Cancels the specified operation.
1195
2457
  # @param [String] project_id
1196
- # The Google Developers Console [project ID or project
2458
+ # Deprecated. The Google Developers Console [project ID or project
1197
2459
  # number](https://support.google.com/cloud/answer/6158840).
2460
+ # This field has been deprecated and replaced by the name field.
1198
2461
  # @param [String] zone
1199
- # The name of the Google Compute Engine
2462
+ # Deprecated. The name of the Google Compute Engine
1200
2463
  # [zone](/compute/docs/zones#available) in which the operation resides.
2464
+ # This field has been deprecated and replaced by the name field.
1201
2465
  # @param [String] operation_id
1202
- # The server-assigned `name` of the operation.
2466
+ # Deprecated. The server-assigned `name` of the operation.
2467
+ # This field has been deprecated and replaced by the name field.
1203
2468
  # @param [Google::Apis::ContainerV1::CancelOperationRequest] cancel_operation_request_object
1204
2469
  # @param [String] fields
1205
2470
  # Selector specifying which fields to include in a partial response.
@@ -1234,14 +2499,20 @@ module Google
1234
2499
 
1235
2500
  # Gets the specified operation.
1236
2501
  # @param [String] project_id
1237
- # The Google Developers Console [project ID or project
2502
+ # Deprecated. The Google Developers Console [project ID or project
1238
2503
  # number](https://support.google.com/cloud/answer/6158840).
2504
+ # This field has been deprecated and replaced by the name field.
1239
2505
  # @param [String] zone
1240
- # The name of the Google Compute Engine
2506
+ # Deprecated. The name of the Google Compute Engine
1241
2507
  # [zone](/compute/docs/zones#available) in which the cluster
1242
2508
  # resides.
2509
+ # This field has been deprecated and replaced by the name field.
1243
2510
  # @param [String] operation_id
1244
- # The server-assigned `name` of the operation.
2511
+ # Deprecated. The server-assigned `name` of the operation.
2512
+ # This field has been deprecated and replaced by the name field.
2513
+ # @param [String] name
2514
+ # The name (project, location, operation id) of the operation to get.
2515
+ # Specified in the format 'projects/*/locations/*/operations/*'.
1245
2516
  # @param [String] fields
1246
2517
  # Selector specifying which fields to include in a partial response.
1247
2518
  # @param [String] quota_user
@@ -1259,13 +2530,14 @@ module Google
1259
2530
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1260
2531
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1261
2532
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1262
- def get_zone_operation(project_id, zone, operation_id, fields: nil, quota_user: nil, options: nil, &block)
2533
+ def get_zone_operation(project_id, zone, operation_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
1263
2534
  command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}', options)
1264
2535
  command.response_representation = Google::Apis::ContainerV1::Operation::Representation
1265
2536
  command.response_class = Google::Apis::ContainerV1::Operation
1266
2537
  command.params['projectId'] = project_id unless project_id.nil?
1267
2538
  command.params['zone'] = zone unless zone.nil?
1268
2539
  command.params['operationId'] = operation_id unless operation_id.nil?
2540
+ command.query['name'] = name unless name.nil?
1269
2541
  command.query['fields'] = fields unless fields.nil?
1270
2542
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1271
2543
  execute_or_queue_command(command, &block)
@@ -1273,11 +2545,18 @@ module Google
1273
2545
 
1274
2546
  # Lists all operations in a project in a specific zone or all zones.
1275
2547
  # @param [String] project_id
1276
- # The Google Developers Console [project ID or project
2548
+ # Deprecated. The Google Developers Console [project ID or project
1277
2549
  # number](https://support.google.com/cloud/answer/6158840).
2550
+ # This field has been deprecated and replaced by the parent field.
1278
2551
  # @param [String] zone
1279
- # The name of the Google Compute Engine [zone](/compute/docs/zones#available)
2552
+ # Deprecated. The name of the Google Compute Engine [zone](/compute/docs/zones#
2553
+ # available)
1280
2554
  # to return operations for, or `-` for all zones.
2555
+ # This field has been deprecated and replaced by the parent field.
2556
+ # @param [String] parent
2557
+ # The parent (project and location) where the operations will be listed.
2558
+ # Specified in the format 'projects/*/locations/*'.
2559
+ # Location "-" matches all zones and all regions.
1281
2560
  # @param [String] fields
1282
2561
  # Selector specifying which fields to include in a partial response.
1283
2562
  # @param [String] quota_user
@@ -1295,12 +2574,13 @@ module Google
1295
2574
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1296
2575
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1297
2576
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1298
- def list_zone_operations(project_id, zone, fields: nil, quota_user: nil, options: nil, &block)
2577
+ def list_zone_operations(project_id, zone, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
1299
2578
  command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/operations', options)
1300
2579
  command.response_representation = Google::Apis::ContainerV1::ListOperationsResponse::Representation
1301
2580
  command.response_class = Google::Apis::ContainerV1::ListOperationsResponse
1302
2581
  command.params['projectId'] = project_id unless project_id.nil?
1303
2582
  command.params['zone'] = zone unless zone.nil?
2583
+ command.query['parent'] = parent unless parent.nil?
1304
2584
  command.query['fields'] = fields unless fields.nil?
1305
2585
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1306
2586
  execute_or_queue_command(command, &block)