google-api-client 0.40.0 → 0.41.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 (326) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +184 -0
  3. data/generated/google/apis/admob_v1/classes.rb +5 -6
  4. data/generated/google/apis/admob_v1.rb +1 -1
  5. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  6. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  7. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  8. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  9. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  10. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
  13. data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
  14. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  15. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  16. data/generated/google/apis/apigee_v1/classes.rb +12 -6
  17. data/generated/google/apis/apigee_v1/representations.rb +1 -0
  18. data/generated/google/apis/apigee_v1.rb +1 -1
  19. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  20. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  21. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  22. data/generated/google/apis/appsmarket_v2.rb +3 -3
  23. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  24. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  25. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  26. data/generated/google/apis/bigquery_v2/classes.rb +15 -7
  27. data/generated/google/apis/bigquery_v2.rb +1 -1
  28. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  29. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  30. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  31. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  32. data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
  33. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  34. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  35. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  36. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  37. data/generated/google/apis/books_v1/service.rb +2 -2
  38. data/generated/google/apis/books_v1.rb +1 -1
  39. data/generated/google/apis/calendar_v3.rb +1 -1
  40. data/generated/google/apis/chat_v1/classes.rb +2 -0
  41. data/generated/google/apis/chat_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +37 -345
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -96
  44. data/generated/google/apis/cloudasset_v1/service.rb +11 -186
  45. data/generated/google/apis/cloudasset_v1.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  47. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  48. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  49. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  50. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  51. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  52. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  53. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  54. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  55. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +16 -4
  57. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  58. data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
  59. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  60. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +14 -2
  61. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  62. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +14 -2
  64. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  65. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  66. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  67. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  68. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  69. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  70. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  71. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  72. data/generated/google/apis/cloudkms_v1.rb +1 -1
  73. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +20 -15
  74. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  75. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -8
  77. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  78. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  79. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  80. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  81. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  82. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  83. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  84. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  85. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
  86. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  87. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
  88. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  89. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  90. data/generated/google/apis/compute_alpha/classes.rb +689 -145
  91. data/generated/google/apis/compute_alpha/representations.rb +217 -32
  92. data/generated/google/apis/compute_alpha/service.rb +869 -82
  93. data/generated/google/apis/compute_alpha.rb +1 -1
  94. data/generated/google/apis/compute_beta/classes.rb +173 -71
  95. data/generated/google/apis/compute_beta/representations.rb +25 -0
  96. data/generated/google/apis/compute_beta.rb +1 -1
  97. data/generated/google/apis/compute_v1/classes.rb +30 -18
  98. data/generated/google/apis/compute_v1/representations.rb +1 -0
  99. data/generated/google/apis/compute_v1.rb +1 -1
  100. data/generated/google/apis/container_v1beta1/classes.rb +21 -7
  101. data/generated/google/apis/container_v1beta1.rb +1 -1
  102. data/generated/google/apis/content_v2/classes.rb +41 -1
  103. data/generated/google/apis/content_v2/representations.rb +17 -0
  104. data/generated/google/apis/content_v2/service.rb +15 -6
  105. data/generated/google/apis/content_v2.rb +1 -1
  106. data/generated/google/apis/content_v2_1/classes.rb +444 -6
  107. data/generated/google/apis/content_v2_1/representations.rb +172 -0
  108. data/generated/google/apis/content_v2_1/service.rb +95 -6
  109. data/generated/google/apis/content_v2_1.rb +1 -1
  110. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  111. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  112. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  113. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  114. data/generated/google/apis/dataproc_v1/classes.rb +68 -22
  115. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  116. data/generated/google/apis/dataproc_v1.rb +1 -1
  117. data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -23
  118. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  119. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  120. data/generated/google/apis/dialogflow_v2/classes.rb +9 -29
  121. data/generated/google/apis/dialogflow_v2/representations.rb +0 -4
  122. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  123. data/generated/google/apis/dialogflow_v2.rb +1 -1
  124. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -28
  125. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -4
  126. data/generated/google/apis/dialogflow_v2beta1/service.rb +28 -4
  127. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  128. data/generated/google/apis/displayvideo_v1/classes.rb +464 -1
  129. data/generated/google/apis/displayvideo_v1/representations.rb +238 -0
  130. data/generated/google/apis/displayvideo_v1/service.rb +1722 -376
  131. data/generated/google/apis/displayvideo_v1.rb +1 -1
  132. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  133. data/generated/google/apis/dlp_v2/service.rb +170 -64
  134. data/generated/google/apis/dlp_v2.rb +1 -1
  135. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  136. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  137. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  138. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  139. data/generated/google/apis/drive_v2/service.rb +26 -78
  140. data/generated/google/apis/drive_v2.rb +1 -1
  141. data/generated/google/apis/drive_v3/service.rb +18 -54
  142. data/generated/google/apis/drive_v3.rb +1 -1
  143. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  144. data/generated/google/apis/fcm_v1.rb +1 -1
  145. data/generated/google/apis/file_v1/classes.rb +0 -1156
  146. data/generated/google/apis/file_v1/representations.rb +0 -381
  147. data/generated/google/apis/file_v1.rb +1 -1
  148. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  149. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  150. data/generated/google/apis/file_v1beta1.rb +1 -1
  151. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  152. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  153. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  154. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  155. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  156. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  157. data/generated/google/apis/fitness_v1.rb +1 -1
  158. data/generated/google/apis/games_v1.rb +1 -1
  159. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  160. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  161. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  162. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  163. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  164. data/generated/google/apis/gmail_v1/service.rb +551 -743
  165. data/generated/google/apis/gmail_v1.rb +3 -2
  166. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  167. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  168. data/generated/google/apis/healthcare_v1/classes.rb +3 -3
  169. data/generated/google/apis/healthcare_v1/service.rb +5 -3
  170. data/generated/google/apis/healthcare_v1.rb +1 -1
  171. data/generated/google/apis/healthcare_v1beta1/classes.rb +913 -46
  172. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  173. data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
  174. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  175. data/generated/google/apis/iam_v1/classes.rb +92 -81
  176. data/generated/google/apis/iam_v1/service.rb +167 -148
  177. data/generated/google/apis/iam_v1.rb +1 -1
  178. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  179. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  180. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  181. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  182. data/generated/google/apis/jobs_v3.rb +1 -1
  183. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  184. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  185. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  186. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  187. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  188. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  189. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  190. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  191. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  192. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  193. data/generated/google/apis/monitoring_v1.rb +1 -1
  194. data/generated/google/apis/monitoring_v3/classes.rb +66 -17
  195. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  196. data/generated/google/apis/monitoring_v3.rb +1 -1
  197. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  198. data/generated/google/apis/osconfig_v1.rb +1 -1
  199. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  200. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  201. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  202. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  203. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  204. data/generated/google/apis/people_v1/classes.rb +216 -0
  205. data/generated/google/apis/people_v1/representations.rb +82 -0
  206. data/generated/google/apis/people_v1/service.rb +371 -8
  207. data/generated/google/apis/people_v1.rb +1 -1
  208. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  209. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  210. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  211. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  212. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  213. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  214. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  215. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  216. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  217. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  218. data/generated/google/apis/pubsub_v1/classes.rb +64 -8
  219. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  220. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  221. data/generated/google/apis/pubsub_v1.rb +1 -1
  222. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  223. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  224. data/generated/google/apis/recommender_v1/service.rb +266 -0
  225. data/generated/google/apis/{customsearch_v1.rb → recommender_v1.rb} +11 -8
  226. data/generated/google/apis/run_v1/classes.rb +15 -6
  227. data/generated/google/apis/run_v1/representations.rb +1 -0
  228. data/generated/google/apis/run_v1.rb +1 -1
  229. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  230. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  231. data/generated/google/apis/run_v1alpha1.rb +1 -1
  232. data/generated/google/apis/run_v1beta1.rb +1 -1
  233. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  234. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  235. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  236. data/generated/google/apis/secretmanager_v1.rb +1 -1
  237. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  238. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  239. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  240. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  241. data/generated/google/apis/securitycenter_v1/service.rb +10 -10
  242. data/generated/google/apis/securitycenter_v1.rb +1 -1
  243. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  244. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  245. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  246. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  247. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  248. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  249. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  250. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  251. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +10 -10
  252. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  253. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  254. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  255. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  256. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  257. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  258. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  259. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  260. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  261. data/generated/google/apis/servicemanagement_v1/classes.rb +123 -49
  262. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  263. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  264. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  265. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  266. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  268. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  269. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  270. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  271. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  272. data/generated/google/apis/serviceusage_v1.rb +1 -1
  273. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  274. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  275. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  276. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  277. data/generated/google/apis/slides_v1/classes.rb +4 -0
  278. data/generated/google/apis/slides_v1.rb +1 -1
  279. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  280. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  281. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  282. data/generated/google/apis/spanner_v1/classes.rb +1 -2
  283. data/generated/google/apis/spanner_v1/service.rb +8 -8
  284. data/generated/google/apis/spanner_v1.rb +1 -1
  285. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  286. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  287. data/generated/google/apis/sql_v1beta4.rb +1 -1
  288. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  289. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  290. data/generated/google/apis/testing_v1/classes.rb +2 -1
  291. data/generated/google/apis/testing_v1.rb +1 -1
  292. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  293. data/generated/google/apis/texttospeech_v1.rb +1 -1
  294. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  295. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  296. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  297. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  298. data/generated/google/apis/videointelligence_v1.rb +1 -1
  299. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  300. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  301. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  302. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  303. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  304. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  305. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  306. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  307. data/generated/google/apis/vision_v1/classes.rb +18 -0
  308. data/generated/google/apis/vision_v1.rb +1 -1
  309. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  310. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  311. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  312. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  313. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  314. data/generated/google/apis/youtube_v3/classes.rb +38 -0
  315. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  316. data/generated/google/apis/youtube_v3/service.rb +32 -0
  317. data/generated/google/apis/youtube_v3.rb +1 -1
  318. data/lib/google/apis/core/api_command.rb +12 -7
  319. data/lib/google/apis/options.rb +5 -1
  320. data/lib/google/apis/version.rb +1 -1
  321. metadata +11 -11
  322. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  323. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  324. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  325. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
  326. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
