google-api-client 0.39.3 → 0.40.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (416) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +242 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/admob_v1.rb +1 -1
  6. data/generated/google/apis/admob_v1/classes.rb +5 -6
  7. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  10. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  11. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  12. data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
  13. data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
  14. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  15. data/generated/google/apis/apigee_v1.rb +1 -1
  16. data/generated/google/apis/apigee_v1/classes.rb +58 -10
  17. data/generated/google/apis/apigee_v1/representations.rb +7 -0
  18. data/generated/google/apis/apigee_v1/service.rb +24 -14
  19. data/generated/google/apis/appsmarket_v2.rb +3 -3
  20. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  21. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  22. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  23. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  24. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1123 -0
  25. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +441 -0
  26. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  27. data/generated/google/apis/bigquery_v2.rb +1 -1
  28. data/generated/google/apis/bigquery_v2/classes.rb +54 -1
  29. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  30. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  31. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  32. data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
  33. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  34. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
  35. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  36. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  39. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  40. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  41. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  42. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  43. data/generated/google/apis/books_v1.rb +1 -1
  44. data/generated/google/apis/books_v1/service.rb +2 -2
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  47. data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
  48. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  49. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  50. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  51. data/generated/google/apis/cloudasset_v1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1/classes.rb +70 -43
  53. data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
  54. data/generated/google/apis/cloudasset_v1/service.rb +14 -11
  55. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudasset_v1beta1/classes.rb +29 -16
  57. data/generated/google/apis/cloudasset_v1beta1/service.rb +16 -7
  58. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  59. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
  60. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  61. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  62. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
  64. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
  67. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  68. data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
  69. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  70. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
  72. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  73. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  74. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
  75. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
  76. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  77. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  79. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  82. data/generated/google/apis/cloudkms_v1.rb +1 -1
  83. data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
  84. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  85. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
  87. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
  88. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
  90. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  91. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  93. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  95. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  96. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  97. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  98. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  99. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
  100. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
  102. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  103. data/generated/google/apis/composer_v1beta1.rb +1 -1
  104. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  105. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  106. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  107. data/generated/google/apis/compute_alpha.rb +1 -1
  108. data/generated/google/apis/compute_alpha/classes.rb +318 -166
  109. data/generated/google/apis/compute_alpha/representations.rb +80 -33
  110. data/generated/google/apis/compute_alpha/service.rb +194 -0
  111. data/generated/google/apis/compute_beta.rb +1 -1
  112. data/generated/google/apis/compute_beta/classes.rb +237 -83
  113. data/generated/google/apis/compute_beta/representations.rb +52 -0
  114. data/generated/google/apis/compute_v1.rb +1 -1
  115. data/generated/google/apis/compute_v1/classes.rb +155 -58
  116. data/generated/google/apis/compute_v1/representations.rb +21 -0
  117. data/generated/google/apis/compute_v1/service.rb +83 -0
  118. data/generated/google/apis/container_v1.rb +1 -1
  119. data/generated/google/apis/container_v1/classes.rb +2 -4
  120. data/generated/google/apis/container_v1beta1.rb +1 -1
  121. data/generated/google/apis/container_v1beta1/classes.rb +62 -4
  122. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  123. data/generated/google/apis/content_v2.rb +1 -1
  124. data/generated/google/apis/content_v2/classes.rb +34 -0
  125. data/generated/google/apis/content_v2/representations.rb +16 -0
  126. data/generated/google/apis/content_v2/service.rb +5 -1
  127. data/generated/google/apis/content_v2_1.rb +1 -1
  128. data/generated/google/apis/content_v2_1/classes.rb +363 -5
  129. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  130. data/generated/google/apis/content_v2_1/service.rb +85 -1
  131. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  132. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  133. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  134. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  135. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  136. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  137. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  138. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  139. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  140. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  141. data/generated/google/apis/dataproc_v1.rb +1 -1
  142. data/generated/google/apis/dataproc_v1/classes.rb +22 -22
  143. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  144. data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
  145. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  146. data/generated/google/apis/datastore_v1.rb +1 -1
  147. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  148. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  149. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  150. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  151. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  152. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  153. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  154. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  155. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  156. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  157. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  158. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  159. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  160. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  161. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  167. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  168. data/generated/google/apis/dialogflow_v2.rb +1 -1
  169. data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
  170. data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
  171. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  172. data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
  173. data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  175. data/generated/google/apis/displayvideo_v1.rb +1 -1
  176. data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
  177. data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
  178. data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
  179. data/generated/google/apis/dlp_v2.rb +1 -1
  180. data/generated/google/apis/dlp_v2/classes.rb +17 -27
  181. data/generated/google/apis/dlp_v2/service.rb +247 -204
  182. data/generated/google/apis/dns_v1.rb +1 -1
  183. data/generated/google/apis/dns_v1/classes.rb +160 -261
  184. data/generated/google/apis/dns_v1/representations.rb +17 -0
  185. data/generated/google/apis/dns_v1/service.rb +21 -141
  186. data/generated/google/apis/dns_v1beta2.rb +1 -1
  187. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  188. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  189. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  190. data/generated/google/apis/dns_v2beta1.rb +1 -1
  191. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  192. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  193. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  194. data/generated/google/apis/fcm_v1.rb +1 -1
  195. data/generated/google/apis/file_v1.rb +1 -1
  196. data/generated/google/apis/file_v1/classes.rb +31 -0
  197. data/generated/google/apis/file_v1/representations.rb +15 -0
  198. data/generated/google/apis/file_v1beta1.rb +1 -1
  199. data/generated/google/apis/file_v1beta1/classes.rb +98 -0
  200. data/generated/google/apis/file_v1beta1/representations.rb +34 -0
  201. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  202. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  203. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  204. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  205. data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
  206. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  207. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  208. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  209. data/generated/google/apis/fitness_v1.rb +4 -4
  210. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  211. data/generated/google/apis/fitness_v1/service.rb +187 -215
  212. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  213. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  214. data/generated/google/apis/games_management_v1management.rb +1 -1
  215. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  216. data/generated/google/apis/games_v1.rb +1 -1
  217. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  218. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  219. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  220. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  221. data/generated/google/apis/gmail_v1.rb +3 -2
  222. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  223. data/generated/google/apis/gmail_v1/service.rb +551 -743
  224. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  225. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  226. data/generated/google/apis/healthcare_v1.rb +1 -1
  227. data/generated/google/apis/healthcare_v1/classes.rb +39 -30
  228. data/generated/google/apis/healthcare_v1/service.rb +64 -32
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +41 -37
  231. data/generated/google/apis/healthcare_v1beta1/service.rb +165 -147
  232. data/generated/google/apis/homegraph_v1.rb +1 -1
  233. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  234. data/generated/google/apis/iam_v1.rb +1 -1
  235. data/generated/google/apis/iam_v1/classes.rb +111 -93
  236. data/generated/google/apis/iam_v1/service.rb +166 -144
  237. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  238. data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
  239. data/generated/google/apis/jobs_v3.rb +1 -1
  240. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  241. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  242. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  243. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  244. data/generated/google/apis/memcache_v1beta2/classes.rb +66 -23
  245. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  246. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  247. data/generated/google/apis/ml_v1.rb +1 -1
  248. data/generated/google/apis/ml_v1/classes.rb +84 -18
  249. data/generated/google/apis/ml_v1/representations.rb +4 -0
  250. data/generated/google/apis/ml_v1/service.rb +11 -6
  251. data/generated/google/apis/monitoring_v1.rb +1 -1
  252. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  253. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  254. data/generated/google/apis/monitoring_v3.rb +1 -1
  255. data/generated/google/apis/monitoring_v3/classes.rb +17 -0
  256. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  257. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  258. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  259. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  260. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  261. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  262. data/generated/google/apis/osconfig_v1.rb +1 -1
  263. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  264. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  265. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  266. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  267. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  268. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  269. data/generated/google/apis/people_v1.rb +1 -1
  270. data/generated/google/apis/people_v1/classes.rb +216 -0
  271. data/generated/google/apis/people_v1/representations.rb +82 -0
  272. data/generated/google/apis/people_v1/service.rb +371 -9
  273. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  274. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  275. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  276. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  277. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  278. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  279. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  280. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  281. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  282. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  283. data/generated/google/apis/pubsub_v1.rb +1 -1
  284. data/generated/google/apis/pubsub_v1/classes.rb +70 -15
  285. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  286. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  287. data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
  288. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  289. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  290. data/generated/google/apis/recommender_v1/service.rb +266 -0
  291. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  292. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  293. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  294. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  295. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  296. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  297. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  298. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  299. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  300. data/generated/google/apis/run_v1.rb +1 -1
  301. data/generated/google/apis/run_v1/classes.rb +9 -0
  302. data/generated/google/apis/run_v1/representations.rb +1 -0
  303. data/generated/google/apis/run_v1alpha1.rb +1 -1
  304. data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
  305. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  306. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  307. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  308. data/generated/google/apis/secretmanager_v1.rb +1 -1
  309. data/generated/google/apis/secretmanager_v1/classes.rb +32 -19
  310. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  311. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  312. data/generated/google/apis/secretmanager_v1beta1/classes.rb +29 -16
  313. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  314. data/generated/google/apis/securitycenter_v1.rb +1 -1
  315. data/generated/google/apis/securitycenter_v1/classes.rb +133 -18
  316. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  317. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  318. data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
  319. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  320. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  321. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  322. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  323. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  324. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +133 -18
  325. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  326. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  327. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +205 -75
  328. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -2
  329. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  330. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +211 -75
  331. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +33 -2
  332. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  333. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
  334. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  335. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -43
  336. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
  337. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  338. data/generated/google/apis/servicenetworking_v1/classes.rb +488 -75
  339. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
  340. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  341. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  342. data/generated/google/apis/servicenetworking_v1beta/classes.rb +297 -75
  343. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
  344. data/generated/google/apis/serviceusage_v1.rb +1 -1
  345. data/generated/google/apis/serviceusage_v1/classes.rb +197 -75
  346. data/generated/google/apis/serviceusage_v1/representations.rb +32 -2
  347. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  348. data/generated/google/apis/serviceusage_v1beta1/classes.rb +203 -75
  349. data/generated/google/apis/serviceusage_v1beta1/representations.rb +33 -2
  350. data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
  351. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  352. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  353. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  354. data/generated/google/apis/spanner_v1.rb +1 -1
  355. data/generated/google/apis/spanner_v1/classes.rb +30 -12
  356. data/generated/google/apis/spanner_v1/service.rb +8 -8
  357. data/generated/google/apis/sql_v1beta4.rb +1 -1
  358. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  359. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  360. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  361. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  362. data/generated/google/apis/tasks_v1.rb +3 -3
  363. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  364. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  365. data/generated/google/apis/tasks_v1/service.rb +79 -128
  366. data/generated/google/apis/testing_v1.rb +1 -1
  367. data/generated/google/apis/testing_v1/classes.rb +2 -1
  368. data/generated/google/apis/texttospeech_v1.rb +1 -1
  369. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  370. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  371. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  372. data/generated/google/apis/tpu_v1.rb +1 -1
  373. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  374. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  375. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  376. data/generated/google/apis/translate_v3.rb +1 -1
  377. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  378. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  379. data/generated/google/apis/videointelligence_v1.rb +1 -1
  380. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  381. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  382. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  383. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  384. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  385. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  386. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  387. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  388. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  389. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  390. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  391. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  392. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  393. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  394. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  395. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  396. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  397. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  398. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  399. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  400. data/generated/google/apis/youtube_v3.rb +5 -5
  401. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  402. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  403. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  404. data/lib/google/apis/core/api_command.rb +12 -7
  405. data/lib/google/apis/options.rb +5 -1
  406. data/lib/google/apis/version.rb +1 -1
  407. metadata +23 -15
  408. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  409. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  410. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  411. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  412. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  413. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  414. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  415. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  416. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -1157,6 +1157,14 @@ module Google
