google-api-client 0.45.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (542) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +664 -188
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/bin/generate-api +77 -15
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  13. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  14. data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
  15. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  16. data/generated/google/apis/accessapproval_v1.rb +1 -1
  17. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  18. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  19. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  20. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  22. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  25. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  29. data/generated/google/apis/admin_directory_v1.rb +1 -1
  30. data/generated/google/apis/admin_reports_v1.rb +1 -1
  31. data/generated/google/apis/admob_v1/classes.rb +29 -29
  32. data/generated/google/apis/admob_v1/service.rb +2 -1
  33. data/generated/google/apis/admob_v1.rb +3 -2
  34. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  35. data/generated/google/apis/adsense_v1_4.rb +1 -1
  36. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  37. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  38. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  39. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  40. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
  41. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  42. data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
  43. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  44. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  45. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  46. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  47. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  48. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  49. data/generated/google/apis/apigee_v1/classes.rb +252 -66
  50. data/generated/google/apis/apigee_v1/representations.rb +88 -19
  51. data/generated/google/apis/apigee_v1/service.rb +244 -38
  52. data/generated/google/apis/apigee_v1.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2.rb +1 -1
  54. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  55. data/generated/google/apis/{apigateway_v1alpha1 → area120tables_v1alpha1}/representations.rb +67 -69
  56. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  57. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  58. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  59. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  60. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  61. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
  62. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
  63. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  64. data/generated/google/apis/bigquery_v2/classes.rb +212 -23
  65. data/generated/google/apis/bigquery_v2/representations.rb +69 -0
  66. data/generated/google/apis/bigquery_v2/service.rb +47 -1
  67. data/generated/google/apis/bigquery_v2.rb +1 -1
  68. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  69. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  70. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  71. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  72. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
  73. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  74. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  75. data/generated/google/apis/binaryauthorization_v1/classes.rb +189 -2
  76. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  77. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  78. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  79. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +189 -2
  80. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  81. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  82. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  83. data/generated/google/apis/books_v1/service.rb +54 -54
  84. data/generated/google/apis/books_v1.rb +1 -1
  85. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  86. data/generated/google/apis/calendar_v3.rb +1 -1
  87. data/generated/google/apis/chat_v1/classes.rb +84 -2
  88. data/generated/google/apis/chat_v1/representations.rb +36 -0
  89. data/generated/google/apis/chat_v1.rb +1 -1
  90. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  91. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  92. data/generated/google/apis/civicinfo_v2.rb +1 -1
  93. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  94. data/generated/google/apis/classroom_v1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
  96. data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
  97. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  98. data/generated/google/apis/cloudasset_v1.rb +1 -1
  99. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
  100. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  101. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  102. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -35
  104. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  105. data/generated/google/apis/cloudbuild_v1/service.rb +17 -6
  106. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  107. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  108. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudidentity_v1/classes.rb +78 -98
  111. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
  112. data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
  113. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  114. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
  115. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  116. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  117. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  119. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  120. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  121. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  123. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  125. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  127. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  128. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  129. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  130. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  131. data/generated/google/apis/cloudshell_v1.rb +1 -1
  132. data/generated/google/apis/composer_v1/classes.rb +2 -3
  133. data/generated/google/apis/composer_v1.rb +1 -1
  134. data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
  135. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  136. data/generated/google/apis/composer_v1beta1.rb +1 -1
  137. data/generated/google/apis/compute_alpha/classes.rb +633 -146
  138. data/generated/google/apis/compute_alpha/representations.rb +131 -8
  139. data/generated/google/apis/compute_alpha/service.rb +1995 -1013
  140. data/generated/google/apis/compute_alpha.rb +1 -1
  141. data/generated/google/apis/compute_beta/classes.rb +566 -94
  142. data/generated/google/apis/compute_beta/representations.rb +100 -1
  143. data/generated/google/apis/compute_beta/service.rb +805 -136
  144. data/generated/google/apis/compute_beta.rb +1 -1
  145. data/generated/google/apis/compute_v1/classes.rb +586 -72
  146. data/generated/google/apis/compute_v1/representations.rb +98 -1
  147. data/generated/google/apis/compute_v1/service.rb +741 -133
  148. data/generated/google/apis/compute_v1.rb +1 -1
  149. data/generated/google/apis/container_v1/classes.rb +22 -10
  150. data/generated/google/apis/container_v1.rb +1 -1
  151. data/generated/google/apis/container_v1beta1/classes.rb +22 -10
  152. data/generated/google/apis/container_v1beta1.rb +1 -1
  153. data/generated/google/apis/content_v2/classes.rb +510 -1217
  154. data/generated/google/apis/content_v2/service.rb +377 -650
  155. data/generated/google/apis/content_v2.rb +3 -4
  156. data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
  157. data/generated/google/apis/content_v2_1/representations.rb +253 -0
  158. data/generated/google/apis/content_v2_1/service.rb +943 -802
  159. data/generated/google/apis/content_v2_1.rb +3 -4
  160. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -1
  161. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  162. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  163. data/generated/google/apis/dataflow_v1b3/classes.rb +32 -8
  164. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/datafusion_v1.rb +1 -1
  167. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  168. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  169. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  170. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  171. data/generated/google/apis/dataproc_v1/classes.rb +41 -3
  172. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  173. data/generated/google/apis/dataproc_v1.rb +1 -1
  174. data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
  175. data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
  176. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  177. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  178. data/generated/google/apis/datastore_v1.rb +1 -1
  179. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  180. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  181. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  182. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  183. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  184. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  185. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  186. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  187. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  188. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  189. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  190. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  191. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  192. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  193. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  194. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  195. data/generated/google/apis/dialogflow_v2/classes.rb +677 -204
  196. data/generated/google/apis/dialogflow_v2/representations.rb +300 -87
  197. data/generated/google/apis/dialogflow_v2.rb +1 -1
  198. data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -212
  199. data/generated/google/apis/dialogflow_v2beta1/representations.rb +300 -87
  200. data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
  201. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  202. data/generated/google/apis/dialogflow_v3beta1/classes.rb +813 -207
  203. data/generated/google/apis/dialogflow_v3beta1/representations.rb +354 -90
  204. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  205. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  206. data/generated/google/apis/displayvideo_v1/classes.rb +216 -30
  207. data/generated/google/apis/displayvideo_v1/representations.rb +78 -0
  208. data/generated/google/apis/displayvideo_v1/service.rb +261 -18
  209. data/generated/google/apis/displayvideo_v1.rb +1 -1
  210. data/generated/google/apis/dlp_v2/classes.rb +59 -32
  211. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  212. data/generated/google/apis/dlp_v2/service.rb +328 -328
  213. data/generated/google/apis/dlp_v2.rb +1 -1
  214. data/generated/google/apis/dns_v1/classes.rb +181 -0
  215. data/generated/google/apis/dns_v1/representations.rb +83 -0
  216. data/generated/google/apis/dns_v1/service.rb +11 -11
  217. data/generated/google/apis/dns_v1.rb +2 -2
  218. data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
  219. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  220. data/generated/google/apis/dns_v1beta2/service.rb +11 -11
  221. data/generated/google/apis/dns_v1beta2.rb +2 -2
  222. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  223. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  224. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  225. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  226. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  227. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  228. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  229. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  230. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  231. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  232. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  233. data/generated/google/apis/domains_v1beta1.rb +34 -0
  234. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
  235. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  236. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
  237. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  238. data/generated/google/apis/drive_v2/classes.rb +4 -1
  239. data/generated/google/apis/drive_v2.rb +1 -1
  240. data/generated/google/apis/drive_v3/classes.rb +4 -2
  241. data/generated/google/apis/drive_v3.rb +1 -1
  242. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +327 -29
  243. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  244. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/service.rb +224 -268
  245. data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
  246. data/generated/google/apis/file_v1/classes.rb +1 -1
  247. data/generated/google/apis/file_v1.rb +1 -1
  248. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  249. data/generated/google/apis/file_v1beta1.rb +1 -1
  250. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  251. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  252. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  253. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  254. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  255. data/generated/google/apis/firestore_v1.rb +1 -1
  256. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  257. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  258. data/generated/google/apis/fitness_v1/service.rb +3 -1
  259. data/generated/google/apis/fitness_v1.rb +13 -1
  260. data/generated/google/apis/games_v1/classes.rb +300 -0
  261. data/generated/google/apis/games_v1/representations.rb +116 -0
  262. data/generated/google/apis/games_v1/service.rb +34 -0
  263. data/generated/google/apis/games_v1.rb +1 -1
  264. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  265. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  266. data/generated/google/apis/gameservices_v1.rb +1 -1
  267. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  268. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  269. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  270. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  271. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  272. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  273. data/generated/google/apis/gmail_v1/service.rb +1 -1
  274. data/generated/google/apis/gmail_v1.rb +1 -1
  275. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  276. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  277. data/generated/google/apis/healthcare_v1/classes.rb +7 -5
  278. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  279. data/generated/google/apis/healthcare_v1.rb +1 -1
  280. data/generated/google/apis/healthcare_v1beta1/classes.rb +1190 -285
  281. data/generated/google/apis/healthcare_v1beta1/representations.rb +516 -68
  282. data/generated/google/apis/healthcare_v1beta1/service.rb +1500 -228
  283. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  284. data/generated/google/apis/iam_v1/service.rb +1 -4
  285. data/generated/google/apis/iam_v1.rb +2 -5
  286. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  287. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  288. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  289. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  290. data/generated/google/apis/jobs_v2.rb +1 -1
  291. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  292. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  293. data/generated/google/apis/jobs_v3.rb +1 -1
  294. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  295. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  296. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  297. data/generated/google/apis/licensing_v1/service.rb +2 -2
  298. data/generated/google/apis/licensing_v1.rb +1 -1
  299. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  300. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  301. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  302. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  303. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  304. data/generated/google/apis/localservices_v1/service.rb +20 -20
  305. data/generated/google/apis/localservices_v1.rb +1 -1
  306. data/generated/google/apis/logging_v2/classes.rb +174 -60
  307. data/generated/google/apis/logging_v2/representations.rb +64 -0
  308. data/generated/google/apis/logging_v2/service.rb +1422 -127
  309. data/generated/google/apis/logging_v2.rb +1 -1
  310. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  311. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  312. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  313. data/generated/google/apis/managedidentities_v1.rb +1 -1
  314. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
  315. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
  316. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  317. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  318. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
  319. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
  320. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  321. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  322. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  323. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  324. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  325. data/generated/google/apis/ml_v1/classes.rb +238 -77
  326. data/generated/google/apis/ml_v1/representations.rb +17 -0
  327. data/generated/google/apis/ml_v1.rb +1 -1
  328. data/generated/google/apis/monitoring_v3/classes.rb +71 -17
  329. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  330. data/generated/google/apis/monitoring_v3/service.rb +55 -6
  331. data/generated/google/apis/monitoring_v3.rb +1 -1
  332. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  333. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  334. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  335. data/generated/google/apis/oauth2_v2.rb +40 -0
  336. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  337. data/generated/google/apis/osconfig_v1.rb +3 -3
  338. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  339. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  340. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  341. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  342. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  343. data/generated/google/apis/people_v1/classes.rb +52 -51
  344. data/generated/google/apis/people_v1/service.rb +24 -22
  345. data/generated/google/apis/people_v1.rb +1 -1
  346. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  347. data/generated/google/apis/playablelocations_v3.rb +1 -1
  348. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  349. data/generated/google/apis/poly_v1/classes.rb +65 -79
  350. data/generated/google/apis/poly_v1/service.rb +50 -63
  351. data/generated/google/apis/poly_v1.rb +3 -4
  352. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  353. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  354. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  355. data/generated/google/apis/{appsactivity_v1.rb → privateca_v1beta1.rb} +11 -11
  356. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  357. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  358. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  359. data/generated/google/apis/pubsub_v1.rb +1 -1
  360. data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
  361. data/generated/google/apis/pubsublite_v1.rb +1 -1
  362. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  363. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  364. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  365. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  366. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  367. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  368. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  369. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  370. data/generated/google/apis/recommender_v1/service.rb +4 -2
  371. data/generated/google/apis/recommender_v1.rb +1 -1
  372. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  373. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  374. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  375. data/generated/google/apis/redis_v1/classes.rb +5 -5
  376. data/generated/google/apis/redis_v1/service.rb +2 -2
  377. data/generated/google/apis/redis_v1.rb +1 -1
  378. data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
  379. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  380. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  381. data/generated/google/apis/redis_v1beta1.rb +1 -1
  382. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  383. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  384. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  385. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  386. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  387. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  388. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  389. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  390. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  391. data/generated/google/apis/run_v1/classes.rb +12 -132
  392. data/generated/google/apis/run_v1/representations.rb +0 -61
  393. data/generated/google/apis/run_v1/service.rb +0 -342
  394. data/generated/google/apis/run_v1.rb +1 -1
  395. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
  396. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  397. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  398. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  399. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  400. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  401. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  402. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  403. data/generated/google/apis/searchconsole_v1.rb +7 -1
  404. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  405. data/generated/google/apis/secretmanager_v1.rb +1 -1
  406. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  407. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  408. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  409. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  410. data/generated/google/apis/securitycenter_v1.rb +1 -1
  411. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  412. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  413. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  414. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  415. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  416. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  417. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
  418. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  419. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
  420. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  421. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
  422. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  423. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  424. data/generated/google/apis/servicecontrol_v1/classes.rb +78 -4
  425. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  426. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  427. data/generated/google/apis/servicecontrol_v2/classes.rb +63 -2
  428. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  429. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  430. data/generated/google/apis/servicemanagement_v1/classes.rb +5 -85
  431. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  432. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  433. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  434. data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
  435. data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
  436. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  437. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  438. data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
  439. data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
  440. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  441. data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
  442. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  443. data/generated/google/apis/serviceusage_v1.rb +1 -1
  444. data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
  445. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  446. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  447. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  448. data/generated/google/apis/sheets_v4/classes.rb +174 -84
  449. data/generated/google/apis/sheets_v4.rb +1 -1
  450. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  451. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  452. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  453. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  454. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  455. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  456. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  457. data/generated/google/apis/sqladmin_v1beta4/classes.rb +156 -57
  458. data/generated/google/apis/sqladmin_v1beta4/representations.rb +53 -17
  459. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  460. data/generated/google/apis/storage_v1/classes.rb +2 -10
  461. data/generated/google/apis/storage_v1/representations.rb +0 -1
  462. data/generated/google/apis/storage_v1/service.rb +3 -2
  463. data/generated/google/apis/storage_v1.rb +1 -1
  464. data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
  465. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  466. data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
  467. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  468. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  469. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  470. data/generated/google/apis/sts_v1/classes.rb +10 -9
  471. data/generated/google/apis/sts_v1.rb +1 -1
  472. data/generated/google/apis/sts_v1beta/classes.rb +67 -67
  473. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  474. data/generated/google/apis/sts_v1beta.rb +1 -1
  475. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  476. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  477. data/generated/google/apis/tagmanager_v2.rb +1 -1
  478. data/generated/google/apis/testing_v1/classes.rb +92 -33
  479. data/generated/google/apis/testing_v1/representations.rb +21 -0
  480. data/generated/google/apis/testing_v1/service.rb +4 -4
  481. data/generated/google/apis/testing_v1.rb +1 -1
  482. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  483. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  484. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  485. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  486. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  487. data/generated/google/apis/tpu_v1/service.rb +8 -8
  488. data/generated/google/apis/tpu_v1.rb +1 -1
  489. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  490. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  491. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  492. data/generated/google/apis/translate_v3/classes.rb +4 -3
  493. data/generated/google/apis/translate_v3.rb +1 -1
  494. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  495. data/generated/google/apis/translate_v3beta1.rb +1 -1
  496. data/generated/google/apis/vault_v1/classes.rb +333 -0
  497. data/generated/google/apis/vault_v1/representations.rb +162 -0
  498. data/generated/google/apis/vault_v1/service.rb +151 -0
  499. data/generated/google/apis/vault_v1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
  501. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  502. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  503. data/generated/google/apis/videointelligence_v1.rb +1 -1
  504. data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
  505. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  506. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  507. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
  508. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  509. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  510. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
  511. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  512. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  513. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
  514. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  515. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  516. data/generated/google/apis/vision_v1/classes.rb +16 -16
  517. data/generated/google/apis/vision_v1.rb +1 -1
  518. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  519. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  520. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  521. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  522. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  523. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  524. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  525. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  526. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  527. data/generated/google/apis/workflows_v1beta.rb +3 -2
  528. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  529. data/generated/google/apis/youtube_v3/classes.rb +0 -134
  530. data/generated/google/apis/youtube_v3/representations.rb +0 -55
  531. data/generated/google/apis/youtube_v3/service.rb +1 -1
  532. data/generated/google/apis/youtube_v3.rb +1 -1
  533. data/google-api-client.gemspec +25 -25
  534. data/lib/google/apis/core/api_command.rb +1 -0
  535. data/lib/google/apis/core/http_command.rb +2 -1
  536. data/lib/google/apis/options.rb +8 -5
  537. data/lib/google/apis/version.rb +1 -1
  538. data/synth.py +40 -0
  539. metadata +51 -12
  540. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  541. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  542. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -514,6 +514,18 @@ module Google