@@ -4443,6 +4443,43 @@ module Google
4443
4443
  execute_or_queue_command(command, &block)
4444
4444
  end
4445
4445
 
4446
+ # Find owner instance from given ip address
4447
+ # @param [String] project
4448
+ # Project ID for this request.
4449
+ # @param [String] ip_address
4450
+ # The ip_address could be external IPv4, or internal IPv4 within IPv6 form of
4451
+ # virtual_network_id with internal IPv4. IPv6 is not supported yet.
4452
+ # @param [String] fields
4453
+ # Selector specifying which fields to include in a partial response.
4454
+ # @param [String] quota_user
4455
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4456
+ # characters.
4457
+ # @param [String] user_ip
4458
+ # Deprecated. Please use quotaUser instead.
4459
+ # @param [Google::Apis::RequestOptions] options
4460
+ # Request-specific options
4461
+ #
4462
+ # @yield [result, err] Result & error if block supplied
4463
+ # @yieldparam result [Google::Apis::ComputeAlpha::GetOwnerInstanceResponse] parsed result object
4464
+ # @yieldparam err [StandardError] error object if request failed
4465
+ #
4466
+ # @return [Google::Apis::ComputeAlpha::GetOwnerInstanceResponse]
4467
+ #
4468
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4469
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4470
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4471
+ def get_global_address_owner_instance(project, ip_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4472
+ command = make_simple_command(:get, '{project}/global/addresses/getOwnerInstance', options)
4473
+ command.response_representation = Google::Apis::ComputeAlpha::GetOwnerInstanceResponse::Representation
4474
+ command.response_class = Google::Apis::ComputeAlpha::GetOwnerInstanceResponse
4475
+ command.params['project'] = project unless project.nil?
4476
+ command.query['ipAddress'] = ip_address unless ip_address.nil?
4477
+ command.query['fields'] = fields unless fields.nil?
4478
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4479
+ command.query['userIp'] = user_ip unless user_ip.nil?
4480
+ execute_or_queue_command(command, &block)
4481
+ end
4482
+
4446
4483
  # Creates an address resource in the specified project by using the data
4447
4484
  # included in the request.
4448
4485
  # @param [String] project
@@ -8497,6 +8534,9 @@ module Google
8497
8534
  # @param [String] page_token
8498
8535
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
8499
8536
  # by a previous list request to get the next page of results.
8537
+ # @param [Boolean] return_partial_success
8538
+ # Opt-in for partial success behavior which provides partial results in case of
8539
+ # failure. The default value is false and the logic is the same as today.
8500
8540
  # @param [String] fields
8501
8541
  # Selector specifying which fields to include in a partial response.
8502
8542
  # @param [String] quota_user
@@ -8516,7 +8556,7 @@ module Google
8516
8556
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8517
8557
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8518
8558
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8519
- def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8559
+ def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8520
8560
  command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
8521
8561
  command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse::Representation
8522
8562
  command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse
@@ -8527,6 +8567,7 @@ module Google
8527
8567
  command.query['maxResults'] = max_results unless max_results.nil?
8528
8568
  command.query['orderBy'] = order_by unless order_by.nil?
8529
8569
  command.query['pageToken'] = page_token unless page_token.nil?
8570
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
8530
8571
  command.query['fields'] = fields unless fields.nil?
8531
8572
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8532
8573
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -15555,12 +15596,16 @@ module Google
15555
15596
  execute_or_queue_command(command, &block)
15556
15597
  end
15557
15598
 
15558
- # Adds a peering to the specified network.
15599
+ # Inserts an association for the specified firewall policy.
15559
15600
  # @param [String] project
15560
15601
  # Project ID for this request.
15561
- # @param [String] network
15562
- # Name of the network resource to add peering to.
15563
- # @param [Google::Apis::ComputeAlpha::NetworksAddPeeringRequest] networks_add_peering_request_object
15602
+ # @param [String] firewall_policy
15603
+ # Name of the firewall policy to update.
15604
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] firewall_policy_association_object
15605
+ # @param [Boolean] replace_existing_association
15606
+ # Indicates whether or not to replace it if an association of the attachment
15607
+ # already exists. This is false by default, in which case an error will be
15608
+ # returned if an association already exists.
15564
15609
  # @param [String] request_id
15565
15610
  # An optional request ID to identify requests. Specify a unique request ID so
15566
15611
  # that if you must retry your request, the server will know to ignore the
