google-api-client 0.44.2 → 0.46.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (502) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.gitignore +2 -0
  4. data/CHANGELOG.md +295 -0
  5. data/api_list_config.yaml +8 -0
  6. data/bin/generate-api +77 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  8. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  9. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  10. data/generated/google/apis/accessapproval_v1.rb +1 -1
  11. data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
  12. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  13. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  15. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  16. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  19. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  20. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  21. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  22. data/generated/google/apis/admin_directory_v1.rb +1 -1
  23. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  24. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  25. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  26. data/generated/google/apis/admin_reports_v1.rb +1 -1
  27. data/generated/google/apis/admob_v1.rb +6 -2
  28. data/generated/google/apis/admob_v1/classes.rb +31 -31
  29. data/generated/google/apis/admob_v1/service.rb +2 -1
  30. data/generated/google/apis/adsense_v1_4.rb +1 -1
  31. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  32. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  33. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  34. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  35. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  36. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  37. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +32 -1
  38. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  39. data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
  40. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  41. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  42. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  45. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  46. data/generated/google/apis/apigee_v1.rb +1 -1
  47. data/generated/google/apis/apigee_v1/classes.rb +442 -14
  48. data/generated/google/apis/apigee_v1/representations.rb +161 -1
  49. data/generated/google/apis/apigee_v1/service.rb +264 -44
  50. data/generated/google/apis/appengine_v1.rb +1 -1
  51. data/generated/google/apis/appengine_v1beta.rb +1 -1
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  54. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +14 -0
  55. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
  56. data/generated/google/apis/{apigateway_v1alpha1.rb → assuredworkloads_v1beta1.rb} +8 -8
  57. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  58. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  59. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  60. data/generated/google/apis/bigquery_v2.rb +1 -1
  61. data/generated/google/apis/bigquery_v2/classes.rb +140 -23
  62. data/generated/google/apis/bigquery_v2/representations.rb +36 -0
  63. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  64. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  65. data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
  66. data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
  67. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  68. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  69. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +16 -6
  70. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  71. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  72. data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
  73. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  74. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  75. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  76. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
  77. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  78. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  79. data/generated/google/apis/books_v1.rb +1 -1
  80. data/generated/google/apis/books_v1/service.rb +2 -2
  81. data/generated/google/apis/calendar_v3.rb +1 -1
  82. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  83. data/generated/google/apis/chat_v1.rb +1 -1
  84. data/generated/google/apis/chat_v1/classes.rb +79 -5
  85. data/generated/google/apis/chat_v1/representations.rb +35 -0
  86. data/generated/google/apis/civicinfo_v2.rb +1 -1
  87. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  88. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  89. data/generated/google/apis/classroom_v1.rb +7 -1
  90. data/generated/google/apis/classroom_v1/classes.rb +153 -21
  91. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  92. data/generated/google/apis/classroom_v1/service.rb +240 -0
  93. data/generated/google/apis/cloudasset_v1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  95. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  96. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +7 -5
  98. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  99. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  100. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  101. data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
  102. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  103. data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
  104. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  105. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  106. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  107. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  108. data/generated/google/apis/cloudidentity_v1/classes.rb +127 -63
  109. data/generated/google/apis/cloudidentity_v1/representations.rb +29 -0
  110. data/generated/google/apis/cloudidentity_v1/service.rb +124 -70
  111. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  112. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
  113. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  114. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  115. data/generated/google/apis/cloudkms_v1.rb +1 -1
  116. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  117. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  118. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  120. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  121. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  122. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  123. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  124. data/generated/google/apis/cloudshell_v1.rb +1 -1
  125. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  126. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  127. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  128. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  129. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  130. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  131. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  132. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  133. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  134. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
  136. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  137. data/generated/google/apis/composer_v1.rb +1 -1
  138. data/generated/google/apis/composer_v1/classes.rb +2 -3
  139. data/generated/google/apis/composer_v1beta1.rb +1 -1
  140. data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
  141. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  142. data/generated/google/apis/compute_alpha.rb +1 -1
  143. data/generated/google/apis/compute_alpha/classes.rb +633 -146
  144. data/generated/google/apis/compute_alpha/representations.rb +131 -8
  145. data/generated/google/apis/compute_alpha/service.rb +1995 -1013
  146. data/generated/google/apis/compute_beta.rb +1 -1
  147. data/generated/google/apis/compute_beta/classes.rb +566 -94
  148. data/generated/google/apis/compute_beta/representations.rb +100 -1
  149. data/generated/google/apis/compute_beta/service.rb +805 -136
  150. data/generated/google/apis/compute_v1.rb +1 -1
  151. data/generated/google/apis/compute_v1/classes.rb +336 -53
  152. data/generated/google/apis/compute_v1/representations.rb +57 -1
  153. data/generated/google/apis/compute_v1/service.rb +739 -133
  154. data/generated/google/apis/container_v1.rb +1 -1
  155. data/generated/google/apis/container_v1/classes.rb +22 -10
  156. data/generated/google/apis/container_v1beta1.rb +1 -1
  157. data/generated/google/apis/container_v1beta1/classes.rb +50 -10
  158. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  159. data/generated/google/apis/content_v2.rb +1 -1
  160. data/generated/google/apis/content_v2/classes.rb +2 -1
  161. data/generated/google/apis/content_v2_1.rb +1 -1
  162. data/generated/google/apis/content_v2_1/classes.rb +108 -5
  163. data/generated/google/apis/content_v2_1/representations.rb +47 -0
  164. data/generated/google/apis/content_v2_1/service.rb +38 -1
  165. data/generated/google/apis/customsearch_v1.rb +1 -1
  166. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  167. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  168. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
  169. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  170. data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
  171. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  172. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  173. data/generated/google/apis/datafusion_v1.rb +1 -1
  174. data/generated/google/apis/dataproc_v1.rb +1 -1
  175. data/generated/google/apis/dataproc_v1/classes.rb +29 -3
  176. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  177. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  178. data/generated/google/apis/dataproc_v1beta2/classes.rb +33 -6
  179. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  180. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  181. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  182. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  183. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  184. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  185. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  186. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  187. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  188. data/generated/google/apis/dialogflow_v2.rb +1 -1
  189. data/generated/google/apis/dialogflow_v2/classes.rb +208 -30
  190. data/generated/google/apis/dialogflow_v2/representations.rb +118 -7
  191. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  192. data/generated/google/apis/dialogflow_v2beta1/classes.rb +215 -38
  193. data/generated/google/apis/dialogflow_v2beta1/representations.rb +118 -7
  194. data/generated/google/apis/dialogflow_v2beta1/service.rb +60 -10
  195. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  196. data/generated/google/apis/dialogflow_v3beta1/classes.rb +311 -33
  197. data/generated/google/apis/dialogflow_v3beta1/representations.rb +153 -7
  198. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  199. data/generated/google/apis/displayvideo_v1.rb +1 -1
  200. data/generated/google/apis/displayvideo_v1/classes.rb +38 -30
  201. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  202. data/generated/google/apis/displayvideo_v1/service.rb +21 -18
  203. data/generated/google/apis/dlp_v2.rb +1 -1
  204. data/generated/google/apis/dlp_v2/classes.rb +30 -3
  205. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  206. data/generated/google/apis/dlp_v2/service.rb +328 -328
  207. data/generated/google/apis/dns_v1.rb +1 -1
  208. data/generated/google/apis/dns_v1/classes.rb +181 -0
  209. data/generated/google/apis/dns_v1/representations.rb +83 -0
  210. data/generated/google/apis/dns_v1/service.rb +10 -10
  211. data/generated/google/apis/dns_v1beta2.rb +1 -1
  212. data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
  213. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  214. data/generated/google/apis/dns_v1beta2/service.rb +10 -10
  215. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  216. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  217. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  218. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  219. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  220. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  221. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  222. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  223. data/generated/google/apis/{appsactivity_v1.rb → domains_v1beta1.rb} +11 -11
  224. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  225. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  226. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  227. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  228. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  229. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  230. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -3
  231. data/generated/google/apis/drive_v2.rb +1 -1
  232. data/generated/google/apis/drive_v2/classes.rb +4 -1
  233. data/generated/google/apis/drive_v3.rb +1 -1
  234. data/generated/google/apis/drive_v3/classes.rb +4 -2
  235. data/generated/google/apis/file_v1.rb +1 -1
  236. data/generated/google/apis/file_v1/classes.rb +1 -1
  237. data/generated/google/apis/file_v1beta1.rb +1 -1
  238. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  239. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  240. data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
  241. data/generated/google/apis/firestore_v1.rb +1 -1
  242. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  243. data/generated/google/apis/fitness_v1.rb +13 -1
  244. data/generated/google/apis/fitness_v1/service.rb +3 -1
  245. data/generated/google/apis/gameservices_v1.rb +1 -1
  246. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  247. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  248. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  249. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  250. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  251. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  252. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  253. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  254. data/generated/google/apis/gmail_v1.rb +1 -1
  255. data/generated/google/apis/gmail_v1/service.rb +1 -1
  256. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  257. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  258. data/generated/google/apis/healthcare_v1.rb +1 -1
  259. data/generated/google/apis/healthcare_v1/classes.rb +7 -5
  260. data/generated/google/apis/healthcare_v1/service.rb +1 -3
  261. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  262. data/generated/google/apis/healthcare_v1beta1/classes.rb +1111 -278
  263. data/generated/google/apis/healthcare_v1beta1/representations.rb +486 -68
  264. data/generated/google/apis/healthcare_v1beta1/service.rb +1475 -247
  265. data/generated/google/apis/iam_v1.rb +1 -1
  266. data/generated/google/apis/iam_v1/service.rb +2 -1
  267. data/generated/google/apis/jobs_v2.rb +1 -1
  268. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  269. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  270. data/generated/google/apis/jobs_v3.rb +1 -1
  271. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  272. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  273. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  274. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  275. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  276. data/generated/google/apis/licensing_v1.rb +4 -3
  277. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  278. data/generated/google/apis/licensing_v1/service.rb +55 -85
  279. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  280. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  281. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  282. data/generated/google/apis/localservices_v1.rb +1 -1
  283. data/generated/google/apis/localservices_v1/service.rb +20 -20
  284. data/generated/google/apis/logging_v2.rb +1 -1
  285. data/generated/google/apis/logging_v2/classes.rb +98 -55
  286. data/generated/google/apis/logging_v2/representations.rb +32 -0
  287. data/generated/google/apis/logging_v2/service.rb +1214 -264
  288. data/generated/google/apis/managedidentities_v1.rb +1 -1
  289. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  290. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  291. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  292. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  293. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
  294. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
  295. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  296. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  297. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
  298. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
  299. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  300. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  301. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  302. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  303. data/generated/google/apis/monitoring_v1.rb +1 -1
  304. data/generated/google/apis/monitoring_v1/classes.rb +10 -10
  305. data/generated/google/apis/monitoring_v3.rb +1 -1
  306. data/generated/google/apis/monitoring_v3/classes.rb +99 -45
  307. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  308. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  309. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  310. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  311. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  312. data/generated/google/apis/{plus_v1.rb → oauth2_v2.rb} +12 -15
  313. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  314. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  315. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  316. data/generated/google/apis/osconfig_v1.rb +3 -3
  317. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  318. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  319. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  320. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  321. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  322. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  323. data/generated/google/apis/people_v1.rb +1 -1
  324. data/generated/google/apis/people_v1/classes.rb +48 -47
  325. data/generated/google/apis/people_v1/service.rb +12 -10
  326. data/generated/google/apis/playablelocations_v3.rb +1 -1
  327. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  328. data/generated/google/apis/poly_v1.rb +3 -4
  329. data/generated/google/apis/poly_v1/classes.rb +65 -79
  330. data/generated/google/apis/poly_v1/service.rb +50 -63
  331. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  332. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  333. data/generated/google/apis/pubsub_v1.rb +1 -1
  334. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  335. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  336. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  337. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  338. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  339. data/generated/google/apis/pubsublite_v1.rb +1 -1
  340. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  341. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  342. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  343. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  344. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  345. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  346. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  347. data/generated/google/apis/recommender_v1.rb +1 -1
  348. data/generated/google/apis/recommender_v1/service.rb +4 -2
  349. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  350. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  351. data/generated/google/apis/redis_v1.rb +1 -1
  352. data/generated/google/apis/redis_v1/classes.rb +5 -391
  353. data/generated/google/apis/redis_v1/representations.rb +0 -139
  354. data/generated/google/apis/redis_v1/service.rb +2 -2
  355. data/generated/google/apis/redis_v1beta1.rb +1 -1
  356. data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
  357. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  358. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  359. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  360. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  361. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  362. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  363. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  364. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  365. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  366. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  367. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  368. data/generated/google/apis/reseller_v1.rb +2 -2
  369. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  370. data/generated/google/apis/reseller_v1/service.rb +122 -173
  371. data/generated/google/apis/run_v1.rb +1 -1
  372. data/generated/google/apis/run_v1/classes.rb +15 -135
  373. data/generated/google/apis/run_v1/representations.rb +0 -61
  374. data/generated/google/apis/run_v1/service.rb +0 -342
  375. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  376. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  377. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  378. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  379. data/generated/google/apis/searchconsole_v1.rb +7 -1
  380. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  381. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  382. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  383. data/generated/google/apis/secretmanager_v1.rb +1 -1
  384. data/generated/google/apis/securitycenter_v1.rb +1 -1
  385. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  386. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  387. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  388. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  389. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  390. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  391. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  392. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  393. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  394. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  395. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  396. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  397. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
  398. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  399. data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
  400. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  401. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  402. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  403. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  404. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  405. data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
  406. data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
  407. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  408. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
  410. data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
  411. data/generated/google/apis/sheets_v4.rb +1 -1
  412. data/generated/google/apis/sheets_v4/classes.rb +175 -85
  413. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  414. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +307 -0
  415. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +173 -0
  416. data/generated/google/apis/smartdevicemanagement_v1/service.rb +309 -0
  417. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  418. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  419. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  420. data/generated/google/apis/spanner_v1.rb +1 -1
  421. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  422. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  423. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  424. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +229 -109
  425. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +137 -87
  426. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  427. data/generated/google/apis/storage_v1.rb +1 -1
  428. data/generated/google/apis/storage_v1/classes.rb +2 -10
  429. data/generated/google/apis/storage_v1/representations.rb +0 -1
  430. data/generated/google/apis/storage_v1/service.rb +3 -2
  431. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  432. data/generated/google/apis/storagetransfer_v1/classes.rb +21 -0
  433. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  434. data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
  435. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  436. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  437. data/generated/google/apis/sts_v1.rb +1 -1
  438. data/generated/google/apis/sts_v1/classes.rb +10 -9
  439. data/generated/google/apis/sts_v1beta.rb +1 -1
  440. data/generated/google/apis/sts_v1beta/classes.rb +67 -67
  441. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  442. data/generated/google/apis/tagmanager_v2.rb +1 -1
  443. data/generated/google/apis/tasks_v1.rb +1 -1
  444. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  445. data/generated/google/apis/tasks_v1/service.rb +4 -3
  446. data/generated/google/apis/testing_v1.rb +1 -1
  447. data/generated/google/apis/testing_v1/classes.rb +49 -2
  448. data/generated/google/apis/testing_v1/representations.rb +20 -0
  449. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  450. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  451. data/generated/google/apis/tpu_v1.rb +1 -1
  452. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  453. data/generated/google/apis/tpu_v1/service.rb +8 -8
  454. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  455. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  456. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  457. data/generated/google/apis/translate_v3.rb +1 -1
  458. data/generated/google/apis/translate_v3/classes.rb +2 -2
  459. data/generated/google/apis/vault_v1.rb +1 -1
  460. data/generated/google/apis/vault_v1/classes.rb +333 -0
  461. data/generated/google/apis/vault_v1/representations.rb +162 -0
  462. data/generated/google/apis/vault_v1/service.rb +151 -0
  463. data/generated/google/apis/videointelligence_v1.rb +1 -1
  464. data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
  465. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  466. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  467. data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
  468. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  469. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  470. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
  471. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  472. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  473. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
  474. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  475. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  476. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
  477. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  478. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  479. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  480. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  481. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  482. data/generated/google/apis/workflows_v1beta.rb +3 -2
  483. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  484. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  485. data/generated/google/apis/youtube_v3.rb +1 -1
  486. data/generated/google/apis/youtube_v3/classes.rb +12 -945
  487. data/generated/google/apis/youtube_v3/representations.rb +0 -445
  488. data/generated/google/apis/youtube_v3/service.rb +3 -198
  489. data/google-api-client.gemspec +1 -1
  490. data/lib/google/apis/core/api_command.rb +1 -0
  491. data/lib/google/apis/version.rb +1 -1
  492. data/synth.py +40 -0
  493. metadata +41 -19
  494. data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
  495. data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
  496. data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
  497. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  498. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  499. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  500. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  501. data/generated/google/apis/plus_v1/representations.rb +0 -907
  502. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeAlpha
