google-api-client 0.42.1 → 0.43.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (470) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +205 -0
  3. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  12. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  13. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  14. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  15. data/generated/google/apis/admob_v1.rb +1 -1
  16. data/generated/google/apis/admob_v1/classes.rb +139 -268
  17. data/generated/google/apis/admob_v1/service.rb +11 -13
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  23. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  25. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  28. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  32. data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
  33. data/generated/google/apis/apigee_v1.rb +6 -7
  34. data/generated/google/apis/apigee_v1/classes.rb +739 -1192
  35. data/generated/google/apis/apigee_v1/representations.rb +1 -2
  36. data/generated/google/apis/apigee_v1/service.rb +885 -1126
  37. data/generated/google/apis/appengine_v1.rb +1 -1
  38. data/generated/google/apis/appengine_v1/service.rb +6 -3
  39. data/generated/google/apis/appengine_v1beta.rb +1 -1
  40. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  41. data/generated/google/apis/appsmarket_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2.rb +1 -1
  43. data/generated/google/apis/bigquery_v2/classes.rb +198 -3
  44. data/generated/google/apis/bigquery_v2/representations.rb +70 -0
  45. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  47. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
  50. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  51. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  52. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  53. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
  54. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  55. data/generated/google/apis/blogger_v2.rb +2 -3
  56. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  57. data/generated/google/apis/blogger_v2/service.rb +1 -2
  58. data/generated/google/apis/blogger_v3.rb +2 -3
  59. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  60. data/generated/google/apis/blogger_v3/service.rb +1 -2
  61. data/generated/google/apis/books_v1.rb +1 -1
  62. data/generated/google/apis/books_v1/classes.rb +140 -159
  63. data/generated/google/apis/books_v1/service.rb +47 -49
  64. data/generated/google/apis/chat_v1.rb +1 -1
  65. data/generated/google/apis/chat_v1/classes.rb +19 -0
  66. data/generated/google/apis/chat_v1/representations.rb +13 -0
  67. data/generated/google/apis/chat_v1/service.rb +39 -0
  68. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  69. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  70. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  71. data/generated/google/apis/classroom_v1.rb +1 -1
  72. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  73. data/generated/google/apis/classroom_v1/service.rb +643 -902
  74. data/generated/google/apis/cloudasset_v1.rb +1 -1
  75. data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
  76. data/generated/google/apis/cloudasset_v1/service.rb +62 -45
  77. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
  79. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  80. data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
  81. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
  82. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  83. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  84. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
  89. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  90. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  91. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
  92. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  93. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  99. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  101. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  102. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  104. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  105. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  106. data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
  107. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  108. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
  110. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  111. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  112. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
  113. data/generated/google/apis/cloudshell_v1.rb +1 -1
  114. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  115. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  116. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  117. data/generated/google/apis/compute_alpha.rb +1 -1
  118. data/generated/google/apis/compute_alpha/classes.rb +350 -20
  119. data/generated/google/apis/compute_alpha/representations.rb +100 -0
  120. data/generated/google/apis/compute_alpha/service.rb +15 -7
  121. data/generated/google/apis/compute_beta.rb +1 -1
  122. data/generated/google/apis/compute_beta/classes.rb +39 -14
  123. data/generated/google/apis/compute_beta/representations.rb +2 -0
  124. data/generated/google/apis/compute_beta/service.rb +15 -7
  125. data/generated/google/apis/compute_v1.rb +1 -1
  126. data/generated/google/apis/compute_v1/classes.rb +65 -42
  127. data/generated/google/apis/compute_v1/representations.rb +18 -15
  128. data/generated/google/apis/compute_v1/service.rb +63 -19
  129. data/generated/google/apis/container_v1.rb +1 -1
  130. data/generated/google/apis/container_v1/classes.rb +26 -0
  131. data/generated/google/apis/container_v1/representations.rb +15 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +15 -0
  134. data/generated/google/apis/content_v2/representations.rb +1 -0
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +15 -0
  137. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  138. data/generated/google/apis/customsearch_v1.rb +1 -1
  139. data/generated/google/apis/customsearch_v1/classes.rb +303 -488
  140. data/generated/google/apis/customsearch_v1/service.rb +186 -343
  141. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  142. data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
  143. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  144. data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
  145. data/generated/google/apis/datafusion_v1.rb +43 -0
  146. data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
  147. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -94
  148. data/generated/google/apis/datafusion_v1/service.rb +680 -0
  149. data/generated/google/apis/dataproc_v1.rb +1 -1
  150. data/generated/google/apis/dataproc_v1/classes.rb +192 -316
  151. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  152. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  153. data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
  154. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  155. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  156. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  157. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  158. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  159. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  160. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  161. data/generated/google/apis/dialogflow_v2.rb +1 -1
  162. data/generated/google/apis/dialogflow_v2/classes.rb +1301 -1539
  163. data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
  164. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  165. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  166. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1379 -1619
  167. data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
  168. data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -990
  169. data/generated/google/apis/displayvideo_v1.rb +7 -1
  170. data/generated/google/apis/displayvideo_v1/classes.rb +1775 -1731
  171. data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
  172. data/generated/google/apis/displayvideo_v1/service.rb +1277 -926
  173. data/generated/google/apis/dlp_v2.rb +1 -1
  174. data/generated/google/apis/dlp_v2/classes.rb +5 -4
  175. data/generated/google/apis/dns_v1.rb +1 -1
  176. data/generated/google/apis/dns_v1/classes.rb +7 -7
  177. data/generated/google/apis/dns_v1beta2.rb +1 -1
  178. data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
  179. data/generated/google/apis/dns_v2beta1.rb +1 -1
  180. data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
  181. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  182. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  183. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  184. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  185. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  186. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
  187. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  188. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
  189. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  190. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
  191. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  192. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  193. data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
  194. data/generated/google/apis/drive_v2.rb +1 -1
  195. data/generated/google/apis/drive_v2/classes.rb +3 -1
  196. data/generated/google/apis/drive_v3.rb +1 -1
  197. data/generated/google/apis/drive_v3/classes.rb +9 -1
  198. data/generated/google/apis/drive_v3/representations.rb +1 -0
  199. data/generated/google/apis/driveactivity_v2.rb +1 -1
  200. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  201. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  202. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  203. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  204. data/generated/google/apis/fcm_v1.rb +1 -1
  205. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  206. data/generated/google/apis/fcm_v1/service.rb +5 -6
  207. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  208. data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
  209. data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
  210. data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
  211. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  212. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  213. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  214. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  215. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  216. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  217. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  218. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
  219. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  220. data/generated/google/apis/firebaseml_v1.rb +1 -1
  221. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  222. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  223. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  224. data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
  225. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  226. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  227. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  228. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  229. data/generated/google/apis/games_management_v1management.rb +1 -1
  230. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  231. data/generated/google/apis/games_v1.rb +1 -1
  232. data/generated/google/apis/games_v1/classes.rb +1 -1
  233. data/generated/google/apis/games_v1/service.rb +2 -2
  234. data/generated/google/apis/gameservices_v1.rb +1 -1
  235. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  236. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  237. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  238. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  239. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  240. data/generated/google/apis/genomics_v1.rb +1 -1
  241. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  242. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  243. data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
  244. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
  245. data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
  246. data/generated/google/apis/gmail_v1.rb +3 -3
  247. data/generated/google/apis/gmail_v1/classes.rb +216 -269
  248. data/generated/google/apis/gmail_v1/service.rb +257 -285
  249. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
  250. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  251. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
  252. data/generated/google/apis/healthcare_v1.rb +1 -1
  253. data/generated/google/apis/healthcare_v1/service.rb +26 -14
  254. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  255. data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
  256. data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
  257. data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
  258. data/generated/google/apis/language_v1.rb +1 -1
  259. data/generated/google/apis/language_v1/classes.rb +93 -111
  260. data/generated/google/apis/language_v1/service.rb +4 -4
  261. data/generated/google/apis/language_v1beta1.rb +1 -1
  262. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  263. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  264. data/generated/google/apis/language_v1beta2.rb +1 -1
  265. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  266. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  267. data/generated/google/apis/libraryagent_v1.rb +1 -1
  268. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  269. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  270. data/generated/google/apis/logging_v2.rb +1 -1
  271. data/generated/google/apis/logging_v2/classes.rb +6 -6
  272. data/generated/google/apis/managedidentities_v1.rb +1 -1
  273. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  274. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  275. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  277. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  278. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  279. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  280. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  281. data/generated/google/apis/{cloudfunctions_v1beta2.rb → memcache_v1.rb} +10 -9
  282. data/generated/google/apis/memcache_v1/classes.rb +1157 -0
  283. data/generated/google/apis/memcache_v1/representations.rb +471 -0
  284. data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
  285. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  286. data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
  287. data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
  288. data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
  289. data/generated/google/apis/monitoring_v1.rb +1 -1
  290. data/generated/google/apis/monitoring_v1/classes.rb +14 -12
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +36 -18
  293. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  294. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  295. data/generated/google/apis/osconfig_v1.rb +1 -1
  296. data/generated/google/apis/osconfig_v1/classes.rb +796 -0
  297. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  298. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  299. data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
  300. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  301. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  302. data/generated/google/apis/people_v1.rb +1 -1
  303. data/generated/google/apis/people_v1/classes.rb +382 -401
  304. data/generated/google/apis/people_v1/representations.rb +57 -0
  305. data/generated/google/apis/people_v1/service.rb +169 -385
  306. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  307. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  308. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  309. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  310. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  311. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  312. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  313. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  314. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  315. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -219
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  318. data/generated/google/apis/pubsub_v1.rb +1 -1
  319. data/generated/google/apis/pubsub_v1/classes.rb +21 -0
  320. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  321. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  322. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  323. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  324. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  325. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
  326. data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
  327. data/generated/google/apis/recommender_v1.rb +1 -1
  328. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  329. data/generated/google/apis/recommender_v1/service.rb +43 -58
  330. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  331. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  332. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  333. data/generated/google/apis/redis_v1.rb +1 -1
  334. data/generated/google/apis/redis_v1/classes.rb +397 -0
  335. data/generated/google/apis/redis_v1/representations.rb +139 -0
  336. data/generated/google/apis/redis_v1beta1.rb +1 -1
  337. data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
  338. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  339. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  342. data/generated/google/apis/run_v1.rb +1 -1
  343. data/generated/google/apis/run_v1/classes.rb +835 -1248
  344. data/generated/google/apis/run_v1/service.rb +233 -247
  345. data/generated/google/apis/run_v1alpha1.rb +1 -1
  346. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  347. data/generated/google/apis/run_v1alpha1/service.rb +321 -377
  348. data/generated/google/apis/run_v1beta1.rb +1 -1
  349. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  350. data/generated/google/apis/run_v1beta1/service.rb +16 -18
  351. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  352. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  353. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  354. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  355. data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -219
  356. data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
  357. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  358. data/generated/google/apis/searchconsole_v1.rb +1 -1
  359. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  360. data/generated/google/apis/securitycenter_v1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
  362. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  363. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  364. data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
  365. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  366. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  367. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
  368. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
  369. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  370. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
  377. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  378. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  379. data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
  380. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  381. data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
  382. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  383. data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
  384. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  385. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  386. data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
  387. data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
  388. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  389. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
  390. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  391. data/generated/google/apis/serviceusage_v1.rb +1 -1
  392. data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
  393. data/generated/google/apis/serviceusage_v1/service.rb +63 -80
  394. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  395. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
  396. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  397. data/generated/google/apis/spanner_v1.rb +1 -1
  398. data/generated/google/apis/spanner_v1/classes.rb +3 -2
  399. data/generated/google/apis/sql_v1beta4.rb +1 -1
  400. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  401. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  402. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  403. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  404. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
  405. data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
  406. data/generated/google/apis/tagmanager_v1.rb +2 -3
  407. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  408. data/generated/google/apis/tagmanager_v1/service.rb +20 -21
  409. data/generated/google/apis/tagmanager_v2.rb +2 -3
  410. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  411. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  412. data/generated/google/apis/tagmanager_v2/service.rb +187 -283
  413. data/generated/google/apis/testing_v1.rb +1 -1
  414. data/generated/google/apis/testing_v1/classes.rb +63 -0
  415. data/generated/google/apis/testing_v1/representations.rb +32 -0
  416. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  417. data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
  418. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  419. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  420. data/generated/google/apis/tpu_v1.rb +1 -1
  421. data/generated/google/apis/tpu_v1/classes.rb +68 -78
  422. data/generated/google/apis/tpu_v1/service.rb +21 -25
  423. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  424. data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
  425. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  426. data/generated/google/apis/translate_v3.rb +1 -1
  427. data/generated/google/apis/translate_v3/service.rb +14 -1
  428. data/generated/google/apis/translate_v3beta1.rb +1 -1
  429. data/generated/google/apis/translate_v3beta1/service.rb +14 -1
  430. data/generated/google/apis/vision_v1.rb +1 -1
  431. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  432. data/generated/google/apis/vision_v1/service.rb +254 -340
  433. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  435. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  436. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  437. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  438. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  439. data/generated/google/apis/webfonts_v1.rb +1 -1
  440. data/generated/google/apis/webfonts_v1/service.rb +2 -2
  441. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  442. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  443. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  444. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  445. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  446. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  447. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  448. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  449. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  450. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  452. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  453. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  454. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  455. data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
  456. data/generated/google/apis/youtube_v3.rb +1 -1
  457. data/generated/google/apis/youtube_v3/classes.rb +943 -1175
  458. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  459. data/generated/google/apis/youtube_v3/service.rb +1007 -1316
  460. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  461. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  462. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  463. data/lib/google/apis/core/base_service.rb +7 -1
  464. data/lib/google/apis/version.rb +1 -1
  465. metadata +19 -11
  466. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  467. data/generated/google/apis/fitness_v1.rb +0 -85
  468. data/generated/google/apis/fitness_v1/classes.rb +0 -1020
  469. data/generated/google/apis/fitness_v1/representations.rb +0 -398
  470. data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200629'