514
514
  class GoogleCloudMlV1AutoScaling
515
515
  include Google::Apis::Core::Hashable
516
516
 
517
+ # The maximum number of nodes to scale this model under load. The actual value
518
+ # will depend on resource quota and availability.
519
+ # Corresponds to the JSON property `maxNodes`
520
+ # @return [Fixnum]
521
+ attr_accessor :max_nodes
522
+
523
+ # MetricSpec contains the specifications to use to calculate the desired nodes
524
+ # count.
525
+ # Corresponds to the JSON property `metrics`
526
+ # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1MetricSpec>]
527
+ attr_accessor :metrics
528
+
517
529
  # Optional. The minimum number of nodes to allocate for this model. These nodes
518
530
  # are always up, starting from the time the model is deployed. Therefore, the
519
531
  # cost of operating this model will be at least `rate` * `min_nodes` * number of
@@ -548,6 +560,8 @@ module Google
548
560
 
549
561
  # Update properties of this object
550
562
  def update!(**args)
563
+ @max_nodes = args[:max_nodes] if args.key?(:max_nodes)
564
+ @metrics = args[:metrics] if args.key?(:metrics)
551
565
  @min_nodes = args[:min_nodes] if args.key?(:min_nodes)
552
566
  end
553
567
  end
@@ -790,12 +804,14 @@ module Google
790
804
  end