27
27
  VERSION = 'Alpha'
28
- REVISION = '20200811'
28
+ REVISION = '20200910'
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'
@@ -1195,13 +1195,6 @@ module Google
1195
1195
  # @return [Fixnum]
1196
1196
  attr_accessor :maintenance_freeze_duration_hours
1197
1197
 
1198
- # Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic"
1199
- # designates this VM as a Stable Fleet VM.
1200
- # See go/stable-fleet-ug for more details.
1201
- # Corresponds to the JSON property `maintenanceInterval`
1202
- # @return [String]
1203
- attr_accessor :maintenance_interval
1204
-
1205
1198
  # Minimum cpu platform the reservation.
1206
1199
  # Corresponds to the JSON property `minCpuPlatform`
1207
1200
  # @return [String]
@@ -1218,7 +1211,6 @@ module Google
1218
1211
  @location_hint = args[:location_hint] if args.key?(:location_hint)
1219
1212
  @machine_type = args[:machine_type] if args.key?(:machine_type)
1220
1213
  @maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
1221
- @maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
1222
1214
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1223
1215
  end
1224
1216
  end
@@ -1387,6 +1379,13 @@ module Google
1387
1379
  # @return [String]
1388
1380
  attr_accessor :type
1389
1381
 
1382
+ # [Output Only] A list of user provided licenses. It represents a list of URLs
1383
+ # to the license resource. Unlike regular licenses, user provided licenses can
1384
+ # be modified after the disk is created.
1385
+ # Corresponds to the JSON property `userLicenses`
1386
+ # @return [Array<String>]
1387
+ attr_accessor :user_licenses
1388
+
1390
1389
  def initialize(**args)
1391
1390
  update!(**args)
1392
1391
  end
@@ -1409,6 +1408,7 @@ module Google
1409
1408
  @shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state)
1410
1409
  @source = args[:source] if args.key?(:source)
1411
1410
  @type = args[:type] if args.key?(:type)
1411
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
1412
1412
  end
1413
1413
  end
1414
1414
 
@@ -2377,13 +2377,13 @@ module Google
2377
2377
  class AutoscalingPolicyCpuUtilization
2378
2378
  include Google::Apis::Core::Hashable
2379
2379
 
2380
- # Indicates which method of prediction is used for CPU utilization metric, if
2381
- # any. Current set of possible values: * NONE: No predictions are made based on
2382
- # the scaling metric when calculating the number of VM instances. * STANDARD:
2383
- # Standard predictive autoscaling predicts the future values of the scaling
2384
- # metric and then scales a MIG to ensure that new VM instances are ready in time
2385
- # to cover the predicted peak. New values might be added in the future. Some of
2386
- # the values might not be available in all API versions.
2380
+ # Indicates whether predictive autoscaling based on CPU metric is enabled. Valid
2381
+ # values are:
2382
+ # * NONE (default). No predictive method is used. The autoscaler scales the
2383
+ # group to meet current demand based on real-time metrics. *
2384
+ # OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by
2385
+ # monitoring daily and weekly load patterns and scaling out ahead of anticipated
2386
+ # demand.
2387
2387
  # Corresponds to the JSON property `predictiveMethod`
2388
2388
  # @return [String]
2389
2389
  attr_accessor :predictive_method
@@ -2471,9 +2471,9 @@ module Google
2471
2471
  # The target value of the metric that autoscaler should maintain. This must be a
2472
2472
  # positive value. A utilization metric scales number of virtual machines
2473
2473
  # handling requests to increase or decrease proportionally to the metric.
2474
- # For example, a good metric to use as a utilization_target is compute.
2475
- # googleapis.com/instance/network/received_bytes_count. The autoscaler will work
2476
- # to keep this value constant for each of the instances.
2474
+ # For example, a good metric to use as a utilization_target is https://www.
2475
+ # googleapis.com/compute/v1/instance/network/received_bytes_count. The
2476
+ # autoscaler will work to keep this value constant for each of the instances.
2477
2477
  # Corresponds to the JSON property `utilizationTarget`
2478
2478
  # @return [Float]
2479
2479
  attr_accessor :utilization_target
@@ -2927,7 +2927,19 @@ module Google
2927
2927
  # @return [Array<Google::Apis::ComputeAlpha::BackendBucketCdnPolicyBypassCacheOnRequestHeader>]
2928
2928
  attr_accessor :bypass_cache_on_request_headers
2929
2929
 
2930
- #
2930
+ # Specifies the cache setting for all responses from this backend. The possible
2931
+ # values are:
2932
+ # USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
2933
+ # content. Responses without these headers will not be cached at Google's edge,
2934
+ # and will require a full trip to the origin on every request, potentially
2935
+ # impacting performance and increasing load on the origin server.
2936
+ # FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
2937
+ # cache" directives in Cache-Control response headers. Warning: this may result
2938
+ # in Cloud CDN caching private, per-user (user identifiable) content.
2939
+ # CACHE_ALL_STATIC Automatically cache static content, including common image
2940
+ # formats, media (video and audio), and web assets (JavaScript and CSS).
2941
+ # Requests and responses that are marked as uncacheable, as well as dynamic
2942
+ # content (including HTML), will not be cached.
2931
2943
  # Corresponds to the JSON property `cacheMode`
2932
2944
  # @return [String]
2933
2945
  attr_accessor :cache_mode
@@ -2942,12 +2954,12 @@ module Google
2942
2954
 
2943
2955
  # Specifies the default TTL for cached content served by this origin for
2944
2956
  # responses that do not have an existing valid TTL (max-age or s-max-age).
2945
- # Setting a TTL of "0" means "always revalidate" and a value of "-1" disables
2946
- # caching for that status code. The value of defaultTTL cannot be set to a value
2947
- # greater than that of maxTTL, but can be equal. When the cacheMode is set to
2948
- # FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses.
2949
- # The maximum allowed value is 31,622,400s (1 year), noting that infrequently
2950
- # accessed objects may be evicted from the cache before the defined TTL.
2957
+ # Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot
2958
+ # be set to a value greater than that of maxTTL, but can be equal. When the
2959
+ # cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set
2960
+ # in all responses. The maximum allowed value is 31,622,400s (1 year), noting
2961
+ # that infrequently accessed objects may be evicted from the cache before the
2962
+ # defined TTL.
2951
2963
  # Corresponds to the JSON property `defaultTtl`
