google-api-client 0.40.0 → 0.41.2

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 (452) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +297 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/admin_directory_v1.rb +1 -1
  5. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  6. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  7. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/admob_v1/classes.rb +5 -6
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  12. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  13. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  14. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  15. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  18. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  19. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  20. data/generated/google/apis/androidpublisher_v3/classes.rb +499 -684
  21. data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
  22. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  23. data/generated/google/apis/apigee_v1.rb +1 -1
  24. data/generated/google/apis/apigee_v1/classes.rb +144 -48
  25. data/generated/google/apis/apigee_v1/representations.rb +17 -0
  26. data/generated/google/apis/apigee_v1/service.rb +23 -24
  27. data/generated/google/apis/appsmarket_v2.rb +3 -3
  28. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  29. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  30. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  31. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  32. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  33. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  34. data/generated/google/apis/bigquery_v2.rb +1 -1
  35. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  36. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  37. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  39. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  40. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  45. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  47. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  48. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  49. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  50. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  51. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  52. data/generated/google/apis/books_v1.rb +1 -1
  53. data/generated/google/apis/books_v1/service.rb +2 -2
  54. data/generated/google/apis/calendar_v3.rb +1 -1
  55. data/generated/google/apis/chat_v1.rb +1 -1
  56. data/generated/google/apis/chat_v1/classes.rb +2 -0
  57. data/generated/google/apis/civicinfo_v2.rb +2 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  59. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  61. data/generated/google/apis/cloudasset_v1.rb +1 -1
  62. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  63. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  64. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  65. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  67. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  68. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  69. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  70. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  71. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  72. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  74. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  75. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  77. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  78. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +287 -15
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
  81. data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
  82. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
  84. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
  85. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
  88. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
  89. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  90. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  91. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  99. data/generated/google/apis/cloudkms_v1.rb +1 -1
  100. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  101. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  102. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  103. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  104. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  107. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  111. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  112. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  113. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  115. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  116. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  117. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  118. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
  119. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  120. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
  121. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  122. data/generated/google/apis/composer_v1beta1.rb +1 -1
  123. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  124. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  125. data/generated/google/apis/compute_alpha.rb +1 -1
  126. data/generated/google/apis/compute_alpha/classes.rb +801 -219
  127. data/generated/google/apis/compute_alpha/representations.rb +220 -32
  128. data/generated/google/apis/compute_alpha/service.rb +899 -113
  129. data/generated/google/apis/compute_beta.rb +1 -1
  130. data/generated/google/apis/compute_beta/classes.rb +490 -131
  131. data/generated/google/apis/compute_beta/representations.rb +97 -0
  132. data/generated/google/apis/compute_beta/service.rb +308 -33
  133. data/generated/google/apis/compute_v1.rb +1 -1
  134. data/generated/google/apis/compute_v1/classes.rb +706 -76
  135. data/generated/google/apis/compute_v1/representations.rb +200 -0
  136. data/generated/google/apis/compute_v1/service.rb +522 -33
  137. data/generated/google/apis/container_v1.rb +1 -1
  138. data/generated/google/apis/container_v1/classes.rb +123 -5
  139. data/generated/google/apis/container_v1/representations.rb +50 -0
  140. data/generated/google/apis/container_v1beta1.rb +1 -1
  141. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  142. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  145. data/generated/google/apis/content_v2.rb +1 -1
  146. data/generated/google/apis/content_v2/classes.rb +41 -1
  147. data/generated/google/apis/content_v2/representations.rb +17 -0
  148. data/generated/google/apis/content_v2/service.rb +15 -6
  149. data/generated/google/apis/content_v2_1.rb +1 -1
  150. data/generated/google/apis/content_v2_1/classes.rb +616 -6
  151. data/generated/google/apis/content_v2_1/representations.rb +243 -0
  152. data/generated/google/apis/content_v2_1/service.rb +95 -6
  153. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  154. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  155. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  156. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  157. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  158. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  159. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  160. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  161. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  162. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  163. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  164. data/generated/google/apis/dataproc_v1.rb +1 -1
  165. data/generated/google/apis/dataproc_v1/classes.rb +71 -24
  166. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  167. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  168. data/generated/google/apis/dataproc_v1beta2/classes.rb +65 -23
  169. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  170. data/generated/google/apis/dialogflow_v2.rb +1 -1
  171. data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
  172. data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
  173. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  174. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  175. data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -56
  176. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
  177. data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
  178. data/generated/google/apis/displayvideo_v1.rb +1 -1
  179. data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
  180. data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
  181. data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
  182. data/generated/google/apis/dlp_v2.rb +1 -1
  183. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  184. data/generated/google/apis/dlp_v2/service.rb +170 -64
  185. data/generated/google/apis/dns_v1beta2.rb +4 -4
  186. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  187. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  188. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  189. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  190. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  191. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  192. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  193. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  194. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  195. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  196. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  197. data/generated/google/apis/drive_v2.rb +1 -1
  198. data/generated/google/apis/drive_v2/classes.rb +9 -0
  199. data/generated/google/apis/drive_v2/representations.rb +1 -0
  200. data/generated/google/apis/drive_v2/service.rb +26 -78
  201. data/generated/google/apis/drive_v3.rb +1 -1
  202. data/generated/google/apis/drive_v3/classes.rb +9 -0
  203. data/generated/google/apis/drive_v3/representations.rb +1 -0
  204. data/generated/google/apis/drive_v3/service.rb +18 -54
  205. data/generated/google/apis/fcm_v1.rb +1 -1
  206. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  207. data/generated/google/apis/file_v1.rb +1 -1
  208. data/generated/google/apis/file_v1/classes.rb +0 -1156
  209. data/generated/google/apis/file_v1/representations.rb +0 -381
  210. data/generated/google/apis/file_v1beta1.rb +1 -1
  211. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  212. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  213. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  214. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  215. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  216. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  217. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  218. data/generated/google/apis/fitness_v1.rb +1 -1
  219. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  220. data/generated/google/apis/games_v1.rb +1 -1
  221. data/generated/google/apis/gameservices_v1.rb +34 -0
  222. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  223. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  224. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  225. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  226. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  227. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  228. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  229. data/generated/google/apis/gmail_v1.rb +3 -2
  230. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  231. data/generated/google/apis/gmail_v1/service.rb +551 -743
  232. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
  233. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  234. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  235. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  236. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  237. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  238. data/generated/google/apis/healthcare_v1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1/classes.rb +9 -9
  240. data/generated/google/apis/healthcare_v1/service.rb +5 -3
  241. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  242. data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
  243. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  244. data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
  245. data/generated/google/apis/iam_v1.rb +1 -1
  246. data/generated/google/apis/iam_v1/classes.rb +92 -81
  247. data/generated/google/apis/iam_v1/service.rb +167 -148
  248. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  249. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  250. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  255. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  256. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  257. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  258. data/generated/google/apis/logging_v2.rb +1 -1
  259. data/generated/google/apis/logging_v2/classes.rb +69 -21
  260. data/generated/google/apis/managedidentities_v1.rb +1 -1
  261. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  262. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  263. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  264. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  265. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  266. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  267. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  268. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  269. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  270. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  271. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  272. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  273. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  274. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  275. data/generated/google/apis/ml_v1.rb +1 -1
  276. data/generated/google/apis/ml_v1/classes.rb +8 -0
  277. data/generated/google/apis/ml_v1/representations.rb +1 -0
  278. data/generated/google/apis/monitoring_v1.rb +1 -1
  279. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  280. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  281. data/generated/google/apis/monitoring_v3.rb +1 -1
  282. data/generated/google/apis/monitoring_v3/classes.rb +68 -19
  283. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  284. data/generated/google/apis/osconfig_v1.rb +1 -1
  285. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  286. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  287. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  288. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  289. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  290. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  291. data/generated/google/apis/people_v1.rb +4 -1
  292. data/generated/google/apis/people_v1/classes.rb +216 -0
  293. data/generated/google/apis/people_v1/representations.rb +82 -0
  294. data/generated/google/apis/people_v1/service.rb +371 -8
  295. data/generated/google/apis/playablelocations_v3.rb +31 -0
  296. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  297. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  298. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  299. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  300. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  301. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  302. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  303. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  304. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  305. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  306. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  307. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  308. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  309. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  310. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -0
  311. data/generated/google/apis/pubsub_v1.rb +1 -1
  312. data/generated/google/apis/pubsub_v1/classes.rb +68 -10
  313. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  314. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  315. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  316. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  317. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  318. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  319. data/generated/google/apis/recommender_v1.rb +34 -0
  320. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  321. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  322. data/generated/google/apis/recommender_v1/service.rb +266 -0
  323. data/generated/google/apis/redis_v1.rb +1 -1
  324. data/generated/google/apis/redis_v1/classes.rb +1 -1
  325. data/generated/google/apis/redis_v1/service.rb +1 -1
  326. data/generated/google/apis/redis_v1beta1.rb +1 -1
  327. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  328. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  329. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  332. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  333. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  334. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  335. data/generated/google/apis/run_v1.rb +1 -1
  336. data/generated/google/apis/run_v1/classes.rb +16 -9
  337. data/generated/google/apis/run_v1/representations.rb +1 -0
  338. data/generated/google/apis/run_v1alpha1.rb +1 -1
  339. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  340. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  341. data/generated/google/apis/run_v1beta1.rb +1 -1
  342. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  343. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  344. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  345. data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -0
  346. data/generated/google/apis/secretmanager_v1.rb +1 -1
  347. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  348. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  349. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  350. data/generated/google/apis/securitycenter_v1.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  352. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  353. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  356. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  359. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  362. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  363. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  364. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  365. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  366. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  367. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  368. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  369. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  370. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  371. data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
  372. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  373. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  374. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  375. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  376. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  378. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  379. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  380. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  381. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  382. data/generated/google/apis/serviceusage_v1.rb +1 -1
  383. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  384. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  385. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  386. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  387. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  388. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  389. data/generated/google/apis/sheets_v4.rb +1 -1
  390. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  391. data/generated/google/apis/slides_v1.rb +1 -1
  392. data/generated/google/apis/slides_v1/classes.rb +4 -0
  393. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  394. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  395. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  396. data/generated/google/apis/spanner_v1.rb +1 -1
  397. data/generated/google/apis/spanner_v1/classes.rb +26 -22
  398. data/generated/google/apis/spanner_v1/service.rb +15 -8
  399. data/generated/google/apis/speech_v1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  401. data/generated/google/apis/sql_v1beta4.rb +1 -1
  402. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  403. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  404. data/generated/google/apis/storage_v1.rb +1 -1
  405. data/generated/google/apis/storage_v1/service.rb +2 -3
  406. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  407. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  408. data/generated/google/apis/testing_v1.rb +1 -1
  409. data/generated/google/apis/testing_v1/classes.rb +2 -1
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/videointelligence_v1.rb +1 -1
  419. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  420. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  421. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  422. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  423. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  424. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  425. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  426. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  427. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  428. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  429. data/generated/google/apis/vision_v1.rb +1 -1
  430. data/generated/google/apis/vision_v1/classes.rb +18 -0
  431. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  432. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  433. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  435. data/generated/google/apis/webfonts_v1.rb +5 -5
  436. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  437. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  438. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  439. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  440. data/generated/google/apis/youtube_v3.rb +1 -1
  441. data/generated/google/apis/youtube_v3/classes.rb +38 -0
  442. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  443. data/generated/google/apis/youtube_v3/service.rb +32 -0
  444. data/lib/google/apis/core/api_command.rb +12 -7
  445. data/lib/google/apis/options.rb +5 -1
  446. data/lib/google/apis/version.rb +1 -1
  447. metadata +31 -11
  448. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  449. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  450. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  451. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
  452. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