791
805
  end
792
806
 
793
- # ContainerPort represents a network port in a single container.
807
+ # Represents a network port in a single container. This message is a subset of
808
+ # the [Kubernetes ContainerPort v1 core specification](https://kubernetes.io/
809
+ # docs/reference/generated/kubernetes-api/v1.18/#containerport-v1-core).
794
810
  class GoogleCloudMlV1ContainerPort
795
811
  include Google::Apis::Core::Hashable
796
812
 
797
- # Number of port to expose on the pod's IP address. This must be a valid port
798
- # number, 0 < x < 65536.
813
+ # Number of the port to expose on the container. This must be a valid port
814
+ # number: 0 < PORT_NUMBER < 65536.
799
815
  # Corresponds to the JSON property `containerPort`
800
816
  # @return [Fixnum]
801
817
  attr_accessor :container_port
@@ -810,53 +826,123 @@ module Google
810
826
  end
811
827
  end
812
828
 
813
- # Specify a custom container to deploy. Our ContainerSpec is a subset of the
814
- # Kubernetes Container specification. https://kubernetes.io/docs/reference/
815
- # generated/kubernetes-api/v1.10/#container-v1-core
829
+ # Specification of a custom container for serving predictions. This message is a
830
+ # subset of the [Kubernetes Container v1 core specification](https://kubernetes.
831
+ # io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).
816
832
  class GoogleCloudMlV1ContainerSpec