2952
2964
  # @return [Fixnum]
2953
2965
  attr_accessor :default_ttl
@@ -2956,10 +2968,10 @@ module Google
2956
2968
  # Cache directives that attempt to set a max-age or s-maxage higher than this,
2957
2969
  # or an Expires header more than maxTTL seconds in the future will be capped at
2958
2970
  # the value of maxTTL, as if it were the value of an s-maxage Cache-Control
2959
- # directive. Setting a TTL of "0" means "always revalidate" and a value of "-1"
2960
- # disables caching for that status code. The maximum allowed value is 31,622,
2961
- # 400s (1 year), noting that infrequently accessed objects may be evicted from
2962
- # the cache before the defined TTL.
2971
+ # directive. Headers sent to the client will not be modified. Setting a TTL of "
2972
+ # 0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year)
2973
+ # , noting that infrequently accessed objects may be evicted from the cache
2974
+ # before the defined TTL.
2963
2975
  # Corresponds to the JSON property `maxTtl`
2964
2976
  # @return [Fixnum]
2965
2977
  attr_accessor :max_ttl
@@ -2970,8 +2982,8 @@ module Google
2970
2982
  # default, Cloud CDN will apply the following default TTLs to these status codes:
2971
2983
  # HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not
2972
2984
  # Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method
2973
- # Not Found), 414 (URI Too Long), 501 (Not Implemented): 60s These defaults can
2974
- # be overridden in negative_caching_policy
2985
+ # Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s These
2986
+ # defaults can be overridden in negative_caching_policy
2975
2987
  # Corresponds to the JSON property `negativeCaching`
2976
2988
  # @return [Boolean]
2977
2989
  attr_accessor :negative_caching
@@ -3001,7 +3013,7 @@ module Google
3001
3013
  # configured here will not be served. The default limit (max-stale) is 86400s (1
3002
3014
  # day), which will allow stale content to be served up to this limit beyond the
3003
3015
  # max-age (or s-max-age) of a cached response. The maximum allowed value is
3004
- # 604800(1 week). Set this to zero (0) to disable serve-while-stale.
3016
+ # 604800 (1 week). Set this to zero (0) to disable serve-while-stale.
3005
3017
  # Corresponds to the JSON property `serveWhileStale`
3006
3018
  # @return [Fixnum]
3007
3019
  attr_accessor :serve_while_stale
@@ -3069,17 +3081,15 @@ module Google
3069
3081
  include Google::Apis::Core::Hashable
3070
3082
 
3071
3083
  # The HTTP status code to define a TTL against. Only HTTP status codes 300, 301,
3072
- # 308, 404, 405, 410, 414, 451 and 501 are can be specified as values, and you
3084
+ # 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you
3073
3085
  # cannot specify a status code more than once.
3074
3086
  # Corresponds to the JSON property `code`
3075
3087
  # @return [Fixnum]
3076
3088
  attr_accessor :code
3077
3089
 
3078
3090
  # The TTL (in seconds) to cache responses with the corresponding status code for.
3079
- # A TTL of "0" means "always revalidate" and a value of "-1" disables caching
3080
- # for that status code. The maximum allowed value is 1800s (30 minutes), noting
3081
- # that infrequently accessed objects may be evicted from the cache before the
3082
- # defined TTL.
3091
+ # The maximum allowed value is 1800s (30 minutes), noting that infrequently
3092
+ # accessed objects may be evicted from the cache before the defined TTL.
3083
3093
  # Corresponds to the JSON property `ttl`
3084
3094
  # @return [Fixnum]
3085
3095
  attr_accessor :ttl
@@ -3228,6 +3238,9 @@ module Google
3228
3238
  class BackendService
3229
3239
  include Google::Apis::Core::Hashable
3230
3240
 
3241
+ # Lifetime of cookies in seconds. Only applicable if the loadBalancingScheme is
3242
+ # EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the protocol is HTTP or
3243
+ # HTTPS, and the sessionAffinity is GENERATED_COOKIE, or HTTP_COOKIE.
3231
3244
  # If set to 0, the cookie is non-persistent and lasts only until the end of the
3232
3245
  # browser session (or equivalent). The maximum allowed value is one day (86,400).
3233
3246
  # Not supported when the backend service is referenced by a URL map that is
@@ -3485,6 +3498,11 @@ module Google
3485
3498
  # @return [String]
3486
3499
  attr_accessor :session_affinity
3487
3500
 
3501
+ # Subsetting options to make L4 ILB support any number of backend instances
3502
+ # Corresponds to the JSON property `subsetting`
3503
+ # @return [Google::Apis::ComputeAlpha::Subsetting]
3504
+ attr_accessor :subsetting
3505
+
3488
3506
  # The backend service timeout has a different meaning depending on the type of
3489
3507
  # load balancer. For more information see, Backend service settings The default
3490
3508
  # is 30 seconds.
@@ -3530,6 +3548,7 @@ module Google
3530
3548
  @self_link = args[:self_link] if args.key?(:self_link)
3531
3549
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
3532
3550
  @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
3551
+ @subsetting = args[:subsetting] if args.key?(:subsetting)
3533
3552
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
3534
3553
  end
3535
3554
  end
@@ -3674,7 +3693,19 @@ module Google
3674
3693
  # @return [Google::Apis::ComputeAlpha::CacheKeyPolicy]
3675
3694
  attr_accessor :cache_key_policy
3676
3695
 
3677
- #
3696
+ # Specifies the cache setting for all responses from this backend. The possible
3697
+ # values are:
3698
+ # USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
3699
+ # content. Responses without these headers will not be cached at Google's edge,
3700
+ # and will require a full trip to the origin on every request, potentially
3701
+ # impacting performance and increasing load on the origin server.
3702
+ # FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
3703
+ # cache" directives in Cache-Control response headers. Warning: this may result
3704
+ # in Cloud CDN caching private, per-user (user identifiable) content.
3705
+ # CACHE_ALL_STATIC Automatically cache static content, including common image
3706
+ # formats, media (video and audio), and web assets (JavaScript and CSS).
3707
+ # Requests and responses that are marked as uncacheable, as well as dynamic
3708
+ # content (including HTML), will not be cached.
3678
3709
  # Corresponds to the JSON property `cacheMode`
3679
3710
  # @return [String]
3680
3711
  attr_accessor :cache_mode
@@ -3689,12 +3720,12 @@ module Google
3689
3720
 
3690
3721
  # Specifies the default TTL for cached content served by this origin for
3691
3722
  # responses that do not have an existing valid TTL (max-age or s-max-age).
3692
- # Setting a TTL of "0" means "always revalidate" and a value of "-1" disables
3693
- # caching for that status code. The value of defaultTTL cannot be set to a value
3694
- # greater than that of maxTTL, but can be equal. When the cacheMode is set to
3695
- # FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses.
3696
- # The maximum allowed value is 31,622,400s (1 year), noting that infrequently
3697
- # accessed objects may be evicted from the cache before the defined TTL.
3723
+ # Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot
3724
+ # be set to a value greater than that of maxTTL, but can be equal. When the
3725
+ # cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set
3726
+ # in all responses. The maximum allowed value is 31,622,400s (1 year), noting
3727
+ # that infrequently accessed objects may be evicted from the cache before the
3728
+ # defined TTL.
3698
3729
  # Corresponds to the JSON property `defaultTtl`
3699
3730
  # @return [Fixnum]
3700
3731
  attr_accessor :default_ttl
@@ -3703,10 +3734,10 @@ module Google
3703
3734
  # Cache directives that attempt to set a max-age or s-maxage higher than this,
3704
3735
  # or an Expires header more than maxTTL seconds in the future will be capped at
3705
3736
  # the value of maxTTL, as if it were the value of an s-maxage Cache-Control
3706
- # directive. Setting a TTL of "0" means "always revalidate" and a value of "-1"
3707
- # disables caching for that status code. The maximum allowed value is 31,622,
3708
- # 400s (1 year), noting that infrequently accessed objects may be evicted from
3709
- # the cache before the defined TTL.
3737
+ # directive. Headers sent to the client will not be modified. Setting a TTL of "
3738
+ # 0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year)
3739
+ # , noting that infrequently accessed objects may be evicted from the cache
3740
+ # before the defined TTL.
3710
3741
  # Corresponds to the JSON property `maxTtl`
3711
3742
  # @return [Fixnum]
3712
3743
  attr_accessor :max_ttl
@@ -3717,8 +3748,8 @@ module Google
3717
3748
  # default, Cloud CDN will apply the following default TTLs to these status codes:
3718
3749
  # HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not
3719
3750
  # Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method
3720
- # Not Found), 414 (URI Too Long), 501 (Not Implemented): 60s These defaults can
3721
- # be overridden in negative_caching_policy
3751
+ # Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s These
3752
+ # defaults can be overridden in negative_caching_policy
3722
3753
  # Corresponds to the JSON property `negativeCaching`
3723
3754
  # @return [Boolean]
3724
3755
  attr_accessor :negative_caching
@@ -3748,7 +3779,7 @@ module Google
3748
3779
  # configured here will not be served. The default limit (max-stale) is 86400s (1
3749
3780
  # day), which will allow stale content to be served up to this limit beyond the
3750
3781
  # max-age (or s-max-age) of a cached response. The maximum allowed value is
3751
- # 604800(1 week). Set this to zero (0) to disable serve-while-stale.
3782
+ # 604800 (1 week). Set this to zero (0) to disable serve-while-stale.
3752
3783
  # Corresponds to the JSON property `serveWhileStale`
3753
3784
  # @return [Fixnum]
3754
3785
  attr_accessor :serve_while_stale
@@ -3817,17 +3848,15 @@ module Google
3817
3848
  include Google::Apis::Core::Hashable
3818
3849
 
3819
3850
  # The HTTP status code to define a TTL against. Only HTTP status codes 300, 301,
3820
- # 308, 404, 405, 410, 414, 451 and 501 are can be specified as values, and you
3851
+ # 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you
3821
3852
  # cannot specify a status code more than once.
3822
3853
  # Corresponds to the JSON property `code`
3823
3854
  # @return [Fixnum]
3824
3855
  attr_accessor :code
3825
3856
 
3826
3857
  # The TTL (in seconds) to cache responses with the corresponding status code for.
3827
- # A TTL of "0" means "always revalidate" and a value of "-1" disables caching
3828
- # for that status code. The maximum allowed value is 1800s (30 minutes), noting
3829
- # that infrequently accessed objects may be evicted from the cache before the
3830
- # defined TTL.
3858
+ # The maximum allowed value is 1800s (30 minutes), noting that infrequently
3859
+ # accessed objects may be evicted from the cache before the defined TTL.
3831
3860
  # Corresponds to the JSON property `ttl`
3832
3861
  # @return [Fixnum]
3833
3862
  attr_accessor :ttl
@@ -4544,6 +4573,12 @@ module Google
4544
4573
  class Binding
4545
4574
  include Google::Apis::Core::Hashable
4546
4575
 
4576
+ # A client-specified ID for this binding. Expected to be globally unique to
4577
+ # support the internal bindings-by-ID API.
4578
+ # Corresponds to the JSON property `bindingId`
4579
+ # @return [String]
4580
+ attr_accessor :binding_id
4581
+
4547
4582
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
4548
4583
  # CEL is a C-like expression language. The syntax and semantics of CEL are
4549
4584
  # documented at https://github.com/google/cel-spec.
@@ -4614,6 +4649,7 @@ module Google
4614
4649
 