1157
1157
  # @return [String]
1158
1158
  attr_accessor :state
1159
1159
 
1160
+ # Immutable. The type of a queue (push or pull).
1161
+ # `Queue.type` is an immutable property of the queue that is set at the queue
1162
+ # creation time. When left unspecified, the default value of `PUSH` is
1163
+ # selected.
1164
+ # Corresponds to the JSON property `type`
1165
+ # @return [String]
1166
+ attr_accessor :type
1167
+
1160
1168
  def initialize(**args)
1161
1169
  update!(**args)
1162
1170
  end
@@ -1170,6 +1178,7 @@ module Google
1170
1178
  @retry_config = args[:retry_config] if args.key?(:retry_config)
1171
1179
  @stackdriver_logging_config = args[:stackdriver_logging_config] if args.key?(:stackdriver_logging_config)
1172
1180
  @state = args[:state] if args.key?(:state)
1181
+ @type = args[:type] if args.key?(:type)
1173
1182
  end
1174
1183
  end
1175
1184
 
@@ -1625,8 +1634,8 @@ module Google
1625
1634
  # respond by this deadline then the request is cancelled and the attempt
1626
1635
  # is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
1627
1636
  # task according to the RetryConfig.
1628
- # Note that when the request is cancelled, Cloud Tasks will stop listing for
1629
- # the response, but whether the worker stops processing depends on the
1637
+ # Note that when the request is cancelled, Cloud Tasks will stop listening
1638
+ # for the response, but whether the worker stops processing depends on the
1630
1639
  # worker. For example, if the worker is stuck, it may not react to cancelled
1631
1640
  # requests.
1632
1641
  # The default and maximum values depend on the type of request:
@@ -403,6 +403,7 @@ module Google
403
403
  property :stackdriver_logging_config, as: 'stackdriverLoggingConfig', class: Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig, decorator: Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig::Representation
404
404
 
405
405
  property :state, as: 'state'
406
+ property :type, as: 'type'
406
407
  end
407
408
  end
408
409
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/composer/
26
26
  module ComposerV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200421'
28
+ REVISION = '20200505'
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'
@@ -53,6 +53,27 @@ module Google
53
53
  end
54
54
  end
55
55
 
56
+ # The configuration of Cloud SQL instance that is used by the Apache Airflow
57
+ # software.
58
+ class DatabaseConfig
59
+ include Google::Apis::Core::Hashable
60
+
61
+ # Optional. Cloud SQL tier used by Airflow database.
62
+ # If not specified, db-n1-standard-2 will be used.
63
+ # Corresponds to the JSON property `machineType`
64
+ # @return [String]
65
+ attr_accessor :machine_type
66
+
67
+ def initialize(**args)
68
+ update!(**args)
69
+ end
70
+
71
+ # Update properties of this object
72
+ def update!(**args)
73
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
74
+ end
75
+ end
76
+
56
77
  # A generic empty message that you can re-use to avoid defining duplicated
57
78
  # empty messages in your APIs. A typical example is to use it as the request
58
79
  # or the response type of an API method. For instance:
@@ -159,6 +180,12 @@ module Google
159
180
  # @return [String]
160
181
  attr_accessor :dag_gcs_prefix
161
182
 
183
+ # The configuration of Cloud SQL instance that is used by the Apache Airflow
184
+ # software.
185
+ # Corresponds to the JSON property `databaseConfig`
186
+ # @return [Google::Apis::ComposerV1beta1::DatabaseConfig]
187
+ attr_accessor :database_config
188
+
162
189
  # Output only. The Kubernetes Engine cluster used to run this environment.
163
190
  # Corresponds to the JSON property `gkeCluster`
164
191
  # @return [String]
@@ -187,6 +214,11 @@ module Google
187
214
  # @return [Google::Apis::ComposerV1beta1::SoftwareConfig]
188
215
  attr_accessor :software_config
189
216
 
217
+ # The configuration settings for the Airflow web server App Engine instance.
218
+ # Corresponds to the JSON property `webServerConfig`
219
+ # @return [Google::Apis::ComposerV1beta1::WebServerConfig]
220
+ attr_accessor :web_server_config
221
+
190
222
  # Network-level access control policy for the Airflow web server.
191
223
  # Corresponds to the JSON property `webServerNetworkAccessControl`
192
224
  # @return [Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl]
@@ -200,11 +232,13 @@ module Google
200
232
  def update!(**args)
201
233
  @airflow_uri = args[:airflow_uri] if args.key?(:airflow_uri)
202
234
  @dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix)
235
+ @database_config = args[:database_config] if args.key?(:database_config)
203
236
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
204
237
  @node_config = args[:node_config] if args.key?(:node_config)
205
238
  @node_count = args[:node_count] if args.key?(:node_count)
206
239
  @private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
207
240
  @software_config = args[:software_config] if args.key?(:software_config)
241
+ @web_server_config = args[:web_server_config] if args.key?(:web_server_config)
208
242
  @web_server_network_access_control = args[:web_server_network_access_control] if args.key?(:web_server_network_access_control)
209
243
  end
210
244
  end
@@ -863,6 +897,30 @@ module Google
863
897
  end
864
898
  end
865
899
 
900
+ # The configuration settings for the Airflow web server App Engine instance.
901
+ class WebServerConfig
902
+ include Google::Apis::Core::Hashable
903
+
904
+ # Optional. Machine type on which Airflow web server is running.
905
+ # For example: composer-n1-webserver-2, composer-n1-webserver-4,
906
+ # composer-n1-webserver-8.
907
+ # If not specified, composer-n1-webserver-2 will be used.
908
+ # Value custom is returned only in response, if Airflow web server parameters
909
+ # were manually changed to a non-standard values.
910
+ # Corresponds to the JSON property `machineType`
911
+ # @return [String]
912
+ attr_accessor :machine_type
913
+
914
+ def initialize(**args)
915
+ update!(**args)
916
+ end
917
+
918
+ # Update properties of this object
919
+ def update!(**args)
920
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
921
+ end
922
+ end
923
+
866
924
  # Network-level access control policy for the Airflow web server.