28
+ REVISION = '20200704'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2079,6 +2079,13 @@ module Google
2079
2079
  # @return [String]
2080
2080
  attr_accessor :mode
2081
2081
 
2082
+ # Configuration that allows for slower scale in so that even if Autoscaler
2083
+ # recommends an abrupt scale in of a MIG, it will be throttled as specified by
2084
+ # the parameters below.
2085
+ # Corresponds to the JSON property `scaleInControl`
2086
+ # @return [Google::Apis::ComputeV1::AutoscalingPolicyScaleInControl]
2087
+ attr_accessor :scale_in_control
2088
+
2082
2089
  def initialize(**args)
2083
2090
  update!(**args)
2084
2091
  end
@@ -2092,6 +2099,7 @@ module Google
2092
2099
  @max_num_replicas = args[:max_num_replicas] if args.key?(:max_num_replicas)
2093
2100
  @min_num_replicas = args[:min_num_replicas] if args.key?(:min_num_replicas)
2094
2101
  @mode = args[:mode] if args.key?(:mode)
2102
+ @scale_in_control = args[:scale_in_control] if args.key?(:scale_in_control)
2095
2103
  end
2096
2104
  end
2097
2105
 
@@ -2182,6 +2190,34 @@ module Google
2182
2190
  end
2183
2191
  end
