google-api-client 0.39.2 → 0.40.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (402) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +213 -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 +1 -1
  12. data/generated/google/apis/androidpublisher_v3/classes.rb +21 -2
  13. data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
  14. data/generated/google/apis/apigee_v1.rb +1 -1
  15. data/generated/google/apis/apigee_v1/classes.rb +46 -4
  16. data/generated/google/apis/apigee_v1/representations.rb +6 -0
  17. data/generated/google/apis/apigee_v1/service.rb +24 -14
  18. data/generated/google/apis/appengine_v1.rb +1 -1
  19. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  20. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  21. data/generated/google/apis/appengine_v1beta.rb +1 -1
  22. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  23. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  24. data/generated/google/apis/appsmarket_v2.rb +3 -3
  25. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  26. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  27. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  28. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  29. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  30. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  31. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  32. data/generated/google/apis/bigquery_v2.rb +1 -1
  33. data/generated/google/apis/bigquery_v2/classes.rb +46 -1
  34. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  35. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  36. data/generated/google/apis/bigqueryreservation_v1/classes.rb +21 -15
  37. data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
  38. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  39. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  40. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
  41. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
  42. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  45. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  46. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  47. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  48. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  49. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  50. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  51. data/generated/google/apis/calendar_v3.rb +1 -1
  52. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  53. data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
  54. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  55. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  56. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  57. data/generated/google/apis/cloudasset_v1.rb +1 -1
  58. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  59. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  60. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  61. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  62. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  63. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  64. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  65. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  66. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  67. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  68. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  69. data/generated/google/apis/cloudbuild_v1/classes.rb +15 -2
  70. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  71. data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
  72. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  73. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +154 -0
  74. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
  75. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  76. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +154 -0
  78. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
  79. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  80. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  81. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  82. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  83. data/generated/google/apis/cloudiot_v1.rb +1 -1
  84. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  85. data/generated/google/apis/cloudkms_v1.rb +1 -1
  86. data/generated/google/apis/cloudkms_v1/classes.rb +307 -14
  87. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  88. data/generated/google/apis/cloudkms_v1/service.rb +15 -6
  89. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  90. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
  91. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
  93. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
  95. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  96. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
  97. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  98. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  99. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  100. data/generated/google/apis/cloudshell_v1.rb +1 -1
  101. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  103. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
  104. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  105. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
  106. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  107. data/generated/google/apis/composer_v1beta1.rb +1 -1
  108. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  109. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  110. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  111. data/generated/google/apis/compute_alpha.rb +1 -1
  112. data/generated/google/apis/compute_alpha/classes.rb +227 -163
  113. data/generated/google/apis/compute_alpha/representations.rb +44 -33
  114. data/generated/google/apis/compute_alpha/service.rb +194 -0
  115. data/generated/google/apis/compute_beta.rb +1 -1
  116. data/generated/google/apis/compute_beta/classes.rb +222 -80
  117. data/generated/google/apis/compute_beta/representations.rb +50 -0
  118. data/generated/google/apis/compute_v1.rb +1 -1
  119. data/generated/google/apis/compute_v1/classes.rb +152 -55
  120. data/generated/google/apis/compute_v1/representations.rb +21 -0
  121. data/generated/google/apis/compute_v1/service.rb +83 -0
  122. data/generated/google/apis/container_v1.rb +1 -1
  123. data/generated/google/apis/container_v1/classes.rb +5 -6
  124. data/generated/google/apis/container_v1beta1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +65 -6
  126. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  127. data/generated/google/apis/content_v2.rb +1 -1
  128. data/generated/google/apis/content_v2/classes.rb +34 -0
  129. data/generated/google/apis/content_v2/representations.rb +16 -0
  130. data/generated/google/apis/content_v2/service.rb +5 -1
  131. data/generated/google/apis/content_v2_1.rb +1 -1
  132. data/generated/google/apis/content_v2_1/classes.rb +363 -5
  133. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  134. data/generated/google/apis/content_v2_1/service.rb +85 -1
  135. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  136. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  137. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  138. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  139. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  140. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  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 +1964 -337
  179. data/generated/google/apis/dlp_v2.rb +1 -1
  180. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  181. data/generated/google/apis/dlp_v2/service.rb +79 -142
  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/file_v1.rb +1 -1
  195. data/generated/google/apis/file_v1/classes.rb +31 -0
  196. data/generated/google/apis/file_v1/representations.rb +15 -0
  197. data/generated/google/apis/file_v1beta1.rb +1 -1
  198. data/generated/google/apis/file_v1beta1/classes.rb +98 -0
  199. data/generated/google/apis/file_v1beta1/representations.rb +34 -0
  200. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  201. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  202. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  203. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +34 -29
  204. data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
  205. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  206. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  207. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  208. data/generated/google/apis/fitness_v1.rb +4 -4
  209. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  210. data/generated/google/apis/fitness_v1/service.rb +187 -215
  211. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  212. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  213. data/generated/google/apis/games_management_v1management.rb +6 -4
  214. data/generated/google/apis/games_management_v1management/classes.rb +50 -90
  215. data/generated/google/apis/games_management_v1management/representations.rb +0 -17
  216. data/generated/google/apis/games_management_v1management/service.rb +115 -291
  217. data/generated/google/apis/games_v1.rb +1 -1
  218. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  219. data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
  220. data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
  221. data/generated/google/apis/gmail_v1.rb +2 -3
  222. data/generated/google/apis/gmail_v1/classes.rb +199 -258
  223. data/generated/google/apis/gmail_v1/service.rb +744 -552
  224. data/generated/google/apis/healthcare_v1.rb +1 -1
  225. data/generated/google/apis/healthcare_v1/classes.rb +70 -49
  226. data/generated/google/apis/healthcare_v1/service.rb +110 -143
  227. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  228. data/generated/google/apis/healthcare_v1beta1/classes.rb +73 -57
  229. data/generated/google/apis/healthcare_v1beta1/service.rb +226 -258
  230. data/generated/google/apis/homegraph_v1.rb +1 -1
  231. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  232. data/generated/google/apis/iam_v1.rb +1 -1
  233. data/generated/google/apis/iam_v1/classes.rb +24 -12
  234. data/generated/google/apis/iam_v1/service.rb +7 -0
  235. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  236. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  237. data/generated/google/apis/iap_v1.rb +1 -1
  238. data/generated/google/apis/iap_v1/classes.rb +35 -12
  239. data/generated/google/apis/iap_v1/representations.rb +1 -0
  240. data/generated/google/apis/iap_v1/service.rb +1 -1
  241. data/generated/google/apis/iap_v1beta1.rb +1 -1
  242. data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
  243. data/generated/google/apis/jobs_v3.rb +1 -1
  244. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  245. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  246. data/generated/google/apis/memcache_v1beta2/classes.rb +60 -17
  247. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  248. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  249. data/generated/google/apis/ml_v1.rb +1 -1
  250. data/generated/google/apis/ml_v1/classes.rb +84 -18
  251. data/generated/google/apis/ml_v1/representations.rb +4 -0
  252. data/generated/google/apis/ml_v1/service.rb +11 -6
  253. data/generated/google/apis/monitoring_v3.rb +1 -1
  254. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  255. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  256. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  257. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  258. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  259. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  260. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  261. data/generated/google/apis/osconfig_v1.rb +1 -1
  262. data/generated/google/apis/osconfig_v1/classes.rb +29 -27
  263. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  264. data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
  265. data/generated/google/apis/people_v1.rb +1 -1
  266. data/generated/google/apis/people_v1/classes.rb +100 -0
  267. data/generated/google/apis/people_v1/representations.rb +31 -0
  268. data/generated/google/apis/people_v1/service.rb +96 -3
  269. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  270. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  271. data/generated/google/apis/pubsub_v1.rb +1 -1
  272. data/generated/google/apis/pubsub_v1/classes.rb +21 -8
  273. data/generated/google/apis/pubsub_v1/representations.rb +12 -0
  274. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  275. data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
  276. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  277. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  278. data/generated/google/apis/recommender_v1/service.rb +266 -0
  279. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  280. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  281. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  282. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  283. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  284. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  285. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  286. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  287. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  288. data/generated/google/apis/run_v1.rb +1 -1
  289. data/generated/google/apis/run_v1/classes.rb +40 -49
  290. data/generated/google/apis/run_v1/representations.rb +2 -17
  291. data/generated/google/apis/run_v1/service.rb +3 -0
  292. data/generated/google/apis/run_v1alpha1.rb +1 -1
  293. data/generated/google/apis/run_v1alpha1/classes.rb +32 -10
  294. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  295. data/generated/google/apis/run_v1alpha1/service.rb +3 -0
  296. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  297. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  298. data/generated/google/apis/secretmanager_v1.rb +1 -1
  299. data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
  300. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  301. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  302. data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
  303. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  304. data/generated/google/apis/securitycenter_v1.rb +1 -1
  305. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  306. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  307. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  308. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  309. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  310. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  311. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +97 -31
  312. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -1
  313. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  314. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +97 -31
  315. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +32 -1
  316. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  317. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
  318. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  319. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  320. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  321. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  322. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  323. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  324. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  325. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  326. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  327. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  328. data/generated/google/apis/serviceusage_v1.rb +1 -1
  329. data/generated/google/apis/serviceusage_v1/classes.rb +89 -31
  330. data/generated/google/apis/serviceusage_v1/representations.rb +32 -1
  331. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  332. data/generated/google/apis/serviceusage_v1beta1/classes.rb +89 -31
  333. data/generated/google/apis/serviceusage_v1beta1/representations.rb +32 -1
  334. data/generated/google/apis/sheets_v4.rb +1 -1
  335. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  336. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  337. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  338. data/generated/google/apis/spanner_v1.rb +1 -1
  339. data/generated/google/apis/spanner_v1/classes.rb +30 -12
  340. data/generated/google/apis/spanner_v1/service.rb +8 -8
  341. data/generated/google/apis/sql_v1beta4.rb +1 -1
  342. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  343. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  344. data/generated/google/apis/storage_v1.rb +1 -1
  345. data/generated/google/apis/storage_v1/classes.rb +18 -0
  346. data/generated/google/apis/storage_v1/representations.rb +3 -0
  347. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  348. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  349. data/generated/google/apis/tasks_v1.rb +3 -3
  350. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  351. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  352. data/generated/google/apis/tasks_v1/service.rb +79 -128
  353. data/generated/google/apis/testing_v1.rb +1 -1
  354. data/generated/google/apis/testing_v1/classes.rb +5 -3
  355. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  356. data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
  357. data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
  358. data/generated/google/apis/tpu_v1.rb +1 -1
  359. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  360. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  361. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  362. data/generated/google/apis/translate_v3.rb +1 -1
  363. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  364. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  365. data/generated/google/apis/videointelligence_v1.rb +1 -1
  366. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  367. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  368. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  369. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  370. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  371. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  372. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  373. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  374. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  375. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  376. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  377. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  378. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  379. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  380. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  381. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  382. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  383. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  384. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  385. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  386. data/generated/google/apis/youtube_v3.rb +5 -5
  387. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  388. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  389. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  390. data/lib/google/apis/core/api_command.rb +12 -7
  391. data/lib/google/apis/options.rb +5 -1
  392. data/lib/google/apis/version.rb +1 -1
  393. metadata +23 -15
  394. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  395. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  396. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  397. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  398. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  399. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  400. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  401. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  402. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/cloud-search/docs/guides/