867
925
  class WebServerNetworkAccessControl
868
926
  include Google::Apis::Core::Hashable
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class DatabaseConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class Empty
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -118,6 +124,12 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class WebServerConfig
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
121
133
  class WebServerNetworkAccessControl
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
135
 
@@ -132,6 +144,13 @@ module Google
132
144
  end
133
145
  end
134
146
 
147
+ class DatabaseConfig
148
+ # @private
149
+ class Representation < Google::Apis::Core::JsonRepresentation
150
+ property :machine_type, as: 'machineType'
151
+ end
152
+ end
153
+
135
154
  class Empty
136
155
  # @private
137
156
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -157,6 +176,8 @@ module Google
157
176
  class Representation < Google::Apis::Core::JsonRepresentation
158
177
  property :airflow_uri, as: 'airflowUri'
159
178
  property :dag_gcs_prefix, as: 'dagGcsPrefix'
179
+ property :database_config, as: 'databaseConfig', class: Google::Apis::ComposerV1beta1::DatabaseConfig, decorator: Google::Apis::ComposerV1beta1::DatabaseConfig::Representation
180
+
160
181
  property :gke_cluster, as: 'gkeCluster'
161
182
  property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1beta1::NodeConfig, decorator: Google::Apis::ComposerV1beta1::NodeConfig::Representation
162
183
 
@@ -165,6 +186,8 @@ module Google
165
186
 
166
187
  property :software_config, as: 'softwareConfig', class: Google::Apis::ComposerV1beta1::SoftwareConfig, decorator: Google::Apis::ComposerV1beta1::SoftwareConfig::Representation
167
188
 
189
+ property :web_server_config, as: 'webServerConfig', class: Google::Apis::ComposerV1beta1::WebServerConfig, decorator: Google::Apis::ComposerV1beta1::WebServerConfig::Representation
190
+
168
191
  property :web_server_network_access_control, as: 'webServerNetworkAccessControl', class: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl, decorator: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl::Representation
169
192
 
170
193
  end
@@ -298,6 +321,13 @@ module Google
298
321
  end
299
322
  end
300
323
 
324
+ class WebServerConfig
325
+ # @private
326
+ class Representation < Google::Apis::Core::JsonRepresentation
327
+ property :machine_type, as: 'machineType'
328
+ end
329
+ end
330
+
301
331
  class WebServerNetworkAccessControl
302
332
  # @private
303
333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -283,6 +283,11 @@ module Google
283
283
  # </td>
284
284
  # </tr>
285
285
  # <tr>
286
+ # <td>config.webServerNetworkAccessControl</td>
287
+ # <td>Replace the environment's current WebServerNetworkAccessControl.
288
+ # </td>
289
+ # </tr>
290
+ # <tr>
286
291
  # <td>config.softwareConfig.airflowConfigOverrides</td>
287
292
  # <td>Replace all Apache Airflow config overrides. If a replacement config
288
293
  # overrides map is not included in `environment`, all config overrides
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeAlpha
27
27
  VERSION = 'Alpha'
28
- REVISION = '20200331'
28
+ REVISION = '20200515'
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'
@@ -1150,8 +1150,9 @@ module Google
1150
1150
  # @return [String]
1151
1151
  attr_accessor :location_hint
1152
1152
 
1153
- # Compute Engine Long Term Release. When specified, VMs that have this policy
1154
- # become long term release (internal: stable fleet) VMs.
1153
+ # DEPRECATED, please use maintenance_freeze_duration_hours. TODO(b/154158138):
1154
+ # Remove this field. Compute Engine Long Term Release. When specified, VMs that
1155
+ # have this policy become long term release (internal: stable fleet) VMs.
1155
1156
  # For all VM shapes, this should result in fewer disruptions due to software
1156
1157
  # updates and greater predictability via 1 week extended notifications.
1157
1158
  # For GPU VMs, this should also result in an 2 week uptime guarantee. See go/
@@ -1168,6 +1169,12 @@ module Google
1168
1169
  # @return [String]
1169
1170
  attr_accessor :machine_type
1170
1171
 
1172
+ # Specifies the number of hours after reservation creation where instances using
1173
+ # the reservation won't be scheduled for maintenance.
1174
+ # Corresponds to the JSON property `maintenanceFreezeDurationHours`
1175
+ # @return [Fixnum]
1176
+ attr_accessor :maintenance_freeze_duration_hours
1177
+
1171
1178
  # Minimum cpu platform the reservation.
1172
1179
  # Corresponds to the JSON property `minCpuPlatform`
1173
1180
  # @return [String]
@@ -1184,6 +1191,7 @@ module Google
1184
1191
  @location_hint = args[:location_hint] if args.key?(:location_hint)
1185
1192
  @long_term_release = args[:long_term_release] if args.key?(:long_term_release)
1186
1193
  @machine_type = args[:machine_type] if args.key?(:machine_type)
1194
+ @maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
1187
1195
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1188
1196
  end
1189
1197
  end
@@ -1424,6 +1432,13 @@ module Google
1424
1432
  # @return [Hash<String,String>]
1425
1433
  attr_accessor :labels
1426
1434
 
1435
+ # Indicates whether or not the disk can be read/write attached to more than one
1436
+ # instance.
1437
+ # Corresponds to the JSON property `multiWriter`
1438
+ # @return [Boolean]
1439
+ attr_accessor :multi_writer
1440
+ alias_method :multi_writer?, :multi_writer
1441
+
1427
1442
  # Specifies which action to take on instance update with this disk. Default is
1428
1443
  # to use the existing disk.
1429
1444
  # Corresponds to the JSON property `onUpdateAction`
@@ -1497,6 +1512,7 @@ module Google
1497
1512
  @disk_type = args[:disk_type] if args.key?(:disk_type)
1498
1513
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
1499
1514
  @labels = args[:labels] if args.key?(:labels)
1515
+ @multi_writer = args[:multi_writer] if args.key?(:multi_writer)
1500
1516
  @on_update_action = args[:on_update_action] if args.key?(:on_update_action)
1501
1517
  @replica_zones = args[:replica_zones] if args.key?(:replica_zones)
1502
1518
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@@ -2260,11 +2276,6 @@ module Google
2260
2276
  # @return [String]
2261
2277
  attr_accessor :mode
2262
2278
 
2263
- # Configuration parameters of autoscaling based on queuing system.
2264
- # Corresponds to the JSON property `queueBasedScaling`
2265
- # @return [Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScaling]
2266
- attr_accessor :queue_based_scaling
2267
-
2268
2279
  # Configuration that allows for slower scale down so that even if Autoscaler
2269
2280
  # recommends an abrupt scale down of a MIG, it will be throttled as specified by
2270
2281
  # the parameters below.
@@ -2292,7 +2303,6 @@ module Google
2292
2303
  @max_num_replicas = args[:max_num_replicas] if args.key?(:max_num_replicas)
2293
2304
  @min_num_replicas = args[:min_num_replicas] if args.key?(:min_num_replicas)
2294
2305
  @mode = args[:mode] if args.key?(:mode)
2295
- @queue_based_scaling = args[:queue_based_scaling] if args.key?(:queue_based_scaling)
2296
2306
  @scale_down_control = args[:scale_down_control] if args.key?(:scale_down_control)
2297
2307
  @scale_in_control = args[:scale_in_control] if args.key?(:scale_in_control)
2298
2308
  end
@@ -2444,74 +2454,6 @@ module Google
2444
2454
  end
2445
2455
  end
2446
2456
 