4615
4650
  # Update properties of this object
4616
4651
  def update!(**args)
4652
+ @binding_id = args[:binding_id] if args.key?(:binding_id)
4617
4653
  @condition = args[:condition] if args.key?(:condition)
4618
4654
  @members = args[:members] if args.key?(:members)
4619
4655
  @role = args[:role] if args.key?(:role)
@@ -5940,11 +5976,11 @@ module Google
5940
5976
  # @return [Array<String>]
5941
5977
  attr_accessor :resource_policies
5942
5978
 
5943
- # [Output Only] Specifies whether this disk satisfies zone separation.
5944
- # Corresponds to the JSON property `satisfiesPhysicalZoneSeparation`
5979
+ # [Output Only] Reserved for future use.
5980
+ # Corresponds to the JSON property `satisfiesPzs`
5945
5981
  # @return [Boolean]
5946
- attr_accessor :satisfies_physical_zone_separation
5947
- alias_method :satisfies_physical_zone_separation?, :satisfies_physical_zone_separation
5982
+ attr_accessor :satisfies_pzs
5983
+ alias_method :satisfies_pzs?, :satisfies_pzs
5948
5984
 
5949
5985
  # [Output Only] Server-defined fully-qualified URL for this resource.
5950
5986
  # Corresponds to the JSON property `selfLink`
@@ -6112,6 +6148,15 @@ module Google
6112
6148
  # @return [String]
6113
6149
  attr_accessor :type
6114
6150
 
6151
+ # A list of publicly visible user-licenses. Unlike regular licenses, user
6152
+ # provided licenses can be modified after the disk is created. This includes a
6153
+ # list of URLs to the license resource. For example, to provide a debian license:
6154
+ # https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/
6155
+ # debian-9-stretch
6156
+ # Corresponds to the JSON property `userLicenses`
6157
+ # @return [Array<String>]
6158
+ attr_accessor :user_licenses
6159
+
6115
6160
  # [Output Only] Links to the users of the disk (attached instances) in form:
6116
6161
  # projects/project/zones/zone/instances/instance
6117
6162
  # Corresponds to the JSON property `users`
@@ -6153,7 +6198,7 @@ module Google
6153
6198
  @region = args[:region] if args.key?(:region)
6154
6199
  @replica_zones = args[:replica_zones] if args.key?(:replica_zones)
6155
6200
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
6156
- @satisfies_physical_zone_separation = args[:satisfies_physical_zone_separation] if args.key?(:satisfies_physical_zone_separation)
6201
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
6157
6202
  @self_link = args[:self_link] if args.key?(:self_link)
6158
6203
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
6159
6204
  @size_gb = args[:size_gb] if args.key?(:size_gb)
@@ -6173,6 +6218,7 @@ module Google
6173
6218
  @status = args[:status] if args.key?(:status)
6174
6219
  @storage_type = args[:storage_type] if args.key?(:storage_type)
6175
6220
  @type = args[:type] if args.key?(:type)
6221
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
6176
6222
  @users = args[:users] if args.key?(:users)
6177
6223
  @zone = args[:zone] if args.key?(:zone)
6178
6224
  end
@@ -8773,9 +8819,9 @@ module Google
8773
8819
  attr_accessor :name
8774
8820
 
8775
8821
  # This field is not used for external load balancing.
8776
- # For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies
8777
- # the network that the load balanced IP should belong to for this Forwarding
8778
- # Rule. If this field is not specified, the default network will be used.
8822
+ # For internal load balancing, this field identifies the network that the load
8823
+ # balanced IP should belong to for this Forwarding Rule. If this field is not
8824
+ # specified, the default network will be used.
8779
8825
  # Corresponds to the JSON property `network`
8780
8826
  # @return [String]
8781
8827
  attr_accessor :network
@@ -8869,7 +8915,7 @@ module Google
8869
8915
  # @return [String]
8870
8916
  attr_accessor :service_name
8871
8917
 
8872
- # This field is only used for INTERNAL load balancing.
8918
+ # This field is only used for internal load balancing.
8873
8919
  # For internal load balancing, this field identifies the subnetwork that the
8874
8920
  # load balanced IP should belong to for this Forwarding Rule.
8875
8921
  # If the network specified is in auto subnet mode, this field is optional.
@@ -8880,11 +8926,11 @@ module Google
8880
8926
  attr_accessor :subnetwork
8881
8927
 
8882
8928
  # The URL of the target resource to receive the matched traffic. For regional
8883
- # forwarding rules, this target must live in the same region as the forwarding
8929
+ # forwarding rules, this target must be in the same region as the forwarding
8884
8930
  # rule. For global forwarding rules, this target must be a global load balancing
8885
8931
  # resource. The forwarded traffic must be of a type appropriate to the target
8886
- # object. For INTERNAL_SELF_MANAGED load balancing, only targetHttpProxy and
8887
- # targetGrpcProxy are valid, not targetHttpsProxy.
8932
+ # object. For more information, see the "Target" column in [Port specifications](
8933
+ # /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
8888
8934
  # Corresponds to the JSON property `target`
8889
8935
  # @return [String]
8890
8936
  attr_accessor :target
@@ -11027,6 +11073,13 @@ module Google
11027
11073
  # For matching against the HTTP request's authority, use a headerMatch with the
11028
11074
  # header name ":authority".
11029
11075
  # For matching a request's method, use the headerName ":method".
11076
+ # When the URL map is bound to target gRPC proxy that has validateForProxyless
11077
+ # field set to true, only non-binary user-specified custom metadata and the `
11078
+ # content-type` header are supported. The following transport-level headers
11079
+ # cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:
11080
+ # scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-
11081
+ # encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `
11082
+ # grpc-timeout` and `grpc-trace-bin.
11030
11083
  # Corresponds to the JSON property `headerName`
11031
11084
  # @return [String]
11032
11085
  attr_accessor :header_name
@@ -11602,10 +11655,10 @@ module Google
11602
11655
  # A list of weighted backend services to send traffic to when a route match
11603
11656
  # occurs. The weights determine the fraction of traffic that flows to their
11604
11657
  # corresponding backend service. If all traffic needs to go to a single backend
11605
- # service, there must be one weightedBackendService with weight set to a non 0
11606
- # number.
11658
+ # service, there must be one weightedBackendService with weight set to a non-
11659
+ # zero number.
11607
11660
  # Once a backendService is identified and before forwarding the request to the
11608
- # backend service, advanced routing actions like Url rewrites and header
11661
+ # backend service, advanced routing actions such as URL rewrites and header
11609
11662
  # transformations are applied depending on additional settings specified in this
11610
11663
  # HttpRouteAction.
11611
11664
  # Corresponds to the JSON property `weightedBackendServices`
@@ -11649,6 +11702,8 @@ module Google
11649
11702
  # enabled by Traffic Director. httpFilterConfigs only applies for Loadbalancers
11650
11703
  # with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for
11651
11704
  # more details.
11705
+ # Not supported when the URL map is bound to target gRPC proxy that has
11706
+ # validateForProxyless field set to true.
11652
11707
  # Corresponds to the JSON property `httpFilterConfigs`
11653
11708
  # @return [Array<Google::Apis::ComputeAlpha::HttpFilterConfig>]
11654
11709
  attr_accessor :http_filter_configs
@@ -11658,6 +11713,8 @@ module Google
11658
11713
  # Loadbalancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See
11659
11714
  # ForwardingRule for more details.
11660
11715
  # The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct
11716
+ # Not supported when the URL map is bound to target gRPC proxy that has
11717
+ # validateForProxyless field set to true.
11661
11718
  # Corresponds to the JSON property `httpFilterMetadata`
11662
11719
  # @return [Array<Google::Apis::ComputeAlpha::HttpFilterConfig>]
11663
11720
  attr_accessor :http_filter_metadata
@@ -11758,6 +11815,7 @@ module Google
11758
11815
  # Specifies that prefixMatch and fullPathMatch matches are case sensitive.
11759
11816
  # The default value is false.
11760
11817
  # ignoreCase must not be used with regexMatch.
11818
+ # Not supported when the URL map is bound to target gRPC proxy.
11761
11819
  # Corresponds to the JSON property `ignoreCase`
11762
11820
  # @return [Boolean]
11763
11821
  attr_accessor :ignore_case
@@ -11777,6 +11835,8 @@ module Google
11777
11835
  # ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to.
11778
11836
  # metadataFilters only applies to Loadbalancers that have their
11779
11837
  # loadBalancingScheme set to INTERNAL_SELF_MANAGED.
11838
+ # Not supported when the URL map is bound to target gRPC proxy that has
11839
+ # validateForProxyless field set to true.
11780
11840
  # Corresponds to the JSON property `metadataFilters`
11781
11841
  # @return [Array<Google::Apis::ComputeAlpha::MetadataFilter>]
11782
11842
  attr_accessor :metadata_filters
@@ -11791,6 +11851,7 @@ module Google
11791
11851
 
11792
11852
  # Specifies a list of query parameter match criteria, all of which must match
11793
11853
  # corresponding query parameters in the request.
11854
+ # Not supported when the URL map is bound to target gRPC proxy.
11794
11855
  # Corresponds to the JSON property `queryParameterMatches`
11795
11856
  # @return [Array<Google::Apis::ComputeAlpha::HttpQueryParameterMatch>]
11796
11857
  attr_accessor :query_parameter_matches
@@ -12965,7 +13026,7 @@ module Google
12965
13026
  # @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
12966
13027
  attr_accessor :network_interfaces
12967
13028
 
12968
- # Specifies whether this instance will be shut down on key revocation.
13029
+ # PostKeyRevocationActionType of the instance.
12969
13030
  # Corresponds to the JSON property `postKeyRevocationActionType`
12970
13031
  # @return [String]
12971
13032
  attr_accessor :post_key_revocation_action_type
@@ -12991,17 +13052,23 @@ module Google
12991
13052
  # @return [Array<String>]
12992
13053
  attr_accessor :resource_policies
12993
13054
 
12994
- # [Output Only] Specifies whether this instance satisfies zone separation.
12995
- # Corresponds to the JSON property `satisfiesPhysicalZoneSeparation`
13055
+ # [Output Only] Reserved for future use.
13056
+ # Corresponds to the JSON property `satisfiesPzs`
12996
13057
  # @return [Boolean]
12997
- attr_accessor :satisfies_physical_zone_separation
12998
- alias_method :satisfies_physical_zone_separation?, :satisfies_physical_zone_separation
13058
+ attr_accessor :satisfies_pzs
13059
+ alias_method :satisfies_pzs?, :satisfies_pzs
12999
13060
 
13000
- # Sets the scheduling options for an Instance. NextID: 12
13061
+ # Sets the scheduling options for an Instance. NextID: 13
13001
13062
  # Corresponds to the JSON property `scheduling`
13002
13063
  # @return [Google::Apis::ComputeAlpha::Scheduling]
13003
13064
  attr_accessor :scheduling
13004
13065
 
13066
+ # Secure labels to apply to this instance. These can be later modified by the
13067
+ # update method. Maximum number of secure labels allowed is 300.
13068
+ # Corresponds to the JSON property `secureLabels`
13069
+ # @return [Array<String>]
13070
+ attr_accessor :secure_labels
13071
+
13005
13072
  # [Output Only] Server-defined URL for this resource.
13006
13073
  # Corresponds to the JSON property `selfLink`
13007
13074
  # @return [String]
@@ -13062,7 +13129,8 @@ module Google
13062
13129
 
13063
13130
  # [Output Only] The status of the instance. One of the following values:
13064
13131
  # PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING,