@@ -15591,14 +15636,15 @@ module Google
15591
15636
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15592
15637
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15593
15638
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15594
- def add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15595
- command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options)
15596
- command.request_representation = Google::Apis::ComputeAlpha::NetworksAddPeeringRequest::Representation
15597
- command.request_object = networks_add_peering_request_object
15639
+ def add_network_firewall_policy_association(project, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15640
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/addAssociation', options)
15641
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
15642
+ command.request_object = firewall_policy_association_object
15598
15643
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15599
15644
  command.response_class = Google::Apis::ComputeAlpha::Operation
15600
15645
  command.params['project'] = project unless project.nil?
15601
- command.params['network'] = network unless network.nil?
15646
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15647
+ command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil?
15602
15648
  command.query['requestId'] = request_id unless request_id.nil?
15603
15649
  command.query['fields'] = fields unless fields.nil?
15604
15650
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -15606,11 +15652,50 @@ module Google
15606
15652
  execute_or_queue_command(command, &block)
15607
15653
  end
15608
15654
 
15609
- # Deletes the specified network.
15655
+ # Inserts a rule into a firewall policy.
15610
15656
  # @param [String] project
15611
15657
  # Project ID for this request.
15612
- # @param [String] network
15613
- # Name of the network to delete.
15658
+ # @param [String] firewall_policy
15659
+ # Name of the firewall policy to update.
15660
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
15661
+ # @param [String] fields
15662
+ # Selector specifying which fields to include in a partial response.
15663
+ # @param [String] quota_user
15664
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
15665
+ # characters.
15666
+ # @param [String] user_ip
15667
+ # Deprecated. Please use quotaUser instead.
15668
+ # @param [Google::Apis::RequestOptions] options
15669
+ # Request-specific options
15670
+ #
15671
+ # @yield [result, err] Result & error if block supplied
15672
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
15673
+ # @yieldparam err [StandardError] error object if request failed
15674
+ #
15675
+ # @return [Google::Apis::ComputeAlpha::Operation]
15676
+ #
15677
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15678
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15679
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15680
+ def add_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15681
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/addRule', options)
15682
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
15683
+ command.request_object = firewall_policy_rule_object
15684
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15685
+ command.response_class = Google::Apis::ComputeAlpha::Operation
15686
+ command.params['project'] = project unless project.nil?
15687
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15688
+ command.query['fields'] = fields unless fields.nil?
15689
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15690
+ command.query['userIp'] = user_ip unless user_ip.nil?
15691
+ execute_or_queue_command(command, &block)
15692
+ end
15693
+
15694
+ # Copies rules to the specified firewall policy.
15695
+ # @param [String] project
15696
+ # Project ID for this request.
15697
+ # @param [String] firewall_policy
15698
+ # Name of the firewall policy to update.
15614
15699
  # @param [String] request_id
15615
15700
  # An optional request ID to identify requests. Specify a unique request ID so
15616
15701
  # that if you must retry your request, the server will know to ignore the
@@ -15622,6 +15707,8 @@ module Google
15622
15707
  # accidentally creating duplicate commitments.
15623
15708
  # The request ID must be a valid UUID with the exception that zero UUID is not
15624
15709
  # supported (00000000-0000-0000-0000-000000000000).
15710
+ # @param [String] source_firewall_policy
15711
+ # The firewall policy from which to copy rules.
15625
15712
  # @param [String] fields
15626
15713
  # Selector specifying which fields to include in a partial response.
15627
15714
  # @param [String] quota_user
@@ -15641,25 +15728,36 @@ module Google
15641
15728
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15642
15729
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15643
15730
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15644
- def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15645
- command = make_simple_command(:delete, '{project}/global/networks/{network}', options)
15731
+ def clone_network_firewall_policy_rules(project, firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15732
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/cloneRules', options)
15646
15733
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15647
15734
  command.response_class = Google::Apis::ComputeAlpha::Operation
15648
15735
  command.params['project'] = project unless project.nil?
15649
- command.params['network'] = network unless network.nil?
15736
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15650
15737
  command.query['requestId'] = request_id unless request_id.nil?
15738
+ command.query['sourceFirewallPolicy'] = source_firewall_policy unless source_firewall_policy.nil?
15651
15739
  command.query['fields'] = fields unless fields.nil?
15652
15740
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15653
15741
  command.query['userIp'] = user_ip unless user_ip.nil?
15654
15742
  execute_or_queue_command(command, &block)
15655
15743
  end
15656
15744
 
15657
- # Returns the specified network. Gets a list of available networks by making a
15658
- # list() request.
15745
+ # Deletes the specified policy.
15659
15746
  # @param [String] project
15660
15747
  # Project ID for this request.
15661
- # @param [String] network
15662
- # Name of the network to return.
15748
+ # @param [String] firewall_policy
15749
+ # Name of the firewall policy to delete.
15750
+ # @param [String] request_id
15751
+ # An optional request ID to identify requests. Specify a unique request ID so
15752
+ # that if you must retry your request, the server will know to ignore the
15753
+ # request if it has already been completed.
15754
+ # For example, consider a situation where you make an initial request and the
15755
+ # request times out. If you make the request again with the same request ID, the
15756
+ # server can check if original operation with the same request ID was received,
15757
+ # and if so, will ignore the second request. This prevents clients from
15758
+ # accidentally creating duplicate commitments.
15759
+ # The request ID must be a valid UUID with the exception that zero UUID is not
15760
+ # supported (00000000-0000-0000-0000-000000000000).
15663
15761
  # @param [String] fields
15664
15762
  # Selector specifying which fields to include in a partial response.
15665
15763
  # @param [String] quota_user
@@ -15671,31 +15769,32 @@ module Google
15671
15769
  # Request-specific options
15672
15770
  #
15673
15771
  # @yield [result, err] Result & error if block supplied
15674
- # @yieldparam result [Google::Apis::ComputeAlpha::Network] parsed result object
15772
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
15675
15773
  # @yieldparam err [StandardError] error object if request failed
15676
15774
  #
15677
- # @return [Google::Apis::ComputeAlpha::Network]
15775
+ # @return [Google::Apis::ComputeAlpha::Operation]
15678
15776
  #
15679
15777
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15680
15778
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15681
15779
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15682
- def get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15683
- command = make_simple_command(:get, '{project}/global/networks/{network}', options)
15684
- command.response_representation = Google::Apis::ComputeAlpha::Network::Representation
15685
- command.response_class = Google::Apis::ComputeAlpha::Network
15780
+ def delete_network_firewall_policy(project, firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15781
+ command = make_simple_command(:delete, '{project}/global/firewallPolicies/{firewallPolicy}', options)
15782
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15783
+ command.response_class = Google::Apis::ComputeAlpha::Operation
15686
15784
  command.params['project'] = project unless project.nil?
15687
- command.params['network'] = network unless network.nil?
15785
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15786
+ command.query['requestId'] = request_id unless request_id.nil?
15688
15787
  command.query['fields'] = fields unless fields.nil?
15689
15788
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15690
15789
  command.query['userIp'] = user_ip unless user_ip.nil?
15691
15790
  execute_or_queue_command(command, &block)
15692
15791
  end
15693
15792
 
15694
- # Returns the effective firewalls on a given network.
15793
+ # Returns the specified network firewall policy.
15695
15794
  # @param [String] project
15696
15795
  # Project ID for this request.
15697
- # @param [String] network
15698
- # Name of the network for this request.
15796
+ # @param [String] firewall_policy
15797
+ # Name of the firewall policy to get.
15699
15798
  # @param [String] fields
15700
15799
  # Selector specifying which fields to include in a partial response.
15701
15800
  # @param [String] quota_user
@@ -15707,31 +15806,149 @@ module Google
15707
15806
  # Request-specific options
15708
15807
  #
15709
15808
  # @yield [result, err] Result & error if block supplied
15710
- # @yieldparam result [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse] parsed result object
15809
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicy] parsed result object
15711
15810
  # @yieldparam err [StandardError] error object if request failed
15712
15811
  #
15713
- # @return [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse]
15812
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicy]
15714
15813
  #
15715
15814
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15716
15815
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15717
15816
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15718
- def get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15719
- command = make_simple_command(:get, '{project}/global/networks/{network}/getEffectiveFirewalls', options)
15720
- command.response_representation = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse::Representation
15721
- command.response_class = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse
15817
+ def get_network_firewall_policy(project, firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15818
+ command = make_simple_command(:get, '{project}/global/firewallPolicies/{firewallPolicy}', options)
15819
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
15820
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicy
15722
15821
  command.params['project'] = project unless project.nil?
15723
- command.params['network'] = network unless network.nil?
15822
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15724
15823
  command.query['fields'] = fields unless fields.nil?
15725
15824
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15726
15825
  command.query['userIp'] = user_ip unless user_ip.nil?
15727
15826
  execute_or_queue_command(command, &block)
15728
15827
  end
15729
15828
 
15730
- # Creates a network in the specified project using the data included in the
15829
+ # Gets an association with the specified name.
15830
+ # @param [String] project
15831
+ # Project ID for this request.
15832
+ # @param [String] firewall_policy
15833
+ # Name of the firewall policy to which the queried rule belongs.
15834
+ # @param [String] name
15835
+ # The name of the association to get from the firewall policy.
15836
+ # @param [String] fields
15837
+ # Selector specifying which fields to include in a partial response.
15838
+ # @param [String] quota_user
15839
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
15840
+ # characters.
15841
+ # @param [String] user_ip
15842
+ # Deprecated. Please use quotaUser instead.
15843
+ # @param [Google::Apis::RequestOptions] options
15844
+ # Request-specific options
15845
+ #
15846
+ # @yield [result, err] Result & error if block supplied
15847
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] parsed result object
15848
+ # @yieldparam err [StandardError] error object if request failed
15849
+ #
15850
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyAssociation]
15851
+ #
15852
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15853
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15854
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15855
+ def get_network_firewall_policy_association(project, firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15856
+ command = make_simple_command(:get, '{project}/global/firewallPolicies/{firewallPolicy}/getAssociation', options)
15857
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
15858
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyAssociation
15859
+ command.params['project'] = project unless project.nil?
15860
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15861
+ command.query['name'] = name unless name.nil?
15862
+ command.query['fields'] = fields unless fields.nil?
15863
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15864
+ command.query['userIp'] = user_ip unless user_ip.nil?
15865
+ execute_or_queue_command(command, &block)
15866
+ end
15867
+
15868
+ # Gets the access control policy for a resource. May be empty if no such policy
15869
+ # or resource exists.
15870
+ # @param [String] project
15871
+ # Project ID for this request.
15872
+ # @param [String] resource
15873
+ # Name or id of the resource for this request.
15874
+ # @param [Fixnum] options_requested_policy_version
15875
+ # Requested IAM Policy version.
15876
+ # @param [String] fields
15877
+ # Selector specifying which fields to include in a partial response.
15878
+ # @param [String] quota_user
15879
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
15880
+ # characters.
15881
+ # @param [String] user_ip
15882
+ # Deprecated. Please use quotaUser instead.
15883
+ # @param [Google::Apis::RequestOptions] options
15884
+ # Request-specific options
15885
+ #
15886
+ # @yield [result, err] Result & error if block supplied
15887
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
15888
+ # @yieldparam err [StandardError] error object if request failed
15889
+ #
15890
+ # @return [Google::Apis::ComputeAlpha::Policy]
15891
+ #
15892
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15893
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15894
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15895
+ def get_network_firewall_policy_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15896
+ command = make_simple_command(:get, '{project}/global/firewallPolicies/{resource}/getIamPolicy', options)
15897
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
15898
+ command.response_class = Google::Apis::ComputeAlpha::Policy
15899
+ command.params['project'] = project unless project.nil?
15900
+ command.params['resource'] = resource unless resource.nil?
15901
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
15902
+ command.query['fields'] = fields unless fields.nil?
15903
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15904
+ command.query['userIp'] = user_ip unless user_ip.nil?
15905
+ execute_or_queue_command(command, &block)
15906
+ end
15907
+
15908
+ # Gets a rule of the specified priority.
15909
+ # @param [String] project
15910
+ # Project ID for this request.
15911
+ # @param [String] firewall_policy
15912
+ # Name of the firewall policy to which the queried rule belongs.
15913
+ # @param [Fixnum] priority
15914
+ # The priority of the rule to get from the firewall policy.
15915
+ # @param [String] fields
15916
+ # Selector specifying which fields to include in a partial response.
15917
+ # @param [String] quota_user
15918
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
15919
+ # characters.
15920
+ # @param [String] user_ip
15921
+ # Deprecated. Please use quotaUser instead.
15922
+ # @param [Google::Apis::RequestOptions] options
15923
+ # Request-specific options
15924
+ #
15925
+ # @yield [result, err] Result & error if block supplied
15926
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyRule] parsed result object
15927
+ # @yieldparam err [StandardError] error object if request failed
15928
+ #
15929
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyRule]
15930
+ #
15931
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15932
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15933
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15934
+ def get_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15935
+ command = make_simple_command(:get, '{project}/global/firewallPolicies/{firewallPolicy}/getRule', options)
15936
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
15937
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyRule
15938
+ command.params['project'] = project unless project.nil?
15939
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15940
+ command.query['priority'] = priority unless priority.nil?
15941
+ command.query['fields'] = fields unless fields.nil?
15942
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15943
+ command.query['userIp'] = user_ip unless user_ip.nil?
15944
+ execute_or_queue_command(command, &block)
15945
+ end
15946
+
15947
+ # Creates a new policy in the specified project using the data included in the
15731
15948
  # request.