27
27
  module CloudsearchV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200421'
29
+ REVISION = '20200519'
30
30
 
31
31
  # Index and serve your organization's data with Cloud Search
32
32
  AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
@@ -974,10 +974,12 @@ module Google
974
974
  # @return [Fixnum]
975
975
  attr_accessor :count
976
976
 
977
- # Percent of results that match the bucket value. This value is between
978
- # (0-100]. Percentages are returned for all searches, but are an estimate.
979
- # Because percentages are always returned, you should render percentages
980
- # instead of counts.
977
+ # Percent of results that match the bucket value. The returned value is
978
+ # between (0-100], and is rounded down to an integer if fractional. If the
979
+ # value is not explicitly returned, it represents a percentage value that
980
+ # rounds to 0. Percentages are returned for all searches, but are an
981
+ # estimate. Because percentages are always returned, you should render
982
+ # percentages instead of counts.
981
983
  # Corresponds to the JSON property `percentage`
982
984
  # @return [Fixnum]
983
985
  attr_accessor :percentage
@@ -2550,7 +2552,7 @@ module Google
2550
2552
  # The user friendly label to display in the search result to indicate the
2551
2553
  # type of the item. This is OPTIONAL; if not provided, an object label isn't
2552
2554
  # displayed on the context line of the search results. The maximum length