13065
- # and TERMINATED.
13132
+ # and TERMINATED. For more information about the status of the instance, see
13133
+ # Instance life cycle.
13066
13134
  # Corresponds to the JSON property `status`
13067
13135
  # @return [String]
13068
13136
  attr_accessor :status
@@ -13126,8 +13194,9 @@ module Google
13126
13194
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
13127
13195
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
13128
13196
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
13129
- @satisfies_physical_zone_separation = args[:satisfies_physical_zone_separation] if args.key?(:satisfies_physical_zone_separation)
13197
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
13130
13198
  @scheduling = args[:scheduling] if args.key?(:scheduling)
13199
+ @secure_labels = args[:secure_labels] if args.key?(:secure_labels)
13131
13200
  @self_link = args[:self_link] if args.key?(:self_link)
13132
13201
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
13133
13202
  @service_accounts = args[:service_accounts] if args.key?(:service_accounts)
@@ -15826,7 +15895,7 @@ module Google
15826
15895
  # @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
15827
15896
  attr_accessor :network_interfaces
15828
15897
 
15829
- # Specifies whether instances will be shut down on key revocation.
15898
+ # PostKeyRevocationActionType of the instance.
15830
15899
  # Corresponds to the JSON property `postKeyRevocationActionType`
15831
15900
  # @return [String]
15832
15901
  attr_accessor :post_key_revocation_action_type
@@ -15848,7 +15917,7 @@ module Google
15848
15917
  # @return [Array<String>]
15849
15918
  attr_accessor :resource_policies
15850
15919
 
15851
- # Sets the scheduling options for an Instance. NextID: 12
15920
+ # Sets the scheduling options for an Instance. NextID: 13
15852
15921
  # Corresponds to the JSON property `scheduling`
15853
15922
  # @return [Google::Apis::ComputeAlpha::Scheduling]
15854
15923
  attr_accessor :scheduling
@@ -16551,6 +16620,267 @@ module Google
16551
16620
  end
16552
16621
  end
16553
16622
 
16623
+ # Represents a InstantSnapshot resource.
16624
+ # You can use instant snapshots to create disk rollback points quickly.. (==
16625
+ # resource_for `$api_version`.instantSnapshots ==)
16626
+ class InstantSnapshot
16627
+ include Google::Apis::Core::Hashable
16628
+
16629
+ # [Output Only] Creation timestamp in RFC3339 text format.
16630
+ # Corresponds to the JSON property `creationTimestamp`
16631
+ # @return [String]
16632
+ attr_accessor :creation_timestamp
16633
+
16634
+ # An optional description of this resource. Provide this property when you
16635
+ # create the resource.
16636
+ # Corresponds to the JSON property `description`
16637
+ # @return [String]
16638
+ attr_accessor :description
16639
+
16640
+ # [Output Only] Size of the source disk, specified in GB.
16641
+ # Corresponds to the JSON property `diskSizeGb`
16642
+ # @return [Fixnum]
16643
+ attr_accessor :disk_size_gb
16644
+
16645
+ # Whether to attempt an application consistent instant snapshot by informing the
16646
+ # OS to prepare for the snapshot process. Currently only supported on Windows
16647
+ # instances using the Volume Shadow Copy Service (VSS).
16648
+ # Corresponds to the JSON property `guestFlush`
16649
+ # @return [Boolean]
16650
+ attr_accessor :guest_flush
16651
+ alias_method :guest_flush?, :guest_flush
16652
+
16653
+ # [Output Only] The unique identifier for the resource. This identifier is
16654
+ # defined by the server.
16655
+ # Corresponds to the JSON property `id`
16656
+ # @return [Fixnum]
16657
+ attr_accessor :id
16658
+
16659
+ # [Output Only] Type of the resource. Always compute#instantSnapshot for
16660
+ # InstantSnapshot resources.
16661
+ # Corresponds to the JSON property `kind`
16662
+ # @return [String]
16663
+ attr_accessor :kind
16664
+
16665
+ # A fingerprint for the labels being applied to this InstantSnapshot, which is
16666
+ # essentially a hash of the labels set used for optimistic locking. The
16667
+ # fingerprint is initially generated by Compute Engine and changes after every
16668
+ # request to modify or update labels. You must always provide an up-to-date
16669
+ # fingerprint hash in order to update or change labels, otherwise the request
16670
+ # will fail with error 412 conditionNotMet.
16671
+ # To see the latest fingerprint, make a get() request to retrieve a
16672
+ # InstantSnapshot.
16673
+ # Corresponds to the JSON property `labelFingerprint`
16674
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
16675
+ # @return [String]
16676
+ attr_accessor :label_fingerprint
16677
+
16678
+ # Labels to apply to this InstantSnapshot. These can be later modified by the
16679
+ # setLabels method. Label values may be empty.
16680
+ # Corresponds to the JSON property `labels`
16681
+ # @return [Hash<String,String>]
16682
+ attr_accessor :labels
16683
+
16684
+ # Name of the resource; provided by the client when the resource is created. The
16685
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
16686
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
16687
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
16688
+ # and all following characters must be a dash, lowercase letter, or digit,
16689
+ # except the last character, which cannot be a dash.
16690
+ # Corresponds to the JSON property `name`
16691
+ # @return [String]
16692
+ attr_accessor :name
16693
+
16694
+ # [Output Only] URL of the region where the instant snapshot resides. You must
16695
+ # specify this field as part of the HTTP request URL. It is not settable as a
16696
+ # field in the request body.
16697
+ # Corresponds to the JSON property `region`
16698
+ # @return [String]
16699
+ attr_accessor :region
16700
+
16701
+ # [Output Only] Server-defined URL for the resource.
16702
+ # Corresponds to the JSON property `selfLink`
16703
+ # @return [String]
16704
+ attr_accessor :self_link
16705
+
16706
+ # [Output Only] Server-defined URL for this resource's resource id.
16707
+ # Corresponds to the JSON property `selfLinkWithId`
16708
+ # @return [String]
16709
+ attr_accessor :self_link_with_id
16710
+
16711
+ # URL of the source disk used to create this instant snapshot. Note that the
16712
+ # source disk must be in the same zone/region as the instant snapshot to be
16713
+ # created. This can be a full or valid partial URL. For example, the following
16714
+ # are valid values:
16715
+ # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
16716
+ # - projects/project/zones/zone/disks/disk
16717
+ # - zones/zone/disks/disk
16718
+ # Corresponds to the JSON property `sourceDisk`
16719
+ # @return [String]
16720
+ attr_accessor :source_disk
16721
+
16722
+ # [Output Only] The ID value of the disk used to create this InstantSnapshot.
16723
+ # This value may be used to determine whether the InstantSnapshot was taken from
16724
+ # the current or a previous instance of a given disk name.
16725
+ # Corresponds to the JSON property `sourceDiskId`
16726
+ # @return [String]
16727
+ attr_accessor :source_disk_id
16728
+
16729
+ # [Output Only] The status of the instantSnapshot. This can be CREATING,
16730
+ # DELETING, FAILED, or READY.
16731
+ # Corresponds to the JSON property `status`
16732
+ # @return [String]
16733
+ attr_accessor :status
16734
+
16735
+ # [Output Only] URL of the zone where the instant snapshot resides. You must
16736
+ # specify this field as part of the HTTP request URL. It is not settable as a
16737
+ # field in the request body.
16738
+ # Corresponds to the JSON property `zone`
16739
+ # @return [String]
16740
+ attr_accessor :zone
16741
+
16742
+ def initialize(**args)
16743
+ update!(**args)
16744
+ end
16745
+
16746
+ # Update properties of this object
16747
+ def update!(**args)
16748
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
16749
+ @description = args[:description] if args.key?(:description)
16750
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
16751
+ @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
16752
+ @id = args[:id] if args.key?(:id)
16753
+ @kind = args[:kind] if args.key?(:kind)
16754
+ @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
16755
+ @labels = args[:labels] if args.key?(:labels)
16756
+ @name = args[:name] if args.key?(:name)
16757
+ @region = args[:region] if args.key?(:region)
16758
+ @self_link = args[:self_link] if args.key?(:self_link)
16759
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
16760
+ @source_disk = args[:source_disk] if args.key?(:source_disk)
16761
+ @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
16762
+ @status = args[:status] if args.key?(:status)
16763
+ @zone = args[:zone] if args.key?(:zone)
16764
+ end
16765
+ end
16766
+
16767
+ # Contains a list of InstantSnapshot resources.
16768
+ class InstantSnapshotList
16769
+ include Google::Apis::Core::Hashable
16770
+
16771
+ # [Output Only] Unique identifier for the resource; defined by the server.
16772
+ # Corresponds to the JSON property `id`
16773
+ # @return [String]
16774
+ attr_accessor :id
16775
+
16776
+ # A list of InstantSnapshot resources.
16777
+ # Corresponds to the JSON property `items`
16778
+ # @return [Array<Google::Apis::ComputeAlpha::InstantSnapshot>]
16779
+ attr_accessor :items
16780
+
16781
+ # Type of resource.
16782
+ # Corresponds to the JSON property `kind`
16783
+ # @return [String]
16784
+ attr_accessor :kind
16785
+
16786
+ # [Output Only] This token allows you to get the next page of results for list
16787
+ # requests. If the number of results is larger than maxResults, use the
16788
+ # nextPageToken as a value for the query parameter pageToken in the next list
16789
+ # request. Subsequent list requests will have their own nextPageToken to
16790
+ # continue paging through the results.
16791
+ # Corresponds to the JSON property `nextPageToken`
16792
+ # @return [String]
16793
+ attr_accessor :next_page_token
16794
+
16795
+ # [Output Only] Server-defined URL for this resource.
16796
+ # Corresponds to the JSON property `selfLink`
16797
+ # @return [String]
16798
+ attr_accessor :self_link
16799
+
16800
+ # [Output Only] Informational warning message.
16801
+ # Corresponds to the JSON property `warning`
16802
+ # @return [Google::Apis::ComputeAlpha::InstantSnapshotList::Warning]
16803
+ attr_accessor :warning
16804
+
16805
+ def initialize(**args)
16806
+ update!(**args)
16807
+ end
16808
+
16809
+ # Update properties of this object
16810
+ def update!(**args)
16811
+ @id = args[:id] if args.key?(:id)
16812
+ @items = args[:items] if args.key?(:items)
16813
+ @kind = args[:kind] if args.key?(:kind)
16814
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
16815
+ @self_link = args[:self_link] if args.key?(:self_link)
16816
+ @warning = args[:warning] if args.key?(:warning)
16817
+ end
16818
+
16819
+ # [Output Only] Informational warning message.
16820
+ class Warning
16821
+ include Google::Apis::Core::Hashable
16822
+
16823
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
16824
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
16825
+ # Corresponds to the JSON property `code`
16826
+ # @return [String]
16827
+ attr_accessor :code
16828
+
16829
+ # [Output Only] Metadata about this warning in key: value format. For example:
16830
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
16831
+ # Corresponds to the JSON property `data`
16832
+ # @return [Array<Google::Apis::ComputeAlpha::InstantSnapshotList::Warning::Datum>]
16833
+ attr_accessor :data
16834
+
16835
+ # [Output Only] A human-readable description of the warning code.
16836
+ # Corresponds to the JSON property `message`
16837
+ # @return [String]
16838
+ attr_accessor :message
16839
+
16840
+ def initialize(**args)
16841
+ update!(**args)
16842
+ end
16843
+
16844
+ # Update properties of this object
16845
+ def update!(**args)
16846
+ @code = args[:code] if args.key?(:code)
16847
+ @data = args[:data] if args.key?(:data)
16848
+ @message = args[:message] if args.key?(:message)
16849
+ end
16850
+
16851
+ #
16852
+ class Datum
16853
+ include Google::Apis::Core::Hashable
16854
+
16855
+ # [Output Only] A key that provides more detail on the warning being returned.
16856
+ # For example, for warnings where there are no results in a list request for a
16857
+ # particular zone, this key might be scope and the key value might be the zone
16858
+ # name. Other examples might be a key indicating a deprecated resource and a
16859
+ # suggested replacement, or a warning about invalid network settings (for
16860
+ # example, if an instance attempts to perform IP forwarding but is not enabled
16861
+ # for IP forwarding).
16862
+ # Corresponds to the JSON property `key`
16863
+ # @return [String]
16864
+ attr_accessor :key
16865
+
16866
+ # [Output Only] A warning data value corresponding to the key.
16867
+ # Corresponds to the JSON property `value`
16868
+ # @return [String]
16869
+ attr_accessor :value
16870
+
16871
+ def initialize(**args)
16872
+ update!(**args)
16873
+ end
16874
+
16875
+ # Update properties of this object
16876
+ def update!(**args)
16877
+ @key = args[:key] if args.key?(:key)
16878
+ @value = args[:value] if args.key?(:value)
16879
+ end
16880
+ end
16881
+ end
16882
+ end
16883
+
16554
16884
  # HttpRouteRuleMatch criteria for field values that must stay within the