2184
2192
 
2193
+ # Configuration that allows for slower scale in so that even if Autoscaler
2194
+ # recommends an abrupt scale in of a MIG, it will be throttled as specified by
2195
+ # the parameters below.
2196
+ class AutoscalingPolicyScaleInControl
2197
+ include Google::Apis::Core::Hashable
2198
+
2199
+ # Encapsulates numeric value that can be either absolute or relative.
2200
+ # Corresponds to the JSON property `maxScaledInReplicas`
2201
+ # @return [Google::Apis::ComputeV1::FixedOrPercent]
2202
+ attr_accessor :max_scaled_in_replicas
2203
+
2204
+ # How long back autoscaling should look when computing recommendations to
2205
+ # include directives regarding slower scale in, as described above.
2206
+ # Corresponds to the JSON property `timeWindowSec`
2207
+ # @return [Fixnum]
2208
+ attr_accessor :time_window_sec
2209
+
2210
+ def initialize(**args)
2211
+ update!(**args)
2212
+ end
2213
+
2214
+ # Update properties of this object
2215
+ def update!(**args)
2216
+ @max_scaled_in_replicas = args[:max_scaled_in_replicas] if args.key?(:max_scaled_in_replicas)
2217
+ @time_window_sec = args[:time_window_sec] if args.key?(:time_window_sec)
2218
+ end
2219
+ end
2220
+
2185
2221
  # Message containing information of one individual backend.