15732
15949
  # @param [String] project
15733
15950
  # Project ID for this request.
15734
- # @param [Google::Apis::ComputeAlpha::Network] network_object
15951
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicy] firewall_policy_object
15735
15952
  # @param [String] request_id
15736
15953
  # An optional request ID to identify requests. Specify a unique request ID so
15737
15954
  # that if you must retry your request, the server will know to ignore the
@@ -15762,10 +15979,10 @@ module Google
15762
15979
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15763
15980
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15764
15981
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15765
- def insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15766
- command = make_simple_command(:post, '{project}/global/networks', options)
15767
- command.request_representation = Google::Apis::ComputeAlpha::Network::Representation
15768
- command.request_object = network_object
15982
+ def insert_network_firewall_policy(project, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15983
+ command = make_simple_command(:post, '{project}/global/firewallPolicies', options)
15984
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
15985
+ command.request_object = firewall_policy_object
15769
15986
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15770
15987
  command.response_class = Google::Apis::ComputeAlpha::Operation
15771
15988
  command.params['project'] = project unless project.nil?
@@ -15776,7 +15993,7 @@ module Google
15776
15993
  execute_or_queue_command(command, &block)
15777
15994
  end
15778
15995
 
15779
- # Retrieves the list of networks available to the specified project.
15996
+ # Lists all the policies that have been configured for the specified project.
15780
15997
  # @param [String] project
15781
15998
  # Project ID for this request.
15782
15999
  # @param [String] filter
@@ -15827,18 +16044,18 @@ module Google
15827
16044
  # Request-specific options
15828
16045
  #
15829
16046
  # @yield [result, err] Result & error if block supplied
15830
- # @yieldparam result [Google::Apis::ComputeAlpha::NetworkList] parsed result object
16047
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyList] parsed result object
15831
16048
  # @yieldparam err [StandardError] error object if request failed
15832
16049
  #
15833
- # @return [Google::Apis::ComputeAlpha::NetworkList]
16050
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyList]
15834
16051
  #