2447
- # Configuration parameters of autoscaling based on queuing system.
2448
- class AutoscalingPolicyQueueBasedScaling
2449
- include Google::Apis::Core::Hashable
2450
-
2451
- # Scaling based on the average number of tasks in the queue per each active
2452
- # instance. The autoscaler keeps the average number of tasks per instance below
2453
- # this number, based on data collected in the last couple of minutes. The
2454
- # autoscaler will also take into account incoming tasks when calculating when to
2455
- # scale.
2456
- # Corresponds to the JSON property `acceptableBacklogPerInstance`
2457
- # @return [Float]
2458
- attr_accessor :acceptable_backlog_per_instance
2459
-
2460
- # Configuration parameters for scaling based on Cloud Pub/Sub subscription queue.
2461
- # Corresponds to the JSON property `cloudPubSub`
2462
- # @return [Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScalingCloudPubSub]
2463
- attr_accessor :cloud_pub_sub
2464
-
2465
- # The scaling algorithm will also calculate throughput estimates on its own; if
2466
- # you explicitly provide this value, the autoscaler will take into account your
2467
- # value as well as automatic estimates when deciding how to scale.
2468
- # Corresponds to the JSON property `singleWorkerThroughputPerSec`
2469
- # @return [Float]
2470
- attr_accessor :single_worker_throughput_per_sec
2471
-
2472
- def initialize(**args)
2473
- update!(**args)
2474
- end
2475
-
2476
- # Update properties of this object
2477
- def update!(**args)
2478
- @acceptable_backlog_per_instance = args[:acceptable_backlog_per_instance] if args.key?(:acceptable_backlog_per_instance)
2479
- @cloud_pub_sub = args[:cloud_pub_sub] if args.key?(:cloud_pub_sub)
2480
- @single_worker_throughput_per_sec = args[:single_worker_throughput_per_sec] if args.key?(:single_worker_throughput_per_sec)
2481
- end
2482
- end
2483
-
2484
- # Configuration parameters for scaling based on Cloud Pub/Sub subscription queue.
2485
- class AutoscalingPolicyQueueBasedScalingCloudPubSub
2486
- include Google::Apis::Core::Hashable
2487
-
2488
- # Cloud Pub/Sub subscription used for scaling. Provide the partial URL (starting
2489
- # with projects/) or just the subscription name. The subscription must be
2490
- # assigned to the topic specified in topicName and must be in a pull
2491
- # configuration. The subscription must belong to the same project as the
2492
- # Autoscaler.
2493
- # Corresponds to the JSON property `subscription`
2494
- # @return [String]
2495
- attr_accessor :subscription
2496
-
2497
- # Cloud Pub/Sub topic used for scaling. Provide the partial URL or partial URL (
2498
- # starting with projects/) or just the topic name. The topic must belong to the
2499
- # same project as the Autoscaler resource.
2500
- # Corresponds to the JSON property `topic`
2501
- # @return [String]
2502
- attr_accessor :topic
2503
-
2504
- def initialize(**args)
2505
- update!(**args)
2506
- end
2507
-
2508
- # Update properties of this object
2509
- def update!(**args)
2510
- @subscription = args[:subscription] if args.key?(:subscription)
2511
- @topic = args[:topic] if args.key?(:topic)
2512
- end
2513
- end
2514
-
2515
2457
  # Configuration that allows for slower scale down so that even if Autoscaler
2516
2458
  # recommends an abrupt scale down of a MIG, it will be throttled as specified by
2517
2459
  # the parameters below.
@@ -3182,7 +3124,7 @@ module Google
3182
3124
  # and the backends are instance groups. The named port must be defined on each
3183
3125
  # backend instance group. This parameter has no meaning if the backends are NEGs.
3184
3126
  # Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP
3185
- # Load Blaancing).
3127
+ # Load Balancing).
3186
3128
  # Corresponds to the JSON property `portName`
3187
3129
  # @return [String]
3188
3130
  attr_accessor :port_name
@@ -4230,11 +4172,6 @@ module Google
4230
4172
  # @return [Fixnum]
4231
4173
  attr_accessor :count
4232
4174
 
4233
- # List of zones to exclude for regional requests.
4234
- # Corresponds to the JSON property `excludedZones`
4235
- # @return [Array<String>]
4236
- attr_accessor :excluded_zones
4237
-
4238
4175
  # Represents an Instance resource.
4239
4176
  # An instance is a virtual machine that is hosted on Google Cloud Platform. For
4240
4177
  # more information, read Virtual Machine Instances. (== resource_for `$
@@ -4273,7 +4210,6 @@ module Google
4273
4210
  # Update properties of this object
4274
4211
  def update!(**args)
4275
4212
  @count = args[:count] if args.key?(:count)
4276
- @excluded_zones = args[:excluded_zones] if args.key?(:excluded_zones)
4277
4213
  @instance = args[:instance] if args.key?(:instance)
4278
4214
  @min_count = args[:min_count] if args.key?(:min_count)
4279
4215
  @predefined_names = args[:predefined_names] if args.key?(:predefined_names)
@@ -5191,13 +5127,15 @@ module Google
5191
5127
  # Specifies the regualar expression patterns that match allowed origins. For
5192
5128
  # regular expression grammar please see en.cppreference.com/w/cpp/regex/
5193
5129
  # ecmascript
5194
- # An origin is allowed if it matches either allow_origins or allow_origin_regex.
5130
+ # An origin is allowed if it matches either an item in allowOrigins or an item
5131
+ # in allowOriginRegexes.
5195
5132
  # Corresponds to the JSON property `allowOriginRegexes`
5196
5133
  # @return [Array<String>]
5197
5134
  attr_accessor :allow_origin_regexes
5198
5135
 
5199
5136
  # Specifies the list of origins that will be allowed to do CORS requests.
5200
- # An origin is allowed if it matches either allow_origins or allow_origin_regex.
5137
+ # An origin is allowed if it matches either an item in allowOrigins or an item
5138
+ # in allowOriginRegexes.
5201
5139
  # Corresponds to the JSON property `allowOrigins`
5202
5140
  # @return [Array<String>]
5203
5141
  attr_accessor :allow_origins
@@ -5423,6 +5361,12 @@ module Google
5423
5361
  # @return [Fixnum]
5424
5362
  attr_accessor :id
5425
5363
 
5364
+ # Specifies the disk interface to use for attaching this disk, which is either
5365
+ # SCSI or NVME. The default is SCSI.
5366
+ # Corresponds to the JSON property `interface`
5367
+ # @return [String]
5368
+ attr_accessor :interface
5369
+
5426
5370
  # [Output Only] Type of the resource. Always compute#disk for disks.
5427
5371
  # Corresponds to the JSON property `kind`
5428
5372
  # @return [String]
@@ -5489,9 +5433,9 @@ module Google
5489
5433
  attr_accessor :options
5490
5434
 
5491
5435
  # Physical block size of the persistent disk, in bytes. If not present in a
5492
- # request, a default value is used. Currently supported sizes are 4096 and 16384,
5493
- # other sizes may be added in the future. If an unsupported value is requested,
5494
- # the error message will list the supported values for the caller's project.
5436
+ # request, a default value is used. The currently supported size is 4096, other
5437
+ # sizes may be added in the future. If an unsupported value is requested, the
5438
+ # error message will list the supported values for the caller's project.
5495
5439
  # Corresponds to the JSON property `physicalBlockSizeBytes`
5496
5440
  # @return [Fixnum]
5497
5441
  attr_accessor :physical_block_size_bytes
@@ -5653,7 +5597,7 @@ module Google
5653
5597
 
5654
5598
  # URL of the disk type resource describing which disk type to use to create the
5655
5599
  # disk. Provide this when creating the disk. For example: projects/project/zones/
5656
- # zone/diskTypes/pd-standard or pd-ssd
5600
+ # zone/diskTypes/pd-standard or pd-ssd
5657
5601
  # Corresponds to the JSON property `type`
5658
5602
  # @return [String]
5659
5603
  attr_accessor :type
@@ -5683,6 +5627,7 @@ module Google
5683
5627
  @erase_windows_vss_signature = args[:erase_windows_vss_signature] if args.key?(:erase_windows_vss_signature)
5684
5628
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
5685
5629
  @id = args[:id] if args.key?(:id)
5630
+ @interface = args[:interface] if args.key?(:interface)
5686
5631
  @kind = args[:kind] if args.key?(:kind)
5687
5632
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
5688
5633
  @labels = args[:labels] if args.key?(:labels)
@@ -6955,12 +6900,15 @@ module Google
6955
6900
  end
6956
6901
  end
6957
6902
 
6903
+ # Represents an external VPN gateway.
6958
6904
  # External VPN gateway is the on-premises VPN gateway(s) or another cloud
6959
- # provider's VPN gateway that connects to your Google Cloud VPN gateway. To
6960
- # create a highly available VPN from Google Cloud to your on-premises side or
6961
- # another Cloud provider's VPN gateway, you must create a external VPN gateway
6962
- # resource in GCP, which provides the information to GCP about your external VPN
6963
- # gateway.
6905
+ # provider's VPN gateway that connects to your Google Cloud VPN gateway.
6906
+ # To create a highly available VPN from Google Cloud Platform to your VPN
6907
+ # gateway or another cloud provider's VPN gateway, you must create a external
6908
+ # VPN gateway resource with information about the other gateway.
6909
+ # For more information about using external VPN gateways, see Creating an HA
6910
+ # VPN gateway and tunnel pair to a peer VPN. (== resource_for `$api_version`.
6911
+ # externalVpnGateways ==)
6964
6912
  class ExternalVpnGateway
6965
6913
  include Google::Apis::Core::Hashable
6966
6914
 
@@ -7216,7 +7164,7 @@ module Google
7216
7164
  # @return [String]