2186
2222
  class Backend
2187
2223
  include Google::Apis::Core::Hashable
@@ -6572,6 +6608,13 @@ module Google
6572
6608
  attr_accessor :enable
6573
6609
  alias_method :enable?, :enable
6574
6610
 
6611
+ # This field can only be specified for a particular firewall rule if logging is
6612
+ # enabled for that rule. This field denotes whether to include or exclude
6613
+ # metadata for firewall logs.
6614
+ # Corresponds to the JSON property `metadata`
6615
+ # @return [String]
6616
+ attr_accessor :metadata
6617
+
6575
6618
  def initialize(**args)
6576
6619
  update!(**args)
6577
6620
  end
@@ -6579,6 +6622,7 @@ module Google
6579
6622
  # Update properties of this object
6580
6623
  def update!(**args)
6581
6624
  @enable = args[:enable] if args.key?(:enable)
6625
+ @metadata = args[:metadata] if args.key?(:metadata)
6582
6626
  end
6583
6627
  end
6584
6628
 
@@ -7808,9 +7852,10 @@ module Google
7808
7852
  # Google Compute Engine has two Health Check resources:
7809
7853
  # * [Global](/compute/docs/reference/rest/`$api_version`/healthChecks) * [
7810
7854
  # Regional](/compute/docs/reference/rest/`$api_version`/regionHealthChecks)
7811
- # Internal HTTP(S) load balancers use regional health checks. All other types of
7812
- # GCP load balancers and managed instance group auto-healing use global health
7813
- # checks. For more information, read Health Check Concepts.
7855
+ # Internal HTTP(S) load balancers must use regional health checks. Internal TCP/
7856
+ # UDP load balancers can use either regional or global health checks. All other
7857
+ # types of GCP load balancers and managed instance group auto-healing must use
7858
+ # global health checks. For more information, read Health Check Concepts.
7814
7859
  # To perform health checks on network load balancers, you must use either
7815
7860
  # httpHealthChecks or httpsHealthChecks.
7816
7861
  class HealthCheck
@@ -7869,12 +7914,6 @@ module Google
7869
7914
  # @return [String]
7870
7915
  attr_accessor :kind
7871
7916
 
7872
- # Configuration of logging on a health check. If logging is enabled, logs will
7873
- # be exported to Stackdriver.
7874
- # Corresponds to the JSON property `logConfig`
7875
- # @return [Google::Apis::ComputeV1::HealthCheckLogConfig]
7876
- attr_accessor :log_config
7877
-
7878
7917
  # Name of the resource. Provided by the client when the resource is created. The
7879
7918
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
7880
7919
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -7942,7 +7981,6 @@ module Google
7942
7981
  @https_health_check = args[:https_health_check] if args.key?(:https_health_check)
7943
7982
  @id = args[:id] if args.key?(:id)
7944
7983
  @kind = args[:kind] if args.key?(:kind)
7945
- @log_config = args[:log_config] if args.key?(:log_config)
7946
7984
  @name = args[:name] if args.key?(:name)
7947
7985
  @region = args[:region] if args.key?(:region)
7948
7986
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -8071,28 +8109,6 @@ module Google
8071
8109
  end
8072
8110
  end
8073
8111
 
8074
- # Configuration of logging on a health check. If logging is enabled, logs will
8075
- # be exported to Stackdriver.
8076
- class HealthCheckLogConfig
8077
- include Google::Apis::Core::Hashable
8078
-
8079
- # Indicates whether or not to export logs. This is false by default, which means
8080
- # no health check logging will be done.
8081
- # Corresponds to the JSON property `enable`
8082
- # @return [Boolean]
8083
- attr_accessor :enable
8084
- alias_method :enable?, :enable
8085
-
8086
- def initialize(**args)
8087
- update!(**args)
8088
- end
8089
-
8090
- # Update properties of this object
8091
- def update!(**args)
8092
- @enable = args[:enable] if args.key?(:enable)
8093
- end
8094
- end
8095
-
8096
8112
  # A full or valid partial URL to a health check. For example, the following are
8097
8113
  # valid URLs:
8098
8114
  # - https://www.googleapis.com/compute/beta/projects/project-id/global/
@@ -16289,6 +16305,7 @@ module Google
16289
16305
  # @return [String]
16290
16306
  attr_accessor :i_pv4_range
16291
16307
 
16308
+ # Must be set to create a VPC network. If not set, a legacy network is created.
16292
16309
  # When set to true, the VPC network is created in auto mode. When set to false,
16293
16310
  # the VPC network is created in custom mode.
16294
16311
  # An auto mode VPC network starts with one subnet per region. Each subnet has a
@@ -16440,7 +16457,8 @@ module Google
16440
16457
  # reached, whether they are reachable, and where they are located. For more
16441
16458
  # information about using NEGs, see Setting up internet NEGs or Setting up
16442
16459
  # zonal NEGs. (== resource_for `$api_version`.networkEndpointGroups ==) (==
16443
- # resource_for `$api_version`.globalNetworkEndpointGroups ==)
16460
+ # resource_for `$api_version`.globalNetworkEndpointGroups ==) (== resource_for `$
16461
+ # api_version`.regionNetworkEndpointGroups ==)
16444
16462
  class NetworkEndpointGroup
16445
16463
  include Google::Apis::Core::Hashable
16446
16464
 
@@ -25843,8 +25861,9 @@ module Google
25843
25861
  # @return [String]
25844
25862
  attr_accessor :kind