15835
16052
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15836
16053
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15837
16054
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15838
- def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15839
- command = make_simple_command(:get, '{project}/global/networks', options)
15840
- command.response_representation = Google::Apis::ComputeAlpha::NetworkList::Representation
15841
- command.response_class = Google::Apis::ComputeAlpha::NetworkList
16055
+ def list_network_firewall_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16056
+ command = make_simple_command(:get, '{project}/global/firewallPolicies', options)
16057
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyList::Representation
16058
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyList
15842
16059
  command.params['project'] = project unless project.nil?
15843
16060
  command.query['filter'] = filter unless filter.nil?
15844
16061
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -15851,37 +16068,595 @@ module Google
15851
16068
  execute_or_queue_command(command, &block)
15852
16069
  end
15853
16070
 
15854
- # Lists the internal IP addresses in the specified network.
16071
+ # Patches the specified policy with the data included in the request.
15855
16072
  # @param [String] project
15856
16073
  # Project ID for this request.
15857
- # @param [String] network
15858
- # Name of the network for this request.
15859
- # @param [String] filter
15860
- # A filter expression that filters resources listed in the response. The
15861
- # expression must specify the field name, a comparison operator, and the value
15862
- # that you want to use for filtering. The value must be a string, a number, or a
15863
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
15864
- # For example, if you are filtering Compute Engine instances, you can exclude
15865
- # instances named `example-instance` by specifying `name != example-instance`.
15866
- # You can also filter nested fields. For example, you could specify `scheduling.
15867
- # automaticRestart = false` to include instances only if they are not scheduled
15868
- # for automatic restarts. You can use filtering on nested fields to filter based
15869
- # on resource labels.
15870
- # To filter on multiple expressions, provide each separate expression within
15871
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
15872
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
15873
- # expression. However, you can include `AND` and `OR` expressions explicitly.
15874
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
15875
- # Broadwell") AND (scheduling.automaticRestart = true) ```
15876
- # @param [Fixnum] max_results
15877
- # The maximum number of results per page that should be returned. If the number
15878
- # of available results is larger than `maxResults`, Compute Engine returns a `
15879
- # nextPageToken` that can be used to get the next page of results in subsequent
15880
- # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
15881
- # @param [String] order_by
15882
- # Sorts list results by a certain order. By default, results are returned in
15883
- # alphanumerical order based on the resource name.
15884
- # You can also sort results in descending order based on the creation timestamp
16074
+ # @param [String] firewall_policy
16075
+ # Name of the firewall policy to update.
16076
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicy] firewall_policy_object
16077
+ # @param [String] request_id
16078
+ # An optional request ID to identify requests. Specify a unique request ID so
16079
+ # that if you must retry your request, the server will know to ignore the
16080
+ # request if it has already been completed.
16081
+ # For example, consider a situation where you make an initial request and the
16082
+ # request times out. If you make the request again with the same request ID, the
16083
+ # server can check if original operation with the same request ID was received,
16084
+ # and if so, will ignore the second request. This prevents clients from
16085
+ # accidentally creating duplicate commitments.
16086
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16087
+ # supported (00000000-0000-0000-0000-000000000000).
16088
+ # @param [String] fields
16089
+ # Selector specifying which fields to include in a partial response.
16090
+ # @param [String] quota_user
16091
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16092
+ # characters.
16093
+ # @param [String] user_ip
16094
+ # Deprecated. Please use quotaUser instead.
16095
+ # @param [Google::Apis::RequestOptions] options
16096
+ # Request-specific options
16097
+ #
16098
+ # @yield [result, err] Result & error if block supplied
16099
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16100
+ # @yieldparam err [StandardError] error object if request failed
16101
+ #
16102
+ # @return [Google::Apis::ComputeAlpha::Operation]
16103
+ #
16104
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16105
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16106
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16107
+ def patch_network_firewall_policy(project, firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16108
+ command = make_simple_command(:patch, '{project}/global/firewallPolicies/{firewallPolicy}', options)
16109
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
16110
+ command.request_object = firewall_policy_object
16111
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16112
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16113
+ command.params['project'] = project unless project.nil?
16114
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16115
+ command.query['requestId'] = request_id unless request_id.nil?
16116
+ command.query['fields'] = fields unless fields.nil?
16117
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16118
+ command.query['userIp'] = user_ip unless user_ip.nil?
16119
+ execute_or_queue_command(command, &block)
16120
+ end
16121
+
16122
+ # Patches a rule of the specified priority.
16123
+ # @param [String] project
16124
+ # Project ID for this request.
16125
+ # @param [String] firewall_policy
16126
+ # Name of the firewall policy to update.
16127
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
16128
+ # @param [Fixnum] priority
16129
+ # The priority of the rule to patch.
16130
+ # @param [String] fields
16131
+ # Selector specifying which fields to include in a partial response.
16132
+ # @param [String] quota_user
16133
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16134
+ # characters.
16135
+ # @param [String] user_ip
16136
+ # Deprecated. Please use quotaUser instead.
16137
+ # @param [Google::Apis::RequestOptions] options
16138
+ # Request-specific options
16139
+ #
16140
+ # @yield [result, err] Result & error if block supplied
16141
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16142
+ # @yieldparam err [StandardError] error object if request failed
16143
+ #
16144
+ # @return [Google::Apis::ComputeAlpha::Operation]
16145
+ #
16146
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16147
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16148
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16149
+ def patch_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16150
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/patchRule', options)
16151
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
16152
+ command.request_object = firewall_policy_rule_object
16153
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16154
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16155
+ command.params['project'] = project unless project.nil?
16156
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16157
+ command.query['priority'] = priority unless priority.nil?
16158
+ command.query['fields'] = fields unless fields.nil?
16159
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16160
+ command.query['userIp'] = user_ip unless user_ip.nil?
16161
+ execute_or_queue_command(command, &block)
16162
+ end
16163
+
16164
+ # Removes an association for the specified firewall policy.
16165
+ # @param [String] project
16166
+ # Project ID for this request.
16167
+ # @param [String] firewall_policy
16168
+ # Name of the firewall policy to update.
16169
+ # @param [String] name
16170
+ # Name for the attachment that will be removed.
16171
+ # @param [String] request_id
16172
+ # An optional request ID to identify requests. Specify a unique request ID so
16173
+ # that if you must retry your request, the server will know to ignore the
16174
+ # request if it has already been completed.
16175
+ # For example, consider a situation where you make an initial request and the
16176
+ # request times out. If you make the request again with the same request ID, the
16177
+ # server can check if original operation with the same request ID was received,
16178
+ # and if so, will ignore the second request. This prevents clients from
16179
+ # accidentally creating duplicate commitments.
16180
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16181
+ # supported (00000000-0000-0000-0000-000000000000).
16182
+ # @param [String] fields
16183
+ # Selector specifying which fields to include in a partial response.
16184
+ # @param [String] quota_user
16185
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16186
+ # characters.
16187
+ # @param [String] user_ip
16188
+ # Deprecated. Please use quotaUser instead.
16189
+ # @param [Google::Apis::RequestOptions] options
16190
+ # Request-specific options
16191
+ #
16192
+ # @yield [result, err] Result & error if block supplied
16193
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16194
+ # @yieldparam err [StandardError] error object if request failed
16195
+ #
16196
+ # @return [Google::Apis::ComputeAlpha::Operation]
16197
+ #
16198
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16199
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16200
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16201
+ def remove_network_firewall_policy_association(project, firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16202
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation', options)
16203
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16204
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16205
+ command.params['project'] = project unless project.nil?
16206
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16207
+ command.query['name'] = name unless name.nil?
16208
+ command.query['requestId'] = request_id unless request_id.nil?
16209
+ command.query['fields'] = fields unless fields.nil?
16210
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16211
+ command.query['userIp'] = user_ip unless user_ip.nil?
16212
+ execute_or_queue_command(command, &block)
16213
+ end
16214
+
16215
+ # Deletes a rule of the specified priority.
16216
+ # @param [String] project
16217
+ # Project ID for this request.
16218
+ # @param [String] firewall_policy
16219
+ # Name of the firewall policy to update.
16220
+ # @param [Fixnum] priority
16221
+ # The priority of the rule to remove from the firewall policy.
16222
+ # @param [String] fields
16223
+ # Selector specifying which fields to include in a partial response.
16224
+ # @param [String] quota_user
16225
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16226
+ # characters.
16227
+ # @param [String] user_ip
16228
+ # Deprecated. Please use quotaUser instead.
16229
+ # @param [Google::Apis::RequestOptions] options
16230
+ # Request-specific options
16231
+ #
16232
+ # @yield [result, err] Result & error if block supplied
16233
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16234
+ # @yieldparam err [StandardError] error object if request failed
16235
+ #
16236
+ # @return [Google::Apis::ComputeAlpha::Operation]
16237
+ #
16238
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16239
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16240
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16241
+ def remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16242
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/removeRule', options)
16243
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16244
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16245
+ command.params['project'] = project unless project.nil?
16246
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16247
+ command.query['priority'] = priority unless priority.nil?
16248
+ command.query['fields'] = fields unless fields.nil?
16249
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16250
+ command.query['userIp'] = user_ip unless user_ip.nil?
16251
+ execute_or_queue_command(command, &block)
16252
+ end
16253
+
16254
+ # Sets the access control policy on the specified resource. Replaces any
16255
+ # existing policy.
16256
+ # @param [String] project
16257
+ # Project ID for this request.
16258
+ # @param [String] resource
16259
+ # Name or id of the resource for this request.
16260
+ # @param [Google::Apis::ComputeAlpha::GlobalSetPolicyRequest] global_set_policy_request_object
16261
+ # @param [String] fields
16262
+ # Selector specifying which fields to include in a partial response.
16263
+ # @param [String] quota_user
16264
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16265
+ # characters.
16266
+ # @param [String] user_ip
16267
+ # Deprecated. Please use quotaUser instead.
16268
+ # @param [Google::Apis::RequestOptions] options
16269
+ # Request-specific options
16270
+ #
16271
+ # @yield [result, err] Result & error if block supplied
16272
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
16273
+ # @yieldparam err [StandardError] error object if request failed
16274
+ #
16275
+ # @return [Google::Apis::ComputeAlpha::Policy]
16276
+ #
16277
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16278
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16279
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16280
+ def set_network_firewall_policy_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16281
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{resource}/setIamPolicy', options)
16282
+ command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation
16283
+ command.request_object = global_set_policy_request_object
16284
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
16285
+ command.response_class = Google::Apis::ComputeAlpha::Policy
16286
+ command.params['project'] = project unless project.nil?
16287
+ command.params['resource'] = resource unless resource.nil?
16288
+ command.query['fields'] = fields unless fields.nil?
16289
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16290
+ command.query['userIp'] = user_ip unless user_ip.nil?
16291
+ execute_or_queue_command(command, &block)
16292
+ end
16293
+
16294
+ # Returns permissions that a caller has on the specified resource.
16295
+ # @param [String] project
16296
+ # Project ID for this request.
16297
+ # @param [String] resource
16298
+ # Name or id of the resource for this request.
16299
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
16300
+ # @param [String] fields
16301
+ # Selector specifying which fields to include in a partial response.
16302
+ # @param [String] quota_user
16303
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16304
+ # characters.
16305
+ # @param [String] user_ip
16306
+ # Deprecated. Please use quotaUser instead.
16307
+ # @param [Google::Apis::RequestOptions] options
16308
+ # Request-specific options
16309
+ #
16310
+ # @yield [result, err] Result & error if block supplied
16311
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
16312
+ # @yieldparam err [StandardError] error object if request failed
16313
+ #
16314
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
16315
+ #
16316
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16317
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16318
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16319
+ def test_network_firewall_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16320
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{resource}/testIamPermissions', options)
16321
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
16322
+ command.request_object = test_permissions_request_object
16323
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
16324
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
16325
+ command.params['project'] = project unless project.nil?
16326
+ command.params['resource'] = resource unless resource.nil?
16327
+ command.query['fields'] = fields unless fields.nil?
16328
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16329
+ command.query['userIp'] = user_ip unless user_ip.nil?
16330
+ execute_or_queue_command(command, &block)
16331
+ end
16332
+
16333
+ # Adds a peering to the specified network.
16334
+ # @param [String] project
16335
+ # Project ID for this request.
16336
+ # @param [String] network
16337
+ # Name of the network resource to add peering to.
16338
+ # @param [Google::Apis::ComputeAlpha::NetworksAddPeeringRequest] networks_add_peering_request_object
16339
+ # @param [String] request_id
16340
+ # An optional request ID to identify requests. Specify a unique request ID so
16341
+ # that if you must retry your request, the server will know to ignore the
16342
+ # request if it has already been completed.
16343
+ # For example, consider a situation where you make an initial request and the
16344
+ # request times out. If you make the request again with the same request ID, the
16345
+ # server can check if original operation with the same request ID was received,
16346
+ # and if so, will ignore the second request. This prevents clients from
16347
+ # accidentally creating duplicate commitments.
16348
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16349
+ # supported (00000000-0000-0000-0000-000000000000).
16350
+ # @param [String] fields
16351
+ # Selector specifying which fields to include in a partial response.
16352
+ # @param [String] quota_user
16353
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16354
+ # characters.
16355
+ # @param [String] user_ip
16356
+ # Deprecated. Please use quotaUser instead.
16357
+ # @param [Google::Apis::RequestOptions] options
16358
+ # Request-specific options
16359
+ #
16360
+ # @yield [result, err] Result & error if block supplied
16361
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16362
+ # @yieldparam err [StandardError] error object if request failed
16363
+ #
16364
+ # @return [Google::Apis::ComputeAlpha::Operation]
16365
+ #
16366
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16367
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16368
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16369
+ def add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16370
+ command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options)
16371
+ command.request_representation = Google::Apis::ComputeAlpha::NetworksAddPeeringRequest::Representation
16372
+ command.request_object = networks_add_peering_request_object
16373
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16374
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16375
+ command.params['project'] = project unless project.nil?
16376
+ command.params['network'] = network unless network.nil?
16377
+ command.query['requestId'] = request_id unless request_id.nil?
16378
+ command.query['fields'] = fields unless fields.nil?
16379
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16380
+ command.query['userIp'] = user_ip unless user_ip.nil?
16381
+ execute_or_queue_command(command, &block)
16382
+ end
16383
+
16384
+ # Deletes the specified network.
16385
+ # @param [String] project
16386
+ # Project ID for this request.
16387
+ # @param [String] network
16388
+ # Name of the network to delete.
16389
+ # @param [String] request_id
16390
+ # An optional request ID to identify requests. Specify a unique request ID so
16391
+ # that if you must retry your request, the server will know to ignore the
16392
+ # request if it has already been completed.
16393
+ # For example, consider a situation where you make an initial request and the
16394
+ # request times out. If you make the request again with the same request ID, the
16395
+ # server can check if original operation with the same request ID was received,
16396
+ # and if so, will ignore the second request. This prevents clients from
16397
+ # accidentally creating duplicate commitments.
16398
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16399
+ # supported (00000000-0000-0000-0000-000000000000).
16400
+ # @param [String] fields
16401
+ # Selector specifying which fields to include in a partial response.
16402
+ # @param [String] quota_user
16403
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16404
+ # characters.
16405
+ # @param [String] user_ip
16406
+ # Deprecated. Please use quotaUser instead.
16407
+ # @param [Google::Apis::RequestOptions] options
16408
+ # Request-specific options
16409
+ #
16410
+ # @yield [result, err] Result & error if block supplied
16411
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16412
+ # @yieldparam err [StandardError] error object if request failed
16413
+ #
16414
+ # @return [Google::Apis::ComputeAlpha::Operation]
16415
+ #
16416
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16417
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16418
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16419
+ def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16420
+ command = make_simple_command(:delete, '{project}/global/networks/{network}', options)
16421
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16422
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16423
+ command.params['project'] = project unless project.nil?
16424
+ command.params['network'] = network unless network.nil?
16425
+ command.query['requestId'] = request_id unless request_id.nil?
16426
+ command.query['fields'] = fields unless fields.nil?
16427
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16428
+ command.query['userIp'] = user_ip unless user_ip.nil?
16429
+ execute_or_queue_command(command, &block)
16430
+ end
16431
+
16432
+ # Returns the specified network. Gets a list of available networks by making a
16433
+ # list() request.
16434
+ # @param [String] project
16435
+ # Project ID for this request.
16436
+ # @param [String] network
16437
+ # Name of the network to return.
16438
+ # @param [String] fields
16439
+ # Selector specifying which fields to include in a partial response.
16440
+ # @param [String] quota_user
16441
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16442
+ # characters.
16443
+ # @param [String] user_ip
16444
+ # Deprecated. Please use quotaUser instead.
16445
+ # @param [Google::Apis::RequestOptions] options
16446
+ # Request-specific options
16447
+ #
16448
+ # @yield [result, err] Result & error if block supplied
16449
+ # @yieldparam result [Google::Apis::ComputeAlpha::Network] parsed result object
16450
+ # @yieldparam err [StandardError] error object if request failed
16451
+ #
16452
+ # @return [Google::Apis::ComputeAlpha::Network]
16453
+ #
16454
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16455
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16456
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16457
+ def get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16458
+ command = make_simple_command(:get, '{project}/global/networks/{network}', options)
16459
+ command.response_representation = Google::Apis::ComputeAlpha::Network::Representation
16460
+ command.response_class = Google::Apis::ComputeAlpha::Network
16461
+ command.params['project'] = project unless project.nil?
16462
+ command.params['network'] = network unless network.nil?
16463
+ command.query['fields'] = fields unless fields.nil?
16464
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16465
+ command.query['userIp'] = user_ip unless user_ip.nil?
16466
+ execute_or_queue_command(command, &block)
16467
+ end
16468
+
16469
+ # Returns the effective firewalls on a given network.
16470
+ # @param [String] project
16471
+ # Project ID for this request.
16472
+ # @param [String] network
16473
+ # Name of the network for this request.
16474
+ # @param [String] fields
16475
+ # Selector specifying which fields to include in a partial response.
16476
+ # @param [String] quota_user
16477
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16478
+ # characters.
16479
+ # @param [String] user_ip
16480
+ # Deprecated. Please use quotaUser instead.
16481
+ # @param [Google::Apis::RequestOptions] options
16482
+ # Request-specific options
16483
+ #
16484
+ # @yield [result, err] Result & error if block supplied
16485
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse] parsed result object
16486
+ # @yieldparam err [StandardError] error object if request failed
16487
+ #
16488
+ # @return [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse]
16489
+ #
16490
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16491
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16492
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16493
+ def get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16494
+ command = make_simple_command(:get, '{project}/global/networks/{network}/getEffectiveFirewalls', options)
16495
+ command.response_representation = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse::Representation
16496
+ command.response_class = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse
16497
+ command.params['project'] = project unless project.nil?
16498
+ command.params['network'] = network unless network.nil?
16499
+ command.query['fields'] = fields unless fields.nil?
16500
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16501
+ command.query['userIp'] = user_ip unless user_ip.nil?
16502
+ execute_or_queue_command(command, &block)
16503
+ end
16504
+
16505
+ # Creates a network in the specified project using the data included in the
16506
+ # request.
16507
+ # @param [String] project
16508
+ # Project ID for this request.
16509
+ # @param [Google::Apis::ComputeAlpha::Network] network_object
16510
+ # @param [String] request_id
16511
+ # An optional request ID to identify requests. Specify a unique request ID so
16512
+ # that if you must retry your request, the server will know to ignore the
16513
+ # request if it has already been completed.
16514
+ # For example, consider a situation where you make an initial request and the
16515
+ # request times out. If you make the request again with the same request ID, the
16516
+ # server can check if original operation with the same request ID was received,
16517
+ # and if so, will ignore the second request. This prevents clients from
16518
+ # accidentally creating duplicate commitments.
16519
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16520
+ # supported (00000000-0000-0000-0000-000000000000).
16521
+ # @param [String] fields
16522
+ # Selector specifying which fields to include in a partial response.
16523
+ # @param [String] quota_user
16524
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16525
+ # characters.
16526
+ # @param [String] user_ip
16527
+ # Deprecated. Please use quotaUser instead.
16528
+ # @param [Google::Apis::RequestOptions] options
16529
+ # Request-specific options
16530
+ #
16531
+ # @yield [result, err] Result & error if block supplied
16532
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16533
+ # @yieldparam err [StandardError] error object if request failed
16534
+ #
16535
+ # @return [Google::Apis::ComputeAlpha::Operation]
16536
+ #
16537
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16538
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16539
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16540
+ def insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16541
+ command = make_simple_command(:post, '{project}/global/networks', options)
16542
+ command.request_representation = Google::Apis::ComputeAlpha::Network::Representation
16543
+ command.request_object = network_object
16544
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16545
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16546
+ command.params['project'] = project unless project.nil?
16547
+ command.query['requestId'] = request_id unless request_id.nil?
16548
+ command.query['fields'] = fields unless fields.nil?
16549
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16550
+ command.query['userIp'] = user_ip unless user_ip.nil?
16551
+ execute_or_queue_command(command, &block)
16552
+ end
16553
+
16554
+ # Retrieves the list of networks available to the specified project.
16555
+ # @param [String] project
16556
+ # Project ID for this request.
16557
+ # @param [String] filter
16558
+ # A filter expression that filters resources listed in the response. The
16559
+ # expression must specify the field name, a comparison operator, and the value
16560
+ # that you want to use for filtering. The value must be a string, a number, or a
16561
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
16562
+ # For example, if you are filtering Compute Engine instances, you can exclude
16563
+ # instances named `example-instance` by specifying `name != example-instance`.
16564
+ # You can also filter nested fields. For example, you could specify `scheduling.
16565
+ # automaticRestart = false` to include instances only if they are not scheduled
16566
+ # for automatic restarts. You can use filtering on nested fields to filter based
16567
+ # on resource labels.
16568
+ # To filter on multiple expressions, provide each separate expression within
16569
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
16570
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
16571
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
16572
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
16573
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
16574
+ # @param [Fixnum] max_results
16575
+ # The maximum number of results per page that should be returned. If the number
16576
+ # of available results is larger than `maxResults`, Compute Engine returns a `
16577
+ # nextPageToken` that can be used to get the next page of results in subsequent
16578
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
16579
+ # @param [String] order_by
16580
+ # Sorts list results by a certain order. By default, results are returned in
16581
+ # alphanumerical order based on the resource name.
16582
+ # You can also sort results in descending order based on the creation timestamp
16583
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
16584
+ # creationTimestamp` field in reverse chronological order (newest result first).
16585
+ # Use this to sort resources like operations so that the newest operation is
16586
+ # returned first.
16587
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
16588
+ # @param [String] page_token
16589
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
16590
+ # by a previous list request to get the next page of results.
16591
+ # @param [Boolean] return_partial_success
16592
+ # Opt-in for partial success behavior which provides partial results in case of
16593
+ # failure. The default value is false and the logic is the same as today.
16594
+ # @param [String] fields
16595
+ # Selector specifying which fields to include in a partial response.
16596
+ # @param [String] quota_user
16597
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16598
+ # characters.
16599
+ # @param [String] user_ip
16600
+ # Deprecated. Please use quotaUser instead.
16601
+ # @param [Google::Apis::RequestOptions] options
16602
+ # Request-specific options
16603
+ #
16604
+ # @yield [result, err] Result & error if block supplied
16605
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkList] parsed result object
16606
+ # @yieldparam err [StandardError] error object if request failed
16607
+ #
16608
+ # @return [Google::Apis::ComputeAlpha::NetworkList]
16609
+ #
16610
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16611
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16612
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16613
+ def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16614
+ command = make_simple_command(:get, '{project}/global/networks', options)
16615
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkList::Representation
16616
+ command.response_class = Google::Apis::ComputeAlpha::NetworkList
16617
+ command.params['project'] = project unless project.nil?
16618
+ command.query['filter'] = filter unless filter.nil?
16619
+ command.query['maxResults'] = max_results unless max_results.nil?
16620
+ command.query['orderBy'] = order_by unless order_by.nil?
16621
+ command.query['pageToken'] = page_token unless page_token.nil?
16622
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
16623
+ command.query['fields'] = fields unless fields.nil?
16624
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16625
+ command.query['userIp'] = user_ip unless user_ip.nil?
16626
+ execute_or_queue_command(command, &block)
16627
+ end
16628
+
16629
+ # Lists the internal IP addresses in the specified network.
16630
+ # @param [String] project
16631
+ # Project ID for this request.
16632
+ # @param [String] network
16633
+ # Name of the network for this request.
16634
+ # @param [String] filter
16635
+ # A filter expression that filters resources listed in the response. The
16636
+ # expression must specify the field name, a comparison operator, and the value
16637
+ # that you want to use for filtering. The value must be a string, a number, or a
16638
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
16639
+ # For example, if you are filtering Compute Engine instances, you can exclude
16640
+ # instances named `example-instance` by specifying `name != example-instance`.
16641
+ # You can also filter nested fields. For example, you could specify `scheduling.
16642
+ # automaticRestart = false` to include instances only if they are not scheduled
16643
+ # for automatic restarts. You can use filtering on nested fields to filter based
16644
+ # on resource labels.
16645
+ # To filter on multiple expressions, provide each separate expression within
16646
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
16647
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
16648
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
16649
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
16650
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
16651
+ # @param [Fixnum] max_results
16652
+ # The maximum number of results per page that should be returned. If the number
16653
+ # of available results is larger than `maxResults`, Compute Engine returns a `
16654
+ # nextPageToken` that can be used to get the next page of results in subsequent
16655
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
16656
+ # @param [String] order_by
16657
+ # Sorts list results by a certain order. By default, results are returned in
16658
+ # alphanumerical order based on the resource name.
16659
+ # You can also sort results in descending order based on the creation timestamp
15885
16660
  # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