@@ -310,18 +310,6 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
- class AutoscalingPolicyQueueBasedScaling
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
315
-
316
- include Google::Apis::Core::JsonObjectSupport
317
- end
318
-
319
- class AutoscalingPolicyQueueBasedScalingCloudPubSub
320
- class Representation < Google::Apis::Core::JsonRepresentation; end
321
-
322
- include Google::Apis::Core::JsonObjectSupport
323
- end
324
-
325
313
  class AutoscalingPolicyScaleDownControl
326
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
315
 
@@ -934,6 +922,54 @@ module Google
934
922
  include Google::Apis::Core::JsonObjectSupport
935
923
  end
936
924
 
925
+ class FirewallPolicy
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
931
+ class FirewallPolicyAssociation
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
937
+ class FirewallPolicyList
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ class Warning
941
+ class Representation < Google::Apis::Core::JsonRepresentation; end
942
+
943
+ class Datum
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
949
+ include Google::Apis::Core::JsonObjectSupport
950
+ end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
955
+ class FirewallPolicyRule
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
961
+ class FirewallPolicyRuleMatcher
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
967
+ class FirewallPolicyRuleMatcherLayer4Config
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
937
973
  class FixedOrPercent
938
974
  class Representation < Google::Apis::Core::JsonRepresentation; end
939
975
 
@@ -1012,6 +1048,12 @@ module Google
1012
1048
  include Google::Apis::Core::JsonObjectSupport
1013
1049
  end
1014
1050
 
1051
+ class GetOwnerInstanceResponse
1052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1053
+
1054
+ include Google::Apis::Core::JsonObjectSupport
1055
+ end
1056
+
1015
1057
  class GlobalNetworkEndpointGroupsAttachEndpointsRequest
1016
1058
  class Representation < Google::Apis::Core::JsonRepresentation; end
1017
1059
 
@@ -1528,6 +1570,12 @@ module Google
1528
1570
  include Google::Apis::Core::JsonObjectSupport
1529
1571
  end
1530
1572
 
1573
+ class InstanceGroupManagerStatusStatefulPerInstanceConfigs
1574
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1575
+
1576
+ include Google::Apis::Core::JsonObjectSupport
1577
+ end
1578
+
1531
1579
  class InstanceGroupManagerStatusVersionTarget
1532
1580
  class Representation < Google::Apis::Core::JsonRepresentation; end
1533
1581
 
@@ -3736,6 +3784,18 @@ module Google
3736
3784
  include Google::Apis::Core::JsonObjectSupport
3737
3785
  end
3738
3786
 
3787
+ class ResourcePolicyInstanceSchedulePolicy
3788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3789
+
3790
+ include Google::Apis::Core::JsonObjectSupport
3791
+ end
3792
+
3793
+ class ResourcePolicyInstanceSchedulePolicySchedule
3794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3795
+
3796
+ include Google::Apis::Core::JsonObjectSupport
3797
+ end
3798
+
3739
3799
  class ResourcePolicyList
3740
3800
  class Representation < Google::Apis::Core::JsonRepresentation; end
3741
3801
 
@@ -5707,6 +5767,7 @@ module Google
5707
5767
  property :long_term_release, as: 'longTermRelease'
5708
5768
  property :machine_type, as: 'machineType'
5709
5769
  property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
5770
+ property :maintenance_interval, as: 'maintenanceInterval'
5710
5771
  property :min_cpu_platform, as: 'minCpuPlatform'
5711
5772
  end
5712
5773
  end
@@ -5953,8 +6014,6 @@ module Google
5953
6014
  property :max_num_replicas, as: 'maxNumReplicas'
5954
6015
  property :min_num_replicas, as: 'minNumReplicas'
5955
6016
  property :mode, as: 'mode'
5956
- property :queue_based_scaling, as: 'queueBasedScaling', class: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScaling, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScaling::Representation
5957
-
5958
6017
  property :scale_down_control, as: 'scaleDownControl', class: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleDownControl, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleDownControl::Representation
5959
6018
 
5960
6019
  property :scale_in_control, as: 'scaleInControl', class: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleInControl, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleInControl::Representation
@@ -5988,24 +6047,6 @@ module Google
5988
6047
  end
5989
6048
  end
5990
6049
 
5991
- class AutoscalingPolicyQueueBasedScaling
5992
- # @private
5993
- class Representation < Google::Apis::Core::JsonRepresentation
5994
- property :acceptable_backlog_per_instance, as: 'acceptableBacklogPerInstance'
5995
- property :cloud_pub_sub, as: 'cloudPubSub', class: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScalingCloudPubSub, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScalingCloudPubSub::Representation
5996
-
5997
- property :single_worker_throughput_per_sec, as: 'singleWorkerThroughputPerSec'
5998
- end
5999
- end
6000
-
6001
- class AutoscalingPolicyQueueBasedScalingCloudPubSub
6002
- # @private
6003
- class Representation < Google::Apis::Core::JsonRepresentation
6004
- property :subscription, as: 'subscription'
6005
- property :topic, as: 'topic'
6006
- end
6007
- end
6008
-
6009
6050
  class AutoscalingPolicyScaleDownControl
6010
6051
  # @private
6011
6052
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6667,6 +6708,7 @@ module Google
6667
6708
  collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
6668
6709
 
6669
6710
  property :id, :numeric_string => true, as: 'id'
6711
+ property :interface, as: 'interface'
6670
6712
  property :kind, as: 'kind'
6671
6713
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
6672
6714
  hash :labels, as: 'labels'
@@ -7185,6 +7227,104 @@ module Google
7185
7227
  end
7186
7228
  end
7187
7229
 
7230
+ class FirewallPolicy
7231
+ # @private
7232
+ class Representation < Google::Apis::Core::JsonRepresentation
7233
+ collection :associations, as: 'associations', class: Google::Apis::ComputeAlpha::FirewallPolicyAssociation, decorator: Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
7234
+
7235
+ property :creation_timestamp, as: 'creationTimestamp'
7236
+ property :description, as: 'description'
7237
+ property :display_name, as: 'displayName'
7238
+ property :fingerprint, :base64 => true, as: 'fingerprint'
7239
+ property :id, :numeric_string => true, as: 'id'
7240
+ property :kind, as: 'kind'
7241
+ property :name, as: 'name'
7242
+ property :parent, as: 'parent'
7243
+ property :rule_tuple_count, as: 'ruleTupleCount'
7244
+ collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::FirewallPolicyRule, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
7245
+
7246
+ property :self_link, as: 'selfLink'
7247
+ property :self_link_with_id, as: 'selfLinkWithId'
7248
+ end
7249
+ end
7250
+
7251
+ class FirewallPolicyAssociation
7252
+ # @private
7253
+ class Representation < Google::Apis::Core::JsonRepresentation
7254
+ property :attachment_target, as: 'attachmentTarget'
7255
+ property :display_name, as: 'displayName'
7256
+ property :firewall_policy_id, as: 'firewallPolicyId'
7257
+ property :name, as: 'name'
7258
+ end
7259
+ end
7260
+
7261
+ class FirewallPolicyList
7262
+ # @private
7263
+ class Representation < Google::Apis::Core::JsonRepresentation
7264
+ property :id, as: 'id'
7265
+ collection :items, as: 'items', class: Google::Apis::ComputeAlpha::FirewallPolicy, decorator: Google::Apis::ComputeAlpha::FirewallPolicy::Representation
7266
+
7267
+ property :kind, as: 'kind'
7268
+ property :next_page_token, as: 'nextPageToken'
7269
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::FirewallPolicyList::Warning, decorator: Google::Apis::ComputeAlpha::FirewallPolicyList::Warning::Representation
7270
+
7271
+ end
7272
+
7273
+ class Warning
7274
+ # @private
7275
+ class Representation < Google::Apis::Core::JsonRepresentation
7276
+ property :code, as: 'code'
7277
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::FirewallPolicyList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::FirewallPolicyList::Warning::Datum::Representation
7278
+
7279
+ property :message, as: 'message'
7280
+ end
7281
+
7282
+ class Datum
7283
+ # @private
7284
+ class Representation < Google::Apis::Core::JsonRepresentation
7285
+ property :key, as: 'key'
7286
+ property :value, as: 'value'
7287
+ end
7288
+ end
7289
+ end
7290
+ end
7291
+
7292
+ class FirewallPolicyRule
7293
+ # @private
7294
+ class Representation < Google::Apis::Core::JsonRepresentation
7295
+ property :action, as: 'action'
7296
+ property :description, as: 'description'
7297
+ property :direction, as: 'direction'
7298
+ property :enable_logging, as: 'enableLogging'
7299
+ property :kind, as: 'kind'
7300
+ property :match, as: 'match', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcher, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcher::Representation
7301
+
7302
+ property :preview, as: 'preview'
7303
+ property :priority, as: 'priority'
7304
+ property :rule_tuple_count, as: 'ruleTupleCount'
7305
+ collection :target_resources, as: 'targetResources'
7306
+ collection :target_service_accounts, as: 'targetServiceAccounts'
7307
+ end
7308
+ end
7309
+
7310
+ class FirewallPolicyRuleMatcher
7311
+ # @private
7312
+ class Representation < Google::Apis::Core::JsonRepresentation
7313
+ collection :dest_ip_ranges, as: 'destIpRanges'
7314
+ collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config::Representation
7315
+
7316
+ collection :src_ip_ranges, as: 'srcIpRanges'
7317
+ end
7318
+ end
7319
+
7320
+ class FirewallPolicyRuleMatcherLayer4Config
7321
+ # @private
7322
+ class Representation < Google::Apis::Core::JsonRepresentation
7323
+ property :ip_protocol, as: 'ipProtocol'
7324
+ collection :ports, as: 'ports'
7325
+ end
7326
+ end
7327
+
7188
7328
  class FixedOrPercent
