google-api-client 0.36.4 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (481) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/CHANGELOG.md +184 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  7. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  9. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
  12. data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
  13. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
  15. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  16. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  17. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  18. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  19. data/generated/google/apis/admob_v1/classes.rb +951 -0
  20. data/generated/google/apis/admob_v1/representations.rb +378 -0
  21. data/generated/google/apis/admob_v1/service.rb +196 -0
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
  24. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +7 -1
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  30. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  31. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  32. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -2
  33. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  34. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -94
  36. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -50
  37. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  38. data/generated/google/apis/androidpublisher_v3/classes.rb +134 -94
  39. data/generated/google/apis/androidpublisher_v3/representations.rb +63 -50
  40. data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
  41. data/generated/google/apis/appengine_v1beta.rb +1 -1
  42. data/generated/google/apis/appengine_v1beta/classes.rb +0 -38
  43. data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
  44. data/generated/google/apis/appsactivity_v1.rb +1 -1
  45. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +49 -15
  47. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  48. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  49. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  50. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  51. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
  52. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  53. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  54. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -22
  55. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -13
  56. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  57. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +5 -99
  58. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -45
  59. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
  60. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  61. data/generated/google/apis/bigtableadmin_v2/classes.rb +49 -15
  62. data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
  63. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  64. data/generated/google/apis/binaryauthorization_v1/classes.rb +49 -15
  65. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  66. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +49 -15
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1.rb +2 -2
  70. data/generated/google/apis/cloudasset_v1/classes.rb +103 -20
  71. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  72. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  74. data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
  75. data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  77. data/generated/google/apis/cloudbilling_v1/classes.rb +51 -16
  78. data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
  79. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  81. data/generated/google/apis/{servicebroker_v1beta1.rb → cloudbuild_v1alpha2.rb} +9 -11
  82. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
  83. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  87. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +63 -15
  91. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  92. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  93. data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
  94. data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
  95. data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
  99. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
  100. data/generated/google/apis/cloudiot_v1.rb +1 -1
  101. data/generated/google/apis/cloudiot_v1/classes.rb +49 -15
  102. data/generated/google/apis/cloudkms_v1.rb +1 -1
  103. data/generated/google/apis/cloudkms_v1/classes.rb +64 -21
  104. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  105. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  107. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
  108. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +49 -15
  111. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
  112. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +49 -15
  114. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +49 -15
  116. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +49 -15
  118. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  119. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  120. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  121. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -0
  122. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  123. data/generated/google/apis/cloudshell_v1.rb +1 -1
  124. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  125. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +49 -15
  127. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +49 -15
  129. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  130. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +49 -15
  131. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  132. data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
  133. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  134. data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
  135. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  136. data/generated/google/apis/composer_v1.rb +1 -1
  137. data/generated/google/apis/composer_v1/classes.rb +2 -0
  138. data/generated/google/apis/composer_v1beta1.rb +1 -1
  139. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  140. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  141. data/generated/google/apis/compute_alpha.rb +1 -1
  142. data/generated/google/apis/compute_alpha/classes.rb +429 -237
  143. data/generated/google/apis/compute_alpha/representations.rb +42 -3
  144. data/generated/google/apis/compute_alpha/service.rb +99 -32
  145. data/generated/google/apis/compute_beta.rb +1 -1
  146. data/generated/google/apis/compute_beta/classes.rb +1054 -235
  147. data/generated/google/apis/compute_beta/representations.rb +266 -0
  148. data/generated/google/apis/compute_beta/service.rb +5821 -4671
  149. data/generated/google/apis/compute_v1.rb +1 -1
  150. data/generated/google/apis/compute_v1/classes.rb +1118 -314
  151. data/generated/google/apis/compute_v1/representations.rb +313 -0
  152. data/generated/google/apis/compute_v1/service.rb +612 -24
  153. data/generated/google/apis/container_v1.rb +1 -1
  154. data/generated/google/apis/container_v1/classes.rb +247 -3
  155. data/generated/google/apis/container_v1/representations.rb +74 -0
  156. data/generated/google/apis/container_v1/service.rb +8 -0
  157. data/generated/google/apis/container_v1beta1.rb +1 -1
  158. data/generated/google/apis/container_v1beta1/classes.rb +284 -80
  159. data/generated/google/apis/container_v1beta1/representations.rb +85 -0
  160. data/generated/google/apis/container_v1beta1/service.rb +129 -121
  161. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  162. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +49 -15
  163. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  164. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +49 -15
  165. data/generated/google/apis/content_v2.rb +1 -1
  166. data/generated/google/apis/content_v2/classes.rb +97 -0
  167. data/generated/google/apis/content_v2/representations.rb +47 -0
  168. data/generated/google/apis/content_v2/service.rb +33 -0
  169. data/generated/google/apis/content_v2_1.rb +1 -1
  170. data/generated/google/apis/content_v2_1/classes.rb +191 -0
  171. data/generated/google/apis/content_v2_1/representations.rb +94 -0
  172. data/generated/google/apis/content_v2_1/service.rb +77 -0
  173. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  174. data/generated/google/apis/datacatalog_v1beta1/classes.rb +157 -24
  175. data/generated/google/apis/datacatalog_v1beta1/representations.rb +33 -0
  176. data/generated/google/apis/datacatalog_v1beta1/service.rb +151 -66
  177. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  178. data/generated/google/apis/dataflow_v1b3/classes.rb +120 -2
  179. data/generated/google/apis/dataflow_v1b3/representations.rb +63 -0
  180. data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
  181. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  182. data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
  183. data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
  184. data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
  185. data/generated/google/apis/dataproc_v1.rb +1 -1
  186. data/generated/google/apis/dataproc_v1/classes.rb +156 -122
  187. data/generated/google/apis/dataproc_v1/service.rb +16 -14
  188. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  189. data/generated/google/apis/dataproc_v1beta2/classes.rb +155 -121
  190. data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
  191. data/generated/google/apis/dialogflow_v2.rb +1 -1
  192. data/generated/google/apis/dialogflow_v2/classes.rb +506 -9
  193. data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
  194. data/generated/google/apis/dialogflow_v2/service.rb +477 -0
  195. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  196. data/generated/google/apis/dialogflow_v2beta1/classes.rb +404 -9
  197. data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
  198. data/generated/google/apis/dialogflow_v2beta1/service.rb +919 -45
  199. data/generated/google/apis/dlp_v2.rb +1 -1
  200. data/generated/google/apis/dlp_v2/classes.rb +101 -92
  201. data/generated/google/apis/dlp_v2/service.rb +56 -56
  202. data/generated/google/apis/docs_v1.rb +1 -1
  203. data/generated/google/apis/docs_v1/classes.rb +275 -18
  204. data/generated/google/apis/docs_v1/representations.rb +75 -0
  205. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  206. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
  207. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
  208. data/generated/google/apis/drive_v2.rb +1 -1
  209. data/generated/google/apis/drive_v2/classes.rb +1 -2
  210. data/generated/google/apis/drive_v2/service.rb +0 -92
  211. data/generated/google/apis/driveactivity_v2.rb +1 -1
  212. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  213. data/generated/google/apis/fcm_v1.rb +1 -1
  214. data/generated/google/apis/file_v1.rb +1 -1
  215. data/generated/google/apis/file_v1beta1.rb +1 -1
  216. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  217. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  218. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  219. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  220. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
  221. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
  222. data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
  223. data/generated/google/apis/firebaserules_v1.rb +1 -1
  224. data/generated/google/apis/firebaserules_v1/classes.rb +12 -0
  225. data/generated/google/apis/firebaserules_v1/representations.rb +2 -0
  226. data/generated/google/apis/firestore_v1.rb +1 -1
  227. data/generated/google/apis/firestore_v1/classes.rb +4 -2
  228. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  229. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -2
  230. data/generated/google/apis/fitness_v1.rb +1 -1
  231. data/generated/google/apis/fitness_v1/classes.rb +8 -4
  232. data/generated/google/apis/fitness_v1/service.rb +26 -8
  233. data/generated/google/apis/genomics_v1.rb +1 -1
  234. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/gmail_v1.rb +13 -1
  237. data/generated/google/apis/gmail_v1/service.rb +1 -1
  238. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1beta1/classes.rb +113 -35
  240. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -0
  241. data/generated/google/apis/healthcare_v1beta1/service.rb +68 -36
  242. data/generated/google/apis/homegraph_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1.rb +1 -1
  244. data/generated/google/apis/iam_v1/classes.rb +93 -23
  245. data/generated/google/apis/iap_v1.rb +1 -1
  246. data/generated/google/apis/iap_v1/classes.rb +66 -17
  247. data/generated/google/apis/iap_v1/representations.rb +1 -0
  248. data/generated/google/apis/iap_v1/service.rb +31 -33
  249. data/generated/google/apis/iap_v1beta1.rb +1 -1
  250. data/generated/google/apis/iap_v1beta1/classes.rb +49 -15
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +1 -0
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
  255. data/generated/google/apis/kgsearch_v1.rb +1 -1
  256. data/generated/google/apis/language_v1.rb +1 -1
  257. data/generated/google/apis/language_v1beta1.rb +1 -1
  258. data/generated/google/apis/language_v1beta2.rb +1 -1
  259. data/generated/google/apis/libraryagent_v1.rb +1 -1
  260. data/generated/google/apis/logging_v2.rb +1 -1
  261. data/generated/google/apis/logging_v2/classes.rb +106 -4
  262. data/generated/google/apis/logging_v2/representations.rb +16 -0
  263. data/generated/google/apis/logging_v2/service.rb +184 -0
  264. data/generated/google/apis/manufacturers_v1.rb +1 -1
  265. data/generated/google/apis/ml_v1.rb +4 -1
  266. data/generated/google/apis/ml_v1/classes.rb +131 -26
  267. data/generated/google/apis/ml_v1/representations.rb +15 -0
  268. data/generated/google/apis/ml_v1/service.rb +2 -7
  269. data/generated/google/apis/monitoring_v1.rb +1 -1
  270. data/generated/google/apis/monitoring_v1/classes.rb +144 -109
  271. data/generated/google/apis/monitoring_v1/representations.rb +0 -18
  272. data/generated/google/apis/monitoring_v1/service.rb +11 -10
  273. data/generated/google/apis/monitoring_v3.rb +1 -1
  274. data/generated/google/apis/monitoring_v3/classes.rb +211 -99
  275. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  276. data/generated/google/apis/monitoring_v3/service.rb +178 -153
  277. data/generated/google/apis/{servicebroker_v1alpha1.rb → osconfig_v1beta.rb} +10 -11
  278. data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -0
  279. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  280. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  281. data/generated/google/apis/oslogin_v1.rb +1 -2
  282. data/generated/google/apis/oslogin_v1/service.rb +0 -1
  283. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  284. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  285. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  286. data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
  287. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  288. data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
  289. data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
  290. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  291. data/generated/google/apis/people_v1.rb +1 -1
  292. data/generated/google/apis/people_v1/classes.rb +14 -13
  293. data/generated/google/apis/people_v1/service.rb +12 -16
  294. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  295. data/generated/google/apis/policytroubleshooter_v1/classes.rb +71 -19
  296. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  297. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
  298. data/generated/google/apis/poly_v1.rb +1 -1
  299. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  300. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +39 -0
  301. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +27 -0
  302. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +66 -0
  303. data/generated/google/apis/pubsub_v1.rb +1 -1
  304. data/generated/google/apis/pubsub_v1/classes.rb +119 -15
  305. data/generated/google/apis/pubsub_v1/representations.rb +17 -0
  306. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  307. data/generated/google/apis/pubsub_v1beta2/classes.rb +49 -15
  308. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  309. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -5
  310. data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
  311. data/generated/google/apis/redis_v1.rb +1 -1
  312. data/generated/google/apis/redis_v1/classes.rb +10 -3
  313. data/generated/google/apis/redis_v1/representations.rb +1 -0
  314. data/generated/google/apis/redis_v1beta1.rb +1 -1
  315. data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
  316. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  317. data/generated/google/apis/redis_v1beta1/service.rb +36 -0
  318. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  319. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  320. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  321. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  322. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  323. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  324. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  325. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  326. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  327. data/generated/google/apis/run_v1.rb +1 -1
  328. data/generated/google/apis/run_v1/classes.rb +49 -15
  329. data/generated/google/apis/run_v1/service.rb +0 -30
  330. data/generated/google/apis/run_v1alpha1.rb +1 -1
  331. data/generated/google/apis/run_v1alpha1/classes.rb +278 -572
  332. data/generated/google/apis/run_v1alpha1/representations.rb +82 -223
  333. data/generated/google/apis/run_v1alpha1/service.rb +272 -682
  334. data/generated/google/apis/run_v1beta1.rb +4 -1
  335. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  336. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  337. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
  338. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  339. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  340. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  341. data/generated/google/apis/sasportal_v1alpha1/classes.rb +39 -0
  342. data/generated/google/apis/sasportal_v1alpha1/representations.rb +27 -0
  343. data/generated/google/apis/sasportal_v1alpha1/service.rb +66 -0
  344. data/generated/google/apis/script_v1.rb +1 -1
  345. data/generated/google/apis/searchconsole_v1.rb +1 -1
  346. data/generated/google/apis/secretmanager_v1beta1.rb +3 -2
  347. data/generated/google/apis/secretmanager_v1beta1/classes.rb +49 -15
  348. data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -1
  349. data/generated/google/apis/securitycenter_v1.rb +1 -1
  350. data/generated/google/apis/securitycenter_v1/classes.rb +449 -15
  351. data/generated/google/apis/securitycenter_v1/representations.rb +138 -0
  352. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  353. data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
  354. data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
  355. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  356. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
  358. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  359. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
  361. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
  362. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  363. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +101 -5
  364. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +19 -0
  365. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  366. data/generated/google/apis/servicecontrol_v1/classes.rb +238 -0
  367. data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
  368. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  369. data/generated/google/apis/servicemanagement_v1/classes.rb +156 -20
  370. data/generated/google/apis/servicemanagement_v1/representations.rb +18 -0
  371. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  372. data/generated/google/apis/servicenetworking_v1/classes.rb +101 -5
  373. data/generated/google/apis/servicenetworking_v1/representations.rb +19 -0
  374. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  375. data/generated/google/apis/servicenetworking_v1beta/classes.rb +101 -5
  376. data/generated/google/apis/servicenetworking_v1beta/representations.rb +19 -0
  377. data/generated/google/apis/serviceusage_v1.rb +1 -1
  378. data/generated/google/apis/serviceusage_v1/classes.rb +101 -5
  379. data/generated/google/apis/serviceusage_v1/representations.rb +19 -0
  380. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  381. data/generated/google/apis/serviceusage_v1beta1/classes.rb +101 -5
  382. data/generated/google/apis/serviceusage_v1beta1/representations.rb +19 -0
  383. data/generated/google/apis/sheets_v4.rb +1 -1
  384. data/generated/google/apis/sheets_v4/classes.rb +195 -31
  385. data/generated/google/apis/sheets_v4/representations.rb +56 -0
  386. data/generated/google/apis/sheets_v4/service.rb +9 -11
  387. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  388. data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
  389. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  390. data/generated/google/apis/spanner_v1.rb +1 -1
  391. data/generated/google/apis/spanner_v1/classes.rb +49 -15
  392. data/generated/google/apis/spanner_v1/service.rb +1 -1
  393. data/generated/google/apis/speech_v1.rb +1 -1
  394. data/generated/google/apis/speech_v1/classes.rb +1 -8
  395. data/generated/google/apis/speech_v1/representations.rb +0 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
  398. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
  399. data/generated/google/apis/sql_v1beta4.rb +1 -1
  400. data/generated/google/apis/sql_v1beta4/classes.rb +130 -2
  401. data/generated/google/apis/sql_v1beta4/representations.rb +52 -0
  402. data/generated/google/apis/sql_v1beta4/service.rb +190 -9
  403. data/generated/google/apis/storage_v1.rb +1 -1
  404. data/generated/google/apis/storage_v1/classes.rb +16 -7
  405. data/generated/google/apis/storage_v1/service.rb +1 -1
  406. data/generated/google/apis/storage_v1beta2.rb +1 -1
  407. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  408. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  409. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
  410. data/generated/google/apis/storagetransfer_v1/service.rb +0 -30
  411. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  412. data/generated/google/apis/tagmanager_v1.rb +1 -1
  413. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  414. data/generated/google/apis/tagmanager_v2.rb +1 -1
  415. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  416. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  417. data/generated/google/apis/tasks_v1.rb +1 -1
  418. data/generated/google/apis/tasks_v1/service.rb +4 -1
  419. data/generated/google/apis/toolresults_v1.rb +1 -1
  420. data/generated/google/apis/tpu_v1.rb +1 -1
  421. data/generated/google/apis/tpu_v1/classes.rb +0 -1
  422. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  423. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
  424. data/generated/google/apis/translate_v3.rb +37 -0
  425. data/generated/google/apis/translate_v3/classes.rb +943 -0
  426. data/generated/google/apis/translate_v3/representations.rb +439 -0
  427. data/generated/google/apis/translate_v3/service.rb +781 -0
  428. data/generated/google/apis/videointelligence_v1.rb +1 -1
  429. data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
  430. data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
  431. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  432. data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
  433. data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
  434. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  435. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
  436. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
  437. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  438. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
  439. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
  440. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  441. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
  442. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
  443. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  444. data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
  445. data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
  446. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  447. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  448. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
  449. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
  450. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  452. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  453. data/generated/google/apis/youtube_v3.rb +1 -1
  454. data/generated/google/apis/youtube_v3/classes.rb +61 -9
  455. data/generated/google/apis/youtube_v3/representations.rb +8 -1
  456. data/generated/google/apis/youtube_v3/service.rb +8 -2
  457. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  458. data/lib/google/apis/core/base_service.rb +1 -1
  459. data/lib/google/apis/core/http_command.rb +1 -2
  460. data/lib/google/apis/version.rb +1 -1
  461. metadata +27 -27
  462. data/generated/google/apis/analytics_v2_4.rb +0 -37
  463. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  464. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  465. data/generated/google/apis/plus_domains_v1.rb +0 -55
  466. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  467. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  468. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  469. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  470. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  471. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  472. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  473. data/generated/google/apis/servicebroker_v1/classes.rb +0 -368
  474. data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
  475. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  476. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
  477. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +0 -367
  478. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  479. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
  480. data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
  481. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