817
833
  include Google::Apis::Core::Hashable
818
834
 
819
- # Immutable. Arguments to the entrypoint. The docker image's CMD is used if this
820
- # is not provided. Variable references $(VAR_NAME) are expanded using the
821
- # container's environment. If a variable cannot be resolved, the reference in
822
- # the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with
823
- # a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
824
- # regardless of whether the variable exists or not. More info: https://
825
- # kubernetes.io/docs/tasks/inject-data-application/define-command-argument-
826
- # container/#running-a-command-in-a-shell
835
+ # Immutable. Specifies arguments for the command that runs when the container
836
+ # starts. This overrides the container's [`CMD`](https://docs.docker.com/engine/
837
+ # reference/builder/#cmd). Specify this field as an array of executable and
838
+ # arguments, similar to a Docker `CMD`'s "default parameters" form. If you don't
839
+ # specify this field but do specify the command field, then the command from the
840
+ # `command` field runs without any additional arguments. See the [Kubernetes
841
+ # documentation about how the `command` and `args` fields interact with a
842
+ # container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-
843
+ # data-application/define-command-argument-container/#notes). If you don't
844
+ # specify this field and don't specify the `commmand` field, then the container'
845
+ # s [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd) and `
846
+ # CMD` determine what runs based on their default behavior. See the [Docker
847
+ # documentation about how `CMD` and `ENTRYPOINT` interact](https://docs.docker.
848
+ # com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). In
849
+ # this field, you can reference [environment variables set by AI Platform
850
+ # Prediction](/ai-platform/prediction/docs/custom-container-requirements#aip-
851
+ # variables) and environment variables set in the env field. You cannot
852
+ # reference environment variables set in the Docker image. In order for
853
+ # environment variables to be expanded, reference them by using the following
854
+ # syntax: $( VARIABLE_NAME) Note that this differs from Bash variable expansion,
855
+ # which does not use parentheses. If a variable cannot be resolved, the
856
+ # reference in the input string is used unchanged. To avoid variable expansion,
857
+ # you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This
858
+ # field corresponds to the `args` field of the [Kubernetes Containers v1 core
859
+ # API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#
860
+ # container-v1-core).
827
861
  # Corresponds to the JSON property `args`
828
862
  # @return [Array<String>]
829
863
  attr_accessor :args
830
864
 