7189
7329
  # @private
7190
7330
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7339,6 +7479,13 @@ module Google
7339
7479
  end
7340
7480
  end
7341
7481
 
7482
+ class GetOwnerInstanceResponse
7483
+ # @private
7484
+ class Representation < Google::Apis::Core::JsonRepresentation
7485
+ property :instance, as: 'instance'
7486
+ end
7487
+ end
7488
+
7342
7489
  class GlobalNetworkEndpointGroupsAttachEndpointsRequest
7343
7490
  # @private
7344
7491
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8141,6 +8288,9 @@ module Google
8141
8288
  property :kind, as: 'kind'
8142
8289
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
8143
8290
  hash :labels, as: 'labels'
8291
+ property :last_start_timestamp, as: 'lastStartTimestamp'
8292
+ property :last_stop_timestamp, as: 'lastStopTimestamp'
8293
+ property :last_suspended_timestamp, as: 'lastSuspendedTimestamp'
8144
8294
  property :machine_type, as: 'machineType'
8145
8295
  property :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::Metadata, decorator: Google::Apis::ComputeAlpha::Metadata::Representation
8146
8296
 
@@ -8459,6 +8609,15 @@ module Google
8459
8609
  class Representation < Google::Apis::Core::JsonRepresentation
8460
8610
  property :has_stateful_config, as: 'hasStatefulConfig'
8461
8611
  property :is_stateful, as: 'isStateful'
8612
+ property :per_instance_configs, as: 'perInstanceConfigs', class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs::Representation
8613
+
8614
+ end
8615
+ end
8616
+
8617
+ class InstanceGroupManagerStatusStatefulPerInstanceConfigs
8618
+ # @private
8619
+ class Representation < Google::Apis::Core::JsonRepresentation
8620
+ property :all_effective, as: 'allEffective'
8462
8621
  end
8463
8622
  end
8464
8623
 
@@ -8505,6 +8664,7 @@ module Google
8505
8664
  class InstanceGroupManagersApplyUpdatesRequest
8506
8665
  # @private
8507
8666
  class Representation < Google::Apis::Core::JsonRepresentation
8667
+ property :all_instances, as: 'allInstances'
8508
8668
  collection :instances, as: 'instances'
8509
8669
  property :maximal_action, as: 'maximalAction'
8510
8670
  property :minimal_action, as: 'minimalAction'
@@ -10011,6 +10171,7 @@ module Google
10011
10171
  property :auto_create_subnetworks, as: 'autoCreateSubnetworks'
10012
10172
  property :creation_timestamp, as: 'creationTimestamp'
10013
10173
  property :description, as: 'description'
10174
+ property :firewall_policy, as: 'firewallPolicy'
10014
10175
  property :gateway_i_pv4, as: 'gatewayIPv4'
10015
10176
  property :id, :numeric_string => true, as: 'id'
10016
10177
  property :kind, as: 'kind'
@@ -11319,6 +11480,7 @@ module Google
11319
11480
  property :name, as: 'name'
11320
11481
  property :preserved_state, as: 'preservedState', class: Google::Apis::ComputeAlpha::PreservedState, decorator: Google::Apis::ComputeAlpha::PreservedState::Representation
11321
11482
 
11483
+ property :status, as: 'status'
11322
11484
  end
11323
11485
  end
11324
11486
 
@@ -11899,6 +12061,7 @@ module Google
11899
12061
  class RegionInstanceGroupManagersApplyUpdatesRequest
11900
12062
  # @private
11901
12063
  class Representation < Google::Apis::Core::JsonRepresentation
12064
+ property :all_instances, as: 'allInstances'
11902
12065
  collection :instances, as: 'instances'
11903
12066
  property :maximal_action, as: 'maximalAction'
11904
12067
  property :minimal_action, as: 'minimalAction'
@@ -12300,6 +12463,8 @@ module Google
12300
12463
  property :group_placement_policy, as: 'groupPlacementPolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy::Representation
12301
12464
 
12302
12465
  property :id, :numeric_string => true, as: 'id'
12466
+ property :instance_schedule_policy, as: 'instanceSchedulePolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicy::Representation
12467
+
12303
12468
  property :kind, as: 'kind'
12304
12469
  property :name, as: 'name'
12305
12470
  property :region, as: 'region'
@@ -12376,6 +12541,24 @@ module Google
12376
12541
  end
12377
12542
  end
12378
12543
 
12544
+ class ResourcePolicyInstanceSchedulePolicy
12545
+ # @private
12546
+ class Representation < Google::Apis::Core::JsonRepresentation
12547
+ property :vm_start_schedule, as: 'vmStartSchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule, decorator: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule::Representation
12548
+
12549
+ property :vm_stop_schedule, as: 'vmStopSchedule', class: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule, decorator: Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule::Representation
12550
+
12551
+ end
12552
+ end
12553
+
12554
+ class ResourcePolicyInstanceSchedulePolicySchedule
12555
+ # @private
12556
+ class Representation < Google::Apis::Core::JsonRepresentation
12557
+ property :schedule, as: 'schedule'
12558
+ property :time_zone, as: 'timeZone'
12559
+ end
12560
+ end
12561
+
12379
12562
  class ResourcePolicyList
12380
12563
  # @private
12381
12564
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12445,6 +12628,7 @@ module Google
12445
12628
  class ResourcePolicySnapshotSchedulePolicySnapshotProperties
12446
12629
  # @private
12447
12630
  class Representation < Google::Apis::Core::JsonRepresentation
12631
+ property :chain_name, as: 'chainName'
12448
12632
  property :guest_flush, as: 'guestFlush'
12449
12633
  hash :labels, as: 'labels'
12450
12634
  collection :storage_locations, as: 'storageLocations'
@@ -13142,6 +13326,7 @@ module Google
13142
13326
 
13143
13327
  property :authorization_config, as: 'authorizationConfig', class: Google::Apis::ComputeAlpha::AuthorizationConfig, decorator: Google::Apis::ComputeAlpha::AuthorizationConfig::Representation
13144
13328
 
13329
+ property :client_tls_policy, as: 'clientTlsPolicy'
13145
13330
  property :client_tls_settings, as: 'clientTlsSettings', class: Google::Apis::ComputeAlpha::ClientTlsSettings, decorator: Google::Apis::ComputeAlpha::ClientTlsSettings::Representation
13146
13331
 
13147
13332
  collection :subject_alt_names, as: 'subjectAltNames'
@@ -13324,6 +13509,7 @@ module Google
13324
13509
  # @private
13325
13510
  class Representation < Google::Apis::Core::JsonRepresentation
13326
13511
  property :auto_created, as: 'autoCreated'
13512
+ property :chain_name, as: 'chainName'
13327
13513
  property :creation_timestamp, as: 'creationTimestamp'
13328
13514
  property :description, as: 'description'
13329
13515
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
@@ -14063,6 +14249,7 @@ module Google
14063
14249
  class Representation < Google::Apis::Core::JsonRepresentation
14064
14250
  property :authentication, as: 'authentication'
14065
14251
  property :authorization, as: 'authorization'
14252
+ property :authorization_policy, as: 'authorizationPolicy'
14066
14253
  property :certificate_map, as: 'certificateMap'
14067
14254
  property :creation_timestamp, as: 'creationTimestamp'
14068
14255
  property :description, as: 'description'
@@ -14074,6 +14261,7 @@ module Google
14074
14261
  property :region, as: 'region'
14075
14262
  property :self_link, as: 'selfLink'
14076
14263
  property :self_link_with_id, as: 'selfLinkWithId'
14264
+ property :server_tls_policy, as: 'serverTlsPolicy'
14077
14265
  collection :ssl_certificates, as: 'sslCertificates'
14078
14266
  property :ssl_policy, as: 'sslPolicy'
14079
14267
  property :url_map, as: 'urlMap'
@@ -173,7 +173,8 @@ module Google
173
173
  execute_or_queue_command(command, &block)
174
174
  end
175
175
 
176
- # Retrieves a list of accelerator types available to the specified project.
176
+ # Retrieves a list of accelerator types that are available to the specified
177
+ # project.
177
178
  # @param [String] project
178
179
  # Project ID for this request.
179
180
  # @param [String] zone
@@ -1961,9 +1962,7 @@ module Google
1961
1962
  end
1962
1963
 
1963
1964
  # Creates a BackendService resource in the specified project using the data
1964
- # included in the request. There are several restrictions and guidelines to keep
1965
- # in mind when creating a backend service. Read Understanding backend services
1966
- # for more information.
1965
+ # included in the request. For more information, see Backend services overview.
1967
1966
  # @param [String] project
1968
1967
  # Project ID for this request.
1969
1968
  # @param [Google::Apis::ComputeAlpha::BackendService] backend_service_object
@@ -2088,10 +2087,9 @@ module Google
2088
2087
  end
2089
2088
 
2090
2089
  # Patches the specified BackendService resource with the data included in the
2091
- # request. There are several Understanding backend services to keep in mind when
2092
- # updating a backend service. Read Understanding backend services for more
2093
- # information. This method supports PATCH semantics and uses the JSON merge
2094
- # patch format and processing rules.
2090
+ # request. For more information, see Backend services overview. This method
2091
+ # supports PATCH semantics and uses the JSON merge patch format and processing
2092
+ # rules.
2095
2093
  # @param [String] project
2096
2094
  # Project ID for this request.
2097
2095
  # @param [String] backend_service
@@ -2234,9 +2232,7 @@ module Google
2234
2232
  end
2235
2233
 
2236
2234
  # Updates the specified BackendService resource with the data included in the
2237
- # request. There are several Understanding backend services to keep in mind when
2238
- # updating a backend service. Read Understanding backend services for more
2239
- # information.
2235
+ # request. For more information, see Backend services overview.
2240
2236
  # @param [String] project
2241
2237
  # Project ID for this request.
2242
2238
  # @param [String] backend_service
@@ -4443,6 +4439,43 @@ module Google
4443
4439
  execute_or_queue_command(command, &block)
4444
4440
  end
4445
4441
 