@@ -1018,6 +1018,12 @@ module Google
1018
1018
  include Google::Apis::Core::JsonObjectSupport
1019
1019
  end
1020
1020
 
1021
+ class GoogleDuration
1022
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1023
+
1024
+ include Google::Apis::Core::JsonObjectSupport
1025
+ end
1026
+
1021
1027
  class GrpcServiceConfig
1022
1028
  class Representation < Google::Apis::Core::JsonRepresentation; end
1023
1029
 
@@ -4882,6 +4888,12 @@ module Google
4882
4888
  include Google::Apis::Core::JsonObjectSupport
4883
4889
  end
4884
4890
 
4891
+ class UpcomingMaintenance
4892
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4893
+
4894
+ include Google::Apis::Core::JsonObjectSupport
4895
+ end
4896
+
4885
4897
  class UrlMap
4886
4898
  class Representation < Google::Apis::Core::JsonRepresentation; end
4887
4899
 
@@ -5851,6 +5863,8 @@ module Google
5851
5863
  class Representation < Google::Apis::Core::JsonRepresentation
5852
5864
  property :max_scaled_down_replicas, as: 'maxScaledDownReplicas', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
5853
5865
 
5866
+ property :time_window, as: 'timeWindow', class: Google::Apis::ComputeAlpha::GoogleDuration, decorator: Google::Apis::ComputeAlpha::GoogleDuration::Representation
5867
+
5854
5868
  property :time_window_sec, as: 'timeWindowSec'
5855
5869
  end
5856
5870
  end
@@ -6273,7 +6287,7 @@ module Google
6273
6287
  property :end_timestamp, as: 'endTimestamp'
6274
6288
  property :id, :numeric_string => true, as: 'id'
6275
6289
  property :kind, as: 'kind'
6276
- collection :license_resources, as: 'licenseResources', class: Google::Apis::ComputeAlpha::LicenseResourceCommitment, decorator: Google::Apis::ComputeAlpha::LicenseResourceCommitment::Representation
6290
+ property :license_resource, as: 'licenseResource', class: Google::Apis::ComputeAlpha::LicenseResourceCommitment, decorator: Google::Apis::ComputeAlpha::LicenseResourceCommitment::Representation
6277
6291
 
6278
6292
  property :name, as: 'name'
6279
6293
  property :plan, as: 'plan'
@@ -7176,6 +7190,14 @@ module Google
7176
7190
  end
7177
7191
  end
7178
7192
 
7193
+ class GoogleDuration
7194
+ # @private
7195
+ class Representation < Google::Apis::Core::JsonRepresentation
7196
+ property :nanos, as: 'nanos'
7197
+ property :seconds, :numeric_string => true, as: 'seconds'
7198
+ end
7199
+ end
7200
+
7179
7201
  class GrpcServiceConfig
7180
7202
  # @private
7181
7203
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7347,6 +7369,7 @@ module Google
7347
7369
  class Representation < Google::Apis::Core::JsonRepresentation
7348
7370
  property :creation_timestamp, as: 'creationTimestamp'
7349
7371
  property :description, as: 'description'
7372
+ property :fingerprint, :base64 => true, as: 'fingerprint'
7350
7373
  collection :health_checks, as: 'healthChecks'
7351
7374
  property :health_status_aggregation_policy, as: 'healthStatusAggregationPolicy'
7352
7375
  property :health_status_aggregation_strategy, as: 'healthStatusAggregationStrategy'
@@ -7881,6 +7904,7 @@ module Google
7881
7904
 
7882
7905
  property :post_key_revocation_action_type, as: 'postKeyRevocationActionType'
7883
7906
  property :preserved_state_size_gb, :numeric_string => true, as: 'preservedStateSizeGb'
7907
+ property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
7884
7908
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeAlpha::ReservationAffinity, decorator: Google::Apis::ComputeAlpha::ReservationAffinity::Representation
7885
7909
 
7886
7910
  collection :resource_policies, as: 'resourcePolicies'
@@ -7906,6 +7930,8 @@ module Google
7906
7930
  property :status_message, as: 'statusMessage'
7907
7931
  property :tags, as: 'tags', class: Google::Apis::ComputeAlpha::Tags, decorator: Google::Apis::ComputeAlpha::Tags::Representation
7908
7932
 
7933
+ property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeAlpha::UpcomingMaintenance, decorator: Google::Apis::ComputeAlpha::UpcomingMaintenance::Representation
7934
+
7909
7935
  property :zone, as: 'zone'
7910
7936
  end
7911
7937
  end
@@ -8601,6 +8627,7 @@ module Google
8601
8627
  collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeAlpha::NetworkInterface, decorator: Google::Apis::ComputeAlpha::NetworkInterface::Representation
8602
8628
 
8603
8629
  property :post_key_revocation_action_type, as: 'postKeyRevocationActionType'
8630
+ property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
8604
8631
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeAlpha::ReservationAffinity, decorator: Google::Apis::ComputeAlpha::ReservationAffinity::Representation
8605
8632
 
8606
8633
  collection :resource_policies, as: 'resourcePolicies'
@@ -9721,12 +9748,10 @@ module Google
9721
9748
  property :i_pv4_range, as: 'IPv4Range'
9722
9749
  property :auto_create_subnetworks, as: 'autoCreateSubnetworks'
9723
9750
  property :creation_timestamp, as: 'creationTimestamp'
9724
- property :cross_vm_encryption, as: 'crossVmEncryption'
9725
9751
  property :description, as: 'description'
9726
9752
  property :gateway_i_pv4, as: 'gatewayIPv4'
9727
9753
  property :id, :numeric_string => true, as: 'id'
9728
9754
  property :kind, as: 'kind'
9729
- property :load_balancer_vm_encryption, as: 'loadBalancerVmEncryption'
9730
9755
  property :mtu, as: 'mtu'
9731
9756
  property :multicast_mode, as: 'multicastMode'
9732
9757
  property :name, as: 'name'
@@ -10201,6 +10226,8 @@ module Google
10201
10226
  class NodeGroupNode
10202
10227
  # @private
10203
10228
  class Representation < Google::Apis::Core::JsonRepresentation
10229
+ collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeAlpha::AcceleratorConfig, decorator: Google::Apis::ComputeAlpha::AcceleratorConfig::Representation
10230
+
10204
10231
  collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::LocalDisk, decorator: Google::Apis::ComputeAlpha::LocalDisk::Representation
10205
10232
 
10206
10233
  collection :instances, as: 'instances'
@@ -10305,6 +10332,8 @@ module Google
10305
10332
  class NodeTemplate
10306
10333
  # @private
10307
10334
  class Representation < Google::Apis::Core::JsonRepresentation
10335
+ collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeAlpha::AcceleratorConfig, decorator: Google::Apis::ComputeAlpha::AcceleratorConfig::Representation
10336
+
10308
10337
  property :creation_timestamp, as: 'creationTimestamp'
10309
10338
  property :description, as: 'description'
10310
10339
  collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::LocalDisk, decorator: Google::Apis::ComputeAlpha::LocalDisk::Representation
@@ -13683,6 +13712,7 @@ module Google
13683
13712
  property :kind, as: 'kind'
13684
13713
  property :name, as: 'name'
13685
13714
  property :nat_policy, as: 'natPolicy'
13715
+ property :network, as: 'network'
13686
13716
  property :self_link, as: 'selfLink'
13687
13717
  property :self_link_with_id, as: 'selfLinkWithId'
13688
13718
  property :zone, as: 'zone'
@@ -14253,6 +14283,15 @@ module Google
14253
14283
  end
14254
14284
  end
14255
14285
 
14286
+ class UpcomingMaintenance
14287
+ # @private
14288
+ class Representation < Google::Apis::Core::JsonRepresentation
14289
+ property :date, as: 'date'
14290
+ property :time, as: 'time'
14291
+ property :type, as: 'type'
14292
+ end
14293
+ end
14294
+
14256
14295
  class UrlMap
14257
14296
  # @private
14258
14297
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5570,14 +5570,17 @@ module Google
5570
5570
  execute_or_queue_command(command, &block)
5571
5571
  end
5572
5572
 
5573
- # Waits for the specified Operations resource until it is done or timeout, and
5574
- # retrieves the specified Operations resource. 1. Immediately returns when the
5575
- # operation is already done. 2. Waits for no more than the default deadline (2
5576
- # minutes, subject to change) and then returns the current state of the
5577
- # operation, which may be DONE or still in progress. 3. Is best-effort: a. The
5578
- # server can wait less than the default deadline or zero seconds, in overload
5579
- # situations. b. There is no guarantee that the operation is actually done when
5580
- # returns. 4. User should be prepared to retry if the operation is not DONE.
5573
+ # Waits for the specified Operation resource to return as DONE or for the
5574
+ # request to approach the 2 minute deadline, and retrieves the specified
5575
+ # Operation resource. This method differs from the GET method in that it waits
5576
+ # for no more than the default deadline (2 minutes) and then returns the current
5577
+ # state of the operation, which might be DONE or still in progress.
5578
+ # This method is called on a best-effort basis. Specifically:
5579
+ # - In uncommon cases, when the server is overloaded, the request might return
5580
+ # before the default deadline is reached, or might return after zero seconds.
5581
+ # - If the default deadline is reached, there is no guarantee that the operation
5582
+ # is actually done when the method returns. Be prepared to retry if the
5583
+ # operation is not DONE.
5581
5584
  # @param [String] project
5582
5585
  # Project ID for this request.
5583
5586
  # @param [String] operation
@@ -5756,14 +5759,17 @@ module Google
5756
5759
  execute_or_queue_command(command, &block)
5757
5760
  end
5758
5761
 
5759
- # Waits for the specified Operations resource until it is done or timeout, and
5760
- # retrieves the specified Operations resource. 1. Immediately returns when the
5761
- # operation is already done. 2. Waits for no more than the default deadline (2
5762
- # minutes, subject to change) and then returns the current state of the
5763
- # operation, which may be DONE or still in progress. 3. Is best-effort: a. The
5764
- # server can wait less than the default deadline or zero seconds, in overload
5765
- # situations. b. There is no guarantee that the operation is actually done when
5766
- # returns. 4. User should be prepared to retry if the operation is not DONE.
5762
+ # Waits for the specified Operation resource to return as DONE or for the
5763
+ # request to approach the 2 minute deadline, and retrieves the specified
5764
+ # Operation resource. This method differs from the GET method in that it waits
5765
+ # for no more than the default deadline (2 minutes) and then returns the current
5766
+ # state of the operation, which might be DONE or still in progress.
5767
+ # This method is called on a best-effort basis. Specifically:
5768
+ # - In uncommon cases, when the server is overloaded, the request might return
5769
+ # before the default deadline is reached, or might return after zero seconds.
5770
+ # - If the default deadline is reached, there is no guarantee that the operation
5771
+ # is actually done when the method returns. Be prepared to retry if the
5772
+ # operation is not DONE.
5767
5773
  # @param [String] operation
5768
5774
  # Name of the Operations resource to return.
5769
5775
  # @param [String] parent_id
@@ -21885,6 +21891,63 @@ module Google
21885
21891
  execute_or_queue_command(command, &block)
21886
21892
  end
21887
21893
 