25845
25863
 
25846
- # [Output Only] The position of the next byte of content from the serial console
25847
- # output. Use this value in the next request as the start parameter.
25864
+ # [Output Only] The position of the next byte of content, regardless of whether
25865
+ # the content exists, following the output returned in the `contents` property.
25866
+ # Use this value in the next request as the start parameter.
25848
25867
  # Corresponds to the JSON property `next`
25849
25868
  # @return [Fixnum]
25850
25869
  attr_accessor :next
@@ -25856,8 +25875,10 @@ module Google
25856
25875
 
25857
25876
  # The starting byte position of the output that was returned. This should match
25858
25877
  # the start parameter sent with the request. If the serial console output
25859
- # exceeds the size of the buffer, older output will be overwritten by newer
25860
- # content and the start values will be mismatched.
25878
+ # exceeds the size of the buffer (1 MB), older output is overwritten by newer
25879
+ # content. The output start value will indicate the byte position of the output
25880
+ # that was returned, which might be different than the `start` value that was
25881
+ # specified in the request.
25861
25882
  # Corresponds to the JSON property `start`
25862
25883
  # @return [Fixnum]
25863
25884
  attr_accessor :start
@@ -27271,10 +27292,11 @@ module Google
27271
27292
  attr_accessor :id
27272
27293
 
27273
27294
  # The range of internal addresses that are owned by this subnetwork. Provide
27274
- # this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
27275
- # 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
27276
- # IPv4 is supported. This field is set at resource creation time. The range can
27277
- # be expanded after creation using expandIpCidrRange.
27295
+ # this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.
27296
+ # 64.0.0/10. Ranges must be unique and non-overlapping within a network. Only
27297
+ # IPv4 is supported. This field is set at resource creation time. This may be a
27298
+ # RFC 1918 IP range, or a privately routed, non-RFC 1918 IP range, not belonging
27299
+ # to Google. The range can be expanded after creation using expandIpCidrRange.
27278
27300
  # Corresponds to the JSON property `ipCidrRange`
27279
27301
  # @return [String]
27280
27302
  attr_accessor :ip_cidr_range
@@ -27714,7 +27736,8 @@ module Google
27714
27736
  # The range of IP addresses belonging to this subnetwork secondary range.
27715
27737
  # Provide this property when you create the subnetwork. Ranges must be unique
27716
27738
  # and non-overlapping with all primary and secondary IP ranges within a network.
27717
- # Only IPv4 is supported.
27739
+ # Only IPv4 is supported. This may be a RFC 1918 IP range, or a privately, non-
27740
+ # RFC 1918 IP range, not belonging to Google.
27718
27741
  # Corresponds to the JSON property `ipCidrRange`
27719
27742
  # @return [String]
27720
27743
  attr_accessor :ip_cidr_range
@@ -298,6 +298,12 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class AutoscalingPolicyScaleInControl
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
301
307
  class Backend
302
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
309
 
@@ -1012,12 +1018,6 @@ module Google
1012
1018
  include Google::Apis::Core::JsonObjectSupport
1013
1019
  end
1014
1020
 
1015
- class HealthCheckLogConfig
1016
- class Representation < Google::Apis::Core::JsonRepresentation; end
1017
-
1018
- include Google::Apis::Core::JsonObjectSupport
1019
- end
1020
-
1021
1021
  class HealthCheckReference
1022
1022
  class Representation < Google::Apis::Core::JsonRepresentation; end
1023
1023
 
@@ -5105,6 +5105,8 @@ module Google
5105
5105
  property :max_num_replicas, as: 'maxNumReplicas'
5106
5106
  property :min_num_replicas, as: 'minNumReplicas'
5107
5107
  property :mode, as: 'mode'
5108
+ property :scale_in_control, as: 'scaleInControl', class: Google::Apis::ComputeV1::AutoscalingPolicyScaleInControl, decorator: Google::Apis::ComputeV1::AutoscalingPolicyScaleInControl::Representation
5109
+
5108
5110
  end
5109
5111
  end
5110
5112
 
@@ -5131,6 +5133,15 @@ module Google
5131
5133
  end
5132
5134
  end
5133
5135
 
5136
+ class AutoscalingPolicyScaleInControl
5137
+ # @private
5138
+ class Representation < Google::Apis::Core::JsonRepresentation
5139
+ property :max_scaled_in_replicas, as: 'maxScaledInReplicas', class: Google::Apis::ComputeV1::FixedOrPercent, decorator: Google::Apis::ComputeV1::FixedOrPercent::Representation
5140
+
5141
+ property :time_window_sec, as: 'timeWindowSec'
5142
+ end
5143
+ end
5144
+
5134
5145
  class Backend
5135
5146
  # @private
5136
5147
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6144,6 +6155,7 @@ module Google
6144
6155
  # @private
6145
6156
  class Representation < Google::Apis::Core::JsonRepresentation
6146
6157
  property :enable, as: 'enable'
6158
+ property :metadata, as: 'metadata'
6147
6159
  end
6148
6160
  end
6149
6161
 
@@ -6425,8 +6437,6 @@ module Google
6425
6437
 
6426
6438
  property :id, :numeric_string => true, as: 'id'
6427
6439
  property :kind, as: 'kind'
6428
- property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::HealthCheckLogConfig, decorator: Google::Apis::ComputeV1::HealthCheckLogConfig::Representation
6429
-
6430
6440
  property :name, as: 'name'
6431
6441
  property :region, as: 'region'
6432
6442
  property :self_link, as: 'selfLink'
@@ -6472,13 +6482,6 @@ module Google
6472
6482
  end