2553
- # is 32 characters.
2555
+ # is 64 characters.
2554
2556
  # Corresponds to the JSON property `objectDisplayLabel`
2555
2557
  # @return [String]
2556
2558
  attr_accessor :object_display_label
@@ -3097,7 +3099,7 @@ module Google
3097
3099
  # display name given was 'priority', then the user sees 'priority : 1' in
3098
3100
  # the search results which provides clear context to search users. This is
3099
3101
  # OPTIONAL; if not given, only the property values are displayed.
3100
- # The maximum length is 32 characters.
3102
+ # The maximum length is 64 characters.
3101
3103
  # Corresponds to the JSON property `displayLabel`
3102
3104
  # @return [String]
3103
3105
  attr_accessor :display_label
@@ -1274,7 +1274,7 @@ module Google
1274
1274
  # **Note:** This API requires an admin account to execute.
1275
1275
  # @param [String] name
1276
1276
  # Name of the search application.
1277
- # <br />Format: applications/`application_id`.
1277
+ # <br />Format: searchapplications/`application_id`.
1278
1278
  # @param [Boolean] debug_options_enable_debugging
1279
1279
  # If you are asked by Google to help with debugging, set this field.
1280
1280
  # Otherwise, ignore this field.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/shell/docs/
27
27
  module CloudshellV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200411'