21894
+ # Updates the specified regional HealthCheckService resource with the data
21895
+ # included in the request. This method supports PATCH semantics and uses the
21896
+ # JSON merge patch format and processing rules.
21897
+ # @param [String] project
21898
+ # Project ID for this request.
21899
+ # @param [String] region
21900
+ # Name of the region scoping this request.
21901
+ # @param [String] health_check_service
21902
+ # Name of the HealthCheckService to update. The name must be 1-63 characters
21903
+ # long, and comply with RFC1035.
21904
+ # @param [Google::Apis::ComputeAlpha::HealthCheckService] health_check_service_object
21905
+ # @param [String] request_id
21906
+ # An optional request ID to identify requests. Specify a unique request ID so
21907
+ # that if you must retry your request, the server will know to ignore the
21908
+ # request if it has already been completed.
21909
+ # For example, consider a situation where you make an initial request and the
21910
+ # request times out. If you make the request again with the same request ID, the
21911
+ # server can check if original operation with the same request ID was received,
21912
+ # and if so, will ignore the second request. This prevents clients from
21913
+ # accidentally creating duplicate commitments.
21914
+ # The request ID must be a valid UUID with the exception that zero UUID is not
21915
+ # supported (00000000-0000-0000-0000-000000000000).
21916
+ # @param [String] fields
21917
+ # Selector specifying which fields to include in a partial response.
21918
+ # @param [String] quota_user
21919
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
21920
+ # characters.
21921
+ # @param [String] user_ip
21922
+ # Deprecated. Please use quotaUser instead.
21923
+ # @param [Google::Apis::RequestOptions] options
21924
+ # Request-specific options
21925
+ #
21926
+ # @yield [result, err] Result & error if block supplied
21927
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
21928
+ # @yieldparam err [StandardError] error object if request failed
21929
+ #
21930
+ # @return [Google::Apis::ComputeAlpha::Operation]
21931
+ #
21932
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21933
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21934
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21935
+ def patch_region_health_check_service(project, region, health_check_service, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21936
+ command = make_simple_command(:patch, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options)
21937
+ command.request_representation = Google::Apis::ComputeAlpha::HealthCheckService::Representation
21938
+ command.request_object = health_check_service_object
21939
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
21940
+ command.response_class = Google::Apis::ComputeAlpha::Operation
21941
+ command.params['project'] = project unless project.nil?
21942
+ command.params['region'] = region unless region.nil?
21943
+ command.params['healthCheckService'] = health_check_service unless health_check_service.nil?
21944
+ command.query['requestId'] = request_id unless request_id.nil?
21945
+ command.query['fields'] = fields unless fields.nil?
21946
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21947
+ command.query['userIp'] = user_ip unless user_ip.nil?
21948
+ execute_or_queue_command(command, &block)
21949
+ end
21950
+
21888
21951
  # Returns permissions that a caller has on the specified resource.
21889
21952
  # @param [String] project
21890
21953
  # Project ID for this request.
@@ -24513,14 +24576,16 @@ module Google
24513
24576
  execute_or_queue_command(command, &block)
24514
24577
  end
24515
24578
 
24516
- # Waits for the specified region-specific Operations resource until it is done
24517
- # or timeout, and retrieves the specified Operations resource. 1. Immediately
24518
- # returns when the operation is already done. 2. Waits for no more than the
24519
- # default deadline (2 minutes, subject to change) and then returns the current
24520
- # state of the operation, which may be DONE or still in progress. 3. Is best-
24521
- # effort: a. The server can wait less than the default deadline or zero seconds,
24522
- # in overload situations. b. There is no guarantee that the operation is
24523
- # actually done when returns. 4. User should be prepared to retry if the
24579
+ # Waits for the specified Operation resource to return as DONE or for the
24580
+ # request to approach the 2 minute deadline, and retrieves the specified
24581
+ # Operation resource. This method differs from the GET method in that it waits
24582
+ # for no more than the default deadline (2 minutes) and then returns the current
24583
+ # state of the operation, which might be DONE or still in progress.
24584
+ # This method is called on a best-effort basis. Specifically:
24585
+ # - In uncommon cases, when the server is overloaded, the request might return
24586
+ # before the default deadline is reached, or might return after zero seconds.
24587
+ # - If the default deadline is reached, there is no guarantee that the operation
24588
+ # is actually done when the method returns. Be prepared to retry if the
24524
24589
  # operation is not DONE.
24525
24590
  # @param [String] project
24526
24591
  # Project ID for this request.
@@ -34649,14 +34714,16 @@ module Google
34649
34714
  execute_or_queue_command(command, &block)
34650
34715
  end
34651
34716
 
34652
- # Waits for the specified zone-specific Operations resource until it is done or
34653
- # timeout, and retrieves the specified Operations resource. 1. Immediately
34654
- # returns when the operation is already done. 2. Waits for no more than the
34655
- # default deadline (2 minutes, subject to change) and then returns the current
34656
- # state of the operation, which may be DONE or still in progress. 3. Is best-
34657
- # effort: a. The server can wait less than the default deadline or zero seconds,
34658
- # in overload situations. b. There is no guarantee that the operation is
34659
- # actually done when returns. 4. User should be prepared to retry if the
34717
+ # Waits for the specified Operation resource to return as DONE or for the
34718
+ # request to approach the 2 minute deadline, and retrieves the specified
34719
+ # Operation resource. This method differs from the GET method in that it waits
34720
+ # for no more than the default deadline (2 minutes) and then returns the current
34721
+ # state of the operation, which might be DONE or still in progress.
34722
+ # This method is called on a best-effort basis. Specifically:
34723
+ # - In uncommon cases, when the server is overloaded, the request might return
34724
+ # before the default deadline is reached, or might return after zero seconds.
34725
+ # - If the default deadline is reached, there is no guarantee that the operation
34726
+ # is actually done when the method returns. Be prepared to retry if the
34660
34727
  # operation is not DONE.
34661
34728
  # @param [String] project
34662
34729
  # Project ID for this request.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20191125'
28
+ REVISION = '20200114'
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'
@@ -56,8 +56,7 @@ module Google
56
56
  # Google Cloud Platform provides graphics processing units (accelerators) that
57
57
  # you can add to VM instances to improve or accelerate performance when working
58
58
  # with intensive workloads. For more information, read GPUs on Compute Engine. (=
59
- # = resource_for beta.acceleratorTypes ==) (== resource_for v1.acceleratorTypes =
60
- # =)
59
+ # = resource_for `$api_version`.acceleratorTypes ==)
61
60
  class AcceleratorType
62
61
  include Google::Apis::Core::Hashable
63
62
 
@@ -527,21 +526,22 @@ module Google
527
526
  end
528
527
  end
529
528
 
530
- # Represents an IP Address resource.
531
- # An address resource represents a regional internal IP address. Regional
532
- # internal IP addresses are RFC 1918 addresses that come from either a primary
533
- # or secondary IP range of a subnet in a VPC network. Regional external IP
534
- # addresses can be assigned to GCP VM instances, Cloud VPN gateways, regional
535
- # external forwarding rules for network load balancers (in either Standard or
536
- # Premium Tier), and regional external forwarding rules for HTTP(S), SSL Proxy,
537
- # and TCP Proxy load balancers in Standard Tier. For more information, read IP
538
- # addresses.
539
- # A globalAddresses resource represent a global external IP address. Global
540
- # external IP addresses are IPv4 or IPv6 addresses. They can only be assigned to
541
- # global forwarding rules for HTTP(S), SSL Proxy, or TCP Proxy load balancers in
542
- # Premium Tier. For more information, read Global resources. (== resource_for
543
- # beta.addresses ==) (== resource_for v1.addresses ==) (== resource_for beta.
544
- # globalAddresses ==) (== resource_for v1.globalAddresses ==)
529
+ # Use global external addresses for GFE-based external HTTP(S) load balancers in
530
+ # Premium Tier.
531
+ # Use global internal addresses for reserved peering network range.
532
+ # Use regional external addresses for the following resources:
533
+ # - External IP addresses for VM instances - Regional external forwarding rules -
534
+ # Cloud NAT external IP addresses - GFE based LBs in Standard Tier - Network
535
+ # LBs in Premium or Standard Tier - Cloud VPN gateways (both Classic and HA)
536
+ # Use regional internal IP addresses for subnet IP ranges (primary and secondary)
537
+ # . This includes:
538
+ # - Internal IP addresses for VM instances - Alias IP ranges of VM instances (/
539
+ # 32 only) - Regional internal forwarding rules - Internal TCP/UDP load balancer
540
+ # addresses - Internal HTTP(S) load balancer addresses - Cloud DNS inbound
541
+ # forwarding IP addresses
542
+ # For more information, read reserved IP address.
543
+ # (== resource_for `$api_version`.addresses ==) (== resource_for `$api_version`.
544
+ # globalAddresses ==)
545
545
  class Address
546
546
  include Google::Apis::Core::Hashable
547
547
 
@@ -1196,6 +1196,11 @@ module Google
1196
1196
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
1197
1197
  attr_accessor :disk_encryption_key
1198
1198
 
1199
+ # The size of the disk in GB.
1200
+ # Corresponds to the JSON property `diskSizeGb`
1201
+ # @return [Fixnum]
1202
+ attr_accessor :disk_size_gb
1203
+
1199
1204
  # A list of features to enable on the guest operating system. Applicable only
1200
1205
  # for bootable images. Read Enabling guest operating system features to see a
1201
1206
  # list of available options.
@@ -1274,6 +1279,7 @@ module Google
1274
1279
  @boot = args[:boot] if args.key?(:boot)
1275
1280
  @device_name = args[:device_name] if args.key?(:device_name)
1276
1281
  @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
1282
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1277
1283
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
1278
1284
  @index = args[:index] if args.key?(:index)
1279
1285
  @initialize_params = args[:initialize_params] if args.key?(:initialize_params)
@@ -1520,14 +1526,16 @@ module Google
1520
1526
  end
1521
1527
 
1522
1528
  # Represents an Autoscaler resource.
1529
+ # Google Compute Engine has two Autoscaler resources:
1530
+ # * [Global](/compute/docs/reference/rest/latest/autoscalers) * [Regional](/
1531
+ # compute/docs/reference/rest/latest/regionAutoscalers)
1523
1532
  # Use autoscalers to automatically add or delete instances from a managed
1524
1533
  # instance group according to your defined autoscaling policy. For more
1525
1534
  # information, read Autoscaling Groups of Instances.
1526
1535
  # For zonal managed instance groups resource, use the autoscaler resource.
1527
1536
  # For regional managed instance groups, use the regionAutoscalers resource. (==
1528
- # resource_for beta.autoscalers ==) (== resource_for v1.autoscalers ==) (==
1529
- # resource_for beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers =
1530
- # =)
1537
+ # resource_for `$api_version`.autoscalers ==) (== resource_for `$api_version`.
1538
+ # regionAutoscalers ==)
1531
1539
  class Autoscaler
1532
1540
  include Google::Apis::Core::Hashable
1533
1541
 
@@ -2080,6 +2088,13 @@ module Google
2080
2088
  # @return [String]
2081
2089
  attr_accessor :mode
2082
2090
 
2091
+ # Configuration that allows for slower scale down so that even if Autoscaler
2092
+ # recommends an abrupt scale down of a MIG, it will be throttled as specified by
2093
+ # the parameters below.
2094
+ # Corresponds to the JSON property `scaleDownControl`
2095
+ # @return [Google::Apis::ComputeBeta::AutoscalingPolicyScaleDownControl]
2096
+ attr_accessor :scale_down_control
2097
+
2083
2098
  def initialize(**args)
2084
2099
  update!(**args)
2085
2100
  end
@@ -2093,6 +2108,7 @@ module Google
2093
2108
  @max_num_replicas = args[:max_num_replicas] if args.key?(:max_num_replicas)
2094
2109
  @min_num_replicas = args[:min_num_replicas] if args.key?(:min_num_replicas)
2095
2110
  @mode = args[:mode] if args.key?(:mode)
2111
+ @scale_down_control = args[:scale_down_control] if args.key?(:scale_down_control)
2096
2112
  end
2097
2113
  end
2098
2114
 
@@ -2230,6 +2246,62 @@ module Google
2230
2246
  end
2231
2247
  end
2232
2248
 
2249
+ # Configuration that allows for slower scale down so that even if Autoscaler
2250
+ # recommends an abrupt scale down of a MIG, it will be throttled as specified by
2251
+ # the parameters below.
2252
+ class AutoscalingPolicyScaleDownControl
2253
+ include Google::Apis::Core::Hashable
2254
+
2255
+ # Encapsulates numeric value that can be either absolute or relative.
2256
+ # Corresponds to the JSON property `maxScaledDownReplicas`
2257
+ # @return [Google::Apis::ComputeBeta::FixedOrPercent]
2258
+ attr_accessor :max_scaled_down_replicas
2259
+
2260
+ # A Duration represents a signed, fixed-length span of time represented as a
2261
+ # count of seconds and fractions of seconds at nanosecond resolution. It is
2262
+ # independent of any calendar and concepts like "day" or "month". It is related
2263
+ # to Timestamp in that the difference between two Timestamp values is a Duration
2264
+ # and it can be added or subtracted from a Timestamp. Range is approximately +-
2265
+ # 10,000 years.
2266
+ # # Examples
2267
+ # Example 1: Compute Duration from two Timestamps in pseudo code.
2268
+ # Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
2269
+ # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
2270
+ # start.nanos;
2271
+ # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
2272
+ # ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
2273
+ # 1; duration.nanos += 1000000000; `
2274
+ # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
2275
+ # Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
2276
+ # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
2277
+ # duration.nanos;
2278
+ # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
2279
+ # Example 3: Compute Duration from datetime.timedelta in Python.
2280
+ # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
2281
+ # FromTimedelta(td)
2282
+ # # JSON Mapping
2283
+ # In JSON format, the Duration type is encoded as a string rather than an object,
2284
+ # where the string ends in the suffix "s" (indicating seconds) and is preceded
2285
+ # by the number of seconds, with nanoseconds expressed as fractional seconds.
2286
+ # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
2287
+ # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
2288
+ # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
2289
+ # format as "3.000001s".
2290
+ # Corresponds to the JSON property `timeWindow`
2291
+ # @return [Google::Apis::ComputeBeta::GoogleDuration]
2292
+ attr_accessor :time_window
2293
+
2294
+ def initialize(**args)
2295
+ update!(**args)
2296
+ end
2297
+
2298
+ # Update properties of this object
2299
+ def update!(**args)
2300
+ @max_scaled_down_replicas = args[:max_scaled_down_replicas] if args.key?(:max_scaled_down_replicas)
2301
+ @time_window = args[:time_window] if args.key?(:time_window)
2302
+ end
2303
+ end
2304
+
2233
2305
  # Message containing information of one individual backend.
2234
2306
  class Backend
2235
2307
  include Google::Apis::Core::Hashable
@@ -2635,8 +2707,12 @@ module Google
2635
2707
  # Represents a Backend Service resource.
2636
2708
  # A backend service contains configuration values for Google Cloud Platform load
2637
2709
  # balancing services.
2710
+ # Backend services in Google Compute Engine can be either regionally or globally
2711
+ # scoped.
2712
+ # * [Global](/compute/docs/reference/rest/latest/backendServices) * [Regional](/
2713
+ # compute/docs/reference/rest/latest/regionBackendServices)
2638
2714
  # For more information, read Backend Services.
2639
- # (== resource_for v1.backendService ==) (== resource_for beta.backendService ==)
2715
+ # (== resource_for `$api_version`.backendService ==)
2640
2716
  class BackendService
2641
2717
  include Google::Apis::Core::Hashable
2642
2718
 
@@ -2714,9 +2790,11 @@ module Google
2714
2790
 
2715
2791
  # The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for
2716
2792
  # health checking this BackendService. Currently at most one health check can be
2717
- # specified, and a health check is required for Compute Engine backend services.
2718
- # A health check must not be specified for App Engine backend and Cloud Function
2719
- # backend.
2793
+ # specified. Health check is optional for Compute Engine backend services if
2794
+ # there is no backend. A health check must not be specified when adding Internet
2795
+ # Network Endpoint Group or Serverless Network Endpoint Group as backends. In
2796
+ # all other cases, a health check is required for Compute Engine backend
2797
+ # services.
2720
2798
  # For internal load balancing, a URL to a HealthCheck resource must be specified
2721
2799
  # instead.
2722
2800
  # Corresponds to the JSON property `healthChecks`
@@ -3116,6 +3194,11 @@ module Google
3116
3194
  class BackendServiceGroupHealth
3117
3195
  include Google::Apis::Core::Hashable
3118
3196
 
3197
+ # Metadata defined as annotations on the network endpoint group.
3198
+ # Corresponds to the JSON property `annotations`
3199
+ # @return [Hash<String,String>]
3200
+ attr_accessor :annotations
3201
+
3119
3202
  # Health state of the backend instances or endpoints in requested instance or
3120
3203
  # network endpoint group, determined based on configured health checks.
3121
3204
  # Corresponds to the JSON property `healthStatus`
@@ -3134,6 +3217,7 @@ module Google
3134
3217
 
3135
3218
  # Update properties of this object
3136
3219
  def update!(**args)
3220
+ @annotations = args[:annotations] if args.key?(:annotations)
3137
3221
  @health_status = args[:health_status] if args.key?(:health_status)
3138
3222
  @kind = args[:kind] if args.key?(:kind)
3139
3223
  end
@@ -3710,7 +3794,7 @@ module Google
3710
3794
  # * `group:`emailid``: An email address that represents a Google group. For
3711
3795
  # example, `admins@example.com`.
3712
3796
  # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
3713
- # identifier) representing a user that has been recently deleted. For example,`
3797
+ # identifier) representing a user that has been recently deleted. For example, `
3714
3798
  # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
3715
3799
  # value reverts to `user:`emailid`` and the recovered user retains the role in
3716
3800
  # the binding.
@@ -3894,8 +3978,8 @@ module Google
3894
3978
  # Creating a commitment resource means that you are purchasing a committed use
3895
3979
  # contract with an explicit start and end time. You can create commitments based
3896
3980
  # on vCPUs and memory usage and receive discounted rates. For full details, read
3897
- # Signing Up for Committed Use Discounts. (== resource_for beta.
3898
- # regionCommitments ==) (== resource_for v1.regionCommitments ==)
3981
+ # Signing Up for Committed Use Discounts. (== resource_for `$api_version`.
3982
+ # regionCommitments ==)
3899
3983
  class Commitment
3900
3984
  include Google::Apis::Core::Hashable
3901
3985
 
@@ -4525,8 +4609,8 @@ module Google
4525
4609
  # @return [Array<String>]
4526
4610
  attr_accessor :expose_headers
4527
4611
 
4528
- # Specifies how long the results of a preflight request can be cached. This
4529
- # translates to the content for the Access-Control-Max-Age header.
4612
+ # Specifies how long results of a preflight request can be cached in seconds.
4613
+ # This translates to the Access-Control-Max-Age header.
4530
4614
  # Corresponds to the JSON property `maxAge`
4531
4615
  # @return [Fixnum]
4532
4616
  attr_accessor :max_age
@@ -4684,15 +4768,17 @@ module Google
4684
4768
  end
4685
4769
 
4686
4770
  # Represents a Persistent Disk resource.
4771
+ # Google Compute Engine has two Disk resources:
4772
+ # * [Global](/compute/docs/reference/rest/latest/disks) * [Regional](/compute/
4773
+ # docs/reference/rest/latest/regionDisks)
4687
4774
  # Persistent disks are required for running your VM instances. Create both boot
4688
4775
  # and non-boot (data) persistent disks. For more information, read Persistent
4689
4776
  # Disks. For more storage options, read Storage options.
4690
4777
  # The disks resource represents a zonal persistent disk. For more information,
4691
4778
  # read Zonal persistent disks.
4692
4779
  # The regionDisks resource represents a regional persistent disk. For more
4693
- # information, read Regional resources. (== resource_for beta.disks ==) (==
4694
- # resource_for v1.disks ==) (== resource_for v1.regionDisks ==) (== resource_for
4695
- # beta.regionDisks ==)
4780
+ # information, read Regional resources. (== resource_for `$api_version`.disks ==
4781
+ # ) (== resource_for `$api_version`.regionDisks ==)
4696
4782
  class Disk
4697
4783
  include Google::Apis::Core::Hashable
4698
4784
 
@@ -5284,14 +5370,16 @@ module Google
5284
5370
  end
5285
5371
 
5286
5372
  # Represents a Disk Type resource.
5373
+ # Google Compute Engine has two Disk Type resources:
5374
+ # * [Global](/compute/docs/reference/rest/latest/diskTypes) * [Regional](/
5375
+ # compute/docs/reference/rest/latest/regionDiskTypes)
5287
5376
  # You can choose from a variety of disk types based on your needs. For more
5288
5377
  # information, read Storage options.
5289
5378
  # The diskTypes resource represents disk types for a zonal persistent disk. For
5290
5379
  # more information, read Zonal persistent disks.
5291
5380
  # The regionDiskTypes resource represents disk types for a regional persistent
5292
- # disk. For more information, read Regional persistent disks. (== resource_for
5293
- # beta.diskTypes ==) (== resource_for v1.diskTypes ==) (== resource_for v1.
5294
- # regionDiskTypes ==) (== resource_for beta.regionDiskTypes ==)
5381
+ # disk. For more information, read Regional persistent disks. (== resource_for `$
5382
+ # api_version`.diskTypes ==) (== resource_for `$api_version`.regionDiskTypes ==)
5295
5383
  class DiskType
5296
5384
  include Google::Apis::Core::Hashable
5297
5385
 
@@ -6152,7 +6240,7 @@ module Google
6152
6240
  end
6153
6241
 
6154
6242
  # External VPN gateway is the on-premises VPN gateway(s) or another cloud
6155
- # provider?s VPN gateway that connects to your Google Cloud VPN gateway. To
6243
+ # provider's VPN gateway that connects to your Google Cloud VPN gateway. To
6156
6244
  # create a highly available VPN from Google Cloud to your on-premises side or
6157
6245
  # another Cloud provider's VPN gateway, you must create a external VPN gateway
6158
6246
  # resource in GCP, which provides the information to GCP about your external VPN
@@ -6261,7 +6349,7 @@ module Google
6261
6349
 
6262
6350
  # IP address of the interface in the external VPN gateway. Only IPv4 is
6263
6351
  # supported. This IP address can be either from your on-premise gateway or
6264
- # another Cloud provider?s VPN gateway, it cannot be an IP address from Google
6352
+ # another Cloud provider's VPN gateway, it cannot be an IP address from Google
6265
6353
  # Compute Engine.
6266
6354
  # Corresponds to the JSON property `ipAddress`
6267
6355
  # @return [String]
@@ -6796,6 +6884,13 @@ module Google
6796
6884
  attr_accessor :enable
6797
6885
  alias_method :enable?, :enable
6798
6886
 
6887
+ # This field can only be specified for a particular firewall rule if logging is
6888
+ # enabled for that rule. This field denotes whether to include or exclude
6889
+ # metadata for firewall logs.
6890
+ # Corresponds to the JSON property `metadata`
6891
+ # @return [String]
6892
+ attr_accessor :metadata
6893
+
6799
6894
  def initialize(**args)
6800
6895
  update!(**args)
6801
6896
  end
@@ -6803,6 +6898,7 @@ module Google
6803
6898
  # Update properties of this object
6804
6899
  def update!(**args)
6805
6900
  @enable = args[:enable] if args.key?(:enable)
6901
+ @metadata = args[:metadata] if args.key?(:metadata)
6806
6902
  end
6807
6903
  end
6808
6904
 
@@ -6847,16 +6943,18 @@ module Google
6847
6943
  end
6848
6944
 
6849
6945
  # Represents a Forwarding Rule resource.
6946
+ # Forwarding rule resources in GCP can be either regional or global in scope:
6947
+ # * [Global](/compute/docs/reference/rest/latest/globalForwardingRules) * [
6948
+ # Regional](/compute/docs/reference/rest/latest/forwardingRules)
6850
6949
  # A forwarding rule and its corresponding IP address represent the frontend
6851
6950
  # configuration of a Google Cloud Platform load balancer. Forwarding rules can
6852
6951
  # also reference target instances and Cloud VPN Classic gateways (
6853
6952
  # targetVpnGateway).
6854
6953
  # For more information, read Forwarding rule concepts and Using protocol
6855
6954
  # forwarding.
6856
- # (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules =
6857
- # =) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.
6858
- # globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (==
6859
- # resource_for v1.regionForwardingRules ==)
6955
+ # (== resource_for `$api_version`.forwardingRules ==) (== resource_for `$
6956
+ # api_version`.globalForwardingRules ==) (== resource_for `$api_version`.
6957
+ # regionForwardingRules ==)
6860
6958
  class ForwardingRule
6861
6959
  include Google::Apis::Core::Hashable
6862
6960
 
@@ -6991,13 +7089,20 @@ module Google
6991
7089
  # @return [Hash<String,String>]
6992
7090
  attr_accessor :labels
6993
7091
 
6994
- # Specifies the forwarding rule type. EXTERNAL is used for: - Classic Cloud VPN
6995
- # gateways - Protocol forwarding to VMs from an external IP address - The
6996
- # following load balancers: HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP.
6997
- # INTERNAL is used for: - Protocol forwarding to VMs from an internal IP address
7092
+ # Specifies the forwarding rule type.
7093
+ #
7094
+ # - EXTERNAL is used for:
7095
+ # - Classic Cloud VPN gateways
7096
+ # - Protocol forwarding to VMs from an external IP address
7097
+ # - The following load balancers: HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/
7098
+ # UDP
7099
+ # - INTERNAL is used for:
7100
+ # - Protocol forwarding to VMs from an internal IP address
6998
7101
  # - Internal TCP/UDP load balancers
6999
- # INTERNAL_MANAGED is used for: - Internal HTTP(S) load balancers
7000
- # INTERNAL_SELF_MANAGED is used for: - Traffic Director
7102
+ # - INTERNAL_MANAGED is used for:
7103
+ # - Internal HTTP(S) load balancers
7104
+ # - >INTERNAL_SELF_MANAGED is used for:
7105
+ # - Traffic Director
7001
7106
  # For more information about forwarding rules, refer to Forwarding rule concepts.
7002
7107
  # Corresponds to the JSON property `loadBalancingScheme`
7003
7108
  # @return [String]
@@ -7131,8 +7236,8 @@ module Google
7131
7236
  # forwarding rules, this target must live in the same region as the forwarding
7132
7237
  # rule. For global forwarding rules, this target must be a global load balancing
7133
7238
  # resource. The forwarded traffic must be of a type appropriate to the target
7134
- # object. For INTERNAL_SELF_MANAGED load balancing, only HTTP and HTTPS targets
7135
- # are valid.
7239
+ # object. For INTERNAL_SELF_MANAGED load balancing, only targetHttpProxy is
7240
+ # valid, not targetHttpsProxy.
7136
7241
  # Corresponds to the JSON property `target`
7137
7242
  # @return [String]
7138
7243
  attr_accessor :target
@@ -7518,6 +7623,44 @@ module Google
7518
7623
  end
7519
7624
  end
7520
7625
 
7626
+ #
7627
+ class GlobalNetworkEndpointGroupsAttachEndpointsRequest
7628
+ include Google::Apis::Core::Hashable
7629
+
7630
+ # The list of network endpoints to be attached.
7631
+ # Corresponds to the JSON property `networkEndpoints`
7632
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEndpoint>]
7633
+ attr_accessor :network_endpoints
7634
+
7635
+ def initialize(**args)
7636
+ update!(**args)
7637
+ end
7638
+
7639
+ # Update properties of this object
7640
+ def update!(**args)
7641
+ @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
7642
+ end
7643
+ end
7644
+
7645
+ #
7646
+ class GlobalNetworkEndpointGroupsDetachEndpointsRequest
7647
+ include Google::Apis::Core::Hashable
7648
+
7649
+ # The list of network endpoints to be detached.
7650
+ # Corresponds to the JSON property `networkEndpoints`
7651
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEndpoint>]
7652
+ attr_accessor :network_endpoints
7653
+
7654
+ def initialize(**args)
7655
+ update!(**args)
7656
+ end
7657
+
7658
+ # Update properties of this object
7659
+ def update!(**args)
7660
+ @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
7661
+ end
7662
+ end
7663
+
7521
7664
  #