7217
7165
  attr_accessor :content
7218
7166
 
7219
- #
7167
+ # The file type of source file.
7220
7168
  # Corresponds to the JSON property `fileType`
7221
7169
  # @return [String]
7222
7170
  attr_accessor :file_type
@@ -8437,6 +8385,25 @@ module Google
8437
8385
  end
8438
8386
  end
8439
8387
 
8388
+ #
8389
+ class GetOwnerInstanceResponse
8390
+ include Google::Apis::Core::Hashable
8391
+
8392
+ # Full instance resource URL.
8393
+ # Corresponds to the JSON property `instance`
8394
+ # @return [String]
8395
+ attr_accessor :instance
8396
+
8397
+ def initialize(**args)
8398
+ update!(**args)
8399
+ end
8400
+
8401
+ # Update properties of this object
8402
+ def update!(**args)
8403
+ @instance = args[:instance] if args.key?(:instance)
8404
+ end
8405
+ end
8406
+
8440
8407
  #
8441
8408
  class GlobalNetworkEndpointGroupsAttachEndpointsRequest
8442
8409
  include Google::Apis::Core::Hashable
@@ -8536,16 +8503,18 @@ module Google
8536
8503
  # Google groups, and domains (such as G Suite). A `role` is a named list of
8537
8504
  # permissions; each `role` can be an IAM predefined role or a user-created
8538
8505
  # custom role.
8539
- # Optionally, a `binding` can specify a `condition`, which is a logical
8540
- # expression that allows access to a resource only if the expression evaluates
8541
- # to `true`. A condition can add constraints based on attributes of the request,
8542
- # the resource, or both.
8506
+ # For some types of Google Cloud resources, a `binding` can also specify a `
8507
+ # condition`, which is a logical expression that allows access to a resource
8508
+ # only if the expression evaluates to `true`. A condition can add constraints
8509
+ # based on attributes of the request, the resource, or both. To learn which
8510
+ # resources support conditions in their IAM policies, see the [IAM documentation]
8511
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
8543
8512
  # **JSON example:**
8544
8513
  # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
8545
8514
  # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
8546
8515
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
8547
- # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
8548
- # "condition": ` "title": "expirable access", "description": "Does not grant
8516
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
8517
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
8549
8518
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
8550
8519
  # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
8551
8520
  # **YAML example:**
@@ -9263,9 +9232,8 @@ module Google
9263
9232
  end
9264
9233
  end
9265
9234
 
9266
- # A HealthCheckService defines a set of backends on which to perform periodic
9267
- # health checks and an endpoint to which to send notification of changes in the
9268
- # health status of the backends.
9235
+ # Represents a Health-Check as a Service resource.
9236
+ # (== resource_for `$api_version`.regionHealthCheckServices ==)
9269
9237
  class HealthCheckService
9270
9238
  include Google::Apis::Core::Hashable
9271
9239
 
@@ -9313,6 +9281,7 @@ module Google
9313
9281
  # @return [String]
9314
9282
  attr_accessor :health_status_aggregation_policy
9315
9283
 
9284
+ # This field is deprecated. Use health_status_aggregation_policy instead.
9316
9285
  # Policy for how the results from multiple health checks for the same endpoint
9317
9286
  # are aggregated.
9318
9287
  # - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
@@ -11988,7 +11957,7 @@ module Google
11988
11957
  # @return [Array<String>]
11989
11958
  attr_accessor :resource_policies
11990
11959
 
11991
- # Sets the scheduling options for an Instance. NextID: 10
11960
+ # Sets the scheduling options for an Instance. NextID: 11
11992
11961
  # Corresponds to the JSON property `scheduling`
11993
11962
  # @return [Google::Apis::ComputeAlpha::Scheduling]
11994
11963
  attr_accessor :scheduling
@@ -12052,8 +12021,8 @@ module Google
12052
12021
  alias_method :start_restricted?, :start_restricted
12053
12022
 
12054
12023
  # [Output Only] The status of the instance. One of the following values:
12055
- # PROVISIONING, STAGING, RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and
12056
- # TERMINATED.
12024
+ # PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING,
12025
+ # and TERMINATED.
12057
12026
  # Corresponds to the JSON property `status`
12058
12027
  # @return [String]
12059
12028
  attr_accessor :status
@@ -13495,6 +13464,13 @@ module Google
13495
13464
  class InstanceGroupManagersApplyUpdatesRequest
13496
13465
  include Google::Apis::Core::Hashable
13497
13466
 
13467
+ # Flag to update all instances instead of specified list of ?instances?. If the
13468
+ # flag is set to true then the instances may not be specified in the request.
13469
+ # Corresponds to the JSON property `allInstances`
13470
+ # @return [Boolean]
13471
+ attr_accessor :all_instances
13472
+ alias_method :all_instances?, :all_instances
13473
+
13498
13474
  # The list of URLs of one or more instances for which you want to apply updates.
13499
13475
  # Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
13500
13476
  # INSTANCE_NAME].
@@ -13538,6 +13514,7 @@ module Google
13538
13514
 
13539
13515
  # Update properties of this object
13540
13516
  def update!(**args)
13517
+ @all_instances = args[:all_instances] if args.key?(:all_instances)
13541
13518
  @instances = args[:instances] if args.key?(:instances)
13542
13519
  @maximal_action = args[:maximal_action] if args.key?(:maximal_action)
13543
13520
  @minimal_action = args[:minimal_action] if args.key?(:minimal_action)
@@ -14789,7 +14766,7 @@ module Google
14789
14766
  # @return [Array<String>]
14790
14767
  attr_accessor :resource_policies
14791
14768
 
14792
- # Sets the scheduling options for an Instance. NextID: 10
14769
+ # Sets the scheduling options for an Instance. NextID: 11
14793
14770
  # Corresponds to the JSON property `scheduling`
14794
14771
  # @return [Google::Apis::ComputeAlpha::Scheduling]
14795
14772
  attr_accessor :scheduling
@@ -18054,10 +18031,7 @@ module Google
18054
18031
  class LogConfigDataAccessOptions
18055
18032
  include Google::Apis::Core::Hashable
18056
18033
 
18057
- # Whether Gin logging should happen in a fail-closed manner at the caller. This
18058
- # is currently supported in the LocalIAM implementation, Stubby C++, and Stubby
18059
- # Java. For Apps Framework, see go/af-audit-logging#failclosed. TODO(b/77591626):
18060
- # Add support for Stubby Go. TODO(b/129671387): Add support for Scaffolding.
18034
+ #
18061
18035
  # Corresponds to the JSON property `logMode`
18062
18036
  # @return [String]
18063
18037
  attr_accessor :log_mode
@@ -19417,8 +19391,11 @@ module Google
19417
19391
  end
19418
19392
 
19419
19393
  # Represents a collection of network endpoints.
19420
- # For more information read Network endpoint groups overview. (== resource_for `$
19421
- # api_version`.networkEndpointGroups ==) Next ID: 21
19394
+ # A network endpoint group (NEG) defines how a set of endpoints should be
19395
+ # reached, whether they are reachable, and where they are located. For more
19396
+ # information about using NEGs, see Setting up internet NEGs or Setting up
19397
+ # zonal NEGs. (== resource_for `$api_version`.networkEndpointGroups ==) (==
19398
+ # resource_for `$api_version`.globalNetworkEndpointGroups ==)
19422
19399
  class NetworkEndpointGroup
19423
19400
  include Google::Apis::Core::Hashable
19424
19401
 
@@ -20038,7 +20015,7 @@ module Google
20038
20015
  attr_accessor :endpoint_filters
20039
20016
 
20040
20017
  # Optional query parameter for showing the health status of each network
20041
- # endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter,
20018
+ # endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter,
20042
20019
  # the health status of network endpoints will not be provided.
20043
20020
  # Corresponds to the JSON property `healthStatus`
20044
20021
  # @return [String]
@@ -22510,8 +22487,12 @@ module Google
22510
22487
  end
22511
22488
  end
22512
22489
 
22490
+ # Represents a notification endpoint.
22513
22491
  # A notification endpoint resource defines an endpoint to receive notifications
22514
22492
  # when there are status changes detected by the associated health check service.
22493
+ # For more information, see Health checks overview. (== resource_for `$
22494
+ # api_version`.notificationEndpoint ==) (== resource_for `$api_version`.
22495
+ # regionNotificationEndpoints ==)
22515
22496
  class NotificationEndpoint
22516
22497
  include Google::Apis::Core::Hashable
22517
22498
 
@@ -23607,7 +23588,12 @@ module Google
23607
23588
  end
23608
23589
  end
23609
23590
 