29
+ REVISION = '20200512'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/shell/docs/
27
27
  module CloudshellV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20200504'
29
+ REVISION = '20200512'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2
27
27
  VERSION = 'V2'
28
- REVISION = '20200505'
28
+ REVISION = '20200529'
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'
@@ -47,8 +47,9 @@ module Google
47
47
  # The AppEngineRouting used to construct the URL that the task is
48
48
  # delivered to can be set at the queue-level or task-level:
49
49
  # * If app_engine_routing_override is set on the
50
- # queue, this value is used for all
51
- # tasks in the queue, no matter what the setting is for the task-level
50
+ # queue, this value
51
+ # is used for all tasks in the queue, no matter what the setting is for the
52
+ # task-level
52
53
  # app_engine_routing.
53
54
  # The `url` that the task will be sent to is:
54
55
  # * `url =` host `+`
@@ -1553,8 +1554,9 @@ module Google
1553
1554
  # The AppEngineRouting used to construct the URL that the task is
1554
1555
  # delivered to can be set at the queue-level or task-level:
1555
1556
  # * If app_engine_routing_override is set on the
1556
- # queue, this value is used for all
1557
- # tasks in the queue, no matter what the setting is for the task-level
1557
+ # queue, this value
1558
+ # is used for all tasks in the queue, no matter what the setting is for the
1559
+ # task-level
1558
1560
  # app_engine_routing.
1559
1561
  # The `url` that the task will be sent to is:
1560
1562
  # * `url =` host `+`
@@ -1601,8 +1603,8 @@ module Google
1601
1603
  # respond by this deadline then the request is cancelled and the attempt
1602
1604
  # is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
1603
1605
  # task according to the RetryConfig.
1604
- # Note that when the request is cancelled, Cloud Tasks will stop listing for
1605
- # the response, but whether the worker stops processing depends on the
1606
+ # Note that when the request is cancelled, Cloud Tasks will stop listening
1607
+ # for the response, but whether the worker stops processing depends on the
1606
1608
  # worker. For example, if the worker is stuck, it may not react to cancelled
1607
1609
  # requests.
1608
1610
  # The default and maximum values depend on the type of request:
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2beta3
27
27
  VERSION = 'V2beta3'
28
- REVISION = '20200505'
28
+ REVISION = '20200529'
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'
@@ -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 = '20200511'
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]
@@ -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
@@ -14789,7 +14758,7 @@ module Google
14789
14758
  # @return [Array<String>]
14790
14759
  attr_accessor :resource_policies
14791
14760
 
14792
- # Sets the scheduling options for an Instance. NextID: 10
14761
+ # Sets the scheduling options for an Instance. NextID: 11
14793
14762
  # Corresponds to the JSON property `scheduling`
14794
14763
  # @return [Google::Apis::ComputeAlpha::Scheduling]
14795
14764
  attr_accessor :scheduling
@@ -18054,10 +18023,7 @@ module Google
18054
18023
  class LogConfigDataAccessOptions
18055
18024
  include Google::Apis::Core::Hashable
18056
18025
 
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.
18026
+ #
18061
18027
  # Corresponds to the JSON property `logMode`
18062
18028
  # @return [String]
18063
18029
  attr_accessor :log_mode
@@ -19417,8 +19383,11 @@ module Google
19417
19383
  end
19418
19384
 
19419
19385
  # Represents a collection of network endpoints.
19420
- # For more information read Network endpoint groups overview. (== resource_for `$
19421
- # api_version`.networkEndpointGroups ==) Next ID: 21
19386
+ # A network endpoint group (NEG) defines how a set of endpoints should be
19387
+ # reached, whether they are reachable, and where they are located. For more
19388
+ # information about using NEGs, see Setting up internet NEGs or Setting up
19389
+ # zonal NEGs. (== resource_for `$api_version`.networkEndpointGroups ==) (==
19390
+ # resource_for `$api_version`.globalNetworkEndpointGroups ==)
19422
19391
  class NetworkEndpointGroup
19423
19392
  include Google::Apis::Core::Hashable
19424
19393
 
@@ -20038,7 +20007,7 @@ module Google
20038
20007
  attr_accessor :endpoint_filters
20039
20008
 
20040
20009
  # 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,
20010
+ # endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter,
20042
20011
  # the health status of network endpoints will not be provided.