7522
7665
  class GlobalSetLabelsRequest
7523
7666
  include Google::Apis::Core::Hashable
@@ -7616,6 +7759,66 @@ module Google
7616
7759
  end
7617
7760
  end
7618
7761
 
7762
+ # A Duration represents a signed, fixed-length span of time represented as a
7763
+ # count of seconds and fractions of seconds at nanosecond resolution. It is
7764
+ # independent of any calendar and concepts like "day" or "month". It is related
7765
+ # to Timestamp in that the difference between two Timestamp values is a Duration
7766
+ # and it can be added or subtracted from a Timestamp. Range is approximately +-
7767
+ # 10,000 years.
7768
+ # # Examples
7769
+ # Example 1: Compute Duration from two Timestamps in pseudo code.
7770
+ # Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
7771
+ # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
7772
+ # start.nanos;
7773
+ # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
7774
+ # ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
7775
+ # 1; duration.nanos += 1000000000; `
7776
+ # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
7777
+ # Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
7778
+ # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
7779
+ # duration.nanos;
7780
+ # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
7781
+ # Example 3: Compute Duration from datetime.timedelta in Python.
7782
+ # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
7783
+ # FromTimedelta(td)
7784
+ # # JSON Mapping
7785
+ # In JSON format, the Duration type is encoded as a string rather than an object,
7786
+ # where the string ends in the suffix "s" (indicating seconds) and is preceded
7787
+ # by the number of seconds, with nanoseconds expressed as fractional seconds.
7788
+ # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
7789
+ # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
7790
+ # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
7791
+ # format as "3.000001s".
7792
+ class GoogleDuration
7793
+ include Google::Apis::Core::Hashable
7794
+
7795
+ # Signed fractions of a second at nanosecond resolution of the span of time.
7796
+ # Durations less than one second are represented with a 0 `seconds` field and a
7797
+ # positive or negative `nanos` field. For durations of one second or more, a non-
7798
+ # zero value for the `nanos` field must be of the same sign as the `seconds`
7799
+ # field. Must be from -999,999,999 to +999,999,999 inclusive.
7800
+ # Corresponds to the JSON property `nanos`
7801
+ # @return [Fixnum]
7802
+ attr_accessor :nanos
7803
+
7804
+ # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,
7805
+ # 000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/
7806
+ # hr * 24 hr/day * 365.25 days/year * 10000 years
7807
+ # Corresponds to the JSON property `seconds`
7808
+ # @return [Fixnum]
7809
+ attr_accessor :seconds
7810
+
7811
+ def initialize(**args)
7812
+ update!(**args)
7813
+ end
7814
+
7815
+ # Update properties of this object
7816
+ def update!(**args)
7817
+ @nanos = args[:nanos] if args.key?(:nanos)
7818
+ @seconds = args[:seconds] if args.key?(:seconds)
7819
+ end
7820
+ end
7821
+
7619
7822
  # A guest attributes entry.
7620
7823
  class GuestAttributes
7621
7824
  include Google::Apis::Core::Hashable
@@ -7762,20 +7965,13 @@ module Google
7762
7965
 
7763
7966
  # Specifies how port is selected for health checking, can be one of following
7764
7967
  # values:
7765
- # USE_FIXED_PORT: The port number in
7766
- # port
7767
- # is used for health checking.
7768
- # USE_NAMED_PORT: The
7769
- # portName
7770
- # is used for health checking.
7968
+ # USE_FIXED_PORT: The port number in port is used for health checking.
7969
+ # USE_NAMED_PORT: The portName is used for health checking.
7771
7970
  # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
7772
7971
  # network endpoint is used for health checking. For other backends, the port or
7773
7972
  # named port specified in the Backend Service is used for health checking.
7774
- # If not specified, HTTP2 health check follows behavior specified in
7775
- # port
7776
- # and
7777
- # portName
7778
- # fields.
7973
+ # If not specified, HTTP2 health check follows behavior specified in port and
7974
+ # portName fields.
7779
7975
  # Corresponds to the JSON property `portSpecification`
7780
7976
  # @return [String]
7781
7977
  attr_accessor :port_specification
@@ -7839,20 +8035,13 @@ module Google
7839
8035
 
7840
8036
  # Specifies how port is selected for health checking, can be one of following
7841
8037
  # values:
7842
- # USE_FIXED_PORT: The port number in
7843
- # port
7844
- # is used for health checking.
7845
- # USE_NAMED_PORT: The
7846
- # portName
7847
- # is used for health checking.
8038
+ # USE_FIXED_PORT: The port number in port is used for health checking.
8039
+ # USE_NAMED_PORT: The portName is used for health checking.
7848
8040
  # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
7849
8041
  # network endpoint is used for health checking. For other backends, the port or
7850
8042
  # named port specified in the Backend Service is used for health checking.
7851
- # If not specified, HTTP health check follows behavior specified in
7852
- # port
7853
- # and
7854
- # portName
7855
- # fields.
8043
+ # If not specified, HTTP health check follows behavior specified in port and
8044
+ # portName fields.
7856
8045
  # Corresponds to the JSON property `portSpecification`
7857
8046
  # @return [String]
7858
8047
  attr_accessor :port_specification
@@ -7916,20 +8105,13 @@ module Google
7916
8105
 
7917
8106
  # Specifies how port is selected for health checking, can be one of following
7918
8107
  # values:
7919
- # USE_FIXED_PORT: The port number in
7920
- # port
7921
- # is used for health checking.
7922
- # USE_NAMED_PORT: The
7923
- # portName
7924
- # is used for health checking.
8108
+ # USE_FIXED_PORT: The port number in port is used for health checking.
8109
+ # USE_NAMED_PORT: The portName is used for health checking.
7925
8110
  # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
7926
8111
  # network endpoint is used for health checking. For other backends, the port or
7927
8112
  # named port specified in the Backend Service is used for health checking.
7928
- # If not specified, HTTPS health check follows behavior specified in
7929
- # port
7930
- # and
7931
- # portName
7932
- # fields.
8113
+ # If not specified, HTTPS health check follows behavior specified in port and
8114
+ # portName fields.
7933
8115
  # Corresponds to the JSON property `portSpecification`
7934
8116
  # @return [String]
7935
8117
  attr_accessor :port_specification
@@ -7969,8 +8151,12 @@ module Google
7969
8151
  end
7970
8152
 
7971
8153
  # Represents a Health Check resource.
7972
- # Health checks are used for most GCP load balancers and managed instance group
7973
- # auto-healing. For more information, read Health Check Concepts.
8154
+ # Google Compute Engine has two Health Check resources:
8155
+ # * [Global](/compute/docs/reference/rest/latest/healthChecks) * [Regional](/
8156
+ # compute/docs/reference/rest/latest/regionHealthChecks)
8157
+ # Internal HTTP(S) load balancers use regional health checks. All other types of
8158
+ # GCP load balancers and managed instance group auto-healing use global health
8159
+ # checks. For more information, read Health Check Concepts.
7974
8160
  # To perform health checks on network load balancers, you must use either
7975
8161
  # httpHealthChecks or httpsHealthChecks.
7976
8162
  class HealthCheck
@@ -8024,6 +8210,12 @@ module Google
8024
8210
  # @return [String]
8025
8211
  attr_accessor :kind
8026
8212
 
8213
+ # Configuration of logging on a health check. If logging is enabled, logs will
8214
+ # be exported to Stackdriver.
8215
+ # Corresponds to the JSON property `logConfig`
8216
+ # @return [Google::Apis::ComputeBeta::HealthCheckLogConfig]
8217
+ attr_accessor :log_config
8218
+
8027
8219
  # Name of the resource. Provided by the client when the resource is created. The
8028
8220
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
8029
8221
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -8090,6 +8282,7 @@ module Google
8090
8282
  @https_health_check = args[:https_health_check] if args.key?(:https_health_check)
8091
8283
  @id = args[:id] if args.key?(:id)
8092
8284
  @kind = args[:kind] if args.key?(:kind)
8285
+ @log_config = args[:log_config] if args.key?(:log_config)
8093
8286
  @name = args[:name] if args.key?(:name)
8094
8287
  @region = args[:region] if args.key?(:region)
8095
8288
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -8218,30 +8411,304 @@ module Google
8218
8411
  end
8219
8412
  end
8220
8413
 