23610
- # Represents a PacketMirroring resource.
23591
+ # Represents a Packet Mirroring resource.
23592
+ # Packet Mirroring clones the traffic of specified instances in your Virtual
23593
+ # Private Cloud (VPC) network and forwards it to a collector destination, such
23594
+ # as an instance group of an internal TCP/UDP load balancer, for analysis or
23595
+ # examination. For more information about setting up Packet Mirroring, see Using
23596
+ # Packet Mirroring. (== resource_for `$api_version`.packetMirrorings ==)
23611
23597
  class PacketMirroring
23612
23598
  include Google::Apis::Core::Hashable
23613
23599
 
@@ -24539,16 +24525,18 @@ module Google
24539
24525
  # Google groups, and domains (such as G Suite). A `role` is a named list of
24540
24526
  # permissions; each `role` can be an IAM predefined role or a user-created
24541
24527
  # custom role.
24542
- # Optionally, a `binding` can specify a `condition`, which is a logical
24543
- # expression that allows access to a resource only if the expression evaluates
24544
- # to `true`. A condition can add constraints based on attributes of the request,
24545
- # the resource, or both.
24528
+ # For some types of Google Cloud resources, a `binding` can also specify a `
24529
+ # condition`, which is a logical expression that allows access to a resource
24530
+ # only if the expression evaluates to `true`. A condition can add constraints
24531
+ # based on attributes of the request, the resource, or both. To learn which
24532
+ # resources support conditions in their IAM policies, see the [IAM documentation]
24533
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
24546
24534
  # **JSON example:**
24547
24535
  # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
24548
24536
  # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
24549
24537
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
24550
- # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
24551
- # "condition": ` "title": "expirable access", "description": "Does not grant
24538
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
24539
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
24552
24540
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
24553
24541
  # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
24554
24542
  # **YAML example:**
@@ -24623,6 +24611,9 @@ module Google
24623
24611
  # conditions in the version `3` policy are lost.
24624
24612
  # If a policy does not include any conditions, operations on that policy may
24625
24613
  # specify any valid version or leave the field unset.
24614
+ # To learn which resources support conditions in their IAM policies, see the [
24615
+ # IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
24616
+ # policies).
24626
24617
  # Corresponds to the JSON property `version`
24627
24618
  # @return [Fixnum]
24628
24619
  attr_accessor :version
@@ -26631,6 +26622,13 @@ module Google
26631
26622
  class RegionInstanceGroupManagersApplyUpdatesRequest
26632
26623
  include Google::Apis::Core::Hashable
26633
26624
 
26625
+ # Flag to update all instances instead of specified list of ?instances?. If the
26626
+ # flag is set to true then the instances may not be specified in the request.
26627
+ # Corresponds to the JSON property `allInstances`
26628
+ # @return [Boolean]
26629
+ attr_accessor :all_instances
26630
+ alias_method :all_instances?, :all_instances
26631
+
26634
26632
  # The list of URLs of one or more instances for which you want to apply updates.
26635
26633
  # Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
26636
26634
  # INSTANCE_NAME].
@@ -26674,6 +26672,7 @@ module Google
26674
26672
 
26675
26673
  # Update properties of this object
26676
26674
  def update!(**args)
26675
+ @all_instances = args[:all_instances] if args.key?(:all_instances)
26677
26676
  @instances = args[:instances] if args.key?(:instances)
26678
26677
  @maximal_action = args[:maximal_action] if args.key?(:maximal_action)
26679
26678
  @minimal_action = args[:minimal_action] if args.key?(:minimal_action)
@@ -27313,16 +27312,18 @@ module Google
27313
27312
  # Google groups, and domains (such as G Suite). A `role` is a named list of
27314
27313
  # permissions; each `role` can be an IAM predefined role or a user-created
27315
27314
  # custom role.
27316
- # Optionally, a `binding` can specify a `condition`, which is a logical
27317
- # expression that allows access to a resource only if the expression evaluates
27318
- # to `true`. A condition can add constraints based on attributes of the request,
27319
- # the resource, or both.
27315
+ # For some types of Google Cloud resources, a `binding` can also specify a `
27316
+ # condition`, which is a logical expression that allows access to a resource
27317
+ # only if the expression evaluates to `true`. A condition can add constraints
27318
+ # based on attributes of the request, the resource, or both. To learn which
27319
+ # resources support conditions in their IAM policies, see the [IAM documentation]
27320
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
27320
27321
  # **JSON example:**
27321
27322
  # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
27322
27323
  # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
27323
27324
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
27324
- # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
27325
- # "condition": ` "title": "expirable access", "description": "Does not grant
27325
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
27326
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
27326
27327
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
27327
27328
  # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
27328
27329
  # **YAML example:**
@@ -28091,6 +28092,12 @@ module Google
28091
28092
  # @return [Fixnum]
28092
28093
  attr_accessor :id
28093
28094
 
28095
+ # An InstanceSchedulePolicy specifies when and how frequent certain operations
28096
+ # are performed on the instance.
28097
+ # Corresponds to the JSON property `instanceSchedulePolicy`
28098
+ # @return [Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicy]
28099
+ attr_accessor :instance_schedule_policy
28100
+
28094
28101
  # [Output Only] Type of the resource. Always compute#resource_policies for
28095
28102
  # resource policies.
28096
28103
  # Corresponds to the JSON property `kind`
@@ -28150,6 +28157,7 @@ module Google
28150
28157
  @description = args[:description] if args.key?(:description)
28151
28158
  @group_placement_policy = args[:group_placement_policy] if args.key?(:group_placement_policy)
28152
28159
  @id = args[:id] if args.key?(:id)
28160
+ @instance_schedule_policy = args[:instance_schedule_policy] if args.key?(:instance_schedule_policy)
28153
28161
  @kind = args[:kind] if args.key?(:kind)
28154
28162
  @name = args[:name] if args.key?(:name)
28155
28163
  @region = args[:region] if args.key?(:region)
@@ -28405,6 +28413,59 @@ module Google
28405
28413
  end
28406
28414
  end
28407
28415
 
28416
+ # An InstanceSchedulePolicy specifies when and how frequent certain operations
28417
+ # are performed on the instance.
28418
+ class ResourcePolicyInstanceSchedulePolicy
28419
+ include Google::Apis::Core::Hashable
28420
+
28421
+ # Schedule for the instance operation.
28422
+ # Corresponds to the JSON property `vmStartSchedule`
28423
+ # @return [Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule]
28424
+ attr_accessor :vm_start_schedule
28425
+
28426
+ # Schedule for the instance operation.
28427
+ # Corresponds to the JSON property `vmStopSchedule`
28428
+ # @return [Google::Apis::ComputeAlpha::ResourcePolicyInstanceSchedulePolicySchedule]
28429
+ attr_accessor :vm_stop_schedule
28430
+
28431
+ def initialize(**args)
28432
+ update!(**args)
28433
+ end
28434
+
28435
+ # Update properties of this object
28436
+ def update!(**args)
28437
+ @vm_start_schedule = args[:vm_start_schedule] if args.key?(:vm_start_schedule)
28438
+ @vm_stop_schedule = args[:vm_stop_schedule] if args.key?(:vm_stop_schedule)
28439
+ end
28440
+ end
28441
+
28442
+ # Schedule for the instance operation.
28443
+ class ResourcePolicyInstanceSchedulePolicySchedule
28444
+ include Google::Apis::Core::Hashable
28445
+
28446
+ # Specifies the frequency for the operation, using the unix-cron format.
28447
+ # Corresponds to the JSON property `schedule`
28448
+ # @return [String]
28449
+ attr_accessor :schedule
28450
+
28451
+ # Specifies the time zone to be used in interpreting Schedule.schedule. The
28452
+ # value of this field must be a time zone name from the tz database: http://en.
28453
+ # wikipedia.org/wiki/Tz_database.
28454
+ # Corresponds to the JSON property `timeZone`
28455
+ # @return [String]
28456
+ attr_accessor :time_zone
28457
+
28458
+ def initialize(**args)
28459
+ update!(**args)
28460
+ end
28461
+
28462
+ # Update properties of this object
28463
+ def update!(**args)
28464
+ @schedule = args[:schedule] if args.key?(:schedule)
28465
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
28466
+ end
28467
+ end
28468
+
28408
28469
  #
28409
28470
  class ResourcePolicyList
28410
28471
  include Google::Apis::Core::Hashable
@@ -28631,6 +28692,11 @@ module Google
28631
28692
  class ResourcePolicySnapshotSchedulePolicySnapshotProperties
28632
28693
  include Google::Apis::Core::Hashable
28633
28694
 
28695
+ # Chain name that the snapshot is created in.
28696
+ # Corresponds to the JSON property `chainName`
28697
+ # @return [String]
28698
+ attr_accessor :chain_name
28699
+
28634
28700
  # Indication to perform a 'guest aware' snapshot.
28635
28701
  # Corresponds to the JSON property `guestFlush`
28636
28702
  # @return [Boolean]
@@ -28655,6 +28721,7 @@ module Google
28655
28721
 