20043
20012
  # Corresponds to the JSON property `healthStatus`
20044
20013
  # @return [String]
@@ -22510,8 +22479,12 @@ module Google
22510
22479
  end
22511
22480
  end
22512
22481
 
22482
+ # Represents a notification endpoint.
22513
22483
  # A notification endpoint resource defines an endpoint to receive notifications
22514
22484
  # when there are status changes detected by the associated health check service.
22485
+ # For more information, see Health checks overview. (== resource_for `$
22486
+ # api_version`.notificationEndpoint ==) (== resource_for `$api_version`.
22487
+ # regionNotificationEndpoints ==)
22515
22488
  class NotificationEndpoint
22516
22489
  include Google::Apis::Core::Hashable
22517
22490
 
@@ -23607,7 +23580,12 @@ module Google
23607
23580
  end
23608
23581
  end
23609
23582
 
23610
- # Represents a PacketMirroring resource.
23583
+ # Represents a Packet Mirroring resource.
23584
+ # Packet Mirroring clones the traffic of specified instances in your Virtual
23585
+ # Private Cloud (VPC) network and forwards it to a collector destination, such
23586
+ # as an instance group of an internal TCP/UDP load balancer, for analysis or
23587
+ # examination. For more information about setting up Packet Mirroring, see Using
23588
+ # Packet Mirroring. (== resource_for `$api_version`.packetMirrorings ==)
23611
23589
  class PacketMirroring
23612
23590
  include Google::Apis::Core::Hashable
23613
23591
 
@@ -24539,16 +24517,18 @@ module Google
24539
24517
  # Google groups, and domains (such as G Suite). A `role` is a named list of
24540
24518
  # permissions; each `role` can be an IAM predefined role or a user-created
24541
24519
  # 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.
24520
+ # For some types of Google Cloud resources, a `binding` can also specify a `
24521
+ # condition`, which is a logical expression that allows access to a resource
24522
+ # only if the expression evaluates to `true`. A condition can add constraints
24523
+ # based on attributes of the request, the resource, or both. To learn which
24524
+ # resources support conditions in their IAM policies, see the [IAM documentation]
24525
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
24546
24526
  # **JSON example:**
24547
24527
  # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
24548
24528
  # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
24549
24529
  # 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
24530
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
24531
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
24552
24532
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
24553
24533
  # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
24554
24534
  # **YAML example:**
@@ -24623,6 +24603,9 @@ module Google
24623
24603
  # conditions in the version `3` policy are lost.
24624
24604
  # If a policy does not include any conditions, operations on that policy may
24625
24605
  # specify any valid version or leave the field unset.
24606
+ # To learn which resources support conditions in their IAM policies, see the [
24607
+ # IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
24608
+ # policies).
24626
24609
  # Corresponds to the JSON property `version`
24627
24610
  # @return [Fixnum]
24628
24611
  attr_accessor :version
@@ -27313,16 +27296,18 @@ module Google
27313
27296
  # Google groups, and domains (such as G Suite). A `role` is a named list of
27314
27297
  # permissions; each `role` can be an IAM predefined role or a user-created
27315
27298
  # 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.
27299
+ # For some types of Google Cloud resources, a `binding` can also specify a `
27300
+ # condition`, which is a logical expression that allows access to a resource
27301
+ # only if the expression evaluates to `true`. A condition can add constraints
27302
+ # based on attributes of the request, the resource, or both. To learn which
27303
+ # resources support conditions in their IAM policies, see the [IAM documentation]
27304
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
27320
27305
  # **JSON example:**
27321
27306
  # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
27322
27307
  # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
27323
27308
  # 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
27309
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
27310
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
27326
27311
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
27327
27312
  # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
27328
27313
  # **YAML example:**
@@ -29133,7 +29118,7 @@ module Google
29133
29118
  end
29134
29119
 
29135
29120
  # Represents a Cloud Router resource.
29136
- # For more information about Cloud Router, read the the Cloud Router overview.
29121
+ # For more information about Cloud Router, read the Cloud Router overview.
29137
29122
  class Router
29138
29123
  include Google::Apis::Core::Hashable
29139
29124
 
@@ -29419,12 +29404,14 @@ module Google
29419
29404
  attr_accessor :asn
29420
29405
 
29421
29406
  # 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.
29407
+ # peer.
29408
+ # Not currently available publicly.
29409
+ # Hold time is three times the interval at which keepalive messages are sent,
29410
+ # and the hold time is the maximum number of seconds allowed to elapse between
29411
+ # successive keepalive messages that BGP receives from a peer.
29412
+ # BGP will use the smaller of either the local hold time value or the peer's
29413
+ # hold time value as the hold time for the BGP connection between the two peers.
29414
+ # If set, this value must be between 1 and 120. The default is 20.
29428
29415
  # Corresponds to the JSON property `keepaliveInterval`