8221
- # A full or valid partial URL to a health check. For example, the following are
8222
- # valid URLs:
8223
- # - https://www.googleapis.com/compute/beta/projects/project-id/global/
8224
- # httpHealthChecks/health-check
8225
- # - projects/project-id/global/httpHealthChecks/health-check
8226
- # - global/httpHealthChecks/health-check
8227
- class HealthCheckReference
8228
- include Google::Apis::Core::Hashable
8229
-
8230
- #
8231
- # Corresponds to the JSON property `healthCheck`
8232
- # @return [String]
8233
- attr_accessor :health_check
8234
-
8235
- def initialize(**args)
8236
- update!(**args)
8237
- end
8238
-
8239
- # Update properties of this object
8240
- def update!(**args)
8241
- @health_check = args[:health_check] if args.key?(:health_check)
8242
- end
8243
- end
8244
-
8414
+ # Configuration of logging on a health check. If logging is enabled, logs will
8415
+ # be exported to Stackdriver.
8416
+ class HealthCheckLogConfig
8417
+ include Google::Apis::Core::Hashable
8418
+
8419
+ # Indicates whether or not to export logs. This is false by default, which means
8420
+ # no health check logging will be done.
8421
+ # Corresponds to the JSON property `enable`
8422
+ # @return [Boolean]
8423
+ attr_accessor :enable
8424
+ alias_method :enable?, :enable
8425
+
8426
+ def initialize(**args)
8427
+ update!(**args)
8428
+ end
8429
+
8430
+ # Update properties of this object
8431
+ def update!(**args)
8432
+ @enable = args[:enable] if args.key?(:enable)
8433
+ end
8434
+ end
8435
+
8436
+ # A full or valid partial URL to a health check. For example, the following are
8437
+ # valid URLs:
8438
+ # - https://www.googleapis.com/compute/beta/projects/project-id/global/
8439
+ # httpHealthChecks/health-check
8440
+ # - projects/project-id/global/httpHealthChecks/health-check
8441
+ # - global/httpHealthChecks/health-check
8442
+ class HealthCheckReference
8443
+ include Google::Apis::Core::Hashable
8444
+
8445
+ #
8446
+ # Corresponds to the JSON property `healthCheck`
8447
+ # @return [String]
8448
+ attr_accessor :health_check
8449
+
8450
+ def initialize(**args)
8451
+ update!(**args)
8452
+ end
8453
+
8454
+ # Update properties of this object
8455
+ def update!(**args)
8456
+ @health_check = args[:health_check] if args.key?(:health_check)
8457
+ end
8458
+ end
8459
+
8460
+ # A HealthCheckService defines a set of backends on which to perform periodic
8461
+ # health checks and an endpoint to which to send notification of changes in the
8462
+ # health status of the backends.
8463
+ class HealthCheckService
8464
+ include Google::Apis::Core::Hashable
8465
+
8466
+ # [Output Only] Creation timestamp in RFC3339 text format.
8467
+ # Corresponds to the JSON property `creationTimestamp`
8468
+ # @return [String]
8469
+ attr_accessor :creation_timestamp
8470
+
8471
+ # An optional description of this resource. Provide this property when you
8472
+ # create the resource.
8473
+ # Corresponds to the JSON property `description`
8474
+ # @return [String]
8475
+ attr_accessor :description
8476
+
8477
+ # Fingerprint of this resource. A hash of the contents stored in this object.
8478
+ # This field is used in optimistic locking. This field will be ignored when
8479
+ # inserting a HealthCheckService. An up-to-date fingerprint must be provided in
8480
+ # order to patch/update the HealthCheckService; Otherwise, the request will fail
8481
+ # with error 412 conditionNotMet. To see the latest fingerprint, make a get()
8482
+ # request to retrieve the HealthCheckService.
8483
+ # Corresponds to the JSON property `fingerprint`
8484
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
8485
+ # @return [String]
8486
+ attr_accessor :fingerprint
8487
+
8488
+ # List of URLs to the HealthCheck resources. Must have at least one HealthCheck,
8489
+ # and not more than 10. HealthCheck resources must have portSpecification=
8490
+ # USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be
8491
+ # regional and in the same region. For global HealthCheckService, HealthCheck
8492
+ # must be global. Mix of regional and global HealthChecks is not supported.
8493
+ # Multiple regional HealthChecks must belong to the same region. Regional
8494
+ # HealthChecks</code? must belong to the same region as zones of NEGs.
8495
+ # Corresponds to the JSON property `healthChecks`
8496
+ # @return [Array<String>]
8497
+ attr_accessor :health_checks
8498
+
8499
+ # Optional. Policy for how the results from multiple health checks for the same
8500
+ # endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified.
8501
+ # - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
8502
+ # the health check service.
8503
+ # - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the
8504
+ # HealthState of the entire health check service. If all backend's are healthy,
8505
+ # the HealthState of the health check service is HEALTHY. .
8506
+ # Corresponds to the JSON property `healthStatusAggregationPolicy`
8507
+ # @return [String]
8508
+ attr_accessor :health_status_aggregation_policy
8509
+
8510
+ # Policy for how the results from multiple health checks for the same endpoint
8511
+ # are aggregated.
8512
+ # - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
8513
+ # the health check service.
8514
+ # - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the
8515
+ # HealthState of the entire health check service. If all backend's are healthy,
8516
+ # the HealthState of the health check service is HEALTHY. .
8517
+ # Corresponds to the JSON property `healthStatusAggregationStrategy`
8518
+ # @return [Object]
8519
+ attr_accessor :health_status_aggregation_strategy
8520
+
8521
+ # [Output Only] The unique identifier for the resource. This identifier is
8522
+ # defined by the server.
8523
+ # Corresponds to the JSON property `id`
8524
+ # @return [Fixnum]
8525
+ attr_accessor :id
8526
+
8527
+ # [Output only] Type of the resource. Always compute#healthCheckServicefor
8528
+ # health check services.
8529
+ # Corresponds to the JSON property `kind`
8530
+ # @return [String]
8531
+ attr_accessor :kind
8532
+
8533
+ # Name of the resource. The name must be 1-63 characters long, and comply with
8534
+ # RFC1035. Specifically, the name must be 1-63 characters long and match the
8535
+ # regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
8536
+ # character must be a lowercase letter, and all following characters must be a
8537
+ # dash, lowercase letter, or digit, except the last character, which cannot be a
8538
+ # dash.
8539
+ # Corresponds to the JSON property `name`
8540
+ # @return [String]
8541
+ attr_accessor :name
8542
+
8543
+ # List of URLs to the NetworkEndpointGroup resources. Must not have more than
8544
+ # 100. For regional HealthCheckService, NEGs must be in zones in the region of
8545
+ # the HealthCheckService.
8546
+ # Corresponds to the JSON property `networkEndpointGroups`
8547
+ # @return [Array<String>]
8548
+ attr_accessor :network_endpoint_groups
8549
+
8550
+ # List of URLs to the NotificationEndpoint resources. Must not have more than 10.
8551
+ # A list of endpoints for receiving notifications of change in health status.
8552
+ # For regional HealthCheckService, NotificationEndpoint must be regional and in
8553
+ # the same region. For global HealthCheckService, NotificationEndpoint must be
8554
+ # global.
8555
+ # Corresponds to the JSON property `notificationEndpoints`
8556
+ # @return [Array<String>]
8557
+ attr_accessor :notification_endpoints
8558
+
8559
+ # [Output Only] URL of the region where the health check service resides. This
8560
+ # field is not applicable to global health check services. You must specify this
8561
+ # field as part of the HTTP request URL. It is not settable as a field in the
8562
+ # request body.
8563
+ # Corresponds to the JSON property `region`
8564
+ # @return [String]
8565
+ attr_accessor :region
8566
+
8567
+ # [Output Only] Server-defined URL for the resource.
8568
+ # Corresponds to the JSON property `selfLink`
8569
+ # @return [String]
8570
+ attr_accessor :self_link
8571
+
8572
+ def initialize(**args)
8573
+ update!(**args)
8574
+ end
8575
+
8576
+ # Update properties of this object
8577
+ def update!(**args)
8578
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
8579
+ @description = args[:description] if args.key?(:description)
8580
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
8581
+ @health_checks = args[:health_checks] if args.key?(:health_checks)
8582
+ @health_status_aggregation_policy = args[:health_status_aggregation_policy] if args.key?(:health_status_aggregation_policy)
8583
+ @health_status_aggregation_strategy = args[:health_status_aggregation_strategy] if args.key?(:health_status_aggregation_strategy)
8584
+ @id = args[:id] if args.key?(:id)
8585
+ @kind = args[:kind] if args.key?(:kind)
8586
+ @name = args[:name] if args.key?(:name)
8587
+ @network_endpoint_groups = args[:network_endpoint_groups] if args.key?(:network_endpoint_groups)
8588
+ @notification_endpoints = args[:notification_endpoints] if args.key?(:notification_endpoints)
8589
+ @region = args[:region] if args.key?(:region)
8590
+ @self_link = args[:self_link] if args.key?(:self_link)
8591
+ end
8592
+ end
8593
+
8594
+ #
8595
+ class HealthCheckServicesList
8596
+ include Google::Apis::Core::Hashable
8597
+
8598
+ # [Output Only] Unique identifier for the resource; defined by the server.
8599
+ # Corresponds to the JSON property `id`
8600
+ # @return [String]
8601
+ attr_accessor :id
8602
+
8603
+ # A list of HealthCheckService resources.
8604
+ # Corresponds to the JSON property `items`
8605
+ # @return [Array<Google::Apis::ComputeBeta::HealthCheckService>]
8606
+ attr_accessor :items
8607
+
8608
+ # [Output Only] Type of the resource. Always compute#healthCheckServicesList for
8609
+ # lists of HealthCheckServices.
8610
+ # Corresponds to the JSON property `kind`
8611
+ # @return [String]
8612
+ attr_accessor :kind
8613
+
8614
+ # [Output Only] This token allows you to get the next page of results for list
8615
+ # requests. If the number of results is larger than maxResults, use the
8616
+ # nextPageToken as a value for the query parameter pageToken in the next list
8617
+ # request. Subsequent list requests will have their own nextPageToken to
8618
+ # continue paging through the results.
8619
+ # Corresponds to the JSON property `nextPageToken`
8620
+ # @return [String]
8621
+ attr_accessor :next_page_token
8622
+
8623
+ # [Output Only] Server-defined URL for this resource.
8624
+ # Corresponds to the JSON property `selfLink`
8625
+ # @return [String]
8626
+ attr_accessor :self_link
8627
+
8628
+ # [Output Only] Informational warning message.
8629
+ # Corresponds to the JSON property `warning`
8630
+ # @return [Google::Apis::ComputeBeta::HealthCheckServicesList::Warning]
8631
+ attr_accessor :warning
8632
+
8633
+ def initialize(**args)
8634
+ update!(**args)
8635
+ end
8636
+
8637
+ # Update properties of this object
8638
+ def update!(**args)
8639
+ @id = args[:id] if args.key?(:id)
8640
+ @items = args[:items] if args.key?(:items)
8641
+ @kind = args[:kind] if args.key?(:kind)
8642
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8643
+ @self_link = args[:self_link] if args.key?(:self_link)
8644
+ @warning = args[:warning] if args.key?(:warning)
8645
+ end
8646
+
8647
+ # [Output Only] Informational warning message.
8648
+ class Warning
8649
+ include Google::Apis::Core::Hashable
8650
+
8651
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
8652
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
8653
+ # Corresponds to the JSON property `code`
8654
+ # @return [String]
8655
+ attr_accessor :code
8656
+
8657
+ # [Output Only] Metadata about this warning in key: value format. For example:
8658
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
8659
+ # Corresponds to the JSON property `data`
8660
+ # @return [Array<Google::Apis::ComputeBeta::HealthCheckServicesList::Warning::Datum>]
8661
+ attr_accessor :data
8662
+
8663
+ # [Output Only] A human-readable description of the warning code.
8664
+ # Corresponds to the JSON property `message`
8665
+ # @return [String]
8666
+ attr_accessor :message
8667
+
8668
+ def initialize(**args)
8669
+ update!(**args)
8670
+ end
8671
+
8672
+ # Update properties of this object
8673
+ def update!(**args)
8674
+ @code = args[:code] if args.key?(:code)
8675
+ @data = args[:data] if args.key?(:data)
8676
+ @message = args[:message] if args.key?(:message)
8677
+ end
8678
+
8679
+ #
8680
+ class Datum
8681
+ include Google::Apis::Core::Hashable
8682
+
8683
+ # [Output Only] A key that provides more detail on the warning being returned.
8684
+ # For example, for warnings where there are no results in a list request for a
8685
+ # particular zone, this key might be scope and the key value might be the zone
8686
+ # name. Other examples might be a key indicating a deprecated resource and a
8687
+ # suggested replacement, or a warning about invalid network settings (for
8688
+ # example, if an instance attempts to perform IP forwarding but is not enabled
8689
+ # for IP forwarding).
8690
+ # Corresponds to the JSON property `key`
8691
+ # @return [String]
8692
+ attr_accessor :key
8693
+
8694
+ # [Output Only] A warning data value corresponding to the key.
8695
+ # Corresponds to the JSON property `value`
8696
+ # @return [String]
8697
+ attr_accessor :value
8698
+
8699
+ def initialize(**args)
8700
+ update!(**args)
8701
+ end
8702
+
8703
+ # Update properties of this object
8704
+ def update!(**args)
8705
+ @key = args[:key] if args.key?(:key)
8706
+ @value = args[:value] if args.key?(:value)
8707
+ end
8708
+ end
8709
+ end
8710
+ end
8711
+
8245
8712
  #
8246
8713
  class HealthChecksAggregatedList
8247
8714
  include Google::Apis::Core::Hashable
@@ -8454,6 +8921,11 @@ module Google
8454
8921
  class HealthStatus
8455
8922
  include Google::Apis::Core::Hashable
8456
8923
 
8924
+ # Metadata defined as annotations for network endpoint.
8925
+ # Corresponds to the JSON property `annotations`
8926
+ # @return [Hash<String,String>]
8927
+ attr_accessor :annotations
8928
+
8457
8929
  # Health state of the instance.
8458
8930
  # Corresponds to the JSON property `healthState`
8459
8931
  # @return [String]
@@ -8480,6 +8952,7 @@ module Google
8480
8952
 
8481
8953
  # Update properties of this object
8482
8954
  def update!(**args)
8955
+ @annotations = args[:annotations] if args.key?(:annotations)
8483
8956
  @health_state = args[:health_state] if args.key?(:health_state)
8484
8957
  @instance = args[:instance] if args.key?(:instance)
8485
8958
  @ip_address = args[:ip_address] if args.key?(:ip_address)
@@ -8749,7 +9222,7 @@ module Google
8749
9222
  # @return [Google::Apis::ComputeBeta::Int64RangeMatch]
8750
9223
  attr_accessor :range_match
8751
9224
 
8752
- # The value of the header must match the regualar expression specified in
9225
+ # The value of the header must match the regular expression specified in
8753
9226
  # regexMatch. For regular expression grammar, please see: en.cppreference.com/w/
8754
9227
  # cpp/regex/ecmascript
8755
9228
  # For matching against a port specified in the HTTP request, use a headerMatch
@@ -8757,6 +9230,8 @@ module Google
8757
9230
  # RFC2616 Host header's port specifier.
8758
9231
  # Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or
8759
9232
  # rangeMatch must be set.
9233
+ # Note that regexMatch only applies to Loadbalancers that have their
9234
+ # loadBalancingScheme set to INTERNAL_SELF_MANAGED.
8760
9235
  # Corresponds to the JSON property `regexMatch`
8761
9236
  # @return [String]
8762
9237
  attr_accessor :regex_match
@@ -9074,6 +9549,8 @@ module Google
9074
9549
  # regular expression specified by regexMatch. For the regular expression grammar,
9075
9550
  # please see en.cppreference.com/w/cpp/regex/ecmascript
9076
9551
  # Only one of presentMatch, exactMatch or regexMatch must be set.
9552
+ # Note that regexMatch only applies when the loadBalancingScheme is set to
9553
+ # INTERNAL_SELF_MANAGED.
9077
9554
  # Corresponds to the JSON property `regexMatch`
9078
9555
  # @return [String]
9079
9556
  attr_accessor :regex_match
@@ -9115,7 +9592,9 @@ module Google
9115
9592
 
9116
9593
  # The path that will be used in the redirect response instead of the one that
9117
9594
  # was supplied in the request.
9118
- # Only one of pathRedirect or prefixRedirect must be specified.
9595
+ # pathRedirect cannot be supplied together with prefixRedirect. Supply one alone
9596
+ # or neither. If neither is supplied, the path of the original request will be
9597
+ # used for the redirect.
9119
9598
  # The value must be between 1 and 1024 characters.
9120
9599
  # Corresponds to the JSON property `pathRedirect`
9121
9600
  # @return [String]
@@ -9123,6 +9602,10 @@ module Google
9123
9602
 
9124
9603
  # The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch,
9125
9604
  # retaining the remaining portion of the URL before redirecting the request.
9605
+ # prefixRedirect cannot be supplied together with pathRedirect. Supply one alone
9606
+ # or neither. If neither is supplied, the path of the original request will be
9607
+ # used for the redirect.
9608
+ # The value must be between 1 and 1024 characters.
9126
9609
  # Corresponds to the JSON property `prefixRedirect`
9127
9610
  # @return [String]
9128
9611
  attr_accessor :prefix_redirect
@@ -9445,6 +9928,8 @@ module Google
9445
9928
  # parameters and anchor supplied with the original URL. For regular expression
9446
9929
  # grammar please see en.cppreference.com/w/cpp/regex/ecmascript
9447
9930
  # Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
9931
+ # Note that regexMatch only applies to Loadbalancers that have their
9932
+ # loadBalancingScheme set to INTERNAL_SELF_MANAGED.
9448
9933
  # Corresponds to the JSON property `regexMatch`
9449
9934
  # @return [String]
9450
9935
  attr_accessor :regex_match
@@ -9691,8 +10176,7 @@ module Google
9691
10176
 
9692
10177
  # Represents an Image resource.
9693
10178
  # You can use images to create boot disks for your VM instances. For more
9694
- # information, read Images. (== resource_for beta.images ==) (== resource_for v1.
9695
- # images ==)
10179
+ # information, read Images. (== resource_for `$api_version`.images ==)
9696
10180
  class Image
9697
10181
  include Google::Apis::Core::Hashable
9698
10182
 
@@ -10079,8 +10563,8 @@ module Google
10079
10563
 
10080
10564
  # Represents an Instance resource.
10081
10565
  # An instance is a virtual machine that is hosted on Google Cloud Platform. For
10082
- # more information, read Virtual Machine Instances. (== resource_for beta.
10083
- # instances ==) (== resource_for v1.instances ==)
10566
+ # more information, read Virtual Machine Instances. (== resource_for `$
10567
+ # api_version`.instances ==)
10084
10568
  class Instance
10085
10569
  include Google::Apis::Core::Hashable
10086
10570
 
@@ -10225,6 +10709,11 @@ module Google
10225
10709
  # @return [Google::Apis::ComputeBeta::ReservationAffinity]
10226
10710
  attr_accessor :reservation_affinity
10227
10711
 
10712
+ # Resource policies applied to this instance.
10713
+ # Corresponds to the JSON property `resourcePolicies`
10714
+ # @return [Array<String>]
10715
+ attr_accessor :resource_policies
10716
+
10228
10717
  # Sets the scheduling options for an Instance. NextID: 9