6473
6483
  end
6474
6484
 
6475
- class HealthCheckLogConfig
6476
- # @private
6477
- class Representation < Google::Apis::Core::JsonRepresentation
6478
- property :enable, as: 'enable'
6479
- end
6480
- end
6481
-
6482
6485
  class HealthCheckReference
6483
6486
  # @private
6484
6487
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2437,6 +2437,8 @@ module Google
2437
2437
  # The name of the zone for this request.
2438
2438
  # @param [String] resource
2439
2439
  # Name or id of the resource for this request.
2440
+ # @param [Fixnum] options_requested_policy_version
2441
+ # Requested IAM Policy version.
2440
2442
  # @param [String] fields
2441
2443
  # Selector specifying which fields to include in a partial response.
2442
2444
  # @param [String] quota_user
@@ -2456,13 +2458,14 @@ module Google
2456
2458
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2457
2459
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2458
2460
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2459
- def get_disk_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2461
+ def get_disk_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2460
2462
  command = make_simple_command(:get, '{project}/zones/{zone}/disks/{resource}/getIamPolicy', options)
2461
2463
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
2462
2464
  command.response_class = Google::Apis::ComputeV1::Policy
2463
2465
  command.params['project'] = project unless project.nil?
2464
2466
  command.params['zone'] = zone unless zone.nil?
2465
2467
  command.params['resource'] = resource unless resource.nil?
2468
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2466
2469
  command.query['fields'] = fields unless fields.nil?
2467
2470
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2468
2471
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -6211,6 +6214,8 @@ module Google
6211
6214
  # Project ID for this request.
6212
6215
  # @param [String] resource
6213
6216
  # Name or id of the resource for this request.
6217
+ # @param [Fixnum] options_requested_policy_version
6218
+ # Requested IAM Policy version.
6214
6219
  # @param [String] fields
6215
6220
  # Selector specifying which fields to include in a partial response.
6216
6221
  # @param [String] quota_user
@@ -6230,12 +6235,13 @@ module Google
6230
6235
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6231
6236
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6232
6237
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6233
- def get_image_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6238
+ def get_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6234
6239
  command = make_simple_command(:get, '{project}/global/images/{resource}/getIamPolicy', options)
6235
6240
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
6236
6241
  command.response_class = Google::Apis::ComputeV1::Policy
6237
6242
  command.params['project'] = project unless project.nil?
6238
6243
  command.params['resource'] = resource unless resource.nil?
6244
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
6239
6245
  command.query['fields'] = fields unless fields.nil?
6240
6246
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6241
6247
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -8139,6 +8145,8 @@ module Google
8139
8145
  # Project ID for this request.
8140
8146
  # @param [String] resource
8141
8147
  # Name or id of the resource for this request.
8148
+ # @param [Fixnum] options_requested_policy_version
8149
+ # Requested IAM Policy version.
8142
8150
  # @param [String] fields
8143
8151
  # Selector specifying which fields to include in a partial response.
8144
8152
  # @param [String] quota_user
@@ -8158,12 +8166,13 @@ module Google
8158
8166
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8159
8167
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8160
8168
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8161
- def get_instance_template_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8169
+ def get_instance_template_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8162
8170
  command = make_simple_command(:get, '{project}/global/instanceTemplates/{resource}/getIamPolicy', options)
8163
8171
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
8164
8172
  command.response_class = Google::Apis::ComputeV1::Policy
8165
8173
  command.params['project'] = project unless project.nil?
8166
8174
  command.params['resource'] = resource unless resource.nil?
8175
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
8167
8176
  command.query['fields'] = fields unless fields.nil?
8168
8177
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8169
8178
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -8577,8 +8586,8 @@ module Google
8577
8586
  # The instance name for this request.
8578
8587
  # @param [Google::Apis::ComputeV1::AttachedDisk] attached_disk_object
8579
8588
  # @param [Boolean] force_attach
8580
- # Whether to force attach the disk even if it's currently attached to another
8581
- # instance.
8589
+ # Whether to force attach the regional disk even if it's currently attached to
8590
+ # another instance.
8582
8591
  # @param [String] request_id
8583
8592
  # An optional request ID to identify requests. Specify a unique request ID so
8584
8593
  # that if you must retry your request, the server will know to ignore the
@@ -8883,6 +8892,8 @@ module Google
8883
8892
  # The name of the zone for this request.
8884
8893
  # @param [String] resource
8885
8894
  # Name or id of the resource for this request.
8895
+ # @param [Fixnum] options_requested_policy_version
8896
+ # Requested IAM Policy version.
8886
8897
  # @param [String] fields
8887
8898
  # Selector specifying which fields to include in a partial response.
8888
8899
  # @param [String] quota_user
@@ -8902,13 +8913,14 @@ module Google
8902
8913
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8903
8914
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8904
8915
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8905
- def get_instance_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8916
+ def get_instance_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8906
8917
  command = make_simple_command(:get, '{project}/zones/{zone}/instances/{resource}/getIamPolicy', options)
8907
8918
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
8908
8919
  command.response_class = Google::Apis::ComputeV1::Policy
8909
8920
  command.params['project'] = project unless project.nil?
8910
8921
  command.params['zone'] = zone unless zone.nil?
8911
8922
  command.params['resource'] = resource unless resource.nil?
8923
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
8912
8924
  command.query['fields'] = fields unless fields.nil?
8913
8925
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8914
8926
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -8921,14 +8933,22 @@ module Google
8921
8933
  # @param [String] zone
8922
8934
  # The name of the zone for this request.
8923
8935
  # @param [String] instance