29429
29416
  # @return [Fixnum]
29430
29417
  attr_accessor :keepalive_interval
@@ -29482,14 +29469,16 @@ module Google
29482
29469
  attr_accessor :advertised_route_priority
29483
29470
 
29484
29471
  # BFD configuration for the BGP peering.
29472
+ # Not currently available publicly.
29485
29473
  # Corresponds to the JSON property `bfd`
29486
29474
  # @return [Google::Apis::ComputeAlpha::RouterBgpPeerBfd]
29487
29475
  attr_accessor :bfd
29488
29476
 
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.
29477
+ # The status of the BGP peer connection.
29478
+ # Not currently available publicly.
29479
+ # If set to FALSE, any active session with the peer is terminated and all
29480
+ # associated routing information is removed. If set to TRUE, the peer connection
29481
+ # can be established with routing information. The default is TRUE.
29493
29482
  # Corresponds to the JSON property `enable`
29494
29483
  # @return [String]
29495
29484
  attr_accessor :enable
@@ -29566,8 +29555,10 @@ module Google
29566
29555
  # The minimum interval, in milliseconds, between BFD control packets received
29567
29556
  # from the peer router. The actual value is negotiated between the two routers
29568
29557
  # 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.
29558
+ # other router.
29559
+ # Not currently available publicly.
29560
+ # If set, this value must be between 100 and 30000.
29561
+ # The default is 300.
29571
29562
  # Corresponds to the JSON property `minReceiveInterval`
29572
29563
  # @return [Fixnum]
29573
29564
  attr_accessor :min_receive_interval
@@ -29575,8 +29566,10 @@ module Google
29575
29566
  # The minimum interval, in milliseconds, between BFD control packets transmitted
29576
29567
  # to the peer router. The actual value is negotiated between the two routers and
29577
29568
  # 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.
29569
+ # of the other router.
29570
+ # Not currently available publicly.
29571
+ # If set, this value must be between 100 and 30000.
29572
+ # The default is 300.
29580
29573
  # Corresponds to the JSON property `minTransmitInterval`
29581
29574
  # @return [Fixnum]
29582
29575
  attr_accessor :min_transmit_interval
@@ -29591,7 +29584,9 @@ module Google
29591
29584
  attr_accessor :mode
29592
29585
 
29593
29586
  # 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.
29587
+ # that a peer is unavailable.
29588
+ # Not currently available publicly.
29589
+ # If set, the value must be a value between 2 and 16.
29595
29590
  # The default is 3.
29596
29591
  # Corresponds to the JSON property `multiplier`
29597
29592
  # @return [Fixnum]
@@ -29609,11 +29604,12 @@ module Google
29609
29604
  # @return [String]
29610
29605
  attr_accessor :packet_mode
29611
29606
 
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.
29607
+ # The BFD session initialization mode for this BGP peer.
29608
+ # Not currently available publicly.
29609
+ # If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP
29610
+ # peer. If set to PASSIVE, the Cloud Router will wait for the peer router to
29611
+ # initiate the BFD session for this BGP peer. If set to DISABLED, BFD is
29612
+ # disabled for this BGP peer. The default is PASSIVE.
29617
29613
  # Corresponds to the JSON property `sessionInitializationMode`
29618
29614
  # @return [String]
29619
29615
  attr_accessor :session_initialization_mode
@@ -30314,7 +30310,7 @@ module Google
30314
30310
  include Google::Apis::Core::Hashable
30315
30311
 
30316
30312
  # Represents a Cloud Router resource.
30317
- # For more information about Cloud Router, read the the Cloud Router overview.
30313
+ # For more information about Cloud Router, read the Cloud Router overview.
30318
30314
  # Corresponds to the JSON property `resource`
30319
30315
  # @return [Google::Apis::ComputeAlpha::Router]
30320
30316
  attr_accessor :resource
@@ -30669,7 +30665,7 @@ module Google
30669
30665
  end
30670
30666
  end
30671
30667
 
30672
- # Sets the scheduling options for an Instance. NextID: 10
30668
+ # Sets the scheduling options for an Instance. NextID: 11
30673
30669
  class Scheduling
30674
30670
  include Google::Apis::Core::Hashable
30675
30671
 
@@ -30698,8 +30694,9 @@ module Google
30698
30694
  # @return [String]
30699
30695
  attr_accessor :location_hint
30700
30696
 