10229
10718
  # Corresponds to the JSON property `scheduling`
10230
10719
  # @return [Google::Apis::ComputeBeta::Scheduling]
@@ -10333,6 +10822,7 @@ module Google
10333
10822
  @name = args[:name] if args.key?(:name)
10334
10823
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
10335
10824
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
10825
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
10336
10826
  @scheduling = args[:scheduling] if args.key?(:scheduling)
10337
10827
  @self_link = args[:self_link] if args.key?(:self_link)
10338
10828
  @service_accounts = args[:service_accounts] if args.key?(:service_accounts)
@@ -10477,9 +10967,8 @@ module Google
10477
10967
  # groups of heterogeneous instances or if you need to manage the instances
10478
10968
  # yourself. You cannot create regional unmanaged instance groups.
10479
10969
  # For more information, read Instance groups.
10480
- # (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==)
10481
- # (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.
10482
- # regionInstanceGroups ==)
10970
+ # (== resource_for `$api_version`.instanceGroups ==) (== resource_for `$
10971
+ # api_version`.regionInstanceGroups ==)
10483
10972
  class InstanceGroup
10484
10973
  include Google::Apis::Core::Hashable
10485
10974
 
@@ -10826,9 +11315,8 @@ module Google
10826
11315
  # single entity. For more information, read Instance groups.
10827
11316
  # For zonal Managed Instance Group, use the instanceGroupManagers resource.
10828
11317
  # For regional Managed Instance Group, use the regionInstanceGroupManagers
10829
- # resource. (== resource_for beta.instanceGroupManagers ==) (== resource_for v1.
10830
- # instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==)
10831
- # (== resource_for v1.regionInstanceGroupManagers ==)
11318
+ # resource. (== resource_for `$api_version`.instanceGroupManagers ==) (==
11319
+ # resource_for `$api_version`.regionInstanceGroupManagers ==)
10832
11320
  class InstanceGroupManager
10833
11321
  include Google::Apis::Core::Hashable
10834
11322
 
@@ -11440,6 +11928,12 @@ module Google
11440
11928
  class InstanceGroupManagerStatus
11441
11929
  include Google::Apis::Core::Hashable
11442
11930
 
11931
+ # [Output Only] The URL of the Autoscaler that targets this instance group
11932
+ # manager.
11933
+ # Corresponds to the JSON property `autoscaler`
11934
+ # @return [String]
11935
+ attr_accessor :autoscaler
11936
+
11443
11937
  # [Output Only] A bit indicating whether the managed instance group is in a
11444
11938
  # stable state. A stable state means that: none of the instances in the managed
11445
11939
  # instance group is currently undergoing any type of change (for example,
@@ -11468,6 +11962,7 @@ module Google
11468
11962
 
11469
11963
  # Update properties of this object
11470
11964
  def update!(**args)
11965
+ @autoscaler = args[:autoscaler] if args.key?(:autoscaler)
11471
11966
  @is_stable = args[:is_stable] if args.key?(:is_stable)
11472
11967
  @stateful = args[:stateful] if args.key?(:stateful)
11473
11968
  @version_target = args[:version_target] if args.key?(:version_target)
@@ -12992,8 +13487,8 @@ module Google
12992
13487
 
12993
13488
  # Represents an Instance Template resource.
12994
13489
  # You can use instance templates to create VM instances and managed instance
12995
- # groups. For more information, read Instance Templates. (== resource_for beta.
12996
- # instanceTemplates ==) (== resource_for v1.instanceTemplates ==)
13490
+ # groups. For more information, read Instance Templates. (== resource_for `$
13491
+ # api_version`.instanceTemplates ==)
12997
13492
  class InstanceTemplate
12998
13493
  include Google::Apis::Core::Hashable
12999
13494
 
@@ -13510,8 +14005,7 @@ module Google
13510
14005
  # Represents an Interconnect resource.
13511
14006
  # An Interconnect resource is a dedicated connection between the GCP network and
13512
14007
  # your on-premises network. For more information, read the Dedicated
13513
- # Interconnect Overview. (== resource_for v1.interconnects ==) (== resource_for
13514
- # beta.interconnects ==)
14008
+ # Interconnect Overview. (== resource_for `$api_version`.interconnects ==)
13515
14009
  class Interconnect
13516
14010
  include Google::Apis::Core::Hashable
13517
14011
 
@@ -13727,8 +14221,8 @@ module Google
13727
14221
  # Represents an Interconnect Attachment (VLAN) resource.
13728
14222
  # You can use Interconnect attachments (VLANS) to connect your Virtual Private
13729
14223
  # Cloud networks to your on-premises networks through an Interconnect. For more
13730
- # information, read Creating VLAN Attachments. (== resource_for beta.
13731
- # interconnectAttachments ==) (== resource_for v1.interconnectAttachments ==)
14224
+ # information, read Creating VLAN Attachments. (== resource_for `$api_version`.
14225
+ # interconnectAttachments ==)
13732
14226
  class InterconnectAttachment
13733
14227
  include Google::Apis::Core::Hashable
13734
14228
 
@@ -13765,7 +14259,7 @@ module Google
13765
14259
  # prefixes must be within link-local address space (169.254.0.0/16) and must be /
13766
14260
  # 29 or shorter (/28, /27, etc). Google will attempt to select an unused /29
13767
14261
  # from the supplied candidate prefix(es). The request will fail if all possible /
13768
- # 29s are in use on Google?s edge. If not supplied, Google will randomly select
14262
+ # 29s are in use on Google's edge. If not supplied, Google will randomly select
13769
14263
  # an unused /29 from all of link-local space.
13770
14264
  # Corresponds to the JSON property `candidateSubnets`
13771
14265
  # @return [Array<String>]
@@ -14236,7 +14730,7 @@ module Google
14236
14730
  include Google::Apis::Core::Hashable
14237
14731
 
14238
14732
  # Plain text name of the Interconnect this attachment is connected to, as
14239
- # displayed in the Partner?s portal. For instance "Chicago 1". This value may be
14733
+ # displayed in the Partner's portal. For instance "Chicago 1". This value may be
14240
14734
  # validated to match approved Partner values.
14241
14735
  # Corresponds to the JSON property `interconnectName`
14242
14736
  # @return [String]
@@ -14248,7 +14742,7 @@ module Google
14248
14742
  # @return [String]
14249
14743
  attr_accessor :partner_name
14250
14744
 
14251
- # URL of the Partner?s portal for this Attachment. Partners may customise this
14745
+ # URL of the Partner's portal for this Attachment. Partners may customise this
14252
14746
  # to be a deep link to the specific resource on the Partner portal. This value
14253
14747
  # may be validated to match approved Partner values.
14254
14748
  # Corresponds to the JSON property `portalUrl`
@@ -14414,7 +14908,7 @@ module Google
14414
14908
  end
14415
14909
 
14416
14910
  # Diagnostics information about interconnect, contains detailed and current
14417
- # technical information about Google?s side of the connection.
14911
+ # technical information about Google's side of the connection.
14418
14912
  class InterconnectDiagnostics
14419
14913
  include Google::Apis::Core::Hashable
14420
14914
 
@@ -14477,12 +14971,12 @@ module Google
14477
14971
  class InterconnectDiagnosticsLinkLacpStatus
14478
14972
  include Google::Apis::Core::Hashable
14479
14973
 
14480
- # System ID of the port on Google?s side of the LACP exchange.
14974
+ # System ID of the port on Google's side of the LACP exchange.
14481
14975
  # Corresponds to the JSON property `googleSystemId`
14482
14976
  # @return [String]
14483
14977
  attr_accessor :google_system_id
14484
14978
 
14485
- # System ID of the port on the neighbor?s side of the LACP exchange.
14979
+ # System ID of the port on the neighbor's side of the LACP exchange.
14486
14980
  # Corresponds to the JSON property `neighborSystemId`
14487
14981
  # @return [String]
14488
14982
  attr_accessor :neighbor_system_id
@@ -15070,7 +15564,7 @@ module Google
15070
15564
  include Google::Apis::Core::Hashable
15071
15565
 
15072
15566
  # Diagnostics information about interconnect, contains detailed and current
15073
- # technical information about Google?s side of the connection.
15567
+ # technical information about Google's side of the connection.
15074
15568
  # Corresponds to the JSON property `result`
15075
15569
  # @return [Google::Apis::ComputeBeta::InterconnectDiagnostics]
15076
15570
  attr_accessor :result
@@ -15804,7 +16298,7 @@ module Google
15804
16298
  # Represents a Machine Type resource.
15805
16299
  # You can use specific machine types for your VM instances based on performance
15806
16300
  # and pricing requirements. For more information, read Machine Types. (==
15807
- # resource_for v1.machineTypes ==) (== resource_for beta.machineTypes ==)
16301
+ # resource_for `$api_version`.machineTypes ==)
15808
16302
  class MachineType
15809
16303
  include Google::Apis::Core::Hashable
15810
16304
 
@@ -16616,8 +17110,8 @@ module Google
16616
17110
 
16617
17111
  # Represents a VPC Network resource.
16618
17112
  # Networks connect resources to each other and to the internet. For more
16619
- # information, read Virtual Private Cloud (VPC) Network. (== resource_for v1.
16620
- # networks ==) (== resource_for beta.networks ==)
17113
+ # information, read Virtual Private Cloud (VPC) Network. (== resource_for `$
17114
+ # api_version`.networks ==)
16621
17115
  class Network
16622
17116
  include Google::Apis::Core::Hashable
16623
17117
 
@@ -16723,6 +17217,17 @@ module Google
16723
17217
  class NetworkEndpoint
16724
17218
  include Google::Apis::Core::Hashable
16725
17219
 
17220
+ # Metadata defined as annotations on the network endpoint.
17221
+ # Corresponds to the JSON property `annotations`
17222
+ # @return [Hash<String,String>]
17223
+ attr_accessor :annotations
17224
+
17225
+ # Optional fully qualified domain name of network endpoint. This can only be
17226
+ # specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
17227
+ # Corresponds to the JSON property `fqdn`
17228
+ # @return [String]
17229
+ attr_accessor :fqdn
17230
+
16726
17231
  # The name for a specific VM instance that the IP address belongs to. This is
16727
17232
  # required for network endpoints of type GCE_VM_IP_PORT. The instance must be in
16728
17233
  # the same zone of network endpoint group.
@@ -16753,6 +17258,8 @@ module Google
16753
17258
 
16754
17259
  # Update properties of this object
16755
17260
  def update!(**args)
17261
+ @annotations = args[:annotations] if args.key?(:annotations)
17262
+ @fqdn = args[:fqdn] if args.key?(:fqdn)
16756
17263
  @instance = args[:instance] if args.key?(:instance)
16757
17264
  @ip_address = args[:ip_address] if args.key?(:ip_address)
16758
17265
  @port = args[:port] if args.key?(:port)
@@ -16761,11 +17268,15 @@ module Google
16761
17268
 
16762
17269
  # Represents a collection of network endpoints.
16763
17270
  # For more information read Setting up network endpoint groups in load balancing.
16764
- # (== resource_for v1.networkEndpointGroups ==) (== resource_for beta.
16765
- # networkEndpointGroups ==) Next ID: 21
17271
+ # (== resource_for `$api_version`.networkEndpointGroups ==) Next ID: 21
16766
17272
  class NetworkEndpointGroup
16767
17273
  include Google::Apis::Core::Hashable
16768
17274
 
17275
+ # Metadata defined as annotations on the network endpoint group.
17276
+ # Corresponds to the JSON property `annotations`
17277
+ # @return [Hash<String,String>]
17278
+ attr_accessor :annotations
17279
+
16769
17280
  # [Output Only] Creation timestamp in RFC3339 text format.
16770
17281
  # Corresponds to the JSON property `creationTimestamp`
16771
17282
  # @return [String]
@@ -16849,6 +17360,7 @@ module Google
16849
17360
 
16850
17361
  # Update properties of this object
16851
17362
  def update!(**args)
17363
+ @annotations = args[:annotations] if args.key?(:annotations)
16852
17364
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
16853
17365
  @default_port = args[:default_port] if args.key?(:default_port)
16854
17366
  @description = args[:description] if args.key?(:description)
@@ -17844,8 +18356,7 @@ module Google
17844
18356
  # instances only for your specific project. Use sole-tenant nodes to keep your
17845
18357
  # instances physically separated from instances in other projects, or to group
17846
18358
  # your instances together on the same host hardware. For more information, read
17847
- # Sole-tenant nodes. (== resource_for beta.nodeGroups ==) (== resource_for v1.
17848
- # nodeGroups ==)
18359
+ # Sole-tenant nodes. (== resource_for `$api_version`.nodeGroups ==)
17849
18360
  class NodeGroup
17850
18361
  include Google::Apis::Core::Hashable
17851
18362
 
@@ -18533,8 +19044,8 @@ module Google
18533
19044
 
18534
19045
  # Represent a sole-tenant Node Template resource.
18535
19046
  # You can use a template to define properties for nodes in a node group. For
18536
- # more information, read Creating node groups and instances. (== resource_for
18537
- # beta.nodeTemplates ==) (== resource_for v1.nodeTemplates ==)
19047
+ # more information, read Creating node groups and instances. (== resource_for `$
19048
+ # api_version`.nodeTemplates ==) (== NextID: 18 ==)
18538
19049
  class NodeTemplate
18539
19050
  include Google::Apis::Core::Hashable
18540
19051
 
@@ -19007,7 +19518,7 @@ module Google
19007
19518
  # total amount of cores and memory for that node. Currently, the only available
19008
19519
  # node type is n1-node-96-624 node type that has 96 vCPUs and 624 GB of memory,
19009
19520
  # available in multiple zones. For more information read Node types. (==
19010
- # resource_for beta.nodeTypes ==) (== resource_for v1.nodeTypes ==)
19521
+ # resource_for `$api_version`.nodeTypes ==)
19011
19522
  class NodeType
19012
19523
  include Google::Apis::Core::Hashable
19013
19524
 
@@ -19422,7 +19933,256 @@ module Google
19422
19933
  end
19423
19934
  end
19424
19935
 