8924
- # Name of the instance scoping this request.
8936
+ # Name of the instance for this request.
8925
8937
  # @param [Fixnum] port
8926
8938
  # Specifies which COM or serial port to retrieve data from.
8927
8939
  # @param [Fixnum] start
8928
- # Returns output starting from a specific byte position. Use this to page
8929
- # through output when the output is too large to return in a single request. For
8930
- # the initial request, leave this field unspecified. For subsequent calls, this
8931
- # field should be set to the next value returned in the previous call.
8940
+ # Specifies the starting byte position of the output to return. To start with
8941
+ # the first byte of output to the specified port, omit this field or set it to `
8942
+ # 0`.
8943
+ # If the output for that byte position is available, this field matches the `
8944
+ # start` parameter sent with the request. If the amount of serial console output
8945
+ # exceeds the size of the buffer (1 MB), the oldest output is discarded and is
8946
+ # no longer available. If the requested start position refers to discarded
8947
+ # output, the start position is adjusted to the oldest output still available,
8948
+ # and the adjusted start position is returned as the `start` property value.
8949
+ # You can also provide a negative start position, which translates to the most
8950
+ # recent number of bytes written to the serial port. For example, -3 is
8951
+ # interpreted as the most recent 3 bytes written to the serial console.
8932
8952
  # @param [String] fields
8933
8953
  # Selector specifying which fields to include in a partial response.
8934
8954
  # @param [String] quota_user
@@ -11445,6 +11465,8 @@ module Google
11445
11465
  # Project ID for this request.
11446
11466
  # @param [String] resource
11447
11467
  # Name or id of the resource for this request.
11468
+ # @param [Fixnum] options_requested_policy_version
11469
+ # Requested IAM Policy version.
11448
11470
  # @param [String] fields
11449
11471
  # Selector specifying which fields to include in a partial response.
11450
11472
  # @param [String] quota_user
@@ -11464,12 +11486,13 @@ module Google
11464
11486
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11465
11487
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11466
11488
  # @raise [Google::Apis::AuthorizationError] Authorization is required
11467
- def get_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11489
+ def get_license_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11468
11490
  command = make_simple_command(:get, '{project}/global/licenses/{resource}/getIamPolicy', options)
11469
11491
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
11470
11492
  command.response_class = Google::Apis::ComputeV1::Policy
11471
11493
  command.params['project'] = project unless project.nil?
11472
11494
  command.params['resource'] = resource unless resource.nil?
11495
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
11473
11496
  command.query['fields'] = fields unless fields.nil?
11474
11497
  command.query['quotaUser'] = quota_user unless quota_user.nil?
11475
11498
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -13251,6 +13274,8 @@ module Google
13251
13274
  # The name of the zone for this request.
13252
13275
  # @param [String] resource
13253
13276
  # Name or id of the resource for this request.
13277
+ # @param [Fixnum] options_requested_policy_version
13278
+ # Requested IAM Policy version.
13254
13279
  # @param [String] fields
13255
13280
  # Selector specifying which fields to include in a partial response.
13256
13281
  # @param [String] quota_user
@@ -13270,13 +13295,14 @@ module Google
13270
13295
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13271
13296
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13272
13297
  # @raise [Google::Apis::AuthorizationError] Authorization is required
13273
- def get_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13298
+ def get_node_group_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13274
13299
  command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options)
13275
13300
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
13276
13301
  command.response_class = Google::Apis::ComputeV1::Policy
13277
13302
  command.params['project'] = project unless project.nil?
13278
13303
  command.params['zone'] = zone unless zone.nil?
13279
13304
  command.params['resource'] = resource unless resource.nil?
13305
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
13280
13306
  command.query['fields'] = fields unless fields.nil?
13281
13307
  command.query['quotaUser'] = quota_user unless quota_user.nil?
13282
13308
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -13861,6 +13887,8 @@ module Google
13861
13887
  # The name of the region for this request.
13862
13888
  # @param [String] resource
13863
13889
  # Name or id of the resource for this request.
13890
+ # @param [Fixnum] options_requested_policy_version
13891
+ # Requested IAM Policy version.
13864
13892
  # @param [String] fields
13865
13893
  # Selector specifying which fields to include in a partial response.
13866
13894
  # @param [String] quota_user
@@ -13880,13 +13908,14 @@ module Google
13880
13908
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13881
13909
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13882
13910
  # @raise [Google::Apis::AuthorizationError] Authorization is required
13883
- def get_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13911
+ def get_node_template_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13884
13912
  command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options)
13885
13913
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
13886
13914
  command.response_class = Google::Apis::ComputeV1::Policy
13887
13915
  command.params['project'] = project unless project.nil?
13888
13916
  command.params['region'] = region unless region.nil?
13889
13917
  command.params['resource'] = resource unless resource.nil?
13918
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
13890
13919
  command.query['fields'] = fields unless fields.nil?
13891
13920
  command.query['quotaUser'] = quota_user unless quota_user.nil?
13892
13921
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -16604,6 +16633,8 @@ module Google
16604
16633
  # The name of the region for this request.
16605
16634
  # @param [String] resource
16606
16635
  # Name or id of the resource for this request.
16636
+ # @param [Fixnum] options_requested_policy_version
16637
+ # Requested IAM Policy version.
16607
16638
  # @param [String] fields
16608
16639
  # Selector specifying which fields to include in a partial response.
16609
16640
  # @param [String] quota_user
@@ -16623,13 +16654,14 @@ module Google
16623
16654
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16624
16655
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16625
16656
  # @raise [Google::Apis::AuthorizationError] Authorization is required
