google-api-client 0.40.1 → 0.42.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +280 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/service.rb +1 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  18. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  19. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  20. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  21. data/generated/google/apis/androidpublisher_v3/classes.rb +494 -698
  22. data/generated/google/apis/androidpublisher_v3/representations.rb +18 -167
  23. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  24. data/generated/google/apis/apigee_v1.rb +1 -1
  25. data/generated/google/apis/apigee_v1/classes.rb +1492 -112
  26. data/generated/google/apis/apigee_v1/representations.rb +560 -0
  27. data/generated/google/apis/apigee_v1/service.rb +1162 -117
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  31. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  32. data/generated/google/apis/bigquery_v2.rb +1 -1
  33. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  34. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  35. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  36. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  37. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  38. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  39. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  40. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  41. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  42. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  43. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  44. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  46. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  50. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  51. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  52. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  53. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  54. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  55. data/generated/google/apis/books_v1.rb +1 -1
  56. data/generated/google/apis/books_v1/service.rb +2 -2
  57. data/generated/google/apis/calendar_v3.rb +1 -1
  58. data/generated/google/apis/chat_v1.rb +1 -1
  59. data/generated/google/apis/chat_v1/classes.rb +2 -0
  60. data/generated/google/apis/civicinfo_v2.rb +2 -2
  61. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  62. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  63. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  64. data/generated/google/apis/classroom_v1.rb +1 -1
  65. data/generated/google/apis/classroom_v1/service.rb +4 -3
  66. data/generated/google/apis/cloudasset_v1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  68. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  69. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  70. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  72. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  73. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  74. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  75. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  76. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  77. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  79. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  80. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  81. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  82. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  83. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1/classes.rb +273 -13
  85. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  86. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  87. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +286 -26
  89. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  90. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  91. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  92. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +286 -26
  93. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  94. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  95. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  96. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  97. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  98. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  99. data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
  100. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  101. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  102. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  103. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  104. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  107. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  108. data/generated/google/apis/cloudkms_v1.rb +1 -1
  109. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  110. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  112. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  113. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  116. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  118. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  120. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  121. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  122. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  123. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  124. data/generated/google/apis/composer_v1beta1.rb +1 -1
  125. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  126. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  127. data/generated/google/apis/compute_alpha.rb +1 -1
  128. data/generated/google/apis/compute_alpha/classes.rb +725 -107
  129. data/generated/google/apis/compute_alpha/representations.rb +206 -0
  130. data/generated/google/apis/compute_alpha/service.rb +888 -139
  131. data/generated/google/apis/compute_beta.rb +1 -1
  132. data/generated/google/apis/compute_beta/classes.rb +439 -105
  133. data/generated/google/apis/compute_beta/representations.rb +94 -0
  134. data/generated/google/apis/compute_beta/service.rb +308 -33
  135. data/generated/google/apis/compute_v1.rb +1 -1
  136. data/generated/google/apis/compute_v1/classes.rb +701 -71
  137. data/generated/google/apis/compute_v1/representations.rb +200 -0
  138. data/generated/google/apis/compute_v1/service.rb +522 -33
  139. data/generated/google/apis/container_v1.rb +1 -1
  140. data/generated/google/apis/container_v1/classes.rb +123 -5
  141. data/generated/google/apis/container_v1/representations.rb +50 -0
  142. data/generated/google/apis/container_v1beta1.rb +1 -1
  143. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  144. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  145. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  146. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  147. data/generated/google/apis/content_v2.rb +1 -1
  148. data/generated/google/apis/content_v2/classes.rb +7 -1
  149. data/generated/google/apis/content_v2/representations.rb +1 -0
  150. data/generated/google/apis/content_v2/service.rb +10 -5
  151. data/generated/google/apis/content_v2_1.rb +1 -1
  152. data/generated/google/apis/content_v2_1/classes.rb +265 -7
  153. data/generated/google/apis/content_v2_1/representations.rb +108 -0
  154. data/generated/google/apis/content_v2_1/service.rb +10 -5
  155. data/generated/google/apis/customsearch_v1.rb +1 -1
  156. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  157. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  158. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  159. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  160. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  161. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  162. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  163. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  164. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  165. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  166. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  167. data/generated/google/apis/dataproc_v1.rb +1 -1
  168. data/generated/google/apis/dataproc_v1/classes.rb +49 -2
  169. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  170. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  171. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -2
  172. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  173. data/generated/google/apis/dialogflow_v2.rb +1 -1
  174. data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
  175. data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
  176. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  177. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  178. data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
  179. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
  180. data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
  181. data/generated/google/apis/displayvideo_v1.rb +1 -1
  182. data/generated/google/apis/displayvideo_v1/classes.rb +118 -11
  183. data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
  184. data/generated/google/apis/displayvideo_v1/service.rb +78 -1
  185. data/generated/google/apis/dlp_v2.rb +1 -1
  186. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  187. data/generated/google/apis/dlp_v2/service.rb +170 -64
  188. data/generated/google/apis/dns_v1.rb +4 -4
  189. data/generated/google/apis/dns_v1/classes.rb +313 -162
  190. data/generated/google/apis/dns_v1/service.rb +247 -180
  191. data/generated/google/apis/dns_v1beta2.rb +4 -4
  192. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  193. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  194. data/generated/google/apis/documentai_v1beta2.rb +36 -0
  195. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  196. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  197. data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
  198. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  199. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  200. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  201. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  202. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  203. data/generated/google/apis/drive_v2.rb +1 -1
  204. data/generated/google/apis/drive_v2/classes.rb +9 -0
  205. data/generated/google/apis/drive_v2/representations.rb +1 -0
  206. data/generated/google/apis/drive_v2/service.rb +26 -78
  207. data/generated/google/apis/drive_v3.rb +1 -1
  208. data/generated/google/apis/drive_v3/classes.rb +9 -0
  209. data/generated/google/apis/drive_v3/representations.rb +1 -0
  210. data/generated/google/apis/drive_v3/service.rb +18 -54
  211. data/generated/google/apis/fcm_v1.rb +1 -1
  212. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  213. data/generated/google/apis/file_v1.rb +1 -1
  214. data/generated/google/apis/file_v1beta1.rb +1 -1
  215. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  216. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  217. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  218. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -11
  219. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  220. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  221. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  222. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  224. data/generated/google/apis/games_v1.rb +6 -4
  225. data/generated/google/apis/games_v1/classes.rb +354 -2112
  226. data/generated/google/apis/games_v1/representations.rb +12 -647
  227. data/generated/google/apis/games_v1/service.rb +212 -1154
  228. data/generated/google/apis/{androidpublisher_v2.rb → gameservices_v1.rb} +11 -11
  229. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  230. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  231. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  232. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  233. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  234. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  236. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  237. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  238. data/generated/google/apis/gmail_v1.rb +3 -2
  239. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  240. data/generated/google/apis/gmail_v1/service.rb +551 -743
  241. data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
  242. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  243. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  244. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  245. data/generated/google/apis/groupssettings_v1.rb +1 -1
  246. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  247. data/generated/google/apis/healthcare_v1.rb +1 -1
  248. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  249. data/generated/google/apis/healthcare_v1/service.rb +2 -0
  250. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  251. data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
  252. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  253. data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
  254. data/generated/google/apis/iam_v1.rb +1 -1
  255. data/generated/google/apis/iam_v1/classes.rb +92 -81
  256. data/generated/google/apis/iam_v1/service.rb +167 -148
  257. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  258. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  259. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  260. data/generated/google/apis/jobs_v3.rb +1 -1
  261. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  262. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  263. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  264. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  265. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  266. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  267. data/generated/google/apis/logging_v2.rb +1 -1
  268. data/generated/google/apis/logging_v2/classes.rb +69 -21
  269. data/generated/google/apis/managedidentities_v1.rb +1 -1
  270. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  271. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  272. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  273. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  274. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  275. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  276. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  277. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  278. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  279. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  280. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  281. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  282. data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
  283. data/generated/google/apis/ml_v1.rb +1 -1
  284. data/generated/google/apis/ml_v1/classes.rb +14 -6
  285. data/generated/google/apis/ml_v1/representations.rb +1 -0
  286. data/generated/google/apis/monitoring_v1.rb +1 -1
  287. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  288. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  289. data/generated/google/apis/monitoring_v3.rb +1 -1
  290. data/generated/google/apis/monitoring_v3/classes.rb +78 -21
  291. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  292. data/generated/google/apis/monitoring_v3/service.rb +8 -5
  293. data/generated/google/apis/osconfig_v1.rb +1 -1
  294. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  295. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  296. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  297. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  298. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  299. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  300. data/generated/google/apis/people_v1.rb +4 -1
  301. data/generated/google/apis/people_v1/classes.rb +122 -6
  302. data/generated/google/apis/people_v1/representations.rb +51 -0
  303. data/generated/google/apis/people_v1/service.rb +339 -69
  304. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  305. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  306. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  307. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  308. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  309. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  310. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  311. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  312. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  313. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  314. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  315. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  319. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
  320. data/generated/google/apis/pubsub_v1.rb +1 -1
  321. data/generated/google/apis/pubsub_v1/classes.rb +77 -37
  322. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  323. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  324. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  325. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  326. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  327. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  328. data/generated/google/apis/recommender_v1.rb +1 -1
  329. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  330. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  331. data/generated/google/apis/recommender_v1/service.rb +123 -0
  332. data/generated/google/apis/redis_v1.rb +1 -1
  333. data/generated/google/apis/redis_v1/classes.rb +1 -1
  334. data/generated/google/apis/redis_v1/service.rb +1 -1
  335. data/generated/google/apis/redis_v1beta1.rb +1 -1
  336. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  337. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  338. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  339. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  342. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  344. data/generated/google/apis/run_v1.rb +1 -1
  345. data/generated/google/apis/run_v1/classes.rb +7 -9
  346. data/generated/google/apis/run_v1alpha1.rb +1 -1
  347. data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
  348. data/generated/google/apis/run_v1beta1.rb +1 -1
  349. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  350. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  351. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  352. data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
  353. data/generated/google/apis/secretmanager_v1.rb +1 -1
  354. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  355. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  356. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  357. data/generated/google/apis/securitycenter_v1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  359. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  361. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  362. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  363. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  364. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  365. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  366. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  367. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  369. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  370. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  371. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  372. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +126 -43
  373. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -1
  374. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +132 -43
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +2 -1
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  382. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  383. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  384. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  385. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  386. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  387. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  388. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  389. data/generated/google/apis/serviceusage_v1.rb +1 -1
  390. data/generated/google/apis/serviceusage_v1/classes.rb +133 -44
  391. data/generated/google/apis/serviceusage_v1/representations.rb +2 -1
  392. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  393. data/generated/google/apis/serviceusage_v1beta1/classes.rb +184 -44
  394. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -1
  395. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  396. data/generated/google/apis/sheets_v4.rb +1 -1
  397. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  398. data/generated/google/apis/slides_v1.rb +1 -1
  399. data/generated/google/apis/slides_v1/classes.rb +4 -0
  400. data/generated/google/apis/spanner_v1.rb +1 -1
  401. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  402. data/generated/google/apis/spanner_v1/service.rb +7 -0
  403. data/generated/google/apis/speech_v1.rb +1 -1
  404. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/storage_v1.rb +1 -1
  406. data/generated/google/apis/storage_v1/service.rb +2 -3
  407. data/generated/google/apis/testing_v1.rb +1 -1
  408. data/generated/google/apis/testing_v1/classes.rb +17 -6
  409. data/generated/google/apis/testing_v1/representations.rb +1 -0
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{androidpublisher_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/vision_v1.rb +1 -1
  419. data/generated/google/apis/vision_v1/classes.rb +18 -0
  420. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  422. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  423. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  424. data/generated/google/apis/webfonts_v1.rb +5 -5
  425. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  426. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  427. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  428. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  429. data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
  430. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  431. data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
  432. data/generated/google/apis/youtube_v3.rb +1 -1
  433. data/generated/google/apis/youtube_v3/classes.rb +592 -0
  434. data/generated/google/apis/youtube_v3/representations.rb +308 -0
  435. data/generated/google/apis/youtube_v3/service.rb +291 -0
  436. data/lib/google/apis/version.rb +1 -1
  437. metadata +31 -19
  438. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  439. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  440. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  441. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  442. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  443. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  444. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -107
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200511'
28
+ REVISION = '20200612'
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'
@@ -87,7 +87,7 @@ module Google
87
87
  # @return [String]
88
88
  attr_accessor :kind
89
89
 
90
- # [Output Only] Maximum accelerator cards allowed per instance.
90
+ # [Output Only] Maximum number of accelerator cards allowed per instance.
91
91
  # Corresponds to the JSON property `maximumCardsPerInstance`
92
92
  # @return [Fixnum]
93
93
  attr_accessor :maximum_cards_per_instance
@@ -97,7 +97,7 @@ module Google
97
97
  # @return [String]
98
98
  attr_accessor :name
99
99
 
100
- # [Output Only] Server-defined fully-qualified URL for this resource.
100
+ # [Output Only] Server-defined, fully qualified URL for this resource.
101
101
  # Corresponds to the JSON property `selfLink`
102
102
  # @return [String]
103
103
  attr_accessor :self_link
@@ -1070,7 +1070,7 @@ module Google
1070
1070
  end
1071
1071
  end
1072
1072
 
1073
- # Properties of the SKU instances being reserved.
1073
+ # Properties of the SKU instances being reserved. Next ID: 9
1074
1074
  class AllocationSpecificSkuAllocationReservedInstanceProperties
1075
1075
  include Google::Apis::Core::Hashable
1076
1076
 
@@ -1092,6 +1092,13 @@ module Google
1092
1092
  # @return [String]
1093
1093
  attr_accessor :machine_type
1094
1094
 
1095
+ # Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic"
1096
+ # designates this VM as a Stable Fleet VM.
1097
+ # See go/stable-fleet-ug for more details.
1098
+ # Corresponds to the JSON property `maintenanceInterval`
1099
+ # @return [String]
1100
+ attr_accessor :maintenance_interval
1101
+
1095
1102
  # Minimum cpu platform the reservation.
1096
1103
  # Corresponds to the JSON property `minCpuPlatform`
1097
1104
  # @return [String]
@@ -1106,6 +1113,7 @@ module Google
1106
1113
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
1107
1114
  @local_ssds = args[:local_ssds] if args.key?(:local_ssds)
1108
1115
  @machine_type = args[:machine_type] if args.key?(:machine_type)
1116
+ @maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
1109
1117
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1110
1118
  end
1111
1119
  end
@@ -1124,7 +1132,7 @@ module Google
1124
1132
  # @return [Fixnum]
1125
1133
  attr_accessor :in_use_count
1126
1134
 
1127
- # Properties of the SKU instances being reserved.
1135
+ # Properties of the SKU instances being reserved. Next ID: 9
1128
1136
  # Corresponds to the JSON property `instanceProperties`
1129
1137
  # @return [Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties]
1130
1138
  attr_accessor :instance_properties
@@ -1411,10 +1419,10 @@ module Google
1411
1419
  # specified in each AuditConfig are enabled, and the exempted_members in each
1412
1420
  # AuditLogConfig are exempted.
1413
1421
  # Example Policy with multiple AuditConfigs:
1414
- # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
1422
+ # ` "audit_configs": [ ` "service": "allServices", "audit_log_configs": [ ` "
1415
1423
  # log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
1416
- # log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
1417
- # sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ",
1424
+ # log_type": "DATA_WRITE" `, ` "log_type": "ADMIN_READ" ` ] `, ` "service": "
1425
+ # sampleservice.googleapis.com", "audit_log_configs": [ ` "log_type": "DATA_READ"
1418
1426
  # `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
1419
1427
  # ] ` ] ` ] `
1420
1428
  # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
@@ -1454,7 +1462,7 @@ module Google
1454
1462
 
1455
1463
  # Provides the configuration for logging a type of permissions. Example:
1456
1464
  # ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
1457
- # user:jose@example.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
1465
+ # user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] `
1458
1466
  # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
1459
1467
  # example.com from DATA_READ logging.
1460
1468
  class AuditLogConfig
@@ -2215,7 +2223,9 @@ module Google
2215
2223
  # UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group
2216
2224
  # will serve up to 100% of its configured capacity (depending on balancingMode).
2217
2225
  # A setting of 0 means the group is completely drained, offering 0% of its
2218
- # available Capacity. Valid range is [0.0,1.0].
2226
+ # available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a
2227
+ # setting larger than 0 and smaller than 0.1. You cannot configure a setting of
2228
+ # 0 when there is only one backend attached to the backend service.
2219
2229
  # This cannot be used for internal load balancing.
2220
2230
  # Corresponds to the JSON property `capacityScaler`
2221
2231
  # @return [Float]
@@ -2585,13 +2595,17 @@ module Google
2585
2595
  end
2586
2596
 
2587
2597
  # Represents a Backend Service resource.
2588
- # A backend service contains configuration values for Google Cloud Platform load
2589
- # balancing services.
2598
+ # A backend service defines how Google Cloud load balancers distribute traffic.
2599
+ # The backend service configuration contains a set of values, such as the
2600
+ # protocol used to connect to backends, various distribution and session
2601
+ # settings, health checks, and timeouts. These settings provide fine-grained
2602
+ # control over how your load balancer behaves. Most of the settings have default
2603
+ # values that allow for easy configuration if you need to get started quickly.
2590
2604
  # Backend services in Google Compute Engine can be either regionally or globally
2591
2605
  # scoped.
2592
2606
  # * [Global](/compute/docs/reference/rest/`$api_version`/backendServices) * [
2593
2607
  # Regional](/compute/docs/reference/rest/`$api_version`/regionBackendServices)
2594
- # For more information, read Backend Services.
2608
+ # For more information, see Backend Services.
2595
2609
  # (== resource_for `$api_version`.backendService ==)
2596
2610
  class BackendService
2597
2611
  include Google::Apis::Core::Hashable
@@ -2727,8 +2741,8 @@ module Google
2727
2741
  # redirected to the load balancer.
2728
2742
  # - MAGLEV: used as a drop in replacement for the ring hash load balancer.
2729
2743
  # Maglev is not as stable as ring hash but has faster table lookup build times
2730
- # and host selection times. For more information about Maglev, refer to https://
2731
- # ai.google/research/pubs/pub44824
2744
+ # and host selection times. For more information about Maglev, see https://ai.
2745
+ # google/research/pubs/pub44824
2732
2746
  # This field is applicable to either:
2733
2747
  # - A regional backend service with the service_protocol set to HTTP, HTTPS, or
2734
2748
  # HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED.
@@ -2830,8 +2844,8 @@ module Google
2830
2844
  attr_accessor :session_affinity
2831
2845
 
2832
2846
  # The backend service timeout has a different meaning depending on the type of
2833
- # load balancer. For more information read, Backend service settings The
2834
- # default is 30 seconds.
2847
+ # load balancer. For more information see, Backend service settings The default
2848
+ # is 30 seconds.
2835
2849
  # Corresponds to the JSON property `timeoutSec`
2836
2850
  # @return [Fixnum]
2837
2851
  attr_accessor :timeout_sec
@@ -3083,6 +3097,11 @@ module Google
3083
3097
  class BackendServiceGroupHealth
3084
3098
  include Google::Apis::Core::Hashable
3085
3099
 
3100
+ # Metadata defined as annotations on the network endpoint group.
3101
+ # Corresponds to the JSON property `annotations`
3102
+ # @return [Hash<String,String>]
3103
+ attr_accessor :annotations
3104
+
3086
3105
  # Health state of the backend instances or endpoints in requested instance or
3087
3106
  # network endpoint group, determined based on configured health checks.
3088
3107
  # Corresponds to the JSON property `healthStatus`
@@ -3101,6 +3120,7 @@ module Google
3101
3120
 
3102
3121
  # Update properties of this object
3103
3122
  def update!(**args)
3123
+ @annotations = args[:annotations] if args.key?(:annotations)
3104
3124
  @health_status = args[:health_status] if args.key?(:health_status)
3105
3125
  @kind = args[:kind] if args.key?(:kind)
3106
3126
  end
@@ -3110,18 +3130,22 @@ module Google
3110
3130
  class BackendServiceIap
3111
3131
  include Google::Apis::Core::Hashable
3112
3132
 
3113
- #
3133
+ # Whether the serving infrastructure will authenticate and authorize all
3134
+ # incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields
3135
+ # must be non-empty.
3114
3136
  # Corresponds to the JSON property `enabled`
3115
3137
  # @return [Boolean]
3116
3138
  attr_accessor :enabled
3117
3139
  alias_method :enabled?, :enabled
3118
3140
 
3119
- #
3141
+ # OAuth2 client ID to use for the authentication flow.
3120
3142
  # Corresponds to the JSON property `oauth2ClientId`
3121
3143
  # @return [String]
3122
3144
  attr_accessor :oauth2_client_id
3123
3145
 
3124
- #
3146
+ # OAuth2 client secret to use for the authentication flow. For security reasons,
3147
+ # this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
3148
+ # value is returned in the oauth2ClientSecretSha256 field.
3125
3149
  # Corresponds to the JSON property `oauth2ClientSecret`
3126
3150
  # @return [String]
3127
3151
  attr_accessor :oauth2_client_secret
@@ -4493,9 +4517,9 @@ module Google
4493
4517
  attr_accessor :options
4494
4518
 
4495
4519
  # Physical block size of the persistent disk, in bytes. If not present in a
4496
- # request, a default value is used. Currently supported sizes are 4096 and 16384,
4497
- # other sizes may be added in the future. If an unsupported value is requested,
4498
- # the error message will list the supported values for the caller's project.
4520
+ # request, a default value is used. The currently supported size is 4096, other
4521
+ # sizes may be added in the future. If an unsupported value is requested, the
4522
+ # error message will list the supported values for the caller's project.
4499
4523
  # Corresponds to the JSON property `physicalBlockSizeBytes`
4500
4524
  # @return [Fixnum]
4501
4525
  attr_accessor :physical_block_size_bytes
@@ -4533,6 +4557,24 @@ module Google
4533
4557
  # @return [Fixnum]
4534
4558
  attr_accessor :size_gb
4535
4559
 
4560
+ # The source disk used to create this disk. You can provide this as a partial or
4561
+ # full URL to the resource. For example, the following are valid values:
4562
+ # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
4563
+ # - projects/project/zones/zone/disks/disk
4564
+ # - zones/zone/disks/disk
4565
+ # Corresponds to the JSON property `sourceDisk`
4566
+ # @return [String]
4567
+ attr_accessor :source_disk
4568
+
4569
+ # [Output Only] The unique ID of the disk used to create this disk. This value
4570
+ # identifies the exact disk that was used to create this persistent disk. For
4571
+ # example, if you created the persistent disk from a disk that was later deleted
4572
+ # and recreated under the same name, the source disk ID would identify the exact
4573
+ # version of the disk that was used.
4574
+ # Corresponds to the JSON property `sourceDiskId`
4575
+ # @return [String]
4576
+ attr_accessor :source_disk_id
4577
+
4536
4578
  # The source image used to create this disk. If the source image is deleted,
4537
4579
  # this field will not be set.
4538
4580
  # To create a disk with one of the public operating system images, specify the
@@ -4644,6 +4686,8 @@ module Google
4644
4686
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
4645
4687
  @self_link = args[:self_link] if args.key?(:self_link)
4646
4688
  @size_gb = args[:size_gb] if args.key?(:size_gb)
4689
+ @source_disk = args[:source_disk] if args.key?(:source_disk)
4690
+ @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
4647
4691
  @source_image = args[:source_image] if args.key?(:source_image)
4648
4692
  @source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
4649
4693
  @source_image_id = args[:source_image_id] if args.key?(:source_image_id)
@@ -7766,6 +7810,12 @@ module Google
7766
7810
  # @return [String]
7767
7811
  attr_accessor :kind
7768
7812
 
7813
+ # Configuration of logging on a health check. If logging is enabled, logs will
7814
+ # be exported to Stackdriver.
7815
+ # Corresponds to the JSON property `logConfig`
7816
+ # @return [Google::Apis::ComputeV1::HealthCheckLogConfig]
7817
+ attr_accessor :log_config
7818
+
7769
7819
  # Name of the resource. Provided by the client when the resource is created. The
7770
7820
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
7771
7821
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -7832,6 +7882,7 @@ module Google
7832
7882
  @https_health_check = args[:https_health_check] if args.key?(:https_health_check)
7833
7883
  @id = args[:id] if args.key?(:id)
7834
7884
  @kind = args[:kind] if args.key?(:kind)
7885
+ @log_config = args[:log_config] if args.key?(:log_config)
7835
7886
  @name = args[:name] if args.key?(:name)
7836
7887
  @region = args[:region] if args.key?(:region)
7837
7888
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -7960,6 +8011,28 @@ module Google
7960
8011
  end
7961
8012
  end
7962
8013
 
8014
+ # Configuration of logging on a health check. If logging is enabled, logs will
8015
+ # be exported to Stackdriver.
8016
+ class HealthCheckLogConfig
8017
+ include Google::Apis::Core::Hashable
8018
+
8019
+ # Indicates whether or not to export logs. This is false by default, which means
8020
+ # no health check logging will be done.
8021
+ # Corresponds to the JSON property `enable`
8022
+ # @return [Boolean]
8023
+ attr_accessor :enable
8024
+ alias_method :enable?, :enable
8025
+
8026
+ def initialize(**args)
8027
+ update!(**args)
8028
+ end
8029
+
8030
+ # Update properties of this object
8031
+ def update!(**args)
8032
+ @enable = args[:enable] if args.key?(:enable)
8033
+ end
8034
+ end
8035
+
7963
8036
  # A full or valid partial URL to a health check. For example, the following are
7964
8037
  # valid URLs:
7965
8038
  # - https://www.googleapis.com/compute/beta/projects/project-id/global/
@@ -7984,6 +8057,270 @@ module Google
7984
8057
  end
7985
8058
  end
7986
8059
 
8060
+ # Represents a Health-Check as a Service resource.
8061
+ # (== resource_for `$api_version`.regionHealthCheckServices ==)
8062
+ class HealthCheckService
8063
+ include Google::Apis::Core::Hashable
8064
+
8065
+ # [Output Only] Creation timestamp in RFC3339 text format.
8066
+ # Corresponds to the JSON property `creationTimestamp`
8067
+ # @return [String]
8068
+ attr_accessor :creation_timestamp
8069
+
8070
+ # An optional description of this resource. Provide this property when you
8071
+ # create the resource.
8072
+ # Corresponds to the JSON property `description`
8073
+ # @return [String]
8074
+ attr_accessor :description
8075
+
8076
+ # Fingerprint of this resource. A hash of the contents stored in this object.
8077
+ # This field is used in optimistic locking. This field will be ignored when
8078
+ # inserting a HealthCheckService. An up-to-date fingerprint must be provided in
8079
+ # order to patch/update the HealthCheckService; Otherwise, the request will fail
8080
+ # with error 412 conditionNotMet. To see the latest fingerprint, make a get()
8081
+ # request to retrieve the HealthCheckService.
8082
+ # Corresponds to the JSON property `fingerprint`
8083
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
8084
+ # @return [String]
8085
+ attr_accessor :fingerprint
8086
+
8087
+ # List of URLs to the HealthCheck resources. Must have at least one HealthCheck,
8088
+ # and not more than 10. HealthCheck resources must have portSpecification=
8089
+ # USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be
8090
+ # regional and in the same region. For global HealthCheckService, HealthCheck
8091
+ # must be global. Mix of regional and global HealthChecks is not supported.
8092
+ # Multiple regional HealthChecks must belong to the same region. Regional
8093
+ # HealthChecks</code? must belong to the same region as zones of NEGs.
8094
+ # Corresponds to the JSON property `healthChecks`
8095
+ # @return [Array<String>]
8096
+ attr_accessor :health_checks
8097
+
8098
+ # Optional. Policy for how the results from multiple health checks for the same
8099
+ # endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified.
8100
+ # - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
8101
+ # the health check service.
8102
+ # - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the
8103
+ # HealthState of the entire health check service. If all backend's are healthy,
8104
+ # the HealthState of the health check service is HEALTHY. .
8105
+ # Corresponds to the JSON property `healthStatusAggregationPolicy`
8106
+ # @return [String]
8107
+ attr_accessor :health_status_aggregation_policy
8108
+
8109
+ # [Output Only] The unique identifier for the resource. This identifier is
8110
+ # defined by the server.
8111
+ # Corresponds to the JSON property `id`
8112
+ # @return [Fixnum]
8113
+ attr_accessor :id
8114
+
8115
+ # [Output only] Type of the resource. Always compute#healthCheckServicefor
8116
+ # health check services.
8117
+ # Corresponds to the JSON property `kind`
8118
+ # @return [String]
8119
+ attr_accessor :kind
8120
+
8121
+ # Name of the resource. The name must be 1-63 characters long, and comply with
8122
+ # RFC1035. Specifically, the name must be 1-63 characters long and match the
8123
+ # regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
8124
+ # character must be a lowercase letter, and all following characters must be a
8125
+ # dash, lowercase letter, or digit, except the last character, which cannot be a
8126
+ # dash.
8127
+ # Corresponds to the JSON property `name`
8128
+ # @return [String]
8129
+ attr_accessor :name
8130
+
8131
+ # List of URLs to the NetworkEndpointGroup resources. Must not have more than
8132
+ # 100. For regional HealthCheckService, NEGs must be in zones in the region of
8133
+ # the HealthCheckService.
8134
+ # Corresponds to the JSON property `networkEndpointGroups`
8135
+ # @return [Array<String>]
8136
+ attr_accessor :network_endpoint_groups
8137
+
8138
+ # List of URLs to the NotificationEndpoint resources. Must not have more than 10.
8139
+ # A list of endpoints for receiving notifications of change in health status.
8140
+ # For regional HealthCheckService, NotificationEndpoint must be regional and in
8141
+ # the same region. For global HealthCheckService, NotificationEndpoint must be
8142
+ # global.
8143
+ # Corresponds to the JSON property `notificationEndpoints`
8144
+ # @return [Array<String>]
8145
+ attr_accessor :notification_endpoints
8146
+
8147
+ # [Output Only] URL of the region where the health check service resides. This
8148
+ # field is not applicable to global health check services. You must specify this
8149
+ # field as part of the HTTP request URL. It is not settable as a field in the
8150
+ # request body.
8151
+ # Corresponds to the JSON property `region`
8152
+ # @return [String]
8153
+ attr_accessor :region
8154
+
8155
+ # [Output Only] Server-defined URL for the resource.
8156
+ # Corresponds to the JSON property `selfLink`
8157
+ # @return [String]
8158
+ attr_accessor :self_link
8159
+
8160
+ def initialize(**args)
8161
+ update!(**args)
8162
+ end
8163
+
8164
+ # Update properties of this object
8165
+ def update!(**args)
8166
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
8167
+ @description = args[:description] if args.key?(:description)
8168
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
8169
+ @health_checks = args[:health_checks] if args.key?(:health_checks)
8170
+ @health_status_aggregation_policy = args[:health_status_aggregation_policy] if args.key?(:health_status_aggregation_policy)
8171
+ @id = args[:id] if args.key?(:id)
8172
+ @kind = args[:kind] if args.key?(:kind)
8173
+ @name = args[:name] if args.key?(:name)
8174
+ @network_endpoint_groups = args[:network_endpoint_groups] if args.key?(:network_endpoint_groups)
8175
+ @notification_endpoints = args[:notification_endpoints] if args.key?(:notification_endpoints)
8176
+ @region = args[:region] if args.key?(:region)
8177
+ @self_link = args[:self_link] if args.key?(:self_link)
8178
+ end
8179
+ end
8180
+
8181
+ # A full or valid partial URL to a health check service. For example, the
8182
+ # following are valid URLs:
8183
+ # - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/
8184
+ # healthCheckServices/health-check-service
8185
+ # - projects/project-id/regions/us-west1/healthCheckServices/health-check-
8186
+ # service
8187
+ # - regions/us-west1/healthCheckServices/health-check-service
8188
+ class HealthCheckServiceReference
8189
+ include Google::Apis::Core::Hashable
8190
+
8191
+ #
8192
+ # Corresponds to the JSON property `healthCheckService`
8193
+ # @return [String]
8194
+ attr_accessor :health_check_service
8195
+
8196
+ def initialize(**args)
8197
+ update!(**args)
8198
+ end
8199
+
8200
+ # Update properties of this object
8201
+ def update!(**args)
8202
+ @health_check_service = args[:health_check_service] if args.key?(:health_check_service)
8203
+ end
8204
+ end
8205
+
8206
+ #
8207
+ class HealthCheckServicesList
8208
+ include Google::Apis::Core::Hashable
8209
+
8210
+ # [Output Only] Unique identifier for the resource; defined by the server.
8211
+ # Corresponds to the JSON property `id`
8212
+ # @return [String]
8213
+ attr_accessor :id
8214
+
8215
+ # A list of HealthCheckService resources.
8216
+ # Corresponds to the JSON property `items`
8217
+ # @return [Array<Google::Apis::ComputeV1::HealthCheckService>]
8218
+ attr_accessor :items
8219
+
8220
+ # [Output Only] Type of the resource. Always compute#healthCheckServicesList for
8221
+ # lists of HealthCheckServices.
8222
+ # Corresponds to the JSON property `kind`
8223
+ # @return [String]
8224
+ attr_accessor :kind
8225
+
8226
+ # [Output Only] This token allows you to get the next page of results for list
8227
+ # requests. If the number of results is larger than maxResults, use the
8228
+ # nextPageToken as a value for the query parameter pageToken in the next list
8229
+ # request. Subsequent list requests will have their own nextPageToken to
8230
+ # continue paging through the results.
8231
+ # Corresponds to the JSON property `nextPageToken`
8232
+ # @return [String]
8233
+ attr_accessor :next_page_token
8234
+
8235
+ # [Output Only] Server-defined URL for this resource.
8236
+ # Corresponds to the JSON property `selfLink`
8237
+ # @return [String]
8238
+ attr_accessor :self_link
8239
+
8240
+ # [Output Only] Informational warning message.
8241
+ # Corresponds to the JSON property `warning`
8242
+ # @return [Google::Apis::ComputeV1::HealthCheckServicesList::Warning]
8243
+ attr_accessor :warning
8244
+
8245
+ def initialize(**args)
8246
+ update!(**args)
8247
+ end
8248
+
8249
+ # Update properties of this object
8250
+ def update!(**args)
8251
+ @id = args[:id] if args.key?(:id)
8252
+ @items = args[:items] if args.key?(:items)
8253
+ @kind = args[:kind] if args.key?(:kind)
8254
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8255
+ @self_link = args[:self_link] if args.key?(:self_link)
8256
+ @warning = args[:warning] if args.key?(:warning)
8257
+ end
8258
+
8259
+ # [Output Only] Informational warning message.
8260
+ class Warning
8261
+ include Google::Apis::Core::Hashable
8262
+
8263
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
8264
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
8265
+ # Corresponds to the JSON property `code`
8266
+ # @return [String]
8267
+ attr_accessor :code
8268
+
8269
+ # [Output Only] Metadata about this warning in key: value format. For example:
8270
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
8271
+ # Corresponds to the JSON property `data`
8272
+ # @return [Array<Google::Apis::ComputeV1::HealthCheckServicesList::Warning::Datum>]
8273
+ attr_accessor :data
8274
+
8275
+ # [Output Only] A human-readable description of the warning code.
8276
+ # Corresponds to the JSON property `message`
8277
+ # @return [String]
8278
+ attr_accessor :message
8279
+
8280
+ def initialize(**args)
8281
+ update!(**args)
8282
+ end
8283
+
8284
+ # Update properties of this object
8285
+ def update!(**args)
8286
+ @code = args[:code] if args.key?(:code)
8287
+ @data = args[:data] if args.key?(:data)
8288
+ @message = args[:message] if args.key?(:message)
8289
+ end
8290
+
8291
+ #
8292
+ class Datum
8293
+ include Google::Apis::Core::Hashable
8294
+
8295
+ # [Output Only] A key that provides more detail on the warning being returned.
8296
+ # For example, for warnings where there are no results in a list request for a
8297
+ # particular zone, this key might be scope and the key value might be the zone
8298
+ # name. Other examples might be a key indicating a deprecated resource and a
8299
+ # suggested replacement, or a warning about invalid network settings (for
8300
+ # example, if an instance attempts to perform IP forwarding but is not enabled
8301
+ # for IP forwarding).
8302
+ # Corresponds to the JSON property `key`
8303
+ # @return [String]
8304
+ attr_accessor :key
8305
+
8306
+ # [Output Only] A warning data value corresponding to the key.
8307
+ # Corresponds to the JSON property `value`
8308
+ # @return [String]
8309
+ attr_accessor :value
8310
+
8311
+ def initialize(**args)
8312
+ update!(**args)
8313
+ end
8314
+
8315
+ # Update properties of this object
8316
+ def update!(**args)
8317
+ @key = args[:key] if args.key?(:key)
8318
+ @value = args[:value] if args.key?(:value)
8319
+ end
8320
+ end
8321
+ end
8322
+ end
8323
+
7987
8324
  #
7988
8325
  class HealthChecksAggregatedList
7989
8326
  include Google::Apis::Core::Hashable
@@ -8196,6 +8533,11 @@ module Google
8196
8533
  class HealthStatus
8197
8534
  include Google::Apis::Core::Hashable
8198
8535
 
8536
+ # Metadata defined as annotations for network endpoint.
8537
+ # Corresponds to the JSON property `annotations`
8538
+ # @return [Hash<String,String>]
8539
+ attr_accessor :annotations
8540
+
8199
8541
  # Health state of the instance.
8200
8542
  # Corresponds to the JSON property `healthState`
8201
8543
  # @return [String]
@@ -8223,6 +8565,7 @@ module Google
8223
8565
 
8224
8566
  # Update properties of this object
8225
8567
  def update!(**args)
8568
+ @annotations = args[:annotations] if args.key?(:annotations)
8226
8569
  @health_state = args[:health_state] if args.key?(:health_state)
8227
8570
  @instance = args[:instance] if args.key?(:instance)
8228
8571
  @ip_address = args[:ip_address] if args.key?(:ip_address)
@@ -8256,6 +8599,17 @@ module Google
8256
8599
  # @return [Google::Apis::ComputeV1::HealthCheckReference]
8257
8600
  attr_accessor :health_check
8258
8601
 
8602
+ # A full or valid partial URL to a health check service. For example, the
8603
+ # following are valid URLs:
8604
+ # - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/
8605
+ # healthCheckServices/health-check-service
8606
+ # - projects/project-id/regions/us-west1/healthCheckServices/health-check-
8607
+ # service
8608
+ # - regions/us-west1/healthCheckServices/health-check-service
8609
+ # Corresponds to the JSON property `healthCheckService`
8610
+ # @return [Google::Apis::ComputeV1::HealthCheckServiceReference]
8611
+ attr_accessor :health_check_service
8612
+
8259
8613
  # Health state of the network endpoint determined based on the health checks
8260
8614
  # configured.
8261
8615
  # Corresponds to the JSON property `healthState`
@@ -8271,6 +8625,7 @@ module Google
8271
8625
  @backend_service = args[:backend_service] if args.key?(:backend_service)
8272
8626
  @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
8273
8627
  @health_check = args[:health_check] if args.key?(:health_check)
8628
+ @health_check_service = args[:health_check_service] if args.key?(:health_check_service)
8274
8629
  @health_state = args[:health_state] if args.key?(:health_state)
8275
8630
  end
8276
8631
  end
@@ -9585,11 +9940,13 @@ module Google
9585
9940
  # @return [String]
9586
9941
  attr_accessor :source_disk_id
9587
9942
 
9588
- # URL of the source image used to create this image. This can be a full or valid
9589
- # partial URL. You must provide exactly one of:
9590
- # - this property, or
9591
- # - the rawDisk.source property, or
9592
- # - the sourceDisk property in order to create an image.
9943
+ # URL of the source image used to create this image.
9944
+ # In order to create an image, you must provide the full or partial URL of one
9945
+ # of the following:
9946
+ # - The selfLink URL
9947
+ # - This property
9948
+ # - The rawDisk.source URL
9949
+ # - The sourceDisk URL
9593
9950
  # Corresponds to the JSON property `sourceImage`
9594
9951
  # @return [String]
9595
9952
  attr_accessor :source_image
@@ -9606,12 +9963,14 @@ module Google
9606
9963
  # @return [String]
9607
9964
  attr_accessor :source_image_id
9608
9965
 
9609
- # URL of the source snapshot used to create this image. This can be a full or
9610
- # valid partial URL. You must provide exactly one of:
9611
- # - this property, or
9612
- # - the sourceImage property, or
9613
- # - the rawDisk.source property, or
9614
- # - the sourceDisk property in order to create an image.
9966
+ # URL of the source snapshot used to create this image.
9967
+ # In order to create an image, you must provide the full or partial URL of one
9968
+ # of the following:
9969
+ # - The selfLink URL
9970
+ # - This property
9971
+ # - The sourceImage URL
9972
+ # - The rawDisk.source URL
9973
+ # - The sourceDisk URL
9615
9974
  # Corresponds to the JSON property `sourceSnapshot`
9616
9975
  # @return [String]
9617
9976
  attr_accessor :source_snapshot
@@ -10040,7 +10399,7 @@ module Google
10040
10399
  # @return [Array<String>]
10041
10400
  attr_accessor :resource_policies
10042
10401
 
10043
- # Sets the scheduling options for an Instance. NextID: 11
10402
+ # Sets the scheduling options for an Instance. NextID: 12
10044
10403
  # Corresponds to the JSON property `scheduling`
10045
10404
  # @return [Google::Apis::ComputeV1::Scheduling]
10046
10405
  attr_accessor :scheduling
@@ -12308,9 +12667,9 @@ module Google
12308
12667
  class InstanceProperties
12309
12668
  include Google::Apis::Core::Hashable
12310
12669
 
12311
- # Enables instances created based on this template to send packets with source
12312
- # IP addresses other than their own and receive packets with destination IP
12313
- # addresses other than their own. If these instances will be used as an IP
12670
+ # Enables instances created based on these properties to send packets with
12671
+ # source IP addresses other than their own and receive packets with destination
12672
+ # IP addresses other than their own. If these instances will be used as an IP
12314
12673
  # gateway or it will be set as the next-hop in a Route resource, specify true.
12315
12674
  # If unsure, leave this set to false. See the Enable IP forwarding documentation
12316
12675
  # for more information.
@@ -12319,30 +12678,30 @@ module Google
12319
12678
  attr_accessor :can_ip_forward
12320
12679
  alias_method :can_ip_forward?, :can_ip_forward
12321
12680
 
12322
- # An optional text description for the instances that are created from this
12323
- # instance template.
12681
+ # An optional text description for the instances that are created from these
12682
+ # properties.
12324
12683
  # Corresponds to the JSON property `description`
12325
12684
  # @return [String]
12326
12685
  attr_accessor :description
12327
12686
 
12328
12687
  # An array of disks that are associated with the instances that are created from
12329
- # this template.
12688
+ # these properties.
12330
12689
  # Corresponds to the JSON property `disks`
12331
12690
  # @return [Array<Google::Apis::ComputeV1::AttachedDisk>]
12332
12691
  attr_accessor :disks
12333
12692
 
12334
12693
  # A list of guest accelerator cards' type and count to use for instances created
12335
- # from the instance template.
12694
+ # from these properties.
12336
12695
  # Corresponds to the JSON property `guestAccelerators`
12337
12696
  # @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
12338
12697
  attr_accessor :guest_accelerators
12339
12698
 
12340
- # Labels to apply to instances that are created from this template.
12699
+ # Labels to apply to instances that are created from these properties.
12341
12700
  # Corresponds to the JSON property `labels`
12342
12701
  # @return [Hash<String,String>]
12343
12702
  attr_accessor :labels
12344
12703
 
12345
- # The machine type to use for instances that are created from this template.
12704
+ # The machine type to use for instances that are created from these properties.
12346
12705
  # Corresponds to the JSON property `machineType`
12347
12706
  # @return [String]
12348
12707
  attr_accessor :machine_type
@@ -12352,11 +12711,11 @@ module Google
12352
12711
  # @return [Google::Apis::ComputeV1::Metadata]
12353
12712
  attr_accessor :metadata
12354
12713
 
12355
- # Minimum cpu/platform to be used by this instance. The instance may be
12356
- # scheduled on the specified or newer cpu/platform. Applicable values are the
12357
- # friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or
12358
- # minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a
12359
- # Minimum CPU Platform.
12714
+ # Minimum cpu/platform to be used by instances. The instance may be scheduled on
12715
+ # the specified or newer cpu/platform. Applicable values are the friendly names
12716
+ # of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "
12717
+ # Intel Sandy Bridge". For more information, read Specifying a Minimum CPU
12718
+ # Platform.
12360
12719
  # Corresponds to the JSON property `minCpuPlatform`
12361
12720
  # @return [String]
12362
12721
  attr_accessor :min_cpu_platform
@@ -12366,7 +12725,7 @@ module Google
12366
12725
  # @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
12367
12726
  attr_accessor :network_interfaces
12368
12727
 
12369
- # The private IPv6 google access type for the VM. If not specified, use
12728
+ # The private IPv6 google access type for VMs. If not specified, use
12370
12729
  # INHERIT_FROM_SUBNETWORK as default.
12371
12730
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
12372
12731
  # @return [String]
@@ -12377,20 +12736,21 @@ module Google
12377
12736
  # @return [Google::Apis::ComputeV1::ReservationAffinity]
12378
12737
  attr_accessor :reservation_affinity
12379
12738
 
12380
- # Resource policies (names, not ULRs) applied to instances created from this
12381
- # template.
12739
+ # Resource policies (names, not ULRs) applied to instances created from these
12740
+ # properties.
12382
12741
  # Corresponds to the JSON property `resourcePolicies`
12383
12742
  # @return [Array<String>]
12384
12743
  attr_accessor :resource_policies
12385
12744
 
12386
- # Sets the scheduling options for an Instance. NextID: 11
12745
+ # Sets the scheduling options for an Instance. NextID: 12
12387
12746
  # Corresponds to the JSON property `scheduling`
12388
12747
  # @return [Google::Apis::ComputeV1::Scheduling]
12389
12748
  attr_accessor :scheduling
12390
12749
 
12391
12750
  # A list of service accounts with specified scopes. Access tokens for these
12392
- # service accounts are available to the instances that are created from this
12393
- # template. Use metadata queries to obtain the access tokens for these instances.
12751
+ # service accounts are available to the instances that are created from these
12752
+ # properties. Use metadata queries to obtain the access tokens for these
12753
+ # instances.
12394
12754
  # Corresponds to the JSON property `serviceAccounts`
12395
12755
  # @return [Array<Google::Apis::ComputeV1::ServiceAccount>]
12396
12756
  attr_accessor :service_accounts
@@ -13802,8 +14162,7 @@ module Google
13802
14162
  end
13803
14163
 
13804
14164
  # Describes a single physical circuit between the Customer and Google.
13805
- # CircuitInfo objects are created by Google, so all fields are output only. Next
13806
- # id: 4
14165
+ # CircuitInfo objects are created by Google, so all fields are output only.
13807
14166
  class InterconnectCircuitInfo
13808
14167
  include Google::Apis::Core::Hashable
13809
14168
 
@@ -14411,7 +14770,7 @@ module Google
14411
14770
  end
14412
14771
  end
14413
14772
 
14414
- # Description of a planned outage on this Interconnect. Next id: 9
14773
+ # Description of a planned outage on this Interconnect.
14415
14774
  class InterconnectOutageNotification
14416
14775
  include Google::Apis::Core::Hashable
14417
14776
 
@@ -15870,10 +16229,12 @@ module Google
15870
16229
  # @return [String]
15871
16230
  attr_accessor :i_pv4_range
15872
16231
 
15873
- # When set to true, the VPC network is created in "auto" mode. When set to false,
15874
- # the VPC network is created in "custom" mode.
16232
+ # When set to true, the VPC network is created in auto mode. When set to false,
16233
+ # the VPC network is created in custom mode.
15875
16234
  # An auto mode VPC network starts with one subnet per region. Each subnet has a
15876
16235
  # predetermined range as described in Auto mode VPC network IP ranges.
16236
+ # For custom mode VPC networks, you can add subnets using the subnetworks insert
16237
+ # method.
15877
16238
  # Corresponds to the JSON property `autoCreateSubnetworks`
15878
16239
  # @return [Boolean]
15879
16240
  attr_accessor :auto_create_subnetworks
@@ -15961,10 +16322,15 @@ module Google
15961
16322
  end
15962
16323
  end
15963
16324
 
15964
- # The network endpoint. Next ID: 7
16325
+ # The network endpoint.
15965
16326
  class NetworkEndpoint
15966
16327
  include Google::Apis::Core::Hashable
15967
16328
 
16329
+ # Metadata defined as annotations on the network endpoint.
16330
+ # Corresponds to the JSON property `annotations`
16331
+ # @return [Hash<String,String>]
16332
+ attr_accessor :annotations
16333
+
15968
16334
  # Optional fully qualified domain name of network endpoint. This can only be
15969
16335
  # specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
15970
16336
  # Corresponds to the JSON property `fqdn`
@@ -16001,6 +16367,7 @@ module Google
16001
16367
 
16002
16368
  # Update properties of this object
16003
16369
  def update!(**args)
16370
+ @annotations = args[:annotations] if args.key?(:annotations)
16004
16371
  @fqdn = args[:fqdn] if args.key?(:fqdn)
16005
16372
  @instance = args[:instance] if args.key?(:instance)
16006
16373
  @ip_address = args[:ip_address] if args.key?(:ip_address)
@@ -16017,6 +16384,11 @@ module Google
16017
16384
  class NetworkEndpointGroup
16018
16385
  include Google::Apis::Core::Hashable
16019
16386
 
16387
+ # Metadata defined as annotations on the network endpoint group.
16388
+ # Corresponds to the JSON property `annotations`
16389
+ # @return [Hash<String,String>]
16390
+ attr_accessor :annotations
16391
+
16020
16392
  # [Output Only] Creation timestamp in RFC3339 text format.
16021
16393
  # Corresponds to the JSON property `creationTimestamp`
16022
16394
  # @return [String]
@@ -16094,6 +16466,7 @@ module Google
16094
16466
 
16095
16467
  # Update properties of this object
16096
16468
  def update!(**args)
16469
+ @annotations = args[:annotations] if args.key?(:annotations)
16097
16470
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
16098
16471
  @default_port = args[:default_port] if args.key?(:default_port)
16099
16472
  @description = args[:description] if args.key?(:description)
@@ -16619,7 +16992,7 @@ module Google
16619
16992
  # @return [Array<Google::Apis::ComputeV1::HealthStatusForNetworkEndpoint>]
16620
16993
  attr_accessor :healths
16621
16994
 
16622
- # The network endpoint. Next ID: 7
16995
+ # The network endpoint.
16623
16996
  # Corresponds to the JSON property `networkEndpoint`
16624
16997
  # @return [Google::Apis::ComputeV1::NetworkEndpoint]
16625
16998
  attr_accessor :network_endpoint
@@ -17122,7 +17495,7 @@ module Google
17122
17495
  # @return [String]
17123
17496
  attr_accessor :name
17124
17497
 
17125
- # The URL of the node template to which this node group belongs.
17498
+ # URL of the node template to create the node group from.
17126
17499
  # Corresponds to the JSON property `nodeTemplate`
17127
17500
  # @return [String]
17128
17501
  attr_accessor :node_template
@@ -17756,7 +18129,7 @@ module Google
17756
18129
  # Represent a sole-tenant Node Template resource.
17757
18130
  # You can use a template to define properties for nodes in a node group. For
17758
18131
  # more information, read Creating node groups and instances. (== resource_for `$
17759
- # api_version`.nodeTemplates ==) (== NextID: 19 ==)
18132
+ # api_version`.nodeTemplates ==)
17760
18133
  class NodeTemplate
17761
18134
  include Google::Apis::Core::Hashable
17762
18135
 
@@ -18644,6 +19017,255 @@ module Google
18644
19017
  end
18645
19018
  end
18646
19019
 
19020
+ # Represents a notification endpoint.
19021
+ # A notification endpoint resource defines an endpoint to receive notifications
19022
+ # when there are status changes detected by the associated health check service.
19023
+ # For more information, see Health checks overview. (== resource_for `$
19024
+ # api_version`.notificationEndpoint ==) (== resource_for `$api_version`.
19025
+ # regionNotificationEndpoints ==)
19026
+ class NotificationEndpoint
19027
+ include Google::Apis::Core::Hashable
19028
+
19029
+ # [Output Only] Creation timestamp in RFC3339 text format.
19030
+ # Corresponds to the JSON property `creationTimestamp`
19031
+ # @return [String]
19032
+ attr_accessor :creation_timestamp
19033
+
19034
+ # An optional description of this resource. Provide this property when you
19035
+ # create the resource.
19036
+ # Corresponds to the JSON property `description`
19037
+ # @return [String]
19038
+ attr_accessor :description
19039
+
19040
+ # Represents a gRPC setting that describes one gRPC notification endpoint and
19041
+ # the retry duration attempting to send notification to this endpoint.
19042
+ # Corresponds to the JSON property `grpcSettings`
19043
+ # @return [Google::Apis::ComputeV1::NotificationEndpointGrpcSettings]
19044
+ attr_accessor :grpc_settings
19045
+
19046
+ # [Output Only] A unique identifier for this resource type. The server generates
19047
+ # this identifier.
19048
+ # Corresponds to the JSON property `id`
19049
+ # @return [Fixnum]
19050
+ attr_accessor :id
19051
+
19052
+ # [Output Only] Type of the resource. Always compute#notificationEndpoint for
19053
+ # notification endpoints.
19054
+ # Corresponds to the JSON property `kind`
19055
+ # @return [String]
19056
+ attr_accessor :kind
19057
+
19058
+ # Name of the resource. Provided by the client when the resource is created. The
19059
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
19060
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
19061
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
19062
+ # and all following characters must be a dash, lowercase letter, or digit,
19063
+ # except the last character, which cannot be a dash.
19064
+ # Corresponds to the JSON property `name`
19065
+ # @return [String]
19066
+ attr_accessor :name
19067
+
19068
+ # [Output Only] URL of the region where the notification endpoint resides. This
19069
+ # field applies only to the regional resource. You must specify this field as
19070
+ # part of the HTTP request URL. It is not settable as a field in the request
19071
+ # body.
19072
+ # Corresponds to the JSON property `region`
19073
+ # @return [String]
19074
+ attr_accessor :region
19075
+
19076
+ # [Output Only] Server-defined URL for the resource.
19077
+ # Corresponds to the JSON property `selfLink`
19078
+ # @return [String]
19079
+ attr_accessor :self_link
19080
+
19081
+ def initialize(**args)
19082
+ update!(**args)
19083
+ end
19084
+
19085
+ # Update properties of this object
19086
+ def update!(**args)
19087
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
19088
+ @description = args[:description] if args.key?(:description)
19089
+ @grpc_settings = args[:grpc_settings] if args.key?(:grpc_settings)
19090
+ @id = args[:id] if args.key?(:id)
19091
+ @kind = args[:kind] if args.key?(:kind)
19092
+ @name = args[:name] if args.key?(:name)
19093
+ @region = args[:region] if args.key?(:region)
19094
+ @self_link = args[:self_link] if args.key?(:self_link)
19095
+ end
19096
+ end
19097
+
19098
+ # Represents a gRPC setting that describes one gRPC notification endpoint and
19099
+ # the retry duration attempting to send notification to this endpoint.
19100
+ class NotificationEndpointGrpcSettings
19101
+ include Google::Apis::Core::Hashable
19102
+
19103
+ # Optional. If specified, this field is used to set the authority header by the
19104
+ # sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.
19105
+ # 3
19106
+ # Corresponds to the JSON property `authority`
19107
+ # @return [String]
19108
+ attr_accessor :authority
19109
+
19110
+ # Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS
19111
+ # name.
19112
+ # Corresponds to the JSON property `endpoint`
19113
+ # @return [String]
19114
+ attr_accessor :endpoint
19115
+
19116
+ # Optional. If specified, this field is used to populate the "name" field in
19117
+ # gRPC requests.
19118
+ # Corresponds to the JSON property `payloadName`
19119
+ # @return [String]
19120
+ attr_accessor :payload_name
19121
+
19122
+ # A Duration represents a fixed-length span of time represented as a count of
19123
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
19124
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
19125
+ # 000 years.
19126
+ # Corresponds to the JSON property `resendInterval`
19127
+ # @return [Google::Apis::ComputeV1::Duration]
19128
+ attr_accessor :resend_interval
19129
+
19130
+ # How much time (in seconds) is spent attempting notification retries until a
19131
+ # successful response is received. Default is 30s. Limit is 20m (1200s). Must be
19132
+ # a positive number.
19133
+ # Corresponds to the JSON property `retryDurationSec`
19134
+ # @return [Fixnum]
19135
+ attr_accessor :retry_duration_sec
19136
+
19137
+ def initialize(**args)
19138
+ update!(**args)
19139
+ end
19140
+
19141
+ # Update properties of this object
19142
+ def update!(**args)
19143
+ @authority = args[:authority] if args.key?(:authority)
19144
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
19145
+ @payload_name = args[:payload_name] if args.key?(:payload_name)
19146
+ @resend_interval = args[:resend_interval] if args.key?(:resend_interval)
19147
+ @retry_duration_sec = args[:retry_duration_sec] if args.key?(:retry_duration_sec)
19148
+ end
19149
+ end
19150
+
19151
+ #
19152
+ class NotificationEndpointList
19153
+ include Google::Apis::Core::Hashable
19154
+
19155
+ # [Output Only] Unique identifier for the resource; defined by the server.
19156
+ # Corresponds to the JSON property `id`
19157
+ # @return [String]
19158
+ attr_accessor :id
19159
+
19160
+ # A list of NotificationEndpoint resources.
19161
+ # Corresponds to the JSON property `items`
19162
+ # @return [Array<Google::Apis::ComputeV1::NotificationEndpoint>]
19163
+ attr_accessor :items
19164
+
19165
+ # [Output Only] Type of the resource. Always compute#notificationEndpoint for
19166
+ # notification endpoints.
19167
+ # Corresponds to the JSON property `kind`
19168
+ # @return [String]
19169
+ attr_accessor :kind
19170
+
19171
+ # [Output Only] This token allows you to get the next page of results for list
19172
+ # requests. If the number of results is larger than maxResults, use the
19173
+ # nextPageToken as a value for the query parameter pageToken in the next list
19174
+ # request. Subsequent list requests will have their own nextPageToken to
19175
+ # continue paging through the results.
19176
+ # Corresponds to the JSON property `nextPageToken`
19177
+ # @return [String]
19178
+ attr_accessor :next_page_token
19179
+
19180
+ # [Output Only] Server-defined URL for this resource.
19181
+ # Corresponds to the JSON property `selfLink`
19182
+ # @return [String]
19183
+ attr_accessor :self_link
19184
+
19185
+ # [Output Only] Informational warning message.
19186
+ # Corresponds to the JSON property `warning`
19187
+ # @return [Google::Apis::ComputeV1::NotificationEndpointList::Warning]
19188
+ attr_accessor :warning
19189
+
19190
+ def initialize(**args)
19191
+ update!(**args)
19192
+ end
19193
+
19194
+ # Update properties of this object
19195
+ def update!(**args)
19196
+ @id = args[:id] if args.key?(:id)
19197
+ @items = args[:items] if args.key?(:items)
19198
+ @kind = args[:kind] if args.key?(:kind)
19199
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
19200
+ @self_link = args[:self_link] if args.key?(:self_link)
19201
+ @warning = args[:warning] if args.key?(:warning)
19202
+ end
19203
+
19204
+ # [Output Only] Informational warning message.
19205
+ class Warning
19206
+ include Google::Apis::Core::Hashable
19207
+
19208
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
19209
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
19210
+ # Corresponds to the JSON property `code`
19211
+ # @return [String]
19212
+ attr_accessor :code
19213
+
19214
+ # [Output Only] Metadata about this warning in key: value format. For example:
19215
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
19216
+ # Corresponds to the JSON property `data`
19217
+ # @return [Array<Google::Apis::ComputeV1::NotificationEndpointList::Warning::Datum>]
19218
+ attr_accessor :data
19219
+
19220
+ # [Output Only] A human-readable description of the warning code.
19221
+ # Corresponds to the JSON property `message`
19222
+ # @return [String]
19223
+ attr_accessor :message
19224
+
19225
+ def initialize(**args)
19226
+ update!(**args)
19227
+ end
19228
+
19229
+ # Update properties of this object
19230
+ def update!(**args)
19231
+ @code = args[:code] if args.key?(:code)
19232
+ @data = args[:data] if args.key?(:data)
19233
+ @message = args[:message] if args.key?(:message)
19234
+ end
19235
+
19236
+ #
19237
+ class Datum
19238
+ include Google::Apis::Core::Hashable
19239
+
19240
+ # [Output Only] A key that provides more detail on the warning being returned.
19241
+ # For example, for warnings where there are no results in a list request for a
19242
+ # particular zone, this key might be scope and the key value might be the zone
19243
+ # name. Other examples might be a key indicating a deprecated resource and a
19244
+ # suggested replacement, or a warning about invalid network settings (for
19245
+ # example, if an instance attempts to perform IP forwarding but is not enabled
19246
+ # for IP forwarding).
19247
+ # Corresponds to the JSON property `key`
19248
+ # @return [String]
19249
+ attr_accessor :key
19250
+
19251
+ # [Output Only] A warning data value corresponding to the key.
19252
+ # Corresponds to the JSON property `value`
19253
+ # @return [String]
19254
+ attr_accessor :value
19255
+
19256
+ def initialize(**args)
19257
+ update!(**args)
19258
+ end
19259
+
19260
+ # Update properties of this object
19261
+ def update!(**args)
19262
+ @key = args[:key] if args.key?(:key)
19263
+ @value = args[:value] if args.key?(:value)
19264
+ end
19265
+ end
19266
+ end
19267
+ end
19268
+
18647
19269
  # Represents an Operation resource.
18648
19270
  # Google Compute Engine has three Operation resources:
18649
19271
  # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
@@ -20012,6 +20634,8 @@ module Google
20012
20634
  # defaultService must not be set. Conversely if defaultService is set,
20013
20635
  # defaultRouteAction cannot contain any weightedBackendServices.
20014
20636
  # Only one of defaultRouteAction or defaultUrlRedirect must be set.
20637
+ # UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
20638
+ # within a pathMatcher's defaultRouteAction.
20015
20639
  # Corresponds to the JSON property `defaultRouteAction`
20016
20640
  # @return [Google::Apis::ComputeV1::HttpRouteAction]
20017
20641
  attr_accessor :default_route_action
@@ -20115,6 +20739,8 @@ module Google
20115
20739
  # weightedBackendServices, service must not be set. Conversely if service is set,
20116
20740
  # routeAction cannot contain any weightedBackendServices.
20117
20741
  # Only one of routeAction or urlRedirect must be set.
20742
+ # UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
20743
+ # within a pathRule's routeAction.
20118
20744
  # Corresponds to the JSON property `routeAction`
20119
20745
  # @return [Google::Apis::ComputeV1::HttpRouteAction]
20120
20746
  attr_accessor :route_action
@@ -24345,7 +24971,7 @@ module Google
24345
24971
  end
24346
24972
  end
24347
24973
 
24348
- # Status of a NAT contained in this router. Next tag: 9
24974
+ # Status of a NAT contained in this router.
24349
24975
  class RouterStatusNatStatus
24350
24976
  include Google::Apis::Core::Hashable
24351
24977
 
@@ -24673,7 +25299,7 @@ module Google
24673
25299
  end
24674
25300
  end
24675
25301
 
24676
- # Sets the scheduling options for an Instance. NextID: 11
25302
+ # Sets the scheduling options for an Instance. NextID: 12
24677
25303
  class Scheduling
24678
25304
  include Google::Apis::Core::Hashable
24679
25305
 
@@ -24703,8 +25329,9 @@ module Google
24703
25329
  attr_accessor :on_host_maintenance
24704
25330
 
24705
25331
  # Defines whether the instance is preemptible. This can only be set during
24706
- # instance creation, it cannot be set or changed after the instance has been
24707
- # created.
25332
+ # instance creation or while the instance is stopped and therefore, in a `
25333
+ # TERMINATED` state. See Instance Life Cycle for more information on the
25334
+ # possible instance states.
24708
25335
  # Corresponds to the JSON property `preemptible`
24709
25336
  # @return [Boolean]
24710
25337
  attr_accessor :preemptible
@@ -25701,9 +26328,9 @@ module Google
25701
26328
  # to five PEM-encoded certificates. The API call creates an object (
25702
26329
  # sslCertificate) that holds this data. You can use SSL keys and certificates to
25703
26330
  # secure connections to a load balancer. For more information, read Creating
25704
- # and using SSL certificates and SSL certificates quotas and limits. (==
25705
- # resource_for `$api_version`.sslCertificates ==) (== resource_for `$api_version`
25706
- # .regionSslCertificates ==)
26331
+ # and using SSL certificates, SSL certificates quotas and limits, and
26332
+ # Troubleshooting SSL certificates. (== resource_for `$api_version`.
26333
+ # sslCertificates ==) (== resource_for `$api_version`.regionSslCertificates ==)
25707
26334
  class SslCertificate
25708
26335
  include Google::Apis::Core::Hashable
25709
26336
 
@@ -26586,7 +27213,8 @@ module Google
26586
27213
  # The range of internal addresses that are owned by this subnetwork. Provide
26587
27214
  # this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
26588
27215
  # 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
26589
- # IPv4 is supported. This field can be set only at resource creation time.
27216
+ # IPv4 is supported. This field is set at resource creation time. The range can
27217
+ # be expanded after creation using expandIpCidrRange.
26590
27218
  # Corresponds to the JSON property `ipCidrRange`
26591
27219
  # @return [String]
26592
27220
  attr_accessor :ip_cidr_range
@@ -30119,6 +30747,8 @@ module Google
30119
30747
  # must not be set. Conversely if defaultService is set, defaultRouteAction
30120
30748
  # cannot contain any weightedBackendServices.
30121
30749
  # Only one of defaultRouteAction or defaultUrlRedirect must be set.
30750
+ # UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
30751
+ # within defaultRouteAction.
30122
30752
  # Corresponds to the JSON property `defaultRouteAction`
30123
30753
  # @return [Google::Apis::ComputeV1::HttpRouteAction]
30124
30754
  attr_accessor :default_route_action