19936
+ # A notification endpoint resource defines an endpoint to receive notifications
19937
+ # when there are status changes detected by the associated health check service.
19938
+ class NotificationEndpoint
19939
+ include Google::Apis::Core::Hashable
19940
+
19941
+ # [Output Only] Creation timestamp in RFC3339 text format.
19942
+ # Corresponds to the JSON property `creationTimestamp`
19943
+ # @return [String]
19944
+ attr_accessor :creation_timestamp
19945
+
19946
+ # An optional description of this resource. Provide this property when you
19947
+ # create the resource.
19948
+ # Corresponds to the JSON property `description`
19949
+ # @return [String]
19950
+ attr_accessor :description
19951
+
19952
+ # Represents a gRPC setting that describes one gRPC notification endpoint and
19953
+ # the retry duration attempting to send notification to this endpoint.
19954
+ # Corresponds to the JSON property `grpcSettings`
19955
+ # @return [Google::Apis::ComputeBeta::NotificationEndpointGrpcSettings]
19956
+ attr_accessor :grpc_settings
19957
+
19958
+ # [Output Only] A unique identifier for this resource type. The server generates
19959
+ # this identifier.
19960
+ # Corresponds to the JSON property `id`
19961
+ # @return [Fixnum]
19962
+ attr_accessor :id
19963
+
19964
+ # [Output Only] Type of the resource. Always compute#notificationEndpoint for
19965
+ # notification endpoints.
19966
+ # Corresponds to the JSON property `kind`
19967
+ # @return [String]
19968
+ attr_accessor :kind
19969
+
19970
+ # Name of the resource. Provided by the client when the resource is created. The
19971
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
19972
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
19973
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
19974
+ # and all following characters must be a dash, lowercase letter, or digit,
19975
+ # except the last character, which cannot be a dash.
19976
+ # Corresponds to the JSON property `name`
19977
+ # @return [String]
19978
+ attr_accessor :name
19979
+
19980
+ # [Output Only] URL of the region where the notification endpoint resides. This
19981
+ # field applies only to the regional resource. You must specify this field as
19982
+ # part of the HTTP request URL. It is not settable as a field in the request
19983
+ # body.
19984
+ # Corresponds to the JSON property `region`
19985
+ # @return [String]
19986
+ attr_accessor :region
19987
+
19988
+ # [Output Only] Server-defined URL for the resource.
19989
+ # Corresponds to the JSON property `selfLink`
19990
+ # @return [String]
19991
+ attr_accessor :self_link
19992
+
19993
+ def initialize(**args)
19994
+ update!(**args)
19995
+ end
19996
+
19997
+ # Update properties of this object
19998
+ def update!(**args)
19999
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
20000
+ @description = args[:description] if args.key?(:description)
20001
+ @grpc_settings = args[:grpc_settings] if args.key?(:grpc_settings)
20002
+ @id = args[:id] if args.key?(:id)
20003
+ @kind = args[:kind] if args.key?(:kind)
20004
+ @name = args[:name] if args.key?(:name)
20005
+ @region = args[:region] if args.key?(:region)
20006
+ @self_link = args[:self_link] if args.key?(:self_link)
20007
+ end
20008
+ end
20009
+
20010
+ # Represents a gRPC setting that describes one gRPC notification endpoint and
20011
+ # the retry duration attempting to send notification to this endpoint.
20012
+ class NotificationEndpointGrpcSettings
20013
+ include Google::Apis::Core::Hashable
20014
+
20015
+ # Optional. If specified, this field is used to set the authority header by the
20016
+ # sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.
20017
+ # 3
20018
+ # Corresponds to the JSON property `authority`
20019
+ # @return [String]
20020
+ attr_accessor :authority
20021
+
20022
+ # Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS
20023
+ # name.
20024
+ # Corresponds to the JSON property `endpoint`
20025
+ # @return [String]
20026
+ attr_accessor :endpoint
20027
+
20028
+ # Optional. If specified, this field is used to populate the "name" field in
20029
+ # gRPC requests.
20030
+ # Corresponds to the JSON property `payloadName`
20031
+ # @return [String]
20032
+ attr_accessor :payload_name
20033
+
20034
+ # A Duration represents a fixed-length span of time represented as a count of
20035
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
20036
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
20037
+ # 000 years.
20038
+ # Corresponds to the JSON property `resendInterval`
20039
+ # @return [Google::Apis::ComputeBeta::Duration]
20040
+ attr_accessor :resend_interval
20041
+
20042
+ # How much time (in seconds) is spent attempting notification retries until a
20043
+ # successful response is received. Default is 30s. Limit is 20m (1200s). Must be
20044
+ # a positive number.
20045
+ # Corresponds to the JSON property `retryDurationSec`
20046
+ # @return [Fixnum]
20047
+ attr_accessor :retry_duration_sec
20048
+
20049
+ def initialize(**args)
20050
+ update!(**args)
20051
+ end
20052
+
20053
+ # Update properties of this object
20054
+ def update!(**args)
20055
+ @authority = args[:authority] if args.key?(:authority)
20056
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
20057
+ @payload_name = args[:payload_name] if args.key?(:payload_name)
20058
+ @resend_interval = args[:resend_interval] if args.key?(:resend_interval)
20059
+ @retry_duration_sec = args[:retry_duration_sec] if args.key?(:retry_duration_sec)
20060
+ end
20061
+ end
20062
+
20063
+ #
20064
+ class NotificationEndpointList
20065
+ include Google::Apis::Core::Hashable
20066
+
20067
+ # [Output Only] Unique identifier for the resource; defined by the server.
20068
+ # Corresponds to the JSON property `id`
20069
+ # @return [String]
20070
+ attr_accessor :id
20071
+
20072
+ # A list of NotificationEndpoint resources.
20073
+ # Corresponds to the JSON property `items`
20074
+ # @return [Array<Google::Apis::ComputeBeta::NotificationEndpoint>]
20075
+ attr_accessor :items
20076
+
20077
+ # [Output Only] Type of the resource. Always compute#notificationEndpoint for
20078
+ # notification endpoints.
20079
+ # Corresponds to the JSON property `kind`
20080
+ # @return [String]
20081
+ attr_accessor :kind
20082
+
20083
+ # [Output Only] This token allows you to get the next page of results for list
20084
+ # requests. If the number of results is larger than maxResults, use the
20085
+ # nextPageToken as a value for the query parameter pageToken in the next list
20086
+ # request. Subsequent list requests will have their own nextPageToken to
20087
+ # continue paging through the results.
20088
+ # Corresponds to the JSON property `nextPageToken`
20089
+ # @return [String]
20090
+ attr_accessor :next_page_token
20091
+
20092
+ # [Output Only] Server-defined URL for this resource.
20093
+ # Corresponds to the JSON property `selfLink`
20094
+ # @return [String]
20095
+ attr_accessor :self_link
20096
+
20097
+ # [Output Only] Informational warning message.
20098
+ # Corresponds to the JSON property `warning`
20099
+ # @return [Google::Apis::ComputeBeta::NotificationEndpointList::Warning]
20100
+ attr_accessor :warning
20101
+
20102
+ def initialize(**args)
20103
+ update!(**args)
20104
+ end
20105
+
20106
+ # Update properties of this object
20107
+ def update!(**args)
20108
+ @id = args[:id] if args.key?(:id)
20109
+ @items = args[:items] if args.key?(:items)
20110
+ @kind = args[:kind] if args.key?(:kind)
20111
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
20112
+ @self_link = args[:self_link] if args.key?(:self_link)
20113
+ @warning = args[:warning] if args.key?(:warning)
20114
+ end
20115
+
20116
+ # [Output Only] Informational warning message.
20117
+ class Warning
20118
+ include Google::Apis::Core::Hashable
20119
+
20120
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
20121
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
20122
+ # Corresponds to the JSON property `code`
20123
+ # @return [String]
20124
+ attr_accessor :code
20125
+
20126
+ # [Output Only] Metadata about this warning in key: value format. For example:
20127
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
20128
+ # Corresponds to the JSON property `data`
20129
+ # @return [Array<Google::Apis::ComputeBeta::NotificationEndpointList::Warning::Datum>]
20130
+ attr_accessor :data
20131
+
20132
+ # [Output Only] A human-readable description of the warning code.
20133
+ # Corresponds to the JSON property `message`
20134
+ # @return [String]
20135
+ attr_accessor :message
20136
+
20137
+ def initialize(**args)
20138
+ update!(**args)
20139
+ end
20140
+
20141
+ # Update properties of this object
20142
+ def update!(**args)
20143
+ @code = args[:code] if args.key?(:code)
20144
+ @data = args[:data] if args.key?(:data)
20145
+ @message = args[:message] if args.key?(:message)
20146
+ end
20147
+
20148
+ #
20149
+ class Datum
20150
+ include Google::Apis::Core::Hashable
20151
+
20152
+ # [Output Only] A key that provides more detail on the warning being returned.
20153
+ # For example, for warnings where there are no results in a list request for a
20154
+ # particular zone, this key might be scope and the key value might be the zone
20155
+ # name. Other examples might be a key indicating a deprecated resource and a
20156
+ # suggested replacement, or a warning about invalid network settings (for
20157
+ # example, if an instance attempts to perform IP forwarding but is not enabled
20158
+ # for IP forwarding).
20159
+ # Corresponds to the JSON property `key`
20160
+ # @return [String]
20161
+ attr_accessor :key
20162
+
20163
+ # [Output Only] A warning data value corresponding to the key.
20164
+ # Corresponds to the JSON property `value`
20165
+ # @return [String]
20166
+ attr_accessor :value
20167
+
20168
+ def initialize(**args)
20169
+ update!(**args)
20170
+ end
20171
+
20172
+ # Update properties of this object
20173
+ def update!(**args)
20174
+ @key = args[:key] if args.key?(:key)
20175
+ @value = args[:value] if args.key?(:value)
20176
+ end
20177
+ end
20178
+ end
20179
+ end
20180
+
19425
20181
  # Represents an Operation resource.
20182
+ # Google Compute Engine has three Operation resources:
20183
+ # * [Global](/compute/docs/reference/rest/latest/globalOperations) * [Regional](/
20184
+ # compute/docs/reference/rest/latest/regionOperations) * [Zonal](/compute/docs/
20185
+ # reference/rest/latest/zoneOperations)
19426
20186
  # You can use an operation resource to manage asynchronous API requests. For
19427
20187
  # more information, read Handling API responses.
19428
20188
  # Operations can be global, regional or zonal.
@@ -19430,10 +20190,9 @@ module Google
19430
20190
  # - For regional operations, use the regionOperations resource.
19431
20191
  # - For zonal operations, use the zonalOperations resource.
19432
20192
  # For more information, read Global, Regional, and Zonal Resources. (==
19433
- # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
19434
- # (== resource_for v1.regionOperations ==) (== resource_for beta.
19435
- # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
19436
- # beta.zoneOperations ==)
20193
+ # resource_for `$api_version`.globalOperations ==) (== resource_for `$
20194
+ # api_version`.regionOperations ==) (== resource_for `$api_version`.
20195
+ # zoneOperations ==)
19437
20196
  class Operation
19438
20197
  include Google::Apis::Core::Hashable
19439
20198
 
@@ -20892,8 +21651,7 @@ module Google
20892
21651
  # The list of HTTP route rules. Use this list instead of pathRules when advanced
20893
21652
  # route matching and routing actions are desired. routeRules are evaluated in
20894
21653
  # order of priority, from the lowest to highest number.
20895
- # Within a given pathMatcher, only one of pathRules or routeRules must be set.
20896
- # routeRules are not supported in UrlMaps intended for External Load balancers.
21654
+ # Within a given pathMatcher, you can set only one of pathRules or routeRules.
20897
21655
  # Corresponds to the JSON property `routeRules`
20898
21656
  # @return [Array<Google::Apis::ComputeBeta::HttpRouteRule>]
20899
21657
  attr_accessor :route_rules
@@ -21202,8 +21960,8 @@ module Google
21202
21960
 
21203
21961
  # Represents a Project resource.
21204
21962
  # A project is used to organize resources in a Google Cloud Platform environment.
21205
- # For more information, read about the Resource Hierarchy. (== resource_for v1.
21206
- # projects ==) (== resource_for beta.projects ==)
21963
+ # For more information, read about the Resource Hierarchy. (== resource_for `$
21964
+ # api_version`.projects ==)
21207
21965
  class Project
21208
21966
  include Google::Apis::Core::Hashable
21209
21967
 
@@ -21495,8 +22253,8 @@ module Google
21495
22253
 
21496
22254
  # Represents a Region resource.
21497
22255
  # A region is a geographical area where a resource is located. For more
21498
- # information, read Regions and Zones. (== resource_for beta.regions ==) (==
21499
- # resource_for v1.regions ==)
22256
+ # information, read Regions and Zones. (== resource_for `$api_version`.regions ==
22257
+ # )
21500
22258
  class Region
21501
22259
  include Google::Apis::Core::Hashable
21502
22260
 
@@ -22939,12 +23697,19 @@ module Google
22939
23697
  include Google::Apis::Core::Hashable
22940
23698
 
22941
23699
  # Represents a URL Map resource.
22942
- # A URL map resource is a component of certain types of load balancers. This
22943
- # resource defines mappings from host names and URL paths to either a backend
22944
- # service or a backend bucket.
22945
- # To use this resource, the backend service must have a loadBalancingScheme of
22946
- # either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
22947
- # information, read URL Map Concepts.
23700
+ # Google Compute Engine has two URL Map resources:
23701
+ # * [Global](/compute/docs/reference/rest/latest/urlMaps) * [Regional](/compute/
23702
+ # docs/reference/rest/latest/regionUrlMaps)
23703
+ # A URL map resource is a component of certain types of GCP load balancers and
23704
+ # Traffic Director.
23705
+ # * urlMaps are used by external HTTP(S) load balancers and Traffic Director. *
23706
+ # regionUrlMaps are used by internal HTTP(S) load balancers.
23707
+ # This resource defines mappings from host names and URL paths to either a
23708
+ # backend service or a backend bucket.
23709
+ # To use the global urlMaps resource, the backend service must have a
23710
+ # loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the
23711
+ # regionUrlMaps resource, the backend service must have a loadBalancingScheme of
23712
+ # INTERNAL_MANAGED. For more information, read URL Map Concepts.
22948
23713
  # Corresponds to the JSON property `resource`
22949
23714
  # @return [Google::Apis::ComputeBeta::UrlMap]
22950
23715
  attr_accessor :resource
@@ -22983,8 +23748,8 @@ module Google
22983
23748
 
22984
23749
  # Represents a reservation resource. A reservation ensures that capacity is held
22985
23750
  # in a specific zone even if the reserved VMs are not running. For more
22986
- # information, read Reserving zonal resources. (== resource_for beta.
22987
- # reservations ==) (== resource_for v1.reservations ==)
23751
+ # information, read Reserving zonal resources. (== resource_for `$api_version`.
23752
+ # reservations ==)
22988
23753
  class Reservation
22989
23754
  include Google::Apis::Core::Hashable
22990
23755
 
@@ -23621,6 +24386,12 @@ module Google
23621
24386
  # @return [String]
23622
24387
  attr_accessor :description
23623
24388
 
24389
+ # A GroupPlacementPolicy specifies resource placement configuration. It
24390
+ # specifies the failure bucket separation as well as network locality
24391
+ # Corresponds to the JSON property `groupPlacementPolicy`
24392
+ # @return [Google::Apis::ComputeBeta::ResourcePolicyGroupPlacementPolicy]
24393
+ attr_accessor :group_placement_policy
24394
+
23624
24395
  # [Output Only] The unique identifier for the resource. This identifier is
23625
24396
  # defined by the server.
23626
24397
  # Corresponds to the JSON property `id`
@@ -23674,6 +24445,7 @@ module Google
23674
24445
  def update!(**args)
23675
24446
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
23676
24447
  @description = args[:description] if args.key?(:description)
24448
+ @group_placement_policy = args[:group_placement_policy] if args.key?(:group_placement_policy)
23677
24449
  @id = args[:id] if args.key?(:id)
23678
24450
  @kind = args[:kind] if args.key?(:kind)
23679
24451
  @name = args[:name] if args.key?(:name)
@@ -23841,6 +24613,40 @@ module Google
23841
24613
  end
23842
24614
  end
23843
24615
 
24616
+ # A GroupPlacementPolicy specifies resource placement configuration. It
24617
+ # specifies the failure bucket separation as well as network locality
24618
+ class ResourcePolicyGroupPlacementPolicy
24619
+ include Google::Apis::Core::Hashable
24620
+
24621
+ # The number of availability domains instances will be spread across. If two
24622
+ # instances are in different availability domain, they will not be put in the
24623
+ # same low latency network
24624
+ # Corresponds to the JSON property `availabilityDomainCount`
24625
+ # @return [Fixnum]
24626
+ attr_accessor :availability_domain_count
24627
+
24628
+ # Specifies network collocation
24629
+ # Corresponds to the JSON property `collocation`
24630
+ # @return [String]
24631
+ attr_accessor :collocation
24632
+
24633
+ # Number of vms in this placement group
24634
+ # Corresponds to the JSON property `vmCount`
24635
+ # @return [Fixnum]
24636
+ attr_accessor :vm_count
24637
+
24638
+ def initialize(**args)
24639
+ update!(**args)
24640
+ end
24641
+
24642
+ # Update properties of this object
24643
+ def update!(**args)
24644
+ @availability_domain_count = args[:availability_domain_count] if args.key?(:availability_domain_count)
24645
+ @collocation = args[:collocation] if args.key?(:collocation)
24646
+ @vm_count = args[:vm_count] if args.key?(:vm_count)
24647
+ end
24648
+ end
24649
+
23844
24650
  # Time window specified for hourly operations.
23845
24651
  class ResourcePolicyHourlyCycle
23846
24652
  include Google::Apis::Core::Hashable
@@ -24093,7 +24899,7 @@ module Google
24093
24899
  class ResourcePolicySnapshotSchedulePolicySnapshotProperties
24094
24900
  include Google::Apis::Core::Hashable
24095
24901
 
24096
- # Indication to perform a ?guest aware? snapshot.
24902
+ # Indication to perform a 'guest aware' snapshot.
24097
24903
  # Corresponds to the JSON property `guestFlush`
24098
24904
  # @return [Boolean]
24099
24905
  attr_accessor :guest_flush
@@ -24178,8 +24984,8 @@ module Google
24178
24984
  # Represents a Route resource.
24179
24985
  # A route defines a path from VM instances in the VPC network to a specific
24180
24986
  # destination. This destination can be inside or outside the VPC network. For
24181
- # more information, read the Routes overview. (== resource_for beta.routes ==) (=
24182
- # = resource_for v1.routes ==)
24987
+ # more information, read the Routes overview. (== resource_for `$api_version`.
24988
+ # routes ==)
24183
24989
  class Route
24184
24990
  include Google::Apis::Core::Hashable
24185
24991
 
@@ -24791,7 +25597,7 @@ module Google
24791
25597
  # peer. Hold time is three times the interval at which keepalive messages are
24792
25598
  # sent, and the hold time is the maximum number of seconds allowed to elapse
24793
25599
  # between successive keepalive messages that BGP receives from a peer. BGP will
24794
- # use the smaller of either the local hold time value or the peer?s hold time
25600
+ # use the smaller of either the local hold time value or the peer's hold time
24795
25601
  # value as the hold time for the BGP connection between the two peers. If set,
24796
25602
  # this value must be between 1 and 120. The default is 20.
24797
25603
  # Corresponds to the JSON property `keepaliveInterval`
@@ -25741,20 +26547,13 @@ module Google
25741
26547
 
25742
26548
  # Specifies how port is selected for health checking, can be one of following
25743
26549
  # values:
25744
- # USE_FIXED_PORT: The port number in
25745
- # port
25746
- # is used for health checking.
25747
- # USE_NAMED_PORT: The
25748
- # portName
25749
- # is used for health checking.
26550
+ # USE_FIXED_PORT: The port number in port is used for health checking.
26551
+ # USE_NAMED_PORT: The portName is used for health checking.
25750
26552
  # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
25751
26553
  # network endpoint is used for health checking. For other backends, the port or
25752
26554
  # named port specified in the Backend Service is used for health checking.