15886
16661
  # creationTimestamp` field in reverse chronological order (newest result first).
15887
16662
  # Use this to sort resources like operations so that the newest operation is
@@ -19119,6 +19894,9 @@ module Google
19119
19894
  # @param [String] page_token
19120
19895
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
19121
19896
  # by a previous list request to get the next page of results.
19897
+ # @param [Boolean] return_partial_success
19898
+ # Opt-in for partial success behavior which provides partial results in case of
19899
+ # failure. The default value is false and the logic is the same as today.
19122
19900
  # @param [String] fields
19123
19901
  # Selector specifying which fields to include in a partial response.
19124
19902
  # @param [String] quota_user
@@ -19138,7 +19916,7 @@ module Google
19138
19916
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19139
19917
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19140
19918
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19141
- def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19919
+ def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19142
19920
  command = make_simple_command(:get, '{project}/getXpnResources', options)
19143
19921
  command.response_representation = Google::Apis::ComputeAlpha::ProjectsGetXpnResources::Representation
19144
19922
  command.response_class = Google::Apis::ComputeAlpha::ProjectsGetXpnResources
@@ -19147,6 +19925,7 @@ module Google
19147
19925
  command.query['maxResults'] = max_results unless max_results.nil?
19148
19926
  command.query['orderBy'] = order_by unless order_by.nil?