4442
+ # Find owner instance from given ip address
4443
+ # @param [String] project
4444
+ # Project ID for this request.
4445
+ # @param [String] ip_address
4446
+ # The ip_address could be external IPv4, or internal IPv4 within IPv6 form of
4447
+ # virtual_network_id with internal IPv4. IPv6 is not supported yet.
4448
+ # @param [String] fields
4449
+ # Selector specifying which fields to include in a partial response.
4450
+ # @param [String] quota_user
4451
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4452
+ # characters.
4453
+ # @param [String] user_ip
4454
+ # Deprecated. Please use quotaUser instead.
4455
+ # @param [Google::Apis::RequestOptions] options
4456
+ # Request-specific options
4457
+ #
4458
+ # @yield [result, err] Result & error if block supplied
4459
+ # @yieldparam result [Google::Apis::ComputeAlpha::GetOwnerInstanceResponse] parsed result object
4460
+ # @yieldparam err [StandardError] error object if request failed
4461
+ #
4462
+ # @return [Google::Apis::ComputeAlpha::GetOwnerInstanceResponse]
4463
+ #
4464
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4465
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4466
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4467
+ def get_global_address_owner_instance(project, ip_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4468
+ command = make_simple_command(:get, '{project}/global/addresses/getOwnerInstance', options)
4469
+ command.response_representation = Google::Apis::ComputeAlpha::GetOwnerInstanceResponse::Representation
4470
+ command.response_class = Google::Apis::ComputeAlpha::GetOwnerInstanceResponse
4471
+ command.params['project'] = project unless project.nil?
4472
+ command.query['ipAddress'] = ip_address unless ip_address.nil?
4473
+ command.query['fields'] = fields unless fields.nil?
4474
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4475
+ command.query['userIp'] = user_ip unless user_ip.nil?
4476
+ execute_or_queue_command(command, &block)
4477
+ end
4478
+
4446
4479
  # Creates an address resource in the specified project by using the data
4447
4480
  # included in the request.
4448
4481
  # @param [String] project
@@ -8368,7 +8401,7 @@ module Google
8368
8401
  end
8369
8402
 
8370
8403
  # Lists all errors thrown by actions on instances for a given managed instance
8371
- # group.
8404
+ # group. The filter and orderBy query parameters are not supported.
8372
8405
  # @param [String] project
8373
8406
  # Project ID for this request.
8374
8407
  # @param [String] zone
@@ -8456,7 +8489,8 @@ module Google
8456
8489
  # list has a currentAction, which indicates the action that the managed instance
8457
8490
  # group is performing on the instance. For example, if the group is still
8458
8491
  # creating an instance, the currentAction is CREATING. If a previous action
8459
- # failed, the list displays the errors for that failed action.
8492
+ # failed, the list displays the errors for that failed action. The orderBy query
8493
+ # parameter is not supported.
8460
8494
  # @param [String] project
8461
8495
  # Project ID for this request.
8462
8496
  # @param [String] zone
@@ -8497,6 +8531,9 @@ module Google
8497
8531
  # @param [String] page_token
8498
8532
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
8499
8533
  # by a previous list request to get the next page of results.
8534
+ # @param [Boolean] return_partial_success
8535
+ # Opt-in for partial success behavior which provides partial results in case of
8536
+ # failure. The default value is false and the logic is the same as today.
8500
8537
  # @param [String] fields
8501
8538
  # Selector specifying which fields to include in a partial response.
8502
8539
  # @param [String] quota_user
@@ -8516,7 +8553,7 @@ module Google
8516
8553
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8517
8554
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8518
8555
  # @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)
8556
+ 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
8557
  command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
8521
8558
  command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse::Representation
8522
8559
  command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse
@@ -8527,6 +8564,7 @@ module Google
8527
8564
  command.query['maxResults'] = max_results unless max_results.nil?
8528
8565
  command.query['orderBy'] = order_by unless order_by.nil?
8529
8566
  command.query['pageToken'] = page_token unless page_token.nil?
8567
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
8530
8568
  command.query['fields'] = fields unless fields.nil?
8531
8569
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8532
8570
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -8534,6 +8572,7 @@ module Google
8534
8572
  end
8535
8573
 
8536
8574
  # Lists all of the per-instance configs defined for the managed instance group.
8575
+ # The orderBy query parameter is not supported.
8537
8576
  # @param [String] project
8538
8577
  # Project ID for this request.
8539
8578
  # @param [String] zone
@@ -9620,7 +9659,8 @@ module Google
9620
9659
  execute_or_queue_command(command, &block)
9621
9660
  end
9622
9661
 
9623
- # Lists the instances in the specified instance group.
9662
+ # Lists the instances in the specified instance group. The orderBy query
9663
+ # parameter is not supported.
9624
9664
  # @param [String] project
9625
9665
  # Project ID for this request.
9626
9666
  # @param [String] zone
@@ -11148,8 +11188,10 @@ module Google
11148
11188
  execute_or_queue_command(command, &block)
11149
11189
  end
11150
11190
 
11151
- # Retrieves the list of referrers to instances contained within the specified
11152
- # zone. For more information, read Viewing Referrers to VM Instances.
11191
+ # Retrieves a list of resources that refer to the VM instance specified in the
11192
+ # request. For example, if the VM instance is part of a managed instance group,
11193
+ # the referrers list includes the managed instance group. For more information,
11194
+ # read Viewing Referrers to VM Instances.
11153
11195
  # @param [String] project
11154
11196
  # Project ID for this request.
11155
11197
  # @param [String] zone
@@ -11875,7 +11917,9 @@ module Google
11875
11917
  execute_or_queue_command(command, &block)
11876
11918
  end
11877
11919
 
11878
- # Sets an instance's scheduling options.
11920
+ # Sets an instance's scheduling options. You can only call this method on a
11921
+ # stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
11922
+ # Instance Life Cycle for more information on the possible instance states.
11879
11923
  # @param [String] project
11880
11924
  # Project ID for this request.
11881
11925
  # @param [String] zone
@@ -15555,12 +15599,16 @@ module Google
15555
15599
  execute_or_queue_command(command, &block)
15556
15600
  end
15557
15601
 
15558
- # Adds a peering to the specified network.
15602
+ # Inserts an association for the specified firewall policy.
15559
15603
  # @param [String] project
15560
15604
  # 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
15605
+ # @param [String] firewall_policy
15606
+ # Name of the firewall policy to update.
15607
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] firewall_policy_association_object
15608
+ # @param [Boolean] replace_existing_association
15609
+ # Indicates whether or not to replace it if an association of the attachment
15610
+ # already exists. This is false by default, in which case an error will be
15611
+ # returned if an association already exists.
15564
15612
  # @param [String] request_id
15565
15613
  # An optional request ID to identify requests. Specify a unique request ID so
15566
15614
  # that if you must retry your request, the server will know to ignore the
@@ -15591,14 +15639,15 @@ module Google
15591
15639
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15592
15640
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15593
15641
  # @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
15642
+ 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)
15643
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/addAssociation', options)
15644
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
15645
+ command.request_object = firewall_policy_association_object
15598
15646
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15599
15647
  command.response_class = Google::Apis::ComputeAlpha::Operation
15600
15648
  command.params['project'] = project unless project.nil?
15601
- command.params['network'] = network unless network.nil?
15649
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15650
+ command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil?
15602
15651
  command.query['requestId'] = request_id unless request_id.nil?
15603
15652
  command.query['fields'] = fields unless fields.nil?
15604
15653
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -15606,11 +15655,50 @@ module Google
15606
15655
  execute_or_queue_command(command, &block)
15607
15656
  end
15608
15657
 
15609
- # Deletes the specified network.
15658
+ # Inserts a rule into a firewall policy.
15610
15659
  # @param [String] project
15611
15660
  # Project ID for this request.
15612
- # @param [String] network
15613
- # Name of the network to delete.
15661
+ # @param [String] firewall_policy
15662
+ # Name of the firewall policy to update.
15663
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
15664
+ # @param [String] fields
15665
+ # Selector specifying which fields to include in a partial response.
15666
+ # @param [String] quota_user
15667
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
15668
+ # characters.
15669
+ # @param [String] user_ip
15670
+ # Deprecated. Please use quotaUser instead.
15671
+ # @param [Google::Apis::RequestOptions] options
15672
+ # Request-specific options
15673
+ #
15674
+ # @yield [result, err] Result & error if block supplied
15675
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
15676
+ # @yieldparam err [StandardError] error object if request failed
15677
+ #
15678
+ # @return [Google::Apis::ComputeAlpha::Operation]
15679
+ #
15680
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15681
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15682
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15683
+ 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)
15684
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/addRule', options)
15685
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
15686
+ command.request_object = firewall_policy_rule_object
15687
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15688
+ command.response_class = Google::Apis::ComputeAlpha::Operation
15689
+ command.params['project'] = project unless project.nil?
15690
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15691
+ command.query['fields'] = fields unless fields.nil?
15692
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15693
+ command.query['userIp'] = user_ip unless user_ip.nil?
15694
+ execute_or_queue_command(command, &block)
15695
+ end
15696
+
15697
+ # Copies rules to the specified firewall policy.
15698
+ # @param [String] project
15699
+ # Project ID for this request.
15700
+ # @param [String] firewall_policy
15701
+ # Name of the firewall policy to update.
15614
15702
  # @param [String] request_id
15615
15703
  # An optional request ID to identify requests. Specify a unique request ID so
15616
15704
  # that if you must retry your request, the server will know to ignore the
@@ -15622,6 +15710,8 @@ module Google
15622
15710
  # accidentally creating duplicate commitments.
15623
15711
  # The request ID must be a valid UUID with the exception that zero UUID is not
15624
15712
  # supported (00000000-0000-0000-0000-000000000000).
15713
+ # @param [String] source_firewall_policy
15714
+ # The firewall policy from which to copy rules.
15625
15715
  # @param [String] fields
15626
15716
  # Selector specifying which fields to include in a partial response.
15627
15717
  # @param [String] quota_user
@@ -15641,25 +15731,36 @@ module Google
15641
15731
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15642
15732
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15643
15733
  # @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)
15734
+ 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)
15735
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/cloneRules', options)
15646
15736
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15647
15737
  command.response_class = Google::Apis::ComputeAlpha::Operation
15648
15738
  command.params['project'] = project unless project.nil?
15649
- command.params['network'] = network unless network.nil?
15739
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15650
15740
  command.query['requestId'] = request_id unless request_id.nil?
15741
+ command.query['sourceFirewallPolicy'] = source_firewall_policy unless source_firewall_policy.nil?
15651
15742
  command.query['fields'] = fields unless fields.nil?
15652
15743
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15653
15744
  command.query['userIp'] = user_ip unless user_ip.nil?
15654
15745
  execute_or_queue_command(command, &block)
15655
15746
  end
15656
15747
 
15657
- # Returns the specified network. Gets a list of available networks by making a
15658
- # list() request.
15748
+ # Deletes the specified policy.
15659
15749
  # @param [String] project