16555
16885
  # specified integer range.
16556
16886
  class Int64RangeMatch
@@ -19180,7 +19510,7 @@ module Google
19180
19510
  # @return [String]
19181
19511
  attr_accessor :description
19182
19512
 
19183
- # [Input Only] Specifies to create an application consistent machine image by
19513
+ # [Input Only] Whether to attempt an application consistent machine image by
19184
19514
  # informing the OS to prepare for the snapshot process. Currently only supported
19185
19515
  # on Windows instances using the Volume Shadow Copy Service (VSS).
19186
19516
  # Corresponds to the JSON property `guestFlush`
@@ -21482,6 +21812,15 @@ module Google
21482
21812
  # @return [String]
21483
21813
  attr_accessor :network_ip
21484
21814
 
21815
+ # The networking queue count for the network interface. Both Rx and Tx queues
21816
+ # will be set to this number. If it's not specified by the user, a default
21817
+ # number of queues will be assigned. For Virtio-net, each interface will get (
21818
+ # min(#vCPU, 32) / #vNIC) queues. For gVNIC, each interface will get (min(#vCPU /
21819
+ # 2, 16) / #vNIC) qeueus.
21820
+ # Corresponds to the JSON property `queueCount`
21821
+ # @return [Fixnum]
21822
+ attr_accessor :queue_count
21823
+
21485
21824
  # The URL of the Subnetwork resource for this instance. If the network resource
21486
21825
  # is in legacy mode, do not specify this field. If the network is in auto subnet
21487
21826
  # mode, specifying the subnetwork is optional. If the network is in custom
@@ -21509,6 +21848,7 @@ module Google
21509
21848
  @name = args[:name] if args.key?(:name)
21510
21849
  @network = args[:network] if args.key?(:network)
21511
21850
  @network_ip = args[:network_ip] if args.key?(:network_ip)
21851
+ @queue_count = args[:queue_count] if args.key?(:queue_count)
21512
21852
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
21513
21853
  end
21514
21854
  end
@@ -22185,7 +22525,8 @@ module Google
22185
22525
  class NodeGroupAutoscalingPolicy
22186
22526
  include Google::Apis::Core::Hashable
22187
22527
 
22188
- # The maximum number of nodes that the group should have.
22528
+ # The maximum number of nodes that the group should have. Must be set if
22529
+ # autoscaling is enabled. Maximum value allowed is 100.
22189
22530
  # Corresponds to the JSON property `maxNodes`
22190
22531
  # @return [Fixnum]
22191
22532
  attr_accessor :max_nodes
@@ -22394,11 +22735,11 @@ module Google
22394
22735
  # @return [String]
22395
22736
  attr_accessor :node_type
22396
22737
 
22397
- # [Output Only] Specifies whether this node satisfies zone separation.
22398
- # Corresponds to the JSON property `satisfiesPhysicalZoneSeparation`
22738
+ # [Output Only] Reserved for future use.
22739
+ # Corresponds to the JSON property `satisfiesPzs`
22399
22740
  # @return [Boolean]
22400
- attr_accessor :satisfies_physical_zone_separation
22401
- alias_method :satisfies_physical_zone_separation?, :satisfies_physical_zone_separation
22741
+ attr_accessor :satisfies_pzs
22742
+ alias_method :satisfies_pzs?, :satisfies_pzs
22402
22743
 
22403
22744
  # Binding properties for the physical server.
22404
22745
  # Corresponds to the JSON property `serverBinding`
@@ -22427,7 +22768,7 @@ module Google
22427
22768
  @instances = args[:instances] if args.key?(:instances)
22428
22769
  @name = args[:name] if args.key?(:name)
22429
22770
  @node_type = args[:node_type] if args.key?(:node_type)
22430
- @satisfies_physical_zone_separation = args[:satisfies_physical_zone_separation] if args.key?(:satisfies_physical_zone_separation)
22771
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
22431
22772
  @server_binding = args[:server_binding] if args.key?(:server_binding)
22432
22773
  @server_id = args[:server_id] if args.key?(:server_id)
22433
22774
  @status = args[:status] if args.key?(:status)
@@ -25381,8 +25722,6 @@ module Google
25381
25722
  # Only one of defaultRouteAction or defaultUrlRedirect must be set.
25382
25723
  # UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
25383
25724
  # within a pathMatcher's defaultRouteAction.
25384
- # Not supported when the backend service is referenced by a URL map that is
25385
- # bound to target gRPC proxy that has validateForProxyless field set to true.
25386
25725
  # Corresponds to the JSON property `defaultRouteAction`
25387
25726
  # @return [Google::Apis::ComputeAlpha::HttpRouteAction]
25388
25727
  attr_accessor :default_route_action
@@ -25405,8 +25744,6 @@ module Google
25405
25744
  # the specified resource default_service:
25406
25745
  # - compute.backendBuckets.use
25407
25746
  # - compute.backendServices.use
25408
- # pathMatchers[].defaultService is the only option available when the URL map is
25409
- # bound to target gRPC proxy that has validateForProxyless field set to true.
25410
25747
  # Corresponds to the JSON property `defaultService`
25411
25748
  # @return [String]
25412
25749
  attr_accessor :default_service
@@ -25440,8 +25777,6 @@ module Google
25440
25777
  # For example: a pathRule with a path /a/b/c/* will match before /a/b/*
25441
25778
  # irrespective of the order in which those paths appear in this list.
25442
25779
  # Within a given pathMatcher, only one of pathRules or routeRules must be set.
25443
- # Not supported when the backend service is referenced by a URL map that is
25444
- # bound to target gRPC proxy that has validateForProxyless field set to true.
25445
25780
  # Corresponds to the JSON property `pathRules`
25446
25781
  # @return [Array<Google::Apis::ComputeAlpha::PathRule>]
25447
25782
  attr_accessor :path_rules
@@ -25450,8 +25785,6 @@ module Google
25450
25785
  # route matching and routing actions are desired. routeRules are evaluated in
25451
25786
  # order of priority, from the lowest to highest number.
25452
25787
  # Within a given pathMatcher, you can set only one of pathRules or routeRules.
25453
- # Not supported when the backend service is referenced by a URL map that is
25454
- # bound to target gRPC proxy that has validateForProxyless field set to true.
25455
25788
  # Corresponds to the JSON property `routeRules`
25456
25789
  # @return [Array<Google::Apis::ComputeAlpha::HttpRouteRule>]
25457
25790
  attr_accessor :route_rules
@@ -27151,11 +27484,11 @@ module Google
27151
27484
  # @return [String]
27152
27485
  attr_accessor :status
27153
27486
 
27154
- # [Output Only] Specifies whether this region supports physical zone separation.
27155
- # Corresponds to the JSON property `supportsPhysicalZoneSeparation`
27487
+ # [Output Only] Reserved for future use.
27488
+ # Corresponds to the JSON property `supportsPzs`
27156
27489
  # @return [Boolean]
27157
- attr_accessor :supports_physical_zone_separation
27158
- alias_method :supports_physical_zone_separation?, :supports_physical_zone_separation
27490
+ attr_accessor :supports_pzs
27491
+ alias_method :supports_pzs?, :supports_pzs
27159
27492
 
27160
27493
  # [Output Only] A list of zones available in this region, in the form of
27161
27494
  # resource URLs.
@@ -27179,7 +27512,7 @@ module Google
27179
27512
  @self_link = args[:self_link] if args.key?(:self_link)
27180
27513
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
27181
27514
  @status = args[:status] if args.key?(:status)
27182
- @supports_physical_zone_separation = args[:supports_physical_zone_separation] if args.key?(:supports_physical_zone_separation)
27515
+ @supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
27183
27516
  @zones = args[:zones] if args.key?(:zones)
27184
27517
  end
27185
27518
  end
@@ -29836,8 +30169,8 @@ module Google
29836
30169
  # @return [Fixnum]
29837
30170
  attr_accessor :max_retention_days
29838
30171
 
29839
- # Specifies the behavior to apply to existing, scheduled snapshots snapshots if
29840
- # the policy is changed.
30172
+ # TODO(b/165626794): Remove this field Specifies the behavior to apply to
30173
+ # existing, scheduled snapshots snapshots if the policy is changed.
29841
30174
  # Corresponds to the JSON property `onPolicySwitch`
29842
30175
  # @return [String]
29843
30176
  attr_accessor :on_policy_switch
@@ -30812,6 +31145,14 @@ module Google
30812
31145
  # @return [String]
30813
31146
  attr_accessor :peer_ip_address
30814
31147
 
31148
+ # URI of the VM instance that is used as third party router appliances such as
31149
+ # Next Gen Firewalls, Virtual Routers, SD-WAN. The VM instance must live in
31150
+ # zones contained in the same region as this Cloud Router. The VM instance is
31151
+ # the peer side of the BGP session.
31152
+ # Corresponds to the JSON property `routerApplianceInstance`
31153
+ # @return [String]
31154
+ attr_accessor :router_appliance_instance
31155
+
30815
31156
  def initialize(**args)
30816
31157
  update!(**args)
30817
31158
  end
@@ -30830,6 +31171,7 @@ module Google
30830
31171
  @name = args[:name] if args.key?(:name)
30831
31172
  @peer_asn = args[:peer_asn] if args.key?(:peer_asn)
30832
31173
  @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
31174
+ @router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
30833
31175
  end
30834
31176
  end
30835
31177
 
@@ -30971,6 +31313,35 @@ module Google
30971
31313
  # @return [String]
30972
31314
  attr_accessor :name
30973
31315
 