831
- # Immutable. Entrypoint array. Not executed within a shell. The docker image's
832
- # ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME)
833
- # are expanded using the container's environment. If a variable cannot be
834
- # resolved, the reference in the input string will be unchanged. The $(VAR_NAME)
835
- # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references
836
- # will never be expanded, regardless of whether the variable exists or not. More
837
- # info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-
838
- # argument-container/#running-a-command-in-a-shell
865
+ # Immutable. Specifies the command that runs when the container starts. This
866
+ # overrides the container's [`ENTRYPOINT`](https://docs.docker.com/engine/
867
+ # reference/builder/#entrypoint). Specify this field as an array of executable
868
+ # and arguments, similar to a Docker `ENTRYPOINT`'s "exec" form, not its "shell"
869
+ # form. If you do not specify this field, then the container's `ENTRYPOINT` runs,
870
+ # in conjunction with the args field or the container's [`CMD`](https://docs.
871
+ # docker.com/engine/reference/builder/#cmd), if either exists. If this field is
872
+ # not specified and the container does not have an `ENTRYPOINT`, then refer to
873
+ # the [Docker documentation about how `CMD` and `ENTRYPOINT` interact](https://
874
+ # docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-
875
+ # interact). If you specify this field, then you can also specify the `args`
876
+ # field to provide additional arguments for this command. However, if you
877
+ # specify this field, then the container's `CMD` is ignored. See the [Kubernetes
878
+ # documentation about how the `command` and `args` fields interact with a
879
+ # container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-
880
+ # data-application/define-command-argument-container/#notes). In this field, you
881
+ # can reference [environment variables set by AI Platform Prediction](/ai-
882
+ # platform/prediction/docs/custom-container-requirements#aip-variables) and
883
+ # environment variables set in the env field. You cannot reference environment
884
+ # variables set in the Docker image. In order for environment variables to be
885
+ # expanded, reference them by using the following syntax: $( VARIABLE_NAME) Note
886
+ # that this differs from Bash variable expansion, which does not use parentheses.
887
+ # If a variable cannot be resolved, the reference in the input string is used
888
+ # unchanged. To avoid variable expansion, you can escape this syntax with `$$`;
889
+ # for example: $$(VARIABLE_NAME) This field corresponds to the `command` field
890
+ # of the [Kubernetes Containers v1 core API](https://kubernetes.io/docs/
891
+ # reference/generated/kubernetes-api/v1.18/#container-v1-core).
839
892
  # Corresponds to the JSON property `command`
840
893
  # @return [Array<String>]
841
894
  attr_accessor :command
842
895
 
843
- # Immutable. List of environment variables to set in the container.
896
+ # Immutable. List of environment variables to set in the container. After the
897
+ # container starts running, code running in the container can read these
898
+ # environment variables. Additionally, the command and args fields can reference
899
+ # these variables. Later entries in this list can also reference earlier entries.
900
+ # For example, the following example sets the variable `VAR_2` to have the
901
+ # value `foo bar`: ```json [ ` "name": "VAR_1", "value": "foo" `, ` "name": "
902
+ # VAR_2", "value": "$(VAR_1) bar" ` ] ``` If you switch the order of the
903
+ # variables in the example, then the expansion does not occur. This field
904
+ # corresponds to the `env` field of the [Kubernetes Containers v1 core API](
905
+ # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-
906
+ # v1-core).
844
907
  # Corresponds to the JSON property `env`
845
908
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1EnvVar>]
846
909
  attr_accessor :env
847
910
 
848
- # Docker image name. More info: https://kubernetes.io/docs/concepts/containers/
849
- # images
911
+ # URI of the Docker image to be used as the custom container for serving
912
+ # predictions. This URI must identify [an image in Artifact Registry](/artifact-
913
+ # registry/docs/overview) and begin with the hostname ``REGION`-docker.pkg.dev`,
914
+ # where ``REGION`` is replaced by the region that matches AI Platform Prediction
915
+ # [regional endpoint](/ai-platform/prediction/docs/regional-endpoints) that you
916
+ # are using. For example, if you are using the `us-central1-ml.googleapis.com`
917
+ # endpoint, then this URI must begin with `us-central1-docker.pkg.dev`. To use a
918
+ # custom container, the [AI Platform Google-managed service account](/ai-
919
+ # platform/prediction/docs/custom-service-account#default) must have permission
920
+ # to pull (read) the Docker image at this URI. The AI Platform Google-managed
921
+ # service account has the following format: `service-`PROJECT_NUMBER`@cloud-ml.
922
+ # google.com.iam.gserviceaccount.com` `PROJECT_NUMBER` is replaced by your
923
+ # Google Cloud project number. By default, this service account has necessary
924
+ # permissions to pull an Artifact Registry image in the same Google Cloud
925
+ # project where you are using AI Platform Prediction. In this case, no
926
+ # configuration is necessary. If you want to use an image from a different
927
+ # Google Cloud project, learn how to [grant the Artifact Registry Reader (roles/
928
+ # artifactregistry.reader) role for a repository](/artifact-registry/docs/access-
929
+ # control#grant-repo) to your projet's AI Platform Google-managed service
930
+ # account. To learn about the requirements for the Docker image itself, read [
931
+ # Custom container requirements](/ai-platform/prediction/docs/custom-container-
932
+ # requirements).
850
933
  # Corresponds to the JSON property `image`
851
934
  # @return [String]
852
935
  attr_accessor :image
853
936
 