15660
15750
  # Project ID for this request.
15661
- # @param [String] network
15662
- # Name of the network to return.
15751
+ # @param [String] firewall_policy
15752
+ # Name of the firewall policy to delete.
15753
+ # @param [String] request_id
15754
+ # An optional request ID to identify requests. Specify a unique request ID so
15755
+ # that if you must retry your request, the server will know to ignore the
15756
+ # request if it has already been completed.
15757
+ # For example, consider a situation where you make an initial request and the
15758
+ # request times out. If you make the request again with the same request ID, the
15759
+ # server can check if original operation with the same request ID was received,
15760
+ # and if so, will ignore the second request. This prevents clients from
15761
+ # accidentally creating duplicate commitments.
15762
+ # The request ID must be a valid UUID with the exception that zero UUID is not
15763
+ # supported (00000000-0000-0000-0000-000000000000).
15663
15764
  # @param [String] fields
15664
15765
  # Selector specifying which fields to include in a partial response.
15665
15766
  # @param [String] quota_user
@@ -15671,31 +15772,32 @@ module Google
15671
15772
  # Request-specific options
15672
15773
  #
15673
15774
  # @yield [result, err] Result & error if block supplied
15674
- # @yieldparam result [Google::Apis::ComputeAlpha::Network] parsed result object
15775
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
15675
15776
  # @yieldparam err [StandardError] error object if request failed
15676
15777
  #
15677
- # @return [Google::Apis::ComputeAlpha::Network]
15778
+ # @return [Google::Apis::ComputeAlpha::Operation]
15678
15779
  #
15679
15780
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15680
15781
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15681
15782
  # @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
15783
+ def delete_network_firewall_policy(project, firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15784
+ command = make_simple_command(:delete, '{project}/global/firewallPolicies/{firewallPolicy}', options)
15785
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15786
+ command.response_class = Google::Apis::ComputeAlpha::Operation
15686
15787
  command.params['project'] = project unless project.nil?
15687
- command.params['network'] = network unless network.nil?
15788
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15789
+ command.query['requestId'] = request_id unless request_id.nil?
15688
15790
  command.query['fields'] = fields unless fields.nil?
15689
15791
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15690
15792
  command.query['userIp'] = user_ip unless user_ip.nil?
15691
15793
  execute_or_queue_command(command, &block)
15692
15794
  end
15693
15795
 
15694
- # Returns the effective firewalls on a given network.
15796
+ # Returns the specified network firewall policy.
15695
15797
  # @param [String] project
15696
15798
  # Project ID for this request.
15697
- # @param [String] network
15698
- # Name of the network for this request.
15799
+ # @param [String] firewall_policy
15800
+ # Name of the firewall policy to get.
15699
15801
  # @param [String] fields
15700
15802
  # Selector specifying which fields to include in a partial response.
15701
15803
  # @param [String] quota_user
@@ -15707,31 +15809,149 @@ module Google
15707
15809
  # Request-specific options
15708
15810
  #
15709
15811
  # @yield [result, err] Result & error if block supplied
15710
- # @yieldparam result [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse] parsed result object
15812
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicy] parsed result object
15711
15813
  # @yieldparam err [StandardError] error object if request failed
15712
15814
  #
15713
- # @return [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse]
15815
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicy]
15714
15816
  #
15715
15817
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15716
15818
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15717
15819
  # @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
15820
+ def get_network_firewall_policy(project, firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15821
+ command = make_simple_command(:get, '{project}/global/firewallPolicies/{firewallPolicy}', options)
15822
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
15823
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicy
15722
15824
  command.params['project'] = project unless project.nil?
15723
- command.params['network'] = network unless network.nil?
15825
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15724
15826
  command.query['fields'] = fields unless fields.nil?
15725
15827
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15726
15828
  command.query['userIp'] = user_ip unless user_ip.nil?
15727
15829
  execute_or_queue_command(command, &block)
15728
15830
  end
15729
15831
 
15730
- # Creates a network in the specified project using the data included in the
15832
+ # Gets an association with the specified name.
15833
+ # @param [String] project
15834
+ # Project ID for this request.
15835
+ # @param [String] firewall_policy
15836
+ # Name of the firewall policy to which the queried rule belongs.
15837
+ # @param [String] name
15838
+ # The name of the association to get from the firewall policy.
15839
+ # @param [String] fields
15840
+ # Selector specifying which fields to include in a partial response.
15841
+ # @param [String] quota_user
15842
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
15843
+ # characters.
15844
+ # @param [String] user_ip
15845
+ # Deprecated. Please use quotaUser instead.
15846
+ # @param [Google::Apis::RequestOptions] options
15847
+ # Request-specific options
15848
+ #
15849
+ # @yield [result, err] Result & error if block supplied
15850
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] parsed result object
15851
+ # @yieldparam err [StandardError] error object if request failed
15852
+ #
15853
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyAssociation]
15854
+ #
15855
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15856
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15857
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15858
+ def get_network_firewall_policy_association(project, firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15859
+ command = make_simple_command(:get, '{project}/global/firewallPolicies/{firewallPolicy}/getAssociation', options)
15860
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
15861
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyAssociation
15862
+ command.params['project'] = project unless project.nil?
15863
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15864
+ command.query['name'] = name unless name.nil?
15865
+ command.query['fields'] = fields unless fields.nil?
15866
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15867
+ command.query['userIp'] = user_ip unless user_ip.nil?
15868
+ execute_or_queue_command(command, &block)
15869
+ end
15870
+
15871
+ # Gets the access control policy for a resource. May be empty if no such policy
15872
+ # or resource exists.
15873
+ # @param [String] project
15874
+ # Project ID for this request.
15875
+ # @param [String] resource
15876
+ # Name or id of the resource for this request.
15877
+ # @param [Fixnum] options_requested_policy_version
15878
+ # Requested IAM Policy version.
15879
+ # @param [String] fields
15880
+ # Selector specifying which fields to include in a partial response.
15881
+ # @param [String] quota_user
15882
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
15883
+ # characters.
15884
+ # @param [String] user_ip
15885
+ # Deprecated. Please use quotaUser instead.
15886
+ # @param [Google::Apis::RequestOptions] options
15887
+ # Request-specific options
15888
+ #
15889
+ # @yield [result, err] Result & error if block supplied
15890
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
15891
+ # @yieldparam err [StandardError] error object if request failed
15892
+ #
15893
+ # @return [Google::Apis::ComputeAlpha::Policy]
15894
+ #
15895
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15896
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15897
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15898
+ 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)
15899
+ command = make_simple_command(:get, '{project}/global/firewallPolicies/{resource}/getIamPolicy', options)
15900
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
15901
+ command.response_class = Google::Apis::ComputeAlpha::Policy
15902
+ command.params['project'] = project unless project.nil?
15903
+ command.params['resource'] = resource unless resource.nil?
15904
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
15905
+ command.query['fields'] = fields unless fields.nil?
15906
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15907
+ command.query['userIp'] = user_ip unless user_ip.nil?
15908
+ execute_or_queue_command(command, &block)
15909
+ end
15910
+
15911
+ # Gets a rule of the specified priority.
15912
+ # @param [String] project
15913
+ # Project ID for this request.
15914
+ # @param [String] firewall_policy
15915
+ # Name of the firewall policy to which the queried rule belongs.
15916
+ # @param [Fixnum] priority
15917
+ # The priority of the rule to get from the firewall policy.
15918
+ # @param [String] fields
15919
+ # Selector specifying which fields to include in a partial response.
15920
+ # @param [String] quota_user
15921
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
15922
+ # characters.
15923
+ # @param [String] user_ip
15924
+ # Deprecated. Please use quotaUser instead.
15925
+ # @param [Google::Apis::RequestOptions] options
15926
+ # Request-specific options
15927
+ #
15928
+ # @yield [result, err] Result & error if block supplied
15929
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyRule] parsed result object
15930
+ # @yieldparam err [StandardError] error object if request failed
15931
+ #
15932
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyRule]
15933
+ #
15934
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15935
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15936
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15937
+ def get_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15938
+ command = make_simple_command(:get, '{project}/global/firewallPolicies/{firewallPolicy}/getRule', options)
15939
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
15940
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyRule
15941
+ command.params['project'] = project unless project.nil?
15942
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15943
+ command.query['priority'] = priority unless priority.nil?
15944
+ command.query['fields'] = fields unless fields.nil?
15945
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15946
+ command.query['userIp'] = user_ip unless user_ip.nil?
15947
+ execute_or_queue_command(command, &block)
15948
+ end
15949
+
15950
+ # Creates a new policy in the specified project using the data included in the
15731
15951
  # request.
15732
15952
  # @param [String] project
15733
15953
  # Project ID for this request.
15734
- # @param [Google::Apis::ComputeAlpha::Network] network_object
15954
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicy] firewall_policy_object
15735
15955
  # @param [String] request_id
15736
15956
  # An optional request ID to identify requests. Specify a unique request ID so
15737
15957
  # that if you must retry your request, the server will know to ignore the
@@ -15762,10 +15982,10 @@ module Google
15762
15982
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15763
15983
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15764
15984
  # @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
15985
+ def insert_network_firewall_policy(project, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15986
+ command = make_simple_command(:post, '{project}/global/firewallPolicies', options)
15987
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
15988
+ command.request_object = firewall_policy_object
15769
15989
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15770
15990
  command.response_class = Google::Apis::ComputeAlpha::Operation
15771
15991
  command.params['project'] = project unless project.nil?
@@ -15776,7 +15996,7 @@ module Google
15776
15996
  execute_or_queue_command(command, &block)
15777
15997
  end
15778
15998
 
15779
- # Retrieves the list of networks available to the specified project.
15999
+ # Lists all the policies that have been configured for the specified project.
15780
16000
  # @param [String] project
15781
16001
  # Project ID for this request.
15782
16002
  # @param [String] filter
@@ -15827,18 +16047,18 @@ module Google
15827
16047
  # Request-specific options
15828
16048
  #
15829
16049
  # @yield [result, err] Result & error if block supplied
15830
- # @yieldparam result [Google::Apis::ComputeAlpha::NetworkList] parsed result object
16050
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyList] parsed result object
15831
16051
  # @yieldparam err [StandardError] error object if request failed
15832
16052
  #
15833
- # @return [Google::Apis::ComputeAlpha::NetworkList]
16053
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyList]
15834
16054
  #
15835
16055
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15836
16056
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15837
16057
  # @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
16058
+ 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)
16059
+ command = make_simple_command(:get, '{project}/global/firewallPolicies', options)
16060
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyList::Representation
16061
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyList
15842
16062
  command.params['project'] = project unless project.nil?