28656
28722
  # Update properties of this object
28657
28723
  def update!(**args)
28724
+ @chain_name = args[:chain_name] if args.key?(:chain_name)
28658
28725
  @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
28659
28726
  @labels = args[:labels] if args.key?(:labels)
28660
28727
  @storage_locations = args[:storage_locations] if args.key?(:storage_locations)
@@ -29133,7 +29200,7 @@ module Google
29133
29200
  end
29134
29201
 
29135
29202
  # Represents a Cloud Router resource.
29136
- # For more information about Cloud Router, read the the Cloud Router overview.
29203
+ # For more information about Cloud Router, read the Cloud Router overview.
29137
29204
  class Router
29138
29205
  include Google::Apis::Core::Hashable
29139
29206
 
@@ -29419,12 +29486,14 @@ module Google
29419
29486
  attr_accessor :asn
29420
29487
 
29421
29488
  # The interval in seconds between BGP keepalive messages that are sent to the
29422
- # peer. Hold time is three times the interval at which keepalive messages are
29423
- # sent, and the hold time is the maximum number of seconds allowed to elapse
29424
- # between successive keepalive messages that BGP receives from a peer. BGP will
29425
- # use the smaller of either the local hold time value or the peer's hold time
29426
- # value as the hold time for the BGP connection between the two peers. If set,
29427
- # this value must be between 1 and 120. The default is 20.
29489
+ # peer.
29490
+ # Not currently available publicly.
29491
+ # Hold time is three times the interval at which keepalive messages are sent,
29492
+ # and the hold time is the maximum number of seconds allowed to elapse between
29493
+ # successive keepalive messages that BGP receives from a peer.
29494
+ # BGP will use the smaller of either the local hold time value or the peer's
29495
+ # hold time value as the hold time for the BGP connection between the two peers.
29496
+ # If set, this value must be between 1 and 120. The default is 20.
29428
29497
  # Corresponds to the JSON property `keepaliveInterval`
29429
29498
  # @return [Fixnum]
29430
29499
  attr_accessor :keepalive_interval
@@ -29482,14 +29551,16 @@ module Google
29482
29551
  attr_accessor :advertised_route_priority
29483
29552
 
29484
29553
  # BFD configuration for the BGP peering.
29554
+ # Not currently available publicly.
29485
29555
  # Corresponds to the JSON property `bfd`
29486
29556
  # @return [Google::Apis::ComputeAlpha::RouterBgpPeerBfd]
29487
29557
  attr_accessor :bfd
29488
29558
 
29489
- # The status of the BGP peer connection. If set to FALSE, any active session
29490
- # with the peer is terminated and all associated routing information is removed.
29491
- # If set to TRUE, the peer connection can be established with routing
29492
- # information. The default is TRUE.
29559
+ # The status of the BGP peer connection.
29560
+ # Not currently available publicly.
29561
+ # If set to FALSE, any active session with the peer is terminated and all
29562
+ # associated routing information is removed. If set to TRUE, the peer connection
29563
+ # can be established with routing information. The default is TRUE.
29493
29564
  # Corresponds to the JSON property `enable`
29494
29565
  # @return [String]
29495
29566
  attr_accessor :enable
@@ -29566,8 +29637,10 @@ module Google
29566
29637
  # The minimum interval, in milliseconds, between BFD control packets received
29567
29638
  # from the peer router. The actual value is negotiated between the two routers
29568
29639
  # and is equal to the greater of this value and the transmit interval of the
29569
- # other router. If set, this value must be between 100 and 30000. The default is
29570
- # 300.
29640
+ # other router.
29641
+ # Not currently available publicly.
29642
+ # If set, this value must be between 100 and 30000.
29643
+ # The default is 300.
29571
29644
  # Corresponds to the JSON property `minReceiveInterval`
29572
29645
  # @return [Fixnum]
29573
29646
  attr_accessor :min_receive_interval
@@ -29575,8 +29648,10 @@ module Google
29575
29648
  # The minimum interval, in milliseconds, between BFD control packets transmitted
29576
29649
  # to the peer router. The actual value is negotiated between the two routers and
29577
29650
  # is equal to the greater of this value and the corresponding receive interval
29578
- # of the other router. If set, this value must be between 100 and 30000. The
29579
- # default is 300.
29651
+ # of the other router.
29652
+ # Not currently available publicly.
29653
+ # If set, this value must be between 100 and 30000.
29654
+ # The default is 300.
29580
29655
  # Corresponds to the JSON property `minTransmitInterval`
29581
29656
  # @return [Fixnum]
29582
29657
  attr_accessor :min_transmit_interval
@@ -29591,7 +29666,9 @@ module Google
29591
29666
  attr_accessor :mode
29592
29667
 
29593
29668
  # The number of consecutive BFD packets that must be missed before BFD declares
29594
- # that a peer is unavailable. If set, the value must be a value between 2 and 16.
29669
+ # that a peer is unavailable.
29670
+ # Not currently available publicly.
29671
+ # If set, the value must be a value between 2 and 16.
29595
29672
  # The default is 3.
29596
29673
  # Corresponds to the JSON property `multiplier`
29597
29674
  # @return [Fixnum]
@@ -29609,11 +29686,12 @@ module Google
29609
29686
  # @return [String]
29610
29687
  attr_accessor :packet_mode
29611
29688
 
29612
- # The BFD session initialization mode for this BGP peer. If set to ACTIVE, the
29613
- # Cloud Router will initiate the BFD session for this BGP peer. If set to
29614
- # PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD
29615
- # session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP
29616
- # peer. The default is PASSIVE.
29689
+ # The BFD session initialization mode for this BGP peer.
29690
+ # Not currently available publicly.
29691
+ # If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP
29692
+ # peer. If set to PASSIVE, the Cloud Router will wait for the peer router to
29693
+ # initiate the BFD session for this BGP peer. If set to DISABLED, BFD is
29694
+ # disabled for this BGP peer. The default is PASSIVE.
29617
29695
  # Corresponds to the JSON property `sessionInitializationMode`
29618
29696
  # @return [String]
29619
29697
  attr_accessor :session_initialization_mode
@@ -30314,7 +30392,7 @@ module Google
30314
30392
  include Google::Apis::Core::Hashable
30315
30393
 
30316
30394
  # Represents a Cloud Router resource.
30317
- # For more information about Cloud Router, read the the Cloud Router overview.
30395
+ # For more information about Cloud Router, read the Cloud Router overview.
30318
30396
  # Corresponds to the JSON property `resource`
30319
30397
  # @return [Google::Apis::ComputeAlpha::Router]
30320
30398
  attr_accessor :resource
@@ -30669,7 +30747,7 @@ module Google
30669
30747
  end
30670
30748
  end
30671
30749
 
30672
- # Sets the scheduling options for an Instance. NextID: 10
30750
+ # Sets the scheduling options for an Instance. NextID: 11
30673
30751
  class Scheduling
30674
30752
  include Google::Apis::Core::Hashable
30675
30753
 
@@ -30698,8 +30776,9 @@ module Google
30698
30776
  # @return [String]
30699
30777
  attr_accessor :location_hint
30700
30778
 
30701
- # Compute Engine Long Term Release. When specified, VMs that have this policy
30702
- # become long term release (internal: stable fleet) VMs.
30779
+ # DEPRECATED, please use maintenance_freeze_duration_hours. TODO(b/154158138):
30780
+ # Remove this field. Compute Engine Long Term Release. When specified, VMs that
30781
+ # have this policy become long term release (internal: stable fleet) VMs.
30703
30782
  # For all VM shapes, this should result in fewer disruptions due to software
30704
30783
  # updates and greater predictability via 1 week extended notifications.
30705
30784
  # For GPU VMs, this should also result in an 2 week uptime guarantee. See go/
@@ -30709,6 +30788,12 @@ module Google
30709
30788
  attr_accessor :long_term_release
30710
30789
  alias_method :long_term_release?, :long_term_release
30711
30790
 
30791
+ # Specifies the number of hours after instance creation where the instance won't
30792
+ # be scheduled for maintenance.
30793
+ # Corresponds to the JSON property `maintenanceFreezeDurationHours`
30794
+ # @return [Fixnum]
30795
+ attr_accessor :maintenance_freeze_duration_hours
30796
+
30712
30797
  # The minimum number of virtual CPUs this instance will consume when running on
30713
30798
  # a sole-tenant node.
30714
30799
  # Corresponds to the JSON property `minNodeCpus`
@@ -30747,6 +30832,7 @@ module Google
30747
30832
  @latency_tolerant = args[:latency_tolerant] if args.key?(:latency_tolerant)
30748
30833
  @location_hint = args[:location_hint] if args.key?(:location_hint)
30749
30834
  @long_term_release = args[:long_term_release] if args.key?(:long_term_release)
30835
+ @maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
30750
30836
  @min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