30701
- # Compute Engine Long Term Release. When specified, VMs that have this policy
30702
- # become long term release (internal: stable fleet) VMs.
30697
+ # DEPRECATED, please use maintenance_freeze_duration_hours. TODO(b/154158138):
30698
+ # Remove this field. Compute Engine Long Term Release. When specified, VMs that
30699
+ # have this policy become long term release (internal: stable fleet) VMs.
30703
30700
  # For all VM shapes, this should result in fewer disruptions due to software
30704
30701
  # updates and greater predictability via 1 week extended notifications.
30705
30702
  # For GPU VMs, this should also result in an 2 week uptime guarantee. See go/
@@ -30709,6 +30706,12 @@ module Google
30709
30706
  attr_accessor :long_term_release
30710
30707
  alias_method :long_term_release?, :long_term_release
30711
30708
 
30709
+ # Specifies the number of hours after instance creation where the instance won't
30710
+ # be scheduled for maintenance.
30711
+ # Corresponds to the JSON property `maintenanceFreezeDurationHours`
30712
+ # @return [Fixnum]
30713
+ attr_accessor :maintenance_freeze_duration_hours
30714
+
30712
30715
  # The minimum number of virtual CPUs this instance will consume when running on
30713
30716
  # a sole-tenant node.
30714
30717
  # Corresponds to the JSON property `minNodeCpus`
@@ -30747,6 +30750,7 @@ module Google
30747
30750
  @latency_tolerant = args[:latency_tolerant] if args.key?(:latency_tolerant)
30748
30751
  @location_hint = args[:location_hint] if args.key?(:location_hint)
30749
30752
  @long_term_release = args[:long_term_release] if args.key?(:long_term_release)
30753
+ @maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
30750
30754
  @min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
30751
30755
  @node_affinities = args[:node_affinities] if args.key?(:node_affinities)
30752
30756
  @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
@@ -31963,19 +31967,20 @@ module Google
31963
31967
  class ShieldedInstanceConfig
31964
31968
  include Google::Apis::Core::Hashable
31965
31969
 
31966
- # Defines whether the instance has integrity monitoring enabled.
31970
+ # Defines whether the instance has integrity monitoring enabled. Enabled by
31971
+ # default.
31967
31972
  # Corresponds to the JSON property `enableIntegrityMonitoring`
31968
31973
  # @return [Boolean]
31969
31974
  attr_accessor :enable_integrity_monitoring
31970
31975
  alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
31971
31976
 
31972
- # Defines whether the instance has Secure Boot enabled.
31977
+ # Defines whether the instance has Secure Boot enabled. Disabled by default.
31973
31978
  # Corresponds to the JSON property `enableSecureBoot`
31974
31979
  # @return [Boolean]
31975
31980
  attr_accessor :enable_secure_boot
31976
31981
  alias_method :enable_secure_boot?, :enable_secure_boot
31977
31982
 
31978
- # Defines whether the instance has the vTPM enabled.
31983
+ # Defines whether the instance has the vTPM enabled. Enabled by default.
31979
31984
  # Corresponds to the JSON property `enableVtpm`
31980
31985
  # @return [Boolean]
31981
31986
  attr_accessor :enable_vtpm
@@ -32639,7 +32644,7 @@ module Google
32639
32644
  # @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
32640
32645
  attr_accessor :network_interfaces
32641
32646
 
32642
- # Sets the scheduling options for an Instance. NextID: 10
32647
+ # Sets the scheduling options for an Instance. NextID: 11
32643
32648
  # Corresponds to the JSON property `scheduling`
32644
32649
  # @return [Google::Apis::ComputeAlpha::Scheduling]
32645
32650
  attr_accessor :scheduling
@@ -33655,7 +33660,8 @@ module Google
33655
33660
 
33656
33661
  # Whether to enable flow logging for this subnetwork. If this field is not
33657
33662
  # explicitly set, it will not appear in get listings. If not set the default
33658
- # behavior is to disable flow logging.
33663
+ # behavior is to disable flow logging. This field isn't supported with the
33664
+ # purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
33659
33665
  # Corresponds to the JSON property `enableFlowLogs`
33660
33666
  # @return [Boolean]
33661
33667
  attr_accessor :enable_flow_logs
@@ -33781,7 +33787,8 @@ module Google
33781
33787
  # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
33782
33788
  # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
33783
33789
  # Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to
33784
- # PRIVATE_RFC_1918.
33790
+ # PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose
33791
+ # field set to INTERNAL_HTTPS_LOAD_BALANCER.
33785
33792
  # Corresponds to the JSON property `purpose`
33786
33793
  # @return [String]
33787
33794
  attr_accessor :purpose
@@ -34448,6 +34455,17 @@ module Google
34448
34455
  # @return [String]