15843
16063
  command.query['filter'] = filter unless filter.nil?
15844
16064
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -15851,35 +16071,593 @@ module Google
15851
16071
  execute_or_queue_command(command, &block)
15852
16072
  end
15853
16073
 
15854
- # Lists the internal IP addresses in the specified network.
16074
+ # Patches the specified policy with the data included in the request.
15855
16075
  # @param [String] project
15856
16076
  # 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
16077
+ # @param [String] firewall_policy
16078
+ # Name of the firewall policy to update.
16079
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicy] firewall_policy_object
16080
+ # @param [String] request_id
16081
+ # An optional request ID to identify requests. Specify a unique request ID so
16082
+ # that if you must retry your request, the server will know to ignore the
16083
+ # request if it has already been completed.
16084
+ # For example, consider a situation where you make an initial request and the
16085
+ # request times out. If you make the request again with the same request ID, the
16086
+ # server can check if original operation with the same request ID was received,
16087
+ # and if so, will ignore the second request. This prevents clients from
16088
+ # accidentally creating duplicate commitments.
16089
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16090
+ # supported (00000000-0000-0000-0000-000000000000).
16091
+ # @param [String] fields
16092
+ # Selector specifying which fields to include in a partial response.
16093
+ # @param [String] quota_user
16094
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16095
+ # characters.
16096
+ # @param [String] user_ip
16097
+ # Deprecated. Please use quotaUser instead.
16098
+ # @param [Google::Apis::RequestOptions] options
16099
+ # Request-specific options
16100
+ #
16101
+ # @yield [result, err] Result & error if block supplied
16102
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16103
+ # @yieldparam err [StandardError] error object if request failed
16104
+ #
16105
+ # @return [Google::Apis::ComputeAlpha::Operation]
16106
+ #
16107
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16108
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16109
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16110
+ 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)
16111
+ command = make_simple_command(:patch, '{project}/global/firewallPolicies/{firewallPolicy}', options)
16112
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
16113
+ command.request_object = firewall_policy_object
16114
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16115
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16116
+ command.params['project'] = project unless project.nil?
16117
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16118
+ command.query['requestId'] = request_id unless request_id.nil?
16119
+ command.query['fields'] = fields unless fields.nil?
16120
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16121
+ command.query['userIp'] = user_ip unless user_ip.nil?
16122
+ execute_or_queue_command(command, &block)
16123
+ end
16124
+
16125
+ # Patches a rule of the specified priority.
16126
+ # @param [String] project
16127
+ # Project ID for this request.
16128
+ # @param [String] firewall_policy
16129
+ # Name of the firewall policy to update.
16130
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
16131
+ # @param [Fixnum] priority
16132
+ # The priority of the rule to patch.
16133
+ # @param [String] fields
16134
+ # Selector specifying which fields to include in a partial response.
16135
+ # @param [String] quota_user
16136
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16137
+ # characters.
16138
+ # @param [String] user_ip
16139
+ # Deprecated. Please use quotaUser instead.
16140
+ # @param [Google::Apis::RequestOptions] options
16141
+ # Request-specific options
16142
+ #
16143
+ # @yield [result, err] Result & error if block supplied
16144
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16145
+ # @yieldparam err [StandardError] error object if request failed
16146
+ #
16147
+ # @return [Google::Apis::ComputeAlpha::Operation]
16148
+ #
16149
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16150
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16151
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16152
+ 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)
16153
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/patchRule', options)
16154
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
16155
+ command.request_object = firewall_policy_rule_object
16156
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16157
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16158
+ command.params['project'] = project unless project.nil?
16159
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16160
+ command.query['priority'] = priority unless priority.nil?
16161
+ command.query['fields'] = fields unless fields.nil?
16162
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16163
+ command.query['userIp'] = user_ip unless user_ip.nil?
16164
+ execute_or_queue_command(command, &block)
16165
+ end
16166
+
16167
+ # Removes an association for the specified firewall policy.
16168
+ # @param [String] project
16169
+ # Project ID for this request.
16170
+ # @param [String] firewall_policy
16171
+ # Name of the firewall policy to update.
16172
+ # @param [String] name
16173
+ # Name for the attachment that will be removed.
16174
+ # @param [String] request_id
16175
+ # An optional request ID to identify requests. Specify a unique request ID so
16176
+ # that if you must retry your request, the server will know to ignore the
16177
+ # request if it has already been completed.
16178
+ # For example, consider a situation where you make an initial request and the
16179
+ # request times out. If you make the request again with the same request ID, the
16180
+ # server can check if original operation with the same request ID was received,
16181
+ # and if so, will ignore the second request. This prevents clients from
16182
+ # accidentally creating duplicate commitments.
16183
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16184
+ # supported (00000000-0000-0000-0000-000000000000).
16185
+ # @param [String] fields
16186
+ # Selector specifying which fields to include in a partial response.
16187
+ # @param [String] quota_user
16188
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16189
+ # characters.
16190
+ # @param [String] user_ip
16191
+ # Deprecated. Please use quotaUser instead.
16192
+ # @param [Google::Apis::RequestOptions] options
16193
+ # Request-specific options
16194
+ #
16195
+ # @yield [result, err] Result & error if block supplied
16196
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16197
+ # @yieldparam err [StandardError] error object if request failed
16198
+ #
16199
+ # @return [Google::Apis::ComputeAlpha::Operation]
16200
+ #
16201
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16202
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16203
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16204
+ 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)
16205
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation', options)
16206
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16207
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16208
+ command.params['project'] = project unless project.nil?
16209
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16210
+ command.query['name'] = name unless name.nil?
16211
+ command.query['requestId'] = request_id unless request_id.nil?
16212
+ command.query['fields'] = fields unless fields.nil?
16213
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16214
+ command.query['userIp'] = user_ip unless user_ip.nil?
16215
+ execute_or_queue_command(command, &block)
16216
+ end
16217
+
16218
+ # Deletes a rule of the specified priority.
16219
+ # @param [String] project
16220
+ # Project ID for this request.
16221
+ # @param [String] firewall_policy
16222
+ # Name of the firewall policy to update.
16223
+ # @param [Fixnum] priority
16224
+ # The priority of the rule to remove from the firewall policy.
16225
+ # @param [String] fields
16226
+ # Selector specifying which fields to include in a partial response.
16227
+ # @param [String] quota_user
16228
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16229
+ # characters.
16230
+ # @param [String] user_ip
16231
+ # Deprecated. Please use quotaUser instead.
16232
+ # @param [Google::Apis::RequestOptions] options
16233
+ # Request-specific options
16234
+ #
16235
+ # @yield [result, err] Result & error if block supplied
16236
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16237
+ # @yieldparam err [StandardError] error object if request failed
16238
+ #
16239
+ # @return [Google::Apis::ComputeAlpha::Operation]
16240
+ #
16241
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16242
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16243
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16244
+ def remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16245
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/removeRule', options)
16246
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16247
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16248
+ command.params['project'] = project unless project.nil?
16249
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16250
+ command.query['priority'] = priority unless priority.nil?
16251
+ command.query['fields'] = fields unless fields.nil?
16252
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16253
+ command.query['userIp'] = user_ip unless user_ip.nil?
16254
+ execute_or_queue_command(command, &block)
16255
+ end
16256
+
16257
+ # Sets the access control policy on the specified resource. Replaces any
16258
+ # existing policy.
16259
+ # @param [String] project
16260
+ # Project ID for this request.
16261
+ # @param [String] resource
16262
+ # Name or id of the resource for this request.
16263
+ # @param [Google::Apis::ComputeAlpha::GlobalSetPolicyRequest] global_set_policy_request_object
16264
+ # @param [String] fields
16265
+ # Selector specifying which fields to include in a partial response.
16266
+ # @param [String] quota_user
16267
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16268
+ # characters.
16269
+ # @param [String] user_ip
16270
+ # Deprecated. Please use quotaUser instead.
16271
+ # @param [Google::Apis::RequestOptions] options
16272
+ # Request-specific options
16273
+ #
16274
+ # @yield [result, err] Result & error if block supplied
16275
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
16276
+ # @yieldparam err [StandardError] error object if request failed
16277
+ #
16278
+ # @return [Google::Apis::ComputeAlpha::Policy]
16279
+ #
16280
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16281
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16282
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16283
+ 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)
16284
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{resource}/setIamPolicy', options)
16285
+ command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation
16286
+ command.request_object = global_set_policy_request_object
16287
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
16288
+ command.response_class = Google::Apis::ComputeAlpha::Policy
16289
+ command.params['project'] = project unless project.nil?
16290
+ command.params['resource'] = resource unless resource.nil?
16291
+ command.query['fields'] = fields unless fields.nil?
16292
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16293
+ command.query['userIp'] = user_ip unless user_ip.nil?
16294
+ execute_or_queue_command(command, &block)
16295
+ end
16296
+
16297
+ # Returns permissions that a caller has on the specified resource.
16298
+ # @param [String] project
16299
+ # Project ID for this request.
16300
+ # @param [String] resource
16301
+ # Name or id of the resource for this request.
16302
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
16303
+ # @param [String] fields
16304
+ # Selector specifying which fields to include in a partial response.
16305
+ # @param [String] quota_user
16306
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16307
+ # characters.
16308
+ # @param [String] user_ip
16309
+ # Deprecated. Please use quotaUser instead.
16310
+ # @param [Google::Apis::RequestOptions] options
16311
+ # Request-specific options
16312
+ #
16313
+ # @yield [result, err] Result & error if block supplied
16314
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
16315
+ # @yieldparam err [StandardError] error object if request failed
16316
+ #
16317
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
16318
+ #
16319
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16320
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16321
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16322
+ 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)
16323
+ command = make_simple_command(:post, '{project}/global/firewallPolicies/{resource}/testIamPermissions', options)
16324
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
16325
+ command.request_object = test_permissions_request_object
16326
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
16327
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
16328
+ command.params['project'] = project unless project.nil?
16329
+ command.params['resource'] = resource unless resource.nil?
16330
+ command.query['fields'] = fields unless fields.nil?
16331
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16332
+ command.query['userIp'] = user_ip unless user_ip.nil?
16333
+ execute_or_queue_command(command, &block)
16334
+ end
16335
+
16336
+ # Adds a peering to the specified network.
16337
+ # @param [String] project
16338
+ # Project ID for this request.
16339
+ # @param [String] network
16340
+ # Name of the network resource to add peering to.
16341
+ # @param [Google::Apis::ComputeAlpha::NetworksAddPeeringRequest] networks_add_peering_request_object
16342
+ # @param [String] request_id
16343
+ # An optional request ID to identify requests. Specify a unique request ID so
16344
+ # that if you must retry your request, the server will know to ignore the
16345
+ # request if it has already been completed.
16346
+ # For example, consider a situation where you make an initial request and the
16347
+ # request times out. If you make the request again with the same request ID, the
16348
+ # server can check if original operation with the same request ID was received,
16349
+ # and if so, will ignore the second request. This prevents clients from
16350
+ # accidentally creating duplicate commitments.
16351
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16352
+ # supported (00000000-0000-0000-0000-000000000000).
16353
+ # @param [String] fields
16354
+ # Selector specifying which fields to include in a partial response.
16355
+ # @param [String] quota_user
16356
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16357
+ # characters.
16358
+ # @param [String] user_ip
16359
+ # Deprecated. Please use quotaUser instead.
16360
+ # @param [Google::Apis::RequestOptions] options
16361
+ # Request-specific options
16362
+ #
16363
+ # @yield [result, err] Result & error if block supplied
16364
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16365
+ # @yieldparam err [StandardError] error object if request failed
16366
+ #
16367
+ # @return [Google::Apis::ComputeAlpha::Operation]
16368
+ #
16369
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16370
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16371
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16372
+ 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)
16373
+ command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options)
16374
+ command.request_representation = Google::Apis::ComputeAlpha::NetworksAddPeeringRequest::Representation
16375
+ command.request_object = networks_add_peering_request_object
16376
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16377
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16378
+ command.params['project'] = project unless project.nil?
16379
+ command.params['network'] = network unless network.nil?
16380
+ command.query['requestId'] = request_id unless request_id.nil?
16381
+ command.query['fields'] = fields unless fields.nil?
16382
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16383
+ command.query['userIp'] = user_ip unless user_ip.nil?
16384
+ execute_or_queue_command(command, &block)
16385
+ end
16386
+
16387
+ # Deletes the specified network.
16388
+ # @param [String] project
16389
+ # Project ID for this request.
16390
+ # @param [String] network
16391
+ # Name of the network to delete.
16392
+ # @param [String] request_id
16393
+ # An optional request ID to identify requests. Specify a unique request ID so
16394
+ # that if you must retry your request, the server will know to ignore the
16395
+ # request if it has already been completed.
16396
+ # For example, consider a situation where you make an initial request and the
16397
+ # request times out. If you make the request again with the same request ID, the
16398
+ # server can check if original operation with the same request ID was received,
16399
+ # and if so, will ignore the second request. This prevents clients from
16400
+ # accidentally creating duplicate commitments.
16401
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16402
+ # supported (00000000-0000-0000-0000-000000000000).
16403
+ # @param [String] fields
16404
+ # Selector specifying which fields to include in a partial response.
16405
+ # @param [String] quota_user
16406
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16407
+ # characters.
16408
+ # @param [String] user_ip
16409
+ # Deprecated. Please use quotaUser instead.
16410
+ # @param [Google::Apis::RequestOptions] options
16411
+ # Request-specific options
16412
+ #
16413
+ # @yield [result, err] Result & error if block supplied
16414
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16415
+ # @yieldparam err [StandardError] error object if request failed
16416
+ #
16417
+ # @return [Google::Apis::ComputeAlpha::Operation]
16418
+ #
16419
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16420
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16421
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16422
+ def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16423
+ command = make_simple_command(:delete, '{project}/global/networks/{network}', options)
16424
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16425
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16426
+ command.params['project'] = project unless project.nil?
16427
+ command.params['network'] = network unless network.nil?
16428
+ command.query['requestId'] = request_id unless request_id.nil?
16429
+ command.query['fields'] = fields unless fields.nil?
16430
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16431
+ command.query['userIp'] = user_ip unless user_ip.nil?
16432
+ execute_or_queue_command(command, &block)
16433
+ end
16434
+
16435
+ # Returns the specified network. Gets a list of available networks by making a
16436
+ # list() request.
16437
+ # @param [String] project
16438
+ # Project ID for this request.
16439
+ # @param [String] network
16440
+ # Name of the network to return.
16441
+ # @param [String] fields
16442
+ # Selector specifying which fields to include in a partial response.
16443
+ # @param [String] quota_user
16444
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16445
+ # characters.
16446
+ # @param [String] user_ip
16447
+ # Deprecated. Please use quotaUser instead.
16448
+ # @param [Google::Apis::RequestOptions] options
16449
+ # Request-specific options
16450
+ #
16451
+ # @yield [result, err] Result & error if block supplied
16452
+ # @yieldparam result [Google::Apis::ComputeAlpha::Network] parsed result object
16453
+ # @yieldparam err [StandardError] error object if request failed
16454
+ #
16455
+ # @return [Google::Apis::ComputeAlpha::Network]
16456
+ #
16457
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16458
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16459
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16460
+ def get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16461
+ command = make_simple_command(:get, '{project}/global/networks/{network}', options)
16462
+ command.response_representation = Google::Apis::ComputeAlpha::Network::Representation
16463
+ command.response_class = Google::Apis::ComputeAlpha::Network
16464
+ command.params['project'] = project unless project.nil?
16465
+ command.params['network'] = network unless network.nil?
16466
+ command.query['fields'] = fields unless fields.nil?
16467
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16468
+ command.query['userIp'] = user_ip unless user_ip.nil?
16469
+ execute_or_queue_command(command, &block)
16470
+ end
16471
+
16472
+ # Returns the effective firewalls on a given network.
16473
+ # @param [String] project
16474
+ # Project ID for this request.
16475
+ # @param [String] network
16476
+ # Name of the network for this request.
16477
+ # @param [String] fields
16478
+ # Selector specifying which fields to include in a partial response.
16479
+ # @param [String] quota_user
16480
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16481
+ # characters.
16482
+ # @param [String] user_ip
16483
+ # Deprecated. Please use quotaUser instead.
16484
+ # @param [Google::Apis::RequestOptions] options
16485
+ # Request-specific options
16486
+ #
16487
+ # @yield [result, err] Result & error if block supplied
16488
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse] parsed result object
16489
+ # @yieldparam err [StandardError] error object if request failed
16490
+ #
16491
+ # @return [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse]
16492
+ #
16493
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16494
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16495
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16496
+ def get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16497
+ command = make_simple_command(:get, '{project}/global/networks/{network}/getEffectiveFirewalls', options)
16498
+ command.response_representation = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse::Representation
16499
+ command.response_class = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse
16500
+ command.params['project'] = project unless project.nil?
16501
+ command.params['network'] = network unless network.nil?
16502
+ command.query['fields'] = fields unless fields.nil?
16503
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16504
+ command.query['userIp'] = user_ip unless user_ip.nil?
16505
+ execute_or_queue_command(command, &block)
16506
+ end
16507
+
16508
+ # Creates a network in the specified project using the data included in the
16509
+ # request.
16510
+ # @param [String] project
16511
+ # Project ID for this request.
16512
+ # @param [Google::Apis::ComputeAlpha::Network] network_object
16513
+ # @param [String] request_id
16514
+ # An optional request ID to identify requests. Specify a unique request ID so
16515
+ # that if you must retry your request, the server will know to ignore the
16516
+ # request if it has already been completed.
16517
+ # For example, consider a situation where you make an initial request and the
16518
+ # request times out. If you make the request again with the same request ID, the
16519
+ # server can check if original operation with the same request ID was received,
16520
+ # and if so, will ignore the second request. This prevents clients from
16521
+ # accidentally creating duplicate commitments.
16522
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16523
+ # supported (00000000-0000-0000-0000-000000000000).
16524
+ # @param [String] fields
16525
+ # Selector specifying which fields to include in a partial response.
16526
+ # @param [String] quota_user
16527
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16528
+ # characters.
16529
+ # @param [String] user_ip
16530
+ # Deprecated. Please use quotaUser instead.
16531
+ # @param [Google::Apis::RequestOptions] options
16532
+ # Request-specific options
16533
+ #
16534
+ # @yield [result, err] Result & error if block supplied
16535
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16536
+ # @yieldparam err [StandardError] error object if request failed
16537
+ #
16538
+ # @return [Google::Apis::ComputeAlpha::Operation]
16539
+ #
16540
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16541
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16542
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16543
+ def insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16544
+ command = make_simple_command(:post, '{project}/global/networks', options)
16545
+ command.request_representation = Google::Apis::ComputeAlpha::Network::Representation
16546
+ command.request_object = network_object
16547
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16548
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16549
+ command.params['project'] = project unless project.nil?
16550
+ command.query['requestId'] = request_id unless request_id.nil?
16551
+ command.query['fields'] = fields unless fields.nil?
16552
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16553
+ command.query['userIp'] = user_ip unless user_ip.nil?
16554
+ execute_or_queue_command(command, &block)
16555
+ end
16556
+
16557
+ # Retrieves the list of networks available to the specified project.
16558
+ # @param [String] project
16559
+ # Project ID for this request.
16560
+ # @param [String] filter
16561
+ # A filter expression that filters resources listed in the response. The
16562
+ # expression must specify the field name, a comparison operator, and the value
16563
+ # that you want to use for filtering. The value must be a string, a number, or a
16564
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
16565
+ # For example, if you are filtering Compute Engine instances, you can exclude
16566
+ # instances named `example-instance` by specifying `name != example-instance`.
16567
+ # You can also filter nested fields. For example, you could specify `scheduling.
16568
+ # automaticRestart = false` to include instances only if they are not scheduled
16569
+ # for automatic restarts. You can use filtering on nested fields to filter based
16570
+ # on resource labels.
16571
+ # To filter on multiple expressions, provide each separate expression within
16572
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
16573
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
16574
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
16575
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
16576
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
16577
+ # @param [Fixnum] max_results
16578
+ # The maximum number of results per page that should be returned. If the number
16579
+ # of available results is larger than `maxResults`, Compute Engine returns a `
16580
+ # nextPageToken` that can be used to get the next page of results in subsequent
16581
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
16582
+ # @param [String] order_by
16583
+ # Sorts list results by a certain order. By default, results are returned in
16584
+ # alphanumerical order based on the resource name.
16585
+ # You can also sort results in descending order based on the creation timestamp
16586
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
16587
+ # creationTimestamp` field in reverse chronological order (newest result first).
16588
+ # Use this to sort resources like operations so that the newest operation is
16589
+ # returned first.
16590
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
16591
+ # @param [String] page_token
16592
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
16593
+ # by a previous list request to get the next page of results.
16594
+ # @param [Boolean] return_partial_success
16595
+ # Opt-in for partial success behavior which provides partial results in case of
16596
+ # failure. The default value is false and the logic is the same as today.
16597
+ # @param [String] fields
16598
+ # Selector specifying which fields to include in a partial response.
16599
+ # @param [String] quota_user
16600
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16601
+ # characters.
16602
+ # @param [String] user_ip
16603
+ # Deprecated. Please use quotaUser instead.
16604
+ # @param [Google::Apis::RequestOptions] options
16605
+ # Request-specific options
16606
+ #
16607
+ # @yield [result, err] Result & error if block supplied
16608
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkList] parsed result object
16609
+ # @yieldparam err [StandardError] error object if request failed
16610
+ #
16611
+ # @return [Google::Apis::ComputeAlpha::NetworkList]
16612
+ #
16613
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16614
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16615
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16616
+ 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)
16617
+ command = make_simple_command(:get, '{project}/global/networks', options)
16618
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkList::Representation
16619
+ command.response_class = Google::Apis::ComputeAlpha::NetworkList
16620
+ command.params['project'] = project unless project.nil?
16621
+ command.query['filter'] = filter unless filter.nil?
16622
+ command.query['maxResults'] = max_results unless max_results.nil?
16623
+ command.query['orderBy'] = order_by unless order_by.nil?
16624
+ command.query['pageToken'] = page_token unless page_token.nil?
16625
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
16626
+ command.query['fields'] = fields unless fields.nil?
16627
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16628
+ command.query['userIp'] = user_ip unless user_ip.nil?
16629
+ execute_or_queue_command(command, &block)
16630
+ end
16631
+
16632
+ # Lists the internal IP addresses in the specified network.
16633
+ # @param [String] project
16634
+ # Project ID for this request.
16635
+ # @param [String] network
16636
+ # Name of the network for this request.
16637
+ # @param [String] filter
16638
+ # A filter expression that filters resources listed in the response. The
16639
+ # expression must specify the field name, a comparison operator, and the value
16640
+ # that you want to use for filtering. The value must be a string, a number, or a
16641
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
16642
+ # For example, if you are filtering Compute Engine instances, you can exclude
16643
+ # instances named `example-instance` by specifying `name != example-instance`.
16644
+ # You can also filter nested fields. For example, you could specify `scheduling.
16645
+ # automaticRestart = false` to include instances only if they are not scheduled
16646
+ # for automatic restarts. You can use filtering on nested fields to filter based
16647
+ # on resource labels.
16648
+ # To filter on multiple expressions, provide each separate expression within
16649
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
16650
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
16651
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
16652
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
16653
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
16654
+ # @param [Fixnum] max_results
16655
+ # The maximum number of results per page that should be returned. If the number
16656
+ # of available results is larger than `maxResults`, Compute Engine returns a `
16657
+ # nextPageToken` that can be used to get the next page of results in subsequent
16658
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
16659
+ # @param [String] order_by
16660
+ # Sorts list results by a certain order. By default, results are returned in
15883
16661
  # alphanumerical order based on the resource name.