25753
- # If not specified, SSL health check follows behavior specified in
25754
- # port
25755
- # and
25756
- # portName
25757
- # fields.
26555
+ # If not specified, SSL health check follows behavior specified in port and
26556
+ # portName fields.
25758
26557
  # Corresponds to the JSON property `portSpecification`
25759
26558
  # @return [String]
25760
26559
  attr_accessor :port_specification
@@ -26049,8 +26848,7 @@ module Google
26049
26848
  # Represents a Cloud Armor Security Policy resource.
26050
26849
  # Only external backend services that use load balancers can reference a
26051
26850
  # Security Policy. For more information, read Cloud Armor Security Policy
26052
- # Concepts. (== resource_for v1.securityPolicies ==) (== resource_for beta.
26053
- # securityPolicies ==)
26851
+ # Concepts. (== resource_for `$api_version`.securityPolicies ==)
26054
26852
  class SecurityPolicy
26055
26853
  include Google::Apis::Core::Hashable
26056
26854
 
@@ -26748,8 +27546,8 @@ module Google
26748
27546
 
26749
27547
  # Represents a Persistent Disk Snapshot resource.
26750
27548
  # You can use snapshots to back up data on a regular interval. For more
26751
- # information, read Creating persistent disk snapshots. (== resource_for beta.
26752
- # snapshots ==) (== resource_for v1.snapshots ==)
27549
+ # information, read Creating persistent disk snapshots. (== resource_for `$
27550
+ # api_version`.snapshots ==)
26753
27551
  class Snapshot
26754
27552
  include Google::Apis::Core::Hashable
26755
27553
 
@@ -26776,6 +27574,11 @@ module Google
26776
27574
  # @return [Fixnum]
26777
27575
  attr_accessor :disk_size_gb
26778
27576
 
27577
+ # [Output Only] Number of bytes downloaded to restore a snapshot to a disk.
27578
+ # Corresponds to the JSON property `downloadBytes`
27579
+ # @return [Fixnum]
27580
+ attr_accessor :download_bytes
27581
+
26779
27582
  # [Output Only] The unique identifier for the resource. This identifier is
26780
27583
  # defined by the server.
26781
27584
  # Corresponds to the JSON property `id`
@@ -26892,6 +27695,7 @@ module Google
26892
27695
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
26893
27696
  @description = args[:description] if args.key?(:description)
26894
27697
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
27698
+ @download_bytes = args[:download_bytes] if args.key?(:download_bytes)
26895
27699
  @id = args[:id] if args.key?(:id)
26896
27700
  @kind = args[:kind] if args.key?(:kind)
26897
27701
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@@ -27190,12 +27994,17 @@ module Google
27190
27994
  end
27191
27995
 
27192
27996
  # Represents an SSL Certificate resource.
27997
+ # Google Compute Engine has two SSL Certificate resources:
27998
+ # * [Global](/compute/docs/reference/rest/latest/sslCertificates) * [Regional](/
27999
+ # compute/docs/reference/rest/latest/regionSslCertificates)
28000
+ # - sslCertificates are used by: - external HTTPS load balancers - SSL proxy
28001
+ # load balancers
28002
+ # - regionSslCertificates are used by: - internal HTTPS load balancers
27193
28003
  # This SSL certificate resource also contains a private key. You can use SSL
27194
28004
  # keys and certificates to secure connections to a load balancer. For more
27195
- # information, read Creating and Using SSL Certificates. (== resource_for beta.
27196
- # sslCertificates ==) (== resource_for v1.sslCertificates ==) (== resource_for
27197
- # beta.regionSslCertificates ==) (== resource_for v1.regionSslCertificates ==)
27198
- # Next ID: 17
28005
+ # information, read Creating and Using SSL Certificates. (== resource_for `$
28006
+ # api_version`.sslCertificates ==) (== resource_for `$api_version`.
28007
+ # regionSslCertificates ==) Next ID: 17
27199
28008
  class SslCertificate
27200
28009
  include Google::Apis::Core::Hashable
27201
28010
 
@@ -27834,8 +28643,7 @@ module Google
27834
28643
  # Represents a Cloud Armor Security Policy resource.
27835
28644
  # Only external backend services used by HTTP or HTTPS load balancers can
27836
28645
  # reference a Security Policy. For more information, read read Cloud Armor
27837
- # Security Policy Concepts. (== resource_for beta.sslPolicies ==) (==
27838
- # resource_for v1.sslPolicies ==)
28646
+ # Security Policy Concepts. (== resource_for `$api_version`.sslPolicies ==)
27839
28647
  class SslPolicy
27840
28648
  include Google::Apis::Core::Hashable
27841
28649
 
@@ -28091,7 +28899,7 @@ module Google
28091
28899
  # A subnetwork (also known as a subnet) is a logical partition of a Virtual
28092
28900
  # Private Cloud network with one primary IP range and zero or more secondary IP
28093
28901
  # ranges. For more information, read Virtual Private Cloud (VPC) Network. (==
28094
- # resource_for beta.subnetworks ==) (== resource_for v1.subnetworks ==)
28902
+ # resource_for `$api_version`.subnetworks ==)
28095
28903
  class Subnetwork
28096
28904
  include Google::Apis::Core::Hashable
28097
28905
 
@@ -28212,6 +29020,7 @@ module Google
28212
29020
  # @return [String]
28213
29021
  attr_accessor :private_ipv6_google_access
28214
29022
 
29023
+ # Deprecated in favor of enable PrivateIpv6GoogleAccess on instance directly.
28215
29024
  # The service accounts can be used to selectively turn on Private IPv6 Google
28216
29025
  # Access only on the VMs primary service account matching the value. This value
28217
29026
  # only takes effect when PrivateIpv6GoogleAccess is
@@ -28764,20 +29573,13 @@ module Google
28764
29573
 
28765
29574
  # Specifies how port is selected for health checking, can be one of following
28766
29575
  # values:
28767
- # USE_FIXED_PORT: The port number in
28768
- # port
28769
- # is used for health checking.
28770
- # USE_NAMED_PORT: The
28771
- # portName
28772
- # is used for health checking.
29576
+ # USE_FIXED_PORT: The port number in port is used for health checking.
29577
+ # USE_NAMED_PORT: The portName is used for health checking.
28773
29578
  # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
28774
29579
  # network endpoint is used for health checking. For other backends, the port or
28775
29580
  # named port specified in the Backend Service is used for health checking.
28776
- # If not specified, TCP health check follows behavior specified in
28777
- # port
28778
- # and
28779
- # portName
28780
- # fields.
29581
+ # If not specified, TCP health check follows behavior specified in port and
29582
+ # portName fields.
28781
29583
  # Corresponds to the JSON property `portSpecification`
28782
29584
  # @return [String]
28783
29585
  attr_accessor :port_specification
@@ -28942,12 +29744,16 @@ module Google
28942
29744
  end
28943
29745
 
28944
29746
  # Represents a Target HTTP Proxy resource.
28945
- # A target HTTP proxy is a component of GCP HTTP load balancers. Forwarding
28946
- # rules reference a target HTTP proxy, and the target proxy then references a
28947
- # URL map. For more information, read Using Target Proxies and Forwarding rule
28948
- # concepts. (== resource_for beta.targetHttpProxies ==) (== resource_for v1.
28949
- # targetHttpProxies ==) (== resource_for beta.regionTargetHttpProxies ==) (==
28950
- # resource_for v1.regionTargetHttpProxies ==)
29747
+ # Google Compute Engine has two Target HTTP Proxy resources:
29748
+ # * [Global](/compute/docs/reference/rest/latest/targetHttpProxies) * [Regional](
29749
+ # /compute/docs/reference/rest/latest/regionTargetHttpProxies)
29750
+ # A target HTTP proxy is a component of GCP HTTP load balancers.
29751
+ # * targetHttpProxies are used by external HTTP load balancers and Traffic
29752
+ # Director. * regionTargetHttpProxies are used by internal HTTP load balancers.
29753
+ # Forwarding rules reference a target HTTP proxy, and the target proxy then
29754
+ # references a URL map. For more information, read Using Target Proxies and
29755
+ # Forwarding rule concepts. (== resource_for `$api_version`.targetHttpProxies ==)
29756
+ # (== resource_for `$api_version`.regionTargetHttpProxies ==)
28951
29757
  class TargetHttpProxy
28952
29758
  include Google::Apis::Core::Hashable
28953
29759
 
@@ -29385,12 +30191,16 @@ module Google
29385
30191
  end
29386
30192
 
29387
30193
  # Represents a Target HTTPS Proxy resource.
29388
- # A target HTTPS proxy is a component of GCP HTTPS load balancers. Forwarding
29389
- # rules reference a target HTTPS proxy, and the target proxy then references a
29390
- # URL map. For more information, read Using Target Proxies and Forwarding rule
29391
- # concepts. (== resource_for beta.targetHttpsProxies ==) (== resource_for v1.
29392
- # targetHttpsProxies ==) (== resource_for beta.regionTargetHttpsProxies ==) (==
29393
- # resource_for v1.regionTargetHttpsProxies ==)
30194
+ # Google Compute Engine has two Target HTTPS Proxy resources:
30195
+ # * [Global](/compute/docs/reference/rest/latest/targetHttpsProxies) * [Regional]
30196
+ # (/compute/docs/reference/rest/latest/regionTargetHttpsProxies)
30197
+ # A target HTTPS proxy is a component of GCP HTTPS load balancers.
30198
+ # * targetHttpsProxies are used by external HTTPS load balancers. *
30199
+ # regionTargetHttpsProxies are used by internal HTTPS load balancers.
30200
+ # Forwarding rules reference a target HTTPS proxy, and the target proxy then
30201
+ # references a URL map. For more information, read Using Target Proxies and
30202
+ # Forwarding rule concepts. (== resource_for `$api_version`.targetHttpsProxies ==
30203
+ # ) (== resource_for `$api_version`.regionTargetHttpsProxies ==)
29394
30204
  class TargetHttpsProxy
29395
30205
  include Google::Apis::Core::Hashable
29396
30206
 
@@ -29735,8 +30545,7 @@ module Google
29735
30545
  # You can use a target instance to handle traffic for one or more forwarding
29736
30546
  # rules, which is ideal for forwarding protocol traffic that is managed by a
29737
30547
  # single source. For example, ESP, AH, TCP, or UDP. For more information, read
29738
- # Target instances. (== resource_for beta.targetInstances ==) (== resource_for
29739
- # v1.targetInstances ==)
30548
+ # Target instances. (== resource_for `$api_version`.targetInstances ==)
29740
30549
  class TargetInstance
29741
30550
  include Google::Apis::Core::Hashable
29742
30551
 
@@ -30150,8 +30959,7 @@ module Google
30150
30959
  # Target pools are used for network TCP/UDP load balancing. A target pool
30151
30960
  # references member instances, an associated legacy HttpHealthCheck resource,
30152
30961
  # and, optionally, a backup target pool. For more information, read Using target
30153
- # pools. (== resource_for beta.targetPools ==) (== resource_for v1.targetPools ==
30154
- # )
30962
+ # pools. (== resource_for `$api_version`.targetPools ==)
30155
30963
  class TargetPool
30156
30964
  include Google::Apis::Core::Hashable
30157
30965
 
@@ -30794,8 +31602,7 @@ module Google
30794
31602
  # A target SSL proxy is a component of a SSL Proxy load balancer. Global
30795
31603
  # forwarding rules reference a target SSL proxy, and the target proxy then
30796
31604
  # references an external backend service. For more information, read Using
30797
- # Target Proxies. (== resource_for beta.targetSslProxies ==) (== resource_for v1.
30798
- # targetSslProxies ==)
31605
+ # Target Proxies. (== resource_for `$api_version`.targetSslProxies ==)
30799
31606
  class TargetSslProxy
30800
31607
  include Google::Apis::Core::Hashable
30801
31608
 
@@ -31041,8 +31848,7 @@ module Google
31041
31848
  # A target TCP proxy is a component of a TCP Proxy load balancer. Global
31042
31849
  # forwarding rules reference target TCP proxy, and the target proxy then
31043
31850
  # references an external backend service. For more information, read TCP Proxy
31044
- # Load Balancing Concepts. (== resource_for beta.targetTcpProxies ==) (==
31045
- # resource_for v1.targetTcpProxies ==)
31851
+ # Load Balancing Concepts. (== resource_for `$api_version`.targetTcpProxies ==)
31046
31852
  class TargetTcpProxy
31047
31853
  include Google::Apis::Core::Hashable
31048
31854
 
@@ -31231,8 +32037,8 @@ module Google
31231
32037
 
31232
32038
  # Represents a Target VPN Gateway resource.
31233
32039
  # The target VPN gateway resource represents a Classic Cloud VPN gateway. For
31234
- # more information, read the the Cloud VPN Overview. (== resource_for beta.
31235
- # targetVpnGateways ==) (== resource_for v1.targetVpnGateways ==)
32040
+ # more information, read the the Cloud VPN Overview. (== resource_for `$
32041
+ # api_version`.targetVpnGateways ==)
31236
32042
  class TargetVpnGateway
31237
32043
  include Google::Apis::Core::Hashable
31238
32044
 
@@ -31752,12 +32558,19 @@ module Google
31752
32558
  end
31753
32559
 
31754
32560
  # Represents a URL Map resource.
31755
- # A URL map resource is a component of certain types of load balancers. This
31756
- # resource defines mappings from host names and URL paths to either a backend
31757
- # service or a backend bucket.
31758
- # To use this resource, the backend service must have a loadBalancingScheme of
31759
- # either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
31760
- # information, read URL Map Concepts.
32561
+ # Google Compute Engine has two URL Map resources:
32562
+ # * [Global](/compute/docs/reference/rest/latest/urlMaps) * [Regional](/compute/
32563
+ # docs/reference/rest/latest/regionUrlMaps)
32564
+ # A URL map resource is a component of certain types of GCP load balancers and
32565
+ # Traffic Director.
32566
+ # * urlMaps are used by external HTTP(S) load balancers and Traffic Director. *
32567
+ # regionUrlMaps are used by internal HTTP(S) load balancers.
32568
+ # This resource defines mappings from host names and URL paths to either a
32569
+ # backend service or a backend bucket.
32570
+ # To use the global urlMaps resource, the backend service must have a
32571
+ # loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the
32572
+ # regionUrlMaps resource, the backend service must have a loadBalancingScheme of
32573
+ # INTERNAL_MANAGED. For more information, read URL Map Concepts.
31761
32574
  class UrlMap
31762
32575
  include Google::Apis::Core::Hashable
31763
32576
 
@@ -32319,12 +33132,19 @@ module Google
32319
33132
  include Google::Apis::Core::Hashable
32320
33133
 
32321
33134
  # Represents a URL Map resource.
32322
- # A URL map resource is a component of certain types of load balancers. This
32323
- # resource defines mappings from host names and URL paths to either a backend
32324
- # service or a backend bucket.
32325
- # To use this resource, the backend service must have a loadBalancingScheme of
32326
- # either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
32327
- # information, read URL Map Concepts.
33135
+ # Google Compute Engine has two URL Map resources:
33136
+ # * [Global](/compute/docs/reference/rest/latest/urlMaps) * [Regional](/compute/
33137
+ # docs/reference/rest/latest/regionUrlMaps)
33138
+ # A URL map resource is a component of certain types of GCP load balancers and
33139
+ # Traffic Director.
33140
+ # * urlMaps are used by external HTTP(S) load balancers and Traffic Director. *
33141
+ # regionUrlMaps are used by internal HTTP(S) load balancers.
33142
+ # This resource defines mappings from host names and URL paths to either a
33143
+ # backend service or a backend bucket.
33144
+ # To use the global urlMaps resource, the backend service must have a
33145
+ # loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the
33146
+ # regionUrlMaps resource, the backend service must have a loadBalancingScheme of
33147
+ # INTERNAL_MANAGED. For more information, read URL Map Concepts.
32328
33148
  # Corresponds to the JSON property `resource`
32329
33149
  # @return [Google::Apis::ComputeBeta::UrlMap]
32330
33150
  attr_accessor :resource
@@ -33396,7 +34216,7 @@ module Google
33396
34216
 
33397
34217
  # Represents a Cloud VPN Tunnel resource.
33398
34218
  # For more information about VPN, read the the Cloud VPN Overview. (==
33399
- # resource_for beta.vpnTunnels ==) (== resource_for v1.vpnTunnels ==)
34219
+ # resource_for `$api_version`.vpnTunnels ==)
33400
34220
  class VpnTunnel
33401
34221
  include Google::Apis::Core::Hashable
33402
34222
 
@@ -34183,8 +35003,7 @@ module Google
34183
35003
  # Represents a Zone resource.
34184
35004
  # A zone is a deployment area. These deployment areas are subsets of a region.
34185
35005
  # For example the zone us-east1-a is located in the us-east1 region. For more
34186
- # information, read Regions and Zones. (== resource_for beta.zones ==) (==
34187
- # resource_for v1.zones ==)
35006
+ # information, read Regions and Zones. (== resource_for `$api_version`.zones ==)
34188
35007
  class Zone
34189
35008
  include Google::Apis::Core::Hashable
34190
35009