34449
34456
  attr_accessor :description
34450
34457
 
34458
+ # Fingerprint of this resource. A hash of the contents stored in this object.
34459
+ # This field is used in optimistic locking. This field will be ignored when
34460
+ # inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in
34461
+ # order to patch/update the TargetGrpcProxy; otherwise, the request will fail
34462
+ # with error 412 conditionNotMet. To see the latest fingerprint, make a get()
34463
+ # request to retrieve the TargetGrpcProxy.
34464
+ # Corresponds to the JSON property `fingerprint`
34465
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
34466
+ # @return [String]
34467
+ attr_accessor :fingerprint
34468
+
34451
34469
  # [Output Only] The unique identifier for the resource type. The server
34452
34470
  # generates this identifier.
34453
34471
  # Corresponds to the JSON property `id`
@@ -34508,6 +34526,7 @@ module Google
34508
34526
  def update!(**args)
34509
34527
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
34510
34528
  @description = args[:description] if args.key?(:description)
34529
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
34511
34530
  @id = args[:id] if args.key?(:id)
34512
34531
  @kind = args[:kind] if args.key?(:kind)
34513
34532
  @name = args[:name] if args.key?(:name)
@@ -35172,6 +35191,25 @@ module Google
35172
35191
  end
35173
35192
  end
35174
35193
 
35194
+ #
35195
+ class TargetHttpsProxiesSetCertificateMapRequest
35196
+ include Google::Apis::Core::Hashable
35197
+
35198
+ # URL of the Certificate Map to associate with this TargetHttpsProxy.
35199
+ # Corresponds to the JSON property `certificateMap`
35200
+ # @return [String]
35201
+ attr_accessor :certificate_map
35202
+
35203
+ def initialize(**args)
35204
+ update!(**args)
35205
+ end
35206
+
35207
+ # Update properties of this object
35208
+ def update!(**args)
35209
+ @certificate_map = args[:certificate_map] if args.key?(:certificate_map)
35210
+ end
35211
+ end
35212
+
35175
35213
  #
35176
35214
  class TargetHttpsProxiesSetQuicOverrideRequest
35177
35215
  include Google::Apis::Core::Hashable
@@ -36667,6 +36705,25 @@ module Google
36667
36705
  end
36668
36706
  end
36669
36707
 
36708
+ #
36709
+ class TargetSslProxiesSetCertificateMapRequest
36710
+ include Google::Apis::Core::Hashable
36711
+
36712
+ # URL of the Certificate Map to associate with this TargetSslProxy.
36713
+ # Corresponds to the JSON property `certificateMap`
36714
+ # @return [String]
36715
+ attr_accessor :certificate_map
36716
+
36717
+ def initialize(**args)
36718
+ update!(**args)
36719
+ end
36720
+
36721
+ # Update properties of this object
36722
+ def update!(**args)
36723
+ @certificate_map = args[:certificate_map] if args.key?(:certificate_map)
36724
+ end
36725
+ end
36726
+
36670
36727
  #
36671
36728
  class TargetSslProxiesSetProxyHeaderRequest
36672
36729
  include Google::Apis::Core::Hashable
@@ -38966,7 +39023,12 @@ module Google
38966
39023
  end
38967
39024
  end
38968
39025
 
38969
- # Represents a VPN gateway resource. Next ID: 13
39026
+ # Represents a HA VPN gateway.
39027
+ # HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely
39028
+ # connect your on-premises network to your Google Cloud Virtual Private Cloud
39029
+ # network through an IPsec VPN connection in a single region. For more
39030
+ # information about Cloud HA VPN solutions, see Cloud VPN topologies . (==
39031
+ # resource_for `$api_version`.vpnGateways ==)
38970
39032
  class VpnGateway
38971
39033
  include Google::Apis::Core::Hashable
38972
39034
 
@@ -40601,16 +40663,18 @@ module Google
40601
40663
  # Google groups, and domains (such as G Suite). A `role` is a named list of
40602
40664
  # permissions; each `role` can be an IAM predefined role or a user-created
40603
40665
  # 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.
40666
+ # For some types of Google Cloud resources, a `binding` can also specify a `
40667
+ # condition`, which is a logical expression that allows access to a resource
40668
+ # only if the expression evaluates to `true`. A condition can add constraints
40669
+ # based on attributes of the request, the resource, or both. To learn which
40670
+ # resources support conditions in their IAM policies, see the [IAM documentation]
40671
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
40608
40672
  # **JSON example:**
40609
40673
  # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
40610
40674
  # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
40611
40675
  # 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
40676
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
40677
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
40614
40678
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
40615
40679
  # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
40616
40680
  # **YAML example:**