15884
16662
  # You can also sort results in descending order based on the creation timestamp
15885
16663
  # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
@@ -19119,6 +19897,9 @@ module Google
19119
19897
  # @param [String] page_token
19120
19898
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
19121
19899
  # by a previous list request to get the next page of results.
19900
+ # @param [Boolean] return_partial_success
19901
+ # Opt-in for partial success behavior which provides partial results in case of
19902
+ # failure. The default value is false and the logic is the same as today.
19122
19903
  # @param [String] fields
19123
19904
  # Selector specifying which fields to include in a partial response.
19124
19905
  # @param [String] quota_user
@@ -19138,7 +19919,7 @@ module Google
19138
19919
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19139
19920
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19140
19921
  # @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)
19922
+ 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
19923
  command = make_simple_command(:get, '{project}/getXpnResources', options)
19143
19924
  command.response_representation = Google::Apis::ComputeAlpha::ProjectsGetXpnResources::Representation
19144
19925
  command.response_class = Google::Apis::ComputeAlpha::ProjectsGetXpnResources
@@ -19147,6 +19928,7 @@ module Google
19147
19928
  command.query['maxResults'] = max_results unless max_results.nil?
19148
19929
  command.query['orderBy'] = order_by unless order_by.nil?
19149
19930
  command.query['pageToken'] = page_token unless page_token.nil?