854
- # Immutable. List of ports to expose from the container. Exposing a port here
855
- # gives the system additional information about the network connections a
856
- # container uses, but is primarily informational. Not specifying a port here
857
- # DOES NOT prevent that port from being exposed. Any port which is listening on
858
- # the default "0.0.0.0" address inside a container will be accessible from the
859
- # network.
937
+ # Immutable. List of ports to expose from the container. AI Platform Prediction
938
+ # sends any prediction requests that it receives to the first port on this list.
939
+ # AI Platform Prediction also sends [liveness and health checks](/ai-platform/
940
+ # prediction/docs/custom-container-requirements#health) to this port. If you do
941
+ # not specify this field, it defaults to following value: ```json [ ` "
942
+ # containerPort": 8080 ` ] ``` AI Platform Prediction does not use ports other
943
+ # than the first one listed. This field corresponds to the `ports` field of the [
944
+ # Kubernetes Containers v1 core API](https://kubernetes.io/docs/reference/
945
+ # generated/kubernetes-api/v1.18/#container-v1-core).
860
946
  # Corresponds to the JSON property `ports`
861
947
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1ContainerPort>]
862
948
  attr_accessor :ports
@@ -898,21 +984,30 @@ module Google
898
984
  end
899
985
  end
900
986
 
901
- # EnvVar represents an environment variable present in a Container.
987
+ # Represents an environment variable to be made available in a container. This
988
+ # message is a subset of the [Kubernetes EnvVar v1 core specification](https://
989
+ # kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#envvar-v1-core).
902
990
  class GoogleCloudMlV1EnvVar
903
991
  include Google::Apis::Core::Hashable
904
992
 
905
- # Name of the environment variable. Must be a C_IDENTIFIER.
993
+ # Name of the environment variable. Must be a [valid C identifier](https://
994
+ # github.com/kubernetes/kubernetes/blob/v1.18.8/staging/src/k8s.io/apimachinery/
995
+ # pkg/util/validation/validation.go#L258) and must not begin with the prefix `
996
+ # AIP_`.
906
997
  # Corresponds to the JSON property `name`
907
998
  # @return [String]
908
999
  attr_accessor :name
909
1000
 
910
- # Variable references $(VAR_NAME) are expanded using the previous defined
911
- # environment variables in the container and any service environment variables.
912
- # If a variable cannot be resolved, the reference in the input string will be
913
- # unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(
914
- # VAR_NAME). Escaped references will never be expanded, regardless of whether
915
- # the variable exists or not. Defaults to "".
1001
+ # Value of the environment variable. Defaults to an empty string. In this field,
1002
+ # you can reference [environment variables set by AI Platform Prediction](/ai-
1003
+ # platform/prediction/docs/custom-container-requirements#aip-variables) and
1004
+ # environment variables set earlier in the same env field as where this message
1005
+ # occurs. You cannot reference environment variables set in the Docker image. In
1006
+ # order for environment variables to be expanded, reference them by using the
1007
+ # following syntax: $(VARIABLE_NAME) Note that this differs from Bash variable
1008
+ # expansion, which does not use parentheses. If a variable cannot be resolved,
1009
+ # the reference in the input string is used unchanged. To avoid variable
1010
+ # expansion, you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME)
916
1011
  # Corresponds to the JSON property `value`
917
1012
  # @return [String]
918
1013
  attr_accessor :value
@@ -1537,6 +1632,33 @@ module Google
1537
1632
  end
1538
1633
  end
1539
1634
 
1635
+ # MetricSpec contains the specifications to use to calculate the desired nodes
1636
+ # count when autoscaling is enabled.
1637
+ class GoogleCloudMlV1MetricSpec
1638
+ include Google::Apis::Core::Hashable
1639
+
1640
+ # metric name.
1641
+ # Corresponds to the JSON property `name`
1642
+ # @return [String]
1643
+ attr_accessor :name
1644
+
1645
+ # Target specifies the target value for the given metric; once real metric
1646
+ # deviates from the threshold by a certain percentage, the node count changes.
1647
+ # Corresponds to the JSON property `target`
1648
+ # @return [Fixnum]
1649
+ attr_accessor :target
1650
+
1651
+ def initialize(**args)
1652
+ update!(**args)
1653
+ end
1654
+
1655
+ # Update properties of this object
1656
+ def update!(**args)
1657
+ @name = args[:name] if args.key?(:name)
1658
+ @target = args[:target] if args.key?(:target)
1659
+ end
1660
+ end
1661
+
1540
1662
  # Represents a machine learning solution. A model can have multiple versions,
1541
1663
  # each of which is a deployed, trained model ready to receive prediction
1542
1664
  # requests. The model itself is just a container.
@@ -1583,23 +1705,22 @@ module Google
1583
1705
  attr_accessor :name
1584
1706
 
1585
1707
  # Optional. If true, online prediction nodes send `stderr` and `stdout` streams
1586
- # to Stackdriver Logging. These can be more verbose than the standard access
1587
- # logs (see `onlinePredictionLogging`) and can incur higher cost. However, they
1588
- # are helpful for debugging. Note that [Stackdriver logs may incur a cost](/
1589
- # stackdriver/pricing), especially if your project receives prediction requests
1590
- # at a high QPS. Estimate your costs before enabling this option. Default is
1591
- # false.
1708
+ # to Cloud Logging. These can be more verbose than the standard access logs (see
1709
+ # `onlinePredictionLogging`) and can incur higher cost. However, they are
1710
+ # helpful for debugging. Note that [logs may incur a cost](/stackdriver/pricing),
1711
+ # especially if your project receives prediction requests at a high QPS.
1712
+ # Estimate your costs before enabling this option. Default is false.
1592
1713
  # Corresponds to the JSON property `onlinePredictionConsoleLogging`
1593
1714
  # @return [Boolean]
1594
1715
  attr_accessor :online_prediction_console_logging
1595
1716
  alias_method :online_prediction_console_logging?, :online_prediction_console_logging
1596
1717
 