16626
- def get_region_disk_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16657
+ def get_region_disk_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16627
16658
  command = make_simple_command(:get, '{project}/regions/{region}/disks/{resource}/getIamPolicy', options)
16628
16659
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
16629
16660
  command.response_class = Google::Apis::ComputeV1::Policy
16630
16661
  command.params['project'] = project unless project.nil?
16631
16662
  command.params['region'] = region unless region.nil?
16632
16663
  command.params['resource'] = resource unless resource.nil?
16664
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
16633
16665
  command.query['fields'] = fields unless fields.nil?
16634
16666
  command.query['quotaUser'] = quota_user unless quota_user.nil?
16635
16667
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -20624,6 +20656,8 @@ module Google
20624
20656
  # The name of the zone for this request.
20625
20657
  # @param [String] resource
20626
20658
  # Name or id of the resource for this request.
20659
+ # @param [Fixnum] options_requested_policy_version
20660
+ # Requested IAM Policy version.
20627
20661
  # @param [String] fields
20628
20662
  # Selector specifying which fields to include in a partial response.
20629
20663
  # @param [String] quota_user
@@ -20643,13 +20677,14 @@ module Google
20643
20677
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20644
20678
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20645
20679
  # @raise [Google::Apis::AuthorizationError] Authorization is required
20646
- def get_reservation_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20680
+ def get_reservation_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20647
20681
  command = make_simple_command(:get, '{project}/zones/{zone}/reservations/{resource}/getIamPolicy', options)
20648
20682
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
20649
20683
  command.response_class = Google::Apis::ComputeV1::Policy
20650
20684
  command.params['project'] = project unless project.nil?
20651
20685
  command.params['zone'] = zone unless zone.nil?
20652
20686
  command.params['resource'] = resource unless resource.nil?
20687
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
20653
20688
  command.query['fields'] = fields unless fields.nil?
20654
20689
  command.query['quotaUser'] = quota_user unless quota_user.nil?
20655
20690
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -21100,6 +21135,8 @@ module Google
21100
21135
  # The name of the region for this request.
21101
21136
  # @param [String] resource
21102
21137
  # Name or id of the resource for this request.
21138
+ # @param [Fixnum] options_requested_policy_version
21139
+ # Requested IAM Policy version.
21103
21140
  # @param [String] fields
21104
21141
  # Selector specifying which fields to include in a partial response.
21105
21142
  # @param [String] quota_user
@@ -21119,13 +21156,14 @@ module Google
21119
21156
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21120
21157
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21121
21158
  # @raise [Google::Apis::AuthorizationError] Authorization is required
21122
- def get_resource_policy_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21159
+ def get_resource_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21123
21160
  command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy', options)
21124
21161
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
21125
21162
  command.response_class = Google::Apis::ComputeV1::Policy
21126
21163
  command.params['project'] = project unless project.nil?
21127
21164
  command.params['region'] = region unless region.nil?
21128
21165
  command.params['resource'] = resource unless resource.nil?
21166
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
21129
21167
  command.query['fields'] = fields unless fields.nil?
21130
21168
  command.query['quotaUser'] = quota_user unless quota_user.nil?
21131
21169
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -22698,6 +22736,8 @@ module Google
22698
22736
  # Project ID for this request.
22699
22737
  # @param [String] resource
22700
22738
  # Name or id of the resource for this request.
22739
+ # @param [Fixnum] options_requested_policy_version
22740
+ # Requested IAM Policy version.
22701
22741
  # @param [String] fields
22702
22742
  # Selector specifying which fields to include in a partial response.
22703
22743
  # @param [String] quota_user
@@ -22717,12 +22757,13 @@ module Google
22717
22757
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22718
22758
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22719
22759
  # @raise [Google::Apis::AuthorizationError] Authorization is required
22720
- def get_snapshot_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22760
+ def get_snapshot_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22721
22761
  command = make_simple_command(:get, '{project}/global/snapshots/{resource}/getIamPolicy', options)
22722
22762
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
22723
22763
  command.response_class = Google::Apis::ComputeV1::Policy
22724
22764
  command.params['project'] = project unless project.nil?
22725
22765
  command.params['resource'] = resource unless resource.nil?
22766
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
22726
22767
  command.query['fields'] = fields unless fields.nil?
22727
22768
  command.query['quotaUser'] = quota_user unless quota_user.nil?
22728
22769
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -23769,6 +23810,8 @@ module Google
23769
23810
  # The name of the region for this request.
23770
23811
  # @param [String] resource
23771
23812
  # Name or id of the resource for this request.
23813
+ # @param [Fixnum] options_requested_policy_version
23814
+ # Requested IAM Policy version.
23772
23815
  # @param [String] fields
23773
23816
  # Selector specifying which fields to include in a partial response.
23774
23817
  # @param [String] quota_user
@@ -23788,13 +23831,14 @@ module Google
23788
23831
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23789
23832
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23790
23833
  # @raise [Google::Apis::AuthorizationError] Authorization is required
23791
- def get_subnetwork_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23834
+ def get_subnetwork_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23792
23835
  command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options)
23793
23836
  command.response_representation = Google::Apis::ComputeV1::Policy::Representation
23794
23837
  command.response_class = Google::Apis::ComputeV1::Policy
23795
23838
  command.params['project'] = project unless project.nil?
23796
23839
  command.params['region'] = region unless region.nil?
23797
23840
  command.params['resource'] = resource unless resource.nil?
23841
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
23798
23842
  command.query['fields'] = fields unless fields.nil?
23799
23843
  command.query['quotaUser'] = quota_user unless quota_user.nil?
23800
23844
  command.query['userIp'] = user_ip unless user_ip.nil?