19931
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
19150
19932
  command.query['fields'] = fields unless fields.nil?
19151
19933
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19152
19934
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -19191,6 +19973,9 @@ module Google
19191
19973
  # @param [String] page_token
19192
19974
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
19193
19975
  # by a previous list request to get the next page of results.
19976
+ # @param [Boolean] return_partial_success
19977
+ # Opt-in for partial success behavior which provides partial results in case of
19978
+ # failure. The default value is false and the logic is the same as today.
19194
19979
  # @param [String] fields
19195
19980
  # Selector specifying which fields to include in a partial response.
19196
19981
  # @param [String] quota_user
@@ -19210,7 +19995,7 @@ module Google
19210
19995
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19211
19996
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19212
19997
  # @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)
19998
+ 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
19999
  command = make_simple_command(:post, '{project}/listXpnHosts', options)
19215
20000
  command.request_representation = Google::Apis::ComputeAlpha::ProjectsListXpnHostsRequest::Representation
19216
20001
  command.request_object = projects_list_xpn_hosts_request_object
@@ -19221,6 +20006,7 @@ module Google
19221
20006
  command.query['maxResults'] = max_results unless max_results.nil?
19222
20007
  command.query['orderBy'] = order_by unless order_by.nil?
19223
20008
  command.query['pageToken'] = page_token unless page_token.nil?
20009
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
19224
20010
  command.query['fields'] = fields unless fields.nil?
19225
20011
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19226
20012
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -20648,9 +21434,8 @@ module Google
20648
21434
  end
20649
21435
 
20650
21436
  # Creates a regional BackendService resource in the specified project using the
20651
- # data included in the request. There are several restrictions and guidelines to
20652
- # keep in mind when creating a regional backend service. Read Understanding
20653
- # backend services for more information.
21437
+ # data included in the request. For more information, see Backend services
21438
+ # overview.
20654
21439
  # @param [String] project
20655
21440
  # Project ID for this request.
20656
21441
  # @param [String] region
@@ -20781,10 +21566,9 @@ module Google
20781
21566
  end
20782
21567
 
20783
21568
  # Updates the specified regional BackendService resource with the data included
20784
- # in the request. There are several Understanding backend services to keep in
20785
- # mind when updating a backend service. Read Understanding backend services for
20786
- # more information. This method supports PATCH semantics and uses the JSON merge
20787
- # patch format and processing rules.
21569
+ # in the request. For more information, see Understanding backend services This
21570
+ # method supports PATCH semantics and uses the JSON merge patch format and
21571
+ # processing rules.
20788
21572
  # @param [String] project
20789
21573
  # Project ID for this request.
20790
21574
  # @param [String] region
@@ -20881,9 +21665,7 @@ module Google
20881
21665
  end
20882
21666
 
20883
21667
  # Updates the specified regional BackendService resource with the data included
20884
- # in the request. There are several Understanding backend services to keep in
20885
- # mind when updating a backend service. Read Understanding backend services for
20886
- # more information.
21668
+ # in the request. For more information, see Backend services overview.
20887
21669
  # @param [String] project
20888
21670
  # Project ID for this request.
20889
21671
  # @param [String] region
@@ -23638,7 +24420,7 @@ module Google
23638
24420
  end
23639
24421
 
23640
24422
  # Lists all errors thrown by actions on instances for a given regional managed
23641
- # instance group.
24423
+ # instance group. The filter and orderBy query parameters are not supported.
23642
24424
  # @param [String] project
23643
24425
  # Project ID for this request.
23644
24426
  # @param [String] region
@@ -23723,7 +24505,7 @@ module Google
23723
24505
 
23724
24506
  # Lists the instances in the managed instance group and instances that are
23725
24507
  # scheduled to be created. The list includes any current actions that the group
23726
- # has scheduled for its instances.
24508
+ # has scheduled for its instances. The orderBy query parameter is not supported.
23727
24509
  # @param [String] project
23728
24510
  # Project ID for this request.
23729
24511
  # @param [String] region
@@ -23764,6 +24546,9 @@ module Google
23764
24546
  # @param [String] page_token
23765
24547
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
23766
24548
  # by a previous list request to get the next page of results.
24549
+ # @param [Boolean] return_partial_success
24550
+ # Opt-in for partial success behavior which provides partial results in case of
24551
+ # failure. The default value is false and the logic is the same as today.
23767
24552
  # @param [String] fields
23768
24553
  # Selector specifying which fields to include in a partial response.
23769
24554
  # @param [String] quota_user
@@ -23783,7 +24568,7 @@ module Google
23783
24568
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23784
24569
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23785
24570
  # @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)
24571
+ 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
24572
  command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
23788
24573
  command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse::Representation
23789
24574
  command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse
@@ -23794,6 +24579,7 @@ module Google
23794
24579
  command.query['maxResults'] = max_results unless max_results.nil?
23795
24580
  command.query['orderBy'] = order_by unless order_by.nil?
23796
24581
  command.query['pageToken'] = page_token unless page_token.nil?
24582
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
23797
24583
  command.query['fields'] = fields unless fields.nil?
23798
24584
  command.query['quotaUser'] = quota_user unless quota_user.nil?
23799
24585
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -23801,6 +24587,7 @@ module Google
23801
24587
  end
23802
24588
 
23803
24589
  # Lists all of the per-instance configs defined for the managed instance group.
24590
+ # The orderBy query parameter is not supported.
23804
24591
  # @param [String] project
23805
24592
  # Project ID for this request.
23806
24593
  # @param [String] region
@@ -24562,7 +25349,8 @@ module Google
24562
25349
 
24563
25350
  # Lists the instances in the specified instance group and displays information
24564
25351
  # about the named ports. Depending on the specified options, this method can
24565
- # list all instances or only the instances that are running.
25352
+ # list all instances or only the instances that are running. The orderBy query
25353
+ # parameter is not supported.
24566
25354
  # @param [String] project
24567
25355
  # Project ID for this request.
24568
25356
  # @param [String] region
@@ -31140,9 +31928,7 @@ module Google
31140
31928
  execute_or_queue_command(command, &block)
31141
31929
  end
31142
31930
 
31143
- # Retrieves an aggregated list of all usable subnetworks in the project. The
31144
- # list contains all of the subnetworks in the project and the subnetworks that
31145
- # were shared by a Shared VPC host project.
31931
+ # Retrieves an aggregated list of all usable subnetworks in the project.
31146
31932
  # @param [String] project
31147
31933
  # Project ID for this request.
31148
31934
  # @param [String] filter