19149
19927
  command.query['pageToken'] = page_token unless page_token.nil?
19928
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
19150
19929
  command.query['fields'] = fields unless fields.nil?
19151
19930
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19152
19931
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -19191,6 +19970,9 @@ module Google
19191
19970
  # @param [String] page_token
19192
19971
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
19193
19972
  # by a previous list request to get the next page of results.
19973
+ # @param [Boolean] return_partial_success
19974
+ # Opt-in for partial success behavior which provides partial results in case of
19975
+ # failure. The default value is false and the logic is the same as today.
19194
19976
  # @param [String] fields
19195
19977
  # Selector specifying which fields to include in a partial response.
19196
19978
  # @param [String] quota_user
@@ -19210,7 +19992,7 @@ module Google
19210
19992
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19211
19993
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19212
19994
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19213
- def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19995
+ def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19214
19996
  command = make_simple_command(:post, '{project}/listXpnHosts', options)
19215
19997
  command.request_representation = Google::Apis::ComputeAlpha::ProjectsListXpnHostsRequest::Representation
19216
19998
  command.request_object = projects_list_xpn_hosts_request_object
@@ -19221,6 +20003,7 @@ module Google
19221
20003
  command.query['maxResults'] = max_results unless max_results.nil?
19222
20004
  command.query['orderBy'] = order_by unless order_by.nil?