1597
- # Optional. If true, online prediction access logs are sent to StackDriver
1598
- # Logging. These logs are like standard server access logs, containing
1599
- # information like timestamp and latency for each request. Note that [
1600
- # Stackdriver logs may incur a cost](/stackdriver/pricing), especially if your
1601
- # project receives prediction requests at a high queries per second rate (QPS).
1602
- # Estimate your costs before enabling this option. Default is false.
1718
+ # Optional. If true, online prediction access logs are sent to Cloud Logging.
1719
+ # These logs are like standard server access logs, containing information like
1720
+ # timestamp and latency for each request. Note that [logs may incur a cost](/
1721
+ # stackdriver/pricing), especially if your project receives prediction requests
1722
+ # at a high queries per second rate (QPS). Estimate your costs before enabling
1723
+ # this option. Default is false.
1603
1724
  # Corresponds to the JSON property `onlinePredictionLogging`
1604
1725
  # @return [Boolean]
1605
1726
  attr_accessor :online_prediction_logging
@@ -2057,18 +2178,49 @@ module Google
2057
2178
  end
2058
2179
  end
2059
2180
 
2060
- # RouteMap is used to override HTTP paths sent to a Custom Container. If
2061
- # specified, the HTTP server implemented in the ContainerSpec must support the
2062
- # route. If unspecified, standard HTTP paths will be used.
2181
+ # Specifies HTTP paths served by a custom container. AI Platform Prediction
2182
+ # sends requests to these paths on the container; the custom container must run
2183
+ # an HTTP server that responds to these requests with appropriate responses.
2184
+ # Read [Custom container requirements](/ai-platform/prediction/docs/custom-
2185
+ # container-requirements) for details on how to create your container image to
2186
+ # meet these requirements.
2063
2187
  class GoogleCloudMlV1RouteMap
2064
2188
  include Google::Apis::Core::Hashable
2065
2189
 
2066
- # HTTP path to send health check requests.
2190
+ # HTTP path on the container to send health checkss to. AI Platform Prediction
2191
+ # intermittently sends GET requests to this path on the container's IP address
2192
+ # and port to check that the container is healthy. Read more about [health
2193
+ # checks](/ai-platform/prediction/docs/custom-container-requirements#checks).
2194
+ # For example, if you set this field to `/bar`, then AI Platform Prediction
2195
+ # intermittently sends a GET request to the following URL on the container:
2196
+ # localhost:PORT/bar PORT refers to the first value of Version.container.ports.
2197
+ # If you don't specify this field, it defaults to the following value: /v1/
2198
+ # models/MODEL/versions/VERSION The placeholders in this value are replaced as
2199
+ # follows: * MODEL: The name of the parent Model. This does not include the "
2200
+ # projects/PROJECT_ID/models/" prefix that the API returns in output; it is the
2201
+ # bare model name, as provided to projects.models.create. * VERSION: The name of
2202
+ # the model version. This does not include the "projects/PROJECT_ID/models/MODEL/
2203
+ # versions/" prefix that the API returns in output; it is the bare version name,
2204
+ # as provided to projects.models.versions.create.
2067
2205
  # Corresponds to the JSON property `health`
2068
2206
  # @return [String]
2069
2207
  attr_accessor :health
2070
2208
 
2071
- # HTTP path to send prediction requests.
2209
+ # HTTP path on the container to send prediction requests to. AI Platform
2210
+ # Prediction forwards requests sent using projects.predict to this path on the
2211
+ # container's IP address and port. AI Platform Prediction then returns the
2212
+ # container's response in the API response. For example, if you set this field
2213
+ # to `/foo`, then when AI Platform Prediction receives a prediction request, it
2214
+ # forwards the request body in a POST request to the following URL on the
2215
+ # container: localhost:PORT/foo PORT refers to the first value of Version.
2216
+ # container.ports. If you don't specify this field, it defaults to the following
2217
+ # value: /v1/models/MODEL/versions/VERSION:predict The placeholders in this
2218
+ # value are replaced as follows: * MODEL: The name of the parent Model. This
2219
+ # does not include the "projects/PROJECT_ID/models/" prefix that the API returns
2220
+ # in output; it is the bare model name, as provided to projects.models.create. *
2221
+ # VERSION: The name of the model version. This does not include the "projects/
2222
+ # PROJECT_ID/models/MODEL/versions/" prefix that the API returns in output; it
2223
+ # is the bare version name, as provided to projects.models.versions.create.
2072
2224
  # Corresponds to the JSON property `predict`
2073
2225
  # @return [String]
2074
2226
  attr_accessor :predict
@@ -2785,9 +2937,9 @@ module Google
2785
2937
  # @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling]
2786
2938
  attr_accessor :auto_scaling
2787
2939
 
2788
- # Specify a custom container to deploy. Our ContainerSpec is a subset of the
2789
- # Kubernetes Container specification. https://kubernetes.io/docs/reference/
2790
- # generated/kubernetes-api/v1.10/#container-v1-core
2940
+ # Specification of a custom container for serving predictions. This message is a
2941
+ # subset of the [Kubernetes Container v1 core specification](https://kubernetes.
2942
+ # io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).
2791
2943
  # Corresponds to the JSON property `container`
2792
2944
  # @return [Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec]
2793
2945
  attr_accessor :container
@@ -2797,13 +2949,18 @@ module Google
2797
2949
  # @return [String]
2798
2950
  attr_accessor :create_time
2799
2951
 