31316
+ # The regional private internal IP address that will be used to establish BGP
31317
+ # session to a VM instance, which is used as third party router appliances such
31318
+ # as Next Gen Firewalls, Virtual Routers, SD-WAN.
31319
+ # Corresponds to the JSON property `privateIpAddress`
31320
+ # @return [String]
31321
+ attr_accessor :private_ip_address
31322
+
31323
+ # Name of the interface that will be redundant with the current interface you
31324
+ # are creating. The redundantInterface must belong to the same Cloud Router as
31325
+ # the interface here. To establish the BGP session to SD-WAN VM, you must create
31326
+ # two BGP peers, and the two BGP peers need to be attached to two separate
31327
+ # interfaces that are redundant with each other. The redundant_interface must be
31328
+ # 1-63 characters long, and comply with RFC1035. Specifically, the
31329
+ # redundant_interface must be 1-63 characters long and match the regular
31330
+ # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
31331
+ # be a lowercase letter, and all following characters must be a dash, lowercase
31332
+ # letter, or digit, except the last character, which cannot be a dash.
31333
+ # Corresponds to the JSON property `redundantInterface`
31334
+ # @return [String]
31335
+ attr_accessor :redundant_interface
31336
+
31337
+ # The URL of the subnetwork resource this interface belongs to, it must be in
31338
+ # the same region as the router. When you establish a BGP session to a VM
31339
+ # instance using this interface, the VM instance must belong to the same
31340
+ # subnetwork as the subnetwork specified here.
31341
+ # Corresponds to the JSON property `subnetwork`
31342
+ # @return [String]
31343
+ attr_accessor :subnetwork
31344
+
30974
31345
  def initialize(**args)
30975
31346
  update!(**args)
30976
31347
  end
@@ -30982,6 +31353,9 @@ module Google
30982
31353
  @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
30983
31354
  @management_type = args[:management_type] if args.key?(:management_type)
30984
31355
  @name = args[:name] if args.key?(:name)
31356
+ @private_ip_address = args[:private_ip_address] if args.key?(:private_ip_address)
31357
+ @redundant_interface = args[:redundant_interface] if args.key?(:redundant_interface)
31358
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
30985
31359
  end
30986
31360
  end
30987
31361
 
@@ -32038,7 +32412,7 @@ module Google
32038
32412
  end
32039
32413
  end
32040
32414
 
32041
- # Sets the scheduling options for an Instance. NextID: 12
32415
+ # Sets the scheduling options for an Instance. NextID: 13
32042
32416
  class Scheduling
32043
32417
  include Google::Apis::Core::Hashable
32044
32418
 
@@ -32849,10 +33223,26 @@ module Google
32849
33223
  class SecurityPolicyRuleRateLimitOptions
32850
33224
  include Google::Apis::Core::Hashable
32851
33225
 
32852
- # Can only be specified if the action for the rule is "rate_based_blacklist" If
33226
+ # Can only be specified if the action for the rule is "rate_based_ban". If
33227
+ # specified, the key will be banned for the configured 'ban_duration' when the
33228
+ # number of requests that exceed the 'rate_limit_threshold' also exceed this '
33229
+ # ban_threshold'.
33230
+ # Corresponds to the JSON property `banDurationSec`
33231
+ # @return [Fixnum]
33232
+ attr_accessor :ban_duration_sec
33233
+
33234
+ # Can only be specified if the action for the rule is "rate_based_ban". If
33235
+ # specified, the key will be banned for the configured 'ban_duration' when the
33236
+ # number of requests that exceed the 'rate_limit_threshold' also exceed this '
33237
+ # ban_threshold'.
33238
+ # Corresponds to the JSON property `banThreshold`
33239
+ # @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold]
33240
+ attr_accessor :ban_threshold
33241
+
33242
+ # Can only be specified if the action for the rule is "rate_based_ban" If
32853
33243
  # specified, determines the time (in seconds) the traffic will continue to be
32854
33244
  # blocked by the rate limit after the rate falls below the threshold. The
32855
- # default value is 0 seconds.
33245
+ # default value is 0 seconds. [Deprecated] This field is deprecated.
32856
33246
  # Corresponds to the JSON property `blockDuration`
32857
33247
  # @return [Fixnum]
32858
33248
  attr_accessor :block_duration
@@ -32877,7 +33267,13 @@ module Google
32877
33267
  # @return [String]
32878
33268
  attr_accessor :exceed_action
32879
33269
 
32880
- # Rate in requests per second at which to begin ratelimiting.
33270
+ # Threshold at which to begin ratelimiting.
33271
+ # Corresponds to the JSON property `rateLimitThreshold`
33272
+ # @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold]
33273
+ attr_accessor :rate_limit_threshold
33274
+
33275
+ # Rate in requests per second at which to begin ratelimiting. [Deprecated] This
33276
+ # field is deprecated.
32881
33277
  # Corresponds to the JSON property `thresholdRps`
32882
33278
  # @return [Fixnum]
32883
33279
  attr_accessor :threshold_rps
@@ -32888,14 +33284,42 @@ module Google
32888
33284
 
32889
33285
  # Update properties of this object
32890
33286
  def update!(**args)
33287
+ @ban_duration_sec = args[:ban_duration_sec] if args.key?(:ban_duration_sec)
33288
+ @ban_threshold = args[:ban_threshold] if args.key?(:ban_threshold)
32891
33289
  @block_duration = args[:block_duration] if args.key?(:block_duration)
32892
33290
  @conform_action = args[:conform_action] if args.key?(:conform_action)
32893
33291
  @enforce_on_key = args[:enforce_on_key] if args.key?(:enforce_on_key)
32894
33292
  @exceed_action = args[:exceed_action] if args.key?(:exceed_action)
33293
+ @rate_limit_threshold = args[:rate_limit_threshold] if args.key?(:rate_limit_threshold)
32895
33294
  @threshold_rps = args[:threshold_rps] if args.key?(:threshold_rps)
32896
33295
  end
32897
33296
  end
32898
33297
 
33298
+ #
33299
+ class SecurityPolicyRuleRateLimitOptionsThreshold
33300
+ include Google::Apis::Core::Hashable
33301
+
33302
+ # Number of HTTP(S) requests for calculating the threshold.
33303
+ # Corresponds to the JSON property `count`
33304
+ # @return [Fixnum]
33305
+ attr_accessor :count
33306
+
33307
+ # Interval over which the threshold is computed.
33308
+ # Corresponds to the JSON property `intervalSec`
33309
+ # @return [Fixnum]
33310
+ attr_accessor :interval_sec
33311
+
33312
+ def initialize(**args)
33313
+ update!(**args)
33314
+ end
33315
+
33316
+ # Update properties of this object
33317
+ def update!(**args)
33318
+ @count = args[:count] if args.key?(:count)
33319
+ @interval_sec = args[:interval_sec] if args.key?(:interval_sec)
33320
+ end
33321
+ end
33322
+
32899
33323
  # The authentication and authorization settings for a BackendService.
32900
33324
  class SecuritySettings
32901
33325
  include Google::Apis::Core::Hashable
@@ -33150,12 +33574,11 @@ module Google
33150
33574
  # @return [String]
33151
33575
  attr_accessor :name
33152
33576
 
33153
- # An array of IP CIDR ranges where each range is the url of the address resource
33154
- # which represents the range provided by the service producer to use for NAT in
33155
- # this service attachment.
33156
- # Corresponds to the JSON property `natIpCidrRanges`
33577
+ # An array of URLs where each entry is the URL of a subnet provided by the
33578
+ # service producer to use for NAT in this service attachment.
33579
+ # Corresponds to the JSON property `natSubnets`
33157
33580
  # @return [Array<String>]
33158
- attr_accessor :nat_ip_cidr_ranges
33581
+ attr_accessor :nat_subnets
33159
33582
 
33160
33583
  # The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is
33161
33584
  # serving the endpoint identified by this service attachment.
@@ -33188,7 +33611,7 @@ module Google
33188
33611
  @id = args[:id] if args.key?(:id)
33189
33612
  @kind = args[:kind] if args.key?(:kind)
33190
33613
  @name = args[:name] if args.key?(:name)
33191
- @nat_ip_cidr_ranges = args[:nat_ip_cidr_ranges] if args.key?(:nat_ip_cidr_ranges)
33614
+ @nat_subnets = args[:nat_subnets] if args.key?(:nat_subnets)
33192
33615
  @producer_forwarding_rule = args[:producer_forwarding_rule] if args.key?(:producer_forwarding_rule)
33193
33616
  @region = args[:region] if args.key?(:region)
33194
33617
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -33610,7 +34033,12 @@ module Google
33610
34033
  attr_accessor :auto_created
33611
34034
  alias_method :auto_created?, :auto_created
33612
34035
 
33613
- # Chain name should conform to RFC1035.
34036
+ # Creates the new snapshot in the snapshot chain labeled with the specified name.
34037
+ # The chain name must be 1-63 characters long and comply with RFC1035. This is
34038
+ # an uncommon option only for advanced service owners who needs to create
34039
+ # separate snapshot chains, for example, for chargeback tracking. When you
34040
+ # describe your snapshot resource, this field is visible only if it has a non-
34041
+ # empty value.
33614
34042
  # Corresponds to the JSON property `chainName`
33615
34043
  # @return [String]
33616
34044
  attr_accessor :chain_name
@@ -33636,6 +34064,14 @@ module Google
33636
34064
  # @return [Fixnum]
33637
34065
  attr_accessor :download_bytes
33638
34066
 
34067
+ # [Input Only] Whether to attempt an application consistent snapshot by
34068
+ # informing the OS to prepare for the snapshot process. Currently only supported
34069
+ # on Windows instances using the Volume Shadow Copy Service (VSS).
34070
+ # Corresponds to the JSON property `guestFlush`
34071
+ # @return [Boolean]
34072
+ attr_accessor :guest_flush
34073
+ alias_method :guest_flush?, :guest_flush
34074
+
33639
34075
  # [Output Only] A list of features to enable on the guest operating system.
33640
34076
  # Applicable only for bootable images. Read Enabling guest operating system
33641
34077
  # features to see a list of available options.
@@ -33696,11 +34132,11 @@ module Google
33696
34132
  # @return [String]
33697
34133
  attr_accessor :name
33698
34134
 
33699
- # [Output Only] Specifies whether this snapshot satisfies zone separation.
33700
- # Corresponds to the JSON property `satisfiesPhysicalZoneSeparation`
34135
+ # [Output Only] Reserved for future use.
34136
+ # Corresponds to the JSON property `satisfiesPzs`
33701
34137
  # @return [Boolean]
33702
- attr_accessor :satisfies_physical_zone_separation
33703
- alias_method :satisfies_physical_zone_separation?, :satisfies_physical_zone_separation
34138
+ attr_accessor :satisfies_pzs
34139
+ alias_method :satisfies_pzs?, :satisfies_pzs
33704
34140
 
33705
34141
  # [Output Only] Server-defined URL for the resource.
33706
34142
  # Corresponds to the JSON property `selfLink`
@@ -33726,7 +34162,7 @@ module Google
33726
34162
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
33727
34163
  attr_accessor :snapshot_encryption_key
33728
34164
 
33729
- # [Output Only] The source disk used to create this snapshot.
34165
+ # The source disk used to create this snapshot.
33730
34166
  # Corresponds to the JSON property `sourceDisk`
33731
34167
  # @return [String]
33732
34168
  attr_accessor :source_disk
@@ -33782,6 +34218,7 @@ module Google
33782
34218
  @description = args[:description] if args.key?(:description)
33783
34219
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
33784
34220
  @download_bytes = args[:download_bytes] if args.key?(:download_bytes)
34221
+ @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
33785
34222
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
33786
34223
  @id = args[:id] if args.key?(:id)
33787
34224
  @kind = args[:kind] if args.key?(:kind)
@@ -33790,7 +34227,7 @@ module Google
33790
34227
  @license_codes = args[:license_codes] if args.key?(:license_codes)
33791
34228
  @licenses = args[:licenses] if args.key?(:licenses)
33792
34229
  @name = args[:name] if args.key?(:name)
33793
- @satisfies_physical_zone_separation = args[:satisfies_physical_zone_separation] if args.key?(:satisfies_physical_zone_separation)
34230
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
33794
34231
  @self_link = args[:self_link] if args.key?(:self_link)