19223
20005
  command.query['pageToken'] = page_token unless page_token.nil?
20006
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
19224
20007
  command.query['fields'] = fields unless fields.nil?
19225
20008
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19226
20009
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -23764,6 +24547,9 @@ module Google
23764
24547
  # @param [String] page_token
23765
24548
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
23766
24549
  # by a previous list request to get the next page of results.
24550
+ # @param [Boolean] return_partial_success
24551
+ # Opt-in for partial success behavior which provides partial results in case of
24552
+ # failure. The default value is false and the logic is the same as today.
23767
24553
  # @param [String] fields
23768
24554
  # Selector specifying which fields to include in a partial response.
23769
24555
  # @param [String] quota_user
@@ -23783,7 +24569,7 @@ module Google
23783
24569
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23784
24570
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23785
24571
  # @raise [Google::Apis::AuthorizationError] Authorization is required
23786
- def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24572
+ def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23787
24573
  command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
23788
24574
  command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse::Representation
23789
24575
  command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse
@@ -23794,6 +24580,7 @@ module Google
23794
24580
  command.query['maxResults'] = max_results unless max_results.nil?
23795
24581
  command.query['orderBy'] = order_by unless order_by.nil?
23796
24582
  command.query['pageToken'] = page_token unless page_token.nil?
24583
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
23797
24584
  command.query['fields'] = fields unless fields.nil?
23798
24585
  command.query['quotaUser'] = quota_user unless quota_user.nil?
23799
24586
  command.query['userIp'] = user_ip unless user_ip.nil?