2800
- # Required. The Cloud Storage location of the trained model used to create the
2801
- # version. See the [guide to model deployment](/ml-engine/docs/tensorflow/
2802
- # deploying-models) for more information. When passing Version to projects.
2803
- # models.versions.create the model service uses the specified location as the
2804
- # source of the model. Once deployed, the model version is hosted by the
2805
- # prediction service, so this location is useful only as a historical record.
2806
- # The total number of model files can't exceed 1000.
2952
+ # The Cloud Storage URI of a directory containing trained model artifacts to be
2953
+ # used to create the model version. See the [guide to deploying models](/ai-
2954
+ # platform/prediction/docs/deploying-models) for more information. The total
2955
+ # number of files under this directory must not exceed 1000. During projects.
2956
+ # models.versions.create, AI Platform Prediction copies all files from the
2957
+ # specified directory to a location managed by the service. From then on, AI
2958
+ # Platform Prediction uses these copies of the model artifacts to serve
2959
+ # predictions, not the original files in Cloud Storage, so this location is
2960
+ # useful only as a historical record. If you specify container, then this field
2961
+ # is optional. Otherwise, it is required. Learn [how to use this field with a
2962
+ # custom container](/ai-platform/prediction/docs/custom-container-requirements#
2963
+ # artifacts).
2807
2964
  # Corresponds to the JSON property `deploymentUri`
2808
2965
  # @return [String]
2809
2966
  attr_accessor :deployment_uri
@@ -2844,10 +3001,8 @@ module Google
2844
3001
  # deployment_uri to determine a framework. If you choose `SCIKIT_LEARN` or `
2845
3002
  # XGBOOST`, you must also set the runtime version of the model to 1.4 or greater.
2846
3003
  # Do **not** specify a framework if you're deploying a [custom prediction
2847
- # routine](/ml-engine/docs/tensorflow/custom-prediction-routines). If you
2848
- # specify a [Compute Engine (N1) machine type](/ml-engine/docs/machine-types-
2849
- # online-prediction) in the `machineType` field, you must specify `TENSORFLOW`
2850
- # for the framework.
3004
+ # routine](/ai-platform/prediction/docs/custom-prediction-routines) or if you're
3005
+ # using a [custom container](/ai-platform/prediction/docs/use-custom-container).
2851
3006
  # Corresponds to the JSON property `framework`
2852
3007
  # @return [String]
2853
3008
  attr_accessor :framework
@@ -2880,9 +3035,9 @@ module Google
2880
3035
  # standard-8` * `n1-standard-16` * `n1-standard-32` * `n1-highmem-2` * `n1-
2881
3036
  # highmem-4` * `n1-highmem-8` * `n1-highmem-16` * `n1-highmem-32` * `n1-highcpu-
2882
3037
  # 2` * `n1-highcpu-4` * `n1-highcpu-8` * `n1-highcpu-16` * `n1-highcpu-32` `mls1-
2883
- # c1-m2` is generally available. All other machine types are available in beta.
2884
- # Learn more about the [differences between machine types](/ml-engine/docs/
2885
- # machine-types-online-prediction).
3038
+ # c4-m2` is in beta. All other machine types are generally available. Learn more
3039
+ # about the [differences between machine types](/ml-engine/docs/machine-types-
3040
+ # online-prediction).
2886
3041
  # Corresponds to the JSON property `machineType`
2887
3042
  # @return [String]
2888
3043
  attr_accessor :machine_type
@@ -2964,9 +3119,12 @@ module Google
2964
3119
  # @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig]
2965
3120
  attr_accessor :request_logging_config
2966
3121
 
2967
- # RouteMap is used to override HTTP paths sent to a Custom Container. If
2968
- # specified, the HTTP server implemented in the ContainerSpec must support the
2969
- # route. If unspecified, standard HTTP paths will be used.
3122
+ # Specifies HTTP paths served by a custom container. AI Platform Prediction
3123
+ # sends requests to these paths on the container; the custom container must run
3124
+ # an HTTP server that responds to these requests with appropriate responses.
3125
+ # Read [Custom container requirements](/ai-platform/prediction/docs/custom-
3126
+ # container-requirements) for details on how to create your container image to
3127
+ # meet these requirements.
2970
3128
  # Corresponds to the JSON property `routes`
2971
3129
  # @return [Google::Apis::MlV1::GoogleCloudMlV1RouteMap]
2972
3130
  attr_accessor :routes
@@ -2978,7 +3136,10 @@ module Google
2978
3136
  # @return [String]
2979
3137
  attr_accessor :runtime_version
2980
3138
 
2981
- # Optional. Specifies the service account for resource access control.
3139
+ # Optional. Specifies the service account for resource access control. If you
3140
+ # specify this field, then you must also specify either the `containerSpec` or
3141
+ # the `predictionClass` field. Learn more about [using a custom service account](
3142
+ # /ai-platform/prediction/docs/custom-service-account).
2982
3143
  # Corresponds to the JSON property `serviceAccount`
2983
3144
  # @return [String]
2984
3145
  attr_accessor :service_account
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class GoogleCloudMlV1MetricSpec
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class GoogleCloudMlV1Model
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -666,6 +672,9 @@ module Google
666
672
  class GoogleCloudMlV1AutoScaling
667
673
  # @private
668
674
  class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :max_nodes, as: 'maxNodes'
676
+ collection :metrics, as: 'metrics', class: Google::Apis::MlV1::GoogleCloudMlV1MetricSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1MetricSpec::Representation
677
+
669
678
  property :min_nodes, as: 'minNodes'
670
679
  end
671
680
  end
@@ -951,6 +960,14 @@ module Google
951
960
  end
952
961
  end
953
962
 
963
+ class GoogleCloudMlV1MetricSpec
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ property :name, as: 'name'
967
+ property :target, as: 'target'
968
+ end
969
+ end
970
+
954
971
  class GoogleCloudMlV1Model
955
972
  # @private
956
973
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200905'
28
+ REVISION = '20201016'
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'