33795
34232
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
33796
34233
  @snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key)
@@ -34043,7 +34480,7 @@ module Google
34043
34480
  # @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
34044
34481
  attr_accessor :network_interfaces
34045
34482
 
34046
- # Sets the scheduling options for an Instance. NextID: 12
34483
+ # Sets the scheduling options for an Instance. NextID: 13
34047
34484
  # Corresponds to the JSON property `scheduling`
34048
34485
  # @return [Google::Apis::ComputeAlpha::Scheduling]
34049
34486
  attr_accessor :scheduling
@@ -34101,9 +34538,9 @@ module Google
34101
34538
  class SslCertificate
34102
34539
  include Google::Apis::Core::Hashable
34103
34540
 
34104
- # A local certificate file. The certificate must be in PEM format. The
34105
- # certificate chain must be no greater than 5 certs long. The chain must include
34106
- # at least one intermediate cert.
34541
+ # A value read into memory from a certificate file. The certificate file must be
34542
+ # in PEM format. The certificate chain must be no greater than 5 certs long. The
34543
+ # chain must include at least one intermediate cert.
34107
34544
  # Corresponds to the JSON property `certificate`
34108
34545
  # @return [String]
34109
34546
  attr_accessor :certificate
@@ -34151,7 +34588,8 @@ module Google
34151
34588
  # @return [String]
34152
34589
  attr_accessor :name
34153
34590
 
34154
- # A write-only private key in PEM format. Only insert requests will include this
34591
+ # A value read into memory from a write-only private key file. The private key
34592
+ # file must be in PEM format. For security, only insert requests include this
34155
34593
  # field.
34156
34594
  # Corresponds to the JSON property `privateKey`
34157
34595
  # @return [String]
@@ -35742,6 +36180,25 @@ module Google
35742
36180
  end
35743
36181
  end
35744
36182
 
36183
+ # Subsetting options to make L4 ILB support any number of backend instances
36184
+ class Subsetting
36185
+ include Google::Apis::Core::Hashable
36186
+
36187
+ #
36188
+ # Corresponds to the JSON property `policy`
36189
+ # @return [String]
36190
+ attr_accessor :policy
36191
+
36192
+ def initialize(**args)
36193
+ update!(**args)
36194
+ end
36195
+
36196
+ # Update properties of this object
36197
+ def update!(**args)
36198
+ @policy = args[:policy] if args.key?(:policy)
36199
+ end
36200
+ end
36201
+
35745
36202
  #
35746
36203
  class TcpHealthCheck
35747
36204
  include Google::Apis::Core::Hashable
@@ -36173,7 +36630,18 @@ module Google
36173
36630
  # @return [String]
36174
36631
  attr_accessor :description
36175
36632
 
36176
- # Urls to networkservices.HttpFilter resources enabled for xDS clients using
36633
+ # Fingerprint of this resource. A hash of the contents stored in this object.
36634
+ # This field is used in optimistic locking. This field will be ignored when
36635
+ # inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in
36636
+ # order to patch/update the TargetHttpProxy; otherwise, the request will fail
36637
+ # with error 412 conditionNotMet. To see the latest fingerprint, make a get()
36638
+ # request to retrieve the TargetHttpProxy.
36639
+ # Corresponds to the JSON property `fingerprint`
36640
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
36641
+ # @return [String]
36642
+ attr_accessor :fingerprint
36643
+
36644
+ # URLs to networkservices.HttpFilter resources enabled for xDS clients using
36177
36645
  # this configuration. For example, https://networkservices.googleapis.com/
36178
36646
  # v1alpha1/projects/project/locations/locationhttpFilters/httpFilter Only
36179
36647
  # filters that handle outbound connection and stream events may be specified.
@@ -36248,6 +36716,7 @@ module Google
36248
36716
  def update!(**args)
36249
36717
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
36250
36718
  @description = args[:description] if args.key?(:description)
36719
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
36251
36720
  @http_filters = args[:http_filters] if args.key?(:http_filters)
36252
36721
  @id = args[:id] if args.key?(:id)
36253
36722
  @kind = args[:kind] if args.key?(:kind)
@@ -36705,6 +37174,21 @@ module Google
36705
37174
  # @return [String]
36706
37175
  attr_accessor :description
36707
37176
 
37177
+ # URLs to networkservices.HttpFilter resources enabled for xDS clients using
37178
+ # this configuration. For example, https://networkservices.googleapis.com/beta/
37179
+ # projects/project/locations/locationhttpFilters/httpFilter Only filters that
37180
+ # handle outbound connection and stream events may be specified. These filters
37181
+ # work in conjunction with a default set of HTTP filters that may already be
37182
+ # configured by Traffic Director. Traffic Director will determine the final
37183
+ # location of these filters within xDS configuration based on the name of the
37184
+ # HTTP filter. If Traffic Director positions multiple filters at the same
37185
+ # location, those filters will be in the same order as specified in this list.
37186
+ # httpFilters only applies for loadbalancers with loadBalancingScheme set to
37187
+ # INTERNAL_SELF_MANAGED. See ForwardingRule for more details.
37188
+ # Corresponds to the JSON property `httpFilters`
37189
+ # @return [Array<String>]
37190
+ attr_accessor :http_filters
37191
+
36708
37192
  # [Output Only] The unique identifier for the resource. This identifier is
36709
37193
  # defined by the server.
36710
37194
  # Corresponds to the JSON property `id`
@@ -36811,6 +37295,7 @@ module Google
36811
37295
  @certificate_map = args[:certificate_map] if args.key?(:certificate_map)
36812
37296
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
36813
37297
  @description = args[:description] if args.key?(:description)
37298
+ @http_filters = args[:http_filters] if args.key?(:http_filters)
36814
37299
  @id = args[:id] if args.key?(:id)
36815
37300
  @kind = args[:kind] if args.key?(:kind)
36816
37301
  @name = args[:name] if args.key?(:name)
@@ -39077,22 +39562,23 @@ module Google
39077
39562
  class TestFailure
39078
39563
  include Google::Apis::Core::Hashable
39079
39564
 
39080
- #
39565
+ # BackendService or BackendBucket returned by load balancer.
39081
39566
  # Corresponds to the JSON property `actualService`
39082
39567
  # @return [String]
39083
39568
  attr_accessor :actual_service
39084
39569
 
39085
- #
39570
+ # Expected BackendService or BackendBucket resource the given URL should be
39571
+ # mapped to.
39086
39572
  # Corresponds to the JSON property `expectedService`
39087
39573
  # @return [String]
39088
39574
  attr_accessor :expected_service
39089
39575
 
39090
- #
39576
+ # Host portion of the URL.
39091
39577
  # Corresponds to the JSON property `host`
39092
39578
  # @return [String]
39093
39579
  attr_accessor :host
39094
39580
 
39095
- #
39581
+ # Path portion including query parameters in the URL.
39096
39582
  # Corresponds to the JSON property `path`
39097
39583
  # @return [String]
39098
39584
  attr_accessor :path
@@ -39382,9 +39868,8 @@ module Google
39382
39868
  # Only one of defaultRouteAction or defaultUrlRedirect must be set.
39383
39869
  # UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
39384
39870
  # within defaultRouteAction.
39385
- # defaultRouteAction has no effect when the backend service is referenced by a
39386
- # URL map that is bound to target gRPC proxy that has validateForProxyless field
39387
- # set to true.
39871
+ # defaultRouteAction has no effect when the URL map is bound to target gRPC
39872
+ # proxy that has validateForProxyless field set to true.
39388
39873
  # Corresponds to the JSON property `defaultRouteAction`
39389
39874
  # @return [Google::Apis::ComputeAlpha::HttpRouteAction]
39390
39875
  attr_accessor :default_route_action
@@ -39398,9 +39883,8 @@ module Google
39398
39883
  # specified.
39399
39884
  # Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
39400
39885
  # weightedBackendService must be set.
39401
- # defaultService has no effect when the backend service is referenced by a URL
39402
- # map that is bound to target gRPC proxy that has validateForProxyless field set
39403
- # to true.
39886
+ # defaultService has no effect when the URL map is bound to target gRPC proxy
39887
+ # that has validateForProxyless field set to true.
39404
39888
  # Corresponds to the JSON property `defaultService`
39405
39889
  # @return [String]
39406
39890
  attr_accessor :default_service
@@ -39479,8 +39963,8 @@ module Google
39479
39963
  # The list of expected URL mapping tests. Request to update this UrlMap will
39480
39964
  # succeed only if all of the test cases pass. You can specify a maximum of 100
39481
39965
  # tests per UrlMap.
39482
- # Not supported when the backend service is referenced by a URL map that is
39483
- # bound to target gRPC proxy that has validateForProxyless field set to true.
39966
+ # Not supported when the URL map is bound to target gRPC proxy that has
39967
+ # validateForProxyless field set to true.
39484
39968
  # Corresponds to the JSON property `tests`
39485
39969
  # @return [Array<Google::Apis::ComputeAlpha::UrlMapTest>]
39486
39970
  attr_accessor :tests
@@ -39661,12 +40145,13 @@ module Google
39661
40145
  attr_accessor :description
39662
40146
 
39663
40147
  # The expected URL that should be redirected to for the host and path being
39664
- # tested.
40148
+ # tested. [Deprecated] This field is deprecated. Use expected_output_url instead.
39665
40149
  # Corresponds to the JSON property `expectedUrlRedirect`
39666
40150
  # @return [String]
39667
40151
  attr_accessor :expected_url_redirect
39668
40152
 
39669
- # Host portion of the URL.
40153
+ # Host portion of the URL. If headers contains a host header, then host must
40154
+ # also match the header value.
39670
40155
  # Corresponds to the JSON property `host`
39671
40156
  # @return [String]
39672
40157
  attr_accessor :host
@@ -39676,7 +40161,9 @@ module Google
39676
40161
  # @return [String]
39677
40162
  attr_accessor :path
39678
40163
 
39679
- # Expected BackendService resource the given URL should be mapped to.
40164
+ # Expected BackendService or BackendBucket resource the given URL should be
40165
+ # mapped to.
40166
+ # service cannot be set if expectedRedirectResponseCode is set.
39680
40167
  # Corresponds to the JSON property `service`
39681
40168
  # @return [String]
39682
40169
  attr_accessor :service
@@ -41968,11 +42455,11 @@ module Google
41968
42455
  # @return [String]
41969
42456
  attr_accessor :status
41970
42457
 
41971
- # [Output Only] Specifies whether this zone supports physical zone separation.
41972
- # Corresponds to the JSON property `supportsPhysicalZoneSeparation`
42458
+ # [Output Only] Reserved for future use.
42459
+ # Corresponds to the JSON property `supportsPzs`
41973
42460
  # @return [Boolean]
41974
- attr_accessor :supports_physical_zone_separation
41975
- alias_method :supports_physical_zone_separation?, :supports_physical_zone_separation
42461
+ attr_accessor :supports_pzs
42462
+ alias_method :supports_pzs?, :supports_pzs
41976
42463
 
41977
42464
  def initialize(**args)
41978
42465
  update!(**args)
@@ -41990,7 +42477,7 @@ module Google
41990
42477
  @region = args[:region] if args.key?(:region)
41991
42478
  @self_link = args[:self_link] if args.key?(:self_link)
41992
42479
  @status = args[:status] if args.key?(:status)
41993
- @supports_physical_zone_separation = args[:supports_physical_zone_separation] if args.key?(:supports_physical_zone_separation)
42480
+ @supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
41994
42481
  end
41995
42482
  end
41996
42483