30751
30837
  @node_affinities = args[:node_affinities] if args.key?(:node_affinities)
30752
30838
  @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
@@ -31963,19 +32049,20 @@ module Google
31963
32049
  class ShieldedInstanceConfig
31964
32050
  include Google::Apis::Core::Hashable
31965
32051
 
31966
- # Defines whether the instance has integrity monitoring enabled.
32052
+ # Defines whether the instance has integrity monitoring enabled. Enabled by
32053
+ # default.
31967
32054
  # Corresponds to the JSON property `enableIntegrityMonitoring`
31968
32055
  # @return [Boolean]
31969
32056
  attr_accessor :enable_integrity_monitoring
31970
32057
  alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
31971
32058
 
31972
- # Defines whether the instance has Secure Boot enabled.
32059
+ # Defines whether the instance has Secure Boot enabled. Disabled by default.
31973
32060
  # Corresponds to the JSON property `enableSecureBoot`
31974
32061
  # @return [Boolean]
31975
32062
  attr_accessor :enable_secure_boot
31976
32063
  alias_method :enable_secure_boot?, :enable_secure_boot
31977
32064
 
31978
- # Defines whether the instance has the vTPM enabled.
32065
+ # Defines whether the instance has the vTPM enabled. Enabled by default.
31979
32066
  # Corresponds to the JSON property `enableVtpm`
31980
32067
  # @return [Boolean]
31981
32068
  attr_accessor :enable_vtpm
@@ -32230,6 +32317,11 @@ module Google
32230
32317
  attr_accessor :auto_created
32231
32318
  alias_method :auto_created?, :auto_created
32232
32319
 
32320
+ # Chain name should conform to RFC1035.
32321
+ # Corresponds to the JSON property `chainName`
32322
+ # @return [String]
32323
+ attr_accessor :chain_name
32324
+
32233
32325
  # [Output Only] Creation timestamp in RFC3339 text format.
32234
32326
  # Corresponds to the JSON property `creationTimestamp`
32235
32327
  # @return [String]
@@ -32376,6 +32468,7 @@ module Google
32376
32468
  # Update properties of this object
32377
32469
  def update!(**args)
32378
32470
  @auto_created = args[:auto_created] if args.key?(:auto_created)
32471
+ @chain_name = args[:chain_name] if args.key?(:chain_name)
32379
32472
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
32380
32473
  @description = args[:description] if args.key?(:description)
32381
32474
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@@ -32639,7 +32732,7 @@ module Google
32639
32732
  # @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
32640
32733
  attr_accessor :network_interfaces
32641
32734
 
32642
- # Sets the scheduling options for an Instance. NextID: 10
32735
+ # Sets the scheduling options for an Instance. NextID: 11
32643
32736
  # Corresponds to the JSON property `scheduling`
32644
32737
  # @return [Google::Apis::ComputeAlpha::Scheduling]
32645
32738
  attr_accessor :scheduling
@@ -33655,7 +33748,8 @@ module Google
33655
33748
 
33656
33749
  # Whether to enable flow logging for this subnetwork. If this field is not
33657
33750
  # explicitly set, it will not appear in get listings. If not set the default
33658
- # behavior is to disable flow logging.
33751
+ # behavior is to disable flow logging. This field isn't supported with the
33752
+ # purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
33659
33753
  # Corresponds to the JSON property `enableFlowLogs`
33660
33754
  # @return [Boolean]
33661
33755
  attr_accessor :enable_flow_logs
@@ -33781,7 +33875,8 @@ module Google
33781
33875
  # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
33782
33876
  # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
33783
33877
  # Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to
33784
- # PRIVATE_RFC_1918.
33878
+ # PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose
33879
+ # field set to INTERNAL_HTTPS_LOAD_BALANCER.
33785
33880
  # Corresponds to the JSON property `purpose`
33786
33881
  # @return [String]
33787
33882
  attr_accessor :purpose
@@ -34448,6 +34543,17 @@ module Google
34448
34543
  # @return [String]
34449
34544
  attr_accessor :description
34450
34545
 
34546
+ # Fingerprint of this resource. A hash of the contents stored in this object.
34547
+ # This field is used in optimistic locking. This field will be ignored when
34548
+ # inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in
34549
+ # order to patch/update the TargetGrpcProxy; otherwise, the request will fail
34550
+ # with error 412 conditionNotMet. To see the latest fingerprint, make a get()
34551
+ # request to retrieve the TargetGrpcProxy.
34552
+ # Corresponds to the JSON property `fingerprint`
34553
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
34554
+ # @return [String]
34555
+ attr_accessor :fingerprint
34556
+
34451
34557
  # [Output Only] The unique identifier for the resource type. The server
34452
34558
  # generates this identifier.
34453
34559
  # Corresponds to the JSON property `id`
@@ -34508,6 +34614,7 @@ module Google
34508
34614
  def update!(**args)
34509
34615
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
34510
34616
  @description = args[:description] if args.key?(:description)
34617
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
34511
34618
  @id = args[:id] if args.key?(:id)
34512
34619
  @kind = args[:kind] if args.key?(:kind)
34513
34620
  @name = args[:name] if args.key?(:name)
@@ -35172,6 +35279,25 @@ module Google
35172
35279
  end
35173
35280
  end
35174
35281
 
35282
+ #
35283
+ class TargetHttpsProxiesSetCertificateMapRequest
35284
+ include Google::Apis::Core::Hashable
35285
+
35286
+ # URL of the Certificate Map to associate with this TargetHttpsProxy.
35287
+ # Corresponds to the JSON property `certificateMap`
35288
+ # @return [String]
35289
+ attr_accessor :certificate_map
35290
+
35291
+ def initialize(**args)
35292
+ update!(**args)
35293
+ end
35294
+
35295
+ # Update properties of this object
35296
+ def update!(**args)
35297
+ @certificate_map = args[:certificate_map] if args.key?(:certificate_map)
35298
+ end
35299
+ end
35300
+
35175
35301
  #
35176
35302
  class TargetHttpsProxiesSetQuicOverrideRequest
35177
35303
  include Google::Apis::Core::Hashable
@@ -36667,6 +36793,25 @@ module Google
36667
36793
  end
36668
36794
  end
36669
36795
 
36796
+ #
36797
+ class TargetSslProxiesSetCertificateMapRequest
36798
+ include Google::Apis::Core::Hashable
36799
+
36800
+ # URL of the Certificate Map to associate with this TargetSslProxy.
36801
+ # Corresponds to the JSON property `certificateMap`
36802
+ # @return [String]
36803
+ attr_accessor :certificate_map
36804
+
36805
+ def initialize(**args)
36806
+ update!(**args)
36807
+ end
36808
+
36809
+ # Update properties of this object
36810
+ def update!(**args)
36811
+ @certificate_map = args[:certificate_map] if args.key?(:certificate_map)
36812
+ end
36813
+ end
36814
+
36670
36815
  #
36671
36816
  class TargetSslProxiesSetProxyHeaderRequest
36672
36817
  include Google::Apis::Core::Hashable
@@ -38966,7 +39111,12 @@ module Google
38966
39111
  end
38967
39112
  end
38968
39113
 
38969
- # Represents a VPN gateway resource. Next ID: 13
39114
+ # Represents a HA VPN gateway.
39115
+ # HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely
39116
+ # connect your on-premises network to your Google Cloud Virtual Private Cloud
39117
+ # network through an IPsec VPN connection in a single region. For more
39118
+ # information about Cloud HA VPN solutions, see Cloud VPN topologies . (==
39119
+ # resource_for `$api_version`.vpnGateways ==)
38970
39120
  class VpnGateway
38971
39121
  include Google::Apis::Core::Hashable
38972
39122
 
@@ -40601,16 +40751,18 @@ module Google
40601
40751
  # Google groups, and domains (such as G Suite). A `role` is a named list of
40602
40752
  # permissions; each `role` can be an IAM predefined role or a user-created
40603
40753
  # custom role.
40604
- # Optionally, a `binding` can specify a `condition`, which is a logical
40605
- # expression that allows access to a resource only if the expression evaluates
40606
- # to `true`. A condition can add constraints based on attributes of the request,
40607
- # the resource, or both.
40754
+ # For some types of Google Cloud resources, a `binding` can also specify a `
40755
+ # condition`, which is a logical expression that allows access to a resource
40756
+ # only if the expression evaluates to `true`. A condition can add constraints
40757
+ # based on attributes of the request, the resource, or both. To learn which
40758
+ # resources support conditions in their IAM policies, see the [IAM documentation]
40759
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
40608
40760
  # **JSON example:**
40609
40761
  # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
40610
40762
  # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
40611
40763
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
40612
- # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
40613
- # "condition": ` "title": "expirable access", "description": "Does not grant
40764
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
40765
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
40614
40766
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
40615
40767
  # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
40616
40768
  # **YAML example:**